/* ==========================================================================
   ==========================================================================
   Gilead
   ==========================================================================
   ========================================================================== */










/* ==========================================================================
   ==========================================================================
   Header
   ==========================================================================
   ========================================================================== */

.header {
    width: 100%;
    height: 70px;
    position: absolute;
    top: 80px;
    left: 0;
    z-index: 999;
}

@media (min-width: 1421px) {
    
    .header {
        position: fixed;
    }
}

@media (max-width: 1200px) {
    
    .header {
        padding: 0;
        height: 50px;
        top: 40px;
    }
}

@media (max-width: 760px) {
    
    .header {
        height: 40px;
        top: 20px;
    }
}

.header:before {
    width: calc(4% + 1px);
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    background: #fff;
}

@media (max-width: 1200px) {
    
    .header:before {
        width: calc(5% + 1px);
    }
}

@media (max-width: 760px) {
    
    .header:before {
        width: calc(7% + 1px);
    }
}

.header:after {
    width: 30px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 4%;
    content: '';
    background: #B5072F;
    -webkit-clip-path: polygon(calc(0px + 20px) 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
    clip-path: polygon(calc(0px + 20px) 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
}

@keyframes highlightAnimation {
    from {right: calc(96% - 208px);}
    to {right: calc(4% + 0px);}
}

@media (min-width: 1201px) {
    
    .home-page.intro .header:after {
        right: calc(96% - 208px);
        animation-name: highlightAnimation;
        animation-duration: .8s;
        animation-delay: 1s;
        animation-fill-mode: forwards;
        animation-timing-function: cubic-bezier(.9,0,.09,1);
    }
}

@media (max-width: 1200px) {
    
    .header:after {
        width: 22px;
        right: auto;
        left: calc(135px + 5%);
        -webkit-clip-path: polygon(calc(0px + 13px) 0, 100% 0, calc(100% - 13px) 100%, 0 100%);
        clip-path: polygon(calc(0px + 13px) 0, 100% 0, calc(100% - 13px) 100%, 0 100%);
    }
}

@media (max-width: 760px) {
    
    .header:after {
        width: 18px;
        right: auto;
        left: calc(105px + 7%);
        -webkit-clip-path: polygon(calc(0px + 11px) 0, 100% 0, calc(100% - 11px) 100%, 0 100%);
        clip-path: polygon(calc(0px + 11px) 0, 100% 0, calc(100% - 11px) 100%, 0 100%);
    }
}

.header__wrapper {
    width: calc(96% - 18px);
    height: 100%;
    z-index: 10;
}

@media (max-width: 1200px) {

    .header__wrapper {
        width: 100%;
    }
}

@media (max-width: 760px) {

    .header__wrapper {
    }
}

.header__wrapper:before {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    background: #fff;
    -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
}

@keyframes headerAnimation {
    from {width: calc(190px + 4%);}
    to {width: calc(0px + 100%);}
}

@media (min-width: 1201px) {
    
    .home-page.intro .header__wrapper:before {
        width: calc(190px + 4%);
        animation-name: headerAnimation;
        animation-duration: .8s;
        animation-delay: 1s;
        animation-fill-mode: forwards;
        animation-timing-function: cubic-bezier(.9,0,.09,1);
    }
}

@media (max-width: 1200px) {
    
    .header__wrapper:before {
        width: 140px;
        left: 5%;
        -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 13px) 100%, 0 100%);
        clip-path: polygon(0 0, 100% 0, calc(100% - 13px) 100%, 0 100%);
    }
}

@media (max-width: 760px) {
    
    .header__wrapper:before {
        width: 110px;
        left: 7%;
        -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 11px) 100%, 0 100%);
        clip-path: polygon(0 0, 100% 0, calc(100% - 11px) 100%, 0 100%);
    }
}

.header__logo {
    width: auto;
    height: 40px;
    position: absolute;
    top: 50%;
    left: 4%;
    z-index: 10;
    transform: translateY(-50%);
}

@media (max-width: 1200px) {
    
    .header__logo {
        height: 29px;
        left: 5%;
    }
}

@media (max-width: 760px) {
    
    .header__logo {
        height: 23px;
        left: 7%;
    }
}

.header__logo img {
    width: auto;
    height: 100%;
}





/* Main Menu
   ========================================================================== */

.main-menu {
    position: absolute;
    top: 0;
    right: 0;
}

@keyframes mainMenuAnimation {
    0% {right: 6%; opacity: 0;}
    100% {right: 0%; opacity: 1;}
}

@media (min-width: 1201px) {
    
    .home-page.intro .main-menu {
        opacity: 0;
        right: 0%;
        animation-name: mainMenuAnimation;
        animation-duration: .4s;
        animation-delay: 1.3s;
        animation-fill-mode: forwards;
        animation-timing-function: ease-out;
    }
}

@media (max-width: 1200px) {
    
    .main-menu {
        padding: 60px 30px;
        width: 375px;
        top: -20px;
        right: calc(5% - 20px);   
        z-index: 50;
        display: none;
        background: #fff;
        box-shadow: 5px 5px 15px 0 rgba(0, 0, 0, 0.25);
    }
}

@media (max-width: 760px) {
    
    .main-menu {
        padding: 60px 7%;
        width: 100%;
        right: 0;  
        z-index: 50;
    }
}

.main-menu__item {
    margin-left: -20px;
    float: left;
    pointer-events: none;
}

@keyframes mainMenuItemAnimation {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

@media (min-width: 1201px) {
    
    .home-page.intro .main-menu__item {
        opacity: 0;
        animation-name: mainMenuItemAnimation;
        animation-duration: .4s;
        animation-fill-mode: forwards;
        animation-timing-function: ease-out;
    }
    
    .home-page.intro .main-menu__item:nth-child(1) {
        animation-delay: 1.3s;
    }
    
    .home-page.intro .main-menu__item:nth-child(2) {
        animation-delay: 1.4s;
    }
    
    .home-page.intro .main-menu__item:nth-child(3) {
        animation-delay: 1.5s;
    }
    
    .home-page.intro .main-menu__item:nth-child(4) {
        animation-delay: 1.6s;
    }
    
    .home-page.intro .main-menu__item:nth-child(5) {
        animation-delay: 1.7s;
    }
}

@media (max-width: 1200px) {
    
    .main-menu__item {
        margin-left: 0;
        float: none;
        pointer-events: all;
    }
    
    .main-menu__item:not(:first-child) {
        margin-top: 35px;
    }
}

.main-menu__btn {
    padding: 0 50px;
    color: #42454A !important;
    font-size: 20px;
    line-height: 70px;
    font-weight: 600 !important;
    text-transform: uppercase;
    text-decoration: none !important;
    display: block;
    pointer-events: all;
    transition: color .3s ease, background .3s ease;
    will-change: color, background;
    -webkit-clip-path: polygon(calc(0px + 20px) 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
    clip-path: polygon(calc(0px + 20px) 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
}

@media (max-width: 1640px) {
    
    .main-menu__btn {
        padding: 0 30px;
    }
}

@media (max-width: 1420px) {
    
    .main-menu__btn {
        font-size: 16px;
    }
}

@media (max-width: 1200px) {
    
    .main-menu__btn {
        padding: 0;
        font-size: 25px;
        line-height: 100%;
        -webkit-clip-path: none;
        clip-path: none;
        vertical-align: top;
        display: inline-block;
    }
}

.main-menu__item:nth-last-child(2) .main-menu__btn {
    padding-right: 80px;
}

@media (max-width: 1640px) {
    
    .main-menu__item:nth-last-child(2) .main-menu__btn {
        padding-right: 50px;
    }
}

.no-touch-device .main-menu__btn:hover,
.no-touch-device .main-menu__item--current .main-menu__btn {
    color: #B5072F !important;
}

.main-menu__btn--alt {
    padding: 0 60px;
    color: #fff !important;
    background: #264258;
}

@media (max-width: 1200px) {
    
    .main-menu__btn--alt {
        padding: 10px 45px 10px 35px;
        -webkit-clip-path: polygon(calc(0px + 19px) 0, 100% 0, calc(100% - 19px) 100%, 0 100%);
        clip-path: polygon(calc(0px + 19px) 0, 100% 0, calc(100% - 19px) 100%, 0 100%);
    }
    
    .main-menu__btn--alt:before,
    .main-menu__btn--alt:after {
        width: 31px;
        height: 100%;
        content: '';
        position: absolute;
        top: 0;
        -webkit-clip-path: polygon(calc(0px + 19px) 0, 100% 0, calc(100% - 19px) 100%, 0 100%);
        clip-path: polygon(calc(0px + 19px) 0, 100% 0, calc(100% - 19px) 100%, 0 100%);
    }
    
    .main-menu__btn--alt:before {
        right: 8px;
        background: #fff;
    }
    
    .main-menu__btn--alt:after {
        right: 0;
        background: #B5072F;
    }
}

.no-touch-device .main-menu__btn--alt:hover,
.no-touch-device .main-menu__item--current .main-menu__btn--alt {
    color: #fff !important;
    background: #42454A !important;
}






/* Toggle Button
   ========================================================================== */

.main-menu__toggle-btn {
    width: 75px;
    height: 50px;
    position: absolute;
    top: 0;
    right: 5%;
    z-index: 100;
    display: none;
    background: #264258;
    -webkit-clip-path: polygon(calc(0px + 13px) 0, 100% 0, calc(100% - 13px) 100%, 0 100%);
    clip-path: polygon(calc(0px + 13px) 0, 100% 0, calc(100% - 13px) 100%, 0 100%);
    transition: background .3s ease;
}

.no-touch-device .main-menu__toggle-btn:hover {
    background: #42454A;
}

@media (max-width: 1200px) {
    
    .main-menu__toggle-btn {
        display: block;
    }
}

@media (max-width: 760px) {
    
    .main-menu__toggle-btn {
        width: 60px;
        height: 40px;
        right: 7%;
        -webkit-clip-path: polygon(calc(0px + 11px) 0, 100% 0, calc(100% - 11px) 100%, 0 100%);
        clip-path: polygon(calc(0px + 11px) 0, 100% 0, calc(100% - 11px) 100%, 0 100%);
    }
}

.main-menu__toggle-btn:before,
.main-menu__toggle-btn:after,
.main-menu__toggle-btn span {
    width: 25px;
    height: 2.5px;
    position: absolute;
    left: 50%;
    content: '';
    background: #fff;
    transform: translate(-50%, -50%);
    transition: transform .3s ease, top .3s ease, opacity .3s ease;
    will-change: top, opacity, transform;
}

@media (max-width: 760px) {
    
    .main-menu__toggle-btn:before,
    .main-menu__toggle-btn:after,
    .main-menu__toggle-btn span {
        width: 20px;
        height: 2px;
    }
}

.main-menu__toggle-btn:before {
    top: calc(50% - 8px);
}

@media (max-width: 760px) {
    
    .main-menu__toggle-btn:before {
        top: calc(50% - 7px);
    }
}

.main-menu__toggle-btn:after {
    top: calc(50% + 8px);
}

@media (max-width: 760px) {
    
    .main-menu__toggle-btn:after {
        top: calc(50% + 7px);
    }
}

.main-menu__toggle-btn span {
    top: 50%;
}

.main-menu__toggle-btn--close:before,
.main-menu__toggle-btn--close:after,
.main-menu__toggle-btn--close span {
    background: #fff !important;
}
    
.main-menu__toggle-btn--close:before,
.main-menu__toggle-btn--close:after {
    top: 50%;
}

.main-menu__toggle-btn--close:before {
    transform: translate(-50%, -50%) rotate(135deg);
}

.main-menu__toggle-btn--close:after {
    transform: translate(-50%, -50%) rotate(-135deg);
}

.main-menu__toggle-btn--close span {
    opacity: 0;
}



