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

.s5_responsive_mobile_present .s5_scrolltotop {
    display: block;}

.s5_responsive_mobile_present #s5_menu_wrap {
	display:block !important;}

#s5_body_padding #s5_responsive_mobile_bottom_bar_outer {
	display:none !important;}

body#s5_body {padding-bottom:0px !important;}

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

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

	/* DEFAULT
	----------------- */

	.s5_wrap {
	width:98% !important;
	}

	.s5_is_display, .s5_is_slide {
	position:relative !important;
	}

	.s5_is_slide {
	height:auto !important;
	}

	#fontControls {
	display:none;
	}

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

}


/* 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
	----------------- */

}


/* 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 {
		overflow: hidden;
	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
	----------------- */

}


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

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

	.leftarrowwrap, .rightarrowwrap {display:none;}

}



@media screen and (max-width: 1300px){
	#s5_search_wrap {display:none;}
}


@media screen and (max-width: 1240px){
	#s5_modpos_5 {width: 40%;}
}



@media screen and (max-width: 1180px){
	.s5_masondisplay_container .item {	width:49.9% !important; 	}
	.s5_masonry_navwrap {	float: none !important;   }

}





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

	.s5_marginright {margin-right:0px;}
	.videocontent, .mejs-container {width:100% !important;max-width:100% !important;}

	.servicesquare_wrap {margin-top: 52px;}

	.servicesquare_wrap {
	margin-left:-12px;margin-right:-12px;}



}



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

	#s5_menu_wrap {
		width: 99% !important;}



}

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

	.s5_pricingpackages {height:0px;}
	.s5-sicon-right-number { padding-left: 0;}
	.tabshow_center {width: 100%;}
	.module_round_box_outer .pages_portfolio {text-align: center;	margin-bottom:50px;	}
	.s5-sicon {float:none;    margin-bottom: 32px;    display: block;}


	#s5_top_row1_area_inner, #s5_top_row2_area_inner, #s5_top_row3_area_inner, #s5_above_columns_inner, #s5_below_columns_inner, #s5_center_area1, #s5_above_columns_inner, #s5_bottom_row2_area_inner, #s5_bottom_row3_area_inner {
		padding-bottom: 90px;		padding-top: 90px;	}

	#s5_mason_load_more {width:100%;}

	#s5_modpos_5 {width: 68%;}

}


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

	ul.s5_masonry_articles {
	float:none !important;
	margin-top:62px !important;}


	ul.s5_masonry_articles li {float:none !important;text-align:center;}


	#s5_quick_contact_wrap span, #s5_quick_contact span.s5_qc_textarea, #s5_quick_contact input, #s5_quick_contact textarea {width:100% !important;}


	#s5_modpos_5 {
	width: 93%;
	padding:33px 0px 22px;
	text-align:center;
	margin:0 auto;
	right:0px;
	left:0px;}

	.s5_downloadapp {height:0px;}
	.images_phone {margin: 70px auto 0;float:none;display:block !important;}

	.jdGallery .slideInfoZone h2, .jdGallery .slideInfoZone p {width:100%;}

}




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



	.s5_wandnletter_right_50, .s5_wandnletter_left_50 {float:none;width:100%;}

}



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

	.s5_masondisplay_container .item {
	width:100% !important; 	}

	.s5_tab_show_next_prev {
	display:none;}

}



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

	#s5_va_accordion_inner {
    padding-right: 0px;}

	.module_round_box .verticalspacing {
	margin-top:80px;}




}



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

	#s5_bottommenu_cright, #s5_logo_wrap, #s5_logo_wrap2, .s5_logo_css img, #s5_footer, #s5_bottom_menu_wrap {
	text-align:center;
	margin:0 auto;
	float:none;}

	#s5_bottom_menu_wrap ul.menu li {
	text-align:center;
	float:none !important;}

	#s5_toprightmenu {
	display:none;}

	#s5_menu_wrap {
    min-height: 45px;}

	#s5_menu_inner {margin-top:0px;}

	.top .s5_tab_show_slide_inner { width: 90%;}

}



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


	.servicesquare.two, .servicesquare.three, .servicesquare.four, .servicesquare.five, .servicesquare.six {
	width:100%;}
	.servicesquare {
	float:none;}
	.servicesquare {
	display:block;}

	.s5_wandnletter_right_inner {padding: 40px 10px;}

	p#description, .mailchimp_signup_form{
	display: table;
    float: none;
    left: 0;
    margin-left: auto;
    margin-right: auto;
    right: 0;
    text-align: center;}

	.s5-news-right {
		text-align: left;}

	.button.mailchimp_signup {
		float:none;
		display:block;
		margin:0 auto;
		text-align:center;
		margin-top:10px;}

	.inputbox.mailchimp_signup {
	width:100%;}


	.jdGallery .slideInfoZone h2, .jdGallery .slideInfoZone p {text-align:center;}
	.jdGallery .slideInfoZone p {	line-height: 32px ;		margin-top: 22px !important;}
	.jdGallery a.readon {display:block !important;	margin-bottom:-25px;padding-top:7px;padding-bottom:7px;}


	#s5_pos_custom_1 .s5_tab_show_slide_inner h1 {    font-size: 2.5em;    line-height: 44px;}

	.s5_pc_center .readon {    display: block;      margin-bottom: -28px;}


}


@media screen and (max-width:420px){
	.jdGallery .slideInfoZone h2 {font-size: 2.4em !important;line-height:47px !important;}
}



@media screen and (max-width:360px){
	.top .s5_tab_show_slides_buttons_bottom {display:none;}
}

