/* file contains site specific style definitions	  */
/* and overrides general structure styles defined     */
/* in the structure.css file                          */
/* (c)Piotr Giniewski								  */

/******************** GENERAL RULES **********************/

body {font-family:Arial, sans-serif;color:#4d4d4d;}
body#frontend {font-size:16px;line-height:1.5em;font-weight:400;}
body#frontend h1 {font-size:2.125em;line-height:1.25em;font-weight:700;color:#4d4d4d;}
body#frontend h2 {font-size:1.5em;line-height:1.25em;font-weight:700;color:#4d4d4d;}
body#frontend h3 {font-size:1.25em;line-height:1.25em;font-weight:700;color:#4d4d4d;}
body#frontend h4 {font-size:1.15em;line-height:1.25em;font-weight:700;color:#4d4d4d;}
body#frontend h5 {font-size:1em;line-height:1.25em;font-weight:700;color:#4d4d4d;}

a {color:#f00;text-decoration:none;transition: color 0.5s;}
a:hover {color:#f00;text-decoration:underline;}

.laybtn, a.laybtn {border-radius:0;transition:background-color 0.5s, color 0.5s, border-color 0.5s;background:#f00;color:white;border:1px solid #f00;line-height:1;padding:15px 25px;display:inline-block;text-align:center;}
.laybtn:hover, a.laybtn:hover,.laybtn:focus, a.laybtn:focus {color:#f00;background:transparent;text-decoration:none;}

p {margin-bottom:.5em;}

dl {margin-top:1em;}
dd {margin-left:1em;margin-bottom:1em;}

/* customs styles for CK - config: /adn/ckeditor4/config.custom.js */
.handwrite {font-family:'Great Vibes';font-size:30px;color:#242486;}
.redtxt {color:#f00;}
.greentxt {color:#32b978;}
.bluetxt {color:#00f;}

/* fixed image background - whole window */
#body_bg {position:fixed;top:0;left:0;width:100%;height:100%;height:100vh;max-height:100vh;background-position:center center;background-size: 100% auto;background-size: cover;z-index:-1;}

/* bootstrap extensions */
.modal-header {position:relative;}
.modal-header .modal-title {padding-right:30px;}
.modal-header .close {position:absolute;top:15px;right:15px;margin-top:0;}


@media (max-width:639px){
	.col-lxs-1 {width:8.3333333333333333333333333333333%;}
	.col-lxs-2 {width:16.666666666666666666666666666667%;}
	.col-lxs-3 {width:25%;}
	.col-lxs-4 {width:33.333333333333333333333333333333%}
	.col-lxs-5 {width:41.666666666666666666666666666667%}
	.col-lxs-6 {width:50%;}
	.col-lxs-7 {width:58.333333333333333333333333333333%;}
	.col-lxs-8 {width:66.666666666666666666666666666667%;}
	.col-lxs-9 {width:75%;}
	.col-lxs-10 {width:83.333333333333333333333333333333%;}
	.col-lxs-11 {width:91.666666666666666666666666666667%;}
	.col-lxs-12 {width:100%;}
}
@media (min-width:1440px){

	.container {width:1400px;}

	body:not(.fp) .container {width:1170px;}

	.col-xlg-1 {width:8.3333333333333333333333333333333%;}
	.col-xlg-2 {width:16.666666666666666666666666666667%;}
	.col-xlg-3 {width:25%;}
	.col-xlg-4 {width:33.333333333333333333333333333333%}
	.col-xlg-5 {width:41.666666666666666666666666666667%}
	.col-xlg-6 {width:50%;}
	.col-xlg-7 {width:58.333333333333333333333333333333%;}
	.col-xlg-8 {width:66.666666666666666666666666666667%;}
	.col-xlg-9 {width:75%;}
	.col-xlg-10 {width:83.333333333333333333333333333333%;}
	.col-xlg-11 {width:91.666666666666666666666666666667%;}
	.col-xlg-12 {width:100%;}

	.col-xlg-offset-1 {margin-left:8.3333333333333333333333333333333%;}
	.col-xlg-offset-2 {margin-left:16.666666666666666666666666666667%;}
	.col-xlg-offset-3 {margin-left:25%;}
	.col-xlg-offset-4 {margin-left:33.333333333333333333333333333333%}
	.col-xlg-offset-5 {margin-left:41.666666666666666666666666666667%}
	.col-xlg-offset-6 {margin-left:50%;}
	.col-xlg-offset-7 {margin-left:58.333333333333333333333333333333%;}
	.col-xlg-offset-8 {margin-left:66.666666666666666666666666666667%;}
	.col-xlg-offset-9 {margin-left:75%;}
	.col-xlg-offset-10 {margin-left:83.333333333333333333333333333333%;}
	.col-xlg-offset-11 {margin-left:91.666666666666666666666666666667%;}
	.col-xlg-offset-12 {margin-left:100%;}
}

.row-eq-height { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;}

.img-responsive {display:inline-block;height: auto !important;}

/*****************************************************/
/******************** STRUCTURE **********************/
/*****************************************************/

#wrapall {overflow:hidden;}

/******************** SITE NAV **********************/
/*** float menu ***/
/* push content - comment next line for float menu over content*/
/*
#wrapall {width: 100%;float: left;clear: both;overflow: hidden; position:relative; }
*/
#float-menu {background: white; box-shadow: 0 0 5px #ccc; min-height: 100vh; height:100vh; position: fixed; top: 0; left:-250px; width: 250px; z-index: 9999999999; padding:0 5px; display:block; overflow-y:scroll;}
#float-menu .multi-col {width:100%;}
#float-menu .multi-column, #float-menu .multi-column-dropdown {padding-left:0;}
#float-menu a {text-decoration:none;}
#float-menu .lang-selector br {display:none;}
#float-menu .lang-selector a {margin: 5px 10px 5px 0;}
#float-menu .float-menu-logo {margin:.5em 0; text-align:center;}
#float-menu .float-menu-logo img{max-width:100%;height:auto;}
#float-menu .float-menu-head {color: #999; font-size: 18px;  font-weight: normal;  line-height:2;  border-bottom: 1px solid #999;  width:100%;  position:relative; margin-top:0;}
#float-menu .float-menu-head span.close_btn {position:absolute;right:0;top:0;width:20px;height:100%;line-height:2;cursor:pointer;}
#float-menu ul li{list-style-type:none;}
#float-menu .float_menu > a {color: #231f20;font-size: 16px;background:transparent;}
#float-menu .float_menu > a:hover {background:#eaeaea;text-decoration:none;color:#3c3c3c;}
.float_menu{clear: both;float: left; width: 100%;}
.float_menu:last-child {margin-bottom: 15px;}
.float_menu > a {float: left;padding: 5px 0; width:100%;}
#float-menu .current_drp > a {color:#3c3c3c !important; }
.float_menu > ul {  margin-left: 0;float:left;width:100%;padding-left:0;}
.float_menu ul li.subpos {  padding: 0.15em;}
.float_menu ul li.subpos > a {  background: #fafafa none repeat scroll 0 0;  box-sizing: border-box;  display: inline-block;  padding: 2px 15px;  width: 100%;transition:color 0.5s, background-color 0.5s;color:#231f20;}
.float_menu ul li.active.subpos > a {color:#3c3c3c;}
.float_menu ul li.subpos > ul {padding-left:1em;}
.float_menu ul li.subpos > a:hover {  background: #eaeaea none repeat scroll 0 0;  color: #3c3c3c;  text-decoration: none;}
.float_menu ul li.subpos2 {  padding: 0.15em;}
.float_menu ul li.subpos2 > a { color:#231f20; background: #fafafa none repeat scroll 0 0;  box-sizing: border-box;  display: inline-block;  padding: 2px 15px;  width: 100%;transition:color 0.5s, background-color 0.5s;}
.float_menu ul li.subpos2 > a:hover {  background: #eaeaea none repeat scroll 0 0;  color: #3c3c3c;  text-decoration: none;}
@media(max-width:991px){
	#float-menu  {display:block;}
}

header.std_head p, header.tworow_head p {margin:0;}

/*** standard dropdown menu ***/
header #topmenu_dropdown {display:table;margin: 0 auto;float:right;}
header #topmenu_dropdown > .dropdown {float:left;display:inline-block;position:relative;padding-top:0;}
header #topmenu_dropdown > .dropdown .dropdown-menu {margin:0;padding:0;border-radius:0;border:none;}
header #topmenu_dropdown > .dropdown:nth-last-child(3) > .dropdown-menu ,
header #topmenu_dropdown > .dropdown:nth-last-child(2) > .dropdown-menu ,
header #topmenu_dropdown > .dropdown:last-child > .dropdown-menu {left:auto;right:0;}
header #topmenu_dropdown > .dropdown a {margin: 0 6px; text-transform:uppercase; transition: color 0.5s, background-color 0.5s, border-color 0.5s;text-decoration:none;border-radius: 0;padding:.5em;display:inline-block;}
/*subs 1 poziom */
header #topmenu_dropdown > .dropdown .subpos a {margin:0;}
header #topmenu_dropdown > .dropdown .subpos a {margin:0;width:100%;}
/*subs 2 poziom w hover*/
header .dropdown-submenu {position: relative;}
header .dropdown-submenu:after {font-family:'FontAwesome';content:'\f0da';display:block;position:absolute;right:6px;top:6px;}
header .dropdown-submenu:hover > .dropdown-menu {top: 0;left: 99%;margin-top: -1px;display:block;}
/* bootstrap submenu in 2 cols */
.multi-col {width:50%;float:left;}
.dropdown-menu {min-width: 200px;}
.dropdown-menu.columns-2 {min-width: 400px;}
.dropdown-menu.columns-3 {min-width: 600px;}
.dropdown-menu li a {padding: 5px 15px;font-weight: 300;}
.multi-column-dropdown {list-style: none;width: 100%;float: left;margin: 0;	padding: 0;}
.multi-column-dropdown li a {display: block;clear: both;white-space: normal;}
.multi-column-dropdown li a:hover {text-decoration: none;}
 @media (max-width: 767px) {
	.dropdown-menu.multi-column {min-width: 240px !important;overflow-x: hidden;}
}

header #topmenu_dropdown.menutype-hover > .dropdown:hover > ul.dropdown-menu {display:block;}

/********************* SLIDER ***********************/
/*  FP slider */
#topslider_fw {display:block;position:relative;height:auto;overflow:hidden;}
.fw_container.slider_container {position:relative; overflow:hidden;  padding-bottom:0;margin-bottom:0;}

ul#topslider li {float: left;position:relative;overflow:hidden;width:100%;box-sizing:border-box;height:560px;text-align:center;    background-repeat: no-repeat;    background-size: cover;    background-position: center center;}
ul#topslider li {background-size: 100% auto ;background-size:cover;background-position:center center;}
#topslider li p {    margin: 0 auto;  width: 100%; display:table;	padding: 0;	box-sizing: border-box;}

#topslider_pag {position:absolute; bottom:20px;left:0;clear: both; text-align: center; width: 100%; height: 2px; padding: 0; z-index:9999;display:none;}
#topslider_pag > a {  background: #c3c3c3;  display: inline-block;  height: 1px; width:85px; margin: 0 8px;  outline:none; line-height:1;transition: all .5s;}
#topslider_pag a.selected {background: #31ace6;}
#topslider_pag a span {display:none;}
.topslider_btns {width:50px;height:50px;position:absolute;top:50%;margin-top:-25px;z-index:1000;opacity:1;cursor:pointer;transition: all .5s;}
#topslider_prev:before, 
#topslider_next:before {font-family:'Glyphicons Halflings';display:block;position:absolute;top:0;left:0;font-size:24px;width:100%;height:100%;text-align:center;line-height:50px;color:white;}
#topslider_prev:before {content:'\e079'} 
#topslider_next:before {content:'\e080'} 
#topslider_prev:hover, #topslider_next:hover {	background: rgba(0,0,0,0.25);}
#topslider_prev {left:1%;background-position:center top;}
#topslider_next {right:1%;background-position:center bottom;}

ul#topslider, ul#topslider li, .topslider_cont .caroufredsel_wrapper {overflow:visible !important;}

/* slider (fp & subs) */
ul#topslider {list-style-type: none; margin: 0; padding: 0; overflow: hidden; float: left !important; left: auto !important; width:100%;}

@media(max-width:767px){
	.topslider_cont, ul#topslider, ul#topslider li {height:100vh; /*height:600px;*/}
}
@media(min-width:768px){
	.topslider_cont, ul#topslider, ul#topslider li {height:100vh; /* height:320px; */}
	ul#topslider li > a.overlay_lnk {position:absolute;top:0;left:0;width:100%;height:100%;}
}
@media(min-width:992px){
	.topslider_cont, ul#topslider, ul#topslider li {height:100vh; /* height:400px; */}
}
@media(min-width:1200px){
	.topslider_cont, ul#topslider, ul#topslider li {height:100vh; /* height:515px; */}
}
@media(min-width:1440px){
	.topslider_cont, ul#topslider, ul#topslider li {height:100vh;/* height:570px;*/}
}
@media(min-width:1600px){
	.topslider_cont, ul#topslider, ul#topslider li {height:100vh;/*height:640px;*/}
}

/* standard-slider version - height defined by images */
/* text verticaly centered in left part */
.standard-slider .topslider_cont, 
.standard-slider ul#topslider, 
.standard-slider ul#topslider li {height:auto;}
.standard-slider ul#topslider li {background:transparent !important;}
.standard-slider .img-mobile,
.standard-slider .img-std {width:100%;height:auto;}
@media(min-width:768px){
	.standard-slider .sldtxtbox {position:absolute;top:0;left:0;margin:0;padding:0;width:100%;height:100%;background:transparent;}
	.standard-slider .sldpostxt {display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;height:100%;}
	.standard-slider .sldpostxt .sldpostxt_cnt {display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;align-items:center;align-content:center;justify-content:center;}
}


/* ep-slider version*/
.sld-txt {padding-top: 15px; padding-bottom:15px;}
.ep {margin-bottom:15px;display:table;cursor:pointer;position:relative;transition:background-color 0.5s;background:transparent;width:100%;}
.ep-date {width:110px;float:left;display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;position:absolute;height:100%;flex-direction:column;justify-content:center;align-items:center;}
.ep-date .ep-day {font-size: 2.25em;color:#000;}
.ep-date .ep-month {font-size: 0.8125em;color:#999;text-transform:uppercase;}
.ep-txt{width:calc( 100% - 110px ); float:right;padding:15px;border-left:1px solid #e2e2e2;transition:border-color .5s;}
.ep.selected .ep-txt {border-color:#484848;}
.ep-txt .ep-title {font-size:1em;line-height:1.25;font-weight:700;color:#000;text-transform:uppercase;letter-spacing:0.04em;margin:0;}
.ep-txt .ep-title > a {color:#000;text-decoration:none;}
.ep-txt .ep-descr {font-size: 0.8125em;text-transform:uppercase;letter-spacing:0.04em;line-height:1.4615em;padding-bottom:10px;margin:0;}
/* slider bez dat w rozszerzeonym pagerze */
.ep-slider.no-date .ep-date {display:none;}
.ep-slider.no-date .ep-txt{width:95%; }
.ep-slider.no-date .ep.selected {background:#f5f5f5;}
@media(min-width:768px){
	.ep-slider .topslider_cont, .ep-slider ul#topslider, .ep-slider ul#topslider li {height:590px;}
}
@media(min-width:992px){
	.ep-slider .topslider_cont, .ep-slider ul#topslider, .ep-slider ul#topslider li {height:510px;}
}
@media(min-width:1200px){
	 .ep-slider .topslider_cont, .ep-slider ul#topslider, .ep-slider ul#topslider li {height:510px;}	
}
@media(min-width:1440px){
	 .ep-slider .topslider_cont, .ep-slider ul#topslider, .ep-slider ul#topslider li {height:510px;}	
}

/* slider with typed text animation - NEEDS TO BE REVISED */
/*
#fp_slider_section > .container-fluid {background:transparent;}

#fp_slider_section .sldtxtbox {text-align:left;top:0;height:100%;}

#fp_slider_section .sldtxtbox .sldpostxt {padding:15px 0;}
#fp_slider_section .sldtxtbox .sldpostxt p, 
#fp_slider_section .sldtxtbox .sldpostxt div.sldpostxt_desc_title,
#fp_slider_section .sldtxtbox .sldpostxt div.typed-before, 
#fp_slider_section .sldtxtbox .sldpostxt div.typed-after,
#fp_slider_section .sldtxtbox .sldpostxt div.type-wrap{display:block;font-size:16px;line-height:1em;letter-spacing:0.06em;font-weight:400;float:left;clear:both;text-transform:uppercase;color:#fff;font-weight:400;}
#fp_slider_section .sldtxtbox .sldpostxt p a.laybtn{margin-top:40px;}
#fp_slider_section .sldtxtbox .sldpostxt p strong {font-size:18px;line-height:1;font-weight:400;}
#fp_slider_section .sldtxtbox .sldpostxt div.sldpostxt_desc_title {font-size:1.5em;width:100%;line-height:1;}
#fp_slider_section .sldtxtbox .sldpostxt_lnk {margin-top:25px;text-align:right;}
div.typed_txt_cnt {display:inline-block;}
.typed-cursor{animation: blinker 1s linear infinite;animation-iteration-count:infinite !important}


#fp_slider_section .sldtxtbox .sldpostxt h2 {font-size:28px;text-transform:uppercase;color:#fff}
@media(min-width:480px){
	#fp_slider_section .sldtxtbox .sldpostxt h2 {font-size:42px;}
}
@media(min-width:768px){
	#fp_slider_section .sldtxtbox .sldpostxt_cnt {padding-top:0;}
	#fp_slider_section .sldtxtbox .sldpostxt p, 
	#fp_slider_section .sldtxtbox .sldpostxt div.sldpostxt_desc_title,
	#fp_slider_section .sldtxtbox .sldpostxt div.typed-before, 
	#fp_slider_section .sldtxtbox .sldpostxt div.typed-after,
	#fp_slider_section .sldtxtbox .sldpostxt div.type-wrap{font-size:18px;}
	#fp_slider_section .sldtxtbox .sldpostxt h2 {font-size:72px;}
	#fp_slider_section .sldtxtbox .sldpostxt p strong {line-height:1;font-size:30px;}
}

*/




.btmclip {	position: absolute;	bottom: 6px;	left: 0;	width: 100%;	text-align: center;	color: white;	font-size: 24px; cursor:pointer;     -webkit-animation: bounce 2s infinite;    animation: bounce 2s infinite; }

body:not(.fp) #fp_slider_section {background:#fff;}
body:not(.fp) #fp_slider_section .topslider_cont {padding-bottom:0}
body:not(.fp) #fp_slider_section .sldtxtbox {display:none;}



/* onsldmnenu */
section#fp_slider_section {position:relative;}
body.fp .onsldmenu {position:absolute;top:0;left:0;width:100%;height:auto;z-index:9999;}
body.fp .onsldmenu #topmenu_dropdown > .dropdown {float:none;display:inline-block;}
body.fp .onsldmenu #topmenu_dropdown > .dropdown  a {transition: color 0.5s, background-color 0.5s, border-color 0.5s;text-decoration:none;margin: 0;display:inline-block;padding:5px 15px;}
body.fp .onsldmenu #topmenu_dropdown > .dropdown .subpos a {margin:0;width:100%;}
body.fp .onsldmenu #topmenu_dropdown > .dropdown > .dropdown-menu{margin: 0; padding: 0; border-radius:0;border:none;}
/*subs 2 poziom w hover*/
body.fp .onsldmenu #topmenu_dropdown .dropdown-submenu {position: relative;}
body.fp .onsldmenu #topmenu_dropdown .dropdown-submenu:after {font-family:'FontAwesome';content:'\f0da';display:block;position:absolute;right:6px;top:6px;color:white;}
body.fp .onsldmenu #topmenu_dropdown .dropdown-submenu:hover > .dropdown-menu {top: 0;left: 99%;margin-top: 0;display:block;padding:0;border-radius:0;border:none;}

body.fp .onsldmenu .onsld_logo p, body.fp .onsldmenu .onsld_head_btns p {margin:0;}
body.fp .onsldmenu .onsld_head_btns {padding-top:40px;}

body.fp .onsldmenu .onsld_drp span.glyphicon {padding:10px;}

body.fp .onsldmenu .onsld_drp .onsld_menu_icon {cursor:pointer;}

#onsldmenu_social {position:absolute;bottom:0;left:0;width:80%;background:#1b1b1b;padding:10px;min-width:320px;}
#onsldmenu_social:after {content: '';	width: 0;	height: 0;	border-top: 68px solid #1b1b1b;	position: absolute;	top: 0;	right: -15px;	display: block;	border-right: 15px solid transparent;}
#onsldmenu_social a {color:white;font-size:24px;margin:6px;padding:6px;display:inline-block;}
#onsldmenu_social a:hover {color:#3c3c3c;}

@media(max-width:991px){
	#onsldmenu_social {max-width:320px;}
}
@media(max-width:767px){
	#onsldmenu_social {background:rgba(27,27,27,0.6);}
	#onsldmenu_social:after{opacity:.6}
}

/* logos carousel */

#fp_logos_wrapper.io{background:transparent;}
#fp_logos_wrapper.io #fp_logos_car_cont {margin:0 auto;padding:0;display:table;background:transparent;}
#fp_logos_wrapper.io #fp_logos_car {  float:left;width:100%;clear:both;position:relative;max-height:110px;overflow:hidden;padding:15px 0;box-sizing:content-box;}
#fp_logos_wrapper.io #fp_logos_car ul.boxslider { padding: 0; left:0 !important;width:100% !important;}

#fp_logos_wrapper.io #fp_logos_car #logosslider_cont {  float:left;width:100%;padding:0;}
#fp_logos_wrapper.io #logosslider_cont > ul {  list-style-type: none;  margin: 0;  padding: 0;}
#fp_logos_wrapper.io #logosslider_cont .boxslider > li {width:20%;}

#fp_logos_wrapper.io #fp_logos_car ul.boxslider > li {  float: left;   width: 100%;  min-width:200px;text-align:center;list-style-type:none;margin:0 !important;padding:0;}
#fp_logos_wrapper.io #fp_logos_car ul.boxslider > li .imgcnt, #fp_logos_car #boxslider_3 > li .imgcnt p, #fp_logos_car #boxslider_3 > li .imgcnt p a {margin:0;float:left;text-align:center;width:100%;height:110px;}
#fp_logos_wrapper.io #fp_logos_car ul.boxslider > li img {  border: medium none;  box-shadow: none;  float: none;  height: auto !important;  width: auto !important; max-width:100%;max-height:100%;}
#fp_logos_wrapper.io #fp_logos_car .boxhead , #fp_logos_wrapper.io #fp_logos_car .boxext {display:none;} 
#fp_logos_wrapper.io #fp_logos_car .boxcont {/* max-width: 240px; */display:inline-block;width:100%;box-shadow:none;background-image:none !important;}

#fp_logos_wrapper.io .fp_logos_btns {position:absolute;top:15%;width:50px;height:50px;display:none;opacity:1;background-image:url('/i/sprites/small_arrows_sprite_50x50.png');cursor:pointer;z-index:9999;opacity:0;display:none !important;}
#fp_logos_wrapper.io #fp_logos_car:hover .fp_logos_btns {opacity:1;transition: opacity 0.5s;}
#fp_logos_wrapper.io #logosslider_prev {left:0;background-position:0 0;}
#fp_logos_wrapper.io #logosslider_next {right:0;background-position:-50px 0;}
#fp_logos_wrapper.io #logosslider_prev:hover {background-position:0 -50px;}
#fp_logos_wrapper.io #logosslider_next:hover {background-position:-50px -50px;}

#fp_logos_wrapper.io #fp_logos_car_btns {text-align:center;}

@media(max-width:1200px){
	#fp_logos_wrapper.io #fp_logos_car ul.boxslider {text-align:center !important;}
	#fp_logos_wrapper.io #fp_logos_car ul.boxslider > li {float:none;display:inline-block;}
}
@media(min-width:768px){
#fp_logos_wrapper.io #fp_logos_car #logosslider_cont .caroufredsel_wrapper {left: 0 !important;margin: 0 !important; padding:0;width:100% !important;}
}

/* logos carousel OWL */
#logocarousel.owl-carousel > div {text-align:center;}
#logocarousel.owl-carousel img {max-width:100%;height: auto !important;width:auto !important;display:inline-block;}

.rand_gallery .rgcell img {width:100%;height:auto;}

/********************* MAIN PAGE *********************/
/* news list - news marked in PA as 'show on mainpage' BT version w/wo img */
.fp_news_box {margin-bottom:50px;position:relative;box-shadow:3px 4px 13px 0px rgba(0, 0, 0, 0.1); background:#fff;}
.fp_news_box.row {margin-left:0;margin-right:0;}
.fp_news_img {padding:15px;text-align:center;}
.fp_news_img img.img-responsive {display:inline-block;}
.fp_news_date {font-size:.75em;color:#484848;margin-top:-20px;}
.fp_news_date > span {display:block;width:50px;text-align:center;background:#f8f8f8;float:right;clear:both;}
.fp_news_date > span.date_day{font-size:18px;}
.fp_news_date > span.date_month{font-size:10px;text-transform:uppercase;}
.fp_news_title {padding-top:15px;padding-bottom:20px;}
.fp_news_title a {color:#615c3d;font-size:1em;text-transform:uppercase;font-weight:700;line-height:1em;letter-spacing:0.04em;line-height: 1.3125em;text-decoration:none;}
.fp_news_title a:hover {color:#6d6d6d;}
.fp_news_content {font-size:.875em;line-height:1.4615em;}
.fp_news_btns{position:absolute;bottom:-16px;left:0;}

.fp_news_box.nshort {box-shadow:none;border-bottom:1px dotted #a1a1a1;margin-bottom:0;}
.fp_news_box.nshort.nshort-first {border-top:1px solid #f58220;margin-top:100px;padding-top:25px;}
.fp_news_box.nshort .fp_news_date {text-transform:uppercase;padding-top:15px;font-size:.6875em;line-height:1.45em}
.fp_news_box.nshort .fp_news_title {padding-top:15px;padding-bottom:15px;line-height:1;}
.fp_news_box.nshort .fp_news_title a {color:#666;font-size:.875em;text-transform:uppercase;font-weight:700;line-height:1em;letter-spacing:0.06em;}

.fpnews-2cols .fpnews-2cols-cell {margin:20px 0;}
.fpnews-2cols .col-news-date {padding-top:40px;}
.fpnews-2cols .col-news-date span {display:inline-block;width:100%;clear:both;text-align:center;}
.fpnews-2cols .col-news-date span.news-day {font-size:24px;}
.fpnews-2cols .col-news-date span.news-month {font-size:18px;}
body#frontend .fpnews-2cols .col-news-content h3,
body#frontend .fpnews-2cols .col-news-content h3 a{font-size:1em;font-weight:bold;text-decoration:none;}
body#frontend .fpnews-2cols .col-news-content h3 {margin: 1em 0 2em;}
.fpnews-2cols .col-news-content div {font-size:14px;line-height:1.785em;}


/********************* SUBPAGES *********************/
header.std_head {position:relative;z-index:99}
#main_cont {  clear: both;  float: left;  position: relative;  width: 100%;margin-top:25px;margin-bottom:50px;}
body.fp #main_cont{margin:0;}
.news_more > a {float:right;}

/*********** SUBPAGES 2 COLS LAYOUT with floating (xs) side menu *****************/
/* non-bt - needs to be redesigned */
body.twocols .news_wrapper, body.twocols #search_results_page, body.twocols .news_wrapper_more {  clear: none;  float: right;  width: 70%; padding: 0 15px 0 0;box-sizing:border-box;}
body.twocols #addcol_wrapper {  float: left;  width: 26%; margin-top:20px;}
body.twocols #addcol_wrapper #side_menu, body.twocols #addcol_wrapper #addcol {width:100%;float:left;clear:both;}
body.twocols .prod_cell {width:95%;max-width:500px;box-sizing:border-box;}
body.twocols .colone .prod_cell {margin-right:5%}
body.twocols .colthree .prod_cell {margin-left:5%}
#addcol {margin-top:20px;}

/* side menu - subs from main cat only (switch in index)*/
#side_menu ul.subs {list-style-type:none;margin:0;width:100%;float:left;clear:both;box-sizing:border-box;}
#side_menu ul.subs li, #side_menu ul.subs li a {width:100%;float:left;clear:both;text-align:left;color:#fff;text-decoration:none;text-transform:none;display:inline-block;box-sizing:border-box;transition: color 0.5s;}
#side_menu ul.subs li, #side_menu ul.subs li a:before {content:'• ';}
#side_menu ul.subs.lvl_2 > li > a {font-size:18px; padding:6px 36px 6px 0;}
#side_menu ul.subs.lvl_3 {padding: 0 0 0 15px;}
#side_menu ul.subs.lvl_3 > li > a {font-size:12px;padding: 10px 0;}
#side_menu ul.subs.lvl_4 {padding: 0 0 0 15px;}

#side_menu ul.subs.lvl_2 > li > a,
#side_menu ul.subs.lvl_3 > li > a,
#side_menu ul.subs.lvl_4 > li > a {text-transform:uppercase;}
#side_menu ul.subs.lvl_2 > li > a:before,
#side_menu ul.subs.lvl_3 > li > a:before,
#side_menu ul.subs.lvl_4 > li > a:before {display:none;}
#side_menu ul.subs.lvl_5 {margin-bottom:5px;}
#side_menu ul.subs.lvl_5 > li > a,
#side_menu ul.subs.lvl_6 > li > a,
#side_menu ul.subs.lvl_7 > li > a,
#side_menu ul.subs.lvl_8 > li > a,
#side_menu ul.subs.lvl_9 > li > a,
#side_menu ul.subs.lvl_10 > li > a {line-height:1.375em;padding:5px 36px 5px 0;}
/*
#side_menu ul.subs.lvl_4 > li {transition: max-height 1s;max-height:200px;}
#side_menu ul.subs.lvl_4.collapsed > li {max-height:0;overflow:hidden;}
#side_menu ul.subs.lvl_4.collapsed > li:nth-child(1), #side_menu ul.subs.lvl_4.collapsed > li:nth-child(2) {max-height:200px;}

#side_menu ul.subs.lvl_4 li.collexp {height:20px;max-height:20px;position:relative;cursor:pointer;}
#side_menu ul.subs.lvl_4.collapsed li.collexp:after, #side_menu ul.subs.lvl_4.expanded .collexp:after  {display:block;position:absolute;bottom:0;left:0;height:20px;line-height:20px;text-align:right;color:#ccc;font-size:10px;width:100%;}
#side_menu ul.subs.lvl_4.collapsed .collexp:after {content:"rozwiń ▼";}
#side_menu ul.subs.lvl_4.expanded .collexp:after {content:"zwiń ▲";}

#side_menu ul.subs li a:hover, #side_menu ul.subs li a:focus {color:#dc0f0f;}
*/

/* side menu - based on dropdown (switch in index)*/
body.twocols #addcol_wrapper #side_menu {padding:24px 10px 15px;}
body.twocols #addcol_wrapper #side_menu ul {list-style-type:none;}
body.twocols #addcol_wrapper #side_menu li {position:relative;}
body.twocols #addcol_wrapper #side_menu a {display:inline-block;width:100%;position:relative;}
body.twocols #addcol_wrapper #side_menu li > button.sidemenu-toggle {position:absolute;top:0;right:0;background:transparent;color:transparent;height:24px;width:36px;text-align:center;line-height:24px;display:inline-block;border:none;padding:0;outline:none;}
body.twocols #addcol_wrapper #side_menu ul.lvl_2 > li > button.sidemenu-toggle,
body.twocols #addcol_wrapper #side_menu ul.lvl_3 > li > button.sidemenu-toggle{height:36px;line-height:36px;}
body.twocols #addcol_wrapper #side_menu li > button.sidemenu-toggle:before {position:absolute;top:0;left:0;height:24px;width:36px;text-align:center;line-height:24px;content:'\2212';font-family:'Glyphicons Halflings';color:white;font-size:.5em;}
body.twocols #addcol_wrapper #side_menu ul.lvl_2 > li > button.sidemenu-toggle:before,
body.twocols #addcol_wrapper #side_menu ul.lvl_3 > li > button.sidemenu-toggle:before{height:36px;line-height:36px;}
body.twocols #addcol_wrapper #side_menu li > button.sidemenu-toggle.collapsed:before{content:'\002b';}
body.twocols #addcol_wrapper #side_menu a[href="#"] {cursor:default;text-decoration:none;}
body.twocols #addcol_wrapper #side_menu .subpos a {padding:10px 0;}


@media(max-width:767px){
	body.twocols .news_sub.prods_list, 
	body.twocols .news_wrapper, 
	body.twocols #search_results_page, 
	body.twocols .news_wrapper_more { width: 90%;}
	body.twocols #addcol_wrapper { left: -260px; position: fixed; top: 15%;width:260px; transition: left 1s; background:white;box-shadow: 3px 4px 10px 0px rgba(0, 0, 0, 0.27); padding:5px; box-sizing:border-box;z-index:9999;}
	body.twocols #addcol_wrapper:after {content:'MENU ▲';position:absolute;right:-95px;bottom:65px;width:160px;height:30px;background:gray;cursor:pointer;color:white;   -ms-transform: rotate(90deg);     -webkit-transform: rotate(90deg);     transform: rotate(90deg);text-align:center;line-height:30px;font-size:14px;}
	body.twocols #addcol_wrapper:hover {left:-10px;}
}

.box2col_list > .news_list_nt > div[class^=col-] {margin-bottom:2em;}
.box2col_list .img_cont img {width:100%;height:auto;}

.pageControl {text-align:center;display:table;margin:0 auto;}
.pageControl > span,
.pageControl > a{display:inline-block;height:2em;width:2em;text-align:center;line-height:2em;font-size:1em;text-decoration:none;margin:0 5px;background:#eee;border:1px solid #eee;transition:border-color .5s;box-sizing:content-box;float:left;}
.pageControl > a > span {margin:0;display:inline-block;position:absolute;top:0;left:0;width:100%;height:100%;}
.pageControl > a:hover{border-color:#615c3d;}
.pageControl > span {opacity:.75;}
.pageControl > span.CONTROL_act {opacity:1;background:#615c3d;border-color:#615c3d;color:white;}
.pageControl span.control_first,
.pageControl span.control_prev,
.pageControl span.control_next,
.pageControl span.control_last{position:relative;}
.pageControl span.control_first:before,
.pageControl span.control_prev:before,
.pageControl span.control_next:before,
.pageControl span.control_last:before {font-family:'FontAwesome';font-size:1em;display:block;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;line-height:2em;}
.pageControl span.control_first:before {content:'\f100';}
.pageControl span.control_last:before  {content:'\f101';}
.pageControl span.control_prev:before  {content:'\f104';}
.pageControl span.control_next:before {content:'\f105';}

.newscat .colrght {padding-top:5px;}
.newscat .boxhor1col_cell, 
.boxhor2col .boxhor2col_cell {box-shadow:3px 4px 13px 0px rgba(0, 0, 0, 0.1);display:table;margin-bottom:50px;background:white;}
body#frontend.newscat .boxhor1col_cell .img_cont, 
body#frontend.boxhor2col .boxhor2col_cell .img_cont {padding-top:15px;padding-bottom:15px;}
body#frontend.newscat .boxhor1col_cell .img_cont img,
body#frontend.boxhor2col .boxhor2col_cell .img_cont img {width:100%;height:auto;}
body#frontend.newscat .boxhor1col_cell .news_title,
body#frontend.boxhor2col .boxhor2col_cell .news_title {padding-top:15px;padding-bottom:20px;}
body#frontend.newscat .boxhor1col_cell .news_title h2,
body#frontend.boxhor2col .boxhor2col_cell .news_title h2 {color:#615c3d;font-size:1em;text-transform:uppercase;font-weight:700;line-height:1em;letter-spacing:0.04em;line-height: 1.3125em;text-decoration:none;margin:0;}
body#frontend.newscat .boxhor1col_cell .news_content,
body#frontend.boxhor2col .boxhor2col_cell .news_content {font-size:.875em;line-height:1.4615em;}
body#frontend.newscat .boxhor1col_cell .news_more,
body#frontend.boxhor2col .boxhor2col_cell .news_more {padding-bottom:15px;}

/*** subpages category gfx header ***/

#category_header{display:none;}
/* @media(min-width:768px){ */
	#category_header{display:block;height:350px;position:absolute;top:0;left:0;width:100%;z-index:0;}
	#category_header #categoryheader_bg {position:absolute;top:0;left:0;width:100%;height:100%;background-size: cover;background-position:center center; background-repeat:no-repeat;}
	#category_header #categoryheader_bg #category_header_title {position:absolute;bottom:0;left:0;width:100%;text-align:center;}
/*}*/

#gfx_category_header #categoryheader_bg {position:relative;display:table;width:100%;float:left;clear:both;}
#gfx_category_header #category_header_image img {width:100%;float:left;clear:both;}
#gfx_category_header #category_header_title {position:absolute;bottom:15px;right:15px;color:white;font-size:2em;font-weight:bold;}

/* responsive img inside news */
.news_content img {	max-width: 100%;	height: auto !important;}

/* subpage jako boksy podkategorii */
#catscont_sub a.subtitle {font-size:1.5em;font-weight:400;color:#1e1e1e;letter-spacing:-0.04em;line-height:1;margin:0;padding:15px 0;width:100%;text-align:center;border-bottom:1px solid transparent;border-top:15px solid #615c3d;background:white;display:block;text-decoration:none;margin-bottom:15px;}
#catscont_sub .cellwoimg a.subtitle {background:#615c3d;color:white;border:0;padding:30px 15px;border:1px solid #615c3d;transition: background-color .5s, color .5s;display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;align-content:center;align-items:center;justify-content:center;}
#catscont_sub .cellwoimg a.subtitle:hover {background:transparent;color:#615c3d;}

/*** news boxes ***/
.news_box3cols .prod_cell {border:10px solid white;background:white;margin-bottom:30px;}
.news_box3cols .prod_cell .img_cont img {width:100%;height:auto;}
.news_box3cols .prod_cell .descr_cont {padding:25px 15px 0;}
body#frontend .news_box3cols .prod_cell .descr_cont h2 {color:#000;font-size:1.5em;text-transform:uppercase;font-weight:800;margin-top:0;line-height:1;}
body#frontend .news_box3cols .prod_cell .descr_cont h2 a{color:#000}
.news_box3cols .prod_cell .descr_cont .news_content {color:#767676;font-size:.75em;line-height:1.46em;text-transform:uppercase;}
.news_box3cols .news_more {display:none;}

/*** galeria pod newsem ***/
.bt_article_gallery {margin-top:30px}
/* photo-board: w/o any of the following additional rules */
.bt_article_gallery .btsqgallcell-outer .row.btsqgallcell {margin:0;border:0 solid transparent;}
.bt_article_gallery .btsqgallcell-outer .row.btsqgallcell .btsqgallcell-img {margin-bottom:30px;}



/****************** IFRAME GOOGLE MAP ****************************/

#mapcont_fw, #mapcont_fw iframe {  float: left;  width: 100%;height:460px;}
#mapcont_fw iframe {pointer-events:none;}


/****************** JS API GOOGLE MAP ****************************/
/* version with marker cats */
footer#mapp {	height: 640px;	max-height: 100vh; position:relative;margin-top:48px;}
footer#mapp #marker_cats {position:absolute;top:-48px;}
footer#mapp #marker_cats a {color:#251a06;font-size:18px;line-height:48px;padding:0 20px;text-transform:uppercase;display:inline-block;}
footer#mapp #marker_cats a.active {color:#fff;background:#31ace6;}
@media(max-width:767px){
	footer#mapp {margin-top:96px;}
	footer#mapp #marker_cats {top:-96px}
}
@media(max-width:540px){
	footer#mapp {margin-top:144px;}
	footer#mapp #marker_cats {top:-144px}
}

/* just map */
#map {	min-height: 460px;	width:100%; max-height: 460px; position:relative;}
#map header {padding-top:50px}
@media(min-width:1200px){
	#map{min-height:680px;max-height:680px;}
	#mapcont_fw, #mapcont_fw iframe {height:680px;}
}

/****************** ADDS ****************************/
.social a {display:inline-block;padding:.25em;margin:0 .5em;}

footer #credentials, footer #credentials a {font-size: 10px; font-weight:600;letter-spacing:0.04em;line-height:1;color:#028205 !important;text-decoration:none;width:100%;border:none;}
#credentials {margin:7px auto;}

a#backtotop {position: fixed;bottom: 28px;right: 12px;display: inline-block;width: 28px;height: 28px;z-index: 9999999999;text-decoration:none;opacity:0;transition: opacity 0.5s, color 0.5s, background-color 0.5s, border-color 0.5s;color: #615C3D;border: 1px solid #615C3D;text-align:center;font-size:24px;}
a#backtotop.btnvis {opacity:1;}
a#backtotop:hover {background-color:#615C3D;color:white;}

/* show content after css load */
body#frontend {opacity:1;}

/******************** OVERRIDES **********************/
.showthis-block {display:block !important;}
.showthis-inline-block {display:inline-block !important;}
.hidethis {display:none !important;}

/******************** CSS3 ANIMS > migration to AOS in progress **********************/

.jsangroup {display:table;overflow:hidden;width:100%;margin:0 auto;}
.jsan, .jsancont {transition: all 1s;position:relative;}

/*fade*/
.jsanop {opacity:0;}
.jsanop.anon {opacity:1;}

/*wjazd do góry*/
.jsanup .jsancont {bottom:-999px;}
.jsanup.anon .jsancont{bottom:0;}

/*wjazd w dół*/
.jsandown .jsancont {top:-999px;}
.jsandown.anon .jsancont{top:0;}

/*wjazd w prawo*/
.jsanr .jsancont {left:-100vw;}
.jsanr.anon .jsancont {left:0;}

/*wjazd w lewo*/
.jsanl .jsancont {right:-100vw;}
.jsanl.anon .jsancont {right:0;}

/*opoznienia*/
.jsan1s {transition-delay:1s;-webkit-transition-delay: 1s;}
.jsan2s {transition-delay:2s;-webkit-transition-delay: 2s;}

/* Scroll down indicator (bouncing) */
@-webkit-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {    -webkit-transform: translateY(0); }
  40% {    -webkit-transform: translateY(-10px); }
  60% {    -webkit-transform: translateY(-5px); } 
}

@-moz-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {    -moz-transform: translateY(0); }
  40% {    -moz-transform: translateY(-10px); }
  60% {    -moz-transform: translateY(-5px); } 
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0); }
  40% {
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    -o-transform: translateY(-10px);
    transform: translateY(-10px); }
  60% {
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    transform: translateY(-5px); } 
}


@keyframes backgroundResize {
  0%   { background-size:100% auto; }
  50%  { background-size:105% auto; }
  100% { background-size:100% auto; }
}
@-o-keyframes backgroundResize{
  0%   { background-size:100% auto; }
  50%  { background-size:105% auto; }
  100% { background-size:100% auto; }
}
@-moz-keyframes backgroundResize{
  0%   { background-size:100% auto; }
  50%  { background-size:105% auto; }
  100% { background-size:100% auto; }
}
@-webkit-keyframes backgroundResize{
  0%   { background-size:100% auto; }
  50%  { background-size:105% auto; }
  100% { background-size:100% auto; }
}
.animate-flicker {
   -webkit-animation: backgroundResize 1s infinite;
   -moz-animation: backgroundResize 1s infinite;
   -o-animation: backgroundResize 1s infinite;
    animation: backgroundResize 1s infinite;
}

/******************** FORMS **********************/
.custom-style-form {}
.custom-style-form input[type="checkbox"] {width:20px;height:20px;}
.custom-style-form .checkbox label {padding-left:25px;}
.custom-style-form .checkbox input[type="checkbox"] {margin-left:-25px;cursor:pointer;}
.custom-style-form .custom-fieldset {	width: 100%;	float: left;	clear: both;	margin: 15px 0;	background: #f3f3f3;	padding: 0 10px 15px;}
.custom-style-form .custom-fieldset .form-group {margin-bottom:0;display:table;width:100%;}
.custom-style-form .custom-fieldset label {font-weight:300;}
.custom-style-form .custom-fieldset .form-group:not(.has-error) .form-control {margin-bottom:5px;border-radius:0;border-color:#eee;}
.custom-style-form .custom-subfieldset {background: #eaeaea;padding: 15px 0 !important;}

/* SOCIAL PLUGIN WIDGET AREA */
#sticky-widget-area {position:fixed;top:25%;z-index:9999;}
#sticky-widget-area.windowside_left{left:0;}
#sticky-widget-area.windowside_right{right:0;}
#sticky-widget-area-content {position:relative;}

/********** FACEBOOK PAGE PLUGIN WIDGET **********/

#fb-sticky-widget {position:fixed;top:25%;z-index:9999;}
#fb-sticky-widget {position:absolute}
#fb-sticky-widget:after {display:block;background:#3a579d;color:white;display:block;font-family:'FontAwesome';content:'\f09a';width:40px;height:40px;line-height:40px;text-align:Center;position:absolute;top:0;font-size:24px;cursor:pointer;}
#fb-sticky-widget.windowside_left:after {right:-40px;}
#fb-sticky-widget.windowside_right:after {left:-40px;}

#fb-sticky-widget #fb-sticky-widget-content{width:300px;}
#fb-sticky-widget.windowside_left {left:-300px;transition: left .5s;}
#fb-sticky-widget.windowside_right {right:-300px;transition:right .5s;}
#fb-sticky-widget.windowside_left:hover {left:0}
#fb-sticky-widget.windowside_right:hover {right:0}
@media(min-width:480px){
	#fb-sticky-widget #fb-sticky-widget-content{width:340px}
	#fb-sticky-widget.windowside_left {left:-340px}
	#fb-sticky-widget.windowside_right {right:-340px}
	#fb-sticky-widget.windowside_left:hover {left:0}
	#fb-sticky-widget.windowside_right:hover {right:0}
}

/********** FACEBOOK PAGE PLUGIN WIDGET **********/

#in-sticky-widget {position:fixed;top:25%;z-index:9999;}
#in-sticky-widget {position:absolute;top:25%;z-index:9999;}
#in-sticky-widget:after {display:block;	background-color: #fff;	background-image: linear-gradient(-135deg,#1400c8,#b900b4,#f50000); color:white;display:block;font-family:'FontAwesome';content:'\f16d';width:40px;height:40px;line-height:40px;text-align:Center;position:absolute;top:0;font-size:24px;cursor:pointer;}
#in-sticky-widget.windowside_left:after {right:-40px;}
#in-sticky-widget.windowside_right:after {left:-40px;}

#in-sticky-widget #in-sticky-widget-content{width:300px;}
#in-sticky-widget.windowside_left {left:-300px;transition: left .5s;}
#in-sticky-widget.windowside_right {right:-300px;transition:right .5s;}
#in-sticky-widget.windowside_left:hover {left:0}
#in-sticky-widget.windowside_right:hover {right:0}
@media(min-width:480px){
	#in-sticky-widget #in-sticky-widget-content{width:340px}
	#in-sticky-widget #in-sticky-widget-content iframe {width:100% !important;}
	#in-sticky-widget.windowside_left {left:-340px}
	#in-sticky-widget.windowside_right {right:-340px}
	#in-sticky-widget.windowside_left:hover {left:0}
	#in-sticky-widget.windowside_right:hover {right:0}
}



.blink {
  animation: blinker 1s linear infinite;
}
@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.yt-video {	position: relative;	padding-bottom: 56.25%; /* 16:9 */	padding-top: 25px;	height: 0;margin:5px 0;}
.yt-video iframe {	position: absolute;	top: 0;	left: 0;	width: 100%;	height: 100%;}



/*****************************************************/
/**************** TEMPLATE SPECIFIC ******************/
/*****************************************************/

/********************* COMMON ***********************/

body.fp #breadcrumb {display:none;}
#breadcrumb, #breadcrumb a {font-size:0.875em;}
#breadcrumb a {color:#777;}
#breadcrumb a:last-child{color:#777;}

body#frontend {font-family: 'Open Sans', sans-serif;color:#505050;}
body#frontend h1,
body#frontend h2,
body#frontend h3,
body#frontend h4,
body#frontend h5,
body#frontend h6 {font-family: 'Open Sans', sans-serif;color:#505050;}

.news_content, .news_content_more {font-size:1.125em;line-height:1.5em;}
 
a {color:#019a04;text-decoration:none;}
a:hover {color:#019a04;text-decoration:underline;}
body:not(#frontend) a{color:#f43a01;}
body:not(#frontend) a:hover {color:#f43a01;text-decoration:underline;}

.laybtn, a.laybtn {background:#019a04;color:#fff;border:1px solid #019a04;border-radius:5px;font-weight:400;font-size:.75em;line-height:1;letter-spacing:0;padding:12px 18px;position:relative;text-decoration:none;min-width:170px;}
.laybtn:hover, a.laybtn:hover, .laybtn:focus, a.laybtn:focus {color:#019a04;border-color:#fff;background-color:white;} 

.laybtn.whitebtn {background:white;border-color:#fff;color:#019a04;}
.laybtn.whitebtn:hover, .laybtn.whitebtn:focus {background:#019a04;border-color:#019a04;color:#fff;}

.laybtn.outlinebtn {background:transparent;border-color:#fff;color:#000;text-transform:none;border-width:3px;padding: 15px 25px;}
.laybtn.outlinebtn:hover, .laybtn.outlinebtn:focus {background:#fff;border-color:#fff;color:#f4ad01;}

.social-icons a {color:#fff;padding:0 5px;font-size:1.5em;margin:0 10px;}
.social-icons a:hover {color:#fff;}

/* fixed site background image */
#body_bg {display:none;}

main {min-height:240px;padding-top:15px;}

/* logo */
body.fp header.std_head {position:absolute;top:0;left:0;width:100%;}
header.std_head {background:rgba(0,0,0,0.18);border-bottom:1px solid white;border-color:rgba(255,255,255,0.51);}
header.std_head .std_logo {text-align:center;padding-top:10px;}
header.std_head .std_logo a {display:inline-block;text-decoration:none;}
header.std_head .std_logo img {max-width:100%;height:auto !important;width:auto !important;float:left;}
header.std_head .usbh.usbh1 {text-align:center;padding-top:5px;padding-bottom:5px;}
header #rwd_menu_icon {padding:0; text-align:center;cursor:pointer;}
header #rwd_menu_icon span {font-size:1.5em;padding:10px;color:#fff;}
@media(max-width:360px){
	header.std_head .usbh.usbh1 {margin-left:8.33333333%;}
}
@media(min-width:768px){
	header.std_head .std_logo {text-align:left;}
	header.std_head .std_menu {padding-top:10px;}
	header.std_head .usbh.usbh1 {padding-top:15px;}
}
@media(min-width:992px){
	header.std_head > .container > .row,
	header.std_head .std_logo {display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;padding-top:0;}
	header.std_head .std_logo {text-align:left;padding:0;align-items:center;}
	header.std_head .usbh.usbh1 {display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;align-items:center;justify-content:flex-end;padding-top:0;}
	header.std_head .std_menu {padding-bottom:20px;padding-top:20px;}
	header #rwd_menu_icon {text-align:right;}
}

/* standard dropdown colors & fonts */
/* for main cats */
header #topmenu_dropdown {position:relative;z-index:99;padding:0;float:none;display:inline-block;}
header #topmenu_dropdown > .dropdown {margin:0;}
header #topmenu_dropdown > .dropdown a {color: #fff; font-size: 0.875em; font-weight: 400; text-transform:uppercase;padding:10px;margin:0 10px; position:relative;background:transparent;line-height:1;position:relative;letter-spacing:0.04em;border-bottom:0 solid transparent;}
header #topmenu_dropdown > .dropdown a span{display:inline-block;}
header #topmenu_dropdown > .dropdown:not(.current_drp):hover > a, 
.dropdown:not(.current_drp) a:focus,
.dropdown:not(.current_drp) a:hover {background: transparent;  color:#019A04;}
header #topmenu_dropdown > .dropdown:not(.current_drp):hover > a:after, 
header #topmenu_dropdown > .dropdown.current_drp > a,
header #topmenu_dropdown > .dropdown.open > a {font-weight:300;border-color:#019A04;}
/* for sub cats */
header .dropdown.open .dropdown-menu {background:#fff;}
header #topmenu_dropdown > .dropdown .subpos {background:#fff;outline:1px solid transparent;transition:background-color .5s;}
header #topmenu_dropdown > .dropdown .subpos a, header .dropdown-submenu:after {font-size:1em;color:#6c6c6c;outline:1px solid transparent;padding:10px 15px;}
header .dropdown-submenu:after {top:9px;}
header #topmenu_dropdown > .dropdown .active.subpos > a {background:#fff;color:#6c6c6c;}
header #topmenu_dropdown > .dropdown .active.subpos,
header #topmenu_dropdown > .dropdown .subpos:hover {background:#fff;color:#93012b;}
header #topmenu_dropdown > .dropdown .subpos a:hover {background:#fff;color:#93012b;}

/*logo inside menu*/
/*
@media(min-width:1200px){
	header #topmenu_dropdown > .dropdown.centerright{margin-right:155px;position:relative;}
	header #topmenu_dropdown > .dropdown.centerleft{margin-left:155px;}
	header #topmenu_dropdown > .dropdown.centerright:after{position:absolute;right:-310px;top:-50px;width:310px;content:'';display:block;background:url('/img/images/logotypy/wrh-logo.png') center center no-repeat;height:216px;}
}
@media(min-width:1440px){
	header #topmenu_dropdown > .dropdown{min-width:185px;}
}
*/

.onsldmenu .onsldopts, header .lang-selector {padding-top:50px;padding-right:50px;}
.onsldmenu .onsldopts p, header .lang-selector p {margin:0;}
.onsldmenu .onsldopts br, header .lang-selector br {display:none;}
.onsldmenu .onsldopts a, header .lang-selector a {color:white;display:inline-block;height:24px;width:24px;font-size:.75em;line-height:2em;border:1px solid transparent;transition:border-color .5s;text-align:center;text-decoration:none;margin:0 2px;}
.onsldmenu .onsldopts a.current, .onsldmenu .onsldopts a:hover,
header .lang-selector a.current, header .lang-selector a:hover {border-color:#5a595a;border-color:rgba(255,255,255,0.26);}


/* ONSLD DROPDOWN */
body.fp .onsldmenu .onsld_drp {padding:0}
body.fp .onsldmenu .onsld_drp span.glyphicon {color:#fff;font-size:1.5em;}
/* for main cats */
body.fp .onsldmenu #topmenu_dropdown {display:inline-block;position:relative;margin:0;-webkit-backface-visibility:hidden;outline:0px solid transparent;position:relative;}
body.fp .onsldmenu #topmenu_dropdown > .dropdown  a {color: #fff; font-size: 1.5em; font-weight: 400; padding:.857em 1.428em;position:relative;background:transparent;line-height:1;border-bottom:0px solid transparent;margin-bottom:0;}
body.fp .onsldmenu #topmenu_dropdown > .dropdown  a span{display:inline-block;}
body.fp .onsldmenu #topmenu_dropdown > .dropdown.current_drp a,
body.fp .onsldmenu #topmenu_dropdown > .dropdown.open > a,
body.fp .onsldmenu #topmenu_dropdown > .dropdown > a:hover {background:transparent;border-color:transparent;text-align:center;position:relative;}


/* for sub cats */
body.fp .onsldmenu .dropdown.open .dropdown-menu {background:#272727;}
body.fp .onsldmenu #topmenu_dropdown > .dropdown .subpos {background:#272727;outline:1px solid transparent;transition:background-color .5s;}
body.fp .onsldmenu #topmenu_dropdown > .dropdown .subpos a {font-size:0.875em;text-transform:uppercase;outline:1px solid transparent;}
body.fp .onsldmenu #topmenu_dropdown > .dropdown .subpos:hover {background:#f15922;color:white;}
body.fp .onsldmenu #topmenu_dropdown > .dropdown .subpos a:hover {background:transparent;}


/* onsld logo */
body.fp .onsldmenu {height:75%;z-index:88888888;display:flex;align-items:center;flex-direction:column;justify-content:center;}
body.fp .onsldmenu .onsld_logo {padding-top:15px;text-align:center;font-size:1.125em;padding-bottom:15px;}
body.fp .onsldmenu .onsld_logo a {color:white;display:inline-block;}
body.fp .onsldmenu .onsld_logo img {max-width:50%;height:auto !important;}
@media(min-width:768px){
	body.fp .onsldmenu .onsld_drp {padding-top:0;margin-top:40px;}
	body.fp .onsldmenu .onsld_logo img {max-width:100%}
}
@media(min-width:992px){
	body.fp .onsldmenu .onsld_logo {padding-top:30px;font-size:1.875em}
	body.fp .onsldmenu #topmenu_dropdown > .dropdown  a{font-size:2em;}
}








footer#std_foot {position:relative;color:#fff;font-size:1em;background:#019a04;padding-top:20px;}
footer#std_foot .footcol {text-align:center;padding-bottom:15px;}
footer#std_foot .footcol:not(.social){font-size:.75em;text-transform:uppercase;line-height:1.5;}
footer#std_foot .footcol:first-child{padding-top:30px;}
footer#std_foot .footcol:first-child a[href^=tel]{font-size:1.166em}
footer#std_foot .footcol.social{padding-top:40px;}
footer#std_foot a {color:#fff;text-decoration:none;}

@media(min-width:768px){
}
@media(min-width:992px){
	footer#std_foot .footcol:first-child {text-align:left;}
	footer#std_foot .social .social-icons{text-align:right;}
}
@media(min-width:1200px){
}





#mprt-embed-form .form-error {display:none;}
#mprt-embed-form .form-group {	margin-bottom: 0;	float: left;	width: 100%;}
#mprt-embed-form label {font-weight:400;color:#8f8f8f;font-size:13px;}
#mprt-embed-form input, #mprt-embed-form textarea {border-color:#fff;background:transparent;border-radius:0;box-shadow:none;-webkit-box-shadow:none;}
#mprt-embed-form input {height:32px;}
#mprt-embed-form input[type=checkbox] {height:20px;width:20px;}
#mprt-embed-form .has-error input {border-color:#a94442;}
#mprt-embed-form textarea {height:120px;}
#mprt-embed-form .form-group > div[class^=col-] {padding:0 5px 5px 5px;}
#mprt-embed-form .form-group > div[class^=col-] > .row {margin:0;}
#mprt-embed-form .mprt-embed-btns {	position: relative;	z-index:99;padding-top:15px;padding-bottom:40px;}
#mprt-embed-form .mprt-embed-btns .laybtn {background-color:#505050;border-color:#505050;color:white;}
#mprt-embed-form input::-webkit-input-placeholder,
#mprt-embed-form textarea::-webkit-input-placeholder{ /* Chrome/Opera/Safari */
  color: #eee;
}
#mprt-embed-form input::-moz-placeholder,
#mprt-embed-form textarea::-moz-placeholder{ /* Firefox 19+ */
  color: #eee;
}
#mprt-embed-form input:-ms-input-placeholder,
#mprt-embed-form textarea:-ms-input-placeholder{ /* IE 10+ */
  color: #eee;
}
#mprt-embed-form input:-moz-placeholder,
#mprt-embed-form textarea:-moz-placeholder{ /* Firefox 18- */
  color: #eee;
}



/******************* HOME PAGE *********************/

body.fp main {padding-top:0;}
body.fp header.tworow_head {display:none;}




#month_events_link {position:static;}
.eventsCalendar-day.dayWithEvents > a > span {background:#f00;color:white;}


#fp_slider_section .fw_container.slider_container {overflow:visible;}
#fp_slider_section .sldpostxt {text-align:left;padding-bottom:20px;}
#fp_slider_section .sldpostxt p {color:#fff;font-size:.875em;line-height:1.5;letter-spacing:0.04em;max-width:700px;font-weight:400;text-transform:uppercase;}
#fp_slider_section .sldpostxt p em {display:inline-block;font-style:normal;background:rgba(255,255,255,0.12);padding:15px;}
#fp_slider_section .sldpostxt p strong {font-size:2.5em;line-height:1.75;}

.standard-slider .sldtxtbox {background: #019A04;padding-top:10px;}
#fp_slider_section .laybtn {font-size:15px;text-transform:uppercase;margin:5px;min-width:185px;}
#fp_slider_section .laybtn.whitebtn{border-color:#019A04;}

#topslider_pag {bottom:-4px;height:3px;background:#019A04;display:none;}
#topslider_pag > a {width:25px;height:25px;background:white;border:2px solid #019A04;border-radius:50%;position:relative;top:-10px;}
#topslider_pag > a.selected {background:#019A04;}
.topslider_btns {display:none;}
@media(min-width:768px){
	.standard-slider .sldtxtbox {background:transparent;}
	#fp_slider_section .sldpostxt {padding-bottom:0;padding-top:0}
	.topslider_btns {display:block;opacity:0;}
	#fp_slider_section:hover .topslider_btns {opacity:1;}
	#fp_slider_section .sldpostxt p {font-size:1em;}
	#fp_slider_section .sldpostxt p strong {font-size:3.5em;}
	.sldpostxt_lnk {position:absolute;bottom:5%;left:0;}
	#fp_slider_section .laybtn.whitebtn{border-color:#fff;}
	#fp_slider_section .laybtn.whitebtn:hover, 	#fp_slider_section .laybtn.whitebtn:focus {border-color:#019A04;}
}
@media(min-width:992px){
	#fp_slider_section .sldpostxt p {line-height:1.625em;}
}
@media(min-width:1200px){
	#fp_slider_section .sldpostxt p strong {font-size:4.5em;}
	.sldpostxt_lnk {bottom:15%;}
}




.fp_static_section {padding-top:75px;text-align:center;}

/* loan calc section */

.fp_panel.section_calc {padding-top:0;text-align:left;}

.fp_panel.section_calc .inner-container {background:#f2f2f2;width:100%;float:left;padding-top:40px;padding-bottom:30px;}

.fp_panel.section_calc .inner-sub-container-loan {padding:25px;width:100%;width:100%;float:left;}
.fp_panel.section_calc .inner-sub-container-loan label,
.fp_panel.section_calc .inner-sub-container-loan input,
.fp_panel.section_calc .inner-sub-container-loan button {display:inline-block;height:36px;line-height:36px;font-weight:700;float:left;}
.fp_panel.section_calc .inner-sub-container-loan label {color:#6e6e6e;font-size:1.125em;margin:0;}
.fp_panel.section_calc .inner-sub-container-loan > label {clear:both;}
.fp_panel.section_calc .inner-sub-container-loan input {border:1px solid #55ce30;font-size:1.5em;text-align:center;width:125px;margin:0 15px 0 0; padding:0;box-shadow:none;background:transparent;clear:left;}
.fp_panel.section_calc .inner-sub-container-loan input[type="range"] {border:none;outline:none;width:100%;}
.fp_panel.section_calc .inner-sub-container-loan button {font-size:36px;border:none;background:transparent;color:#666;width:36px;text-align:center;margin:0 5px;transition: background-color .5s, color .5s;padding:0;outline:none;}
.fp_panel.section_calc .inner-sub-container-loan button:hover {background:#55ce30;color:white;}

.fp_panel.section_calc .inner-sub-container .marks .step,
.fp_panel.section_calc .inner-sub-container-loan .marks .step {float:left;clear:none;min-height:20px;}
.fp_panel.section_calc .inner-sub-container .marks .step > .step_mark,
.fp_panel.section_calc .inner-sub-container-loan .marks .step > .step_mark{text-align:center;}
.fp_panel.section_calc .inner-sub-container-loan .marks .step > .step_mark{display:none;}
.fp_panel.section_calc .inner-sub-container-loan .marks .step:nth-child(3n+1) > .step_mark {display:block;}


.fp_panel.section_calc .inner-sub-container {background:transparent;padding:25px;width:100%;float:left;}
.fp_panel.section_calc .inner-sub-container .calc-daysradio strong {font-size:1.125em;display:block;clear:right;}
.fp_panel.section_calc .inner-sub-container .calc-daysradio label {width:32px;height:32px;display:inline-block;text-align:center;font-size:1.125em;line-height:32px;color:#666;background:#f2f1f6;transition: color .5s, background-color .5s;position:relative;cursor:pointer;margin:0 8px;}
.fp_panel.section_calc .inner-sub-container .calc-daysradio label.selected,
.fp_panel.section_calc .inner-sub-container .calc-daysradio label:hover {background:#0da6ce;color:white;}
.fp_panel.section_calc .inner-sub-container .calc-daysradio label input {position: absolute;top: 0;left: 0;width: 100%;height: 100%;padding: 0;border: 0;margin: 0;visibility: hidden;}

.fp_panel.section_calc .inner-sub-container .marks .step {float:left;clear:none;position:relative;min-height:20px;}
.fp_panel.section_calc .inner-sub-container .marks .step > .step_mark{position:absolute;left:0;top:0;margin-left:-12px;width:24px;height:24px;text-align:center;}
.fp_panel.section_calc .inner-sub-container .marks .step:first-child > .step_mark{position:absolute;left:0;top:0;margin:0;text-align:left;}
.fp_panel.section_calc .inner-sub-container .marks .step > .step_mark.step_mark_last{left:auto;right:0;margin:0;text-align:right;}





.fp_panel.section_calc .inner-sub-container .calc-summary {padding-top:30px;}
.fp_panel.section_calc .inner-sub-container .calc-summary p {font-size:1em;margin-bottom:1.25em;text-transform:uppercase;line-height:1;}
.fp_panel.section_calc .inner-sub-container .calc-summary p #calc-loan-value,
.fp_panel.section_calc .inner-sub-container .calc-summary p #calc-total {color:#3cb816;font-weight:700}
.fp_panel.section_calc .inner-sub-container .calc-summary p #calc-enddate {font-weight:700;}
.fp_panel.section_calc .inner-sub-container .calc-summary p em {font-size:.75em;font-style:normal;}
.fp_panel.section_calc .inner-sub-container .calc-summary p:last-child {font-size:1.125em;}

.fp_panel.section_calc .inner-sub-container .calc-txt-info {font-size:.75em;line-height:1;color:#aaa;}
@media(min-width:360px){
	.fp_panel.section_calc .inner-sub-container-loan input {width:155px;}
	.fp_panel.section_calc .inner-sub-container-loan input[type=range] {width:100%;}
	.fp_panel.section_calc .inner-sub-container .calc-daysradio strong {display:inline;clear:none;}
}
@media(min-width:480px){
	.fp_panel.section_calc .inner-sub-container-loan > label,
	.fp_panel.section_calc .inner-sub-container-loan input {clear:none;}
	.fp_panel.section_calc .inner-sub-container-loan input {margin:0 15px;width:125px;}
	.fp_panel.section_calc .inner-sub-container-loan input[type="range"] {margin:0;width:100%;}
}
@media(min-width:768px){
	.fp_panel.section_calc .inner-sub-container-loan input {width:155px;margin:0 15px 0 25px;}
	.fp_panel.section_calc .inner-sub-container-loan input[type="range"] {margin:0;width:100%;}
}
@media(min-width:992px){
	.fp_panel.section_calc .inner-sub-container-loan input {width:125px;margin:0 15px;}
	.fp_panel.section_calc .inner-sub-container-loan input[type="range"] {margin:0;width:100%;}
	.fp_panel.section_calc .inner-sub-container-loan .marks .step > .step_mark {display:block;}

}
@media(min-width:1200px){
	.fp_panel.section_calc .inner-sub-container-loan input {width:155px;margin:0 15px 0 25px;}
	.fp_panel.section_calc .inner-sub-container-loan input[type="range"] {margin:0;width:100%;}
}
@media(min-width:1440px){

}

/* calc with range sliders -hide +/- & radio */
.fp_panel.section_calc.calc_range_type .inner-sub-container-loan button {display:none;}
.fp_panel.section_calc.calc_range_type .inner-sub-container .calc-daysradio label.radio-calc-period {display:none;}
.fp_panel.section_calc.calc_range_type .inner-sub-container .calc-2-daysradio label.radio-calc-2-period {display:none;}


/* many thanks to https://css-tricks.com/styling-cross-browser-compatible-range-inputs-css/ */
input[type=range] {
  -webkit-appearance: none;
  margin: 18px 0;
  width: 100%;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 9px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: none;
  background: #e6e6e6;
  border-radius: 0px;
  border: 0.5px solid #e6e6e6;
}
input[type=range]::-webkit-slider-thumb {
  box-shadow: none;
  border: 1px solid #eb4b19;
  height: 20px;
  width: 60px;
  border-radius: 0;
  background: #eb4b19;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -8px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #d7d7d7;
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 9px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: none;
  background: #e6e6e6;
  border-radius: 0;
  border: 0.5px solid #e6e6e6;
}
input[type=range]::-moz-range-thumb {
  box-shadow: none;
  border: 1px solid #eb4b19;
  height: 20px;
  width: 60px;
  border-radius: 0;
  background: #eb4b19;
  cursor: pointer;
}
input[type=range]::-ms-track {
  width: 100%;
  height: 9px;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  border-color: transparent;
  border-width: 16px 0;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: #e6e6e6;
  border: 0.5px solid #e6e6e6;
  border-radius: 0;
  box-shadow: none;
}
input[type=range]::-ms-fill-upper {
  background: #e6e6e6;
  border: 0.5px solid #e6e6e6;
  border-radius: 0;
  box-shadow: none;
}
input[type=range]::-ms-thumb {
  box-shadow: none;
  border: 1px solid #eb4b19;
  height: 20px;
  width: 60px;
  border-radius: 0;
  background: #eb4b19;
  cursor: pointer;
}
input[type=range]:focus::-ms-fill-lower {
  background: #e6e6e6;
}
input[type=range]:focus::-ms-fill-upper {
  background: #d7d7d7;
}

.calc-txt-info, .calc-2-txt-info {font-size:.875em;}
.calc-txt-info p, .calc-2-txt-info p {margin-bottom:10px;}
.calc-txt-info p:first-child, .calc-2-txt-info p:first-child {margin-bottom:25px;}

.calc-txt-info span#calc_info_loan, 
.calc-2-txt-info span#calc-2_info_loan {font-size:1.5em;color:#219D5F;}

.calc-txt-info span#calc_info_rrso, 
.calc-2-txt-info span#calc-2_info_rrso {font-size:1.5em;color:#EB4B19;}

.calc-txt-info span#calc_info_commval.zero, 
.calc-2-txt-info span#calc-2_info_commval.zero {font-weight:bold;}






.fp_panel_1 {color:#6f6f6f;text-transform:uppercase;letter-spacing:0.04em;padding-top:25px;padding-bottom:25px;}
body#frontend .fp_panel_1 h1 {font-size:1.875em;color:#262626;}
.fp_panel_1 p {font-size:.875em;line-height:1.615em;}

.static_boxes_section {padding-top:60px;padding-bottom:60px;}
body#frontend .static_boxes_section h2 {color:#262626;font-weight:600;font-size:18px;letter-spacing:0.04em;}
.static_boxes_section .box_desc {font-size:13px;line-height:22px;letter-spacing:0.04em;}
@media(min-width:768px){
	.static_boxes_section > div > .container > .row > div {position:relative;}
	.static_boxes_section > div > .container > .row > div:after {position:absolute;right:0;top:5%;width:1px;height:90%;content:'';display:block;background:#e4e4e4;}
	.static_boxes_section > div > .container > .row > div:nth-child(3n):after {display:none;}
}
@media(min-width:1200px){
	.static_boxes_section .sqbox {width:90%;margin:0 5%;}
}

.fp_panel_4 {padding-top:60px;padding-bottom:80px;background-repeat:no-repeat;background-position:right bottom;background-size:100% auto;background-size:cover;}
.fp_panel_4 p{font-size:.875em;text-transform:uppercase;line-height:1.325;letter-spacing:0.04em;color:#4f4f4f;}
.fp_panel_4 img {margin-bottom:35px;max-width:100%;height:auto !important;}
.fp_panel_4 p strong {font-size:1.285em;display:inline-block;margin-bottom:20px;}
.fp_panel_4 .laybtn {margin-top:75px;font-size:18px;}
@media(max-width:767px){
	.fp_panel_4 {background-image:none !important;}
	.fp_panel_4 .visible-xs img {width:150% !important;max-width:150% !important;float:right;}
	.fp_panel_4 .fp_panel_txt {text-align:center;}
}

/* sekcja z plx */
body#frontend .fp_static_section_plx div[class^=col-] {padding-top:55px;}
body#frontend .fp_static_section_plx p {display:block;clear:both;width:100%;color:#fff;font-size:0.8125em;letter-spacing:0.06em;margin:0;line-height:1.385em;display:inline-block;margin-bottom:0;text-transform:uppercase;}
body#frontend .fp_static_section_plx strong {font-weight:800;}
body#frontend .fp_static_section_plx p:last-child {margin-bottom:0;margin-top:60px;}
body#frontend .fp_static_section_plx h2 {font-size:.875em;color:white;text-transform:uppercase;letter-spacing:0.28em;margin-top:15px;}
body#frontend .fp_static_section_plx h3 {font-size:3em;color:white;text-transform:uppercase;margin-top:15px;font-weight:900;}
@media screen and (max-width: 767px){
	body#frontend .fp_static_section_plx > .container-fluid > .row {min-height:320px;min-height:100vh;background-size:cover;}
}
@media screen and (min-width: 768px){
	.fp_static_section_plx {height:700px;max-height:500px;overflow:hidden;padding-top:0;}
	.fp_static_section_plx > .container-fluid > .row {height:100vh;max-height:500px;background-position: center center;background-attachment:fixed;background-repeat:no-repeat;background-size:cover;}
	body#frontend .fp_static_section_plx h3 {font-size:4.5em;}

}


body#frontend .fp_static_section_2cols h5 {font-size:1.875em;font-weight:300;color:black;letter-spacing:.2em;margin:0 0 2em 0;line-height:1em;} 
body#frontend .fp_static_section_2cols div[class^=col-]:nth-child(2) p {font-size:1.25em;line-height:1.75em;color:#000;letter-spacing:0.06em;padding-left:20%;}
body#frontend .fp_static_section_2cols div[class^=col-]:nth-child(2) {background: transparent url('/i/theme/bostudio/bo-studio-logo-transparent_big.png') left center no-repeat;}
@media(max-width:767px){
	body#frontend .fp_static_section_2cols .row-eq-height {display:block;}
	body#frontend .fp_static_section_2cols div[class^=col-]:nth-child(2) {background-size:50%;background-position:15px center;text-align:left;}
	body#frontend .fp_static_section_2cols div[class^=col-]:nth-child(2) p {padding-left:15px;}
}


/* boksy statyczne */
.static_boxes_section {margin:0;background:transparent;}
.static_boxes_section header {display:none;}
body#frontend .static_boxes_section .stb .sqbox {margin-bottom:0;background:white;margin-left:-14px;margin-right:-14px;box-shadow: 3px 4px 68px 0px rgba(0, 0, 0, 0.08); }
body#frontend .static_boxes_section .stb .sqbox_inner {max-width:415px;margin:0 auto;display:table;width:100%;position:relative;padding:55px 15px 45px;}
body#frontend .static_boxes_section .stb h2 {font-size:24px;line-height:1;color:#878887;font-weight:700;margin:40px 0;letter-spacing:normal;}
body#frontend .static_boxes_section .stb figure img {max-width:100%;width:100% !important;height:auto !important;}
body#frontend .static_boxes_section .stb .stbox_txt {letter-spacing:normal;font-weight:400;}
body#frontend .static_boxes_section .stb .stbox_txt p {line-height:1.9375em;}
@media(min-width:768px){
	.twocols-part-right {padding-top:47px;}
	body#frontend .static_boxes_section .stb h2 {margin:10px 0}
	body#frontend .static_boxes_section .stb .stbox_txt p {line-height:normal;}
}
@media(min-width:992px){
	body#frontend .static_boxes_section .stb h2 {margin:40px 0}
	body#frontend .static_boxes_section .stb .stbox_txt p {line-height:1.9375em;}
}
@media(min-width:1200px){
	body#frontend .static_boxes_section .stb h2 {margin:100px 0 40px;}
	body#frontend .static_boxes_section .stb .row:nth-child(2n-1) .stbox_txt h2,
	body#frontend .static_boxes_section .stb .row:nth-child(2n-1) .stbox_txt p {padding-left:60px;max-width:615px;float:left;clear:both;width:100%;text-align:left;}
	body#frontend .static_boxes_section .stb .row:nth-child(2n) .stbox_txt h2,
	body#frontend .static_boxes_section .stb .row:nth-child(2n) .stbox_txt p {padding-right:60px;max-width:615px;float:right;clear:both;width:100%;text-align:left;}
}

/* boksy statyczne 2*/
.static_boxes_board{box-shadow: 3px 4px 5px 0px rgba(0, 0, 0, 0.13); position:relative;z-index:9;}
.static_boxes_board .figure-bottom{display:none}
.static_boxes_board figure img {width:100% !important; height: auto !important;}
.static_boxes_board h5 {margin:50px 0 30px;}
.static_boxes_board h5, .static_boxes_board h5 a {font-size:30px;color:#878887;font-weight:400;}
@media(min-width:768px){
	.static_boxes_board h5 {margin:0;}
	.static_boxes_board .static_boxes_cell:nth-child(2n-1) .figure-bottom {display:block}
	.static_boxes_board .static_boxes_cell:nth-child(2n-1) .figure-top {display:none}
	.static_boxes_board .static_boxes_cell:nth-child(2n) .figure-bottom {display:none}
	.static_boxes_board .static_boxes_cell:nth-child(2n) .figure-top {display:block}
	.sqbox_inner.eqcell {
		display: table-cell;
		vertical-align: middle;
		text-align: center;
		position: relative;
	}
}

/*
body#frontend .static_boxes_section .stb .overlay{text-align:center;}
body#frontend .static_boxes_section .stb .overlay .laybtn {background:#fff url('/i/theme/perspecta/arrow-right.png') center center no-repeat;margin-top:25px;margin-bottom:25px;border-color:transparent;}
body#frontend .static_boxes_section .stb .overlay .laybtn:hover {background-color:#0da6ce;}
*/

/*sekcja newsów*/
body#frontend .fp_news header h3 {color: #231f20;	float: left;	font-size: 30px;	letter-spacing: 0.100em;text-transform:uppercase;font-weight:400;margin-top:0;}
.fp_news_head {font-size:1em;color:#254f6c;line-height:1;padding:2em 15px;}
.fp_news_head p {margin:0;}
.fpnews-2cols .col-news-date span.news-day,
.fpnews-2cols .col-news-date span.news-month {color:#254f6c;}
body#frontend .fpnews-2cols .col-news-content h3,
body#frontend .fpnews-2cols .col-news-content h3 a{text-transform:uppercase;color:#254f6c;}
body#frontend .fpnews-2cols .col-news-content h3:hover,
body#frontend .fpnews-2cols .col-news-content h3 a:hover {color:#0da6ce;}
.fpnews-2cols .col-news-content {border-left: 1px solid #0da6ce;min-height:140px;}
.fpnews-2cols .col-news-content div {color:#254f6c;}
.fp_news_foot {margin-top:15px;}
.fp_news_foot a {font-size:14px;}

/* karuzela logosów */
.owl-logo-carousel {padding-bottom:65px;}
.owl-logo-carousel header {text-align:center;display:table;width:100%;padding:30px 0 40px;}


.box-static-std {position:relative;margin-bottom:25px;}
.box-static-std > h3 {position:absolute;top:-15px;right:30px;max-width:80%;padding:4px 12px;}
.box-static-std > h3,
.box-static-std > h3 a {background:#615c3d;color:white;font-weight:700;font-size:1em;line-height:1.2;text-align:right;margin:0;text-decoration:none;}
.box-static-std figure a {display:inline-block;position:relative;}
.box-static-std figure img {width:100% !important;height:100% !important;position:relative;z-index:1;background:white;transition: opacity .5s;}
.box-static-std figure a:hover img{opacity:0;}
.box-static-std figure img.hoverimg {width:100% !important;height:100% !important;position:absolute;top:0;left:0;z-index:0;opacity:1;}
.box-static-std figure a:hover img.hoverimg {opacity:1;}
.box-static-std.box-static-std2 > h3,
.box-static-std.box-static-std2 > h3 a {background:#444;}


/* wersja z flipem */
/*
.static_boxes_section div[class^=col-]{text-align:center;}
.static_boxes_section .row div[class^=col-] figure.figure-top {}
.static_boxes_section .row div[class^=col-] figure.figure-bottom {display:block;overflow:hidden;}

body#frontend .static_boxes_section .sqbox {padding-bottom:15px;position:relative;}
body#frontend .static_boxes_section .sqbox img {
	max-width:100%;
	height: auto !important;
	z-index:98;
	-webkit-transition:-webkit-transform .5s;
	-webkit-transition:transform .5s;
	transition:transform .5s;
	}
body#frontend .static_boxes_section .sqbox_inner {text-align:center;display:block;width:100%;height:100%;position:absolute;top:0;left:0;overflow:hidden;z-index:99;}
body#frontend .static_boxes_section .sqbox h5 {font-size:1.5em;font-weight:800;color:#1e1e1e;letter-spacing:-0.04em;line-height:1;margin:0;padding:15px 0;position:absolute;bottom:0;left:0;width:100%;text-align:center;border-bottom:1px solid #d6d6d6;border-top:15px solid #0c9d0c;background:white;z-index:99;}
body#frontend .static_boxes_section .sqbox h5 a {color:#1e1e1e;text-decoration:none;}
body#frontend .static_boxes_section .sqbox_inner .box_desc {
	position:absolute;
	top:100%;
	left:0;
	z-index:90;
	width:100%;
	height:100%;
	text-align:center; 
	-webkit-transition:top .5s;
	transition:top .5s;
	border-top:45px solid white;
}

body#frontend .static_boxes_section .sqbox_inner .box_desc:before {
	position:absolute;
	top:-45px;
	left:0;
	width:100%;
	height:90px;
	content:'';
	display:block;background:url('/i/theme/opakowania/logo_rnd_90.png') center top no-repeat;

	-webkit-transition:-webkit-transform 1s;
	-webkit-transition:transform 1s;
	transition:transform 1s;

	-webkit-transform: -webkit-rotateX(-97deg) -webkit-translateZ(50px);
	-webkit-transform:rotateX(-97deg) translateZ(50px);
	-ms-transform:rotateX(-97deg) translateZ(50px);
	-o-transform:rotateX(-97deg) translateZ(50px);
	transform:rotateX(-97deg) translateZ(50px);

	-webkit-transform-origin:center 75%;
	transform-origin:center 75%;
	z-index:999;
}
body#frontend .static_boxes_section .sqbox_inner:hover .box_desc, 
body#frontend .static_boxes_section .sqbox_inner:active .box_desc {top:0;}
body#frontend .static_boxes_section .sqbox p {font-size:1.125em;font-weight:700;line-height:1;color:#fff;padding:15px 0 0;text-transform:uppercase;margin:0;}
body#frontend .static_boxes_section .sqbox a {color:white;}
body#frontend .static_boxes_section .sqbox p:first-child {font-size:.875em;font-weight:400;padding-top:25px;}
body#frontend .static_boxes_section .sqbox p:after {width:50%;margin:15px 25% 0;display:block;content:'';height:1px;background:white;background:rgba(255,255,255,0.37);}
body#frontend .static_boxes_section .sqbox p:first-child:after {margin-top:30px;}
*/
/* wydumki z animą */
/*
body#frontend .static_boxes_section .sqbox_inner {
	-webkit-perspective:800px;
	-moz-perspective:800px;
	perspective:800px;
}
body#frontend .static_boxes_section .sqbox_inner .box_desc .flipcard {
	-webkit-transform-style:preserve-3d;
	transform-style:preserve-3d;

	-webkit-transition: -webkit-transform 1s;
	-webkit-transition: transform 1s;
	transition: transform 1s; 
	width:100%;
	height:100%;
	position:absolute;
}
.box_desc .box_desc_back, .box_desc .box_desc_front {position:absolute;width:100%;height:100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;}
*/
/* anim flipcard */
/* Y-axis */
/*
body#frontend .static_boxes_section .sqbox_inner .box_desc {background:#0c9d0c;background:rgba(12,157,12,0.93);padding-top:45px;}
body#frontend .static_boxes_section .sqbox_inner .box_desc .flipcard {transform-origin: right center; }
.box_desc .box_desc_back {-webkit-transform:rotateY(180deg);-ms-transform:rotateY(180deg);-o-transform:rotateY(180deg);transform:rotateY(180deg);} 
body#frontend .static_boxes_section .sqbox_inner:hover .flipcard  {-webkit-transform: translateX( -100% ) rotateY( -180deg );-ms-transform: translateX( -100% ) rotateY( -180deg );-o-transform: translateX( -100% ) rotateY( -180deg );transform: translateX( -100% ) rotateY( -180deg );}
*/
/* X-axis */
/*
body#frontend .static_boxes_section .sqbox_inner .box_desc .flipcard {
	-webkit-transform-origin: center center;
	transform-origin: center center; 
	-webkit-transition: -webkit-transform 2s, color 2s;
	-webkit-transition: transform 2s, color 2s;
	transition: transform 2s, color 2s;
}
.box_desc .box_desc_back {
	-webkit-transform: -webkit-rotateX(180deg);
	-webkit-transform:rotateX(180deg);
	-ms-transform:rotateX(180deg);
	-o-transform:rotateX(180deg);
	transform:rotateX(180deg); 
	background:#0c9d0c;background:rgba(12,157,12,0.93);padding-top:45px;
	-webkit-transform-style:preserve-3d;
	transform-style:preserve-3d;
	-webkit-transform-origin:center center;
	transform-origin:center center;
} 
.box_desc .box_desc_back > div {position:absolute;z-index:99999;
	-webkit-transform: -webkit-translateZ(90px) -webkit-scale(.91);
	-webkit-transform:translateZ(90px) scale(.91);
	-o-transform:translateZ(90px) scale(.91);
	transform:translateZ(90px) scale(.91);
	width:100%;}
body#frontend .static_boxes_section .sqbox_inner:hover .flipcard,
body#frontend .static_boxes_section .sqbox_inner:active .flipcard{
	-webkit-transform: -webkit-translateY(0) -webkit-rotateX(-180deg);
	-webkit-transform: translateY(0) rotateX(-180deg);
	-ms-transform: translateY(0) rotateX(-180deg);
	-o-transform: translateY(0) rotateX(-180deg);
	transform: translateY(0) rotateX(-180deg); 
	position:absolute; }
body#frontend .static_boxes_section .sqbox_inner .box_desc_back, body#frontend .static_boxes_section .sqbox_inner .box_desc_back a {color:#0c9d0c;-webkit-transition: color 2s;transition: color 2s;}
body#frontend .static_boxes_section .sqbox_inner:hover .box_desc_back, body#frontend .static_boxes_section .sqbox_inner:hover .box_desc_back a,
body#frontend .static_boxes_section .sqbox_inner:active .box_desc_back, body#frontend .static_boxes_section .sqbox_inner:focus .box_desc_back a {color:white;}
*/
/* anim img */
/*
body#frontend .static_boxes_section .sqbox_inner:hover + figure img,
body#frontend .static_boxes_section .sqbox_inner:active + figure img {
	-webkit-transform: -webkit-scale(1.05);
	-webkit-transform:scale(1.05);
	-ms-transform:scale(1.05);
	-o-transform:scale(1.05);
	transform:scale(1.05)}
*/
/*anim before */
/*
body#frontend .static_boxes_section .sqbox_inner:hover .box_desc:before,
body#frontend .static_boxes_section .sqbox_inner:active .box_desc:before {
	-webkit-transform: -webkit-rotateX(360deg) -webkit-translateZ(50px);
	-webkit-transform:rotateX(360deg) translateZ(50px);
	-ms-transform:rotateX(360deg) translateZ(50px);
	-o-transform:rotateX(360deg) translateZ(50px);
	transform:rotateX(360deg) translateZ(50px);
}
*/




/******************* SUBPAGES *********************/
/*
body.onecol .news_wrapper_more > .news_content_more,
body.onecol .news_wrapper > .news > .news_content_container {max-width:1000px;}
*/
body.onecol .news_wrapper > .news.hasmore {/*max-width:1000px;*/box-shadow:3px 4px 13px 0px rgba(0, 0, 0, 0.1);margin-bottom:50px;background:white;}
body.onecol .news_wrapper > .news.hasmore .news_more {padding:0 15px 15px;}

body#frontend #category_header_title h2 {font-size:2.25em;line-height:1;border:1px solid white;text-transform:uppercase;font-weight:800;display:inline-block;color:white;padding:15px 10px;margin:0 0 30px;}

body#frontend .news_title h2 {font-weight:700;font-size:1.5em;}
body#frontend .news_title h3 {font-weight:700;font-size:1.5em;letter-spacing:0.06em;border-bottom: 1px solid #656565;line-height:1;padding-bottom:0.833em;}
body#frontend .news_wrapper_more .news_title h3,
body#frontend .news_wrapper .news_sub.nomore .news_title h3 {margin-bottom:1.25em;}


/* 2 cols layout - side menu for current main cat */
body.twocols #addcol_wrapper #side_menu {background:#04185a;color:white;}
body.twocols #addcol_wrapper #side_menu ul.subs li, 
body.twocols #addcol_wrapper #side_menu ul.subs li a {color:white;}

/* 2 cols layout - side menu based on dropdown */
/* body.twocols #addcol_wrapper, body.twocols #addcol_wrapper:after {background:#615c3d;} */
body.twocols #addcol_wrapper #side_menu {background:#615c3d;color:white;}
body.twocols.fparentcid_604 #addcol_wrapper #side_menu {background:#142616;}
body.twocols.fparentcid_605 #addcol_wrapper #side_menu {background:#3d0800;}
body.twocols.fparentcid_606 #addcol_wrapper #side_menu {background:#37240b;}
body.twocols #addcol_wrapper #side_menu a {color:white;font-weight:400;font-size:0.875em;}
body.twocols #addcol_wrapper #side_menu a.current {font-weight:700;}
body.twocols #addcol_wrapper #side_menu .side_drp > a {border-bottom: 1px dotted white}
body.twocols #addcol_wrapper #side_menu ul {padding-left:.5em;}
body.twocols #addcol_wrapper #side_menu .subpos a {font-weight:400;line-height:1.25em;position:relative;}
body.twocols #addcol_wrapper #side_menu .subpos a:before {position:absolute; left:-15px; content: "\00BB";display:inline-block;margin-right:10px;}


.news_content blockquote {font-size:1em;line-height:1.5em;font-weight:700;padding:0 0 30px;border:none;border-bottom:1px solid #727272;text-transform:uppercase;}

.news_content .graystripe {background:#efefef;}
body#frontend .news_content .graystripe .txtcont h4 {color:#585858;font-size:1.33em;}
body#frontend .news_content .graystripe .txtcont p {border-bottom: 1px solid #dadada;padding-bottom:.5em;margin-bottom:.5em;font-size:0.944em;}


.styled-list {background:url('/i/theme/bestone/styled-list-bg.jpg') center center no-repeat;background-size:100%;background-size:cover;padding:30px 50px 30px 15px;max-width:800px;margin:0 auto;float:none;}
.styled-list p {font-size:.777em;color:#1c1713;text-transform:uppercase;padding-left:95px;position:relative;display:inline-block;min-height:50px;margin-bottom:25px;box-sizing:border-box;width:100%;}
.styled-list p > span {position:absolute;left:15px;top:0;width:50px;height:50px;line-height:50px;text-align:center;font-size:2.1428em;color:white;border-radius:50%;background:#6d6b5c;}
@media(max-width:480px){
	.styled-list p {padding-left:65px;}
	.styled-list p > span {left:0;}
}

.contactonly {display:none;}
body.kontakt .contactonly, body.contact .contactonly {display:block;}


#background-wrap {
    bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 100;
}

.lightbg{background:#f7f7f7;padding:30px;margin-top:45px;margin-bottom:45px;}
.img-section {margin-bottom:45px;}
.lightbg p {margin:0;}
.lightbg p,
.lightbg ul,
.lightbg li {font-size:14px;line-height:1.25;}
.lightbg p strong {font-size:18px;}
.lightbg ol {margin:5px 0;padding-left:1em;}
.lightbg li {padding:5px 0;}
@media(min-width:1200px){
	.lightbg {padding: 55px 90px 55px 120px;}
}



body.loan .fp_static_section.section_calc .inner-container {margin-top:0;}
body.loan .mprt-application-btns {margin-top:15px;}

table.tabela-referencji {	border: none;	width: 100% !important;}
table.tabela-referencji td{border:none;padding:10px;}
table.tabela-referencji tr td:first-child {width:20%;vertical-align:top;}
table.tabela-referencji tr td:first-child img {width:100% !important; height: auto !important;}




body#frontend .box3col_cell .news_title h2 {font-size:1.5em;}
body#frontend .box3col_cell .news_content {padding:15px 0;}



/* site section specific rules */
body.mcid_571 .fp_news_date > span {visibility: hidden;}


a#backtotop {width:40px;height:40px;border-radius:10px;line-height:40px;color:#1c1d1f;border-color:#1c1d1f;border-width:2px;background:transparent;}
a#backtotop:hover{background-color:#019a04;border-color:#fff;color:#fff;}




.ref-table {width:100%;table-layout:fixed;max-width:600px;margin:0 auto;}
.ref-table tr td {padding:10px 0;}
.ref-table tr td:nth-child(2) {	text-align: center;}
.ref-table img {max-width:100%;width: auto !important;height:auto!important;max-height:60px;}

/* static box on slider overlay */
#fp_slider_section .overlay {position:absolute;bottom:15px;right:15px;color:white;}



