/*-- header --*/

li.icons-right a img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    opacity: .7;
}

.error {
    color: red;
    text-align: left;
}

ul.navbar-nav.ml-auto li {
    padding: .4rem .85rem;
    margin: 0 0.5rem;
}



ul.navbar-nav.ml-auto a {
    color: #585c6e;
    padding: 0;
    padding-bottom: 0.2rem;
    font-weight: 500;
}

.header-logo img {
    width: 10rem;
    height: 100%;
    object-fit: contain;
}

.nav-list {
    display: flex;
    justify-content: flex-end;
}

nav.navbar.navbar-expand-md.navbar-light .row {
    justify-content: space-between;
}

a.header-logo {
    width: 100%;
    padding-left: 0;
}

.icons-right {
    margin-top: 0.5rem;
    margin-left: 1rem;
    display: none;
}

.icons-right a img {
    width: 1.55rem;
    height: 1.55rem;
    object-fit: contain;
}

.icons-right span {
    padding: 0 0.2rem;
}

.icons-right.d-xs-block {
    display: none;
}

a.nav-link {
    font-size: 1.1rem;
}

a.nav-link.active {
    color: #20449c !important;
    font-size: 1.15rem;
    border-bottom: 0.1rem solid #20449c;
}

footer .row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-contain ul {
    position: relative;
    left: -2rem;
}

/*-- banner --*/

.home-banner {
    position: relative;
    padding: 0;
}

.home-banner .banner-bg img {
    width: 100%;
    height: 44rem;
    object-fit: cover;
}

.banner-head {
    position: absolute;
    left: 25rem;
    bottom: 7rem;
}

.banner-head h1 {
    color: #fff;
    font-size: 4rem;
    font-weight: 500;
    width: 70%;
}

.banner-head h1 span {
    color: #e69f1b;
}






.search-form {
    display: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    position: absolute;
    top: 3.25rem;
    right: 0;
    width: 30%;
    z-index: 999;
}

.search-field {
    padding: 0.62rem;
    min-width: 100%;
    font-size: 1rem;
    line-height: 1.5em;
    color: #373D41;
    background-color: #FFF;
    background-clip: padding-box;
    border: 0.1rem solid #C5C5C7;
    border-radius: 0.5rem;
    -webkit-box-shadow: none;
    box-shadow: none;
    flex-grow: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.search-submit {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    white-space: normal;
    -webkit-transition: none;
    transition: none;
    cursor: pointer;
    outline: 0;
    padding: 0.8rem;
    font-size: 1rem;
    line-height: 1.25;
    border-radius: 0.5rem;
    border-width: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background: #1d409e;
}

.search-form .input-group {
    position: relative;
    display: flex;
    width: 100%;
    justify-content: flex-end;
}

.search-form .input-group .input-group2 {
    width: 100%;
    margin: 1rem 0;
}

.search-form .input-group .input-group2 label {
    display: inline-block;
    width: 80%;
}

.search-form .input-group .btn {
    left: -1rem;
}

.navbar-expand-md .navbar-collapse {
    justify-content: end;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    z-index: 100;
}

.navbar-collapse {
    transition: none !important;
    height: auto !important;
    overflow: visible !important;
}

@media (max-width: 991px) {
    .icons-right {
        margin-top: 0;
        padding-top: 0.5rem;
    }

    ul.navbar-nav.ml-auto li {
        padding: 0.4rem;
        margin: 0;
    }

    .icons-right {
        display: flex;
    }

    .icons-right.d-xs-none a {
        width: 100%;
        display: contents;
    }

    /*-- banner --*/
    .banner-head h1 {
        width: 100%;
    }



    .banner-head {
        position: absolute;
        left: 8rem;
        bottom: auto;
        top: 50%;
    }

    .home-banner .banner-bg img {
        height: 30rem !important;
    }

    .search-form .input-group .input-group2 {
        width: 100%;
    }

    .header-logo img {
        width: 100%;
        position: relative;
        top: 0.75rem;
    }
}

@media (max-width: 767px) {
    div#navbarNav {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 9;
        left: 0;
        padding: 2rem 0;
        background: #fff;
        height: 65%;
        padding-top: 0;
    }

    .header-logo img {
        top: 0;
    }

    nav.navbar.navbar-expand-md.navbar-light {
        width: 100%;
    }

    button.custom-close-button.d-xs-block.d-md-none {
        width: 3rem;
        height: 3rem;
        background: #fff;
        outline: none;
        border: 0;
        border-radius: 100%;
        position: relative;
        top: 1rem;
        right: 1rem;
    }

    button.custom-close-button.d-xs-block.d-md-none span {
        font-size: 3rem;
        position: relative;
        top: -1.65rem;
        color: #1f4396;
        left: -0.15rem;
    }

    .icons-right a img {
        width: 2rem;
        height: 2rem;
    }

    ul.navbar-nav.ml-auto a {
        color: #000 !important;
        font-size: 1.5rem;
        padding-bottom: 0.75rem;
        text-align: left;
        border-bottom: 0.1rem solid #807e7e;
    }

    ul.navbar-nav.ml-auto a.nav-link.active {
        color: #e69f1b !important;
    }

    ul.navbar-nav.ml-auto li {
        margin-bottom: 1rem;
        padding-left: 1.5rem;
        width: 95%;
    }

    .icons-right.d-xs-none {
        display: none;
    }

    .icons-right.d-xs-block {
        display: block;
        margin-right: 2rem;
        margin-top: -0.25rem;
    }

    .header-logo {
        margin-bottom: 0 !important;
        padding-top: 0.25rem;
    }

    ul.navbar-nav.ml-auto li:last-child {
        margin-bottom: 0;
    }

    ul.navbar-nav.ml-auto li:last-child a {
        padding-bottom: 0;
        border: 0;
    }

    button.navbar-toggler {
        border: 0;
    }

    nav.navbar.navbar-expand-md.navbar-light .row {
        display: flex;
    }

    .footer-end-bottom p a {
        font-size: 1.35rem;
    }

    /*-- banner --*/
    .banner-head h1 {
        font-size: 2rem;
        width: 100%;
    }

    .banner-head {
        left: 2rem;
        bottom: 2rem;
    }

    .banner-head {
        left: 1rem;
        bottom: auto;
        top: 50%;
    }


}