/* ANY CSS FOR ALL WIDTHS GOES HERE
----------------------------------------------------------- */

@media screen and (min-width:1300px) {
#s5_pos_custom_1 {
min-height:418px;
}
}

/* ALL WIDTHS UNDER 970PX
----------------------------------------------------------- */

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


#s5_social_bar {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    float: right;
    margin-top: -11px;
    /*position: relative;*/
    right: 0px;
    width: 116px;
}
#s5_facebook, #s5_google, #s5_rss, #s5_twitter {
    border: medium none;
    float: left;
}

#s5_menu_wrap_shadow
{background-image:none;} }
@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_wrap {
	width:96% !important;
	}
	
	#s5_body_padding {
	padding-top:15px;
	}
	
	#newsletter_wrap .button {
	width:24% !important;
	}
	
	#s5_footer {
	width:100%;
	margin-bottom:12px;
	text-align:center;
	}
	

	
	#s5_bottom_menu_wrap {
	width:100%;
	text-align:center;
	}
	
#s5_social_bar {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    float: right;
    margin-top: -11px;
    /*position: relative;*/
    right: 0px;
    width: 116px;
}
#s5_facebook, #s5_google, #s5_rss, #s5_twitter {
    border: medium none;
    float: left;
}
	
}


/* TABLET PORTRAIT MODE CSS
----------------------------------------------------------- */

@media screen and (min-width:751px) and (max-width: 835px){

	
	/* CUSTOM
	----------------- */
	#s5_pos_language {font-size:0.65em;}
	#s5_nav li a {font-size:0.65em;}
}


/* TABLET PORTRAIT MODE CSS - SMALLER TABLETS
----------------------------------------------------------- */

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

	/* CUSTOM
	----------------- */
	
	#sme_twitter_sidebar, #sw_facebook_display {display:none;}
	
		.cat_child {width:49% !important;
}
	table.about {
	display:block;
	}
	
	table.about td {display:block;}
	.moduletable-dark1 {margin-left:0px;
	width:auto; min-width:0px !important;}
	
	.jdGallery .slideInfoZone
{
	background-image: none !important;
}
	
	
	.blog-featured {margin-top:15px;}
		.module_round_box-dark1:before, .module_round_box-highlight1:before
{display:none;}
	.slideInfoZone {
	width:80% !important;
	}
	#s5_pos_custom_2 {
	display:none;
	}
		#s5_social_bar {
	padding-bottom:0px;
	padding-left:1px;
	}
#s5_left_wrap .module_round_box_outer, #s5_right_wrap .module_round_box_outer, #s5_pos_custom_4 .module_round_box_outer {margin-left:21px;}

#s5_pos_language {
	display: block;
	float:left;
    height: auto;
    padding-bottom: 30px;
    padding-top: 15px;
    position: relative;
    text-align: center;
    width: 100%;}
	
#s5_columns_wrap, #s5_bottom_row3_area1, #s5_footer_area_inner, #s5_pos_custom_1 {float:left;}
#s5_bottom_row3_area1 {width:100%;}
#s5_pos_custom_1  {min-height:0px !important;}

	.request_call .highlight_button {
    float: none;
    margin-top: 14px;
}

.request_call_left, .request_call_right {
    float: left;
    margin: 0;
    text-align: center;
    width: 100%;
}
.request_call_left {
padding:0 0 15px 0;}

	.request_call2 .highlight_button {
    float: none;
    margin-top: 14px;
}

.request_call_left2, .request_call_right2 {
    float: left;
    margin: 0;
    text-align: center;
    width: 100%;
}
.request_call_left2 {
padding:0 0 15px 0;}

#s5_footer_area1 {padding-right:0px !important; float:left;}

}


/* MOBILE LAYOUT CSS
----------------------------------------------------------- */

@media screen and (max-width: 380px){
	
	.page-header h2, .page-header h1 {padding:15px; line-height:normal; height: auto;
}

}

@media screen and (max-width: 480px){
	
	.page-header h2:before, .page-header h1:before {display:none;}	
	.page-header h2, .page-header h1 {padding:15px; line-height:60px; height: 60px; display:block; position:relative;
}
}

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

	/* DEFAULT
	----------------- */
	.cat_child {width:100% !important;
}

	
	blockquote p {font-size:14px;}
	
	#s5_component_wrap ul.ul_tick {
    line-height: 21px;
    list-style-type: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
	    -moz-column-count: 1;
    -moz-column-gap: 0px;
    -webkit-column-count: 1;
    -webkit-column-gap: 0px;
    column-count: 1;
    column-gap: 0px;
	}
	
	div[itemprop="articleBody"] h3 {display:none;}
	
	.page-header h2, .page-header h1 {font-size:1.1em !important;}

	#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
	----------------- */
	
	.slideInfoZone {
	display:none;
	}
	
	.cust_quote_text_wrap {
	width:auto;
	float:none;
	padding:6%;
	}

	.cust_quote img {
	width:auto;
	float:none;
	}
	
	#s5_social_wrap {
	float:left;
	clear:both;
	margin-top:8px;
	margin-left:0px;
	}
	
	#s5_social_wrap div {
	margin-left:0px;
	margin-right:5px;
	}
	
	#s5_pos_language {
	/*margin-top:-22px;*/
	}
	
	#s5_columns_wrap, #s5_pos_custom_1 {
		float:left;}
	#s5_pos_custom_1 {min-height:inherit;}
	#s5_left_wrap .module_round_box_outer, #s5_right_wrap .module_round_box_outer, #s5_pos_custom_4 .module_round_box_outer {margin-left:21px;}
	.module_round_box_outer {margin-right:21px;}
	
	/*#s5_footer_area_inner {width:100%;}*/
	
	.request_call .highlight_button {
    float: none;
    margin-top: 14px;
}

.request_call_left, .request_call_right {
    float: left;
    margin: 0;
    text-align: center;
    width: 100%;
}
.request_call_left {
padding:0 0 15px 0;}

	.request_call2 .highlight_button {
    float: none;
    margin-top: 14px;
}

.request_call_left2, .request_call_right2 {
    float: left;
    margin: 0;
    text-align: center;
    width: 100%;
}
.request_call_left2 {
padding:0 0 15px 0;}
	
	#s5_button_frame ul li {
	width:100% !important;
	height:auto !important;
	margin:0px;
	text-indent:0px;
	margin-bottom:6px;
	}
	
	#s5_button_frame ul li a {
	color:#FFFFFF !important;
	padding:6px;
	}
	
	#s5_button_frame {
	float:none;
	margin:0px;
	margin-bottom:20px;
	}
	
	.jdGallery .slideElement {
	background-size:105% !important;
	}

}


/* CUSTOM SIZES
----------------------------------------------------------- */

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


	
	#s5_component_call_wrap {
	width:100% !important;
	float:none;
	}

}

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

	#s5_right_column_wrap_inner, #s5_component_wrap_inner, #s5_left_column_wrap_inner {
	/*padding-right:21px;
	padding-left:21px;*/
	}
	
	#s5_middle_bottom_wrap, #s5_middle_top_wrap {
	padding-left:21px;
	padding-right:0px;
	padding-bottom:0px;
	}
	
	#s5_component_wrap_inner {
	padding-top:0px;
	/*padding-bottom:21px;*/
	margin-right:21px;
	}
	
}

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

	#s5_bottom_row3 .module_round_box_outer {
	margin-bottom:10px;
	}
	
}


/* S5 BOX
----------------------------------------------------------- */

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

	#colorbox {
	width:50% !important;
	height:auto !important;
	}
	
	#cboxWrapper {
	width:100% !important;
	}
	
	#cboxContent, #cboxLoadedContent {
	width:100% !important;
	height:auto !important;
	}
	
	#colorbox {
	left:25% !important;
	width:50% !important;
	height:100% !important;
	top:25% !important;
	}
	
}

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

	#cboxOverlay, #colorbox {
	display:none !important;
	}
	
}












/* SINGLE COLUMN FOR SMALL TABLETS - THIS IS ONLY USED FOR IE7 AND IE8. THE CLASS IS SET WITH JAVASCRIPT FOR IE ONLY
----------------------------------------------------------- */

@media screen and (max-width: 750px){
	
	.s5_ie_single_column #s5_right_column_wrap_inner .s5_float_left, .s5_ie_single_column #s5_left_column_wrap_inner .s5_float_left {
	float:none  !important;
	}

	.s5_ie_single_column #s5_columns_wrap_inner {
	width:100%  !important;
	}

	.s5_ie_single_column #s5_center_column_wrap {
	width:100%  !important;
	left:100%  !important;
	}

	.s5_ie_single_column #s5_left_column_wrap {
	left:0%  !important;
	}
	
	.s5_ie_single_column #s5_left_top_wrap, .s5_ie_single_column #s5_left_column_wrap, .s5_ie_single_column #s5_left_inset_wrap, .s5_ie_single_column #s5_left_wrap, .s5_ie_single_column #s5_left_bottom_wrap, .s5_ie_single_column #s5_right_top_wrap, .s5_ie_single_column #s5_right_column_wrap, .s5_ie_single_column #s5_right_inset_wrap, .s5_ie_single_column #s5_right_wrap, .s5_ie_single_column #s5_right_bottom_wrap {
	width:100% !important;
	}
	
	.s5_ie_single_column #s5_center_column_wrap_inner {
	margin:0px !important;
	}
	
	.s5_ie_single_column #s5_left_column_wrap {
	margin-right:0px !important;
	}
	
	.s5_ie_single_column #s5_right_column_wrap {
	margin-left:0px !important;
	}
	
	.s5_ie_single_column  .items-row .item {
	width:100% !important;
	padding-left:0px !important;
	padding-right:0px !important;
	margin-right:0px !important;
	margin-left:0px !important;
	}

}