@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css");

header,
section,
.figure-wrapper {
    width: 100%;
}

body {
    overflow-x: hidden;
    overflow-y: scroll;
    /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; */
    font-family: 'Montserrat';
}

.viewport {
    overflow: hidden;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}


.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: .9rem;
    padding-left: .9rem;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: #02378D;
}

.grayscaled { 
   filter: grayscale(100%);
}


.nav-pills .nav-link.active, .nav-pills .show>.nav-link .text-p1 {
    color: white;
}

header {
    position: absolute;
    background-color: transparent;
    z-index: 1;
}

header .nav-link {
    font-weight: 500;
    font-size:12px;
    color: #ffffff !important;
}

.scroll-container {
    position: absolute;
    overflow: hidden;
    z-index: 10;
    display: flex;
    justify-content: center;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}




.figure-wrapper {
    position: relative;
}

.figure-wrapper img {
    position: absolute
}
section.figure-container,
.figure-wrapper {
    height: 100vh;
}
section.figure-container {
    overflow: hidden;
    position: fixed;
    z-index: -1;
}


section.content {
    padding: 5px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.text-primary {
    color: #02378D !important;
}

.bg-primary {
    background-color: #02378D !important;
}

.bg-black {
    background-color: #000000 !important;
}

.skew{
    width:35px;
    height:5px;
    display:inline-block;
    margin: 10px 0;
    transform: skew(-20deg, -20deg);
}



.scroll-next {
    text-align: center;
    cursor: pointer;
    color: #02378D;
    position: absolute;
    bottom: 10%;
    left: 50%;
    -webkit-transform: translate(-12px, 0px);
    transform: translate(-12px, 0px);
    fill: #2046f2;
    -webkit-animation: scrollDown 1.6s infinite;
    animation: scrollDown 1.6s infinite;
    font-size: 40px;
}

/* .nav-footer:not(.spacer) li{
        margin-right: 30px;
        
    } */


/* end of section five style */


@-webkit-keyframes scrollDown {
    0% {
        -webkit-transform: translate(-12px, 0px);
        transform: translate(-12px, 0px);
        opacity: 0
    }

    75% {
        -webkit-transform: translate(-12px, 45px);
        transform: translate(-12px, 45px);
        opacity: 1
    }

    100% {
        -webkit-transform: translate(-12px, 45px);
        transform: translate(-12px, 45px);
        opacity: 0
    }
}

@keyframes scrollDown {
    0% {
        -webkit-transform: translate(-12px, 0px);
        transform: translate(-12px, 0px);
        opacity: 0
    }

    75% {
        -webkit-transform: translate(-12px, 45px);
        transform: translate(-12px, 45px);
        opacity: 1
    }

    100% {
        -webkit-transform: translate(-12px, 45px);
        transform: translate(-12px, 45px);
        opacity: 0
    }
}

@media (max-width: 576px) {




}

@media (max-width: 576px) {
    .capsule {
        padding-bottom: 200px;
    }
    #company-modal .modal-dialog,
    #company-modal .modal {
        max-width: 100%;
        margin: 0;
        padding: 0 !important;
        padding-right: 0 !important;
    }

    div.capsule .left-list li,div.capsule .right-list li, div.capsule p{
        font-size: 0.8rem;
    }

    div.capsule .left-list li{
        padding: 13px 0px;
        margin-left: 0;
    }
    div.capsule .right-list li{
        margin-right: 0;
        padding: 13px 0px;
    }
    div.capsule .capsule-center{
        min-width: 96.5px;
    }
    div.capsule .capsule-center h4{
        font-size: 1.1rem;
    }

    div#business-unit .event .line-half-container,div#business-unit span[class^="business-title-"]{
        display: none !important;
    }
    div#business-unit .event .business-title-before,div#business-unit .business-detail {
        margin-top: 0px !important;
    }
    div#business-unit .business-detail div[class^="col-"]{
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .core-value div[class^="col-"] div[class^="icon-"] {
        background-color: #ffffff;
        position: absolute;
        width: 150px;
    }
    div#business-unit h4{
        text-align: center;
    }

}



nav .wiggle, nav li:nth-child(1) .wiggle::before, nav li:nth-child(2) .wiggle, nav li:nth-child(2) .wiggle::before, nav li:nth-child(3) .wiggle, nav li:nth-child(3) .wiggle::before, nav li:nth-child(4) .wiggle, nav li:nth-child(4) .wiggle::before, nav li:nth-child(5) .wiggle, nav li:nth-child(5) .wiggle::before {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.wiggle {
    position: absolute;
    bottom: -7px;
    height: 3px;
    left: 20%;
    width: 60%;
    overflow: hidden;
    -webkit-transform: translateX(-105%);
    -moz-transform: translateX(-105%);
    -ms-transform: translateX(-105%);
    -o-transform: translateX(-105%);
    transform: translateX(-105%);
    -webkit-transition: 0.45s cubic-bezier(0.52, 0.01, 0.16, 1);
    -moz-transition: 0.45s cubic-bezier(0.52, 0.01, 0.16, 1);
    transition: 0.45s cubic-bezier(0.52, 0.01, 0.16, 1);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

nav li.active a::after, nav li:not(.active):hover a::after {
    content: '';
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: url('../images/wiggle-white.svg') repeat-x center center/7px 3px;
    backface-visibility: hidden;}
