/***
These styles are specific to the SEER website.
Contains modifications to page template to accomodate the Explorer Application.
***/
/* ==================================================
	NCI Govt Header
================================================== */
section#usa-banner {margin-bottom: 0; background: #f0f0f0;}
.usa-banner__header-text {font-size: 12px; line-height: 1.2; margin-bottom: 0; margin-top: 0;}
.usa-banner__header-text img {vertical-align: baseline;}

body {
    font-family: "Source Sans Pro","Helvetica Neue",Helvetica,Arial,"sans-serif"!important;
}

/**************************************
Header
**************************************/
#skip, #skip:hover, #skip:visited { position: absolute; top: -20em; right: 44%; padding: .5rem 1rem; font-weight: bold; border: 1px solid #ccc; border-top: none; border-radius: 0 0 3px 3px; transition: all .2s ease-in-out; font-size: 1rem; color: #006db5; }
#skip:active, #skip:focus { position: absolute; top: 0; background: #fff; box-shadow: 0 1px 5px rgba(0,0,0,.7); }

.bannerWrap { display: flex; padding: 0 1.5rem; }

.seerLogo { display: inline-block; line-height: 0; max-width: 641px; padding: 23px 0; max-height: 100px; width: 100%; }
.seerLogo > img { width: 100%; }

a.logo {
	color: #fff;
	font-weight: bold;
    display: inline-block;
	text-decoration: none;
}


/* NCI Logo */
	/* NCI has STRICT requirements for the logo. Do not edit this CSS. Contact Stephanie Schmitt or Brian Downey for help. */
.nciLogo img { max-height: 54px; max-width: 616px; margin: 23px 0; }
	
/* Search Box */
.search { margin-left: auto; }
.search > form { position: relative; width: 100%; margin-top: 40px; }
.search label { display: block; position: absolute; text-indent: -5000px; top: -5000px; }
#searchsite { padding: 0 .2rem; width: 100%; }
.search .greenBtn { padding: 8px; border-radius: 0; }
/* adjust positioning of box as screen gets smaller (add this buttons move) */
@media only screen and (max-width: 1024px) {
	.bannerWrap { display: block; }
	.search > form { margin-top: 0; margin-bottom: 10px; }
}

/* ==================================================
	Header Search
================================================== */
.searchForm { position: relative; }
.searchForm input { padding-right: 3em; }
.searchForm button { position: absolute; top: 2px; right: 2px; background: none; border: none; padding: 4px 8px; margin: 0; border-radius: .25rem;  }
.searchForm button:hover, .searchWrap button:focus { background: #e3ddfe /*cc*/; }
@media (max-width: 47.99em) {
    .searchForm { margin-top: 1rem; }
}


/**************************************
Nav Bar
**************************************/
.ribbon {
    background: #D24600 /*cc*/;
	color: #fff;
    font-weight: 600;
    padding: 0.6rem 0;
    line-height: 1.25;
}
.ribbon span {
    display: inline-block;
}
.ribbon span a {color: #fff; text-decoration: none;}
.ribbon span a:hover, .ribbon span a:focus {text-decoration: underline;}


nav { background: #2e2e2e; }
.navWrap { display: flex; align-items: center; justify-content: space-between; padding: .6rem 1.5rem; position: relative;}
.logo:hover, .logo:focus { opacity: .8; }
.logo img { vertical-align: bottom; padding: 1rem 0; }

.navWrap button { display: none; }

.navWrap ul { display: flex; padding: 0; margin: 0; list-style: none; }
.navWrap ul a { display: block; color: #fff; text-decoration: none; padding: .2rem 1rem; margin: 0 .25rem; font-size: .9rem; border-radius: 3px; }
.navWrap ul li:last-child a { margin-right: 0; }
.navWrap ul a:hover, .navWrap ul a:focus { background: rgba(255,255,255,.1); }
.navWrap ul li.active a { background: #2f70a8; }
@media only screen and (max-width: 810px) {
	.mobileState { display: none!important; }
	.navWrap button { display: block; background: none; border: none; color: #fff; cursor: pointer; padding: .25rem 1rem; font-size: 1rem; border-radius: 3px; }
	.navWrap button:hover, .navWrap button:focus { background: rgba(255,255,255,.1); }
	.navWrap button svg { margin-bottom: -.2rem; }
	.navWrap ul { display: block; width: 100%; position: absolute; top: 100%; left: 0; background: #4a4a4a; padding: .75rem; z-index: 10; justify-content: space-around; box-shadow: 0 3px 12px rgba(0,0,0,.5); }
	.navWrap ul a { font-size: 1rem; }
}


/* ==================================================
	Footer
================================================== */
/*reset footer container max-width*/
footer .container, .lastUpdate.footerGray .container {
	width: 98%;
    max-width: 1200px;
}

footer { font-size: 1rem; color: #fff; }
footer { background: #14315c; }
.footerGray {background: #0F2443;}
.lastUpdate { padding: 7px 0; background:transparent;}


@media (max-width: 767px) {
	.footerGray.padding-override {padding-bottom: 45px!important;}
}

footer h2 { font-size: 1.325rem; padding-top: 0; text-transform: uppercase; font-family: "Source Sans Pro","Helvetica Neue",Helvetica,Arial,"sans-serif"; font-weight: 700; }
footer .footerGray h2 {
    line-height: 105%;
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 28px;
}
.footerGray p {
    font-size: 18px;
}
footer a { text-decoration: none;}
footer a:hover, footer a:focus { text-decoration: underline;}
footer a, footer a:hover, footer a:focus { color: #fff;}
footer li { margin-bottom: 10px;}
footer .connect {
    display: flex;
    align-items: center;
    margin-bottom: 2em;
}
footer .connect a.social-icon {
    width: 38px;
    height: 38px;
    display: inline-block;
    border-radius: 50%;
    border: 1px solid #FFFFFF;
    margin-right: 15px;
    transition: all .2s ease-in-out;
}
footer .icon-linkedin {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIGlkPSJwcmVmaXhfX0xheWVyXzEiIHg9IjAiIHk9IjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAyMCAyMCI+PHBhdGggZD0iTTE4LjEuNUgxLjlDMS4xLjUuNSAxLjEuNSAxLjl2MTYuM2MwIC44LjYgMS40IDEuNCAxLjRoMTYuMmMuOCAwIDEuNC0uNiAxLjQtMS40VjEuOWMwLS44LS42LTEuNC0xLjQtMS40em0tMTIgMTYuMkgzLjNWNy42aDIuOHY5LjF6TTQuNyA2LjRjLS45IDAtMS42LS43LTEuNi0xLjYgMC0uOS43LTEuNiAxLjYtMS42LjkgMCAxLjYuNyAxLjYgMS42LjEuOS0uNyAxLjYtMS42IDEuNnptMTIgMTAuM2gtMi44di00LjRjMC0xLjEgMC0yLjQtMS41LTIuNHMtMS43IDEuMS0xLjcgMi4zdjQuNUg3LjlWNy42aDIuN3YxLjJjLjQtLjcgMS4zLTEuNSAyLjctMS41IDIuOSAwIDMuNCAxLjkgMy40IDQuM3Y1LjF6IiBzdHlsZT0iZmlsbDojZmZmIi8+PC9zdmc+);
    background-size: 20px 20px;
    height: 20px;
    width: 20px;
    margin: 8px;
    display: inline-block;
    border: none;
    border-radius: 0;
}
footer li {
    margin-bottom: 10px;
}
footer .connect {
    display: flex;
    align-items: center;
    margin-bottom: 2em;
}
footer .connect a.social-icon {
    width: 38px;
    height: 38px;
    display: inline-block;
    border-radius: 50%;
    border: 1px solid #FFFFFF;
    margin-right: 15px;
    transition: all .2s ease-in-out;
}
footer .icon-linkedin {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIGlkPSJwcmVmaXhfX0xheWVyXzEiIHg9IjAiIHk9IjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAyMCAyMCI+PHBhdGggZD0iTTE4LjEuNUgxLjlDMS4xLjUuNSAxLjEuNSAxLjl2MTYuM2MwIC44LjYgMS40IDEuNCAxLjRoMTYuMmMuOCAwIDEuNC0uNiAxLjQtMS40VjEuOWMwLS44LS42LTEuNC0xLjQtMS40em0tMTIgMTYuMkgzLjNWNy42aDIuOHY5LjF6TTQuNyA2LjRjLS45IDAtMS42LS43LTEuNi0xLjYgMC0uOS43LTEuNiAxLjYtMS42LjkgMCAxLjYuNyAxLjYgMS42LjEuOS0uNyAxLjYtMS42IDEuNnptMTIgMTAuM2gtMi44di00LjRjMC0xLjEgMC0yLjQtMS41LTIuNHMtMS43IDEuMS0xLjcgMi4zdjQuNUg3LjlWNy42aDIuN3YxLjJjLjQtLjcgMS4zLTEuNSAyLjctMS41IDIuOSAwIDMuNCAxLjkgMy40IDQuM3Y1LjF6IiBzdHlsZT0iZmlsbDojZmZmIi8+PC9zdmc+);
    background-size: 20px 20px;
    height: 20px;
    width: 20px;
    margin: 8px;
    display: inline-block;
    border: none;
    border-radius: 0;
}

.livehelp { background: #fff; color: #333; text-align: center; padding-top: 10px; }
.livehelp a { padding: 0 0 10px 0; display: block; font-size: 20px; font-weight: 700; color: #333; }
.livehelp a:hover, .livehelp a:focus { color: #333; }
.livehelp img { width: 165px; height: 55px; display: block; margin: 0 auto; }
.livehelp a .livehelp-tel { font-size: 1rem; font-weight: 400; }
.tagline-container { display: table; height: 135px; }
.tagline { display: table-cell; vertical-align: middle; font-family: "Merriweather","Times New Roman",Times,Georgia,serif; font-size: 24px; font-weight: 300; padding: 0 15px; }
@media (min-width: 47.99em) {
    .govLinks { margin-top: 30px; }
}

/* return to top */
.returntop { position: fixed; bottom: 5rem; right: 1rem; display: none; z-index: 99; width: 50px; height: 50px; border-radius: 50%; box-shadow: 0 0 8px rgba(0,0,0,.2); text-align: center; background: #fff; }
.returntop span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.returntop svg { border: 1px solid #008391; /*cc*/ border-radius: 50%; margin-top: 8px; padding: 5px; height: 35px; width: 35px; display: inline-block; float: none;}
.returntop svg path { fill: #008391; /*cc*/ }
.returntop:hover, .returntop:focus { background: #008391; /*cc*/ }
.returntop:hover svg, .returntop:focus svg { border-color: #fff; }
.returntop:hover svg path, .returntop:focus svg path { fill: #fff; }

/* return to top overrides */
.returntop svg { border: 1px solid #2f70a8; /*cc*/ }
.returntop svg path { fill: #2f70a8; /*cc*/ }
.returntop:hover, .returntop:focus { background: #2f70a8; /*cc*/ }
@media (max-width: 991px) {
	.returntop:hover svg, .returntop:focus svg { background: #2f70a8; /*cc*/ border-color: #2f70a8; /*cc*/ }
}

/**************************************
Add This Bar
**************************************/
/* Hide the one on the right for now */
.addthis-smartlayers-desktop, .addthis-smartlayers.addthis-smartlayers-mobile { display: none; }

/* reposition the top bar to come from the top */
.addthis_inline_share_toolbox { position: absolute; top: 0; right: 15px; }
.at-style-responsive .at-share-btn { padding: 7px 3px 3px 3px!important; border-radius: 0 0 3px 3px!important; transform: translateY(-4px)!important; }
.at-style-responsive .at-share-btn:hover, .at-style-responsive .at-share-btn:focus { transform: translateY(0)!important; }

/* move it into the blue nav bar on mobile */
@media only screen and (max-width: 1024px) {
	.addthis_inline_share_toolbox { display: none; }
	.at-style-responsive .at-share-btn { transform: translateY(0px)!important; padding: 5px!important; border-radius: 3px!important; }
	.at-style-responsive .at-share-btn:hover, .at-style-responsive .at-share-btn:focus { transform: translateY(4px)!important; }
	.at-share-dock { display: none!important; } /* hide the bottom Add This */
}


/**************************************
Helpers
**************************************/
.visually-hidden { clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

.cf:before, .cf:after { content: ""; display: table; }
.cf:after { clear: both; }
.cf { zoom: 1; }

.d-flex { display: flex; }
.m-0 { margin: 0; }

/* hide the BS modal until we replace it */
#share, #imgModal, #printModal { display: none!important; }

/* borrow the SEER CTA button */
.greenBtn { background: #f2f2f2; border-radius: 3px; color: #222!important; text-decoration: none; margin: 0; padding: .5rem 1rem; transition: background .1s linear; }
.greenBtn:hover, .greenBtn:focus { background-color: #ccc; color: #222; transition: background .05s linear; }