/*************************************
 * Strona główna
 *************************************/
.navigation {
    margin:5px 0 5px 0;
}

/* Menu nawigacyjne po modułach */
ul.homeNav {
    width:197px;
    list-style-type:none;
    background-color:transparent;
    background-repeat:repeat-y;
}

ul.homeNav li {
    margin:0;
}

ul.homeNav li a,
ul.homeNav li a:link,
ul.homeNav li a:visited {
    display:block;
    color:#1f2f49;
    font-size:14px;
    font-weight:bold;
    text-decoration:none;
    margin-bottom:6px;
    padding-top:15.5px;
    height:36px;
    background:#D9DEE2;
	vertical-align:middle;
}

ul.homeNav li a.menuSmall {
	padding-top:12px;
	height:54px;
	font-size:14px;
}

ul.homeNav li:last-child a {
    margin-bottom:0;
}

ul.homeNav-left {
    float:left;
    text-align:left;
    background-image:url(/img/nlb.png);
    background-position:left top;
}
ul.homeNav-left li {
    margin-left:10px;
}
ul.homeNav-left li a {
    padding-left:10px;
}
ul.homeNav-left li a:hover {
    background:#0294cd;
    color:#fff;
}

ul.homeNav-right {
    float:right;
    text-align:right;
    background-image:url(/img/nrb.png);
    background-position:right top;
}
ul.homeNav-right li {
    margin-right:10px;
}
ul.homeNav-right li a {
    padding-right:10px;
}
ul.homeNav-right li a:hover {
    background:#e95d27;
    color:#fff;
}

#noImage {
	width:535px;
	height:282px;
    margin:0 0 0 18px;
    background:#C3CAD2;
    float:left;
    position: relative;
    overflow: auto;
    cursor:default;
    font-weight:normal;
    padding:0;
	text-align:center;
}

#noImage h3 {
	font-size:13px;
    color:#56627A;
	margin:200px auto 0 auto;
}


/* Zmiany organizacji ruchu */
#homeZor {
    background: #fff url(/img/ngb.png) repeat-y;
    margin-left: 18px;
    width: 535px;
    float: left;
    /*height: 35px;*/
    margin-top: 6px;
    /*padding-top: 15.5px;*/
}

ul.homeZor {
    width:100%;
    list-style-type:none;
    background-color:transparent;
    background-repeat:repeat-y;
}

ul.homeZor li {
    margin:0;
}

ul.homeZor li a,
ul.homeZor li a:link,
ul.homeZor li a:visited {
    display:block;
    color:#fff;
    font-size:14px;
    font-weight:bold;
    text-decoration:none;
    margin-left: 10px;
    padding-top:15.5px;
    height:36px;
    background:#98BF0C;
    vertical-align:middle;
    /*background-image: url('/img/icon-zor-darkblue.png');*/
    background-repeat: no-repeat;
    background-position: 485px 12px;
    padding-left:10px;
}
/*
ul.homeZor li a:hover {
    background:#98BF0C;
    color:#fff;
    background-image: url('/img/icon-zor-white.png');
    background-repeat: no-repeat;
    background-position: 485px 12px;

}*/

/* slider */
#homeSlider {
    width:535px;
    margin:0 0 0 18px;
    background:#C3CAD2;
    float:left;
    position: relative;
    overflow: auto;
    cursor:default;
}

#homeSlider ul {
    display:block;
    list-style:none;
    width:300%;
}
#homeSlider ul li {
    width:25%;
    height:282px;
    float:left;
    cursor:default;
}
#homeSlider ul li a,
#homeSlider ul li a:link,
#homeSlider ul li a:visited {
    margin-top:217px;
    padding:5px 0 0 0;
    width:100%;
    height:60px;
    display:block;
    background:#C3CAD2;
    line-height:1.5;
    color:#232E42;
}

#homeSlider ul li a {
    opacity:.9;
    filter:alpha(opacity=90);
    -moz-opacity:.9;
    text-shadow: 0 0 1px rgba(255,255,255,.05), 0 1px 2px rgba(255,255,255,.3);
}
#homeSlider ul li a:hover {
    text-decoration:none;
    background:#B9C0C8;
}

#homeSlider ul li a h1 {
    font-weight:bold;
    font-size:13px;
    color:#232E42;
    margin:0 0 0 10px;
    padding:0;
}

#homeSlider ul li a p {
    font-size:11px;
    margin:0 0 0 10px;
    padding:0;
}

.sliderArrow {
    position:absolute;
    display:block;
    background-image: url(/img/arrows.png);
    top:50%;
    margin-top:-30px;
    width:17px;
    height:30px;
    opacity:0.6;
    filter:alpha(opacity=60);
    -moz-opacity:.6;
    text-decoration:none;
    z-index:1000;
}
.sliderArrow:hover {
    text-decoration:none;
    opacity:0.8;
    filter:alpha(opacity=80);
    -moz-opacity:.8;
}
#homeSlider .prev {
    background-position:0 0;
    left:10px;
}
#homeSlider .next {
    background-position:100% 0;
    right:10px;
}

#homeSlider .dots {
    position:absolute;
    left:0;
    right:0;
    bottom:2px;
    margin:0 auto;
    z-index:1000;
    text-align:center;
    list-style-type:none;
}

#homeSlider .dots li {
    display: inline-block;
    width:10px;
    height:10px;
    margin:0 3px;
    text-indent:-999em;
    background:#D2D7DB;
    border-radius:6px;
    cursor:pointer;
    opacity:1;
    -webkit-transition:background .5s, opacity .5s;
    -moz-transition:background .5s, opacity .5s;
    transition:background .5s, opacity .5s;
}
#homeSlider .dots li.active {
    background:#fff;
}
#homeSlider .dot {
    -webkit-filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
    -moz-filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
    -ms-filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
    -o-filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
}

.middleWrapper {
    margin-top:20px;
}
.middleWrapper h2,
.bottomWrapper h2 {
    font-size:15px;
    margin:0 0 15px 12px;
    /*text-transform:uppercase;*/
}


/* Zdarzenia aktualne / planowane */
.eventsContainer {
    float:left;
	width:742px;
    margin-left:5px;
    overflow:hidden;
}
.eventsContainer table.eventsTable {
	width:99%;
	margin-left:10px;
}

.newsHelp {
    color:#616E8E;
}

/* Aktualności */
.bottomWrapper {
    margin-top:30px;
}

ul.homeNews {
    list-style-type:none;
}

ul.homeNews li {
    display:block;
    float:left;
    width:31%;
    height:310px;
    margin:0 5px;
    padding:5px;
    overflow:hidden;
	cursor:pointer;
	background:#D4DBE1 url('/img/news-arrow-right.png') no-repeat right bottom;
}
ul.homeNews li a,
ul.homeNews li a:link,
ul.homeNews li a:visited {
    display:block;
    color:#343E57;
}

ul.homeNews li a img {
    width:290px;
    height:140px;
    margin:5px;
}
ul.homeNews li a img.more {
	position:relative;
	right:5px;
	bottom:5px;
    margin:5px 5px 5px 0;
    width:48px;
    height:48px;
    float:right;
}

ul.homeNews li a h3 {
    font-size:12px;
    font-weight:bold;
    margin:8px 5px 10px 5px;
    padding:0;
	line-height:20px;
}

ul.homeNews li p {
    display:block;
    font-size:11px;
	height:90px;
    overflow:hidden;
    font-weight:normal;
    line-height:1.5;
    margin:5px;
}

ul.homeNews li a:hover,
ul.homeNews li a:active {
    color:#343E57;
    text-decoration:none;
}
ul.homeNews li:hover {
    background-color:#C3CAD2;
}

.newsWrapper {
	margin-left:15px;
}
.newsTopContent {
  display: inline-block;
  vertical-align: top;
  margin-bottom: 30px;
}
.newsContainer {
	border-top:1px solid #B8C0CD;
	padding:10px 0 0 0;
	margin:0;
}

.newsInfoContainer {
  display: inline-block;
  margin-left: 68px;
  vertical-align: top;
  float: right;
	background:#D7DFE2;
	width:27%;
	padding:0 5px 10px 10px;
  margin-bottom: 15px;
}
.newsInfoContainer h3 {
	margin:12px 0 0 0;
	padding:0 0 10px 0;
	border-bottom:1px solid #B8C0CD;
	font-size:12px;
	line-height:16px;
}
.newsInfoContainer h3 img {
	float:left;
	margin:0 7px 0 0;
	padding:0;
	width:16px;
	height:16px;
}
ul.newsRelated {
	list-style-type:disc;
	list-style:disc;
	/*list-style-image: url(/img/arrow.png);*/
	margin:10px 0 0 20px;
	padding:0;
}
ul.newsRelated li {
	margin:5px 0 10px 0;
}
ul.newsRelated li a,
ul.newsRelated li a:link,
ul.newsRelated li a:visited {
	color:#4D5887;
	font-size:12px;
	font-weight:normal;
	padding:2px 0 2px 0;
}
ul.newsRelated li a:hover {
	color:#ED5D28;
}

.newsMeta {
	margin:0;
	padding:0;
	font-size:11px;
	height:30px;
}

.newsMeta img {
	float:left;
	margin:1px 10px 0 0;
}

.newsMainPicture {
	width:100%;
	margin:5px auto;
	background:#F3F5F7;
	border:1px solid #B8C0CD;
	border-radius:5px;
}

.newsMainPicture img {
	width:575px;
	height:318px;
	margin:14px 8px 4px 18px;
}

.newsMainPicture h3 {
	color:#192841;
	font-size:11px;
	font-weight:normal;
	font-style:italic;
	margin:4px 8px 8px 18px;
	padding:0;
	line-height:22px;
}
.newsContent {
	clear:both;
	width:86%;
	margin:25px 25px 25px 20px;
	padding-top:15px;
	line-height:1.6em;
	font-size:13px;
	font-weight:normal;
	font-family:sans-serif, Arial, Verdana, "Trebuchet MS";
}

.content-thick {
	width:70%;
}
div.newsContent p, .newsContent span {
	width:auto;
	line-height:1.6em;
	display: block;
	margin:1em 0px 1em 0px;
	padding:0;
}
.newsContent a, .newsContent a:link, .newsContent a:visited {
	text-decoration:underline;
}


/* METEOBOX */
.meteoContainer {
    float:left;
    width:197px;
}
.meteoWrapper {
	width:100%;
    background:#fff url(/img/ngb.png) repeat-y;
}
.meteoBox {
	text-align:center;
	padding:5px 0;
	margin:0 0 0 10px;
	font-size:12px;
	font-weight:600;
	cursor:default;
	letter-spacing:0;
	letter-spacing:-1px\a; /* IE hack */
}

.meteo-sun {
	white-space:nowrap;
	margin:0;
	padding:5px 10px;
	font-weight:700;
	color:#616e8f;
}
.meteo-sun span.sunrise {
	float:left;
}
.meteo-sun span.sunset {
	float:right;
}
.meteo-temp {
	color:#1f2f49;
	font-size:57px;
	font-weight:600;
	padding:0;
	vertical-align:middle;
	margin:20px 0 5px 10px;
	height:40px;
	line-height:18px;
	height:auto !important; /* IE 7 hack */
}
.meteo-desc {
	white-space:nowrap;
	font-weight:700;
	padding:5px;
	color:#0492d0;
}
.meteo-icon {
}
.meteo-icon img {
	width:85px;
	height:85px;
}
.meteo-detail {
	padding-bottom:15px;
}
.meteo-detail div {
	width:33%;
	float:left;
	color:#1f2f49;
	line-height:20px;
}
.meteo-detail div img {
	margin:3px 5px 5px 6px;
}
.meteo-detail div {
	padding:0;
	margin:0;
	font-size:20px;
}
.meteo-unit {
	font-size:12px;
}

div.eventsMore {
	width:100%;
	height:32px;
	text-align:right;
	padding:15px 0;
	margin-right:5px;
}
div.eventsMore a,
div.eventsMore a:link,
div.eventsMore a:visited{
	display:block;
	float:right;
	font-weight:bold;
	font-size:13px;
	color:#e95e27;
	padding-right:40px;
	padding-top:4px;
	height:32px;
	background:transparent url(/img/arrow-right-small.png) no-repeat right top;
}
div.eventsMore a:hover {
	color:#f36831;
}

a.download-mobile {
	display:block;
}

.eventsTable tr.odd td,
.eventsTable tr.even td{
	height:68px;
	overflow:hidden;
}

.downloads-mobile {
  text-align: center;
  background-color: #1f2f49;
}
.downloads-mobile > .download-close {
  display: none;
}

@media screen and (max-width: 950px) {

	#noImage,
	#homeSlider {
		float:none;
		margin:0 auto 0 auto;
	}
	#homeZor {
            width: 100%;
            float:none;
            margin:0 auto 0 auto;
	}

	ul.homeNav,
	ul.homeNav-left,
	ul.homeNav-right {
		width:49%;
	}

	.middleWrapper h2,
	.bottomWrapper h2 {
		margin:5px auto;
	}

	a.download-mobile {
		display:block;
    text-align: center;
	}


  .downloads-modal {
    position: fixed;
    z-index: 10000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, .3);
  }
  .downloads-modal > .downloads-mobile {
    position: absolute;
    top: 50px;
    right: 50px;
    bottom: 50px;
    left: 50px;
    padding-top: 30px;
  }
  .downloads-modal > .downloads-mobile > .download-close {
    display: block;
    padding: 5px;
    opacity: 1;
    transform: scale(1.5);
    position: absolute;
    top: 10px;
    right: 10px;
  }


	.eventsContainer {
		margin-top:20px;
		padding:0;
		width:100%;
	}
	.eventsContainer table.eventsTable {
		margin-left:0;
		border-left:0;
	}
	.meteoContainer {
		width:100%;
	}
	.meteoContainer h2,
	.eventsContainer h2,
	.bottomWrapper h2 {
		margin:0 auto 10px auto;
		text-align:center;
	}

	ul.homeNews li {
		margin-bottom:5px;
		width:45%;
		height:240px;
	}
	ul.homeNews li p {
		display:none;
	}
}

@media screen and (max-width: 524px) {
	#noImage,
	#homeSlider {
		width:100%;
		overflow:hidden;
	}

	.eventsTable thead tr th:last-child {
		display:none;
	}
	td.service {
		display:none;
	}

	ul.homeNews li {
		width:95%;
		height:240px;
	}
}