/* Bloki Frontpage ************************************/
div.separator {background-image:none; border-bottom:1px solid #F1F1ED; height:9px}
div.block-separator {margin:5px 0}
div.items-scroll {overflow-y:scroll}
div.block-type-infoboxmanual, div.block-type-dynamic5items, div.block-type-dynamic2events, div.block-type-aktualnosci, div.block-type-malybaner {border-width:0px;/*border-width:1px; border-style:solid; border-color:#d4d4d4*/}

/* 1 TopInfo Manual*/
div.block-type-topinfomanual {clear:both; margin:0}
/* 1 InfoboxManual */
div.infobox-standard {height:349px; position:relative}
@media screen and (max-width: 767px) {
	div.infobox-standard {height:auto; padding-bottom: 40px;}
}
div.class-infobox div.header h2{
	font-weight:	700;
}
div.infobox-baner {height:169px}
div.malybaner1 {height:79px; position:relative}


/* 5 Items Dynamic*/
div.block-type-dynamic5items /*{height:529px;} 2 maĹ‚e banery */ {height:709px;} /*1 maly baner*/
div.block-type-dynamic5items .block-content {border-top-style:solid; border-top-width:1px; padding:0 6px 6px 9px}
div.block-type-dynamic5items>div.block-content>h2 {border-left-width:0; border-left-style:solid; color:#2782b6; font-weight: 700; font-size:	1.4rem;}
div.block-type-dynamic5items div.block-content div.items {padding-right:9px}
div.block-type-dynamic5items h3 {margin-top:0.6em}

@media screen and (max-width: 991px) {
	div.block-type-dynamic5items{
		height: auto;
		min-height:	450px;
	}
	div.block-type-dynamic5items .block-content{
		padding-bottom:	15px;
	}
	div.scrollbar{
		height: auto;
		min-height:	400px;
	}
	.scrolled .viewport{
		height: auto !important;
		min-height:	400px;
	}
	.scrolled .viewport .overview{
		padding-bottom:	15px;
	}	
}


.scrolled { width: auto/*274px*/; clear: both}
.scrolled .viewport { /*height: 470px; 2 maĹ‚e banery*/ height: 650px; /*1 maly baner;*/ overflow: hidden; position: relative }  
.scrolled .overview { list-style: none; position: absolute; left: 0; top: 0}
.scrolled .thumb .end, .scrolled .thumb { background-color: #b4a0aa; }
.scrolled .scrollbar { position: relative; float: right; width: 11px; }
.scrolled .track { background-color: #f7f5f6; /*height: 430px; 2 maĹ‚e banery*/ height: 430px; /*1 maly baner*/ width:9px; position: relative; padding: 0 1px; }  
.scrolled .thumb { height: 20px; width: 9px; cursor: pointer; overflow: hidden; position: absolute; top: 0; }
.scrolled .thumb .end { overflow: hidden; height: 5px; width: 9px; }
.scrolled .disable{ display: none; }
.noSelect { user-select: none; -o-user-select: none; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; }

/* Dynamic 2 Events */
div.block-type-dynamic2events {height:169px}
div.block-type-dynamic2events h2 {font-weight: 700}
div.block-type-dynamic2events div#ezagenda_calendar table.ezagenda_month_event {width:99%;}
div.block-type-dynamic2events table.ezagenda_month_event td.ezagenda_month_label {width:57px}
div.block-type-dynamic2events table.ezagenda_month_event td.ezagenda_month_label h3 {/*border:1px solid #3c3c4c; border-bottom-width:0; */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 {display: block}
div.block-type-dynamic2events 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 {font-size:	1.07rem; line-height:1.07rem;}

div.block-type-dynamic2events .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}

/*Aktualnosci Dynamic */
div.block-type-aktualnosci {}
div.block-type-aktualnosci div.tab-link{width:100%; margin-top: -22px; padding:0 10px 0 10px; text-align:center; font-size:0.8em; z-index:	99;}
div.block-type-aktualnosci div.tab-link a{position: relative; display: block; background-color: #b4a0aa; color: #ffffff; padding: 2px 0;  font-family:	'Lato', sans-serif; font-size: 0.87rem; text-transform: uppercase;}


/* Mainstory */
/*div.block-type-mainstory {width:960px; height:400px; position:relative}
div.block-type-mainstory div.mainstory-ramka {border:10px solid #f7f7f7; position:absolute; top:0; left:0; width:940px; height:380px; opacity:0.5; background-color: transparent}
div.block-type-mainstory div.trans-background {margin-top:-67px!important; margin-left:10px; font-size:1.2em}
div.block-type-mainstory div.trans-background, div.block-type-mainstory div.attribute-link {margin-top:-67px!important; margin-left:10px; font-size:1.2em; width:361px!important; height:30px}*/

/*Wersje kolorystyczne */
div.blok_niebieski  {border-color:#7696cf;}
div.blok_zielony {border-color:#6aba9c;}
div.blok_pomaranczowy {border-color:#ea7c5a;}
div.blok_sliwkowy {border-color:#965f77;}
div.blok_lila {border-color:#b4a0aa;}
div.blok_czarny {border-color:#3c3c4c;}

/* Bloki frontpage: KONIEC */

/* Klasy *******************************************************************/
/* Frontpage */
div.class-frontpage h3 a, div.class-frontpage h4 a {color:#535548}
/* TopInfo */
  /*Block view*/
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 {
	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%;
}

/*Infobox*/
  /*Block view*/
div.block-type-infoboxmanual div.class-infobox {border-top-style:solid; border-top-width:1px; padding:0 9px 6px 9px}
div.block-type-infoboxmanual div.class-infobox h2 {border-left-width:0; border-left-style:solid; color:#2782b6;}
div.block-type-infoboxmanual div.class-infobox p {text-align:left}
div.block-type-infoboxmanual div.class-infobox div.attribute-content h3 {}
div.block-type-infoboxmanual div.class-infobox div.attribute-content ul {margin-left:0}
/*div.block-type-infoboxmanual div.class-infobox div.attribute-content ul.infobox-glowna {position:absolute; bottom:2em}*/
div.block-type-infoboxmanual div.class-infobox div.more-link {position:absolute; bottom:0.6em; right:0.8em}
div.infobox-baner div.class-infobox div.more-link {position:static; display:none}
div.attribute-image img{
	/*width:	auto;*/
 }


/* Article */
div.class-article p { line-height:1.4em}
  /* Full */
div.class-article h1 {margin-bottom:0.3em}
div.content-view-full div.class-article div.attribute-byline {margin-bottom:2em}
div.content-view-full div.class-article div.attribute-short {margin-bottom:1em}
div.content-view-full div.class-article div.attribute-short p {font-weight:bold}
div.content-view-full div.class-article div.attribute-long p {margin-bottom:1em}

  /* Line */
div.content-view-line div.class-article {margin:1em 0 2em 0}
div.content-view-line div.class-article>h3 {font-size:1.4rem; line-height: 1.4; margin-bottom:0.3em; font-weight:700;}
div.content-view-line div.class-article>h3>a {color: #3c3c4c;}
div.content-view-line div.class-article div.attribute-short {margin-bottom:1em}
div.content-view-line div.class-article div.attribute-short p {margin:0.3em 0; font-weight:normal}
  /* 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;}

  /* Block view */
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);
}

/* Folder */
	/* Line */
	div.content-view-line div>h2>a {color: #3c3c4c;}
  /*Full pressroom**/
  div.pressroomform {margin:2.5em 0}
  /*Itemized subitems*/

/* File */
.attribute-pdf {margin:0.9em 0}
.attribute-pdf a {padding-left:31px}
  /* Line */
  div.content-view-line div.class-file h2 {background:none; padding-bottom:0; margin-bottom:0.2em}

/* Akt prawny */
div.akt-prawny {clear:both; margin:0.6em 0 0.3em 0; overflow:auto;}
div.akt-prawny div {float:left;}
div.akt-prawny div.tytul {padding-left:2.2em}
div.akt-prawny div.numer {float:left; margin-right:-2em}

/* Custom tags */
div.ctag-zrodlo {font-size:0.8em; color:#888; font-style:italic}

/* Authority */
div.class-authority {clear:both; margin-bottom:35px; overflow:auto}
div.class-authority div.attribute-header h1 {margin:0 0 0.6em 0}
div.class-authority div.attribute-image {float:right; margin:0.6em}

/*Event calendar*/
  /*Program view*/
div.event-calendar-programview div.block div{margin:0.8em 0 1em 0}

div#ezagenda_calendar_right table.ezagenda_month_event{
	border:	none;
}

table.ezagenda_month_event td.ezagenda_month_info {
	vertical-align:	middle;
}

table.ezagenda_month_event td.ezagenda_month_label h2 {
	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');
	font-size: 0.87rem;
	line-height: 1;
	border: none;
	color:	#3c3c4c;
}

 /* Event Konferencja */
 td.label {padding:0.2em 1em 0.2em 0.2em; vertical-align:top}
 td.wpis p {padding-top:0.2em; margin-top:0}

 /* Link */
div.class-link {margin-bottom:2.2em}
div.class-link h2 {margin-bottom:0.3em}
div.class-link p {margin:0}

/* Banner */
  /* Block view */
div.block-type-banermanual {/*margin:0 10px*/}
div.class-banner img{
	width:	100%;
	display: block;
	max-width: 100%;
 	height: auto;	
}

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

/*********************************/
/* style do filmikow z youtube'a */
/*********************************/

div.video-container{
	position:	relative;
	/*padding-bottom:	56.25%;zalezne od aspect ratio, wyznaczane skryptem*/
	/*padding-top: 35px;*/
	height:	0;
	overflow:	hidden;
}
iframe.video{
	position:	absolute;
	top:	0;
	left:	0;
	width:	100%;
	height:	100%;
}

/*****************************/
/* zmiany na urzadzeniach xs */
/*****************************/
@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.class-infobox, div.block-type-dynamic5items{
		margin-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-infoboxmanual div.class-infobox div.more-link {
		bottom:	auto;
	}
	div.block-type-dynamic2events{
		border-width:	0px;
	}
	div.block-type-dynamic2events .block-content{
		padding: 0;
	}
	div.block-type-infoboxmanual{
		border-width:	0px;
	}
	div.block-type-infoboxmanual div.class-infobox{
		padding: 0;
	}
	div.block-type-dynamic5items{
		border-width:	0px;	
	}
	div.block-type-dynamic5items .block-content{
		padding:	0px;	
	}
	div.block-type-dynamic5items div.attribute-header h3{
		font-size:	1.2em;
	}
	
	div.infobox-baner {
	    height: auto;
	}
	div.block-type-dynamic2events {
	    height: auto;
	}
	div#sidemenu ul.menu-list li a, div#sidemenu ul.submenu-list li a {
		font-size:	1.0em;
	}
	div.block-type-dynamic2events table.ezagenda_month_event td.ezagenda_month_label h3 {
		width:	80%;
	}
	div.content-view-full div.class-article div.attribute-long ul{
		margin:	0px 0px 1em 0.75em;
	}
	div.content-view-full div.class-article div.attribute-byline{
		margin-bottom:	20px;
	}
	div.content-view-full div.attribute-image{
/*		float:	none;
		width:	auto;
		margin-left:	0;
		margin-right:	0;*/
	}
	div.content-view-full div.attribute-image img{
		/*display:	block;
		margin-left:	auto;
		margin-right:	auto;
		min-width:	60%;
		max-width:	100%;
		height:	auto;*/
	}	
	div#main ul, div#main ol{
		margin-left:	0px;
	} 
	form label{
		white-space:	normal;
	}
}



/**************************/
/* nadpisane z bootstrapa */
/**************************/

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
  padding-right: 10px;
  padding-left: 10px;
}

.row {
  margin-right: -10px;
  margin-left: -10px;
}

.container {
  padding-right: 10px;
  padding-left: 10px;
}
