/*
Theme Name:MHS Custom Version 4.1
Theme URI: http://mainehost.com
Author: MHS
Author URI: http://mainehost.com
Description: MHS Custom
Version: 4.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mhs41

NOTE TO SELF: If you mess with the line height, the tabs get messed up. Fill color disappears.


/* Body & Wrapper */
BODY, HTML{
background-color:#000;
color: #666;
font-family: "Source Sans Pro", Arial, Helvetica,  Verdana, sans-serif;
font-size:16px;
line-height:30px;
font-weight: 400;
}
IMG{max-width:100%;}
STRONG, B{font-weight:600;}

H1{color:#000000; font-family: "Raleway", Verdana, Arial, Helvetica, sans-serif; font-weight:900; line-height:normal;}
.page-title-top{margin-top:.5em; font-size:30px; line-height:35px;}
.hilite{color:#1076c1;}

H2{color:#000000; font-family: "Raleway", Verdana, Arial, Helvetica, sans-serif; font-weight:900; line-height:normal; font-size:18px; line-height:33px;}
H2.head1{font-size:30px; color:#000000; font-family: "Raleway", Verdana, Arial, Helvetica, sans-serif; font-weight:900; line-height:normal; line-height:33px;}
H3{color:#000000; font-family: "Source Sans Pro", Verdana, Arial, Helvetica, sans-serif; font-weight:600; line-height:normal; font-size:18px; line-height:22px;}

H4{color:#000000; font-family: "Source Sans Pro", Verdana, Arial, Helvetica, sans-serif; font-weight:900; line-height:normal; font-size:15px; line-height:16px;}

H5{color:#000000; font-family: "Raleway", Verdana, Arial, Helvetica, sans-serif; font-weight:900; line-height:normal; font-size:17px; line-height:22px;}

H6{color:#434141; font-family: "Source Sans Pro", Verdana, Arial, Helvetica, sans-serif; font-weight:400; line-height:normal; font-size:16px; line-height:19px;}

H7{color:#434141; font-family: "Raleway", Verdana, Arial, Helvetica, sans-serif; font-weight:900; line-height:normal; font-size:30px; line-height:35px;}


A:link { color: #003399;
text-decoration:none;
font-weight:600;
}
A:visited { color: #003399;
font-weight:600;
}
A:active { color: #003366;
}
A:hover { color: #3366ff;
}


A:link.reftext { color: #FFF; font-size:.8em; font-weight:400;
}
A:visited.reftext { color: #FFF; font-size:.8em; font-weight:400;
}
A:active.reftext { color: #FFF;
}
A:hover.reftext { color: #CCC;
}

#maintable{width:99%; max-width:1060px; margin: 0 auto; overflow:hidden;
-moz-box-shadow: 0px 0px 12px #000;
-webkit-box-shadow: 0px 0px 12px #000;
box-shadow: 0px 0px 12px #000;
background-color:#FFF;
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;
}
/* Head */
#sm{float:left; padding:.1em 0em 0em 2em;}
#logo{ float:left; padding:15px 0 0 50px; max-width:475px; width:48%;  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;}
#ad{ float:right; padding:5px 3px 0 0; max-width:463px; width:48%;  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box; max-height:115px;}
#ad p{margin:0;padding:0;}
#topnav{clear:both; width:100%; height:24px; background-color:#dbdcde;}
#topnavin{clear:both; padding:3px 0; width:100%; -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;}
#header{-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box; width: 100%; position:relative;}

/* Content */
#contentbg{clear:both; background-color:#FFF; width:100%; padding:0; -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box; overflow:auto; min-height:300px;}
	
#sm{float:left; width:5%; padding:10px 5px 0 5px; -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box; border:0px solid #000;}
#smin{position:fixed;}
#smin img{width:75%; padding-bottom:5px;}

#contentinnerfull{width:100%; -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box; min-height:400px; padding:5px 15px;
}
#contentinnerfullnopad{width:100%; -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box; min-height:400px; padding:0px;
}
#contentinner{float:left;width:70%; -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box; padding:15px 15px 5px 15px; border:0px solid #000; min-height:800px;


}
#sidebar{width:29%; max-width:288px; padding:10px; position:relative; float:left; height:100%; overflow:inherit; font-size:.9em; background-color:#F2F2F3;  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;}

/* Foot */

#subfoot{clear:both;background-color:#dbdcde; color:#65a1a5; overflow:auto}
#subfoot A:link, #subfoot A:visited{color:#67686b;}
#subfoot A:hover{color:#ffb351;}
#foot0{width:100%; text-align:center; padding:15px; -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box; font-size:14px;}
#foot0 A{font-weight:400;}
#foot1{float:left; padding:15px 0 15px 50px;  font-size:14px; color:#67686b;}
#subfoot H3{ font-size:18px; color:#67686b; display:inline;}
#foot2{float:right; padding:15px 50px 15px 0; text-align:right; font-size:14px; color:#67686b;}
#footbg A:link, #footbg A:visited{color:#67686b; text-decoration:underline;}
.divider, .required{color:#c10538;}

/* Misc */
/*UI TABS */
.hometabs UL LI{font-size:14px;}
select{max-width:250px;}
.srp-post-content{line-height:20px;}
.widgets_on_page UL{margin:0;padding:0;}
.featured_caption{font-size:12px;padding:0; color:#666;}
.featuredimage{width:100%; height:auto;}
.ezcol-three-quarter{float:none; margin:0 auto;}
.hfeed{margin:0; padding:0 10px;}
.entry-title{margin:0; padding:0 0 0 0;}
.tribe-events-list-widget{padding-left:0px;}
.tribe-events-widget-link{padding-left:10px;}
iframe{max-width:100%;}
#twocolleft{width:45%;float:left;}
#twocolright{width:45%;float:right;}


#mobilehide{display:block;}
#mobileshow{display:none;}

.rounded{
-moz-border-radius: 8px;
	-khtml-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	padding:8px;
	background-color:#C5D6E8;
	margin:5px;
}
.shadow{
-moz-box-shadow: 0px 0px 9px #000;
-webkit-box-shadow: 0px 0px 9px #000;
box-shadow: 0px 0px 9px #000;
}
UL.breadcrumb, UL.variations{margin:0px; padding:0px;}
HR{border: none 0; 
border-top: 1px solid #001542;
margin: 10px auto 0 0;}
.widgettitle{font-size:1.1em; text-transform:uppercase;}
.widget UL{padding-left:0px;}
LI.widget{ list-style: none; margin-bottom:2em; padding-left:0px;}
.tribe-events-list-widget-events{ list-style: none; margin:0;padding:0px; }
.rslides_container{margin:15px 0px 0px 0px;}
.sticky{}
.gallery-caption{}
.bypostauthor{}
/*	WP Images */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 6px 4px 15px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 15px 4px 6px;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
.aligncenter{margin:0 auto; }
/* End Images */




/* Captions */
.alignleft,
div.alignleft {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	text-align: center;
	padding-top: 0px;
	margin: 10px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 12px;
	line-height: 14px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */


/* TOP NAV */

.responsiveSelectContainer {height:1.25em; position:relative; z-index:100;}
/* hack to correct IE5.5 faulty box model */
* html .responsiveSelectContainer {width:696px; w\idth:695px;}
/* remove all the bullets, borders and padding from the default list styling */
.responsiveSelectContainer ul {padding:0;margin:0;list-style-type:none; }
.responsiveSelectContainer ul ul {width:100px;}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.responsiveSelectContainer li {float:left;position:relative; }

/* style the links for the top level */
.responsiveSelectContainer a, .responsiveSelectContainer a:visited {display:block; font-size:13px; font-weight:400; text-decoration:none; color:#036; padding:0 15px; height:1.25em; min-height:1.25em; line-height:1.25em; vertical-align:middle; text-transform:uppercase; border-right:1px solid #FFF;}


/* a hack so that IE5.5 faulty box model is corrected */
* html .responsiveSelectContainer a, * html .responsiveSelectContainer a:visited {}

/* style the second level background */
.responsiveSelectContainer ul ul a.drop, .responsiveSelectContainer ul ul a.drop:visited {}
/* style the second level hover */
.responsiveSelectContainer ul ul a.drop:hover{}
.responsiveSelectContainer ul ul :hover > a.drop {}
/* style the third level background */
.responsiveSelectContainer ul ul ul a, .responsiveSelectContainer ul ul ul a:visited {background:#E3001E;} /*3rd OFF */
/* style the third level hover */
.responsiveSelectContainer ul ul ul a:hover {background:#F22D47;} /*3rd ON */


/* hide the sub levels and give them a positon absolute so that they take up no room */
.responsiveSelectContainer ul ul {visibility:hidden;position:absolute;height:0;top:1.65em;left:0; width:150px; border-top:0px solid #000;}
/* another hack for IE5.5 */
* html .responsiveSelectContainer ul ul {top:1.65em;t\op:1.65em; vertical-align: middle;}

/* position the third level flyout menu */
.responsiveSelectContainer ul ul ul{left:229px; top:0px; width:99px;}


/* position the third level flyout menu for a left flyout */
.responsiveSelectContainer ul ul ul.left {left:229px;}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.responsiveSelectContainer table {position:absolute; top:0; left:0; border-collapse:collapse;}

/* style the second level links - SECOND OFF */
.responsiveSelectContainer ul ul a, .responsiveSelectContainer ul ul a:visited {padding-top:3px; padding-left:10px; width: 170px; display:block; font-size:.8em; font-weight:normal; text-decoration:none;  color:#FFF; background-color:#1076c1; height:1.25em; min-height:1.25em; line-height:1.25em; vertical-align:middle; text-align:left; border-bottom:1px solid #FFF; border-right:0px;}
/* yet another hack for IE5.5 */
* html .responsiveSelectContainer ul ul a, * html .responsiveSelectContainer ul ul a:visited {width:115px;w\idth:113px;}

/* style the top level hover */
.responsiveSelectContainer a:hover {color:#F90}
.responsiveSelectContainer :hover > a  {color:#F90} /* TOP OVER */

.responsiveSelectContainer ul ul a:hover {background-color:#08538a;}

.responsiveSelectContainer ul ul :hover > a {background-color:#08538a;} /* 2nd OVER */

/* make the second level visible when hover on first level list OR link */
.responsiveSelectContainer ul li:hover ul,
.responsiveSelectContainer ul a:hover ul{visibility:visible; }
/* keep the third level hidden when you hover on first level list OR link */
.responsiveSelectContainer ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
.responsiveSelectContainer ul :hover ul :hover ul{ visibility:visible;}



.responsiveMenuSelect select {
   background: transparent;
   width: 268px;
   padding: 5px;
   font-size: 16px;
   line-height: 1;
   border: 0;
   border-radius: 0;
   height: 34px;
   -webkit-appearance: none;
   }

.responsiveMenuSelect {
   width: 240px;
   height: 34px;
   overflow: hidden;
   background: #ddd;
   border: 1px solid #ccc;
   }


@media screen and (max-width: 1090px){
#contentinner{float:none; margin:0 auto; width:99%;}
#sidebar{float:none; margin:0 auto; width:99%; padding:0em;}
}

@media screen and (max-width: 985px){
#topnavin{padding:.5em 1em .75em 1em;}
#topnav{height:48px;}
}
@media screen and (max-width: 900px){
#footbg{
	background-image:none;
}
}

@media screen and (max-width: 670px){
#logo, #ad{float:none;width:95%; margin:0 auto; padding:5px;}
#foot1,#foot2{float:none; padding:5px;  font-size:14px; color:#FFF; text-align:center; margin:0 auto;}
IMG.srp-post-thumbnail{max-width:100px;}
.srp-content-box {
font-size:14px;
}
}

@media screen and (max-width: 400px){
#ad{ max-height:85px;}
#mobilehide{display:none;}
#mobileshow{display:block;}
.hometabs UL LI{font-size:18px;}
}

.ecs-event-list{list-style:none;}

.responsive-image {height:auto; max-width:full;}