﻿    
/* #Navigation
================================================== */

.start-header.scroll-on #navbarSupportedContent .last {
    color: #162e49 !important;
}

    .start-header.scroll-on #navbarSupportedContent .last:hover {
        color: #5C88C6 !important;
    }

    .start-header.scroll-on #navbarSupportedContent .last #searchfield {
        color: #162e49 !important;
    }

#navbarSupportedContent .last {
    margin-right: 0px;
    width: 30px;
    transition: all 0.2s linear 0.0s;
    cursor: pointer;
    color: white;
}

    #navbarSupportedContent .last #searchfield {
        width: 0;
        opacity: 0;
        border: solid 0px;
        outline: none;
        color: white;
        padding-left: 10px;
        background: transparent;
        transition: opacity 0s linear 0.2s, border 0.2s linear 0.0s, width 0.2s linear 0s;
        font-size: 14px;
        line-height: 24px;
        font-weight: 400;
    }

    #navbarSupportedContent .last.active > #searchfield {
        display: inline;
        opacity: 100;
        width: 120px;
        transition: opacity 0s linear 0s, border 0s linear 0s, width 0.2s linear 0s;
    }


    #navbarSupportedContent .last.active {
        border: solid 2px #5C88C6;
        padding: 10px 10px 10px 10px;
        color: #5C88C6;
        cursor: auto;
    }


#navbarSupportedContent .menu-item:hover {
    color: #5C88C6;
    transition: all 0.2s ease-in-out;
}

#navbarSupportedContent .menu-item.hover {
    color: #5C88C6;
    transition: all 0.2s ease-in-out;
}

.start-header {
    opacity: 1;
    transform: translateY(0);
    padding: 10px 0;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    background-color: #162e49;
}

    .start-header.scroll-on {
        box-shadow: 0 10px 30px 0 rgba(138, 155, 165, 0.15);
        background-color: white;
        -webkit-transition: all 0.3s ease-out;
        transition: all 0.3s ease-out;
    }

        .start-header.scroll-on .navbar-brand img {
            -webkit-transition: all 0.3s ease-out;
            transition: all 0.3s ease-out;
        }

        .start-header.scroll-on .nav-item a {
            color: #162e49 !important;
        }

            .start-header.scroll-on .nav-item a:hover {
                color: #5C88C6 !important;
            }

        .start-header.scroll-on .dropdown-menu a:hover {
            color: #fff !important;
            background-color: #5C88C6;
        }

.navigation-wrap {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    z-index:1030;
}

.navbar {
    padding: 0;
}

.navbar-brand img {
    height: 64px;
    width: auto;
    display: block;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.navbar-toggler {
    float: right;
    border: none;
    padding-right: 0;
}

    .navbar-toggler:active,
    .navbar-toggler:focus {
        outline: none;
    }

.navbar-light .navbar-toggler-icon {
    width: 24px;
    height: 17px;
    background-image: none;
    position: relative;
    border-bottom: 1px solid white;
    transition: all 300ms linear;
}

    .navbar-light .navbar-toggler-icon:after,
    .navbar-light .navbar-toggler-icon:before {
        width: 24px;
        position: absolute;
        height: 1px;
        background-color: white;
        top: 0;
        left: 0;
        content: '';
        transition: all 300ms linear;
    }

    .navbar-light .navbar-toggler-icon:after {
        top: 8px;
    }

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: translateY(8px) rotate(-45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    border-color: transparent;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    transition: all 200ms linear;
}

.nav-item:hover .nav-link {
    color: #5C88C6 !important;
}

.nav-item.active .nav-link {
    color: #777 !important;
}

.nav-link {
    position: relative;
    padding: 5px 0 !important;
    display: inline-block;
}

.nav-item:after {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    content: '';
    background-color: #5C88C6;
    opacity: 0;
    transition: all 200ms linear;
}

.nav-item:hover:after {
    bottom: 0;
    opacity: 1;
}

.nav-item.active:hover:after {
    opacity: 0;
}

.nav-item {
    position: relative;
    transition: all 200ms linear;
}

    /* #Primary style
================================================== */

    .nav-item .dropdown-menu {
        transform: translate3d(0, 10px, 0);
        visibility: hidden;
        opacity: 0;
        max-height: 0;
        display: block;
        padding: 0;
        margin: 0;
        transition: all 200ms linear;
    }

    .nav-item.show .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 999px;
        transform: translate3d(0, 0px, 0);
    }

.dropdown-menu {
    padding: 10px !important;
    margin: 0;
    font-size: 13px;
    letter-spacing: 1px;
    color: #212121;
    background-color: #fcfaff;
    border: none;
    border-radius: 3px;
    box-shadow: 0 5px 10px 0 rgba(138, 155, 165, 0.15);
    transition: all 200ms linear;
}

.dropdown-toggle::after {
    display: none;
}

.dropdown-item {
    padding: 3px 15px;
    color: #212121;
    border-radius: 2px;
    transition: all 200ms linear;
    padding:10px;
}

    .dropdown-item:hover,
    .dropdown-item:focus {
        color: #fff;
        background-color: #5C88C6;
    }



/* #Media
================================================== */

@media (max-width: 767px) {

    .nav-item:after {
        display: none;
    }

    .nav-item::before {
        position: absolute;
        display: block;
        top: 15px;
        left: 0;
        width: 11px;
        height: 1px;
        content: "";
        border: none;
        background-color: white;
        vertical-align: 0;
    }

    .start-header.scroll-on .nav-item::before {
        background-color: #162e49;
    }

    .start-header.scroll-on .navbar-light .navbar-toggler-icon {
        border-bottom: 1px solid #162e49;
    }

        .start-header.scroll-on .navbar-light .navbar-toggler-icon:before {
            background-color: #162e49;
        }

        .start-header.scroll-on .navbar-light .navbar-toggler-icon:after {
            background-color: #162e49;
        }

    .start-header.scroll-on .dropdown-item {
        color: #162e49;
    }

    .start-header.scroll-on .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        border-color: transparent;
    }

    .start-header.scroll-on .dropdown-toggle::after {
        background-color: #162e49;
    }

    .dropdown-item {
        color: white;
    }

    .dropdown-toggle::after {
        position: absolute;
        display: block;
        top: 10px;
        left: -23px;
        width: 1px;
        height: 11px;
        content: "";
        border: none;
        background-color: white;
        vertical-align: 0;
        transition: all 200ms linear;
    }

    .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(90deg);
        opacity: 0;
    }

    .dropdown-menu {
        padding: 0 !important;
        background-color: transparent;
        box-shadow: none;
        transition: all 200ms linear;
    }

    .dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
        margin-top: 10px !important;
        margin-bottom: 20px !important;
    }
}


.start-header.scroll-on #navbarSupportedContent .last {
    color: #162e49 !important;
}

    .start-header.scroll-on #navbarSupportedContent .last:hover {
        color: #5C88C6 !important;
    }

    .start-header.scroll-on #navbarSupportedContent .last #searchfield {
        color: #162e49 !important;
    }


#navbarSupportedContent .last {
    font-family: 'FontAwesome';
    margin-right: 0px;
    width: 30px;
    transition: all 0.2s linear 0.0s;
    cursor: pointer;
    color: white;
}

    #navbarSupportedContent .last #searchfield {
        width: 0;
        opacity: 0;
        border: solid 0px;
        outline: none;
        color: white;
        padding-left: 10px;
        background: transparent;
        transition: opacity 0s linear 0.2s, border 0.2s linear 0.0s, width 0.2s linear 0s;
        font-family: 'Poppins', sans-serif;
        font-size: 14px;
        line-height: 24px;
        font-weight: 400;
    }

    #navbarSupportedContent .last.active > #searchfield {
        display: inline;
        opacity: 100;
        width: 120px;
        transition: opacity 0s linear 0s, border 0s linear 0s, width 0.2s linear 0s;
    }


    #navbarSupportedContent .last.active {
        border: solid 2px #5C88C6;
        padding: 10px 10px 10px 10px;
        color: #5C88C6;
        cursor: auto;
    }



#navbarSupportedContent .menu-item:hover {
    color: #5C88C6;
    transition: all 0.2s ease-in-out;
}

#navbarSupportedContent .menu-item.hover {
    color: #5C88C6;
    transition: all 0.2s ease-in-out;
}
