@media only screen and (min-width: 1280px) and (max-width: 1600px) {
.popupform {
    transform: scale(0.8);
}
}

@media only screen and (max-width: 980px) and (min-width: 320px) {
    
    .custom-pop textarea.form-control {
    height: 80px;
}
    
    ul.tel {display: none;}
    .menu li a:before{
        display: none;
    }
    .menu-bottom span:nth-child(2) {
        width: 70%;
    }
    .menu-bottom.click span:nth-child(1) {
        width: 0;
    }
    .menu-bottom.click span:nth-child(2) {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
        position: relative;
        top: 9px;
        width: 100%;
    }
    .menu-bottom.click span:nth-child(3) {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    .menu-bottom span:last-child {
        margin-bottom: 0;
    }
    .menu-bottom {
        width: 40px;
        height: 40px;
        padding: 5px;
        float: right;
        position: absolute;
        z-index: 11111111;
        cursor: pointer;
        -webkit-transition: 0.3s;
        -o-transition: 0.3s;
        transition: 0.3s;
        right: 15px;
        top: 20px;
    }
    .menu-bottom span {
        height: 3px;
        background: #ffffff;
        display: block;
        width: 100%;
        margin-bottom: 6px;
        position: relative;
    }
    .menu-bottom.click span {
        background: white;
    }
    .menu-bottom.click {
        top: -100px;
        position: fixed;
        top: 10px;
    }
    .main-menu{
        margin: 0;
        overflow: auto;
        position: fixed;
        right: -100%;
        width: 100%;
        top: 0;
        -webkit-transition: all .5s ease-in-out;
        -moz-transition: all .5s ease-in-out;
        -o-transition: all .5s ease-in-out;
        transition: all .5s ease-in-out;
        height: 100%;
        z-index: 9999999 !important;
        padding-top: 20px;
    }
    .main-menu ul {
        padding: 0 0;
        width: 100%;
        text-align: center;
    }
    .menu li {
        width: 100%;
    }
    .menu li a, ul li.nav-item.dropdown .nav-link {
        font-size: 16px;
        color: #fff !important;
        font-weight: 500;
        padding: 8px 0 8px 15px;
        text-align: left;
        display: block;
        width: 100%;
        letter-spacing: 0.5px;
        text-align: left;
        margin-bottom: 0;
        text-transform: uppercase;
        display: inline-block;
    }
    .menu-open .main-menu {
        right: 0;
        background: #000000;
        padding-top: 60px;
        margin: 0;}
    .menu-open .menu {
        transition-delay: 0.5s;
        opacity: 1;
    }
    header .menu {
        opacity: 0;
    }
    header {
        padding: 10px 0;
        z-index: 111;
        background: #1f1f21;
    }
    header .logo img {
        max-width: 200px;
    }


    .dropdown-menu a {
        padding-left: 30px !important;
    }



    .img-banner {
        max-width: 100%;
    }

    .our-banner {
        text-align: center;
        height: auto;margin-top: 0;padding-top: 40px;}

    .our-banner .info-banner p {
        font-size: 15px;
        padding-bottom: 8px;
        margin-bottom: 10px;
    }

    .info-banner p::before {
        right: 0;
        margin: auto;
    }

    .info-banner h1 {
        font-size: 32px;
        line-height: 36px;
        margin-bottom: 14px;
    }

    .btn {
        font-size: 14px;
    }

    .our-banner a.btn {
        margin: auto;
    }
    section {
        overflow: hidden;
        padding: 30px 0;
    }

    header .top ul li a {
        /* color: #000; */
        font-size: 14px;
    }

    header .top ul li {
        margin-right: 20px;
    }

    header .top ul {
        text-align: left;
        margin-top: 20px;
        display: none;
    }

    .our-banner h5 {
        font-size: 22px;
    }

    .our-banner h1 {
        font-size: 40px;
        line-height: 50px;
    }

    .our-banner h1 br {
        display: none;
    }

    .our-banner p {
        font-size: 18px;
        margin: 0 0 20px;
    }

    .our-banner p br {
        display: none;
    }

    .our-banner .company ul li {
        font-size: 16px;
        margin-right: 0;
        width: 49%;
        margin-bottom: 30px;
    }

    .our-banner .company {
        margin-top: 20px;
    }

    h2 br {
        display: none;
    }

    h2 {
        font-size: 28px;
        line-height: 40px;
        margin: 0 0 20px;
    }

    .our-benefit h2 {
        margin: 0 0 20px;
    }

    .our-facts {
        text-align: center;
        padding: 30px 0 20px;
    }

    .our-facts ul li {
        margin: 0 0 19px;
        font-size: 28px;
        width: 48%;
    }

    h2 + p br {
        display: none;
    }

    h2 + p {
        font-size: 20px;
    }

    .approval ul li {
        width: 100%;
        margin: 0 0 18px;
    }

    .approval ul li span br {
        display: none;
    }

    .cta:after {
        display: none;
    }

    .cta .container {
        left: 0;
    }

    .testimonial p {
        width: 100%;
        font-size: 16px;
        margin: 0 0 10px;
    }

    .testimonial img {
        max-width: 40px;
        margin: 0 0 10px;
    }

    .testimonial h6 {
        font-size: 16px;
    }

    footer .connect {
        margin: 0;
    }

    footer {
        padding-top: 180px;
        text-align: center;
    }

    footer h2 + p {
        margin: 0 0 20px;
        font-size: 16px;
        color: #d2cccc;
    }

    footer ul li a {
        color: #d2cccc;
    }

    footer .col-md-4, footer .col-md-2 {
        margin-bottom: 20px;
    }

    footer h2:before {
        display: none;
    }

    footer .copy ul {
        float: none;
    }

    footer .copy {
        text-align: center;
        margin-top: 0;
    }

    footer .copy p {
        margin: 0 0 7px;
    }

    footer .connect ul {
        display: block;
        margin-left: 0;
        margin-top: 20px;
    }
    .popupform {
        background: url(../images/thanks-mob.webp) no-repeat top center #7f0900;
        height: auto;
        width: 100%;
        border: 5px solid #fff;
        border-radius: 0px;
    background-size: cover;
    }

    .popupform .offset-5 {
        margin: 0;
    }

    .popup-content p {
        width: 100%;
        margin: 0px 0 20px;
        font-size: 17px;
        line-height: normal;
    }
    .popup-content {
        width: 100%;
        margin-left: 0;
        padding: 30px 20px;
    }
    .menu li a.dropdown-item {
        color: #000 !important;
    }
    .our-benefit {
        text-align: center;
    }

    .ser-benef p {font-size: 16px;width: 100%;}

    .ser-benef a {
        margin-bottom: 15px;
    }
    .service-find figure figcaption {
    width: 100%;
    display: block;
    margin: 0;
}

.service-find figure img {
    position: static;
    margin: 0 0 10px;
    max-width: 40%;
}

.service-find figure {
    height: auto;
    text-align: center;
    padding: 15px;
}

.service-find figure figcaption h4 br {
    display: none;
}

.service-find {
    background-position: bottom;
}
    .our-worry .box h3 {
        font-size: 30px;
    }

    .our-worry .box h3 br {
        display: none;
    }

    .our-worry .box {
        padding: 20px;
    }
    .elig ul {
        position: static;
    }
    .contact-us ul li {width: 100%;padding: 10px 10px;}

    .contact-us ul li img {
        max-width: 17%;
    }

    .contact-us h2 + p {
        font-size: 17px;
        margin: 0 0 12px;
    }
    .popup-content h4 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 20px;
    text-align: center;
}
.popupform button.fancybox-button{
        top: 0;
    right: 0;
}
}