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

.s5_responsive_mobile_present #s5_responsive_mobile_bar_active {
font-size: 15px;
height:39px !important;}


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

	.s5_responsive_mobile_present .s5_scrolltotop {display:block;}

}


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

	.jdGallery .carousel .carouselWrapper, .jdExtCarousel .carouselWrapper {
    top: -55px !important;}

}





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


	.jdGallery .carousel .carouselWrapper, .jdExtCarousel .carouselWrapper {
	top: -10px !important;}

	.jdGallery .carousel .carouselWrapper, .jdExtCarousel .carouselWrapper {
    left: auto !important;
    margin: 0 auto !important;
    display: table;
    position: relative !important;
    right: auto !important;}

	.jdGallery div.carouselContainer {
	left: auto !important;
	right: auto !important;}

	.jdGallery .slideInfoZone {
    top: 19% !important;}


}


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

	.s5_wrap {
		width:100% !important;}

	#s5_body_wrap {
		padding-left: 30px !important;
		padding-right: 30px !important;}

	.s5_wrap_fmfullwidth .s5_headwrap {
		padding-left: 258px;
		padding-right: 258px;}


	.jdGallery .slideInfoZone {
	width: 50% !important;}

}




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


	#s5_top_row1_wrap, #s5_top_row2_wrap, #s5_top_row3_wrap, #s5_center_area1, #s5_bottom_row2_wrap, #s5_bottom_row3_wrap, #s5_footer_area2, #s5_above_columns_wrap1, #s5_below_columns_wrap1{
	padding-left: 155px;
	padding-right: 155px;}

	#s5_header_wrap{
	padding-left: 135px;
	padding-right: 135px;}

	.s5_wrap_fmfullwidth .s5_headwrap {
	 padding-left: 258px;
    padding-right: 258px;}

	.s5_custom45 {
	padding-left: 100px;
    padding-right: 100px;}

	#myGallery.jdGallery .slideInfoZone {
	left:130px !important;}

	.jdGallery .slideInfoZone {
	width: 80% !important;}


}


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


#s5_top_row1_wrap, #s5_top_row2_wrap, #s5_top_row3_wrap, #s5_center_area1, #s5_bottom_row2_wrap, #s5_bottom_row3_wrap, #s5_footer_area2, #s5_above_columns_wrap1, #s5_below_columns_wrap1{
    padding-left: 74px;
    padding-right: 74px;}


#s5_header_wrap{
	padding-left: 95px;
    padding-right: 95px;}

	.s5_wrap_fmfullwidth .s5_headwrap {
	padding-left: 126px;
    padding-right: 126px;}

	.s5_custom45 {
	padding-left: 30px;
    padding-right: 30px;}


	#myGallery.jdGallery .slideInfoZone {
	left:88px !important;}




}



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


	#s5_top_row1_wrap, #s5_top_row2_wrap, #s5_top_row3_wrap, #s5_center_area1, #s5_bottom_row2_wrap, #s5_bottom_row3_wrap, #s5_footer_area2, #s5_above_columns_wrap1, #s5_below_columns_wrap1{
		padding-left:0px;
		padding-right:0px;}

	#s5_header_wrap{
		padding-left:0px;
		padding-right:0px;}

	.s5_wrap_fmfullwidth .s5_headwrap {
		padding-left: 3%;
		padding-right:3%;}

	.s5_custom45 {
		padding-left:0px;
		padding-right:0px;}

	#myGallery.jdGallery .slideInfoZone {
		left:5% !important;}


	.leftarrowwrap, .rightarrowwrap {
		display:none;}


	.module_round_box, .module_round_box_outer, #s5_component_wrap, #s5_center_area .moduletable, .module_round_box_outer-none {
    margin-left: 0px !important;
    margin-right: 0px !important;}

	#s5_component_wrap_inner {
	padding-left:0px;}


}


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

#s5_bottom_row3_area2 {
	padding-left:20px;
	padding-right:20px;}

#s5_footer {
    float: none;
	text-align: center;}

#s5_bottom_menu_wrap {
	padding-bottom: 40px;}

#s5_bottom_menu_wrap {float:none !important;}

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


}



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


	#s5_bottom_row3_inner .module_round_box_outer {
		padding-bottom:20px;}

	#s5_pos_custom_1 {
		float: none;
		clear: both;
		text-align: center;}

	#s5_menu_wrap {height:auto;}

	#s5_pos_custom_2 {
		margin-top: 20px;}

	.jdGallery .carousel .carouselInner .thumbnail, .jdExtCarousel .carouselInner .thumbnail {
    height: 83px !important;
	width: 128px !important;}



}

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

	.s5_wandnletter_left_50, .s5_wandnletter_right_50 {width:100%;float:none;}
	#s5_featurednews {background:#272727 !important;	}

	.s5_mod_news2_left {
    float: none;
    width: 100% !important;
    margin-bottom: 32px;
	display:block;
    height: 270px !important;}

}



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

	.module_round_box.largettitle_black h3.s5_mod_h3{
    margin-bottom: 70px;
    text-align: center;}

	.mailchimp_width { width: 83%;}

	.s5_masonry_navwrap {float:none;}

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

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

	.firstitem .s5_mason_abi_wrap_inner { width: 100%;}

	#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: 80px;
    padding-top: 80px;}

	.blog-featured .pull-left {
    width: 100%;
    margin-top: 16px;
    float: none;}

	#s5_component_wrap_inner .blog-featured h2.item-title, #s5_component_wrap_inner .blog-featured h1.item-title, .blog-featured .article-info {
	margin-left:0px;}

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



}



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

	#s5_logo_wrap {
	display:table;
	float:none;
	padding-top:0px;
	margin:0 auto;
	text-align:center;}

	#s5_pos_custom_2_inner, #s5_pos_custom_2 {display:none;}

	.jdGallery .carousel .carouselInner .thumbnail, .jdExtCarousel .carouselInner .thumbnail {
    height: 53px !important;
    width: 88px !important;}

	.jdGallery .carousel .carouselWrapper, .jdExtCarousel .carouselWrapper {
    top: 30px !important;}

	#s5_header_wrap {padding-bottom: 32px;}

	.s5_m_articles .s5_masonry_img_wrap, .s5_m_introarticle .firstitem .s5_masonry_img_wrap {
		height:310px;	}

	.s5_masoncat, .s5_mason_it_wrap  {display:none;}


}




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

	.inputbox.mailchimp_signup {width: 44%;}

	#s5_body_wrap {
		padding-left:15px !important;
		padding-right:15px !important;}

	.s5_wandnletter_left_50 {
		padding-left:0px;}



}






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


	.module_round_box.largettitle_white, .module_round_box.padding {padding:10px !important;}

	.mailchimp_width { width: 100%;}

	.jdGallery .carouselContainer .carousel {display:none;}

	.jdGallery .slideInfoZone h2, .jdGallery .slideInfoZone {text-align:center;}

	#myGallery.jdGallery .slideInfoZone {
		left:auto !important;
		right:auto !important;}

	.jdGallery .slideInfoZone {width:100% !important;}

	.jdGallery a.readon {margin: 0 auto;}

	#s5_bottom_row3_area1 .s5_mod_h3_outer{
	text-align:center;	}

	#s5_bottom_row3_area1 ul li {
	text-align:center;	}

	#s5_bottom_row3_area1 .footerlogo {
    text-align: center;
    padding-bottom: 33px;
    margin: 0 auto;
    display: table;}

	.s5_addresswrap, .tagspopular {
	display:table;
	text-align: center;
	margin: 0 auto;}

	.tagspopular  a, .tagspopular li a {
	text-align:center;
	float:none;}

	#s5_bottom_row3_area_inner {
	padding-bottom:30px;}
}


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



	.s5_iacf_wrap {display:none;}
	.jdGallery .slideInfoZone p {border-bottom:none !important;}

	.firstitem .s5_masonry_articletitle {
	font-size: 1.8em !important;
    line-height: 28px !important;
    margin-bottom: -12px !important;}

}


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

	.s5_m_articles .s5_masonry_img_wrap, .s5_m_introarticle .firstitem .s5_masonry_img_wrap {
		height:210px;
	}

}


