
/**
 * If using a CSS pre-processor, tell it to overwrite this file. If not, place
 * your custom CSS modifications here.
 */

/**********header********/
/*region navigation*/
.region-navigation {
    position: relative;
}
@media screen and (max-width:799px) {
    .region-navigation a.logo:before {
        content: '';
        width: 700%;
        position: absolute;
        top:5px;
        z-index: 9;
        height: 40px;
        background: #fff;
        max-width: none;
    }
}
.region-navigation-collapsible {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar-default {
    background-color: transparent; /*override*/
    border-color: transparent; /*override*/
    border:none;
}
.menu--secondary-navigation {
    text-transform: capitalize;
}
.menu--main {
    text-transform: uppercase;
}
.navbar-header nav {
    float: right;
}
@media screen and (max-width:799px) {
    .navbar-header nav {
        display: none;
    }
}
@media (min-width: 769px) {
    .navbar-toggle {
        display: none;
    }
}
.navbar-header nav ul.menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 2;
    grid-gap: 20px;
    width: 100%;
}




.navbar-header nav ul.menu li a,
.simple-hours .mam-today-hours {
    padding: 0;
        display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    overflow: hidden;
}
.navbar-default .navbar-nav > li > a:before,
#block-eventsfiltering .menu--events-filtering a:before {
    background:#000;
}
#block-shortcutlinksnavigation a:before {
    background:#fff;
}
.navbar-header nav ul.menu li a:before {
        content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.navbar-header nav ul.menu li a:hover:before,
.navbar-header nav ul.menu li a:focus:before,
.navbar-header nav ul.menu li a:active:before {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}
@media screen and (min-width:800px) {
    .navbar-header nav ul.menu.menu--main {
        min-height: 35px;
    }
}
@media screen and (min-width:1375px) {
    .navbar-header nav ul.menu.menu--main {
        min-height: 40px;
    }
}

#block-shortcutlinksnavigation a,
.simple-hours * {
    font-size: calc(12px + (18 - 12) * ((100vw - 320px) / (1920 - 320)));
    color:#fff;
}
#block-bot-custom-main-menu a {
    font-weight: 700;
}


    #block-bot-custom-main-menu a {
        font-size: calc(18px + (60 - 18) * ((100vw - 320px) / (10000 - 320)));
        display: flex;
        align-items: center;
        white-space: nowrap;
    }
    .navbar-header nav ul.menu.menu--main {
        container-type: inline-size;
        container-name: main-nav;
    }
    @container main-nav (width < 780px) {
        #block-bot-custom-main-menu a {
            font-size: clamp(1rem, 5vw, 1.75rem);
        }
    }


.path-frontpage #block-bot-custom-main-menu {
    margin-bottom: 0;
}

#block-bot-custom-main-menu {
    background:#fff;
    position: relative;
    padding: 0;
    z-index: 97;
    margin-bottom: 12px;
}
#block-shoppingcart {
    position: absolute;
    right: 25px;
    top: 0;
    z-index: 999;
    font-size: 20px;
    line-height: 45px;
    color:#fff;
}

/* @media screen and (min-width:800px) {
    #block-bot-custom-main-menu {
        width: 63%;
        padding-top: 10px;
        padding-bottom: 10px;
    }
} */
@media screen and (min-width:1300px) {
    #block-shoppingcart {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    #block-shoppingcart {
        position: absolute;
        right: 40px;
        line-height: 25px;
        top: 2px;
    }
    
}
.small-m .logo:before {
    display: none;
}
#block-bot-custom-main-menu:after {
    content:'';
    background:#fff;
    width: 600%;
    height: 100%;
    left: -100%;
    box-shadow: 0px 1px 21.56px 0.44px rgba(59, 59, 59, 0.25);
    top: 0;
    position: absolute;
    z-index: 1;
}
#block-shortcutlinksnavigation {
    position: relative;
    z-index: 97;
    width: auto;
    padding-right: 130px;
}
@media screen and (max-width:840px) {
    #block-shortcutlinksnavigation {
        position: relative;
        z-index: 97;
        width: 100%;
        padding-right: 0px;
    }
}
body.path-frontpage .navbar-header {
    position: relative;
    width: 100%;
}
body.path-frontpage .navbar-header:after{
    content:'';
    background:rgba(0,0,0,0.75);
    width: 100%;
    height: 80px;
    left: 0;
    top: 0;
    position: absolute;
    z-index: 1;
}
@media screen and (max-width:799px) {
    body.path-frontpage .navbar-header:after {
        content: '';
        display: none;
    }
    .navbar-toggle {
        display: block;
    }
}



/*override*/
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    background-color: transparent;
    color: #000;
}


/*logo*/

/*homepage logo*/


a.logo {
    max-width: 590px;
    position: relative;
    width: 33.33333%;
    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
    z-index: 99;
}
a.logo:after {
    content:'montclair \A art museum';
    white-space: pre;
    display: inline-block;
    z-index: 99;
    position: absolute;
    bottom: 0;
    line-height: normal;
    font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1900 - 768)));
    font-weight:700;
    text-transform: uppercase;
}
@media screen and (max-width:1050px) {
    a.logo:after {
        content:'';
        display: none;
    }
}

a.logo img {
    width:100%;
    height: auto;
    position: relative;
    z-index: 10;
}
@media screen and (min-width:769px) {
    a.logo img {
        max-width: 255px;
        padding:5% 1% 0 5%;
    }
    a.logo:before {
        clip-path: polygon(0 0, 100% 0%, 90% 100%, 0% 100%);
        -webkit-clip-path:polygon(0 0, 100% 0%, 90% 100%, 0% 100%);
        width: 100%;
        min-width: 300px;
    }
    #block-shortcutlinksnavigation {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .simple-hours {
        padding: 10px 0;
    }
}
@media screen and (min-width:1300px) {
    a.logo img {
        max-width: 320px;
    }
    
    a.logo:before {
        clip-path: polygon(0 0, 100% 0%, 84% 100%, 0% 100%);
        -webkit-clip-path: polygon(0 0, 100% 0%, 84% 100%, 0% 100%);
        width: 115%;
    }
    #block-shortcutlinksnavigation {
        padding-top: 20px;
        padding-bottom: 20px;
        padding-right: 150px;
    }
    .simple-hours {
        padding: 20px 0;
    }
}
@media screen and (min-width:1375px) {
    a.logo img {
        max-width: 320px;
        padding:5% 1% 0 5%;
    }
}

@media screen and (max-width:799px) {
    a.logo img {
        max-width: 120px;
        padding: 5%;
    }
    a.logo {
        width:auto;
        margin-right: -15px !important;
        padding-left: 15px !important;
    }
}
a.logo:before {
    content: '';
    position: absolute;
    max-width: 500px;
    left: 0;
    height: 100%;
    z-index: 9;
    top: 0;
    background: #fff;
}

/*header pattern*/
body:not(.path-frontpage) header {
    background:url(https://www.montclairartmuseum.org/themes/custom/bot_custom/images/header-pattern.png) repeat;
    background-size:60%;
    border-radius: 0;
    min-height: 1px;
}
.region-header {
    display: flex;
    flex-wrap: wrap;
    /* -webkit-box-shadow: 0px 6px 19px 0px rgba(121, 120, 120, 0.28);
box-shadow: 0px 6px 19px 0px rgba(121, 120, 120, 0.28);
    margin-bottom: 5%; */
}
/*header image*/
.region-header .block-views-blockheader-area-block-1 {
    width: 100%;
}
.page-node-type-exhibition-detail .region-header .field--name-field-hero-visual img {
    max-height: 600px;
    aspect-ratio: 16/9;
}
.region-header .field--name-field-hero-visual img {
    max-height: 40vh;
    overflow: hidden;
    object-position: 50% 50%;
    object-fit: cover;
    width: 100%;
}
/*
@media screen and (max-width:960px) {
    .region-header .field--name-field-hero-visual img {
        max-height: 25vh;
        min-height: 25vh;
    }
}
 */

/*header video*/
.page-node-type-exhibition-detail .region-header .field--name-field-hero-visual {
    max-height: 600px;
}
.region-header .field--name-field-hero-visual {
    max-height: 40vh;
    overflow: hidden;
    position: relative;
}
.region-header .field--name-field-media-oembed-video {
     padding-bottom: 26.25%; height: 0; overflow: hidden; max-width: 100%; position: relative;
}
.region-header .field--name-field-media-oembed-video iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

/*active item menu*/
.breadcrumb {
    margin-bottom: 0;
    background: none;
    padding: 0;
    border-radius: 0;
    z-index: 800;
}
.breadcrumb li {
    background: #000;
    padding: 10px 5px;
    margin-right: -5px;
}

.breadcrumb li:last-child {
    padding-right: 50px;
}
.breadcrumb li:first-child {
    padding-left: 20px;
}
.breadcrumb * {
    color: #fff !important;
}
@media screen and (max-width:799px) {
    .breadcrumb {
        color: #000;
        font-size: 12px;
    }
    .breadcrumb li:first-child {
        padding-left: 5px;
    }
    .breadcrumb * {
        color: #000 !important;
    }
    .breadcrumb li {
        background: none !important;
    }
}
@media screen and (min-width:800px) {
    .breadcrumb li:last-child {
        clip-path: polygon(0 0, 100% 0%, 89% 100%, 0% 100%);
        -webkit-clip-path: polygon(0 0, 100% 0%, 89% 100%, 0% 100%);
    }
}
@media screen and (min-width:900px) {
    .breadcrumb li:last-child {
        clip-path: polygon(0 0, 100% 0%, 91% 100%, 0% 100%);
        -webkit-clip-path: polygon(0 0, 100% 0%, 91% 100%, 0% 100%);
    }
}
@media screen and (min-width:1300px) {
    .breadcrumb li:last-child {
        clip-path: polygon(0 0, 100% 0%, 87% 100%, 0% 100%);
        -webkit-clip-path: polygon(0 0, 100% 0%, 87% 100%, 0% 100%);
    }
}

@media screen and (min-width:800px) {
    .no-hero-img .field--name-field-active-menu-item {
        min-width: 326px !important;
    }
}
@media screen and (min-width:1200px) {
    .no-hero-img .field--name-field-active-menu-item {
        min-width: 375px !important;
    }
}
@media screen and (min-width:1300px) {
    .no-hero-img .field--name-field-active-menu-item {
        min-width: 420px !important;
    }
}


@media screen and (min-width:800px) {

    .no-hero-img {
        clip-path: polygon(0 0, 100% 0%, 89% 100%, 0% 100%) !important;
        -webkit-clip-path: polygon(0 0, 100% 0%, 89% 100%, 0% 100%) !important;
    }
}
@media screen and (min-width:900px) {

    .no-hero-img {
        clip-path: polygon(0 0, 100% 0%, 93% 100%, 0% 100%) !important;
        -webkit-clip-path: polygon(0 0, 100% 0%, 93% 100%, 0% 100%) !important;
    }
}
@media screen and (min-width:980px) {

}
@media screen and (min-width:1300px) {

    .no-hero-img {
        clip-path: polygon(0 0, 100% 0%, 90% 100%, 0% 100%) !important;
        -webkit-clip-path: polygon(0 0, 100% 0%, 90% 100%, 0% 100%) !important;
    }
}

#block-eventsfiltering {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
#block-eventsfiltering .menu--events-filtering {
    display: flex;
    flex-direction: row;
    font-size: calc(16px + (22 - 16) * ((100vw - 320px) / (1920 - 320)));
    text-transform: uppercase;
}
.tertiary-superfish-menu {
    display: flex;
}

.tertiary-superfish-menu ul.menu {
    display: flex;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 0;
    z-index: 1;
}
.tertiary-superfish-menu ul.menu li {
    list-style: none;
}
.tertiary-superfish-menu ul.menu li.active-trail a {
    font-weight: bold;
}
.tertiary-superfish-menu ul.menu li a {
    text-transform: uppercase;
    font-size: calc(14px + (22 - 14) * ((100vw - 320px) / (1900 - 768)));
    padding: 0 20px 0 0;
}
.tertiary-superfish-menu ul.menu li a:hover {
    text-decoration: underline;
}
.tertiary-superfish-menu ul.menu li:last-child a {
    padding: 0;
}
.sub-nav-wrapper {
    width: 100%;
    display: flex;
}
.activemenuitemcustomblock ~ .sub-nav-wrapper {
    width: auto;
}

@media (min-width: 800px) {
    .tertiary-superfish-menu {
        width: 100%;
    }
}
@media screen and (max-width:799px) {

    .sub-nav-wrapper {
        display: none !important;
    }

}
/*my account icon*/
.my-account-block {
    position: absolute;
    top: 0;
    right: 60px;
    z-index: 999;
    color: #fff;
    line-height: 45px;
}

@media screen and (min-width:1300px) {
    .my-account-block {
        top: 0px;
        line-height: 72px;
        right: 75px;
    }


}
@media screen and (min-width:800px) {
    .my-account-block a:hover {
        color:#fff !important;
    }
}
.my-account-block a {
    color: #fff;
    font-size: 18px;
}
@media screen and (max-width:799px) {
    .my-account-block a {
        color: #000;
    }
}
@media screen and (max-width:590px) {
    .my-account-block {
        line-height: 62px;
    }
}
/*search bar*/
.block-search-form-block {
    position: absolute;
    top: 0;
    right: 80px;
    z-index: 999;
    color:#fff;
    right:80px;
}
@media screen and (min-width:1300px) {
    .block-search-form-block {
        right:95px;
    }
}
.block-search-form-block * {
    color:#fff;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .block-search-form-block .input-group-btn {
        position: static;
    }
}
/*.block-search-form-block .input-group-btn {
    position: unset;
}*/
.block-search-form-block .input-group {
    transition: all 1s;
    width: 50px;
    background: none;
    box-sizing: border-box;
    border: none;
    padding: 0px;
}
.block-search-form-block .input-group input{
    position: absolute;
    background:none;
    top: 0;
    left: 0;
    width: 100%;;
    outline: 0;
    border: 0;
    display: none;
    font-size: 1em;
    padding: 0 20px;
    z-index: 9;
    color:#fff;
}

.block-search-form-block .input-group input::placeholder,
.block-search-form-block .input-group input:-ms-input-placeholder,
.block-search-form-block .input-group input::-ms-input-placeholder {
    color: #fff;
}

.block-search-form-block .input-group .form-submit{
    box-sizing: border-box;
    background:none;
    border:none;
    padding: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    transition: all 1s;
    z-index: 99;
}
.block-search-form-block .input-group .form-submit .icon:before {
    content:'\f002';
    font-family: fontAwesome;
    font-size: 18px;
    color: #fff;
}
.block-search-form-block .input-group:hover,
.block-search-form-block .input-group:active,
.block-search-form-block .input-group:focus {
    width: 500px;
    cursor: pointer;
    background:rgba(0,0,0,0.93);
}
@media screen and (min-width:800px) {
    .block-search-form-block .input-group {
        height: 42px;
    }
    .block-search-form-block .input-group input {
        height: 42px;
    }
    .block-search-form-block .input-group .form-submit {
        right: 0;
    }
}
@media screen and (min-width:1300px) {
    .block-search-form-block .input-group {
        height: 67px;
    }
    .block-search-form-block .input-group input {
        height: 67px;
    }
    .block-search-form-block .input-group .form-submit {
        right: 0;
    }
}
.block-search-form-block .form-group {
    margin-bottom: 0;
}
.block-search-form-block .input-group:hover input{
    display: block;
}

.block-search-form-block .input-group:hover .form-submit .icon:before {
    color: #fff;
}
@media screen and (max-width:799px) {
    .block-search-form-block .input-group,
    .block-search-form-block .input-group input {
        height: 46px;
    }
    .block-search-form-block {
        right: 80px;
    }
    .block-search-form-block .input-group .form-submit {
        right: 0;
    }
    .block-search-form-block .input-group .form-submit .icon:before {
        color: #000;
    }
    .block-search-form-block .input-group:hover {
        width: 400px;
    }
}
@media screen and (max-width:590px) {
    #block-shoppingcart,
    .navbar-default .navbar-toggle {
        top: 10px;
    }
    .block-search-form-block .input-group:hover {
        width:inherit;
    }
    .block-search-form-block .input-group:hover input {
        position: unset;
    }
    .block-search-form-block .input-group .form-submit {
        right: 0;
    }
    .block-search-form-block .input-group input {
        display: block;
    }
    .block-search-form-block .input-group {
        width: 150px;
    }
    .block-search-form-block {
        top: 15px;
        border: 1px solid #000;
    }
    a.logo img {
        margin-top: 8px;
    }
    .block-search-form-block .input-group, .block-search-form-block .input-group input {
        height: 30px;
    }
}

/*additional media queries*/
@media screen and (max-width:980px) {
    .tertiary-superfish-menu ul.menu li a {
        padding: 0 5px;
    }

}

@media screen and (max-width:900px) {
    /* #block-bot-custom-main-menu {
        width: 66%;
    } */
    a.logo img {
        width: 200px;
    }
    a.logo:before {
        width: 300px;
    }
    .no-hero-img {
        clip-path: polygon(0 0, 100% 0%, 91% 100%, 0% 100%) !important;
        -webkit-clip-path: polygon(0 0, 100% 0%, 91% 100%, 0% 100%) !important;
    }
    .no-hero-img .field--name-field-active-menu-item {
        min-width: 250px !important;
    }
    a.logo:before {
        min-width: 300px;
    }
}
#block-shoppingcart .fas {
    font-size: 18px;
}
#block-shoppingcart .fas {
    color: #fff;
}
@media screen and (max-width:799px) {
    #block-shoppingcart {
        right: 30px;
        top: 0;
        color:#000;
    }
    #block-shoppingcart .fas {
    color: #000;
}
    #block-shoppingcart a[style] {
        color: #000 !important;
    }
    .region-header .block-views-blockheader-area-block-1 {
        position: relative;
        z-index: 99;
    }
    body header {
        background-color:#fff !important;
    }
}
@media screen and (max-width:590px) {
    #block-shoppingcart {
        right: 34px;
        top: 10px;
        color:#000;
    }
}
@media screen and (max-width:450px) {
        .header-hours-block {
        right: 0 !important;
        top: 0px !important;
        }
        .simple-hours .mam-today-hours {
            font-size: 10px;
        }
        header:after {
            background: none !important;
        }
}

@media screen and (max-width:799px) {
    .navbar-nav > li > .dropdown-menu {
        display: block;
        border: none;
        box-shadow: none;
        position: relative;
        width: 100%;
        margin-bottom: 20px;
    }
    .dropdown-menu > li > a {
        padding: 3px 15px;
    }
    .dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
        background-color: #e1e1e1;
    }
    .region-navigation-collapsible {
        flex-wrap: wrap;
    }
    .nav > li > a {
        text-transform: uppercase;
    }
    #block-topsecondarynavigation {
        border-top: 1px solid #e1e1e1;
        width: 100%;
    }
    #block-topsecondarynavigation ul {
        margin: 7.5px -15px;
    }
}


/* dropdown menu main nav */
#block-bot-custom-main-menu ul li {
    padding: 20px 0;
}
#block-bot-custom-main-menu ul li:hover ul.dropdown-menu {
    padding: 20px 0;
    border-top: 5px solid;
    margin-top: -10px;
}
#block-bot-custom-main-menu ul li:hover ul.dropdown-menu li {
    padding: 5px 0;
    margin: 0 20px;
}
#block-bot-custom-main-menu ul li:hover ul.dropdown-menu li a {
    text-transform: none;
    font-size: calc(14px + (24 - 14) * ((100vw - 320px) / (10000 - 320)));
    font-weight: normal;
    margin-bottom: 10px;
}
#block-bot-custom-main-menu ul li:hover ul.dropdown-menu li:hover a:not(.is-active) {
    border-bottom: 2px solid #000;
    background: none;
}
.full-week {
    display: none;
    position: absolute;
    z-index: 999;
    background: white;
    right: 0;
    top: 70%;
    max-width: 250px;
    padding: 20px;
    margin: 2px 0 0;
    font-size: 14px;
    border: 1px solid #000;
    border-top: 4px solid #000;
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}
.gallery-hours {
    margin-top: 20px;
}

.header-hours-block:hover .full-week {
    display: block;
}
.header-hours-block {
    display: flex;
    z-index: 99;
    width: auto;
    position: relative;
}
.simple-hours {
    margin-left: auto;
    color: #fff;
}
@media screen and (max-width:840px) {
    .header-hours-block {
        z-index: 999;
        position: absolute;
        right: 125px;
        top: 0;
    }
}
@media screen and (max-width:799px) {

    .header-hours-block * {
        color: #000;
    }
    .simple-hours {
        margin-left: 0;
    }
}
@media screen and (max-width:590px) {
    .header-hours-block {
        right: 250px;
        top: 20px;
    }
}
.small-m .simple-hours {
    margin-left: 0;
    padding: 0;
    white-space: nowrap;
}
.small-m .header-hours-block {
    width: unset;
    align-items: center;
}
.small-m .full-week {
    width: 250px;
}
.small-m .block-search-form-block {
    width: 50px;
    height: 67px;
}
.small-m .block-search-form-block #search-block-form {
    position: absolute;
    right: 0;
}
@media screen and (min-width:1065px) {
    .small-m .block-search-form-block,
    .small-m .my-account-block,
    .small-m #block-shoppingcart {
        position: relative;
        display: flex;
        align-items: center;
        top: unset;
        left: unset;
        right: unset;
        bottom: unset;
        padding: 0;
        line-height: normal;
    }
}

.small-m .region-navigation {
    display: flex;
    flex-wrap: nowrap;
    order: 2;
    grid-gap: 10px;
    align-items: center;
}
@media screen and (max-width:1065px) {
    .small-m .region-navigation {
        flex-wrap: wrap;
    }
    .small-m nav ul.menu {
        justify-content: center;
    }
    .small-m .header-hours-block {
        position: absolute;
        top: 10px;
        right: 131px;
    }
    
}
.small-m .block-search-form-block {
    order: 3;
}
.small-m .my-account-block {
    order: 4;
}
.small-m #block-shoppingcart {
    order: 5;
}
.small-m .region-navigation .logo {
    order: 0;
}