/* Mark J: I've changed the font sizes to be relative rather than absolute, so that you can resize using the browser
    "text size". Before I started this had body {font-size: 80%}, so I'm leaving that and making all my adjustments
    based on a body font size of 80%*16px=12.8px. */

body {
position: relative;
font: 81%/1.5em Trebuchet MS, Arial, Helvetica, sans-serif;
-webkit-font-smoothing: antialiased;
margin: 0;
padding: 0;
text-align: center;
border-top: 30px solid #20558a;
}

/* ---------------------------------------------------- */
/* BANNER
/* ---------------------------------------------------- */

#banner ul#nihribbon {
	position: relative;
	left: -3px;
	font: 1em/1.2em Arial, Helvetica, sans-serif;
	padding: 0;
	margin: 0;
	list-style-image: none;
	list-style-type: none;
	overflow: hidden; /* Forces this parent block to expand to contain floated images  */
    margin-top:-30px;
}
.nih a {
    text-transform:none;
}
#banner ul#nihribbon li {
	float: left;
	padding: 0 18px 0 0;
	margin: 0 10px 0 0;
	height: 30px;
	background: transparent url(../images/nihribbon-divider.png) no-repeat right top;
}
#banner ul#nihribbon a {
	display: block;
	color: #fff;
	padding: 5px 6px 0 6px;
	height: 23px;
}
#banner ul#nihribbon a:visited,
#banner ul#nihribbon a:hover {
	color: #fff;
}
#banner ul#nihribbon li.hhs a {
	padding-left: 27px;
	background: transparent url(../images/nihribbon-hhs.png) no-repeat 0 2px;
}
#banner .nihlogo {
	position: absolute;
	top: 57px;
	left: 0;
	width: 391px;
	height: 60px;
    z-index: 1;
}
#banner .office {
    position: absolute;
	top: 100px;
	left: 104px;
	width: 391px;
	height: 20px;
    z-index:2;
    font-style: italic;
    font-family: Helvetica, Arial, sans-serif;
}
#banner .appname {
    position: absolute;
	top: 84px;
	left: 512px;
    z-index:2;
    color: #1f5489;
    font-size: 148%; /* 16px; */
}
#banner .appname .bigger {
    font-size: 188%; /* 24px; */
    font-weight: 700;
}
#banner ul#utilities {
	position: absolute;
	top: 103px;
	right: 0;
	font: 0.9em/1.2em Trebuchet MS, Arial, Helvetica, sans-serif;
	text-align: right;
	padding: 0;
	margin: 0;
	list-style-type: none;
	list-style-image: none;
}
#banner ul#utilities li {
	display: inline;
	padding: 0 0.8em 0 0.4em;
	margin: 0;
	background: none;
	border-right: 1px solid #ccc;
}
#banner ul#utilities li.last {
	padding-right: 0;
	border-right: none;
}

/* ========================= */
/* = Global Tags & Classes = */
/* ========================= */

/* ODS Logo & tagline fonts/substitutions:
	Frutiger, 'Humanist 777', 'Frutiger Next', 'Frutiger Linotype', Arial, Helvetica, 'Trebuchet MS', sans-serif;
*/

TABLE, DIV {
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}

body {
	text-align:center;
	font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
}

a {
	text-decoration: none;
	color: inherit;
}

a:hover {
	text-decoration: underline;
}

a.disabled:hover {
	text-decoration: none;
}

p {
	margin-top: 5px;
	line-height: 150%;
}

li, td, #content {
	line-height: 150%;
}

p.caption, ul.caption li {
	font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
	margin: 0px;
	color: rgb(51, 51, 51);
}

p.caption a:hover, ul.caption li a:hover {
	text-decoration: underline;
}

.morelink {
	color: rgb(32, 85, 138) !important;
	font-weight:bold;
    text-transform:lowercase;
    text-decoration:none;
    /* font-size: 13px; */ /* Go with default */
	/* font-family: Arial, Helvetica, 'Trebuchet MS', sans-serif; */
}

SUB {
	line-height: 0em;
	vertical-align: -0.3em;
}

SUP {
	line-height: 0em;
	vertical-align: 0.3em;
}

H2 {
	font-size: 1.5em; /* IE 6/7 compatibility */
}


.translation, .translation a {
	color: #666 !important;
	font-style: italic !important;
	font-weight: normal !important;
}

H2 .translation 
{
	font-size: .7em !important;
}

INPUT, TEXTAREA, SELECT {
	font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
}

.hiddenLabel {
	/* When we need to hide the Section 508 required labels */
	position: absolute;
	top: -999px;
	color: White;
	background-color: White;
}

IMG.externallink {
	padding-left: 2px;
	border: none;
}

/* ============= */
/* = Positions = */
/* ============= */

#container {
    margin-left: auto;
	margin-right: auto;
	text-align: left;
	width: 960px;
	position: relative;
}

#header {
	width:100%;
	height:170px;
	background: white;
    border-bottom: 1px solid rgb(176, 177, 178);
	position:relative;
	/*margin-bottom:15px;*/
}

#maincontent {
    width: 912px;
    padding: 26px 24px 0px 24px;
}

#logo {
    width: 352px;
    float: left;
    margin-top: 31px;
    margin-bottom: 52px;
}
#logo img {
    border: none;
}

#tagline {
    width: 300px;
    padding:0px;
    margin-top: 51px;
    margin-left: 119px;
    float: left;
}

#fontsizer {
	width: 102px;
    float: right;
    margin-top: 18px;
}

#search {
	position: absolute;
	right: 0;
	bottom: 4px;
}
#search .txt_search {
    float: left;
    width: 210px;
    height: 19px;
    margin-top: 1px;
    margin-left: 4px;
    margin-right: 4px;
    border: 1px solid rgb(206, 206, 205);
}
#search .btn_search {
	float: left;
}

/* ================================================ */
/* Top navigation and Fact Sheet Reading Level tabs */
/* ================================================ */
#topnav {
	padding:0px;
	position:absolute;
	left:0px;
	bottom:0px;
    font-size: 14px;
	font-weight:bold;
	width:672px;
}

#topnav ul {
	padding:0px;
	margin:0px;
    height: 39px;
}

#topnav li {
	float:left;
    height: 39px;
	margin: 0px;
	padding: 0px;
    line-height:  39px; 
	position:absolute;
	width:auto;
	list-style-type:none;
}
#topnav li span{
    padding: 0px 20px; 
    height: 39px;
    line-height:  39px; 

}
#topnav #liHealthInformation {
    width: 184px;
    left: 0;
    background: transparent url(../images/Common/ODSnav.png) no-repeat 0 0;
}
#topnav #liHealthInformation:hover {
    width: 184px;
    left: 0;
    background: transparent url(../images/Common/ODSnav.png) no-repeat 0 -39px;
}
#topnav #liNews {
    width: 165px;
    left: 184px;
    background: transparent url(../images/Common/ODSnav.png) no-repeat -184px 0;
}
#topnav #liNews:hover {
    width: 165px;
    left: 184px;
    background: transparent url(../images/Common/ODSnav.png) no-repeat -184px -39px;
}
#topnav #liResearch {
    width: 183px;
    left: 349px;
    background: transparent url(../images/Common/ODSnav.png) no-repeat -349px 0;
}
#topnav #liResearch:hover {
    width: 183px;
    left: 349px;
    background: transparent url(../images/Common/ODSnav.png) no-repeat -349px -39px;
}
#topnav #liAbout {
    width: 140px;
    left: 532px;
    background: transparent url(../images/Common/ODSnav.png) no-repeat -532px 0;
}
#topnav #liAbout:hover {
    width: 140px;
    left: 532px;
    background: transparent url(../images/Common/ODSnav.png) no-repeat -532px -39px;
}

#topnav li a {
    /*position: absolute;
    top: -999px; */
    display:block;
    width:100%;
}
    #topnav li a:hover {
        text-decoration: none;
    }
#topnav li li a {
    position: relative;
    top: auto;
}

/*#topnav li img{
	position:absolute;
	bottom:0px;
	right:-30px;
}*/
#topnav li div{
	/* display:none;
	changed from display:none to position:absolute + left:-999px to hide
	the menu... this way the screen readers will still find the data */
	position: absolute;
	top: -999px;
	padding:0px;
	margin: 0px;
	width: 260px;
    height: 130px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px; 
    border-top-right-radius: 8px;
    -moz-box-shadow:    5px 5px 20px 0px rgba(97, 98, 101, 0.3);
    -webkit-box-shadow: 5px 5px 20px 0px rgba(97, 98, 101, 0.3);
    box-shadow:         5px 5px 20px 0px rgba(97, 98, 101, 0.3);
	z-index: 102;  /* must retain for overlay effect */
}

#topnav ul ul {
    height: 130px;
    z-index: 102;  /* must retain for overlay effect (IE10) */
}

#topnav li li {
	width: 220px;
    position: relative;
    top: auto;
    z-index: 102;  /* must retain for overlay effect (IE7) */
}

#topnav li:hover div, #topnav li.ie6hover div {
	top: 39px;
	left: 0px;
	height: auto;
}

#topnav li:hover li, #topnav li.ie6hover li {
	margin-left: 0px;
	padding-left: 32px;
	border-top: 0px;
}
#social {
    position: absolute;
    right: 0;
    bottom: 28px;
}
#social img {
    margin-left: 5px;
}

/* ========== */
/* = Footer = */
/* ========== */

#footer{
	width:100%;
	clear:both;
}

#footertext
{
	white-space:nowrap;
	margin-left: auto;
	margin-right: auto;
    padding-top: 1.25em; /* 20px; */
	width: 50%;
    height: 1.17em; /* 15px; */
}

#footertext ul 
{
	margin: 0px auto 0px auto !important;
	padding-left: 0px !important;
}

#footertext li
{
	float:left;
	list-style-type:none;
    font-size: 94%; /* 12px; */
	padding:0px;
}
    #footertext li a {        
        color: rgb(97, 98, 101);
    }

#footerimages {
	margin-left: auto;
	margin-right: auto;
	width: 182px;
}

#footerimages img 
{
	margin-top: 5px;
	border: 0px;
	vertical-align: middle;
}
.referToConsumer {  /* used for inset on HP fact sheets */
float: right; 
width: 200px; 
margin: 0px 0px 3px 3px;
border: 1px solid #825c26; 
/*border-radius: 5px;*/
}
.referToQuickFacts {  /* used for inset on HP fact sheets */
float: right;
    clear: right;
width: 200px; 
margin: 0px 0px 3px 3px;
border: 1px solid #825c26; 
/*border-radius: 5px;*/
}

.modal-like {
    background-color: #ffffff;
    border: 10px solid #999;
    border: 20px solid rgba(25, 82, 137, 0.9);
    *border: 10px solid #999;
    -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
            border-radius: 6px;
    outline: none;
    -webkit-box-shadow: 0 3px 7px rgba(25, 82, 137, 0.9);
        -moz-box-shadow: 0 3px 7px rgba(25, 82, 137, 0.9);
            box-shadow: 0 3px 7px rgba(25, 82, 137, 0.9);
    -webkit-background-clip: padding-box;
        -moz-background-clip: padding-box;
            background-clip: padding-box;
    z-index:10000;
    position:absolute;
    top: 0px;
    left: 50%;
    margin-left: -340px;
    min-width:400px;
    padding:20px;
}

    .modal-like div {
        min-width: 300px;
    }
.letter-header, .letter-header:hover {
    color:inherit;
    text-decoration: none;
}
a.term, a.term:hover {
    color:inherit;
    text-decoration: none;
    font-weight:bold;
}
.bold {
    font-weight:bold;
}
#divCGlossary {
    text-align:left;
    display:none;
}
#dlist {
    overflow-y: scroll;
    overflow-x: hidden;
    min-height:200px;
    list-style-type:none;
    margin:0;
    padding:0;
}
    #dlist li {
        margin:0;
        padding:0;
    }
.admin, .admin-terms {
    position:fixed;
    width:100%;
    background-color:#20558a;
    height:25px;
    bottom:0;
    left:0;
    color:#fff;
    text-align:center;
}

    .admin a, .admin a:visited, .admin-terms a, .admin-terms a:visited {
        color:#fff;
        text-decoration: none;
        font-weight:bold;
    }
.admin-terms {
    bottom:25px;
    height:auto;
}

#social-footer {
    padding-top: 20px;
    width:100%;
    clear:both;
    text-align:center;
}
.bookmarks {
    padding-left: 100px;
}
.bookmarks ul {
    padding: 0;
    margin-top: 0px;
    margin-bottom: 0px;
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
}
.bookmarks ul li {
    position: relative;
    float: left;
    padding: 8px 18px 5px 30px;
    margin: 0;
    background: none;
}
.bookmarks ul li.email {
    background: transparent url(/images/home/email_mini.png) no-repeat scroll left center;
}
.bookmarks ul li.twitter {
    background: transparent url(/images/home/twitter_mini.png) no-repeat scroll left center;
}
.bookmarks ul li.facebook {
    background: transparent url(/images/home/facebook_mini.png) no-repeat scroll left center;
}
.bookmarks ul li.googleplus {
    background: transparent url(/images/home/gplus_mini.png) no-repeat scroll left center;
}
.bookmarks ul li.pinterest {
    background: transparent url(/images/home/pinterest_mini.png) no-repeat scroll left center;
}

.js-masonry { margin-top: 10px; }

/* ========== */
/* = Related Pages Box = */
/* ========== */

.related_pages_box {
    float: right;
    border: 2px solid #825c26;
    padding: 1ex;
    width: 180px;
    margin: 0 0 .75em 1em;
}
.related_pages_box ul { padding: 0 0 0 3ex;word-wrap: break-word;}
.related_pages_title {
    color: #852c26;
    text-align: center;
    font-weight: bold;
}
