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


/* Body & Wrapper */
BODY, HTML{
background-color:#000;
color: #241b53;
font-family:"Open Sans",Helvetica, Arial, Verdana, sans-serif;
font-size:16px;
line-height:1.5em;
font-weight: 400;
}

H1,H2, H3{color:#241b53; font-weight:700; line-height:normal;}
H1{color:#a50000;}
H3{color:#821900; font-size:22px;}
.headline{color:#821900; font-size:22px; font-weight:700;padding:0; display:inline; clear:both;}
.subheadline{color:#a50000; font-size:18px; font-weight:700;padding:0; display:inline; clear:both;}
.subheadliner{color:#a50000; font-size:14px; font-weight:700;padding:0; display:inline; clear:both;}
.page-title-top{color:#241b53;border-bottom:1px solid #001542;  margin-top:.5em;}
.hilite{color:#821900;}

A:link { color: #821900;
text-decoration:none;
font-weight:700;
}
A:visited { color: #821900;
font-weight:700;
}
A:active { color: #821900;
}
A:hover { color: #410c00;
}


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:1100px; 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 */
#logo{width:100%;  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box; padding:0; margin:0;}
#topnav{clear:both; width:100%; height:auto;min-height:39px; background-color:#821900; }
#topnavin{clear:both; padding:0 0 0 29px; -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; height:220px; padding:0; margin:0; background-color:#000;}

/* Content */

#booklg, #vidlg{float:left; width:25%;-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box; padding-bottom:15px;}
#booklg IMG, #vidlg IMG{max-width:95%; height:auto}
#booklgr{float:left; width:75%;-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box; padding-left:1.5em;}

#bookmed{float:left; width:15%;-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box; }
#bookmed IMG{max-width:95%; height:auto}
#bookmedr{float:left; width:85%;-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box; padding-left:1.5em;}
.novelbox{clear:both;overflow:auto; padding:15px 0;}

#contentbg{clear:both; background-color:#FFF; width:100%; padding:1em 1em; -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;}
#contentbg IMG{max-width:90%;}
#contentinnerfull{width:97%; margin:0 auto; -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:75%; -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;   
}
#tablebreakerm{display:none;}
#tablebreaker{}
.booktable{width:10%;}
.booktable2{width:15%;}
#sidebar{width:21%; max-width:292px; padding:1em; position:relative; float:right; min-height:340px; font-size:.9em;}
.article{min-height:100px;}
#worksbox{width:20%; text-align:center; padding: 0px 26px 15px 26px; -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box; float:left;
	}
.sidethumb{width:100%; height:auto; max-width:100px;}
#cboxCurrent{margin-left:-99999px}
.quoteGray, .quoteBlue, .quoteGold{font-weight:bold;}
.quoteGold{color:#b6964a;}
.quoteBlue{color:#063074;}
/* Foot */

#topshelf{clear:both;width: 100%; min-height: 154px;
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;
	background-image:url("graphics/shelf-sm.png");
	background-position: center bottom;
	background-size:100% auto;
	background-repeat:no-repeat;
}
#botshelf{clear:both;width: 100%; min-height: 154px;
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;
	background-image:url("graphics/shelf-lg.png");
	background-position: center bottom;
	background-size:100% auto;
	background-repeat:no-repeat;
	margin-bottom:15px;
}
.topbooks{width:61%; margin:0 auto;}
.botbooks{width:69%; margin:0 auto;}
.book{float:left;padding:14px 2px 0 2px; -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;
}
.topbooks .book{width:12.5%;}
.botbooks .book{width:11.1%;}
.book IMG{max-width:80px; width:100%;}

#subfoot{background-color:#000; color:#FFF; padding:3px 6px; overflow:auto; clear:both;}
.footl{float:left;}
.footr{float:right; text-align:right;}
#footbg A:link, #footbg A:visited{color:#FFF; text-decoration:underline;}
.divider, .required{color:#c10538;}

/* Misc */
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;
}
.wp-caption {
    max-width: 96%; /* Image does not overflow the content area */

}
.wp-caption IMG{width: auto; height:auto;}
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{list-style:none;}
LI.widget{ list-style: none;}
.widget UL LI{ list-style: none; }
.widget_wysiwyg_widgets_widget{display:block; overflow:auto;margin-bottom:15px; border-bottom:1px solid #821900;}
/*.widget UL LI A:link, .widget UL LI A:visited{color:#00afff;}*/

#contentbg LI{list-style:disc; }
.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
	}
/* End Images */



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

.wp-caption {
	text-align: center;
	padding-top: 4px;
	margin: 10px;
	-moz-box-shadow: 0px 0px 9px #000;
-webkit-box-shadow: 0px 0px 9px #000;
box-shadow: 0px 0px 9px #000;
}

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

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	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:1.3em; font-weight:400; text-decoration:none; color:#FFF; padding:7px 30px; vertical-align:middle; font-family:"Marcellus SC"; }


/* 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:38px;left:0; width:150px; border-top:0px solid #000;}
/* another hack for IE5.5 */
* html .responsiveSelectContainer ul ul {top:38px;t\op:38px; 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: 220px; display:block; font-size:.9em; font-weight:normal; text-decoration:none;  color:#FFF; background-color:#420d00; height:auto; 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 {background-color:#420d00;}
.responsiveSelectContainer :hover > a  {background-color:#420d00;} /* TOP OVER */

.responsiveSelectContainer ul ul a:hover {background-color:#260700;}
.responsiveSelectContainer ul ul :hover > a {background-color:#260700;} /* 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: 1100px){
#header{height:auto;}
.responsiveSelectContainer a, .responsiveSelectContainer a:visited {padding:7px 20px;}
}
@media screen and (max-width: 1100px){
#topshelf, #botshelf{min-height: 15px;
	background-image: none;
}
}
@media screen and (max-width: 800px){
#header{height:auto;}
.responsiveSelectContainer a, .responsiveSelectContainer a:visited {padding:7px 15px;}
}
@media screen and (max-width: 740px){
#topnavin{padding:5px;}
#topnav{min-height:45px;}
.topbooks{width:81%; margin:0 auto;}
.botbooks{width:89%; margin:0 auto;}
}
@media screen and (max-width: 500px){
h1{font-size:20px;}
#booklg, #vidlg, #booklgr, #bookmed, #bookmedr{float:none; width:100%; padding-left:0;}
#contentbg{padding:.25em .25em;}
.topbooks{width:89%;}
.topbooks .book{width:25%;}
.botbooks .book{width:25%;}
}