body{
	background:#fff;
	font-family:'Open Sans', serif;
	color:#000;
}

body{
    display:-webkit-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:flex;
    -webkit-box-orient:vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    min-height:100vh;
}

main{
    -webkit-box-flex:1 0 auto;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    -webkit-flex: 1 0 auto;
}

.flexboxtweener, .flexboxtweener body {
  height:100%;
}

h1,h2,h3,h4,p{
	color:#000;
}

#header{
	background:url('../images/header-bg.jpg') #fff top center repeat-x;
	min-height:120px;
	width:100%;
	float:left;
	border-bottom:1px solid #afcb08;
}

#header .container .row{margin-bottom: 0;}

#header .logo{
	margin:0 auto;
	width:320px;
	height:120px;
	position:absolute;
	left:38%;
	width:auto;
	max-width:320px;
}

.head_menu_left{
	float:left;
	position:absolute;
	left: 60px;
	top:0;
}

.head_menu{
	float:right;
	position:absolute;
	right: 95px;
	top:0;
}

#slider{
	width:100%;
	float:left;
}

#slider-mobile{
	width:100%;
	float:left;
	display:none;
}

@media only screen  and (max-width: 800px) {
	#slider{width:100%; float:left; display:none;}
	#slider-mobile{width:100%; float:left; display:block;  padding-top:0px;}
}

.social-facebook{
	background:url('../images/social_bg.png') left center;
	height:39px;
	width:40px;
	position:absolute;
	right:0px;
	z-index:2;
	padding:5px 5px 5px 25px;
	overflow:hidden;
/*	top: 220px;*/
	top:140px;
}

.social-yt{
	background:url('../images/social_bg.png') left center;
	height:39px;
	width: 70px;
	position:absolute;
	right:0px;
	z-index:2;
	padding:5px 5px 5px 25px;
	overflow:hidden;
/*	top: 220px;*/
	top:240px;
	text-align: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

.social-yt img {
	width: 100%;
	height: auto;
	max-width: 100px;
}

.social-twitter{
	background:url('../images/social_bg.png') left center no-repeat;
	height:39px;
	width:65px;
	position:absolute;
	right:0px;
	z-index:2;
	padding:5px 5px 5px 20px;
	overflow:hidden;
	top:200px;	
}

.social-twitter:hover{
/*	background: #ececec;*/
}

.social-youtube{
	display:block;
	background:url('../images/social_bg2.png') left center;
	height:39px;
	width:52px;
	position:absolute;
	right:0px;
	z-index:2;
	padding:5px 10px 5px 25px;
	overflow:hidden;
/*	top: 280px;*/
	top:190px;
}

.social-youtube a{
    color:#fff;
    display:block;
    font-size:14px;
    font-weight:bold;
    line-height:15px;
    padding-top:5px;
    text-decoration:none;
    text-transform:uppercase;
    float:left;
    text-align:start;
}

.social-facebook-mobile, .social-youtube-mobile{
	display:none;
}

@media only screen  and (max-width: 480px) {
	.social-facebook-mobile{
		background:url('../images/social_bg.png') left center;
		height:39px;
		z-index:2;
		padding:5px 5px 5px 25px;
		overflow:hidden;
		display:block;
		margin-top:10px;
		text-align:center;
	}
	.social-youtube-mobile{
		display:block;
		background:url('../images/social_bg2.png') left center;
		height:39px;
		z-index:2;
		padding:5px 10px 5px 25px;
		overflow:hidden;
		margin-top:10px;
	}
	.social-youtube-mobile a{
		color:#fff;
		display:block;
		font-size:14px;
		font-weight:bold;
		line-height:15px;
		padding-top:10px;
		text-decoration:none;
		text-transform:uppercase;
		text-align:center;
	}
}


#content{
	background: #fff;
	width: 100%;
	float:left;
}

#content .contact a{
	color: #afcb08;
}

#content hr{
	border-color: #afcb08;
	margin: 27px 0;
}

#content .bigimage{
	overflow: hidden;
}

#content .bigimage img.image-top {
    position: relative;
    right: 0;
    z-index: 0;
    margin-top: -377px;
}

#content .bigimage .grad-top{
	background: url('../images/grad_top.png');
	width: 100px;
	height: 377px;
	position: relative;
	z-index: 2;
	margin-top: 25px;
}

#content .bigimage .grad-bot{
	background: url('../images/grad_bot.png');
	width: 100px;
	height: 377px;
	position: relative;
	z-index: 2;
	float: right;
	bottom: 377px;
}

#content .contnt{
	margin-top: 27px;
	padding:40px 0;
	border-top: 1px solid #afcb08;
	border-bottom: 0px solid #afcb08;
	font-size: 16px;
	min-height: 300px;	
}

#content .contact p{
	color: #6a6b6a;
}

#content a.icon{
	text-decoration: none;
}

#content a.icon.left {
	float: left;
	text-align: center;
}
#content a.icon-home.left {
	float: left;
    margin: 20px 0;
    text-align: center;
    width: 16%;
}

#content a.icon-home-two.left {
	float: left;
    margin: 20px 0;
    text-align: center;
    width: 19%;
}

.home-header-text{text-align:center;color:#afcb07;padding:55px 60px 30px;}
.home-text{padding:0px 60px 30px;}
.home-tekst a {
	color: #afcb07;
	text-decoration: underline;
}
@media only screen  and (max-width: 764px) {
		#content a.icon-home.left {
		float: left;
		margin: 20px 0;
		text-align: center;
		width: 49%;
		max-height:130px;
	}

	#content a.icon-home-two.left {
		float: left;
		margin: 20px 0;
		text-align: center;
		width: 49%;
		max-height:130px;
	}
	h3.home-header-text{text-align:center;color:#afcb07;padding:30px 0px 30px; font-size:21px;line-height:24px;}
	.home-text{padding:0px 0px 30px;}
}

@media only screen  and (max-width: 1000px) {
	#content a.icon.left {
		float: none;
		text-align: center;
	}
}

#content a.icon:hover img{
	opacity: 0.7;
}

#content a.icon.left img{
	width: 60%;
	height: auto;
	margin:0px auto;
	display:block;
}

#content a.icon img{
	border-radius: 50%;
	border: 1px solid #fff;
}

#content a.icon:hover img{
	border: 1px solid #afcb08;
}

#content a.icon span.title{
	background: url('../images/icon_title.png') no-repeat;
	width:202px;
	height:55px;
	display: block;
	padding-top: 16px;
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	margin:0px;
}



#content a.icon-home:hover img{
	opacity: 0.7;
}

#content a.icon-home.left img{
	width: 60%;
	height: auto;
	margin:0px auto;
	display:block;
}

#content a.icon-home img{
	border-radius: 50%;
	border: 1px solid #fff;
}

#content a.icon-home:hover img{
	border: 1px solid #afcb08;
}

#content a.icon-home span.title{
	background: url('../images/icon_title.png') no-repeat;
	width:202px;
	height:55px;
	display: block;
	padding-top: 16px;
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	margin:0px;
}



#content a.icon-home-two:hover img{
	opacity: 0.7;
}

#content a.icon-home-two.left img{
	width: 51%;
	height: auto;
	margin:0px auto;
	display:block;
}

#content a.icon-home-two img{
	border-radius: 50%;
	border: 1px solid #fff;
}

#content a.icon-home-two:hover img{
	border: 1px solid #afcb08;
}

#content a.icon-home-two span.title{
	background: url('../images/icon_title.png') no-repeat;
	width:202px;
	height:55px;
	display: block;
	padding-top: 16px;
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	margin:0px;
}





@media only screen  and (max-width: 1000px) {
	#content a.icon span.title{
		margin:0px auto;
	}
}


#content a.icon:hover strong{color: #fff;}
#content a.icon:hover span.title,
#content a.icon:hover span.title3{
	color: #fff ;
	background: url('../images/icon_title_h.png') no-repeat;
}

#content a.icon span.title2{
	background: url('../images/icon_title2.png') no-repeat;
	width:172px;
	height:55px;
	display: block;
	padding-top: 16px;
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	margin:0px auto;
}

#content a.icon:hover span.title2{
	color: #fff;
	background: url('../images/icon_title2_h.png') no-repeat;
}

.#content a.icon span.title-home{
	width:202px;
	height:55px;
	display: block;
	text-transform: uppercase;
	padding-top: 8px;
	text-align: center;
	font-weight: normal;
	font-size: 12px;
	margin:0px auto;
}
#content a.icon span.title3{
	background: url('../images/icon_title.png') no-repeat;
	width:202px;
	height:55px;
	display: block;
	text-transform: uppercase;
	padding-top: 8px;
	text-align: center;
	font-weight: normal;
	font-size: 15px;
	margin:0px auto;
}

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

}	
	
	
#content a.icon span strong{
	color: #000;
	font-weight: bold;
}

@media only screen and (min-width: 1199px) and (max-width: 1920px) {
	#content .contnt{
		/*min-height: 859px;*/
	}
}

#icons{
	width: 100%;
	float: left;
}

#footer{
	color: #d3d4d3;
	background: #6a6b6a;
	min-height: 115px;
	padding: 20px 0;
	width: 100%;
	float:left;
}

#footer hr{
	margin: 10px 0;
}

#footer a{
	color: #d3d4d3;
	text-decoration: none;
}

#footer a:hover{
	color: #afcb08;
}

#footer span.title{
	color: #afcb08;
	line-height: 20px;
	padding-left: 20px;
	font-size: 14px;
	text-transform: uppercase;
	background-image: url('../images/pasek-stopka.png');
	background-repeat: no-repeat;
	background-position: left center;
}

@media (max-width: 991px) {
	#footer span.title {
		margin-top: 20px;
		padding-bottom: 0
	}
}

.mb-10 {
	margin-bottom: 10px;
}

@media (min-width: 992px) {
	.desktop-h {
	display: none !important; 
	}
}
@media (max-width: 991px) {
	.mobile-d {
		display: block !important;
	}
}

.c-grey {
	color: #d3d4d3 !important;
}

#footer span.input{
	color: #000;
	height: 38px;
	line-height: 38px;
	font-size: 14px;
	width: 180px;
	margin-top:-10px;
	text-transform: uppercase;
	background: url('../images/input-newsletter.png') no-repeat;
}

#footer span.logo a img{
	margin-top:-10px;
	 filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.1 0.1 0.1 0 0 0.1 0.1 0.1 0 0 0.1 0.1 0.1 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 */
	opacity: 1;
}

#footer span.logo a:hover 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%);
	opacity: 1;
}

#footer a.logo, #footer a.logo-first{
	height: 40px;
	width:100px;
	margin-left: 18px;
	float: left;
	background-position: 0px 40px;
	text-indent: -999999px;
	display: block;
	margin-top: -10px;
	background-repeat: repeat-y;
}

@media only screen  and (max-width: 1000px) {
	#footer a.logo{
		height: 40px;
		text-indent: -999999px;
		display: block;
		float:none;
		background-repeat: repeat-y;
		margin:0px auto;
		text-align:center;
	}
	#footer a.logo-first{
		height: 40px;
		text-indent: -999999px;
		display: block;
		float:none;
		background-repeat: repeat-y;
		margin:30px auto 0;
		text-align:center;
	}
}

#footer a.logo:hover, #footer a.logo-first:hover{
	height: 40px;
	background-position: 0px 0px;
}

#footer span{
	float: left;
	padding:0 10px;
	font-size: 20px;
}

.bloczek{
}

.bloczek h4{
	background: url('../images/front-page-bg.png') 50% 0% no-repeat;
	width: 232px;
	height: 55px;
	margin:5px auto;
	position: relative;
	padding:0px;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	font-size: 14px;
}

.bloczek:hover h4{
	background: url('../images/front-page-wybor-bg.png') 50% 0% no-repeat;
	color: #fff;
}

.bloczek h4 a{
	color: #000;
	text-decoration: none;
	font-weight: bold;
	font-size: 17px;
}

.bloczek:hover h4 a{
	color: #fff;
}

.child-block{
	padding: 20px 0;
/*	height:315px;*/
}

.child-block img{
	max-width: 580px;
    max-height: 272px;
    object-fit: cover;
	width: 100%;
	height: auto;
	-webkit-transition: opacity .3s ease-in-out;
    -moz-transition: opactiy .3s ease-in-out;
    -ms-transition: opacity .3s ease-in-out;
    -o-transition: opacity .3s ease-in-out;
    transition: opacity .3s ease-in-out;
}

.child-block:hover img{
	opacity: 0.50;
}

.child-block span.title{
	background: url('../images/child-block_title.png') 15px 0px no-repeat;
	background-image:;
	display: block;
    height: 37px;
    margin-top: -20px;
    padding-top: 20px;
    max-width: 569px;
    width: 100%;
	position: relative;
    text-align: center;
    text-transform: uppercase;
    font-size: 17px;
}

.child-block:hover span.title{
	background: url('../images/child-block_title_h.png') no-repeat;
	background-size: 100%;
	color: #fff;
}

@media only screen  and (max-width: 1000px) {
.child-block span.title{
	display: block;
    margin-top: -20px;
    padding: 10px 0;
	position: relative;
    text-align: center;
    text-transform: uppercase;
    font-size: 17px;
	border:1px solid #afcb08;
	width: 100%; 
	height: auto;
	
	-webkit-transform: skew(-20deg); 
	-moz-transform: skew(-20deg);
	-o-transform: skew(-20deg); 
	background: #fff; }
	
}

.child-block:hover span.title{
	background: url('../images/child-block_title_h.png') no-repeat;
	background-size: 100%;
	color: #fff;
}
}

.child-block a{
	text-decoration: none;
}

.child-block big{
	font-weight: 600;
	font-size: 20px;
}

.child-block.page-104:hover span.title{
	background: url('../images/wzmacniajace_wybor.png') no-repeat;
	text-indent: -9999px;
	overflow: hidden;
}

.child-block.page-118:hover span.title{
	background: url('../images/choreograficzne_wybor.png') no-repeat;
	text-indent: -9999px;
	overflow: hidden;
}

.child-block.page-126:hover span.title{
	background: url('../images/odchudzajace_wybor.png') no-repeat;
	text-indent: -9999px;
	overflow: hidden;
}

.child-block.page-138:hover span.title{
	background: url('../images/bodymind_wybor.png') no-repeat;
	text-indent: -9999px;
	overflow: hidden;
}

.child-block.page-106:hover span.title{
	background: url('../images/tbc_wyb.png') no-repeat;
}

.child-block.page-108:hover span.title{
	background: url('../images/bpu_wyb.png') no-repeat;
}

.child-block.page-110:hover span.title{
	background: url('../images/pupomania_wyb.png') no-repeat;
}

.child-block.page-112:hover span.title{
	background: url('../images/plaskibrzuch_wyb.png') no-repeat;
}

.child-block.page-114:hover span.title{
	background: url('../images/fitbal_wyb.png') no-repeat;
}

.child-block.page-116:hover span.title{
	background: url('../images/pump_wyb.png') no-repeat;
}

.child-block.page-120:hover span.title{
	background: url('../images/step_wyb.png') no-repeat;
}

.child-block.page-122:hover span.title{
	background: url('../images/zumba_wyb.png') no-repeat;
}

.child-block.page-124:hover span.title{
	background: url('../images/dancehallfit_wyb.png') no-repeat;
}
.child-block.page-3926:hover span.title{
	background: url('../images/twerk_wybor.png') no-repeat;
}
/* 232 */
.child-block.page-128:hover span.title{
	background: url('../images/bootcamp_wyb.png') no-repeat;
}

.child-block.page-130:hover span.title{
	background: url('../images/tabata_wyb.png') no-repeat;
}

.child-block.page-132:hover span.title{
	background: url('../images/powertbc_wybor.png') no-repeat;
}

.child-block.page-134:hover span.title{
	background: url('../images/fightcondition_wyb.png') no-repeat;
}

.child-block.page-136:hover span.title{
	background: url('../images/interwaltraining_wybor.png') no-repeat;
}

.child-block.page-140:hover span.title{
	background: url('../images/pilates_wyb.png') no-repeat;
}

.child-block.page-142:hover span.title{
	background: url('../images/jogadynamiczna_wyb.png') no-repeat;
}

.child-block.page-144:hover span.title{
	background: url('../images/aktywnysenior_wyb.png') no-repeat;
}

.child-block.page-146:hover span.title{
	background: url('../images/zdrowykregoslup_wyb.png') no-repeat;
}

.child-block.page-148:hover span.title{
	background: url('../images/stretch_wyb.png') no-repeat;
}

.child-block.page-1093:hover span.title{
	background: url('../images/crosstraining_wybor.png') no-repeat;
}

.child-block.page-958:hover span.title{
	background: url('../images/jumping_wybor.png') no-repeat;
}

.child-block.page-3228:hover span.title{
	background: url('../images/kettlebells_wybor.png') no-repeat;
}

.child-block.page-3233:hover span.title{
	background: url('../images/strong-by-zumba_wybor.png') no-repeat;
}

.child-block.page-3240:hover span.title{
	background: url('../images/deepwork_wybor.png') no-repeat;
}

.child-block.page-3244:hover span.title{
	background: url('../images/smd_wybor.png') no-repeat;
}

.child-block.page-4089:hover span.title{
	background: url('../images/fit-fun_wybor.png') no-repeat;
}

.child-block.page-4080:hover span.title{
	background: url('../images/cross_pocz_wybor.png') no-repeat;
}
.child-block.page-4076:hover span.title{
	background: url('../images/cross_zaaw_wybor.png') no-repeat;
}
.child-block.page-4085:hover span.title{
	background: url('../images/trx_wybor.png') no-repeat;
}



div.referencja{
	margin:10px 0;
}

.referencja div.name{
	background: url('../images/ref-bg.png');
	width: 201px;
	height: 50px;
	text-align: center;
	text-transform: uppercase;
	font-weight: 600;
	padding-top: 5px;
	display: inline-block;
	float: left;
	font-size: 16px;
}

.referencja img{
	float: left;
}

.pagination{
	background: #ececec none repeat scroll 0 0;
	color: #6a6b6a;
	text-align: center;
	padding: 5px 5px;
	text-transform: uppercase;
	font-size: 11px;
}

span#prev,span#next{
	cursor: pointer;
}

span#prev:hover,span#next:hover{
	color: #afcb08;
}

span#prev{
	float: left;
}

span#next{
	float: right;
}

span#pagenumber{
	text-align: center;

}

    @media only screen and (min-width: 1200px) and (max-width: 1920px) {
.icon-menu{
padding-left: 18px;
}
}

.icon-menu img{
	border-radius: 50%;
	border: 1px solid #fff;
}

.icon-menu:hover img{
	border: 1px solid #afcb08;
}

.icon-menu h2{
	background: url('../images/icon-m-title-bg.png') no-repeat;
	max-width: 202px;
	width: 100%;
	background-size: 100%;
	height: 55px;
	float:left;
	font-size:16px;
	font-weight: bold;
	text-align:center;
	line-height:23px;
	margin-top:10px;
	text-transform:uppercase;
	padding-top: 4px;
	margin-top: 20px;
}

.icon-menu:hover h2{
background: url('../images/icon-m-title-bg-h.png') no-repeat;
color: #fff;
}

.icon-menu:hover h2 a{
	color: #fff;
}

.icon-menu h2 a{
	text-decoration: none;
}

.breadcumbs{
	background: #ececec;
	text-transform: uppercase;
	font-size: 12px;
	padding-left: 20px;
	color: #6a6b6a;
	font-family: "PT Sans",​serif;
}

.breadcumbs a{
text-decoration: none;
color: #6a6b6a;
}

.breadcumbs a:hover{
	text-decoration: none;
	color: #afcb08;
}

.wpcf7 p{
	color: #6a6b6a;
	font-size: 14px;
}



.child-block {
	height: 315px;
}

article.post h2.title{
	background: rgba(0, 0, 0, 0) url("../images/post-title-bg.png") repeat-x scroll 0 31px;
	font-size: 20px;
	text-transform: uppercase;
	margin: 20px 0 10px 0;
}


article.post h2.title a:before{
  content: url("../images/left-title.png");
    float: left;
    margin-top: -8px;
}

article.post h2.title a:after{
  content: url("../images/date-left.png");
    float: right;
    margin-top: -8px;
}

article.post h2.title a{
	background: url('../images/center-title.png');
	display: inline-block;
	height: 49px;
	color:#000;
	font-weight: 600;
	text-decoration: none;
	padding-top: 8px;
	float: left;
}

article.post span.post_info{
	color: #fff;
	background: url('../images/date-center.png');
	height: 49px;
	display: inline-block;
	padding: 8px 3px 0 3px;
}

article.post span.post_info:after{
	content: url("../images/date-right.png");
    float: right;
    margin-top: -8px;
    width:13px;
}

article.post span.post_info_category{
	color: #fff;
	background: url('../images/date-center-category.png');
	height: 49px;
	display: inline-block;
	padding: 8px 3px 0 0px;
}

article.post span.post_info_category:before{
	content: url("../images/date-left-category.png");
    float: left;
    margin-top: -8px;
    width:13px;
}
article.post span.post_info_category:after{
	content: url("../images/date-right-category.png");
    float: right;
    margin-top: -8px;
    width:13px;
}

@media only screen  and (max-width: 1100px) {
	article.post h2.title{
		background: rgba(0, 0, 0, 0) url("../images/post-title-bg.png") repeat-x scroll 0 31px;
		font-size: 20px;
		text-transform: uppercase;
		margin: 20px 0 10px 0;
		width:100%;
	}
	article.post h2.title a{
		-webkit-transform: skew(-20deg); 
		-moz-transform: skew(-20deg);
		-o-transform: skew(-20deg); 
		background: #fff;
		border:1px solid #afcb08;
		width: 100%; 
		height: auto;
		display: inline-block;
		color:#000;
		font-weight: 600;
		text-decoration: none;
		padding:5px 0 5px 5px;
		float: left;
	}
	article.post span.post_info{
		color: #fff;
		background: #000;
		height: 49px;
		display: inline-block;
		padding: 8px 0px 0 5px;
		width:100%;
		-webkit-transform: skew(-20deg); 
		-moz-transform: skew(-20deg);
		-o-transform: skew(-20deg); 
	}	
	article.post span.post_info:after{
		content:none;
		float: right;
		margin-top: -8px;
		width:13px;
	}
	
	article.post span.post_info_category{
		color: #fff;
		background: url('../images/date-center-category.png');
		height: 49px;
		width:100%;
		display: inline-block;
		padding: 8px 3px 0 0px;
	}
	
	article.post h2.title a:before{
		content: none;
		float: left;
		margin-top: 0;
	}

	article.post h2.title a:after{
	  content: none;
		float: right;
		margin-top: 0px;
	}	
	.Site-content #content .container .sixteens.columns{width:100%;}
	
	article.post .excerpt a img.attachment-news-thumb.wp-post-image{width:100%}
	
}

article.post{
	padding-bottom: 60px;
	margin-bottom: 60px;
	background: url('../images/separator-post.png') no-repeat scroll center bottom / 100% 21px rgba(0, 0, 0, 0);
}

article.post:last-child{
	background: none;
	padding-bottom: 0;
}

article.post .post p,
article.post .excerpt p{
	padding: 0;
	margin: 20px 0 10px 0;
	font-size: 18px;
	text-align: justify;
}

ul.subpages{
	display: inline-block;
	width: 100%;
}

ul.subpages li{
	list-style: none;
	display: inline-block;
	background: url('../images/subpage-item-bg.png') no-repeat;
	background-size: contain;
	height: 54px;
	font-size: 14px;
	text-transform: uppercase;
	float: left;
}

@media only screen  and (max-width: 1000px) {
	ul.subpages li{
		list-style: none;
		display: inline-block;
		margin-top: 0px auto;
		padding: 0px 0;
		font-size: 14px;
		text-transform: uppercase;
		float: left;
		background:#afcb08;
		line-height:26px;
		border:1px solid #afcb08;
		width: 100%; 
		height: auto;
		
		margin-right:23px;
		-webkit-transform: skew(-20deg); 
		-moz-transform: skew(-20deg);
		-o-transform: skew(-20deg); 
	}
}

.subpages li.current{
	background: url('../images/subpage-item-current-bg.png') no-repeat;
	background-size: contain;
}

@media only screen  and (max-width: 1000px) {
	.subpages li.current{
		background:#fff;
		margin-right:23px;
		-webkit-transform: skew(-20deg); 
		-moz-transform: skew(-20deg);
		-o-transform: skew(-20deg); 
	}
}


.subpages li{
  display: table-cell;
  width: 25%;
  text-align: center;
}

@media only screen  and (max-width: 1000px) {
	.subpages li{	width: 100%;	}
}

ul.subpages li a{
	padding: 0 10px;
	text-decoration: none;
	line-height: 44px;
}

ul.subpages li a big{
	font-weight: 600;
	font-size: 17px;
}

ul.subpages li.current a span.title:hover{
	color:#000;
}

ul.subpages li a span.title:hover{
	color:#fff;
	font-weight: 600;
	font-size: 17px;
}

a.title-box{
	background: url('../images/child-block_title.png') 15px 0px no-repeat;
	background-image:;
	display: block;
    height: 37px;
    margin-top: 20px;
    padding-top: 20px;
    max-width: 569px;
    width: 100%;
	position: relative;
    text-align: center;
    text-transform: uppercase;
    font-size: 17px;
    font-weight: 700;
}


@media only screen  and (max-width: 1000px) {
a.title-box{
	display: block;
    height: 37px;
    margin-top: 20px;
	position: relative;
    text-align: center;
    text-transform: uppercase;
    font-size: 17px;
    font-weight: 700;
    padding: 10px 0;
	float: right;
	z-index: 3;
	line-height:26px;
	border:1px solid #afcb08;
	width: 100%; 
	height: auto;
	max-width:253px;
	margin-right:23px;
	-webkit-transform: skew(-20deg); 
	-moz-transform: skew(-20deg);
	-o-transform: skew(-20deg); 
	background: #fff; }
}

@media only screen  and (max-width: 1199px) {
	.head_menu_left{
		display: none;
	}
	.head_menu{
		display: none;
	}
}

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

.child-block:hover span.title{
	background: #afcb08;
	color:#fff;
	text-indent: 0px;
	width:100%;
	overflow: hidden;
}

.child-block.page-104:hover span.title{
	background: #afcb08;
	color:#fff;
	text-indent: 0px;
	width:100%;
	overflow: hidden;
}

.child-block.page-118:hover span.title{
	background: #afcb08;
	color:#fff;
	text-indent: 0px;
	width:100%;
	overflow: hidden;
}

.child-block.page-126:hover span.title{
	background: #afcb08;
	color:#fff;
	text-indent: 0px;
	width:100%;
	overflow: hidden;
}

.child-block.page-138:hover span.title{
	background: #afcb08;
	color:#fff;
	text-indent: 0px;
	width:100%;
	overflow: hidden;
}

.child-block.page-106:hover span.title{
	background: #afcb08;
	color:#fff;
	text-indent: 0px;
	width:100%;
}

.child-block.page-108:hover span.title{
	background: #afcb08;
	color:#fff;
	text-indent: 0px;
	width:100%;
}

.child-block.page-110:hover span.title{
	background: #afcb08;
	color:#fff;
	text-indent: 0px;
	width:100%;
}

.child-block.page-112:hover span.title{
	background: #afcb08;
	color:#fff;
	text-indent: 0px;
	width:100%;
}

.child-block.page-114:hover span.title{
	background: #afcb08;
	color:#fff;
	text-indent: 0px;
	width:100%;
}

.child-block.page-116:hover span.title{
	background: #afcb08;
	color:#fff;
	text-indent: 0px;
	width:100%;
}

.child-block.page-120:hover span.title{
	background: #afcb08;
	color:#fff;
	text-indent: 0px;
	width:100%;
}

.child-block.page-122:hover span.title{
	background: #afcb08;
	color:#fff;
	text-indent: 0px;
	width:100%;
}

.child-block.page-124:hover span.title{
	background: #afcb08;
	color:#fff;
	text-indent: 0px;
	width:100%;
}
/* 232 */
.child-block.page-128:hover span.title{
	background: #afcb08;
	color:#fff;
	text-indent: 0px;
	width:100%;
}

.child-block.page-130:hover span.title{
	background: #afcb08;
	color:#fff;
	text-indent: 0px;
	width:100%;
}

.child-block.page-132:hover span.title{
	background: #afcb08;
	color:#fff;
	text-indent: 0px;
	width:100%;
}

.child-block.page-134:hover span.title{
	background: #afcb08;
	color:#fff;
	text-indent: 0px;
	width:100%;
}

.child-block.page-136:hover span.title{
	background: #afcb08;
	color:#fff;
	text-indent: 0px;
	width:100%;
}

.child-block.page-140:hover span.title{
	background: url('../images/pilates_wyb.png') no-repeat;
}

.child-block.page-142:hover span.title{
	background: url('../images/jogadynamiczna_wyb.png') no-repeat;
}

.child-block.page-144:hover span.title{
	background: url('../images/aktywnysenior_wyb.png') no-repeat;
}

.child-block.page-146:hover span.title{
	background: url('../images/zdrowykregoslup_wyb.png') no-repeat;
}

.child-block.page-148:hover span.title{
	background: url('../images/stretch_wyb.png') no-repeat;
}

.child-block.page-1093:hover span.title{
	background: url('../images/crosstraining_wybor.png') no-repeat;
}

.child-block.page-958:hover span.title{
	background: url('../images/jumping_wybor.png') no-repeat;
}
}
@media only screen  and (max-width: 480px) {
	#header .menu_container{
		padding: 0 !important;
	}

	#header .menu_container a{
		padding: 0 !important;
		margin: 0 !important;
	}

	.social-facebook, .social-youtube, .social-yt{
		display: none;
	}

	.child-block {
		height: auto;
	}

	.social-twitter{
		display: none;
	}

	#header .logo{
		left: 0;
	}
}

@media only screen  and (max-width: 1100px) {
	.gallery-item{
		margin: 0 50px;
	}
}

@media only screen  and (max-width: 600px) {
	 .gallery-item{
		margin: 0 50px;
	}
}

@media only screen  and (max-width: 480px) {
	.gallery-item{
		margin: 0 42px 0 70px;
	}
}


.panel-grid-cell{float:left;width:50%;}

#gallery-1 .gallery-item{margin:20px 0px !important;}

.mobile-button {
  display: flex;
  justify-content: center;
  text-align: center;
  margin: 15px;
}



.mobile-button img.regular {
  display: block;
}
.mobile-button img.active {
  display: none;
}
.mobile-button:hover img.regular {
  display: none;
}
.mobile-button:hover img.active {
  display: block;
}

#header .menu_container a {
	
font-size: 13px;	
}

#menu-footer_menu #menu-item-6667 a {
	color: #afcb08;
	font-weight: bold;
}

#menu-header_menu2 #menu-item-6673,
#menu-header_menu2 #menu-item-6685 {
	display: none;
}

#menu-header_menu2 #menu-item-6673 a {
	color: #afcb08;
	font-weight: bold;
}

@media only screen  and (max-width: 800px) {
#menu-header_menu2 #menu-item-6673 {
	display: block;
}
}
@media only screen  and (max-width: 800px) {
#menu-header_menu2 #menu-item-6685 {
	display: block;
}
}


#header .menu_container-toggled ul #menu-item-6673 a {
	color: #afcb07;
	font-weight: bold;
}

.mh-0 {
	min-height: 0 !important;
}