/* ANY CSS FOR ALL WIDTHS GOES HERE
----------------------------------------------------------- */

#s5_responsive_mobile_sidebar_inner2 h3.spacerlink {display:none !important;}


#s5_body_padding #s5_responsive_mobile_bottom_bar_outer {
	display:none !important;}

/* ALL WIDTHS UNDER 970PX
----------------------------------------------------------- */

@media screen and (max-width: 970px){

	/* DEFAULT
	----------------- */

	.s5_wrap {
	width:97% !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 {
	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: 1210px){

		.blogpages .s5_masonry_img_wrap img {
		bottom: 0;}


}



@media screen and (max-width: 1050px){

	#s5_mason_load_more {
		width:35%;}
	
	ul.s5_masonry_articles {
		float: none;
		left: 0;
		text-align: center;
		width: 100% !important;}
		
	ul.s5_masonry_articles li {
		margin-bottom:13px;
		right:0px;}
		
	
	#s5_masonry_navwrap {
		display: table;
		float: none;
		margin-left: auto;
		margin-right: auto;
		margin-top: 57px;}	

	
}

@media screen and (max-width: 1100px){


	.s5_articlewidth {
       width: 100% !important;}

	.s5_ap_padding_inner {
		padding: 55px;}

	.module_round_box.right-padding {
		margin-right: 0;}
		
	.module_round_box.top-padding {
		margin-top: 80px;}	
}

@media screen and (max-width: 1090px){

	.testimonial_left, .testimonial_right {
		float:none;
		width:100%;}

	.testimonial_left {
		margin-bottom:110px;}	
	 
	 .testimonial_left .testimonial_padding {
		padding-right: 0px !important;}

}


@media screen and (max-width: 830px){

	#s5_footer_area2 .s5_logo_wrap {
		margin-bottom:30px;}

	.s5_logo_wrap {
		display: table;
		float: none;
		margin: 0 auto;
		padding:0px;
		text-align: center;}
		
	#s5_search_wrap {
		display:none;}
		
	#s5_footerright, #s5_bottom_menu_wrap {
		float: none !important;	}
		
	#s5_footer, #s5_bottom_menu_wrap {
		float: none;
		margin-bottom: 12px;
		text-align: center;
		width: 100%;}
		
	#s5_bottom_menu_wrap ul.menu li a {
		background:none;}
		
	#s5_bottom_menu_wrap ul.menu li {
		float:none;
		text-align:center;}
		
	#s5_footer_area_inner {
		padding-bottom:0px;}
		
	#s5_bottom_menu_wrap {
		padding-bottom: 40px;}
	
		
}


@media screen and (max-width: 820px){

		
	.blogpages .s5_masonry_img_wrap {
		height: 335px;}	

	.pager li.next a  {
		-moz-border-radius:0px;
		-webkit-border-radius:0px;
		border-radius:0px;
		-webkit-box-shadow: none; 
		box-shadow:none;
		-moz-box-shadow: none;
		margin-top:0px;
		border:1px solid #000;
		position:relative;}
		
	.pager li.previous a  {
		-moz-border-radius:0px;
		-webkit-border-radius:0px;
		border-radius:0px;
		-webkit-box-shadow: none; 
		box-shadow:none;
		-moz-box-shadow: none;
		margin-top:0px;
		border:1px solid #000;
		position:relative;}


}


@media screen and (max-width: 800px){

	.s5_ap_left_50, .s5_ap_right_50 {
		width:100%;
		float:none;}
		
	.s5_hidelowerres {
		display:none;}
		
	.s5_test_right_50 {
		background:none;}
		
	.s5_custom_test_outter, .s5_custom_ap_outter{
		height:auto !important;}
		
	.s5_test_left_100 {
		position:relative !important;}
		
	.s5_ap_padding_inner {
		padding: 50px 5px;}	


}

@media screen and (max-width: 665px){

	.blogpages .s5_masonry_img_wrap {
		height: 280px;}	
}



@media screen and (max-width: 625px){

	
	.blogpages .s5_masonry_img_wrap img {
		bottom: 0;}
		
	.blogpages .s5_masonry_img_wrap {
		height: 235px;}	

	#s5_mason_load_more {
		width:50%;}
		
	.s5_boxedborder {
        padding: 30px !important;}	

}

@media screen and (max-width: 475px){

	.blogpages .s5_masonry_img_wrap {
		height: 180px;}	

	#s5_quick_contact_wrap input, #s5_quick_contact_wrap textarea {
		width:100% !important;}

	#s5_qc_namebox_span, #s5_qc_emailbox_span, #s5_qc_field1box_span, #s5_qc_field2box_span 	{
		float:none;}
	

	#s5_mason_load_more {
    width: 100%;}

}

@media screen and (max-width: 366px){

	.blogpages .s5_masonry_img_wrap {
		height: 130px;}	

}


@media screen and (max-width: 360px){

	.s5_highlightline { border-left: none !important;  padding-left: 0px !important;}


	.s5_highlightfont.largefont {font-size: 1.8em;line-height: 33px;}

	.s5_masondate, .s5_masoncat {display:none;}
	
	.s5_masonry_articletitle, .s5_masondate { top: 40% !important;}

}







