  /* TopInfo */
  /*Block view*/
div.block-type-topinfomanual {clear:both; margin:0}
div.block-type-topinfomanual .class-topinfo .opis h2:hover, div.block-type-topinfomanual .class-topinfo .opis p:hover{text-decoration:	underline;}

div.block-type-topinfomanual, div.block-type-mainstory{
	background:#f5f5f5;
	padding-bottom: 10px;
	margin-left: -10px;
	margin-right: -10px;
}
div.block-type-topinfomanual div.class-topinfo {
	position:relative; 
	background:#f5f5f5;
}
div.block-type-topinfomanual div.class-topinfo div.obrazek,
div.block-type-mainstory div.attribute-image {
	display:	block;
	position:	relative;
}
div.block-type-topinfomanual div.class-topinfo div.obrazek::before,
div.block-type-mainstory div.attribute-image::before,
div.block-type-banermanual div.class-banner::before{
	display:	block;
	content:	'';
	position:	absolute;
	width:		100%;
	height:		100%;
	-moz-box-shadow:	inset 0px 0px 0px 10px rgba(255,255,255,0.7);
	-webkit-box-shadow:	inset 0px 0px 0px 10px rgba(255,255,255,0.7);
	box-shadow:	inset 0px 0px 0px 10px rgba(255,255,255,0.7);
}
div.block-type-topinfomanual div.class-topinfo div.obrazek img,
div.block-type-mainstory div.attribute-image img{
	width:	100%;
	display: block;
	max-width: 100%;
	height: auto;
}
div.block-type-topinfomanual div.class-topinfo div.opis {overflow:auto; margin-right:10px; position:absolute; bottom:23px; left:10px; z-index:99;}
div.block-type-topinfomanual div.class-topinfo div.opis *{color:#fff}
div.block-type-topinfomanual div.class-topinfo div.opis h2 {padding:13px 18px; margin:0; float:left;  font-style:italic; font-size: 1.53rem; font-weight: 400; background-color: #ccc;}
    /*background-color: rgba(0, 0, 255, 0.5);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#330000FF, endColorstr=#330000FF);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#550000FF, endColorstr=#550000FF)";*/

div.block-type-topinfomanual div.class-topinfo div.opis p {clear:left; padding:13px 18px; margin:0; background-color: #3c3c4c; font-style:italic; font-size: 1.53rem;}
    /*background-color: rgba(0, 0, 0, 0.5);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#33000000, endColorstr=#33000000);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#55000000, endColorstr=#55000000)";*/


div.block-type-topinfomanual div.class-topinfo div.topinfo-ramka {position:absolute; top:0; left:0; border:10px solid #f7f7f7; width:940px; height:380px; opacity:0.5; z-index:1}

div.class-top_video video{
	width:	100%;
}


/* Banner */
  /* Block view */

  div.block-type-banermanual.bez_marginesow{
	margin-left:	-10px;
	margin-right:	-10px;
}

div.block-type-banermanual.z_marginesami{
	margin-bottom: -10px;
}


div.block-type-banermanual div.class-banner{
	position:	relative;
}

div.block-type-banermanual div.class-banner a{
	position:	absolute;
	left:	0;
	top:	0;
	right:	0;
	bottom:	0;
	z-index:	99;
}

div.block-type-banermanual div.class-banner.bez_ramki::before{
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

div.class-banner img{
	width:	100%;
	display: block;
	max-width: 100%;
 	height: auto;	
}

img.img-responsive-noblock{
	max-width: 100%;
	height:	auto;
}


/* Block slide view */
#featured{ width:auto; padding-left:190px; padding-right: 190px; position:relative;  background:#fff; height:255px; z-index:0}
#featured.slide3items {padding-right:0}
#featured div.ui-tabs-panel div.attribute-header {border-top: 1px solid #3c3c4c;}
#featured div.ui-tabs-panel div.attribute-header h3 a{color: #3c3c4c; font-weight: 700;}
#featured ul.ui-tabs-nav{ position:absolute; top:0; left:0; list-style-image:none; padding:0; margin:0; width:100%;}
#featured ul.ui-tabs-nav li{ height: 85px;width: 190px; margin:0; padding:0; background-image:none; vertical-align:middle; background:#f7f5f6;}
#featured ul.ui-tabs-nav li.ui-tabs-nav-item.ui-tabs-nav-item-left{ float:left; clear:both;}
#featured ul.ui-tabs-nav li.ui-tabs-nav-item.ui-tabs-nav-item-left:nth-child(5), #featured li.ui-tabs-nav-item.ui-tabs-nav-item-right:nth-child(6){ border-bottom: none;}
#featured ul.ui-tabs-nav li.ui-tabs-nav-item.ui-tabs-nav-item-right{ float:right; }
#featured ul.ui-tabs-nav li img{ float:left; margin:2px 5px; background:#fff; padding:2px; border:1px solid #eee;}
#featured ul.ui-tabs-nav li span{ font-size:11px; font-family:Verdana; line-height:18px; }
#featured ul.ui-tabs-nav li.ui-tabs-nav-item:hover{ background-color:#b4a0aa; text-decoration: none;}
#featured ul.ui-tabs-nav li.ui-tabs-nav-item:hover a{ color: #fff;text-decoration: none;}
#featured ul.ui-tabs-nav li.ui-tabs-nav-item a{ border-top: 1px solid #3c3c4c; display:block; height:85px; font-size: 0.87rem; line-height:1.4; margin:0 7px; padding:7px 0; color: #3c3c4c; outline: none;}
#featured ul.ui-tabs-nav li.ui-tabs-selected{ background:url('../images/selected-item.gif') top left no-repeat; }
#featured ul.ui-tabs-nav li.ui-tabs-selected {background-color: #fff;}
#featured ul.ui-tabs-nav li.ui-tabs-nav-item.ui-tabs-nav-item-right.ui-tabs-selected {padding-left: 1px; border-left: none;border-right:1px solid #d4d4d4;}
#featured ul.ui-tabs-nav li.ui-tabs-nav-item.ui-tabs-nav-item-left.ui-tabs-selected a{}
#featured ul.ui-tabs-nav li.ui-tabs-nav-item.ui-tabs-nav-item-left.ui-tabs-selected:nth-last-child(2) a{border-bottom:none;}
#featured ul.ui-tabs-nav li.ui-tabs-nav-item.ui-tabs-nav-item-right.ui-tabs-selected a{}
#featured ul.ui-tabs-nav li.ui-tabs-nav-item.ui-tabs-nav-item-right.ui-tabs-selected:nth-last-child(1) a{border-bottom:none;}
#featured .ui-tabs-panel{ height:255px; position:relative; padding-left:10px; padding-right:10px; overflow:hidden}
#featured .ui-tabs-panel h3 {margin-bottom:0.6em; padding-top:0.6em;margin-top:	0;font-size: 1.4em;}
#featured .ui-tabs-panel div.attribute-image {float:left; margin:0; padding-right:1em}
.ui-tabs-hide{ display:none; }
.ui-tabs-show{ display:block; }
.ui-tabs-left{ padding-left: 10px !important;}
.ui-tabs-autoheight{ height:auto !important; padding-bottom: 10px;}

div.more-link {
	text-align:right;
	font-family:	'Lato', sans-serif;
	text-transform:	uppercase;
	font-size:	0.93rem;
}

div.more-link a::after, #featured div.tab-link a::after{
	display: inline-block;
	height: 10px;
	width: 10px;
	margin-left: 3px;
    content: '';
    background-image: url(../images/list-bullet.png);
    background-position:	center left;	
    background-repeat: no-repeat;
}

#featured div.tab-link a::after{
	background-image: url(../images/list-bullet-white.png);
}


/* Dynamic Events */
div.block-type-dynamic2events {border-width:0px; height:169px}
div.block-type-dynamic2events h2, div.block-type-dynamic5events h2 {font-weight: 700}
div.block-type-dynamic2events div#ezagenda_calendar table.ezagenda_month_event,
div.block-type-dynamic5events div#ezagenda_calendar table.ezagenda_month_event {width:99%;}
div.block-type-dynamic2events table.ezagenda_month_event td.ezagenda_month_label,
div.block-type-dynamic5events table.ezagenda_month_event td.ezagenda_month_label {width:57px}
div.block-type-dynamic2events table.ezagenda_month_event td.ezagenda_month_label h3,
div.block-type-dynamic5events table.ezagenda_month_event td.ezagenda_month_label h3{
	padding:10px 5px 0 4px; font-size:1em; font-weight:normal; width:45px; height: 48px; margin:8px 0; text-align:center; background-image: url('../images/event_card.png'); background-repeat: no-repeat; font-size:	0.87rem; line-height:1;
}
div.block-type-dynamic2events table.ezagenda_month_event td.ezagenda_month_label h3 span.ezagenda_month_label_date,
div.block-type-dynamic5events table.ezagenda_month_event td.ezagenda_month_label h3 span.ezagenda_month_label_date {display: block}
div.block-type-dynamic2events table.ezagenda_month_event td.ezagenda_month_info,
div.block-type-dynamic5events table.ezagenda_month_event td.ezagenda_month_info {padding-top:8px; vertical-align: middle;}
div.block-type-dynamic2events table.ezagenda_month_event td.ezagenda_month_info h4,
div.block-type-dynamic5events table.ezagenda_month_event td.ezagenda_month_info h4 {font-size:	1.07rem; line-height:1.07rem;}

div.block-type-dynamic2events .block-content, div.block-type-dynamic5events .block-content {border-top-style:solid; border-top-width:1px; padding:0 9px 4px 9px}
div.block-type-dynamic2events h2 {border-left-width:0; border-left-style:solid; color:#2782b6; margin-top:-6px; padding:0.6em 0}

div.block-type-dynamic5events {height:349px}
div.block-type-dynamic5events h2 {font-size: 1.4rem; border-left-width:0; border-left-style:solid; color:#2782b6; padding: 0.5em 0 0; margin-top:   0;margin-bottom:  3px;}


@media screen and (max-width: 991px) {
	div.block-type-aktualnosci{
		border: none;
	}
	#featured{
		/*padding-left:	70px !important;*/
		/*height:	182px !important;*/
		padding:	0;
		height:	auto;
	}
	#featured ul.ui-tabs-nav{
		/*width:	50px !important;*/
		display:	none;
	}
	#featured ul.ui-tabs-nav li.ui-tabs-nav-item a{
		height:	60px !important;
	}
	#featured div.tab-link{
		display:	none;
	}		
	#featured .ui-tabs-panel{
		padding:	7px 0 7px 0;
		/*height:	182px !important;*/
		height:	auto;
	}
	#featured .ui-tabs-panel.ui-tabs-hide{
		display:	block;
	}	
	#featured .ui-tabs-panel:last-child{
		border-bottom:	1px solid #F1F1ED;
	}
	#featured div.ui-tabs-panel div.attribute-header{
		float:	right;
		width:	75%;
	}	
	#featured div.ui-tabs-panel div.attribute-header h3{
		font-size:	1.5em;
		padding-top:	0;
		margin-bottom:	0;
	}
	#featured div.ui-tabs-panel div.attribute-image{
		float:	left;
		width:	25%;
		padding-right:	0.7em;
		margin-bottom:	0.5em;
	}		
	#featured div.ui-tabs-panel div.attribute-image img{
		width:	100%;
		height:	auto;
	}	
	#featured div.ui-tabs-panel div.attribute-short{
		display:	none;
	}			
	#featured div.ui-tabs-panel div.more-link a{
		/*font-size:	0.9em;*/
		display:	none;
	}
	
}

@media screen and (max-width: 767px) {
	#featured div.ui-tabs-panel div.attribute-header h3{
		font-size:	1.1em;
		padding-top:	10px;
	}
	div.block-type-topinfomanual div.class-topinfo div.opis p{
		display: none;
	}
	div.block-type-topinfomanual div.class-topinfo div.opis h2{
		font-size: 1.0em;
	}    
	div.block-type-dynamic2events, div.block-type-dynamic5events{
		border-width:	0px;
		height: auto;
	}
	div.block-type-dynamic2events .block-content, div.block-type-dynamic5events .block-content{
		padding: 0;
	}	
	div.block-type-dynamic2events table.ezagenda_month_event td.ezagenda_month_label h3, div.block-type-dynamic5events table.ezagenda_month_event td.ezagenda_month_label h3 {
		width:	80%;
	}	
}

