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

	#header {height:155px;}
	#logo {
		background:url(../images/structure/logo-480.jpg) no-repeat;
        /*top:25px;*/
        text-align: center;
    }

    /* Hide the events links since it's present int he menu at this point */
    #social a#membersbutton { display: none; }

	#logo img {width:339px !important; height:131px !important;}
	#nav {
		display:none; height:auto; text-align:left; width:100%; border-top:0px; border-bottom:15px solid #fff; top:186px; z-index:999999999999; background:#f9f9f9;
		right: auto;
	}

	#nav li {
		width: 100%;
	}

	#nav li#nav-members { display: inline-block; } /* Only show in mobile menu */

	#nav a {display:block; line-height:24px; padding:7px 10px; font-size:20px; border-bottom:2px solid #fff;}
	#nav a:hover {background:#AB261D; color:#fff;}
	#nav .first {padding:7px 10px;}
	#nav .last {padding:7px 10px;}
	#nav .team-link {display:block; padding:7px 10px;}
	#nav .contact-link {display:block; padding:7px 10px;}
	/*
        #social {width:auto;top:0px; margin:0px; left:auto; right:0px; padding:0px 0px 0px 0px;}
        #social a {display:inline-block; margin-left:0px; margin-right:0px; padding:6px 5px; background:#fafafa;}
    */

	#searchform {top:44px; width:244px; width: calc(100% - 40px); height:34px; margin:0 0; left: 0; }
	#searchform input[type=text] {line-height:34px; height:34px;}

	#social {
		/* display: none; */
	}

	#menu {
		display:block;
		position:absolute;
		width:39px;
		height:39px;
		top:48px;
		/*
        left:50%;
        margin-left: -325px;
        */
	}

	#menu a {display:block; line-height:39px; background:url(../images/structure/menu.png) no-repeat; background-position: 0px 0px;}
	#menu a:hover {opacity: 0.8; -webkit-transition: all 0.4s ease-in-out; -moz-transition: all 0.4s ease-in-out; -o-transition: all 0.4s ease-in-out; transition: all 0.4s ease-in-out;}
	#menu .active {text-decoration:none; background-position: 0px -39px;}




	.complexItem, .complexItem2 {min-height:380px;}
	.complexItem-search {min-height:520px !important;}
	div.complexItem:nth-child(n+12) { min-height:380px;}
	div.complexItem-search:nth-child(n+12) { min-height:520px !important;}

	.complexItem,
	.complexItem2 {
		/* width: 43.5%; */
		width: 48.3%;
		width: calc(50% - 9px);
	}

	article:nth-of-type(2n) {
		margin-right: 0;
	}


	.complexItem3 {width:50%; min-height:450px;}

	#titlebox h1 {line-height:36px;}

	/*.postBox img {max-height:160px;}
    .doggyRight img {max-height:80%;}*/

	.sharethis-top {
		float: none;
		margin-left: auto;
		margin-right: auto;
	}

	.side-ad {
		text-align: center;
	}

	.doggybox {
		/* width: 280px; */
		margin-left: auto;
		margin-right: auto;
	}

	.featured-area,
	.featured-area article.postBox {
		margin-right: 0;
		width: auto;
	}

	.page-template-template-members .gbox-img-hover-wrmarginmsm {
		margin: 0 0 2% !important
	}

	.page-template-template-members .gbox-img-hover-wrap {
		/* width: 100%; */
		width: 100% !important;
	}

	.page-template-template-members #content.members .gbox-img-hover-wrap img {
		/* width: calc(100% - 15px); */
	}

}

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

	body.home #content,
	body.home #footerbox {
		width: 100%;
	}

	.postBoxes article {
		/* width: 48%; */
		width: 47%;
		width: calc(50% - 10px);
	}

	body #SFctr #SFevtinftop #SFevtinfimg {
		float: none !important;
		margin-right: 0px !important;
		width: 100% !important;
	}

	body #SFctr #SFevtinfdtl {
		float: none;
		width: 100%;
	}

}

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

	#header #social {
		margin-top: 120px;
		text-align: center;
		width: 100%;
	}

	.page-template-template-members #header #social {
		margin-top: 95px;
	}

	#header #social .subscribe-button {
		display: none;
	}

	body #SFpne {
		width: 100%;
	}


}

@media only screen and (max-width: 647px) {
	body #SFctr .SF1 #SFevtlst .SFevt {
		padding: 0 0 20px 0;
	}

	body #SFctr .SF1 #SFevtlst.SFevtlgo .SFevtinf {
		margin: 0 15px 10px;
	}

}

@media only screen and (max-width:610px) {
	.complexItem3 {min-height:390px;}
}

@media (max-width: 665px) {
	#signup-mobile {
		display: block;
	}
}
