/********* BODY *********/
body {background: #fff; color:#000; font-size: 1em; line-height:1.6; font-family: 'Open Sans', Arial, Helvetica, sans-serif; margin: 0px auto 0px; padding: 0px; overflow-wrap: break-word;}

/****HEADINGS**********/
h1, h2, h3, h4, h5, h6 { color:#444; font-weight:600; line-height:1.2; margin:0px 0px 5px 0px; }h1 { font-size:1.8em; } h2 { font-size:1.6em; } h3 { font-size:1.4em; } h4 { font-size:1.2em; } h5 { font-size:1.0em; } h6 { font-size:1.0em; }
/*****PRE-WRAP, CSS MENU, and LOGO HANDLING **************/.prewrap {background: #fff; 	color: #000; 	font-size:.8em; 	width: 100%; 	margin: 0px; 	padding: 20px 0px; 	text-align:center;	min-height:10px;	position:fixed;	top:0;	z-index:10;	border-bottom: 1px solid #ccc;}
.prewrap a, .prewrap a:visited, .prewrap a:hover {color: #FFF;}
.prewrap-spacer {
	width:100%;
	height:84px;
}

.header-spacer {
	height:30px;
}

.hero-image {
	background: #333 url("https://www.oneprojectcloser.com/wp-content/uploads/2017/03/tbh-hero-img-fixed-4.jpg") center top no-repeat ;
	height: 750px;
	width:100%
}

.hero-call-to-subscribe {
	height:345px;
	margin: 0px auto 0px;
	width:250px;
}

.hero-call-to-subscribe img {
	margin-top:120px;
}

.subscribe-box {
	position:relative;
	background: rgb(255, 215, 231);
	width:950px;
	margin: 160px auto;
	height:auto;	
	overflow:hidden;
	border: 10px #fff solid;
}

.subscribe-header {
	padding: 20px 20px;
}

.subscribe-header img {
	margin-right: 20px;
	float:left;
	border-radius:75px;
}
.subscribe-header h2 {
	display:block;
	padding-top: 0px;
	margin-bottom:15px;
	text-transform:uppercase;
}
.subscribe-text {
	font-size: 1.35em;
	line-height: 1.6em;
	color: #444;
}
.subscribe-form {
	margin: 0px 2.5%;
	padding: 15px 2.5%;
	width:90%;
	background: #ccc;
	border-radius:10px;
	text-align:center;
}
.subscribe-social {

	height: auto;
	width:100%;
	background:#d068bd;
	margin-top:20px;	
	overflow:hidden;

}

.hp-section-one h2, .hp-section-two h2, .hp-section-three h2, .hp-section-four h2 {
	color: #444;
	margin: 0 auto 30px 0;
	font-size:2.5em;
	clear:both;
	text-align:center;
	text-transform:uppercase;
}

.hp-section-one {

	padding: 200px 0px 40px 0px;
	width:100%;
	background: #fff;
	overflow:hidden;
	height:auto;
}

.hp-section-two {
	padding: 40px 0px;
	width:100%;
	overflow:hidden;
	background: #fff3f3;
	height:auto;

}
.hp-section-three {
	padding: 40px 0px;
	width:100%;
	overflow:hidden;
	height:auto;
}

.hp-section-four {
	padding: 0px 0px 20px 0px;
	width:100%;
	overflow:hidden;

	height:auto;
}
.hp-section-five {
	padding: 40px 0px;
	width:100%;
	overflow:hidden;

	height:auto;
}
.hp-footer {
	width:100%;
	background: #d068bd;
	padding:20px 0;
	color: #fff;
	text-align:center;
	padding: 5px 0px 5px 0px;
}

.hp-footer a {
	color:#fff;
	}

.footer-social {
	width:200px;
	margin: 0 auto;
	}

.footer-social img{
	max-width:33px;
	}

.smalllogo {
	position: absolute;
	left:0;
	right:0;
	top:0px;
	z-index:1000;
	width:250px;
	margin: 10px auto 0px;	
}
.smalllogo img {
	max-width:none;
}

.sb_subscribe_top {
	width:100%;
	background-color: #d068bd;
	color:#fff;
	padding: 10px 0px 0px 0px;
	font-size:1.5em;
	font-family:'Impact';
	line-height:1.2em;
	text-align:center;
	text-transform: uppercase;
	
}
.sb_subscribe_arrow {
	border-left: 170px solid transparent;
	border-right: 170px solid transparent;
	border-top: 20px solid #d068bd;
	background-color: rgb(255, 215, 231);
}

.sb_subscribe_body {
	background-color: rgb(255, 215, 231);
	padding:10px 2% 20px 2%;
	color:#333;
}

.sb_subscribe_body img {
	margin-right: 20px;
	margin-left: 10px;
	float:left;
	border-radius:75px;
	width:110px;
}

.sb_subscribe_text_box {
	
	width:100%;
	text-align:center;

}
.sb_subscribe_text_box input { 
	font-size:1.2em; 
	margin-left:5%;
	margin-right:5%;
	margin-top:15px;
	width: 86%;
	padding:5px 2% 0 2%;
	border-radius:10px;
	border:0px;
	}
	
.sb_subscribe_text_box select {
	font-size:1.2em; 
	margin-top:15px;
	width: 90%;
	padding:5px 2% 0 2%;
	border-radius:10px;
	border:0px;
}
.sb_subscribe_submit input { 
	font-size:1.2em; 
	margin-left:5%;
	margin-right:5%;
	margin-top:15px;
	width: 90%;
	padding:5px 0 0 0;
	border-radius:10px;
	border:0px;
	background-color: #d068bd;
	color:#fff;
	}

.sb_ad {
	padding:20px;
	margin:0px;
	background-color:#ddd;
	overflow:hidden;
}
	
#cssmenu {
  background: #fff;
  margin: 0;
  width: auto;
  padding: 0;
  line-height: 1;
  display: block;
  position: relative;
  font-family: 'PT Sans', sans-serif;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;  
}

#cssmenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
}

#cssmenu ul:after,
#cssmenu:after {
  content: ' ';
  display: block;
  font-size: 0;
  height: 0;
  clear: both;
  visibility: hidden;
}

#cssmenu ul li {
  margin: 0;
  padding: 0;
  display: block;
  position: relative;
  text-align:left;
}

/* Note: This Styling splits the menu around the logo - it is adjusted based on size.*/
#cssmenu ul li:nth-child(3){
	margin-left:375px;
}
#cssmenu ul li ul li:nth-child(3){
	margin-left:0px;
}

#cssmenu ul li a {
  text-decoration: none;
  display: block;
  margin: 0;
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#cssmenu ul li ul {
  position: absolute;
  left: -9999px;
  top: auto;
  text-align:left;
}
#cssmenu ul li ul li {
  max-height: 0;
  position: absolute;
  -webkit-transition: max-height 0.4s ease-out;
  -moz-transition: max-height 0.4s ease-out;
  -ms-transition: max-height 0.4s ease-out;
  -o-transition: max-height 0.4s ease-out;
  transition: max-height 0.4s ease-out;
  background: #fff;
}
#cssmenu ul li ul li.has-sub:after {
  display: block;
  position: absolute;
  content: '';
  height: 10px;
  width: 10px;
  border-radius: 5px;
  background: #fff;
  z-index: 1;
  top: 13px;
  right: 15px;
}

#cssmenu.align-right ul li ul li.has-sub:after {
  right: auto;
  left: 15px;
}

#cssmenu ul li ul li.has-sub:before {
  display: block;
  position: absolute;
  content: '';
  height: 0;
  width: 0;
  border: 3px solid transparent;
  border-left-color: #ffffff;
  z-index: 2;
  top: 15px;
  right: 15px;
}
#cssmenu.align-right ul li ul li.has-sub:before {
  right: auto;
  left: 15px;
  border-left-color: transparent;
  border-right-color: #ffffff;
}
#cssmenu ul li ul li a {
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  color: #000;
  letter-spacing: 0;
  display: block;
  width: 240px;
  padding: 11px 10px 11px 20px;
  text-transform:uppercase;
}
#cssmenu ul li ul li:hover > a,
#cssmenu ul li ul li.active > a {
  color: #4cb6ea;
}
#cssmenu ul li ul li:hover:after,
#cssmenu ul li ul li.active:after {
  background: #4cb6ea;
}
#cssmenu ul li ul li:hover > ul {
  left: 100%;
  top: 0;
}
#cssmenu ul li ul li:hover > ul > li {
  max-height: 72px;
  position: relative;
}
#cssmenu > ul > li {
  float: left;
}
#cssmenu.align-center > ul > li {
  float: none;
  display: inline-block;
}
#cssmenu.align-center > ul {
  text-align: center;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu.align-right > ul {
  float: right;
}
#cssmenu.align-right > ul > li:hover > ul {
  left: auto;
  right: 0;
}
#cssmenu.align-right ul ul li:hover > ul {
  right: 100%;
  left: auto;
}
#cssmenu.align-right ul ul li a {
  text-align: right;
}
#cssmenu > ul > li:after {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  z-index: 0;
  background: #fff;
  -webkit-transition: height .2s;
  -moz-transition: height .2s;
  -ms-transition: height .2s;
  -o-transition: height .2s;
  transition: height .2s;
}
#cssmenu > ul > li.has-sub > a {
  padding-right: 40px;
}
#cssmenu > ul > li.has-sub > a:after {
  display: block;
  content: '';
  background: #fff;
  height: 12px;
  width: 12px;
  position: absolute;
  border-radius: 13px;
  right: 14px;
  top: 16px;
}
#cssmenu > ul > li.has-sub > a:before {
  display: block;
  content: '';
  border: 4px solid transparent;
  border-top-color: #4cb6ea;
  z-index: 2;
  height: 0;
  width: 0;
  position: absolute;
  right: 16px;
  top: 21px;
}
#cssmenu > ul > li > a {
  color: #000;
  padding: 15px 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 1.3em;
  z-index: 2;
  position: relative;
}
#cssmenu > ul > li:hover:after,
#cssmenu > ul > li.active:after {
  height: 100%;
}
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li.active > a {
  color: #000;
}
#cssmenu > ul > li:hover > a:after,
#cssmenu > ul > li.active > a:after {
  background: #fff;
}
#cssmenu > ul > li:hover > a:before,
#cssmenu > ul > li.active > a:before {
  border-top-color: #4cb6ea;
}
#cssmenu > ul > li:hover > ul {
  left: 0;
}
#cssmenu > ul > li:hover > ul > li {
  max-height: 72px;
  position: relative;
}
#cssmenu #menu-button {
  display: none;
}
#cssmenu > ul > li > a {
  display: block;
}
#cssmenu > ul > li {
  width: auto;
}
#cssmenu > ul > li > ul {
  width: 240px;
  display: block;
  z-index:1;
}
#cssmenu > ul > li > ul > li {
  width: 240px;
  display: block;
}


/*********** HERO IMAGE *************/
.imagehero {
	width:100%;
	height:400px;
	overflow:hidden;
	text-align:center;
	margin-bottom:25px;
}

/********* WRAP *********/	
.wrap {	width: 1200px; margin: 0px auto; padding: 0px; clear:both;}


/********LINKS*********/
a, a:visited a:hover {text-decoration:none; color:#225588;}
	
	
/****HEADER & FOOTER***/
.preheaderad {
	max-width:728px;
	width:100%;
	margin:15px auto;
	background: #eee;
	height:90px;
	box-shadow:0 0 3px 2px rgba(0,0,0,0.2);
}

.header {
	width: 100%;
	color: #FFFFFF;
	float:left;
	margin: 0px auto 0px;
	padding: 0px;
	overflow: hidden;
	text-align:center;
	}

.logo {
	clear:both;
	max-width:100%;
	margin: 25px 0;
}

.logo img {
	max-width:95%;
}

.footer {
	width:100%;
	background: #000 url("https://www.oneprojectcloser.net/wp-content/uploads/2016/11/dark-grid.jpg");
	color: #fff;
	text-align:center;
	padding: 5px 0px 5px 0px;
}
	
/***NAVBAR MENU********/
.navbar { 
	float:left; 
	width: 100%; 
	padding:5px 0px 5px 0px; 
	border-top: 1px solid #888;
	border-bottom: 1px solid #888;
	margin-bottom:35px;
	font-weight:600;
	}
	
.navbar ul { 
	float:left; 
	list-style-type:none; 
	margin: 0px;
	padding: 0px 0px 0px 40px;
	}

.navbar ul li { 
	float:left; 
	margin-right:30px; 
	}

.navbar a, .navbar a:visited, .navbar a:hover {
	color: #000;
	font-weight:600;
	}
	
.navbarsearch {
	float:right;
	margin-right:25px;
	}
	
/****HOME PAGE*******/
.homepagecontent {
	float:left;
	width: 97%;
	margin: 0;
	padding: 15px 1.5% 0px 1.5%;
	}
	
.homepagecontent h2 {
	color: #444;
	margin: 25px auto;
	font-size:2.5em;
	clear:both;
	text-align:center;
}

.modulegroup {
	width:100%;
	display:block;
}

.wholewidthmodule {
	float:left;
	width:100%;
	background: #eee;
	margin-bottom: 25px;
	}

.onesixthmodule {
	float:left;
	background: #fff;
	width:15.0%;
	margin: 0px 2% 25px 0;
	padding: 0px;
}
.onesixthmodule:nth-of-type(6n) {
	margin-right:0px;
}
.onesixthmodule img {
	margin-bottom:15px;
}
.onesixthmodule h3 {
	font-size:.9em;
	font-weight:600;
}	

.onefifthmodule {
	float:left;
	background: #fff;
	width:18.4%;
	margin: 0px 2% 25px 0;
	padding: 0px;
}
.onefifthmodule:nth-of-type(5n) {
	margin-right:0px;
}
.onefifthmodule img {
	margin-bottom:15px;
}
.onefifthmodule h3 {
	font-size:.9em;
	font-weight:600;
	text-align:center;
	text-transform:uppercase;

}

.onefourthmodule {
	float:left;
	background: #fff;
	width:23.5%;
	margin: 0px 2% 25px 0;
	padding: 0px;
}
.onefourthmodule:nth-of-type(4n) {
	margin-right:0px;
}
.onefourthmodule img {
	margin-bottom:15px;
}
.onefourthmodule h3 {
	font-size:1em;
	font-weight:600;
	text-transform:uppercase;
	text-align:center;	
	padding: 0px 10px 10px 10px;
}
.onethirdmodule {
	float:left;
	background: #fff;
	width: 32%;
	margin: 0px 2% 25px 0;
	padding: 0px;
	box-shadow: 0px 0px 0px 1px rgba(0,0,0,.2);
	}
.onethirdmodule:nth-of-type(3n) {
	margin-right:0px;
}
.onethirdmodule img {
	margin-bottom:15px;
	}
.onethirdmodule h3 {
	font-size:1.1em;
	font-weight:600;
	text-align:center;
	text-transform:uppercase;
	padding: 0px 10px 10px 10px;
	}

.twothirdsleftheadliner {
	float:left;
	background: #eee;
	width: 71.3333%;
	margin: 0px 2% 25px 0px;
	padding: 0px 1% 0px 0px;
	}
.twothirdsleftheadliner img {
	float:left;
	width:50%;
	margin-right:2.5%;
	display:block;
	}
.twothirdsleftheadliner h3 {
	font-weight:600;
	margin-top:15px;
	}
.onethirdrightsocial {
	float:left;
	background: #fff;
	width: 25.6666%;
	margin: 0px 0px 25px 0px;
	padding: 0px;
	font-size:.95em;
	line-height:1.2em;
}
.authorgrouppicture img{
	width:100%;
	margin:20px 0px 20px 0px;
	float:left;
	}

.calltoaction {
	text-align:center;
	width:100%;
	float:left;
	margin-bottom: 25px;
	padding: 10px 0;
	background: #eee;
	font-size:3em;
	font-weight:600px;
}

/***POST AREA***/

.leftmaincontent {
	width: 800px;
	padding: 0px 20px 20px 20px;	
	float:left;

}

.post a {
	font-weight:bold;
	}
	
.post ul {
	padding-left:25px;
}

.post li {
	margin-bottom:10px;
	line-height:1.2em;
}

/****SEARCH RESULTS*****/
.searchresults p {
	margin:0px 0px 20px 0px;	
}

/****SIDEBAR******/
.sidebar { width: 340px; margin: 0px 0px 20px 20px;  float:left;}
.sidebar img {	float:left; }
.sidebarunit {	width: 100%;	float:left;	clear:both;	margin-bottom:20px;
	padding:0px;
}
.sidebarunit h3 {	color: #444;	background: #eee;	width:100%;	padding:0px 0px 0px 0px;	font-size:1.1em;	text-align:center;}
.innersidebarunit {
	padding: 20px 20px;
	background: #f7f7f7;
}

.innersidebarunit h3 {
}

.sidebarpostlist ul {	list-style-type:none;	padding:0px;}
.sidebarpostlist ul li {	margin: 0px 0px 5px 0px;	padding: 0px 0px 5px 0px;	float:left;	width:100%;	clear:both;	border-bottom:1px dotted #ccc;}
.sidebarpostlist ul li img {	margin: 0px 10px 0px 0px;	width:75px;}
.socialbutton {	width:40px;	max-width:40px;
	margin-right:10px;	display:inline-block;}

.authorpicture {
	float:left;
	margin: 0px 10px 15px 0px;
	width: 75px;
	height: auto;
	border-radius:50px;
}

.dateauthor {
	margin-bottom:15px;
	float:left;
	width:710px;
}

.clear {
	clear:both;
}
	
.dividingline {
	width:100%;
	margin: 0px auto 15px auto;
	border-bottom:1px dotted #888;
	clear:both;
}

/****COMMENTS****/

.commentlabel {
	font-size:2em;
}

.commentlist {
	padding:0;
	list-style-type:none;
}

.children {
	padding:0;
	list-style-type:none;
	}

.commentheader {
	clear:both;
	font-weight:600;
	font-size: 1.1em;
}

.commentheaderimage {
	margin-right:20px;
	clear:both;
	float:left;
}

.commenttext {
	float:left;
	margin-bottom:20px;
}

.leaveareply {
	font-size:2em;
	clear:both;
	}

.depth-1, .depth-3, .depth-5 {
	padding: 20px 2.5%;
	background: #fffaeb;
	border: #999 solid 1px;
	margin:10px 0px;
	float:left;
	width:95%;
}

.depth-2, .depth-4, .depth-6 { 
	padding: 20px 2.5%;
	background: #fff;
	border: #999 solid 1px;
	margin:10px 0px;
	float:left;
	width:95%;
}

/**** INSET ADVERTS****/

.inset-advert-heading {
	font-size:.7em;
	color: #666;
	border-top:1px solid #E5E5E5; 
	text-align:center;
}
.inset-advert {
	border-bottom:1px solid #E5E5E5; 
	padding: 5px 0px 25px 0px;
	width:100%;
}

/****POST IMAGES*****/

img { 
	margin: 0;
	max-width:100%;
	height:auto;
}

.alignleft, img.alignleft {
	display:inline;
	float:left !important;
	margin-right:30px;
	margin-top:4px;	
	max-width:50%;

}

.alignright, img.alignright {
	display:inline;
	float:right !important;
	margin-left:30px;
	margin-top:4px;	
	max-width:50%;

}

.aligncenter, img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
	margin-top:4px;
}

.alignnone, img.alignnone {
	margin-top:4px;
}

img.alignleft, img.alignright, img.aligncenter, img.alignnone {
	margin-bottom:12px;
}

/**** Form Styling ****/
#mc_embed_signup form {
	text-align:center;
	padding:10px 0 10px 0;
}
 /* positions input field horizontally */
.mc-field-group {
	display: inline-block;
}
#mc_embed_signup input.email {
	font-family:"Open Sans","Helvetica Neue",Arial,Helvetica,Verdana,sans-serif;
	font-size: 15px;
	border: 1px solid #ABB0B2;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: #343434;
	background-color: #fff;
	box-sizing:border-box;
	height:32px;
	padding: 0px 0.4em;
	display: inline-block;
	margin: 0;
	width:350px;
}
 /* positions button horizontally in line with input */
#mc_embed_signup .clear {
	display: inline-block;
}
#mc_embed_signup .button {
	font-size: 13px;
	border: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	letter-spacing: .03em;
	color: #fff;
	background-color: #1485CC;
	box-sizing:border-box;
	height:32px;
	line-height:32px;
	padding:0 18px;
	display: inline-block;
	margin: 0;
	transition: all 0.23s ease-in-out 0s;
}
#mc_embed_signup .button:hover {
	background-color:#0971B2;
	cursor:pointer;
}
#mc_embed_signup div#mce-responses {
	float:left;
	top:-1.4em;
	padding:0em .5em 0em .5em;
	overflow:hidden;
	width:90%;
	margin: 0 5%;
	clear: both;
}
#mc_embed_signup div.response {
	margin:1em 0;
	padding:1em .5em .5em 0;
	font-weight:bold;
	float:left;
	top:-1.5em;
	z-index:1;
	width:80%;
}
#mc_embed_signup #mce-error-response {
	display:none;
}
#mc_embed_signup #mce-success-response {
	color:#529214;
	display:none;
}
#mc_embed_signup label.error {
	display:block;
	float:none;
	width:auto;
	margin-left:1.05em;
	text-align:left;
	padding:.5em 0;
}
@media (max-width: 768px) {
    #mc_embed_signup input.email {width:100%; margin-bottom:5px;}
    #mc_embed_signup .clear {display: block; width: 100% }
    #mc_embed_signup .button {width: 100%; margin:0; }
}
#mc_embed_signup{
	clear:left;
	font:14px Helvetica,Arial,sans-serif;
	width:100%;
}
/**** End Form Styling ****/

/*****DYNAMIC RESIZING**********/

/* TABLET LANDSCAPE */
@media screen and (max-width: 1200px){

	.wrap { width:1100px; }
	.leftmaincontent { width: 700px;  }
	.dateauthor {width: 610px; }
	#cssmenu ul li:nth-child(3){ margin-left:300px;}
}

/* TABLET LANDSCAPE */
@media screen and (max-width: 1100px){

	.wrap { width:1000px; }
	.leftmaincontent { width: 600px;  }
	.dateauthor {width: 510px; }
	#cssmenu ul li:nth-child(3){ margin-left:200px;}

}
/* TABLET LANDSCAPE SMALL */
@media screen and (max-width: 1000px){
	.subscribe-box {
		width:100%;
		margin-bottom:0px;
		margin-top:0px;
		border-left:0px;
		border-right:0px;
	}
	
	.hp-section-one {
		padding-top: 40px;
	}
	
	.hero-image {
		height:auto;
		background-size: auto 650px;
	}	
	.hero-call-to-subscribe {
	
		height:385px;
		
	}


	.wrap { width:900px; }
	.leftmaincontent { width: 500px;  }
	.dateauthor {width: 410px; }
	.onesixthmodule {
		width:32%;
	}
	.onesixthmodule:nth-of-type(3n) {
		margin-right:0px;
	}	
	.onefifthmodule {
		width:32%;
	}
	.onefifthmodule:nth-of-type(3n) {
		margin-right:0px;
	}		.onefourthmodule {
		width:32%;
	}
	.onefourthmodule:nth-of-type(3n) {
		margin-right:0px;
	}
	.twothirdsleftheadliner {
		width:100%;
		padding:0;
	}
	.onethirdrightsocial {
		width:40%;
	}
}

/* TABLET LANDSCAPE SMALL */
@media screen and (max-width: 900px){
	.wrap { width:800px; }
	.leftmaincontent { width: 400px;  }
	.dateauthor {width: 310px; }
}

/* TABLET PORTRAIT */
@media screen and (max-width: 800px){
	.sb_subscribe_arrow { display:none; }
	.sb_subscribe_top { padding-bottom:10px; }
	
	.preheaderad {width:95%; height:auto;}
	.wrap { width:100%; }
	.leftmaincontent {
		width: 95%;
		padding: 20px 2.5% 20px 2.5%;
		}
	.dateauthor {
		width: 88%;
		}
	.authorpicture {width: 10%;
			margin-right: 2%;
		}
	.sidebar {
		width:95%;
		padding: 20px 2.5% 20px 2.5%;
		margin-left:0px;
		}		
	h1 { font-size: 1.8em; }
	h2 { font-size: 1.6em; }
	h3 { font-size: 1.4em; }
	h4 { font-size: 1.2em; }
	h5 { font-size: 1.0em; }
	h6 { font-size: 1.0em; }
	
	.header-spacer {
			height:0px;		
	}
}

/* SMARTPHONE */
@media only screen and (max-width: 700px){
	
	.navbarsearch {display:none;}
	.authorpicture {display:none;}
	.dateauthor {width:100%; font-size: 1em;}
	.logo {margin: 10px 0;}
	.navbar {margin-bottom:5px;}
	.wrap {margin-top: 0px; margin-bottom:0px;}
}

/* SMARTPHONE */
@media only screen and (max-width: 600px){
	.alignleft, img.alignleft {
		margin-right:10px;
	}
	.alignright, img.alignright {
		margin-left:10px;
	}	
	.navbar ul {
		padding: 0px 0px 0px 20px;
		margin: 0px auto;
		}
	.navbar ul li { 
		font-size: .8em;
		margin-right: 10px;
		}
}

/* SMALL SMARTPHONE */
@media only screen and (max-width: 500px){	
	.onesixthmodule {
		width:100%;
	}
	.onesixthmodule:nth-of-type(3n) {
		margin-right:0px;
	}	
	.onefifthmodule {
		width:100%;
	}
	.onefifthmodule:nth-of-type(3n) {
		margin-right:0px;
	}	

	.onefourthmodule {
		width:100%;
	}
	.onefourthmodule:nth-of-type(3n) {
		margin-right:0px;
	}

	.onethirdmodule {
		width:100%;
	}
	.onethirdmodule:nth-of-type(3n) {
		margin-right:0px;
	}
}

/****** CENTER-TO-LEFT LOGO *********/
@media only screen and (max-width: 400px){	
	.smalllogo {
		left:0;
		right:none;
		z-index:1000;
		width:250px;
		margin: 10px 0px 0px 0px;	
	}	
	.subscribe-header img {
		display:none;
	}	

}

@media only screen and (max-width: 950px) {
	
	.subscribe-box{
		width:100%;
	}	
}


/***RESPONSIVE MENU CODE***/
@media only screen and (max-width: 1024px)
{  
  /** When the menu is collapsed, we don't need to provide space for the logo. **/
  #cssmenu ul li:nth-child(3) {
  	margin-left:0px;
  }

  #cssmenu > ul {
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.35s ease-out;
    -moz-transition: max-height 0.35s ease-out;
    -ms-transition: max-height 0.35s ease-out;
    -o-transition: max-height 0.35s ease-out;
    transition: max-height 0.35s ease-out;
  }
  #cssmenu > ul > li > ul {
    width: 100%;
    display: block;
  }
  #cssmenu.align-right ul li a {
    text-align: left;
  }
  #cssmenu > ul > li > ul > li {
    width: 100%;
    display: block;
  }
  #cssmenu.align-right ul ul li a {
    text-align: left;
  }
  #cssmenu > ul > li > ul > li > a {
    width: 100%;
    display: block;
  }
  #cssmenu ul li ul li a {
    width: 100%;
  }
  #cssmenu.align-center > ul {
    text-align: left;
  }
  #cssmenu.align-center > ul > li {
    display: block;
  }
  #cssmenu > ul.open {
    max-height: 1000px;
    border-top: 1px solid rgba(110, 110, 110, 0.25);
    margin-top:20px;
  }
  #cssmenu ul {
    width: 100%;
  }
  #cssmenu ul > li {
    float: none;
    width: 100%;
  }
  #cssmenu ul li a {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    padding: 12px 20px;
  }
  #cssmenu ul > li:after {
    display: none;
  }
  #cssmenu ul li.has-sub > a:after,
  #cssmenu ul li.has-sub > a:before,
  #cssmenu ul li ul li.has-sub:after,
  #cssmenu ul li ul li.has-sub:before {
    display: none;
  }
  #cssmenu ul li ul,
  #cssmenu ul li ul li ul,
  #cssmenu ul li ul li:hover > ul,
  #cssmenu.align-right ul li ul,
  #cssmenu.align-right ul li ul li ul,
  #cssmenu.align-right ul li ul li:hover > ul {
    left: 0;
    position: relative;
    right: auto;
  }
  #cssmenu ul li ul li,
  #cssmenu ul li:hover > ul > li {
    max-height: 999px;
    position: relative;
    background: none;
  }
  #cssmenu ul li ul li a {
    padding: 8px 20px 8px 35px;
    color: #ffffff;
    display:none;
  }
  #cssmenu ul li ul ul li a {
    padding: 8px 20px 8px 50px;
  }
  #cssmenu ul li ul li:hover > a {
    color: #000000;
  }
  #cssmenu #menu-button {
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    padding: 15px 20px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    color: #ffffff;
    cursor: pointer;
  }
  #cssmenu #menu-button:after {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    right: 20px;
    top: 16px;
  }
  #cssmenu #menu-button:before {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #000;
    right: 20px;
    top: 26px;
  }
}
