
/* REDESIGN - NEW STYLES */

#mast-head textarea:focus, #mast-head input:focus{
    outline: none;
}

#mast-head {
    font-family: "Roboto", sans-serif;
    width: 100%;
    /* height: 60px; */
    z-index: 10001;
    position: fixed;
    /* position: sticky; */
    top: 0;
    left: 0;
}

#mast-head.is-home-page {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
}

/*
#mast-head.masthead-tall {
    height: 120px;
}
*/
.jove-header-wrapper {
    width: 100%;
    height: 50px;
    display: flex;
    background-color: #24292E;
}

.jove-header-container {
    width: 100%;
    /* height: 60px; */
    max-width: 1440px;
    font-size: 14px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
}

.header-links-container .fal, .header-links-container .far {
    margin: 0 5px;
    position: relative;
    line-height: 0px;
}

.header-dropdown .fa-chevron-down {
    margin-right: 0;
}
.screen-reader-text {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
	z-index:-999;
}
.screen-reader-text:focus {
	left: 0;
    top: 0;
    width: auto;
    height: auto;
    overflow:auto;
	z-index:10002;
	color: white;
}
#trial-banner {
    display: none;
}


.jove-header-container .site-title {
    position: relative;
    width: auto;
    display: block;
    padding-left: 10px;
    margin-right: 10px;
}

.jove-header-container .site-title a {
    display: block;
    background: url(/img/logos/jove-logo-white.svg) left center/contain no-repeat;
    position: relative;
    width: 85px;
    height: 42px;
    top: 50%;
    transform: translateY(-50%);
    text-decoration: none;
    text-indent: -10000px;
}

.jove-header-container #body-header-hamburger {
    text-align: center;
    margin-top: auto;
    margin-bottom: auto;
    font-size: 1.7em;
    cursor: pointer;
    padding: 10px 12px;
}

.header-link {
    margin: auto 15px;
    /* margin-top: 15px; */
    align-self: center;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    line-height: 11px;
}

.jove-header-container .header-search-container form {
    width: 100%;
    height: 100%;
    position: relative;
    box-sizing: border-box;
}

.jove-header-container .header-search-container form #q {
    border: none;
    background: #fff;
    border-radius: 25px;
    color: black;
    position: relative;
    font-size: 14px;
    font-weight: 500;
    display: block;
    height: 100%;
    padding: 0 15px !important;
    padding-right: 40px !important;
    width: 100%;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
}

.jove-header-container .header-search-container form #q::-webkit-input-placeholder,
.jove-header-container .header-search-container form #q:-ms-input-placeholder,
.jove-header-container .header-search-container form #q::-moz-placeholder,
.jove-header-container .header-search-container form #q:-moz-placeholder {
    color: #bbb;
    opacity: 1;
    line-height: 0px;
    vertical-align: middle;
}

/* .jove-header-container .header-search-container form #q:-ms-input-placeholder {
    color: #aaa;
} */


.jove-header-container .header-search-container form .search_button {
    background: url(/img/header/search-regular.svg) center center/18px no-repeat;
    border: none;
    border-radius: 50%;
    display: block;
    width: 48px;
    height: 48px;
    position: absolute;
    text-align: left;
    text-indent: -10000px;
    right: 0px;
    cursor: pointer;
    padding: 0;
    top: 50%;
    transform: translateY(-50%);
}

.header-search-container {
    /* width: 100%; */
    flex: 1 0 200px;
    /* max-width: 700px; */
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
    padding: 8px 10px;
}

.header-links-container {
    /* width: 50%; */
    height: 100%;
    box-sizing: border-box;
    position: relative;
    display: flex;
    font-size: 14px;
    font-weight: normal;
    padding-right: 10px;
}

.header-button {
    border: 1.5px solid white;
    border-radius: 24px;
    text-align: center;
    text-decoration: none;
    line-height: 11px;
    cursor: pointer;
    padding: 8px 10px;
    margin: 0;
    margin-left: 15px;
    letter-spacing: .25px;
}

.trial-timer {
    /* border: 1.5px solid white; */
    border-radius: 24px;
    text-align: center;
    text-decoration: none;
    line-height: 11px;
    /* cursor: pointer; */
    padding: 10px;
    padding-left: 5px;
    margin: 0;
    margin-left: 15px;
    background-color: #DF3F5B;
}
.trial-timer span {
    min-width: 36px;
    display: inline-block;
}
.jove-header-container .fal, .jove-header-container .far {
    color: white;
}

.jove-header-container .header-link {
    color: white;
}

/* BLACK HEADER */


.jove-header-container  {
    max-width: 1440px;
}

/* WHITE HEADER */

.header-white {
    background-color: white;
    /* display: none; */
}

.header-white .site-title a {
    background: url(/img/logos/jove-logo-gray.svg) left center/contain no-repeat;
}

.jove-header-wrapper .header-link {
    color: white;
    font-weight: 500;
    font-size: 13px;
}

.jove-header-wrapper .header-link#nav-remote-learning,
.jove-header-wrapper .header-link#nav-covid19 {
    color: #FF4136;
}
.header-white .login-button {
    color: #4193F4;
    border-color: #4193F4;
}

.header-white .login-button .fal, .header-white .login-button .far {
    color: #4193F4;
}

.header-white .header-link .fa-search,
.header-white .header-link .fa-flask,
.header-white .header-link .fa-graduation-cap
{
    color: #616C78;
}

.header-white .header-button {
    color: #4193F4;
    border-color: #4193F4;
}

.header-white #body-header-hamburger {
    background-color: #4193F4;
    border-radius: 3px;
}

.header-white .header-search-container {
    width: 40%;
}


.jove-header-wrapper .header-links-container {
    margin-left: auto;
}

.jove-subheader .header-link {
    font-size: 13px;
    font-weight: 500;
}

/* fix placeholder text overflow */
input[placeholder] { text-overflow: ellipsis; }
::-moz-placeholder { text-overflow: ellipsis; } /* firefox 19+ */
input:-moz-placeholder { text-overflow: ellipsis; }

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    text-overflow: ellipsis;
}

::-moz-placeholder { /* Firefox 19+ */
    text-overflow: ellipsis;
}
:-ms-input-placeholder { /* IE 10+ */
    text-overflow: ellipsis;
}
:-moz-placeholder { /* Firefox 18- */
    text-overflow: ellipsis;
}



.solutions-dropdown-content,
.research-dropdown-content,
.education-dropdown-content,
.hamburger-dropdown-content,
.signout-menu,
.country-dropdown-content {
    display: none;
    background-color: #24292E;
    position: absolute;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    z-index: 1;

    padding: 20px;
    text-align: left;
    color: white;

    /* left: 135px; */
    top: 60px;
    cursor: default;

    border: 1px solid #55555533;
}

.research-dropdown-content,
.education-dropdown-content {
    min-width: 250px;
}

#signout-container {
    position: relative;
}
.signout-menu {
    padding: 15px 15px;
    padding-top: 9px;
    left: -65px;
    top: 45px;
}
.solutions-dropdown-content,
.research-dropdown-content,
.education-dropdown-content,
.hamburger-dropdown-content {
    padding: 10px 20px;
    left: -75px;
    top: 35px;
}

.solutions-dropdown-content a,
.research-dropdown-content a,
.education-dropdown-content a,
.hamburger-dropdown-content a,
.signout-menu a,
.signout-menu input {
    display: block;
    color: white;
    padding: 7px 0px;
}
.solutions-dropdown-content a:visited,
.research-dropdown-content a:visited,
.education-dropdown-content a:visited,
.hamburger-dropdown-content a:visited,
.signout-menu a:visited,
.solutions-dropdown-content a:hover,
.research-dropdown-content a:hover,
.education-dropdown-content a:hover,
.hamburger-dropdown-content a:hover,
.signout-menu a:visited{
    color: white;
}
.solutions-dropdown-content p,
.research-dropdown-content p,
.education-dropdown-content p,
.hamburger-dropdown-content p,
.signout-menu p {
    color: #808285;
    font-size: 0.7em;
    font-family: "Roboto", arial;
    line-height: 18px;
    padding: 0;
    margin: 5px 0;
    margin-top: 10px;
}

.hamburger-dropdown-content {
    position: fixed;
    right: 0; top: 0; left: auto; bottom: 0;
    max-width: 320px;
    padding-top: 30px;
    overflow: overlay;
    min-width: 240px;
}
.hamburger-dismiss-button {
    position: fixed;
    top: 15px; right: 20px;
}
.hamburger-dismiss-button i {
    font-size: 30px;
    color: gray !important;
}

.header-dropdown {
    border: none;
    cursor: pointer;
    margin-right: 0;
    margin-left: 0;
}

.show {display:block !important;}

sup.new {
    top: -0.15em;
    color: white;
    /* padding: 0.25em; */
    /* padding-left: 0.5em; */
    /* padding-right: 0.5em; */
    padding: 0.2em 0.8em;
    left: 0.8em;
    border-radius: 1.0em;
    background-color: #F93F5E;
}

.nav_avatar {
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: #7E7E7E;
    text-align: center;
    cursor: pointer;
    margin: auto;
    position: relative;
    top: 0;
}

.nav_avatar img {
    height: auto;
    max-width: 100%;
}

#signout_container {
    position: relative;
    margin: auto 15px;
}

/* #signout_menu {
    position: absolute;
    top: 53px;
    left: -70px;
    padding-top: 9px;
} */
.nav_avatar_wrapper.open {
    /* background: #0091FF; */
    background: none !important;
}
.nav_avatar span{
    color: #FFFFFF;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: bold;
    line-height: 32px;
    text-transform: uppercase;
}
.nav_avatar_wrapper.hover{
/* background: #E2E2E2; */
    background: none !important;
}

#signout-menu a {
    text-align: left;
    margin-left: 0;
    margin-right: 10px;
}
#signout-menu a.signout-btn {
    text-align: center;
    border-top: 1px solid #55555577;
    padding-bottom: 5px;
    padding-top: 18px;
    margin-top: 10px;
}
#signout-menu i {
    display: inline-block;
    width: 16px;
}
#header-profile, #header-account {
    margin: 8px 0;
}
/*********************************** NEW SIGNOUT MENU */
#signout_container .nav_avatar_wrapper {
    height: auto;
}
#mast-head #signout_container #signout_menu {
    padding:0;
    width: 318px;
    border: 1px solid #313030;
    border-radius: 2px;
    background-color: #24292E;
    box-shadow: 0 12px 44px 0 rgba(0,0,0,0.5);
    top: 35px;
    right: -20px;
    /*backdrop-filter: blur(12px);*/
    display: none;
    position: absolute;
}
#mast-head #signout_container #signout_menu .centered_signout_links {
    text-align: left;
    padding-top: 10px;
    padding-bottom: 18.5px;
    margin: 0 22.5px;
}
#signout_container #signout_menu .centered_signout_links a{
    width: 100%;
    padding: 0 5% 5px;
    font-weight: bold;
    font-family: "Roboto",sans-serif;
    font-size: 14px;
    letter-spacing: 0.35px;
    color: #000;
    margin: 0 0 8px;
    display: block;
}
#signout_container #signout_menu .centered_signout_links a:hover{
    text-decoration: none;
}
#signout_container #signout_menu .centered_signout_links a#header-profile {
    border-radius: 2px;
    background-color: rgba(255,255,255,0.1);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: -0.04px;
    line-height: 12px;
    text-align: center;
    padding: 6px 10px;
    width: 65px;
}
#signout_container #signout_menu .centered_signout_links a#header-account, #signout_container #signout_menu .centered_signout_links a.account-link{
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.06px;
    line-height: 17px;
    text-transform: uppercase;
    padding-left: 0;
}

#signout_container #signout_menu .centered_signout_links a#header-labs {
    background-size: 21px 21px;
    padding-bottom: 13px;
    padding-left: 0;
    width:100%;
    pointer-events: none;
    cursor: default;
    color: rgba(255,255,255,0.45);
    margin: 0px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.44px;
    line-height: 13px;
}
#signout_container #signout_menu .centered_signout_links a.lab-link {
    padding-left: 0;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.06px;
    line-height: 17px;
}
#signout_container #signout_menu form{
    padding-left: 0!important;
}
#mast-head #signout_container #signout_menu form input.submit_signout {
    background-color: rgba(255,255,255,0.1);
    color: #B4B4B4;
    text-align: center;
    text-transform: uppercase;
    padding: 9px 10%;
    margin: 0;
    font-family: "Roboto",sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.26px;
    border-radius: 2px;
    width: 100%;
    line-height: 12px;
    margin: auto;
    background-image: none;
    text-indent: 0;
    position: relative;
}
/*#signout_container a.signout_button{
    display: none;
    border-radius: 4px;
}*/
#signout_menu .profile_image {
    display: inline-block;
    width: 68px;
    height: 68px;
    position: relative;
    line-height: 0;
}
#signout_menu .profile_image #profile_image {
    height: auto;
    max-width: 100%;
}
#signout_menu .profile_image_alt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
#signout_menu .profile_info {
    display: inline-block;
    width: 195px;
    padding-left: 5px;
}
#signout_menu .profile_name {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: -0.06px;
    line-height: 17px;
    margin-bottom: 6px;
    text-transform: capitalize;
    text-overflow: ellipsis;
    overflow: hidden;
}
#signout_menu .profile_email {
    color: #C6C6C6;
    font-size: 12px;
    letter-spacing: -0.05px;
    line-height: 14px;
    margin-bottom: 10px;
    text-overflow: ellipsis;
    overflow: hidden;
}
#signout_menu .profile-seperate {
    border: 0;
    border-top: 1px solid rgba(226,226,226,0.13);
    height: 0;
    margin-bottom: 14px;
    background-color: rgba(226,226,226,0.13);
}
.dropdown-separate {
    border: 0;
    border-top: 1px solid rgba(226,226,226,0.13);
    height: 0;
    margin-bottom: 4px;
    background-color: rgba(226,226,226,0.13);
}
#signout_container .profile_expand_close,
#signout_container .profile_expand_open {
    background: url(/img/icons/caret-down-solid.svg) center center/cover no-repeat;
    display: inline-block;
    height: 10px;
    width: 10px;
    margin-left: 5px;
}
#signout_container .profile_expand_open {
    background: url(/img/icons/caret-down-solid-expand.svg) center center/cover no-repeat;
    display: none;
}
#signout_container a#new_signout_button {
    border: 0;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: -0.06px;
    line-height: 17px;
    text-transform: capitalize;
    background-color: transparent;
    cursor: pointer;
}
#signout_container a#new_signout_button.open {
    color: #4193F4;
}
.jove-header-wrapper .header-link .research-button, .jove-header-wrapper .header-link .education-button {
    justify-content: space-between;
    align-items: center;
}
.header-dropdown-arrow {
    width: 13px;
    height: 13px;
    margin-left: 5px;
}
.jove-header-wrapper .header-link a {
    text-decoration: none;
    font-weight: 500;
}

.jove-header-wrapper .header-link .education-dropdown-content a,
.jove-header-wrapper .header-link .research-dropdown-content a {
    font-weight: 400;
}
/*********************************** SUBHEADER */

.theme-light {
    color: black;
    background-color: white;
}

.theme-light .jove-header-container .header-link {
    color: gray;
}

.theme-light .jove-subheader .active-link {
    color: #4091F0;
}

.theme-dark {
    color: white;
    background-color: #24292E;
}
.theme-dark.theme-dark-plus {
    background-color: #000000;
}
.theme-dark .jove-header-container .header-link {
    color: white;
}

.jove-header-container .header-link.red-link {
    color: red;
}

.theme-dark .jove-subheader .active-link {
    color: #4091F0;
}

.theme-dark .jove-header-container .sub-section.header-link {
    color: white;
}

.theme-light {
    border: 1px solid #efefefe1;
}

.sub-section.header-link {
    font-size: 18px;
    font-weight: 400;
    font-family: "Roboto", sans-serif;
}

.sub-section-separator.theme-dark {
    border-left: 1px solid #FFFFFF99;
    height: 50%;
}

.sub-section-separator.theme-light {
    border-left: 1px solid #99999999;
    height: 50%;
}

#nav-remote-learning, #nav-covid19 {
    margin-left: 5px;
}

.theme-light .jove-header-container .header-link.download-link {
    color: black;
}

.theme-dark .jove-header-container .header-link.download-link {
    color: #9C9C9D;
}
/************************************************* COUNTRY PREFERENCE */
#nav-country-preference .cur-country-preference,
#nav-mobile-country-preference .cur-country-preference {
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 19px;
    background-color: #FFFFFF;
    border: 0;
}
.cur-country-preference.expand {
    background-color: #0091FF;
}
.cur-country-preference .country-name {
	color: #24292E;
	padding: 5px 0 5px 5px;
}
.cur-country-preference .header-dropdown-arrow {
	margin-right: 5px;
}
.country-flag {
    width: 22px;
    height: 22px;
}
#nav-country-preference .country-dropdown-content,
#nav-mobile-country-preference .country-dropdown-content{
    background-color: #FFFFFF;
    box-shadow: 0 7px 19px 0 rgb(0 0 0 / 16%);
    min-width: 50px;
    right: 25px;
    padding: 12px;
}
#nav-country-preference .country-dropdown-content a,
#nav-mobile-country-preference .country-dropdown-content a {
    color: #3F3F3F;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: -0.25px; 
    padding: 7px 0px;
    align-items: center;
    cursor: pointer;
}
#nav-mobile-country-preference {
    display: none;
}
.disabled-link {
    pointer-events: none;
    opacity: 0.25;
}
.language-name {
	padding: 0 5px;
}
/* #nav-mobile-hamburger {
    margin-left: auto;
} */
/************************************************* HOME PAGE SPECIFIC */

#mast-head.is-home-page #nav-logo,
#mast-head.is-home-page #nav-search {
    display: none;
}

/************************************************* MOBILE HEADER */

#nav-mobile-search, #nav-mobile-hamburger {
    display: none;
}
#nav-mobile-hamburger i {
    line-height: 20px;
}
#nav-dismiss-search {
    display: none;
    position: absolute;
    right: 0px;
    top: 0px;
    width: 40px;
    height: 40px;
    padding-top: 10px;
    padding-left: 15px;
}
#nav-dismiss-search i {
    color: black;
}
.cat-page .breadcrumbs {
    margin-top: 40px;
}
#loginmodalid{
    display:none;
}
.loginmodal {
    display: none;
    position: absolute;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: #000;
    background-color: rgba(0,0,0,0.4);
}
.loginmodal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    text-align:center;
    border: 1px solid #888;
    width: 30%;
}
/* smartphones, touchscreens */
@media (hover: none) and (pointer: coarse) {
    #main-subheader{
        overflow: auto;
    }
}
@media screen and (max-width: 1400px) {
    .header-link {
        margin-left: 5px;
        margin-right: 5px;
    }
    #signout_container {
        margin-left: 5px;
        margin-right: 5px;
    }
    .header-button {
        margin-left: 0;
    }
}
@media only screen and (min-width: 1200px) {
    .hamburger-dropdown-content {
        display: none !important;
    }
    /* #nav-logo {
        display: block !important;
    } */
}

@media only screen and (max-width: 1200px) {

    #nav-search {
        display: none;
    }
    #nav-solutions, #nav-authors, #nav-librarians,
    #nav-about, #nav-contact, #nav-signin,
    #nav-research, #nav-education, #nav-remote-learning, #nav-covid19 {
        display: none !important;
    }
    #nav-mobile-search, #nav-mobile-hamburger {
        display: block;
    }

    #mast-head.is-home-page #nav-mobile-search {
        display: none;
    }

    #mast-head.is-home-page {
        background: none;
        backdrop-filter: none;
    }

    .jove-header-wrapper .header-link {
        margin: auto 10px;
    }

    #nav-search .search_button {
        right: 24px !important;
    }

    #nav-dismiss-search {
        display: block;
    }

    .push-right {
		margin-left: auto;
	}
    #nav-country-preference {
        display: none;
    }
    #nav-mobile-country-preference {
        display: block;
    }
    #nav-mobile-country-preference .cur-country-preference, #nav-country-preference .country-dropdown-content a, #nav-mobile-country-preference .country-dropdown-content a{
        display: flex;
    }
    #nav-country-preference, .cur-country-preference,
    #nav-mobile-country-preference, .cur-country-preference {
        margin: 0;
    }
    #nav-country-preference .country-dropdown-content,
    #nav-mobile-country-preference .country-dropdown-content {
        right: 69px;
        top: 45px;
    }
    .cur-country-preference{
        top: 7px;
        right: 60px;
        position: absolute;
    }
    .hamburger-dropdown-content {
        padding-top: 40px;
    }
    
}
@media screen and (max-width: 480px) {
    .jove-header-wrapper .header-link {
        margin: auto 1;
    }
    #mast-head #signout_container #signout_menu {
        width: 250px;
    }
}
