/*******Mobile menu three lines animation started**********/

.navbar-toggler {
    width: 22px;
    height: 22px;
    position: relative;
    transition: 0.5s ease-in-out;
    margin-top:10px;
}

    .navbar-toggler,
    .navbar-toggler:focus,
    .navbar-toggler:active,
    .navbar-toggler-icon:focus {
        outline: none;
        box-shadow: none;
        border: 0;
    }

        .navbar-toggler span {
            margin: 0;
            padding: 0;
        }

.toggler-icon {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: #282828;
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.middle-bar {
    margin-top: 0px;
}

/* when navigation is clicked */

.navbar-toggler .top-bar {
    margin-top: 0px;
    transform: rotate(135deg);
}

.navbar-toggler .middle-bar {
    opacity: 0;
    filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
    margin-top: 0px;
    transform: rotate(-135deg);
}

/* State when the navbar is collapsed */

.navbar-toggler.collapsed .top-bar {
    margin-top: -8px;
    transform: rotate(0deg);
}

.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
    filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
    margin-top: 8px;
    transform: rotate(0deg);
}

/* Color of 3 lines */

.navbar-toggler.collapsed .toggler-icon {
    background-color: #282828;
}

/*******Mobile menu three lines animation Ended**********/

.hide-desktop {
    display: none !important;
}
    
    



/*----Css apply when screen more then 992px*/
@media only screen and (min-width: 992px) {
    .nav-item .dropdown-menu li a:hover {
        background-color: #211b5a;
        color: #fff !important;
    }
    .dropdown:hover > .dropdown-menu {
        display: block;
        border-radius: 0;
        min-width: 220px;
        font-size: 0.9rem;
        line-height: 28px;
    }

    .sub-dropdown:hover > .dropdown-menu {
        display: block;
        position: absolute;
        left: 100%;
        top: 0;
    }


    .sub-dropdown > .nav-link {
        padding-left: 15px !important;
    }
}

/*----Css apply when screen less then 1100px*/
@media screen and (max-width: 991.5px) {
  
    .btn-search {
        padding: 5px 12px;
        
    }
    .homesearch .serach-icon {
        margin-left: 10px !important;
        margin-right: 10px !important;
        margin-top: 3px !important;
        cursor: pointer !important;
    }
    .marRS-20 {
        margin-right: 10px;
        font-size: 15px;
        height: 36px;
    }
    .snow-M {
        display: flex !important;
    }
    .hide-992 {
        display: none !important;
    }

    .SP-nav {
        height: 100%;
        overflow: no-display
    }

    .hide-M-nav {
        display: none !important;
    }

    .sub-dropdown .sub-menu .hide-M-nav {
        display: block;
    }

    .navbar-nav > li > .active:before {
        display: none
    }

    .nav-item .dropdown-menu li a {
        font-size: 1.4rem !important;
        line-height: normal !important;
        padding: 10px 0px !important;
        color: #211b5a !important;
        font-weight: 600 !important;
        background: #fff !important;
        
    }

        .nav-item .dropdown-menu li a:hover {
            color: #211b5a !important;
            background: #fff !important;
        }

        .nav-item .dropdown-menu li a:focus {
            color: #211b5a !important;
            background: #fff !important;
        }


    .dropdown-menu > li .active {
        color: #211b5a !important;
        background: #fff !important;
    }

    .main-menu-toggle {
        transition: all 300ms linear 0ms;
        cursor: pointer;
        display: inline-block;
        height: 25px;
        line-height: 25px;
        position: absolute;
        right: 0;
        text-align: center;
        top: 10px;
        width: 25px;
        background-color: #fff;
        border-radius: 2px;
        color: #211b5a;
    }

        .main-menu-toggle:before {
            content: "\f067";
            font-family: "FontAwesome";
        }

    .Sub-main-menu-toggle {
        transition: all 300ms linear 0ms;
        cursor: pointer;
        display: inline-block;
        height: 25px;
        line-height: 25px;
        position: absolute;
        right: 0;
        text-align: center;
        top: 54px;
        width: 25px;
        background-color: #211b5a;
        border-radius: 2px;
        color: #fff;
    }

        .Sub-main-menu-toggle:before {
            content: "\f2f9";
            font-family: "Material-Design-Iconic-Font";
        }

    .sub-menu .dropdown-menu {
        position: relative;
        display: block;
        background: #fff;
        box-shadow: none;
        padding: 5px 0px;
    }


    .navbar-nav > li > a {
        line-height: 40px !important;
    }

    .navbar-nav > li:hover > a:before {
        display: none;
    }
}

.dropdown-toggle::after {
    display: none;
}

.dropdown-menu {
    animation: fadeInFromBottom 0.5s ease backwards;
    /* Adjust duration and timing function as needed */
    transform-origin: top;
    z-index: 9999
}

.navbar {
    padding: 0px;
}

.navbar-nav > li > a {
    font-size: 16px;
    padding: 0 8px !important;
    color: #111;
    line-height: 100px;
    letter-spacing: 0.02em;
    font-weight: 500;
    font-family: Roboto, sans-serif !important;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none !important;
    margin-right:10px;
}

    .navbar-nav > li > a:hover{
    animation: toBottomFromTop10 0.3s forwards;
}

    .navbar-nav > li > a:focus {
        color: #09005e !important;
        background-color: #fff !important;
        text-decoration: none !important;
    }


    .navbar-nav > li > a:before {
        content: "";
        position: absolute;
        left: 15px;
        right: 15px;
        bottom: 0px;
        margin: auto;
        background-color: #211b5a;
        height: 2px;
        transform-origin: right center;
        -webkit-transform-origin: right center;
        -webkit-transform: scale(0, 1);
        -khtml-transform: scale(0, 1);
        -moz-transform: scale(0, 1);
        -ms-transform: scale(0, 1);
        -o-transform: scale(0, 1);
        transform: scale(0, 1);
        -webkit-transition: transform 0.25s cubic-bezier(0.37, 0.31, 0.2, 0.85);
        -khtml-transition: transform 0.25s cubic-bezier(0.37, 0.31, 0.2, 0.85);
        -moz-transition: transform 0.25s cubic-bezier(0.37, 0.31, 0.2, 0.85);
        -ms-transition: transform 0.25s cubic-bezier(0.37, 0.31, 0.2, 0.85);
        -o-transition: transform 0.25s cubic-bezier(0.37, 0.31, 0.2, 0.85);
        transition: transform 0.25s cubic-bezier(0.37, 0.31, 0.2, 0.85);
    }

.navbar-nav > li:hover > a:before {
    transform-origin: left center;
    -webkit-transform-origin: left center;
    -webkit-transform: scale(1, 1);
    -khtml-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
}


.navbar-nav > li.menu-item-has-children > a:after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 30px;
    margin: auto;
    background-color: #211b5a;
    height: 2px;
    transform-origin: right center;
    -webkit-transform-origin: right center;
    -webkit-transform: scale(0, 1);
    -khtml-transform: scale(0, 1);
    -moz-transform: scale(0, 1);
    -ms-transform: scale(0, 1);
    -o-transform: scale(0, 1);
    transform: scale(0, 1);
    -webkit-transition: transform 0.25s cubic-bezier(0.37, 0.31, 0.2, 0.85);
    -khtml-transition: transform 0.25s cubic-bezier(0.37, 0.31, 0.2, 0.85);
    -moz-transition: transform 0.25s cubic-bezier(0.37, 0.31, 0.2, 0.85);
    -ms-transition: transform 0.25s cubic-bezier(0.37, 0.31, 0.2, 0.85);
    -o-transition: transform 0.25s cubic-bezier(0.37, 0.31, 0.2, 0.85);
    transition: transform 0.25s cubic-bezier(0.37, 0.31, 0.2, 0.85);
}


.navbar-nav > li > .active:before {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 0px;
    margin: auto;
    background-color: #211b5a;
    height: 2px;
    transform: scale(1, 1);
    transform-origin: right center;
    transition: transform 0.25s cubic-bezier(0.37, 0.31, 0.2, 0.85);
}

.dropdown-menu {
    margin-top: 0;
}

    .dropdown-menu .dropdown-toggle::after {
        vertical-align: middle;
        border-left: 4px solid;
        border-bottom: 4px solid transparent;
        border-top: 4px solid transparent;
    }

    .dropdown-menu > li a:hover,
    .dropdown-menu > li.show {
        background: #fff;
        color: #09005e !important;
    }

    .dropdown-menu > li .active {
        background-color: #09005e !important;
        color: #fff !important;
    }


.mobile-arrow {
    display: none;
}

.dropdown-menu {
    padding: 25px 0px;
    font-size: 1.4rem !important;
    border: 0px !important;
    border-radius: 0 0 6px 6px !important;
    color: #848e9f !important;
    box-shadow: 0 3px 63px 0 rgba(9, 0, 94, 0.11);
    min-width: 240px;
    z-index:999;
}

.nav-item .dropdown-menu li {
    padding: 0 20px;
}

    .nav-item .dropdown-menu li a {
        font-size: 15px;
        line-height: normal;
        padding: 11px 15px;
        border-radius: 4px;
        background-color: transparent;
        color: #111111;
        position: relative;
        white-space: nowrap;
        margin-bottom: 2px;
        text-decoration: none;
        font-weight: 500;
    }

       

.back {
    right: 0px !important;
    left: auto !important;
}

.about-nav {
    right: 0 !important;
    left: auto !important;
}

.site-logo {
    position: absolute;
}

.fixed-top {
    animation: 1.15s ease 0s normal forwards 1 running topslide;
    box-shadow: 0 5px 83px #2828281f;
    background-color: #fff;
}



/*----HOME SEARCH----*/
.homesearch{
    display:flex;
    justify-content:space-between
}

    .homesearch .serach-icon {
        margin-left: 45px;
        margin-right: 45px;
        margin-top: 15px;
        cursor:pointer;
    }

.serach-icon .fa-search {
    color: #2f3a71 !important;
    font-size: 2.5rem;
    font-weight: 300 !important;
}

    .scale {
        transition: all 360ms linear 0ms !important;
        transform: scale(0.5) !important;
        opacity: 0 !important;
        background-color: transparent !important;
        background: transparent !important;
    }



.modal-fullscreen {
    width: 99vw;
}

#homesearch .show {
    transform: scale(1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: #fff !important;
    z-index: 9999;
}

.modal-header .btn-close {
    text-align: center;
    opacity: 1;
    border-radius: 0;
    padding: 10px;
    color: #fff !important;
    background: #fff url(../Images/close-img.png) no-repeat center;
    border-radius: 50%;
    margin-right: 5px;
    margin-top: 5px;
}

.modal-fullscreen .modal-footer, .modal-fullscreen .modal-header {
    padding: 0px;
    border: 0px
}

.searchform-wrapH {
    position: relative;
    padding: 40px 0 0px;
    margin: 0 auto;
    position: absolute;
    top: 25%;
    left: 20%;
    display: flex;
}

    .searchform-wrapH input[type=text] {
        font-size: 3.5rem !important;
        color: #848e9f !important;
    }

.search-submitH {
    font-size: 2.6rem;
    color: #09005e;
    background-color: transparent;
    border: none;
    padding: 0;
    line-height: 82px;
    text-align: center;
    position: absolute;
    top: 20;
    left: 0;
}

    .search-submitH .fa {
        font-size: 32px !important;
    }

.modal-fullscreen .modal-body {
    overflow-y: visible;
}

.search-fieldH {
    background: transparent;
    border: 0px;
    padding: 0px 30px;
    vertical-align: top;
    height: 40px;
    border: none;
    font-size: 3.5rem;
    color: #848e9f;
    background-color: #fff;
    padding: 17px 30px 17px 46px;
    -webkit-border-radius: 0;
    -khtml-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    border-bottom: 2px solid #eaeaea !important;
    height: 76px;
    font-family: Roboto, sans-serif;
    font-weight: 500;
    width: 770px;
}


body .scroll-top {
    position: fixed;
    z-index: 99;
    bottom: 24px;
    right: 30px;
    height: 48px;
    width: 48px;
    line-height: 48px;
    text-align: center;
    background-color: #211b5a;
    -webkit-border-radius: 2px;
    -khtml-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius: 2px;
    color: #fff;
    font-size: 22px;
    opacity: 0;
    visibility: hidden;
}

    body .scroll-top.on {
        bottom: 30px;
        opacity: 1;
        visibility: visible;
    }



@keyframes fadeInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(30px);
        /* Adjust the value for desired distance */
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes topslide {
    0% {
        transform: translateY(-200px);
    }

    100% {
        transform: translateY(0);
    }
}


@keyframes fadeInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes toBottomFromTop10 {
    49% {
        -webkit-transform: translateY(-10%);
        -ms-transform: translateY(-10%);
        transform: translateY(-10%);
    }

    50% {
        opacity: 0;
        -webkit-transform: translateY(10%);
        -ms-transform: translateY(10%);
        transform: translateY(10%);
    }

    51% {
        opacity: 1;
    }
}