/* Header Navbar CSS Start */

.heading.menu_slogan {
    text-align: center;
    font-size: 20px;
    line-height: 1.5;
    margin: 0;
    position: relative;
    margin-top: 5vw;
    display: none;
    font-weight: 400;
}

.aml-header {
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;
    padding: 25px 0;
}

.aml-normal-header {
    position: relative !important;
}

.aml-header .aml-nav-item .aml-nav-link {
    font-size: 24px;
    color: #0A1857;
}

.aml-header .aml-nav-item.active .aml-nav-link {
    font-weight: 600;
}

.aml-header .aml-nav-item.active .aml-nav-link:hover,
.aml-header .aml-nav-item.active .aml-nav-link:focus {
    color: #0A1857;
}

.aml-header .aml-nav-item .aml-nav-link img {
    min-width: 22px;
    min-height: 22px;
    object-fit: contain;
}

.search_bar_wrap img {
    position: relative;
    top: -2px;
}

.aml-header .aml-nav-item .aml-nav-link:last-child {
    margin-right: 0;
}

.aml-header .aml-nav-item .aml-nav-link:hover {
    color: #4c4c4c;
}

.aml-header.aml-header-white {
    position: relative;
}

.nav-item.active .aml-nav-link.nav-link:focus
.nav-item.active .aml-nav-link.nav-link {
    font-weight: 600;
}


/* Mega Menu CSS Start */

.mega-menu-btn {
    margin: 0;
    background: #0A1857;
    width: 55px !important;
    height: 55px !important;
    padding: 0 !important;
    border-radius: 50em;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-menu-btn:hover {
    background: #0A1857;
}

.overlay {
    background: #fff;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 200;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    transform: translateX(100%);
    opacity: 0;
    transition: opacity 0.1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s, -webkit-transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s, -moz-transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s, -webkit-transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), -moz-transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 100vh;
    height: 100vh;
    padding: 0 55px 0 100px;
}

.overlay.open_panel {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    transition: opacity 0.1s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
    -moz-transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.1s, opacity 0.1s cubic-bezier(0.4, 0, 0.2, 1), -moz-transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.1s, opacity 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.1s, opacity 0.1s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.1s, -moz-transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.mega_menu {
    width: 100%;
    height: 100%;
    padding: 30px 20px;
}

.buttons_resgistration {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.buttons_resgistration button {
    margin-left: 15px;
}

.overlay.open_panel {
    overflow: auto;
}

.mega_menu ul {
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    padding-top: 70px;
    flex-wrap: wrap;
}

.mega_menu li {
    flex: 0 0 50%;
    line-height: 47px;
    margin: 0 0 35px 0;
    padding: 0;
    list-style: none;
    -webkit-transition: all 0.2s linear 0s;
    -moz-transition: all 0.2s linear 0s;
    -o-transition: all 0.2s linear 0s;
    transition-property: all 0.2s linear 0s;
}

.mega_menu_button {
    margin: 0;
    background: #EF5C3F;
    min-width: 65px;
    min-height: 65px;
    padding: 0;
    border-radius: 100%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega_menu_button:hover {
    background: #0A1857;
    color: #fff;
}

.mega_menu li a {
    color: #0A1857;
    vertical-align: middle;
    font-family: 'proximanova';
    font-size: 24px;
    font-weight: normal;
    border-bottom: solid 2px transparent;
    padding: 8px;
}

.mega_menu li:hover a,
.mega_menu li.active a {
    border-color: #0A1857;
}

.mega_menu li.active a {
    font-weight: 600;
}

.aml-covid-ptitle .head {
    font-size: 24px;
    line-height: 32px;
    font-family: 'proximanova';
    color: #091756;
}

.btn-cyes {
    background: #ffffff;
    border-radius: 50px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    color: #1d58c0;
    font-family: 'proximanova-semibold';
}

.btn-cyes:hover {
    background: #0069d9;
    color: #fff;
}

.aml-covid-main {
    background: url(https://amlcdn.accessmedlab.com/prod/client/assets/inner-assets/images/background/bg-modalbase.webp);
    background-size: cover;
    border: 0;
    box-shadow: none;
    padding: 35px;
    border-radius: 15px;
}

.aml-covid-popup .modal-content {
    border: none;
    border-radius: 15px;
}

.aml-pbtns-flex {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aml-pbtns-flex a {
    margin-right: 10px;
}

.aml-pbtns-flex a:last-child {
    margin-right: 0;
}

.navbar-brand.navbar-logo img {
    width: 100%;
    max-width: 275px;
}

@media only screen and (min-width: 1640px) {
    .aml-header {
        padding: 40px 0;
    }
}

@media only screen and (min-width:1200px) {
    .overlay {
        left: auto;
        right: 0;
        max-width: 60vw;
    }

    .mega_menu {
        padding: 30px 30px;
    }
    .mega_menu.admin_mega_menu {
        padding: 1.5vw 1.6vw 0;
    }
}

@media (max-width: 1640px) {
    .aml-header .overlay.open_panel {
        padding: 0;
    }
}


@media only screen and (max-width: 1440px) {
    .aml-header .aml-nav-item .aml-nav-link {
        font-size: 22px;
    }
}

@media only screen and (max-width: 1280px) {
    .aml-header .aml-nav-item .aml-nav-link {
        font-size: 20px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1080px) {
    .aml-header .aml-nav-item .aml-nav-link {
        font-size: 18px;
        padding: 0 2px;
    }
}

@media only screen and (max-width: 1180px) {
    .aml-header {
        padding: 20px 0;
    }
    .mega_menu_button {
        min-width: 48px;
        min-height: 48px;
    }
    .aml-header .aml-nav-item .aml-nav-link img {
        min-width: auto;
        min-height: auto;
        width: 24px;
    }
}

@media only screen and (max-width:1099px) {
    .aml-header-big div#navbarSupportedContent {
        margin-top: 0px;
    }
}

@media only screen and (max-width:991px) {
    .aml-header .navbar-logo {
        width: 50%;
    }
    .create_an_account_btn,
    .btn-primary {
        font-size: 16px;
        padding: 15px 30px;
    }
    .aml-header .navbar {
        flex-wrap: nowrap;
    }
    .aml-header .navbar-logo {
        display: flex;
        width: auto;
    }
    .navbar-nav li.nav-item.hide_mobile {
        display: none;
    }
    .aml-header .aml-navbar .aml-nav-megamenu {
        margin-left: auto !important;
    }
}

@media only screen and (max-width: 767px) {
    .mega_menu_button, .mega_menu_button {
        order: -1;
    }
}

@media (min-width: 576px) {
    .buttons_resgistration button {
        margin-left: 0;
    }
}

@media only screen and (max-width:575px) {
    /* Responsive Header CSS Start */

    .mega_menu li {
        margin: 0 0 12px 0;
    }
    .mega_menu li a {
        font-size: 18px;
    }
    .overlay.open_panel {
        padding: 0 15px;
    }
    /* .heading.menu_slogan {
        display: block;
    } */
    .aml-header .navbar {
        flex-wrap: nowrap;
    }
    .aml-header .navbar-logo {
        display: flex;
        width: auto;
    }
    .navbar-nav li.nav-item.hide_mobile {
        display: none;
    }
    .aml-header .aml-navbar .aml-nav-megamenu {
        margin-left: auto !important;
    }
    /* Responsive Mega Menu Start */
    .mega_menu {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        height: auto;
        padding: 20px;
    }
    .buttons_resgistration .btn-primary {
        width: 100%;
        margin: 20px 0 0 0;
    }
    .buttons_resgistration {
        flex-wrap: wrap;
        width: 100%;
        gap: 0;
    }
    .mega_menu ul {
        margin: 0;
        padding: 20px 0 0;
    }
}

/* Responsive New Style Start */
@media (max-width: 991px) {
    .aml-header .aml-nav-item .aml-nav-link {
        font-size: 18px;
    }
    .aml-header {
        padding: 15px 0;
    }
}

@media (max-width: 575px) {
    .aml-header .aml-nav-item .aml-nav-link img {
        width: 18px;
        height: 18px;
        min-width: 18px;
        min-height: 18px;
    }
    .mega_menu_button {
        min-width: 45px;
        min-height: 45px;
    }
}

@media (max-width: 375px) {
    .mega_menu_button {
        min-width: 40px;
        min-height: 40px;
    }
    .hd-right-icon a.ih-links img {
        height: 22px;
    }
    .buttons_resgistration button i.fa.fa-close {
        font-size: 20px;
    }
    .mega_menu li {
        flex: 0 0 100%;
    }
    .mega_menu {
        padding: 20px 15px;
    }
}

/* Responsive New Style End */
