#our-brands {
    background-color: grey;
    font-size: 0;
    height: 90vh;
    line-height: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    position: fixed;
    top: 119px;
    width: 100%;
    z-index: -999;
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
    display: none;
}

#our-brands.active {
    /* opacity: 1; */
    z-index: 900;
    display: block;
}

.no-csstransitions #our-brands.active {
    opacity: 1;
}

@media screen and (max-height: 1000px) {
    #our-brands .brand-item-overlay {
        padding: 15px;
    }
    #our-brands .brand-item-overlay p {
        font-size: 15px;
    }
    .brand-item-overlay>* {
        padding-bottom: 20px;
    }
    #our-brands .brand-item-overlay .button {
        min-width: 150px;
    }
}

#our-brands .brand-item {
    position: relative;
    width: 20%;
    height: 50%;
    display: inline-block;
    margin: 0;
    padding: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.brand-item-darken-overlay {
    background: #000;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    position: absolute;
    transition: opacity 0.3s;
    z-index: -999;
}

#our-brands .brand-item.darken .brand-item-darken-overlay {
    opacity: 0.7;
    z-index: 911;
}

.brand-item-bg {
    transform: scale(1);
    transition: transform 0.3s;
    will-change: transform;
    max-height: 100%;
    min-height: 100%;
    max-width: none;
}

#our-brands .brand-item:hover .brand-item-bg {
    transform: scale(1.1);
}

.brand-item-overlay {
    background-color: rgba(66, 25, 71, 0.85);
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    height: 100%;
    opacity: 0;
    padding: 50px 40px;
    position: absolute;
    text-align: center;
    top: 0;
    transition: opacity 0.3s;
    width: 100%;
    z-index: -999;
}

#our-brands.active .brand-item:hover .brand-item-overlay {
    opacity: 0.85;
    z-index: 901;
}

.brand-item-overlay-content {
    position: relative;
    top: 50%;
    transform: translate3d(0, 0, 0);
    transition: transform 0.5s;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
}

.brand-item-overlay-content p {
    color: #ffffff;
    font-family: "GothamRounded-Light";
    font-size: 15px;
    font-weight: 300;
    line-height: 23px;
    text-align: center;
}

.brand-item-overlay-content img {
    margin-bottom: 20px;
}

#our-brands .brand-item-overlay-content .button {
    background: #fff;
    color: #004a8d !important;
}

#our-brands .brand-item-overlay-content .button:before {
    background: #012a47;
    color: #fff !important;
}

#menu-item-our-brands,
#menu-item-early-careers,
#menu-item-early-careers-mobile {
    cursor: pointer;
}

#menu-item-our-brands-mobile .open-tab,
#menu-item-early-careers-mobile .open-tab {
    margin: 0px;
}

#menu-item-our-brands-mobile .open-tab {
    background: #004a8d;
}

#menu-item-our-brands-mobile .tab-header,
#menu-item-early-careers-mobile .tab-header {
    min-height: auto;
}

#menu-item-our-brands-mobile .tab-header span,
#menu-item-early-careers-mobile .tab-header span {
    padding: 20px 0 20px 20px;
}

#menu-item-our-brands-mobile .plus-container,
#menu-item-early-careers-mobile .plus-container {
    top: 5px;
    width: 50px;
    height: 50px;
    border-color: #013d73;
}

#menu-item-our-brands-mobile .plus_hori,
#menu-item-our-brands-mobile .plus_vert,
#menu-item-early-careers-mobile .plus_hori,
#menu-item-early-careers-mobile .plus_vert {
    background: #013d73;
}

#menu-item-our-brands-mobile .tab-content-wrapper,
#menu-item-early-careers-mobile .tab-content-wrapper {
    padding: 0px;
}

@media only screen and (max-width: 800px) {
    #menu-item-our-brands,
    #menu-item-early-careers {
        display: none !important;
    }
}

@media only screen and (min-width: 1024px) {
    #menu-item-our-brands-mobile,
    #menu-item-early-careers-mobile {
        display: none !important;
    }
}

.brand-item-logo {
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: block;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    transition: transform 0.5s;
    transform: translate3d(0, 0, 0);
    z-index: 910;
}

.brand-item:nth-child(1) .brand-item-logo {
    animation-delay: 0s;
}

.brand-item:nth-child(2) .brand-item-logo {
    animation-delay: 0.03s;
}

.brand-item:nth-child(3) .brand-item-logo {
    animation-delay: 0.06s;
}

.brand-item:nth-child(4) .brand-item-logo {
    animation-delay: 0.09s;
}

.brand-item:nth-child(5) .brand-item-logo {
    animation-delay: 0.12s;
}

.brand-item:nth-child(6) .brand-item-logo {
    animation-delay: 0.15s;
}

.brand-item:nth-child(7) .brand-item-logo {
    animation-delay: 0.18s;
}

.brand-item:nth-child(8) .brand-item-logo {
    animation-delay: 0.21s;
}

.brand-item:nth-child(9) .brand-item-logo {
    animation-delay: 0.24s;
}

.brand-item:nth-child(10) .brand-item-logo {
    animation-delay: 0.27s;
}

.brands-mobile-acc {
    color: white;
    padding: 0;
    margin: 0;
}

.brands-mobile-acc li {
    width: 100%;
    height: auto;
    padding: 20px 0 20px 40px;
    font-size: 14px;
    /* font-family: "GothamRounded-Medium"; */
    background-color: #013d73 !important;
    border-color: #002f5b !important;
}

.brands-mobile-acc li:first-of-type {
    border-top: 2px solid #063f77;
}

.brands-mobile-acc li:last-of-type {
    border: 0 none !important;
}

.brands-mobile-acc li a {
    padding: 0px !important;
}

#main-nav .brands-mobile-acc a:after {
    background-image: url(/img/mobile-menu-sub-item.svg);
    top: -15px;
}


/* Fix lack of height when browser is squeezed up */

@media only screen and (min-width: 1300px) {
    .brand-item-bg {
        max-height: none;
        min-height: auto;
        max-width: 100%;
    }
}
