/* 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
	----------------- */
	
	.module_round_box_outer, #s5_component_wrap, #s5_center_area .moduletable, .module_round_box_outer-none {
		margin-left: 22px;
		margin-right: 22px;}
	
	#s5_footer {
		float: none;
		margin-right: 0;
		padding-left:12px;
		padding-right:12px;
        text-align: center;}

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


/* 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 {
	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: 1510px){

	.rightarrowwrap, .leftarrowwrap {	
		display:none;}
	
}	



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

	.s5_imagefloatright {
		display:none;}

}

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

	.s5_ourteamareas {
		float:none;
		width: 100% !important;}

}



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

	.s5_testimonialareas {
		float:none;
		width:100% !important;}

	.s5_testimonialareas_inner {
		padding-right:0px !important;}
		
	#s5_search_wrap, .s5_line {
		display:none;}
		
		
	.s5_toprow_right, .s5_toprow_left, .s5_float_left2, .s5_botrow_left, .s5_botrow_right {
		display:block !important;
		width:100% !important;}	
		
	.s5_float_left2 {
		margin-bottom: 100px;}	
		
	.s5_toprow_left, .s5_toprow_right, .s5_botrow_left, .s5_botrow_right {
		padding-bottom:50px;}
		
}


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

	.s5_float_left2 {
		display:block;}
		
	ul.s5_masonry_articles li, ul.s5_masonry_articles{
        float: none !important;}
		
	ul.s5_masonry_articles {
		padding-bottom: 22px !important;
		margin-top: 62px !important;}
		
	ul.s5_masonry_articles li a {
		text-align:center;}
	
}




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

	.s5_consultbutton.calltoaction, .s5_floatleftaction {
		float: none;}
		
}	


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

	#s5_bottom_row3 .s5_mod_h3_outer, #s5_bottom_row3 ul.menu li, #s5_bottom_row3_area1 .s5_outer {
		text-align:center;}
		
	#s5_bottom_row3_area1 .module_round_box_outer {
		margin-bottom:40px;}
		
	.s5_address_right, .s5_address_left {
		float:none;}

}	



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

	.s5_practiceareas {
		float: none;
		width: 100% !important;}
		
	.s5_practiceareas_inner {
		padding-right: 0;}	
		
	#s5_graybackground {
		padding-bottom: 12px;
		height:auto;}
		
	#s5_pos_custom_1 {	
		float: none;
		padding-top: 9px;
		margin-left: 0;
		text-align: center;}
		
	#s5_rightwrap {
		float: none;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
		margin-top: -13px;
		width: 150px;}
			
	
	#s5_logo_wrap {
		float: none;
		margin: 33px auto;
		text-align: center;}		
		
		.s5_logo_css img {
			float: none;}
			
			
	.jdGallery .slideInfoZone h2, .jdGallery .slideInfoZone p {
        float: none;
		text-align: center;
		width: 100%;}
			
	.jdGallery .slideInfoZone p, .jdGallery .slideInfoZone h2 {
		margin-left:0px !important;}
		
}



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

p#description, .mailchimp_signup_form{
	display: table;
    float: none;
    left: 0;
	margin-top: 42px;
    margin-left: auto;
    margin-right: auto;
    right: 0;
    text-align: center;}
	
.inputbox.mailchimp_signup {
	width:auto !important;}
	
.s5-news-right {
	text-align: left;}

.button.mailchimp_signup {
	float:none;
	margin-top:10px;}

}



