/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

header	{
	position: relative;
}
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 13px/1.37 Verdana, Arial, Helvetica, sans-serif;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
    background: #b6d5c5;
    min-height: 58px;
    position: relative; 
    border-bottom: 2px solid #000;
}

.footer-container, .main aside {
    border-top: 2px solid #000;
}

.footer-container{
    background: #b6d5c5;
}
.main aside {
    background: #fff;
}

.title {
    color: white;
}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;

    text-align: center;
    text-decoration: none;
    font-weight: bold;

    color: white;
    background: #e44d26;
}

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover {
    text-decoration: underline;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 0;
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

#leftcol { min-height: 800px; float: left; display: inline-block; background:#dade9f; padding: 60px 10px 40px 10px;}
#centercol { min-height: 800px; float: left; display: inline-block; padding: 0px 20px 20px 20px; }
#centercol li { margin-bottom: .4em;}
#rightcol { min-height: 800px; float: right; display: inline-block; background: #f0f2d2; padding: 10px 10px 30px 10px; border-left: 1px solid #996633; border-right: 1px solid #996633; border-bottom: 1px solid #996633;}
#rightcol li { margin: 0 0 .3em -1.8em; }
#top-logo {
	display:inline-block;
}
#top-search {
	position: absolute;
	display: inline-block;
	top: 3px;
	right:0px;
}

IMG.banner {
	width: 100%;
}
IMG.alignright {
	float: right; margin: 0px 0px 10px 10px;
}
IMG.alignleft {
	float: left; margin: 0px 10px 10px 0px;
}

TABLE.alignright {
	float: right; margin: 0px 0px 10px 10px;
}
TABLE.alignleft {
	float: left; margin: 0px 10px 10px 0px;
}
.centered {
	text-align: center;
}

#rightcol UL {

}
.bodytext {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; }
.MsoNormal {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; margin:0px 0px 5px 0px;}
.NormalFlushLeft {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; margin:0px 0px 0px 0px;}
.ScriptureQuotation {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; margin:0px 0px 10px 20px;}
.ScriptureQuotationverse {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; margin:0px 0px 10px 20px;}
.Footnote {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; 
margin:0px 0px 5px 0px; padding:0px 0px 0px 0px;}
.MsoFootnoteText {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; 
margin:0px 0px 5px 0px; padding:0px 0px 0px 0px;}
.MsoEndnoteText {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; 
margin:0px 0px 5px 0px; padding:0px 0px 0px 0px;}
.PixCaption {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; 
margin:0px 0px 5px 0px; padding:0px 0px 0px 0px; line-height:1.0em}
.QuestionBlock {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; font-weight: bold; }


.main_social_bookmarks { width: 468px; padding: 5px 5px 0px 5px; font-size: .8em; font-weight: normal; line-height: 1.4em; text-align: center; background-color: #b6d5c5; }


TD  {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;}

A:link { color: #24536c; }
A:visited {color: #42718a; }
A:active {color: red; }


A:link.navbar {font-family: Arial, Helvetica, sans-serif; font-size: 8pt; font-weight: bold; color: #FFFFFF; }
A:visited.navbar {font-family: Arial, Helvetica, sans-serif; font-size: 8pt; font-weight: bold; color: #FFFFFF; }
A:hover.navbar {font-family: Arial, Helvetica, sans-serif; font-size: 8pt; font-weight: bold; text-decoration: underline; color: #FFFFFF; }

INPUT.greenbutton {background-color: #99ff00; }

.sidelink {
	font-weight: bold;
}
A:link.sidelink {text-decoration: none; color: #24536c;}
A:visited.sidelink {text-decoration: none; color: #42718a;}
A:hover.sidelink, A:active.sidelink { text-decoration: underline; color:#06354e;}
.indent {
	text-indent: 1.5em;
}

H1 { font-family: Verdana, Arial, Helvetica, sans-serif; 
font-size: 20pt;
font-weight: bold;
color: #06354e; }

H2 { font-family: Verdana, Arial, Helvetica, sans-serif; 
font-size: 18pt;
font-weight: bold;
color: #24536c; }

H3 { font-family: Verdana, Arial, Helvetica, sans-serif; 
font-size: 14pt;
font-weight: bold;
color: #24536c; }

H4 { font-family: Verdana, Arial, Helvetica, sans-serif; 
font-size: 12pt;
font-weight: bold;
color: #24536c; }

H6 { font-family: Verdana, Arial, Helvetica, sans-serif; 
font-size: 8pt;
font-weight: normal;
text-decoration: none;
color: #24536c; }

.smaller {
	font-size: smaller;
}
.larger {
	font-size: larger;
}

#mask { position:absolute; left:0; top:0; z-index:9000; background-color:#000; display:none; }
#boxes .window { position:absolute; left:0; top:0; width:30%; min-width: 280px; max-width: 450px; /*height:550px;*/ display:none; z-index:9999; padding:20px; border: 0;
	-moz-border-radius: 8px; /* FF1+ */
	-webkit-border-radius: 8px; /* Saf3+, Chrome */
	border-radius: 8px; /* Opera 10.5, IE 9 */
	behavior: url(/js/border-radius.htc);  /* IE 7 & 8*/ }
#boxes #dialog { width:30%; min-width: 280px; max-width: 450px; /*height:550px;*/ padding:10px; background-color:#FFFFFF; }

 /* List Definitions */
ol 	{font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; margin-bottom:0in;}
ul	{font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; margin-bottom:0in;}
li  {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; margin-bottom:0in;}

/* =========================
    JQuery Slidemenu Styles
   ========================= */

#myslidemenu {
	right: 0px;
	top: 35px;
	position: absolute;
	z-index: 100;
}

.jqueryslidemenu{
font: bold 11px Verdana;
background: #b6d5c5;
}

.jqueryslidemenu ul{
margin: 0;
padding: 0;
list-style-type: none;
}

/*Top level list items*/
.jqueryslidemenu ul li{
position: relative;
display: inline;
float: left;
}

/*Top level menu link items style*/
.jqueryslidemenu ul li a{
display: block;
background: #24536c; /*background of tabs (default state)*/
color: white;
padding: 3px 5px;
border-top: 1px solid #778;
border-right: 1px solid #778;
border-left: 1px solid #778;
margin-right: 3px;
color: #fff;
text-decoration: none;
behavior: url(/js/border-radius.htc); /* IE */
border-top-right-radius: 6px;
border-top-left-radius: 6px;
-webkit-border-top-right-radius: 6px;
-webkit-border-top-left-radius: 6px;
-moz-border-radius-topright: 6px;
-moz-border-radius-topleft: 6px;
}

* html .jqueryslidemenu ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
display: inline-block;
}

.jqueryslidemenu ul li a:link, .jqueryslidemenu ul li a:visited{
color: white;
}

.jqueryslidemenu ul li a:hover{
background: #42718a; /*tab link background during hover state*/
color: white;
}
	
/*1st sub level menu*/
.jqueryslidemenu ul li ul{
position: absolute;
left: 0;
display: block;
visibility: hidden;
}

/*Sub level menu list items (undo style from Top level List Items)*/
.jqueryslidemenu ul li ul li{
display: list-item;
float: none;
}

/*All subsequent sub menu levels vertical offset after 1st level sub menu */
.jqueryslidemenu ul li ul li ul{
top: 0;
}

/* Sub level menu links style */
.jqueryslidemenu ul li ul li a{
font: normal 13px Verdana;
width: 160px; /*width of sub menus*/
padding: 5px;
margin: 0;
border-top-width: 0;
border-bottom: 1px solid gray;
border-top-right-radius: 0px;
border-top-left-radius: 0px;
-webkit-border-top-right-radius: 0px;
-webkit-border-top-left-radius: 0px;
-moz-border-radius-topright: 0px;
-moz-border-radius-topleft: 0px;
}

.jqueryslidemenuz ul li ul li a:hover{ /*sub menus hover style*/
background: #eff9ff;
color: black;
}

/* ######### CSS classes applied to down and right arrow images  ######### */

.downarrowclass{
position: absolute;
top: 12px;
right: 7px;
}

.rightarrowclass{
position: absolute;
top: 6px;
right: 5px;
}

/* TOP MENU STYLES for MOBILE ONLY */

#mobilemenu {
	margin: 0 auto;
	z-index: 100;
}

.mobilemenu{
font: normal normal normal 10px/1.3 Verdana, Arial, Helvetica !important;
background: #b6d5c5;
}

.mobilemenu ul{
margin: 0;
padding: 0;
list-style-type: none;
}

/*Top level list items*/
.mobilemenu ul li{
position: relative;
display: inline;
float: left;
}

/*Top level menu link items style*/
.mobilemenu ul li a{
display: block;
background: #24536c; /*background of tabs (default state)*/
color: white;
padding: 3px 5px;
border-top: 1px solid #778;
border-right: 1px solid #778;
border-left: 1px solid #778;
margin-right: 3px;
color: #fff;
text-decoration: none;
behavior: url(/js/border-radius.htc); /* IE */
border-top-right-radius: 6px;
border-top-left-radius: 6px;
-webkit-border-top-right-radius: 6px;
-webkit-border-top-left-radius: 6px;
-moz-border-radius-topright: 6px;
-moz-border-radius-topleft: 6px;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

/* ========= phone portrait ============== */
@media only screen and (max-width: 479px) {

    .wrapper {
        width: 95%; /* 1024px - 10% for margins */
        margin: 0 auto;
    }
    
	#top-logo {
	width:279px;
	height:49px;
	background: url(/img/jhrm_logo_sm.png);
	z-index:999;
	position: absolute;
	top:3px;
	left: 3px;
	}
    
	#top-logo-jw {
	width:279px;
	height:49px;
	background: url(/img/jwbss_logo_sm.png);
	z-index:999;
	position: absolute;
	top:3px;
	left: 3px;
	}
	
	.header-container {
    height:109px;
	}
	
	#leftcol { display: none; }
	#centercol { width: 100%; padding: 0;}
	#rightcol { display: none;}
	
	#mobilemenu {
		position: absolute;
		text-align: center;
		margin: 0 auto;
		top: 87px;
		left: 10px;
	}
	
	#top-search {
		position: absolute;
		margin: 0 auto;
		top: 58px;
		left:10px;
		text-align: center;
	}

	#myslidemenu {
	display: none !important;
	}
	
	.nomobile {	display: none !important; visibility: hidden;}
	.main_social_bookmarks { display: none; }
	/*IMG.downarrowclass {display: none;}*/
	/*IMG.rightarrowclass {display: none;}*/
}

/* ========= phone landscape ============== */
@media only screen and (min-width: 480px) {

    .wrapper {
        width: 95%; /* 1024px - 10% for margins */
        margin: 0 auto;
    }

	#top-logo {
	width:279px;
	height:49px;
	background: url(/img/jhrm_logo_sm.png);
	z-index:999;
	position: absolute;
	top:3px;
	left: 10px;
	}
    
	#top-logo-jw {
	width:279px;
	height:49px;
	background: url(/img/jwbss_logo_sm.png);
	z-index:999;
	position: absolute;
	top:3px;
	left: 3px;
	}
	
	#top-search {
		position: absolute;
		display: inline-block;
		top: 3px;
		right:0px;
	}
	
	.header-container {
    height:85px;
	}
	
	#leftcol { display: none; }
	#centercol { width: 100%; padding: 0;}
	#rightcol { display: none;}

	#myslidemenu {
	display: block;
	top: 62px;
	}
	
	#mobilemenu {
		display: none !important;
	}
	
	.nomobile {	display: none !important; visibility: hidden;}
	.main_social_bookmarks { display: none; }
}

/* ========= tablet portrait ============== */
@media only screen and (min-width: 767px) {

    .wrapper {
        width: 740px; /* 1024px - 10% for margins */
        margin: 0 auto;
    }
    .header-container {
   	 height:85px;
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;
    }

    .title {
        float: left;
    }

	#top-logo {
	width:315px;
	height:109px;
	background: url(/img/jhrm_logo_lg.png);
	z-index:999;
	position: absolute;
	top:3px;
	left: 10px;
	}

	#top-logo-jw {
	width:315px;
	height:109px;
	background: url(/img/jwbss_logo_lg.png);
	z-index:999;
	position: absolute;
	top:3px;
	left: 10px;
	}

	#leftcol { display: inline-block; visibility: visible; width: 19%; min-width: 100px; max-width: 134px; }
	#centercol { width: 80%; min-width: 428px; max-width: 540px; padding: 0px 20px 10px 20px; }
	#rightcol { display: none; }

	#myslidemenu {
	top: 62px;
	}
	
	.nomobile {	display: inline-block !important; visibility: visible;}
	.main_social_bookmarks { display: inline-block; }
}

/* ========= tablet landscape ============== */
@media only screen and (min-width: 989px) {

    .wrapper {
        width: 980px; /* 1024px - 10% for margins */
        margin: 0 auto;
    }
	
	.header-container {
    height:58px;
	}
    
	#top-logo {
	width:315px;
	height:109px;
	background: url(/img/jhrm_logo_lg.png);
	z-index:999;
	position: absolute;
	top:3px;
	left: 10px;
	}

	#top-logo-jw {
	width:315px;
	height:109px;
	background: url(/img/jwbss_logo_lg.png);
	z-index:999;
	position: absolute;
	top:3px;
	left: 10px;
	}
	#leftcol { display: inline-block; visibility: visible; width: 15%; min-width: 100px; max-width: 124px;  }
	#centercol { width: 55%; min-width: 428px; max-width: 500px;  }
	#rightcol { display: inline-block; visibility: visible; width: 30%; min-width: 250px; max-width: 270px;  }

	#myslidemenu {
	top: 35px;
	}

	.nomobile {	display: inline-block !important; visibility: visible;}
	.main_social_bookmarks { display: inline-block; }
}

/* ========= desktop landscape ============== */
@media only screen and (min-width: 1140px) {

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
    
	#top-logo {
	width:315px;
	height:109px;
	background: url(/img/jhrm_logo_lg.png);
	z-index:999;
	position: absolute;
	top:3px;
	left: 10px;
	}

	#top-logo-jw {
	width:315px;
	height:109px;
	background: url(/img/jwbss_logo_lg.png);
	z-index:999;
	position: absolute;
	top:3px;
	left: 10px;
	}
	#leftcol { display: inline-block; visibility: visible; width: 15%; min-width: 100px; max-width: 130px; }
	#centercol { width: 55%; min-width: 428px; max-width: 510px; }
	#rightcol { display: inline-block; visibility: visible; width: 30%; min-width: 250px; max-width: 280px;  }

	.nomobile {	display: inline-block !important; visibility: visible;}
	.main_social_bookmarks { display: inline-block; }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}