/*zmiana barteks*/
body {
	font-family: 'Cuprum', sans-serif;
	min-width: 290px;
}
a, a:hover {
	color: #333;
}
.crest, .header-left {
	z-index: 100;
}
.crest a {
	display: table;
	margin: auto;
	z-index: 100
}
.crest a img {
	/*
	width: 100px;
	margin-top: 30px;
	*/
	width: 85px;
	margin-top: 20px;

}
.bg-wrapper {
	width: 100%;
	height: 100%;
	background: url('../images/bg1.jpg') repeat-x center 190px;
	position: relative;
	height: auto;
}
.bg-wrapper2 { background: url(../images/bg1-g.jpg) repeat-x center bottom; }

.media-list {
    padding-left: 0;
    list-style: none;
    text-align: right;
}

.media-list-item{
	 display: inline-block;
     font-size: 24px;
     margin-left: 25px;
}

.media-list-item a{
     color: #b1b1b1;
     transition: all .6s ease-in;
}
.media-list-item a:hover {
     text-decoration: none;
     transition: all .6s ease-out;
     color: #00933b;
}    

.facebook:before {
   font-family: fontAwesome;
   content: '\f09a';
   vertical-align: middle;
}

.rss:before {
   font-family: fontAwesome;
   content: '\f09e';
   top: 3px;
   position: relative;
}


.menu-wrapper {
	height: 190px;
}

.slicknav_menu {
	display: none;
}

.red.bg-wrapper, .bg-wrapper, .red .color-bg, .color-bg, .slicknav_menu, .red slicknav_menu, .red a.slicknav_row { background-color: #e10128 }
.orange.bg-wrapper, .orange .color-bg, .orange a.slicknav_row { background-color: #ff9100 }
.green.bg-wrapper, .green .color-bg, .green a.slicknav_row { background-color: #90c900 }
.olive.bg-wrapper, .olive .color-bg, .olive a.slicknav_row { background-color: #ada360 }
.blue.bg-wrapper, .blue .color-bg, .blue a.slicknav_row { background-color: #56a3b0 }

.menu-wrapper a.color-bg { background-color: transparent!important;}

.red .menu-wrapper, .menu-wrapper { background-image: url('../images/red-menu-bg.png') }
.orange .menu-wrapper { background-image: url('../images/orange-menu-bg.png') }
.green .menu-wrapper { background-image: url('../images/green-menu-bg.png') }
.olive .menu-wrapper { background-image: url('../images/olive-menu-bg.png') }
.blue .menu-wrapper { background-image: url('../images/blue-menu-bg.png') }

nav {
	height: 190px;
	position: relative;
	font-family: 'Cuprum', sans-serif;
}
nav ul.menu-level1 {
	display: block;
	margin: 0;
	padding: 0 3px 5px 4px;
	position: absolute;
	bottom: 0;
	right: 0;
	background-color: white;
	width: 687px;
}
nav ul.menu-level1 > li {
	display: inline-block;
	text-transform: uppercase;
	width: 125px;
	font-size: 22px;
	line-height: 20px;
	text-align: center;
	border-bottom: #bdbdbd solid 5px;
	padding-bottom: 10px;
}
nav a, nav a:hover {
	color: #58595b;
	text-decoration: none;
}

nav ul.menu-level1 > li:nth-child(2) {border-color: #e10128;}
nav ul.menu-level1 > li:nth-child(3) {border-color: #ff9100;}
nav ul.menu-level1 > li:nth-child(4) {border-color: #90c900;}
nav ul.menu-level1 > li:nth-child(5) {border-color: #ada360;}
nav ul.menu-level1 > li:nth-child(6) {border-color: #56a3b0;}

nav ul.menu-level1 > li:first-child:hover a span, nav ul.menu-level1 > li:first-child a span {color: transparent;}
nav ul.menu-level1 > li:nth-child(2):hover > a, nav ul.menu-level1 > li:nth-child(2) > a.active {color: #e10128;}
nav ul.menu-level1 > li:nth-child(3):hover > a, nav ul.menu-level1 > li:nth-child(2) > a.active  {color: #ff9100;}
nav ul.menu-level1 > li:nth-child(4):hover > a, nav ul.menu-level1 > li:nth-child(2) > a.active  {color: #90c900;}
nav ul.menu-level1 > li:nth-child(5):hover > a, nav ul.menu-level1 > li:nth-child(2) > a.active  {color: #ada360;}
nav ul.menu-level1 > li:nth-child(6):hover > a, nav ul.menu-level1 > li:nth-child(2) > a.active  {color: #56a3b0;}

nav ul.menu-level1 > li:nth-child(2) ul.menu-level2 { background-color: #e10128 }
nav ul.menu-level1 > li:nth-child(3) ul.menu-level2 { background-color: #ff9100 }
nav ul.menu-level1 > li:nth-child(4) ul.menu-level2 { background-color: #90c900 }
nav ul.menu-level1 > li:nth-child(5) ul.menu-level2 { background-color: #ada360 }
nav ul.menu-level1 > li:nth-child(6) ul.menu-level2 { background-color: #56a3b0 }


nav ul.menu-level1 > li:first-child {
	width: 35px;
	background-image: url('../images/home.png');
	background-repeat: no-repeat;
	background-position: center center;
}
nav ul.menu-level2 {
	display: none;
	top: 40px;
	left: 0px;
	position: absolute;
	text-align: left;
	width: 100%;
	padding: 0;
	list-style-type: none;
	padding-top: 20px;
	background-clip: content-box;
	z-index: 120;
}
nav ul.menu-level2 > li {
	display: block;
	width: 33%;
	float: left;
	padding: 10px;
}
nav ul.menu-level3 {
	display: block;
	margin-top: 0;
}
nav .menu-level2 ul, nav .menu-level2 li {
	position: static;
	padding: 0;
	display: block;
	text-transform: initial;
}
nav .menu-level2 a, nav .menu-level2 a:hover {
	color: white;
}
nav ul.menu-level3 > li {
	width: 100%;
	padding-bottom: 5px;
	margin-bottom: 5px;
	border-bottom: 1px dashed white;
	font-size: 18px;
	font-weight: 700;
}
nav ul.menu-level4 li {
	width: 100%;
	margin: 0;
	font-size: 14px;
	font-weight: 400;
}
ul.menu-level2 > li > a {
	display: none;
}
.fadeInAndOut, .fadeInAndOut:hover {
	-webkit-transition: opacity 0.5s ease-in-out;
	-moz-transition: opacity 0.5s ease-in-out;
	-ms-transition: opacity 0.5s ease-in-out;
	-o-transition: opacity 0.5s ease-in-out;
	transition: opacity 0.5s ease-in-out;
}
.fadeInAndOut {
	opacity: 0.3;
}
.fadeInAndOut:hover {
	opacity: 1;
}
.weather-box {
	line-height: 60px;
	margin-top: 5px;
	margin-bottom: 5px;
	font-size: 40px;
	background-repeat: no-repeat;
	background-position: center right;
	background-size: 35%;
	text-align: right;
	padding-right: 80px;
	font-style: italic;
	opacity: 0.3;
}
.weather-icon {
	position: absolute;
	top: 0;
	right: 30px;
	width: 70px;
}
.weather-box:hover {
	opacity: 1;
	filter: alpha(opacity=100);
}
.header-links {
	margin: 5px 20px 15px 20px;
}
.header-left a {
	width: 49%;
	display: inline-block;
}
.header-left a img {
	width: 100%;
}
.header-left input {
	width: 100%;
	background-color: #f8f8f8;
	background-image: url('../images/lupa.png');
	background-repeat: no-repeat;
	background-position: center right;
	border: none;
	color: #aaa;
	line-height: 42px;
	height: 42px;
	font-size: 16px;
	font-family: Cuprum;
	padding-left: 10px;
	padding-right: 45px;
	border-radius: 10px;
	-webkit-border-radius: 10px;
    -moz-border-radius: 10px;

	behavior: url(../javascripts/PIE/PIE.htc);
}
.header-left input:focus {
	outline-color: transparent;
	box-shadow: 0 0 4px #868686;
	color: #58595b;
	opacity: 1;
}
.contents-block {
	margin-top: 250px;
	background-color: white;
	border-top: solid 5px;
}
.red .contents-block, .contents-block { border-color: #e10128 }
.orange .contents-block { border-color: #ff9100 }
.green .contents-block { border-color: #90c900 }
.olive .contents-block { border-color: #ada360 }
.blue .contents-block { border-color: #56a3b0}

.green .header-links, .olive .header-links {
	visibility: hidden;
}

a.logo-img {
	position: absolute;
	top: 0px;
	left: 180px;
	/*width: 260px;*/
}
a.logo-img img {
	/*
	width: 260px;
	*/
	width: 144px;
	height: 98px;
}
.banner .dots:last-child {
  display: none;
}
.shadow-box {
	-webkit-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.4);
	box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.4);
}
.banner {
	position: relative;
	overflow: hidden;
	margin: 15px 0 50px 0;
	border: 15px solid white;
	height: 584px!important;
}
.banner li {
	list-style: none;
	margin: 0;
}
.banner ul li {
	float: left;
	width: 100%;
}
.banner ul {
	margin: 0;
	padding: 0;
}
.slides {
	list-style-type: none;
}
.slides a {
	width: 228px;
	height: 200px;
	display: block;
	background: no-repeat center center;
	background-size: contain;
	padding: 30px 40px;
	background-clip: padding-box;
	background-origin: content-box;
	line-height: 150px;
}
.slides img {
	display: inline!important;
}
.slider-item .velacms-timeline-desc {
	display: block;
	margin-bottom: 0;
	height: 75px;
}
.vco-skinny .vco-slider .slider-item .content .layout-text-media h2.date {
	display: none!important;
}
.vco-slider .slider-item .content .pad-top .text .container {
	padding-top: 0px!important;
}
.vco-skinny .vco-slider .slider-item .content .layout-text-media h3 {
	font-size: 20px;!important
}
p.velacms-timeline-desc:after {
	content: " ";
	display: block;
	height: 20px;
	position: relative;
	top: -21px;
	background: white;
}
.flex-direction-nav a {
	opacity: 1;
}
.flex-direction-nav .flex-prev {
	left: 0;
}
.flex-direction-nav .flex-next {
	right: 0;
}
.banner .slide-background {
	height: 470px;
	background-size: cover;
	padding: 15px;
}
.banner .slide-background h2 {
	margin: 0;
}
.banner .slide-background a, .banner .slide-background a:hover {
	color: #fff;
	text-decoration: none;
	text-shadow: 2px 2px 3px #000;
}
.banner .slide-background h2 span {
	font-size: 45px;
	font-weight: 700;
	color: #e10128;
	background-color: #ffffff;
	display: inline;
	padding: 4px 8px;
	line-height: 54px;
}
.banner .slide-background p {
	margin: 0;
}
.banner .slide-background p span {
	color: white;
	font-size: 16px;
	background-color: #e10128;
	display: inline;
	padding: 4px 8px;
}
.banner .slide-background h2, .banner .slide-background p {
	display: block;
}
.banner ul li p {
	margin-top: 15px;
}
.banner ol {
	position: absolute;
	bottom: 100px;
	margin: 0;
	padding: 0;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.banner  .owl-dot{
	display: inline-block;
	height: 17px;
	width: 17px;
	margin: 4px;
	background-color: white;
	border-radius: 100%;
	-webkit-border-radius: 100%x;
    -moz-border-radius: 100%;
	behavior: url(../javascripts/PIE/PIE.htc);
	border: 2px solid #e10128;
	box-shadow: 0 0 2px black;
	color: transparent;
	cursor: pointer;
}
.banner .owl-dot.active {
	background-color: #e10128
}
.banner .owl-dot span{
	background: transparent!important;
}
.banner .owl-dots{
	position: absolute;
	bottom:100px;
	width:100%;
}
button.slick-prev, button.slick-prev:hover, button.slick-next, button.slick-next:hover {
	position: absolute!important;
	display: block!important;
	width: 75px;
	height: 75px;
	background-repeat: no-repeat!important;
	background-size: 40%!important;
	color: transparent!important;
	background-position: center center!important;
	background-color: rgba(256,256,256,0.5)!important;
	border-radius: 100%!important;
	-webkit-border-radius: 100%!important;
    -moz-border-radius: 100%!important;
	behavior: url(../javascripts/PIE/PIE.htc);
}
button.slick-prev, button.slick-prev:hover, button.slick-next, button.slick-next:hover {
	width: 60px;
	height: 60px;
	margin-top: -30px;
}

.storyjs-embed.sized-embed {
	border-radius: 0px!important;
	-webkit-border-radius: 0px!important;
    -moz-border-radius: 0px!important;
	behavior: url(../javascripts/PIE/PIE.htc);
}
.slider-bottom img {
	max-width: 100%;
}
.slider-bottom {
/* 	background-image: url('../images/arrow2w.png')!important; */
}
.slick-slide {
	padding: 20px;
}
.slick-slide:not(.slick-active) {
	visibility: hidden;
}
.slick-slider {
	border-bottom: 1px solid white;
}
.slick-prev:before, .slick-next:before {
	content: none;
}
.slick-slide a {
	height: 200px;
	display: block;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
    -moz-filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    -o-filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    -webkit-filter: grayscale(100%);
    filter: gray;
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
	-webkit-transition: opacity 0.5s ease-in-out;
	-moz-transition: opacity 0.5s ease-in-out;
	-ms-transition: opacity 0.5s ease-in-out;
	-o-transition: opacity 0.5s ease-in-out;
	transition: opacity 0.5s ease-in-out;
	opacity: 0.5;
}
.slick-slide.slick-center a {
	-webkit-filter: none!important;
	-moz-filter: none!important;
	-o-filter: none!important;
	filter: none!important;
	-webkit-transition: opacity 0.5s ease-in-out;
	-moz-transition: opacity 0.5s ease-in-out;
	-ms-transition: opacity 0.5s ease-in-out;
	-o-transition: opacity 0.5s ease-in-out;
	transition: opacity 0.5s ease-in-out;
	opacity: 1;
}
.footer, .footer a, .footer a:focus, .footer a:hover {
	color: white;
	text-shadow: 0 0 2px black;
}
.footer-esc {
	text-align: right;
	margin-top: 20px;
	margin-bottom: 19px;
}
.footer .crest img {
	margin-top: 0;
}
.velacms-widget-breadcrumbs a {
	color: #808285;
	line-height: 40px;
}
.velacms-widget-breadcrumbs > div {
	border-bottom: 1px dashed #808285;
	margin-bottom: 15px;
}
.col-md-5 .velacms-widget-menu ul {
	list-style-type: none;
	font-size: 18px;
	padding-left: 10px;
}
.col-md-5 .velacms-widget-menu li.main-category {
	border-bottom: 1px dashed;
}
.col-md-5 .velacms-widget-menu ul.menu-level2 > li > a {
	display: initial!imporant;
}
.col-md-5 .velacms-widget-menu ul a {
	display: block;
	padding: 0 10px;
}
.red .color, .color, .red .col-md-5 .velacms-widget-menu ul a, .col-md-4 .velacms-widget-menu ul a { color: #e10128 }
.orange .color, .orange .col-md-5 .velacms-widget-menu ul a { color: #ff9100 }
.green .color, .green .col-md-5 .velacms-widget-menu ul a { color: #90c900 }
.olive .color, .olive .col-md-5 .velacms-widget-menu ul a { color: #ada360 }
.blue .color, .blue .col-md-5 .velacms-widget-menu ul a { color: #56a3b0 }
.column {
	display: none;
}
.date {
	line-height: 20px;
	display: inline-block;
	padding: 0 8px;
	color: white;
}
.article h1.title {
	margin-top: 5px;
	clear: both;
}
.article {
	margin-bottom: 30px;
}
.article img {
	max-width: 100%;
}
.gallery-list {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.gallery-list .gallery-item {
	padding: 5px;
}
.gallery-list .gallery-item img {
	max-width: 100%;
	height: auto;
}
.menu-title {
	color: white;
	display: block;
	font-size: 22px;
	padding: 4px 10px;
	margin-bottom: 10px;
}
.submenu {
	padding: 0;
}
.submenu li.sub-category {
	font-size: 15px;
	line-height: 20px;
}
.galleries-list {
	padding: 0 15px;
}
.galleries-list ul {
	margin: 10px 0 0 0;
	padding: 0;
	display: block;
}
.galleries-list li {
	width: 50%;
	padding: 5px;
	display: block;
	float: left;
}
.galleries-list img {
	max-width: 100%;
}
.innerHtml img {
	max-width: 100%;
}
.aside-highlight {
	clear: both;
	margin: 15px 5px 10px;
	border-bottom: 1px dashed #808285;
	font-size: 36px;
	text-transform: uppercase;
}
.banner-aside {
	display: table;
	width: 100%;
	margin-top: 20px;
}
.banner-aside a {
	display: table;
	width: 100%;
}
.banner-aside img {
	margin: auto;
	display: table-cell;
	max-width: 100%;
}
.fb-like-box {
	margin-top: 20px;
}
.news-list, .news-list li {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
.news-list li {
	border-bottom: 1px dashed #808285;
	margin-bottom: 10px;
	padding-bottom: 10px;
}
.news-list img {
	max-width: 100%;
}
.news-list .color-bg {
	padding: 2px 4px;
	display: inline;
}
.news-list h1 {
	margin-top: 4px;
}
.news-list-nav .pagination {
	width: 100%;
	text-align: center;
}
.news-list-nav a {
	color: #808285;
}
.news-list-nav span {
	padding: 0 4px;
}
.news-list-nav .current {
	color: #d1d3d4;
}
.menu-level2 > li > a {
	display: none!important;
}
.menu-level2 > li > ul {
	display: block!important;
}
.velacms-timeline-desc {
	display: none;
}
.storyjs-embed.sized-embed {
	border-color: white!important;
	margin: auto!important;
}
#timeline * {
	font-family: Cuprum, sans-serif!important;
}
.slides img {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}
.slides .center img {
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
    -webkit-filter: grayscale(0%);
}
.slides.owl-theme .owl-controls .owl-nav .owl-next, .slides.owl-theme .owl-controls .owl-nav .owl-next:hover {
	position: absolute!important;
	right: 0!important;
	top: 76px;
	background: none!important;
	color: transparent!important;
	text-shadow: none!important;
	background-image: url('../images/arrow2w.png')!important;
	background-size: contain!important;
	height: 50px!important;
	background-repeat: no-repeat!important;
}
.slides.owl-theme .owl-controls .owl-nav .owl-prev, .slides.owl-theme .owl-controls .owl-nav .owl-prev:hover {
	position: absolute!important;
	left: 0!important;
	top: 76px;
	background: none!important;
	color: transparent!important;
  	text-shadow: none!important;
	background-image: url('../images/arroww.png')!important;
	background-size: contain!important;
	height: 50px!important;
	background-repeat: no-repeat!important;
}
.banner .owl-nav div.owl-next,.banner .owl-nav div.owl-prev{
	top: 196px!important;
	width: 75px;
	height: 75px!important;
	background-repeat: no-repeat!important;
	background-size: 40%!important;
	color: transparent!important;
	background-position: center center!important;
	background-color: rgba(256,256,256,0.5)!important;
	border-radius: 100%!important;
	-webkit-border-radius: 100%!important;
    -moz-border-radius: 100%!important;

}
.banner .owl-next, button.slick-next, button.slick-next:hover {
	position: absolute;
	top:196px;
	right: 25px;
	background-image: url('../images/arrow2.png')!important;
}
.banner .owl-prev, button.slick-prev, button.slick-prev:hover {
	position: absolute;
	top:196px;
	left: 25px;
	background-image: url('../images/arrow.png')!important;
}
.velacms-widget-gallery h2 {
	clear: both;
}
@media (max-width: 1200px) {
	.contents-block img {
		max-width: 100%!important;
	}
	.crest a img {
		margin-top: 9px;
	}
	.header-links {
		margin: 5px 0px 15px 0px;
	}
	.banner {
		height:595px!important
	}
}
@media (max-width: 992px) {
	.header-left {
		margin-top: 15px;
	}
}
@media (max-width: 768px) {
	.banner .slide-background h1 span {
		font-size: 22px;
	}
	.banner .slide-background h1, .banner ul li p {
		margin-top: 0;
	}
	.banner ul li p.banner-content {
		border-bottom: 1px dashed #808285;
		padding-bottom: 30px;
	}
	.banner .slide-background {
		background: none!important;
		height: auto;
		padding: 0;
	}
	.banner {
		height: auto!important;
		width: auto!important;
		overflow: visible;
		box-shadow: none;
		border: none;
		margin: 5px;
	}
	.banner .slide-background p span {
		display: none;
	}
	.banner .slide-background h2 span {
	  	font-size: 20px;
	  	background-color: white;
	  	padding: 0;
	}
	.banner .slide-background h2 {
		line-height: 20px;
	}
	.banner .slide-background h2 span a {
		color: #e10128;
	}
	.banner .slide-background a, .banner .slide-background a:hover {
		color: #e10128;
	}
	.banner .owl-controls{
		display:none;
	}
	.unslider-arrow, .arrows {
		display: none!important;
	}
	.contents-block {
		margin-top: 0px;
	}
	.header-left {
		margin-top: 15px;
		margin-bottom: 15px;
	}
	.crest {
		position: absolute;
		z-index: 200;
		top: -45px;
		width: 35px;
		height: 35px;
	}
	.logo-img {
		display: none!important;
	}
	.crest a img {
		max-width: 37px;
		margin-top: 2px;
	}
	.slicknav_menu:before {
		content: "Gmina Poronin";
		position: absolute;
		top: 13px;
		left: 70px;
		font-size: 20px;
	}
	.menu-wrapper {
		background-color: white;
		background-image: none;
	}
	.contact-footer {
		margin-top: 15px;
	}
 	a.slicknav_row a {

		height: 100%!important;

		padding: 5px 10px!important;
	}
	a.slicknav_row {
		padding: 5px 0!important;
	}
	.menu-wrapper {
		height: auto;
	}
	.slicknav_menu {
		display: block;
		background-color: transparent;
	}
	.bg-wrapper {
		background-image: none;
	}
	.menu-level1 {
		display: none!important;
	}
}
