/* ANY CSS FOR ALL WIDTHS GOES HERE
----------------------------------------------------------- */

/* ALL WIDTHS UNDER 970PX
----------------------------------------------------------- */

@media screen and (max-width: 970px){

	/* DEFAULT
	----------------- */

	.s5_wrap {
	width:100% !important;
	}

	.s5_is_display, .s5_is_slide {
	position:relative !important;
	}

	.s5_is_slide {
	height:auto !important;
	}

	#fontControls {
	display:none;
	}

	/* CUSTOM
	----------------- */

	body {
	font-size:0.9em !important;
	}

	#s5_pos_custom_1 {
	display:none;
	}

	.top_box {
	width:50%;
	}

	.top_boxes .top_box:first-child {
	display:none;
	}

	.success_area_left {
	width:100%;
	}

	.success_area_right {
	padding-top:45px;
	}

	.success_area_right {
	padding-left:18px;
	width:97%;
	}

	.success_area_section {
	padding-left:40px;
	}

	.center_text_button .readon {
	float:none;
	margin:0px;
	}

	.center_text_button br {
	display:block;
	}

	.center_text_button .readon {
	margin-top:30px;
	display:inline-block;
	}

	.center_text_button {
	font-size:1.3em;
	}

	.video_callout h3 {
	font-size:3.2em;
	margin-bottom:28px;
	}

	.video_subtext {
	margin-bottom:28px;
	}

	.trainer_text h3, .module_round_box-centered_large .s5_mod_h3 {
	font-size:2.6em;
	}

	.large_h3 {
	font-size:1.9em;
	}

	.success_area_left h3 {
	font-size:2.5em;
	}

	.success_area_section strong {
	font-size:1.5em;
	}

	#s5_bottom_menu_wrap {
	padding:0px !important;
	padding-top:18px !important;
	float:left;
	}

	#s5_bottom_menu_wrap li {
	margin-left:0px;
	margin-right:22px;
	}

	.s5_wrap_fmfullwidth #s5_nav li {
    height: 39px;
	padding: 19px 0 0;
	}

	.s5_wrap_fmfullwidth #s5_logo_wrap {
	margin-top:17px;
	}

	#s5_search_wrap {
	margin-top:30px;
	}

	.s5_wrap_fmfullwidth #s5_pos_custom_1 {
	margin-top:16px;
	}

	.s5_wrap_fmfullwidth #s5_search_wrap {
	margin-top:20px;
	}

}


/* TABLET PORTRAIT MODE CSS
----------------------------------------------------------- */

@media screen and (min-width:580px) and (max-width: 970px){


	/* CUSTOM
	----------------- */

}


/* TABLET PORTRAIT MODE CSS - SMALLER TABLETS
----------------------------------------------------------- */

@media screen and (max-width: 750px){

	/* CUSTOM
	----------------- */

	.iacf_title {
	font-size:3.5em;
	}

	.class_item {
	width:98% !important;
	margin:0px;
	padding:0px;
	margin-bottom:18px;
	}

	.classes_wrap {
	margin-bottom:-30px;
	}

	.class_row {
	overflow:hidden;
	display:block;
	margin-bottom:0px;
	}

	.trainer_img_wrap {
	width:100%;
	margin-bottom:18px;
	}

	.trainer_text {
	width:100%;
	}

	#s5_pos_custom_1 {
	display:block !important;
	}

	.centered_text {
	font-size:1.3em;
	}

	#s5_menu_wrap {
	display:block !important;
	}

	#s5_menu_inner, #s5_search_wrap {
	display:none;
	}

	#s5_logo_wrap {
	margin-bottom:27px;
	}

	#s5_pos_custom_3 {
	margin-top:0px;
	}

	#s5_custom_3_4_wrap_inner {
	padding-top:50px;
	}

	.jdGallery div.carouselContainer {
	display:none;
	}

	#myGallery {
	max-height:450px !important;
	}

}


/* MOBILE LAYOUT CSS
----------------------------------------------------------- */

@media screen and (max-width: 579px){

	/* DEFAULT
	----------------- */

	#s5_right_column_wrap_inner .s5_float_left, #s5_left_column_wrap_inner .s5_float_left {
	float:none;
	}

	#s5_columns_wrap_inner {
	width:100%;
	}

	#s5_center_column_wrap {
	width:100%;
	left:100%;
	}

	#s5_left_column_wrap {
	left:0%;
	}

	#s5_left_top_wrap, #s5_left_column_wrap, #s5_left_inset_wrap, #s5_left_wrap, #s5_left_bottom_wrap, #s5_right_top_wrap, #s5_right_column_wrap, #s5_right_inset_wrap, #s5_right_wrap, #s5_right_bottom_wrap, #s5_top_row1 .s5_float_left, #s5_top_row2 .s5_float_left, #s5_top_row3 .s5_float_left, #s5_above_columns_inner .s5_float_left, #s5_middle_top .s5_float_left , #s5_middle_bottom .s5_float_left, #s5_below_columns_inner .s5_float_left, #s5_bottom_row1 .s5_float_left, #s5_bottom_row2, .s5_float_left, #s5_bottom_row3 .s5_float_left, #s5_above_body .s5_float_left, #s5_below_body .s5_float_left {
	width:100% !important;
	}

	#s5_center_column_wrap_inner {
	margin:0px !important;
	}

	#s5_left_column_wrap {
	margin-right:0px !important;
	}

	#s5_right_column_wrap {
	margin-left:0px !important;
	}

	.items-row .item {
	width:100% !important;
	padding-left:0px !important;
	padding-right:0px !important;
	margin-right:0px !important;
	margin-left:0px !important;
	}

	/* CUSTOM
	----------------- */

	.top_box {
	width:100%;
	}

	.top_boxes .top_box:first-child {
	display:block;
	}

	#s5_quick_contact_wrap span {
	padding:0px;
	width:100%;
	padding-right:20px;
	}

	.s5_masonwrapinner {
	margin-left:0px !important;
	margin-right:0px !important;
	}

	.s5_mason_it_wrap {
	display:none;
	}

	.bottom_info h3 {
	position:relative;
	width:auto;
	margin-bottom:10px;
	}

	.bottom_info li {
	padding:0px;
	}

	#s5_bread_lang_wrap {
	display:none;
	}

	.class_item_text {
	padding:20px 20px 30px;
	}

	#s5_bottom_row3 {
	padding-left:4px;
	padding-right:4px;
	}

	.iacf_title {
	font-size:2.8em;
	margin-bottom:15px;
	}

	.jdGallery a.readon {
	margin-top:20px;
	}

	#s5_pos_custom_1 {
	display:none;
	}

	#s5_logo_wrap {
	display:block;
	width:100%;
	}

	#s5_pos_custom_1 {
	float:left;
	margin-top:0px;
	margin-bottom:27px;
	}

	#s5_pos_custom_1 .social_icon {
	margin-right:5px;
	margin-left:0px;
	}

}


/* CUSTOM SIZES
----------------------------------------------------------- */


@media screen and (max-width: 1250px){

#s5_nav li, #s5_search_wrap {
margin-left:26px;
}

.iacf_text {
width:100% !important;
max-width:75% !important;
}

.iacf_centered {
width:100% !important;
max-width:1000000px !important;
text-align:center;
}

.top_box_text {
font-size:0.8em;
}

#s5_top_row3_area1 {
background-position:50% 0px !important;
}

}

@media screen and (max-width: 1100px){

.class_item {
width:49%;
}

.class_row {
overflow:hidden;
display:block;
margin-bottom:12px;
}

}


@media screen and (max-width: 970px){

.iacf_text {
width:100% !important;
max-width:1000000px !important;
text-align:center;
}

.iacf_text a.readon {
float:none !important;
display:inline-block;
}

#s5_nav li, #s5_search_wrap {
margin-left:20px;
}

#s5_menu_wrap_inner2 {
padding-left:18px;
padding-right:18px;
}

.s5_scrolltotop  {
margin-right:18px;
}

.jdGallery .slideInfoZone h2, .jdGallery .slideInfoZone p {
padding-left:18px !important;
padding-right:18px !important;
}

.module_round_box_outer {
margin-left:18px;
margin-right:18px;
}

#s5_component_wrap_inner {
padding-left:18px;
padding-right:18px;
}

#s5_footer_area_inner2 {
padding-left:18px;
padding-right:18px;
}

#s5_bread_lang_wrap_inner2 {
padding-left:10px;
padding-right:10px;
}

#s5_bottom_row3 {
padding-left:8px;
padding-right:8px;
}

#s5_bottom_row3 {
margin-left:18px;
margin-right:18px;
}

.s5_masonwrapinner {
margin: 0 9px 18px !important;
}

.s5_masondisplay_container {
margin-left:-9px !important;
margin-right:-9px !important;
}

.s5_mason_loadbutton {
margin-top:25px !important;
}

.module_round_box_outer {
margin-bottom:25px;
}

#s5_component_wrap_inner {
padding-bottom:25px;
}

#s5_pos_custom_6 {
padding-top:50px;
padding-bottom:25px;
}

#s5_pos_custom_4 {
padding-top:25px;
padding-bottom:25px;
}

#s5_top_row1_wrap, #s5_top_row2_wrap, #s5_top_row3_area1, #s5_bottom_row1_wrap, #s5_bottom_row2_wrap, #s5_bottom_row3_wrap, #s5_above_columns_inner, #s5_below_columns_inner, #s5_columns_wrap {
padding-top:50px;
padding-bottom:25px;
}

#s5_bottom_row3 {
padding-top:50px;
padding-bottom:25px;
}

#s5_bottom_row3_wrap {
padding-top:50px;
padding-bottom:50px;
}

.video_callout {
padding-bottom:50px;
padding-top:0px;
}

.module_round_box-centered_large {
padding:0px;
padding-bottom:25px;
}

.large_h3 {
margin-bottom:50px;
}

.s5_tab_show_slides_buttons_bottom {
padding-top:30px;
}

#s5_footer_area1 {
padding-top:30px;
padding-bottom:30px;
}

.bottom_info {
padding-bottom:11px;
}


}




@media screen and (max-width: 900px){

#s5_component_wrap_inner {
padding-bottom:36px;
}

}

