html {
    margin-top: 16px !important;
}

body,html {
    height:100%;
    width: 100%;
    margin:0;
    padding:0;
    min-width:0;
    line-height:1.4;
    color: #232323;
    font-family: 'Montserrat', sans-serif;
    background-color: #FFFFFF;
    font-size: 16px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
}

h1 {
    font-size: 2.1em;
    font-weight: bold;
}

p {
    font-size: 1em;
}

.red {
    color: #D50000;
}

.row {
    margin-right: 0px !important;
    margin-left: 0px !important;
}

#login a {
    color: #3a739c !important;
}

.cilogon_privacy_policy {
    text-decoration: none;
    font-weight: 600;
}

.cilogon_privacy_policy:hover {
    text-decoration: underline;
}

.login_help_holder {
    margin-bottom: 50px;
}

.login_help_holder a {
    text-decoration: none;
    font-size: 22px;
    font-weight: 500;
}

.login_help_link:hover {
    text-decoration: underline;
}

.float_left {
    float: left;
}

.float_right {
    float: right;
}

/*Header*/
#edit-search-block-form--2 {
    margin-top: 0px;
}

.element-invisible {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    height: 1px;
}

.header_top {
    padding: 24px 54px 22px 133px;
}

.header_top .left {
    float: left;
}

.header_top .right {
    float: right;
    position: relative;
    width: 33.33333%;
    padding-right: 4.95%;
}

.header_top .right p {
    text-transform: uppercase;
    color: #5b8fb2;
    font-size: .8em;
    text-transform: uppercase;
}

.header_top .right p a {
    color: #000;
    font-weight: 300;
    margin: 0 .5em;
    text-decoration: none;
}

.header_top .right p a:hover {
    text-decoration: underline;
}

.NCI_OCCPR_logo {
    height: 60px;
}

.contact_links {
    text-align: right;
    margin-top: 0px;
    padding-right: 10px;
}

#search-block-form input[type="text"].headsearch {
    width: 69.7% !important;
    height: 2.1em;
    float: left;
    background-color: #d5d6d8;
    border: 1px solid #c9c9ca;
    border-right: 0;
}

#search-block-form button.headsearch-btn { 
    width: 26% !important; 
    float: left; 
    height: 34px;
    padding: 0.3em; 
    background-color: #32302c; 
    color: #FFF; 
    font-family: 'Montserrat', 
    sans-serif; 
    font-size: .8em; 
    font-weight: 700; 
    border: 0px solid #6a6a6a; 
    border-left: 0; 
}

.form-search label { 
    color: #FFFFFF; 
}

.btn.headsearch-btn {
    border-radius: 0px;
}

.header_bottom {
    clear: both;
    height: 40px;
    background-color: #636363;
    margin: 82px 0px 0px 0px;
    font-family: 'Montserrat', sans-serif;
    line-height: 40px;
    font-weight: normal;
    font-size: 1.4em;
    color: #FFFFFF;
    padding: 0px 132px;
}

#login {
    padding:8% 0 0;
    width: 90%;
    padding-top: 10px;
    margin:auto;
    text-align: center;
}

#login h1 {
    background-size: contain;
    text-align:center;
    background-image: url('/ncibc/resources/images/site/nihlogo.svg');
    padding-bottom: 30px;
    background-position: center top;
    background-repeat: no-repeat;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 auto 50px;
    padding: 0;
    text-decoration: none;
    text-indent: -9999px;
    outline: 0;
    overflow: hidden;
    display: block;
    height: 140px;
    width: 382px;
}

#login ul li ul li {
    margin-left: 15px;
}

#cilogon_logo {
    height: 35px;
    width: 35px;
    padding: 4px 11px 0px 0px;
}

.alternate_login_button {
    margin: 0px auto;
    color: #1c5e86 !important;
    width: 370px;
    padding: 20px 0px;
    text-shadow: 0 1px 1px rgb(0 0 0 / 8%);
    display: inline-block;
    white-space: nowrap;
    line-height: 1em;
    position: relative;
    outline: none;
    overflow: visible;
    cursor: pointer;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    box-shadow: 1px 1px 2px 0 #cccccc;
    -moz-box-shadow: 1px 1px 2px 0 #CCCCCC;
    -webkit-box-shadow: 1px 1px 2px 0 #cccccc;
    font-size: 24px;
    background-image: url(/ncibc/resources/images/site/nih-logo-color.png);
    background-position: left;
    background-repeat: no-repeat;
    text-indent: 165px;
    text-decoration: none !important;
    font-weight: 500;
}

.alternate_login_button:hover {
    color: #444555;
    box-shadow: none;
    text-decoration: none;
}

#login_banner {
    width: 90%;
    margin: 20px auto 20px auto;
    border: 1px solid transparent;
    border-radius: 4px;
}

#login_banner_header {
    padding: 10px 15px;
    
    font-size: 30px;
    font-weight: 300;
} 

#login_banner_body {
    padding: 0px 40px 25px 40px;
    background-color: #fff;
}

.login_holder > p {
    text-align: center;
}

.login_holder {
    margin-top: 30px;
}

.alternate_login_button {
    margin: 38px 1px 16px 0px;
    border: 1px solid #636363;
}

.alternate_login_button:hover {
    margin: 39px 0px 15px 1px;
}

.login_holder hr {
    background-color: #4693a1;
    height: 40px;
    border: none;
}

/* Footer */

#abcs_footer {
    padding: 0;
    margin: 0;
}

#abcs_footer div, #abcs_footer ul, #abcs_footer li, #abcs_footer p {
    margin: 0;
    padding: 0;
    direction: ltr;
}

#abcs_footer a {
    color: #ffffff;
    text-decoration: none;
    line-height: inherit;
}

#abcs_footer a:hover, #abcs_footer a:focus {
    color: #636363;
}

#abcs_footer a:hover {
    cursor: pointer;
}

#abcs_footer ul {
    list-style: none;
    margin-bottom: 1.25em;
    line-height: 1.5;
}

#abcs_footer img {
    display: inline-block;
    vertical-align: middle;
}

#abcs_footer.site-footer {
    background: #636363;
    background-color: #636363;
    padding: 1.5em 0em 0.5em 0em;
}

#abcs_footer.site-footer * {
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    -webkit-font-smoothing:antialiased;
}

#abcs_footer.site-footer a {
    font-weight: 700;
}

#abcs_footer.site-footer a:hover, #abcs_footer.site-footer a:focus {
    color: #FFFFFF;
    text-decoration: underline;
}

#abcs_footer .site-footer__container {
    width: 100%;
    max-width: 62.5em;
    margin: 0 auto;
    display: flex;
    flex-direction:column;
}

#abcs_footer .site-footer__agencies {
    width: auto;
    align-self: center;
    font-size: 0.8em;
}

#abcs_footer .site-footer__agencies ul {
    display: flex;
    flex-direction: column;
}

#abcs_footer .site-footer__agencies li:after {
    content: '';
    display: block;
    margin: 10px auto;
    width: 75px;
    height: 1px;
    background: rgba(255, 255, 255, 0.6);
}

#abcs_footer .site-footer__agencies li:last-child:after {
    display: none;
}

#abcs_footer .nci_footer_logo img {
    height: 2em;
    margin-top: -3px;
}

#abcs_footer .fnlcr_footer_logo img {
    height: 2.8em;
}

#abcs_footer .top_footer_creds li {
    padding-bottom: 6px;
    display:block;
}

#abcs_footer > div > div > ul.top_footer_creds > li:nth-child(2) > a {
    vertical-align: text-bottom;
}

@media only screen and (min-width: 641px) { 
    #abcs_footer.site-footer {
        background-position: -30% 150px;
    }

    #abcs_footer .site-footer__agencies ul {
        flex-flow: row wrap;
        justify-content: center;
        max-width: 640px;
    }

    #abcs_footer .site-footer__agencies li:after {
        content: '';
        display: inline-block;
        position: relative;
        top: 1px;
        margin: 0 10px;
        width: 1px;
        height: 12px;
        background: rgba(255, 255, 255, 0.6);
    }

    #abcs_footer .site-footer__agencies li:nth-child(even):after {
        display: none;
    }
}

@media only screen and (min-width: 1025px) {
    #abcs_footer.site-footer {
        background-position: 130% 150px;
    }

    #abcs_footer .site-footer__agencies ul {
        max-width: none;
    }

    #abcs_footer .site-footer__agencies li:not(:last-child):after {
        display: inline-block;
    }
}

@media only screen and (min-width: 1441px) {
    #abcs_footer .site-footer__container {
        max-width: 1200px;
    }
}

/* End Footer */

#cilogon-agreement {
    margin-top: 40px !important;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
    width: 50%;
    margin: 0px auto;
}

#cilogon-agreement > div {
    padding: 1.25rem;
    background-color: #f9f9f9 !important;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
}

footer {
    color: #fff;
    font-size: 12px;
    line-height: 2em;
    text-align: center;
    bottom: 0;
    padding: 50px 0 20px 0;
    position: relative;
    max-width: 100% !important;
    width: 100% !important;
}

footer div, footer ul, footer li, footer p {
    margin: 0;
    padding: 0;
    direction: ltr;
}

footer a {
    color: #2ba6cb;
    text-decoration: none;
    line-height: inherit;
}

footer a:hover, footer a:focus {
    color: #2795b6;
}

footer a:hover {
    cursor: pointer;
}

footer ul {
    list-style: none;
    margin-bottom: 1.25em;
    line-height: 1.5;
}

footer ul.menu {
    display: inline-block;
    text-align: center;
    margin-left: 0;
}

footer ul.menu li {
    display: inline-block;
}

footer ul.menu > li > a {
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    padding: 0.7rem .5em;
}

footer img {
    display: inline-block;
    vertical-align: middle;
}

footer .row.full-width.footer {
    background: #20558a;
    max-width: 100% !important;
}

footer .row {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
    max-width: 62.5em;
    *zoom: 1;
}

#body .atlwdg-trigger {
    z-index: 9999;
    background-color: #FAD620;
    color: #20558a !important;
}

.swpg_modal_h1 {
    padding: 4px 0px;
    font-weight: 500;
}

.swpg_modal {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 9999;
}

.swpg_modal .swpg_modal_contents {
    text-align: center;
    width: 24%;
    position: absolute;
    left: 37%;
    width: 40%;
    padding: 24px;
}

.swpg_modal .swpg_modal_contents_large {
    max-height: 90%;
    overflow: scroll;
    width: 79%;
    position: absolute;
    left: 11%;
    top: 7%;
    padding: 24px;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -webkit-box-shadow: 3px 3px 6px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 3px 3px 6px 0px rgba(0,0,0,0.25);
    box-shadow: 3px 3px 6px 0px rgba(0,0,0,0.25);
    background: rgb(237,237,237);
    background: -moz-linear-gradient(45deg, rgba(237,237,237,1) 0%, rgba(246,246,246,1) 53%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(45deg, rgba(237,237,237,1) 0%,rgba(246,246,246,1) 53%,rgba(255,255,255,1) 100%);
    background: linear-gradient(45deg, rgba(237,237,237,1) 0%,rgba(246,246,246,1) 53%,rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#ffffff',GradientType=1 );
}

#submit_button {
    margin-right: 20px;
}

@media only screen and (min-width: 641px) { 
    .site-footer {
        background-position: -30% 150px;
    }

    .site-footer__agencies ul {
        flex-flow: row wrap;
        justify-content: center;
        max-width: 640px;
    }

    .site-footer__agencies li:after {
        content: '';
        display: inline-block;
        position: relative;
        top: 1px;
        margin: 0 10px;
        width: 1px;
        height: 12px;
        background: rgba(255, 255, 255, 0.6);
    }

    .site-footer__agencies li:nth-child(even):after {
        display: none;
    }
}

@media only screen and (min-width: 768px) {
    
    .large-12 {
        position: relative;
        width: 100%;
    }

}

@media only screen and (min-width: 1025px) {
    .site-footer {
        background-position: 130% 150px;
    }

    .site-footer__agencies ul {
        max-width: none;
    }

    .site-footer__agencies li:not(:last-child):after {
        display: inline-block;
    }
}

@media only screen and (min-width: 1441px) {
    .site-footer__container {
        max-width: 1200px;
    }
}