/* Top bar */

.topbar-contact-info-wrapper {
    background-color: rgb(10, 29, 77);
}

.topbar-contact-svg {
    fill: #2656DA;
    margin-right: 8px;
    height: 18px;
    width: 18px;
    margin-top: -2px;
}

.topbar-contact-info-container {
    padding: 20px 0px;
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    grid-gap: 32px;
}

.topbar-contact-details {
    grid-column: span 1;
}

.topbar-info-section {
    display: grid;
    grid-template-columns: 1fr 12fr;
}

.topbar-contact-details p {
    color: white;
    font-size: 13px;
    line-height: 100%;
    margin: 0;
    -webkit-font-smoothing: antialised;
    padding-bottom: 4px;
}

.topbar-contact-details span {
    color: #9a9a9a;
    font-size: 12px;
}

.topbar-info-btn-section {
    grid-column: span 1;
}

.topbar-info-btn-section a {
    text-decoration: none;
    color: white;
}

.topbar-contact-btn {
    float: right;
    font-size: 16px;
    font-weight: 600;
    padding: 5px 28px;
    border-radius: 4px;
    border: 2px solid #2656DA;
    background-color: #2656DA;
    color: var(--primary-bg-color);
}

.topbar-contact-btn:hover {
    background-color: var(--primary-bg-color);
    color: white;
}

@media screen and (max-width: 1024px) {
    .topbar-contact-info-container {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (max-width: 800px) {
    .topbar-contact-info-container {
        grid-template-columns: 1.2fr 1.5fr 1fr;
    }
}

.nav-outer-container {
    width: 100%;
    background-color: white;
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2); 
}

.menubar {
    display: none;
}

.nav {
    font-family: 'segoe ui';
    height: 70px;
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    height: 60px;
}

.nav-header {
    display: flex;
    align-items: center;
}

.nav>.nav-links {
    display: flex;
}

.nav>.nav-header>.nav-title {
    display: inline-block;
    font-size: 28px;
    padding: 10px 10px 10px 10px;
}

.nav>.nav-btn {
    display: none;
}

.nav>.nav-links>a {
    text-decoration: none;
    color: rgb(10, 29, 77);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    line-height: 20px;
}

.hover-underline-animation {
    display: inline-block;
    position: relative;
    padding: 30px 15px;
}

.hover-underline-animation::after {
    content: '';
    position: absolute;
    width: 20px;
    transform: scaleX(0);
    height: 4px;
    border-radius: 2px;
    bottom: 20px;
    left: calc(50% - 10px);
    background-color: #2656DA;
    transform-origin: middle;
    -webkit-transition: transform 0.25s ease-out;
    -moz-transition: transform 0.25s ease-out;
    -ms-transition: transform 0.25s ease-out;
    transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover::after {
    transform: scaleX(1);
    transform-origin: middle;
}

.nav>.nav-links>a>.last {
    padding-right: 0px;
}

.sticky-header {
    position: fixed;
    left: 0;
    top: -100%;
    opacity: 0;
    z-index: 10;
    -webkit-transition: all 0.7s;
    -moz-transition: all 0.7s;
    -o-transition: all 0.7s;
    -ms-transition: all 0.7s;
    transition: all 0.7s;
}

.sticky-on {
    opacity: 1;
    top: 0;
}

@media screen and (max-width:400px) {
    .nav>.nav-header>.nav-title {
        transform: translate(-25px, 5px);
        font-size: 22px !important;
    }
}

@media (max-width:768px) {
    .topbar-contact-info-container {
        display: none;
    }

    .nav>.nav-btn {
        display: inline-block;
        position: absolute;
        padding-top: 8px;
        right: 0px;
        top: 0px;
    }

    .nav>.nav-header>.nav-title {
        font-size: 25px;
    }

    .nav>.nav-btn>label {
        display: inline-block;
        width: 50px;
        height: 50px;
        padding: 13px;
    }

    .nav>.nav-btn>label>span {
        display: block;
        width: 25px;
        height: 10px;
        border-top: 2px solid #eee;
    }

    .nav-links {
        display: none;
    }

    .nav>.nav-links>a {
        display: none;
        width: 100%;
    }

    .menubar {
        position: fixed;
        display: block;
        width: 70%;
        max-width: 300px;
        background-color: white;
        height: 100vh;
        overflow-y: hidden;
        top: 0px;
        left: -70%;
        z-index: 15;
        box-shadow: none;
        -webkit-box-shadow: none;
        -webkit-transition: all 500ms ease;
        -moz-transition: all 500ms ease;
        -ms-transition: all 500ms ease;
        transition: all 500ms ease;
        transition-delay: 100ms;
        /* box-shadow: rgba(255, 0, 0, .45) 0px 25px 20px -20px; */
    }

    .menubar.slide {
        left: 0;
        box-shadow: 6px 0 5px -2px rgba(0, 0, 0, .2);
        -webkit-box-shadow: 0 5px 5-2px rgba(0, 0, 0, 0.2);
    }

    .menubar-logo-container {
        display: flex;
        padding: 24px 0px;
        justify-content: center;
    }

    .menubar-main-items {
        width: 100%;
    }

    .menubar-main-item {
        border-bottom: 1px solid rgb(221, 221, 221);
        margin: 0px 8px;
    }

    .menubar-main-item a {
        padding: 16px;
        text-decoration: none;
        color: rgb(10, 29, 77);
        display: flex;
        align-self: stretch;
    }

    .menubar-contact-svg {
        fill: var(--primary-color);
        margin-right: 8px;
        height: 18px;
        width: 18px;
        margin-top: -2px;
    }

    .menubar-secondary-items {
        padding: 40px 0px 0px 0px;
    }

    .topbar-info-section {
        display: grid;
        grid-template-columns: 1fr 12fr;
        margin: 32px 8px;
    }

    .topbar-contact-details p {
        font-size: 0.8rem;
        line-height: 1rem;
        margin: 0;
        color: black;
        -webkit-font-smoothing: antialised;
    }

    .topbar-contact-details span {
        font-size: 0.8rem;
    }

    .topbar-info-btn-section {
        grid-column: span 1;
    }

    .topbar-info-btn-section a {
        text-decoration: none;
        color: white;
    }

    .topbar-contact-btn {
        margin: 16px 8px 0px 8px;
        text-align: center;
        font-size: 1rem;
        font-weight: 600;
        padding: 5px 28px;
        border-radius: 4px;
        background-color: #2656DA;
        color: white;
        float: none;
    }

    .topbar-contact-btn:hover {
        background-color: #2656DA;
        color: white;
    }

    .icon-1, .icon-2, .icon-3 {
        position: absolute;
        top: calc(50% - 1.5px);
        left: calc(50% - 16px);
        width: 32px;
        height: 3px;
        border-radius: 1.5px;
        background-color: black;
        -webkit-transition: all 400ms cubic-bezier(.84, .06, .52, 1.8);
        -moz-transition: all 400ms cubic-bezier(.84, .06, .52, 1.8);
        -ms-transition: all 400ms cubic-bezier(.84, .06, .52, 1.8);
        transition: all 400ms cubic-bezier(.84, .06, .52, 1.8);
    }

    .icon-1 {
        transform: translateY(-8px);
        animation-delay: 100ms;
    }

    .icon-3 {
        transform: translateY(8px);
        animation-delay: 250ms;
    }

    .hamburger-icon {
        position: absolute;
        right: 8px;
        height: 60px;
        width: 60px;
        cursor: pointer;
        border-radius: 50%;
        -webkit-transition: all 0.2s ease-in-out;
        -moz-transition: all 0.2s ease-in-out;
        -ms-transition: all 0.2s ease-in-out;
        transition: all 0.2s ease-in-out;
    }

    .icon-1.a {
        transform: rotate(40deg);
    }

    .icon-3.b {
        transform: rotate(-40deg);
    }

    .icon-2.c {
        opacity: 0;
    }

    .clear {
        clear: both;
    }
}