/*============================================

[Table of content]

1. Large devices (less than 1200px)
2. Large tablets (less than  992px)
3. Medium devices (less than  768px)
4. Small devices (less than  576px)
5. Extra Small devices (less than  480px)

============================================*/

/* 1. Large devices (less than 1200px) */
@media (max-width: 1199.98px) {
    .banner-inner-area.banner-area1.banner2:before {
        background-position: 30% 0%;
    }

    .header-menu>ul>li {
        padding-left: 13px;
        padding-right: 13px;
    }

    .download-app-inner h2.h1 {
        font-size: 42px;
        line-height: 55px;
        margin-bottom: 18px;
    }

}

/* 2. Large tablets (less than  992px) */
@media (max-width: 991.98px) {
    .country{padding-left: 20px;}
   

    .banner-text-inner h1 {
        font-size: 40px;
    }

    .banner-shape-inner .shape5 {
        top: 31%;
        left: 49%;
    }

    .main-menu-wrap .btn {
        border-color: #0076bf;
    }

    /* Header */
    .main-header .row {
        position: relative;
    }

    .main-header .row>div:nth-child(2) {
        position: static;
    }

    .main-header {
        padding: 10px 0;
    }

    .header-menu ul ul li a:hover:before,
    .header-menu ul ul li.active a:before,
    .header-menu ul ul li:hover>a:before {
        opacity: 0;
    }

    .home-page1-light .header-menu ul li,
    .home-page2-light .header-menu ul li {
        border-top: 1px solid #f1f1f1;
    }

    .header-menu>ul>li {
        padding-top: 0px;
        padding-bottom: 0px;
        margin-left: 0px !important;
    }

    .header-menu>ul>li:first-child {
        border-top: 0px !important;
    }

    .header-menu ul li a {
        color: #fff;
        padding: 12px 15px !important;
    }

    .header-menu>ul ul li:not(:last-child) {
        border-bottom: 0;
    }

    .header-menu ul ul li a {
        padding-left: 30px !important;
        width: auto;
    }

    .header-menu {
        text-align: right;
        position: initial;
    }

    .header-menu>ul {
        position: absolute !important;
        top: 44px !important;
        left: 15px !important;
        width: calc(100% - 30px) !important;
        background: #36324a;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        max-height: 350px;
        overflow-y: auto;
    }

    .header-menu ul li a {
        color: #081340;
    }

    .header-menu ul,
    .header-menu ul ul,
    .header-menu ul ul ul,
    .header-menu>ul,
    .header-menu.align-center>ul,
    .header-menu>ul>li>ul,
    .header-menu>ul>li:hover>ul,
    .header-menu ul ul li:hover>ul {
        position: relative;
        left: 0;
        right: auto;
        top: 0;
        width: 100%;
        display: none;
        padding: 0;
        opacity: 1;
        text-align: left;
        z-index: 99999;
    }

    .header-menu ul li {
        width: 100%;
        border-top: 1px solid;
    }

    .header-menu>ul>li>a,
    .header-menu ul ul li a,
    .header-menu ul ul li:first-child>a,
    .header-menu ul ul li:last-child>a {
        border-radius: 0;
        box-shadow: none;
    }

    .header-menu ul li a i {
        display: none;
    }

    .header-menu ul ul ul li a {
        padding-left: 45px !important;
    }

    .header-menu #menu-button {
        color: #1e50b5;
        font-size: 28px;
        display: inline-block;
        cursor: pointer;
    }

    .header-menu .submenu-button {
        position: absolute;
        right: 0;
        display: block;
        width: 50px;
        height: 40px;
        border-left: 1px solid rgba(120, 120, 120, 0.2);
        z-index: 10;
        cursor: pointer;
    }

    .header-menu ul ul .submenu-button {
        height: 44px;
    }

    .header-menu .submenu-button:before {
        content: '';
        position: absolute;
        right: 22.5px;
        top: 18px;
        display: block;
        width: 0;
        height: 0;
        border: 4px solid transparent;
        border-top-color: #fff;
        z-index: 99;
    }

    .header-menu .submenu-opened:before {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
        top: 14px;
    }

    .header-menu ul ul .submenu-button:before {
        top: 19.5px;
    }

    .header-menu ul ul .submenu-button.submenu-opened:before {
        top: 15.5px;
    }

    .header-menu #menu-button.menu-opened:before,
    .header-menu .submenu-button.submenu-opened:before {
        border-top-color: #f77ade;
    }

    .header-menu>ul>li:not(.active):hover>a,
    .header-menu>ul>li:not(.active)>a:hover {
        color: #f77ade;
    }

    .header-menu>ul>li>ul {
        background: #1c1967;
    }

    .header-menu>ul>li>ul,
    .header-menu ul ul ul {
        box-shadow: none;
        border-bottom: 0;
    }

    .header-menu>ul>li>ul:before,
    .header-menu ul ul ul:before {
        display: none;
    }

    .header-menu ul ul ul li:first-child {
        padding-top: 0;
    }

    .header-menu ul ul ul li:last-child {
        padding-bottom: 0;
    }

    .header-menu ul ul li:hover>a,
    .header-menu ul ul li>a:hover {
        color: #fff;
    }

    .sticking .header-menu>ul>li:hover:not(.active)>a {
        color: #1b435d;
    }

    .header-menu ul ul ul:after {
        display: none;
    }

    .main-header6 .header-menu ul li a {
        color: #333333;
    }

    .main-header6 .header-menu>ul>li:hover>a,
    .main-header6 .header-menu>ul>li.active>a {
        color: #00c6c6;
    }


    .header-menu>ul>li>a:after,
    .header-menu>ul>li.active>a:after,
    .header-menu>ul>li:hover>a:after {
        display: none;
    }

    .signup--out-btn {
        margin-left: 50px;
    }

    .header-menu>ul>li:hover>a:before,
    .header-menu>ul>li.active>a:before {
        display: none;
    }

    .header-menu ul ul li a {
        font-size: 14px;
        background: #ffffff;
        color: #333333;
    }


    .single-conatct-info h4 {
        margin-bottom: 15px;
    }

    .single-conatct-info {
        padding: 30px 20px 24px 20px;
    }

    .page-title-wrap {
        padding-top: 150px;
        padding-bottom: 140px;
    }

    .section-title h2 {
        font-size: 36px;
    }

    .section-title {
        margin: -8px 40px 50px;
    }

    

    .main-header .header-menu>ul>li:hover>a,
    .main-header .header-menu>ul>li.active>a {
        color: #fff;
    }


    .header-menu ul li a {
        color: #fff !important;
    }

    .download-app-inner h2.h1 {
        font-size: 36px;
        line-height: 48px;
        margin-bottom: 18px;
    }

    .pb-110 {
        padding-bottom: 50px;
    }

    .pt-110 {
        padding-top: 50px;
    }

    .pb-150 {
        padding-bottom: 60px;
    }


    .footer-widget {
        margin-bottom: 30px;
    }

    footer.footer {
        position: relative;
        background: #F7F6F9;
        padding-top: 35px;
    }


    .footer-bottom {
        padding: 34px 0 47px;
    }
    
}

@media (max-width: 991px) {
    .urgent-call { display: none; }

    .pb-110 {
        padding-bottom: 80px;
    }
    .header li a {
    display: block;
    padding: 2px 15px !important;
    text-decoration: none;
    font-size: 16px;
    color: #36324a;
    font-weight: 500;
    border-bottom: 1px solid #ccc;

}
.custom-model-inner {
  -webkit-transform: translate(0, -25%);
  -ms-transform: translate(0, -25%);
  transform: translate(0, -25%);
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: -webkit-transform 0.3s ease-out;
  -o-transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  display: inline-block;
  vertical-align: middle;
  width: auto !important;
  margin: 30px auto;
  max-width: 97%;
}
.banner-inner-area1 {
    padding: 65px 0 0px;
    position: relative;
    overflow: hidden;
}
    footer.footer {
        position: relative;
        background: #F7F6F9;
    }

    .pb-150 {
        padding-bottom: 80px;
    }

    .pt-110 {
        padding-top: 80px;
    }

    h1,
    .h1 {
        font-size: 32px;
        line-height: 50px;
    }


    .download-app-inner h2.h1 {
        font-size: 24px;
        line-height: 40px;
        margin-bottom: 18px;
    }

    .download-app-inner .btn {
        border-color: #1e50b5;
        color: #fff;
        background: #1e50b5;
        margin-bottom: 4px;
        font-size: 14px;
        font-weight: 600;
        padding: 11px 33px;
    }

    .logo img {
        max-width: 100px;
    }
}


/* 3. Medium devices (less than  768px) */
@media (max-width: 767.98px) {
    
    .logo img {
        max-width: 100px;
    }
    .btn {
        padding: 12px 25px;
    }

    .center .single-feature-inner {
        margin: 0px;
    }

    .menu-button {
        justify-content: flex-end;
    }

    .section-title {
        margin: -8px 0px 78px;
    }

    .banner-text-inner {
        padding-bottom: 80px;
    }
    .download-app-inner {
        padding: 0 0px;
    }

    footer.footer {
        position: relative;
        background: #F7F6F9;
        padding-top: 35px;
    }
     h2,
    .h2 {
        font-size: 22px !important;
        line-height: 36px !important;
    }
    h4,.h4{
        font-size: 18px;
    }
    body,
    p {
        font-size: 14px;
    }
}

/* 4. Small devices (less than  576px) */
@media (max-width: 575.98px) {

    .banner-inner-area {
        padding: 50px 0 96px;
    }

    footer.footer {
        position: relative;
        background: #F7F6F9;
        padding-top: 35px;
    }
    .footer-top {
        padding: 0;
    }

.widget-body .extra-link {
    display: block;
    justify-content: space-between;
}
    .widget-body .extra-link .link-left {
        float: none;
        width:100%;
        display: inline-block;
    }

    .widget-body .extra-link .link-right {
        float: none;
        width: 100%;
        display: inline-block;
    }

    .download-app-inner h2.h1 {
        font-size: 30px;
        line-height: 44px;
        margin-bottom: 18px;
    }

    

    .menu-button {
        justify-content: flex-end;
    }

  

}

@media (max-width: 767.98px) {
.urgent-call {
    display: flow-root;
    position: absolute;
    right: 60px;
    /*display: none;*/
    top: -10px;

    }

}
/* 5. Extra Small devices (less than  480px) */
@media (max-width: 479.98px) {
  

    .banner-text-inner .btn {
        margin-right: 50px;
    }

}

@media (max-width: 379.98px) {
       .banner-inner-area {
        padding: 50px 0 96px;
    }


    .header-menu>ul {
        top: 48px !important;
    }

    
}

@media only screen and (max-width: 767px){
.gallery-section .tab-content ul li {
    width: 48% !important;
    border: none !important;
}
}