/* 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: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:	600;
}
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:6px; padding:0 6px 6px 20px}
div.block-type-dynamic5items h2 {border-left-width:15px; border-left-style:solid; color:#2782b6; margin-top:-6px; padding:0.6em 1em; font-weight: 600;}
div.block-type-dynamic5items div.block-content div.items {padding-right:1em}
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: #d4d4d4; }
.scrolled .scrollbar { position: relative; float: right; width: 11px; }
.scrolled .track { background-color: #f5f5f5; /*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: 600}
div.block-type-dynamic2events div#ezagenda_calendar table.ezagenda_month_event {border:none; border-top:1px solid #F1F1ED; 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 #d2d2c5; padding:3px; color:#979797; font-size:1em; font-weight:normal; width:32px; margin:8px 0; background:#eeeee5 url(../images/date_bg.png) repeat-x scroll center bottom; text-align:center}
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}
div.block-type-dynamic2events table.ezagenda_month_event td.ezagenda_month_info h4 {line-height:1em}

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

/*Aktualnosci Dynamic */
div.block-type-aktualnosci {/*margin:0 10px*/}
div.block-type-aktualnosci div.tab-link{position:absolute; width:100%; left:0px; bottom:0; height:20px; padding:3px 3px 0 0; text-align:center; font-size:0.8em; z-index:	99;}


/* 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:#e5f5ff}
div.blok_niebieski  h2 {border-color:#0099ff}  
div.blok_fioletowy {border-color:#f1e5ff}
div.blok_fioletowy h2 {border-color:#7800ff}
div.blok_rozowy {border-color:#fae5fa}
div.blok_rozowy h2 {border-color:#cc00cc}
div.blok_czerwony {border-color:#ffe5f0}
div.blok_czerwony h2 {border-color:#ff006c}
div.blok_zielony {border-color:#f8fae5}
div.blok_zielony h2 {border-color:#b6cc00}
div.blok_pomaranczowy {border-color:#fff4e5}
div.blok_pomaranczowy h2 {border-color:#ff9600}
/* 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 {font-size:23px; padding:15px; margin:0; float:left; background-color: rgb(0, 0, 255);
    /* RGBa with 0.6 opacity */background-color: rgba(0, 0, 255, 0.5);
    /* For IE 5.5 - 7*/filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#330000FF, endColorstr=#330000FF);
    /* For IE 8*/-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#550000FF, endColorstr=#550000FF)"; } 

div.block-type-topinfomanual div.class-topinfo div.opis p {clear:left; background:none; padding:0.6em 1em; margin:0; font-size:16px; background-color: rgb(0, 0, 0);
    /* RGBa with 0.6 opacity */background-color: rgba(0, 0, 0, 0.5);
    /* For IE 5.5 - 7*/filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#33000000, endColorstr=#33000000);
    /* For IE 8*/-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}

/*Infobox*/
  /*Block view*/
div.block-type-infoboxmanual div.class-infobox {border-top-style:solid; border-top-width:6px; padding:0 20px 6px 20px}
div.block-type-infoboxmanual div.class-infobox h2 {border-left-width:15px; border-left-style:solid; color:#2782b6; margin-top:-6px; padding:0.6em 1em;}
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:1.5em; right:1em}
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.4em; margin-bottom:0.3em}
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 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; font-size:12px; color:#666;background-image:none; vertical-align:middle; border:1px solid #d4d4d4; border-top:none; background:#f7f7f7;}
#featured li.ui-tabs-nav-item.ui-tabs-nav-item-left{ float:left; clear:both; border-left:none;}
#featured 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 li.ui-tabs-nav-item.ui-tabs-nav-item-right{ float:right; border-right:none;}
#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 li.ui-tabs-nav-item a{ display:block; height:85px; line-height:18px; padding:0.7em; padding-top:7px}
#featured li.ui-tabs-nav-item a:hover{ background:#f2f2f2; text-decoration: none;}
#featured li.ui-tabs-selected{ background:url('../images/selected-item.gif') top left no-repeat; }
#featured li.ui-tabs-nav-item.ui-tabs-nav-item-right.ui-tabs-selected {background-color: #ffffff; padding-left: 1px; border-left: none;border-right:1px solid #d4d4d4;}
#featured li.ui-tabs-nav-item.ui-tabs-nav-item-left.ui-tabs-selected a{border-bottom:1px solid #d4d4d4;}
#featured li.ui-tabs-nav-item.ui-tabs-nav-item-left.ui-tabs-selected:nth-last-child(2) a{border-bottom:none;}
#featured li.ui-tabs-nav-item.ui-tabs-nav-item-right.ui-tabs-selected a{border-bottom:1px solid #d4d4d4;}
#featured li.ui-tabs-nav-item.ui-tabs-nav-item-right.ui-tabs-selected:nth-last-child(1) a{border-bottom:none;}
#featured ul.ui-tabs-nav li.ui-tabs-selected a{ background:#ccc; color:#333; background:#fff;  margin-right:-1px}
#featured .ui-tabs-panel{ height:255px; position:relative; padding-left:18px; padding-right:18px; 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}


/* Folder */
  /*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}
 table.ezagenda_month_event td.ezagenda_month_label h2 {font-size:1.2em; margin:9px; padding:4px 2px; width:40px; line-height:1.2em}

 /* 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;
		border-top:	1px solid #F1F1ED;
		/*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;
	}	
	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;
}