/*team full*/
.ui-dialog-titlebar{
	height:43px;
}
button.ui-state-default, .ui-widget-content button.ui-state-default, .ui-widget-header button.ui-state-default{
	top:71px;
}
.team_categories {
	padding:0;
	margin:0;

	width:100%;
	text-align: center;
	display:block;
}
.team_categories li {
	display: inline-block;
	text-align: center;
	margin: 0 10px 10px 0;
	vertical-align:middle;
}

.team_categories li a {
	background-color: #486aae;
	color: #fff;
	font-family: Tahoma,Arial,sans-serif;
	font-size: 15px;
	/*text-shadow: 1px 1px 1px #486aae;*/
	text-transform: none;
	display: inline-block;
	background-size: contain;
	width: 125px;
	height: 85px;
	line-height: 20px;
	text-align: center;
	display: inline-block;
	vertical-align: middle;
	border: 5px solid #486aae;
	box-sizing: border-box;
	padding: 5px 1px;
	overflow: hidden;
}

.team_categories li a:hover {
	border-color:#009fe3;
}
.team_categories li a.cat_select {
	background-color:#009fe3;
	border-color:#009fe3;
}
.team_categories li a.cat_select:hover {
	border-color:#486aae;
}

.team_profiles li {
	display: inline-block;
	box-sizing: border-box;
}

.team_profiles li a {
	display:block;
	width: 303px;
	height:450px;
	margin: 0 15px 15px 0;
	padding: 10px;
	vertical-align: top;
	box-sizing: border-box;
	border:3px solid white;
	border-radius: 10px;
	overflow: hidden;
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	box-sizing: border-box;
	position:relative;
}

.team_profiles li a:hover {
	border-color: #009fe3;
}
.team_profiles li b {
	display:block;
	/*height: 30px;*/
	line-height: 30px;

	font-family: Pragmatica,Arial,sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size: 1.4rem;
				   
	text-shadow: 2px 2px 2px #fff;
	text-transform: uppercase;
	color: #66686b;
	margin-bottom:0px;
	overflow: hidden;
}

.team_profiles li i {
	display:block;
	height: 25px;
	font-size: 18px;
	font-style: normal;
	color: #009fe3;
	overflow: hidden;
}

.trainer.phone {
	background: #fff url(/img/icon-phone.png) no-repeat 15px center;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	width: 250px;
	height: 50px;
	line-height: 50px;
	font-family: Tahoma,sans-serif;
	font-size: 20px;
	color: #486aae;
	text-indent: 16%;
	margin-bottom: 20px;
	display: inline-block;
	text-align: center;
}
.team_directions li {
	list-style-position: inside;
	margin-left:5px;
}
.team_directions li li {
	margin-left:20px;
}
.service_text h2, .service_text p {
	text-shadow: 1px 1px 1px #fff;
}
.team_profile_text ul:not(.team_categories) li {
	text-shadow: 1px 1px 1px #fff;
}
.yt-play {
	position: absolute;
	background: transparent url(/img/yt-play.png) center center no-repeat;
	background-size: contain;
	cursor: pointer;
	z-index:2;
	/*--width: 150px!important;
	width: calc(var(--width));
	left: calc(50% - var(--width)/2);*/
	width:80px!important;
	height: 60px!important;
	top:75px!important;
	left:435px!important;
}

/*team desctop*/ 
@media only screen and (min-width: 769px) {
	#content span.caption, #content h2.caption {
		margin-bottom: 0;
	}
	#content {
		background-size: auto 1000px;
		background-color: transparent;
		background-repeat:no-repeat;
		background-repeat:repeat-x;
		width: 100%;
		background-position: left calc(50% + 200px) top 0;
		background-repeat: no-repeat;
	}
	body{
		background-size: contain;
		background-size: auto 1000px;
		background-color: #FFF;
		background-position: left calc(50% + 238px) top 32px;
		background-repeat: repeat-x;
	}
	header.fullHeight {
		height:32px;
	}
	.ccom_wrapper {
		background-color:white;
		padding-top:20px!important;
	}
	.team_categories li {
		margin:0 5px 5px 0;
	}
	.team_categories li a {
		width: 86px;
		height: 55px;
		padding: 3px 1px;
		border-width: 2px;
		font-size:12px;
		line-height:14px;
	}
	
	.profile_accounts {
		height: 64px;
		line-height: 64px;
		vertical-align: middle;
	}
	.acc_fb, .acc_inst, .acc_ytb {
		background-repeat: no-repeat;
		background-size: cover;
		width: 48px;
		height: 33px;
		vertical-align: middle;
		position: relative;
		display: inline-block;
		margin-right: 20px;
	}
	.acc_fb {
		width: 30px;
		height: 30px;
		background-image: url(/img/btn_fb_h050.png);
	}
	.acc_inst {
		width: 30px;
		height: 30px;
		background-image: url(/img/btn_inst_h050.png);
	}
	.acc_ytb {
		width: 72px;
		height: 30px;
		background-image: url(/img/btn_ytb_h050.png);
	}
	.btn_video {
		position: relative!important;
		display: inline-block;
		width: 60px!important;
		height: 34px!important;
		vertical-align: middle;
		margin: 0;
		padding: 0;
		margin-right: 45px!important;
		top: unset!important;
		left: unset!important;
	}
	.service_phone p {
		padding:5px 15px!important;
	}
	
	
}

@media only screen and (max-width: 768px) /*and (min-width: 300px) and (orientation:portrait)*/ {
	.profile_accounts {
		/*height: 250px;*/
		line-height: 40px;
		vertical-align: middle;
		text-align: center;
	}
	.acc_fb, .acc_inst, .acc_ytb {
		background-repeat: no-repeat;
		background-size: cover;
		width: 48px;
		height: 33px;
		vertical-align: middle;
		position: relative;
		display: inline-block;
		/*margin-right: 20px;*/
		margin:5px;
	}
	.acc_fb {
		width: 30px;
		height: 30px;
		background-image: url(/img/btn_fb_h050.png);
	}
	.acc_inst {
		width: 30px;
		height: 30px;
		background-image: url(/img/btn_inst_h050.png);
	}
	.acc_ytb {
		width: 72px;
		height: 30px;
		background-image: url(/img/btn_ytb_h050.png);
	}
	.btn_video {
		position: relative!important;
		display: inline-block;
		width: 60px!important;
		height: 34px!important;
		vertical-align: middle;
		margin-right: 20px!important;

		top: unset!important;
		left: unset!important;
		margin: 0;
		padding: 0;
		background-position: left center;

	}


	/*team_mob*/
	.team_categories li {
		margin: 0 5px 5px 0;
	}
	.team_categories li a {
		width: 88px;
		height: 45px;
		padding: 1px 1px;
		border-width: 2px;
		font-size: 12px;
		line-height: 13px;
		border-radius:3px;
		box-sizing:border-box;
		border:1px solid white;
	}
	.team_profiles li {
		width:50%;
		padding:5px 5px;
		box-sizing:border-box;
	}
	.team_profiles li a {
		width: 100%;
		/*height:240px;*/
		height:200px;
		border:none;
		/*background-size: contain;*/
		background-size: cover;
		border-radius:3px;
		margin:0;
	}
	.team_profiles li b {
		display:block;
		width:100%;
		position:absolute;
		bottom:0;
		left:0;
		height:40px;
		font-family: Tahoma,Arial,sans-serif;
		font-weight: 600;
		font-size: 16px;
		text-transform:capitalize;
		line-height: 16px;
		text-shadow: 1px 1px 1px #fff;
		color: #5e5e5e;
		text-align:center;
		padding:5px 10px;
		background-color:rgb(255,255,255,0.7);
		box-sizing:border-box;
	}
	.team_profiles li i {
		height:auto;
		position:absolute;
		width:100%;
		text-align:center;
		top:5px;
		left:0;
		font-family: Tahoma,Arial,sans-serif;
		font-size: 16px;
	}
	.additionalText ul, .additionalText ol {
		padding: 0;
		margin: 0;
		list-style-position: inside;
	}
	
	
	/*team profile*/
	.yt-play {
		position: absolute;
		background: transparent url(/img/yt-play.png) center center no-repeat;
		background-size: contain;
		cursor: pointer;
		z-index:2;
		height: 50px;
		width:80px;
		top:10px!important;
		left:10px!important;
	}
	#content {
		background-size: auto 500px;
		background-color: transparent;
		background-repeat:no-repeat;
		background-repeat:repeat-x;
		width: 100%;
		background-position: center -20px;
		background-repeat: no-repeat;
		
		/*background-position: top;
		background-size: inherit;*/
	}
	#content .mWidth.sectionContent {
		margin-top:85%;
		padding:10px;
		background: linear-gradient(0, rgba(255,255,255,1) 93%, rgba(228,238,240,0))!important;
	}
	#content .mWidth.sectionContent h1 {
		margin-top: 35px;
		text-align:center;
	}
	#content .mWidth.sectionContent .caption {
		display:block;
		text-align:center;
	}
	#content .sectionContent .left {
		width:100%;
		box-sizing:border-box;
		padding:0;
	}

	.service_text {
		/*background-color:#fff;*/
		/*padding:10px;*/
	}

	header.fullHeight {
		height:43px;
	}
	.ccom_wrapper {
		background-color:white;
		padding-top:20px!important;
	}
	.team_categories li {
		/*margin:0 5px 5px 0;*/
		margin:0px;
	}
	.team_categories li a {
		width: 88px;
		height: 45px;
		padding: 1px 1px;
		border-width: 0px;
		font-size:12px;
		line-height:14px;
		border-radius:3px;
		box-sizing:border-box;
		border:1px solid white;
	}
	.team_categories li a.cat_select {
		border-color: #fff;
	}
	.additionalText {
		display:block;
		text-align: left;
		position: relative;
		padding: 10px 20px 10px 20px;
		margin-top: -2px;
	}
	.service_phone {
		position:relative;
		/*padding-top:295px;*/
		margin-bottom:0px;
	}
	.service_phone {
		text-align:center
	}
	.service_phone p {
		text-shadow: 1px 1px 1px #fff;
		color: #5e5e5e;
		font: 15px/22px Tahoma,sans-serif;
		margin:0;
	}
	.trainer.phone {
		border:1px solid #486aae;
		height: 40px;
		line-height: 34px;
		margin-bottom: 3px;
	}

}