/* ANY CSS FOR ALL WIDTHS GOES HERE
----------------------------------------------------------- */

#s5_map_canvas img { max-width:none !important;}


/* ALL WIDTHS UNDER 970PX
----------------------------------------------------------- */

@media screen and (max-width: 1016px){

	/* DEFAULT
	----------------- */

	.s5_wrap {
	max-width:94% !important;
	}
	
	.s5_is_display, .s5_is_slide {
	position:relative !important;
	}
	
	.s5_is_slide {
	height:auto !important;
	}
	
	#fontControls {
	display:none;
	}
	
	/* CUSTOM
	----------------- */
	
	body {
	font-size:17px;
	}
	
	.s5_wrap {

	}
	
}


/* TABLET PORTRAIT MODE CSS
----------------------------------------------------------- */

@media screen and (min-width:100px) and (max-width: 1016px){

	
	/* CUSTOM
	----------------- */
	
	.row1_highlight h1 {
	font-size:3.8em !important;
	}
	
}


/* TABLET PORTRAIT MODE CSS - SMALLER TABLETS
----------------------------------------------------------- */

@media screen and (max-width: 750px){

	/* CUSTOM
	----------------- */
	
	#s5_search_wrap {
	display:none;
	}
	
	#s5_social_bar {
	float:left !important;
	top:auto !important;
	margin-top:16px !important;
	}

	
	#s5_logo_wrap {
	margin-top:14px;
	}

}


/* MOBILE LAYOUT CSS
----------------------------------------------------------- */

@media screen and (max-width: 1016px){

	/* 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%;

	}

	#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
	----------------- */
	
	.logos1 {
	float:left;
	width:92%;
	margin-right:4%;
	margin-left:4%;
	}

	.logos2 {
	float:left;
	width:92%;
	margin-top:10px;
	margin-right:4%;
	margin-left:4%;
	}
	
	#s5_right_column_wrap .module_round_box_outer, #s5_left_column_wrap .module_round_box_outer {
	margin-left:22px;
	margin-right:22px;
	margin-bottom:30px;
	}
	
	.slideInfoZone h2 {
	display:none;
	}

}


/* CUSTOM SIZES
----------------------------------------------------------- */

@media screen and (max-width: 1100px){

	#s5_social_bar {
	position:relative;
	width:auto;
	float:right;
	margin-top:-54px;
	}
	
	#s5_facebook, #s5_google, #s5_twitter, #s5_rss {
	margin-bottom:0px;
	margin-left:2px;
	}
	
	#s5_scroll_wrap {
	display:none;
	}

}



@media screen and (max-width: 1016px){
	
	.row1_highlight img {
	width:31%;
	}

	.row1_highlight .row1_text_wrap {
	width:65%;
	}
	
	.tab_left {
	width:100%;
	float:left;
	}

	.tab_right {
	width:100%;
	float:left;
	margin-top:16px;
	}
	
}



@media screen and (max-width: 300px){
	
	.row1_highlight img {
	display:none;
	}

	.row1_highlight .row1_text_wrap {
	width:auto;
	}
	
}


@media screen and (max-width: 480px){
	
	.jdGallery .slideInfoZone p {
	display:none !important;
	}
	
}







@media screen and (max-width: 1016px){

	/* CUSTOM
	----------------- */
	
	#s5_bottom_menu_wrap {
	float:left;
	margin-top:0px;
	padding-top:0px;
	padding-bottom:16px;
	}
	
	#s5_footer {
	float:none;
	padding-bottom:10px;
	}
	
	#s5_bottom_menu_wrap ul.menu li {
	margin-left:0px;
	margin-right:14px;
	}
	

}





/* 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;
	}

}