@media (max-width: 1280px) {
    .clear-res {
        padding: 0;
    }
}

@media (max-width: 1200px) {
    .services {
        width: 1170px;
    }
}

@media (min-width: 1024px) {
    .banner-inner {
        margin-top: 44%;
    }

    .referent img {
        width: 70%;
        padding-bottom: 60px;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .services {
        width: 970px;
        padding-right: 15px;
        padding-left: 15px;
    }
}

@media screen and (max-width: 991px) {
    .services {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .clearfix {
        padding: 30px;
    }

    .clear-res {
        padding: 30px;
    }

    #logo,
    .logo-l {
        width: 60px !important;
        height: 60px !important;
        margin-top: 16px;
    }

    #hamburger-icon {
        display: block;
    }

    nav ul {
        display: none;
    }

    nav ul.active {
        display: block;
        position: absolute;
        background: #ffffff;
        width: 100%;
        right: 0;
        top: 100px;
        z-index: 1000;
        box-shadow: 0 0px 20px 0 rgba(0, 0, 0, 0.1);
    }

    nav li {
        text-align: left;
        width: 100%;
        border-bottom: 0.5px solid #dbd8d8;
    }

    nav ul li {
        padding: 26px 26px;
    }

    .color-white li {
        color: #6a8347;
    }

    .dropbtn {
        color: #6a8347 !important;
    }

    .dropdown-content {
        width: 100%;
        margin-top: 27px;
        margin-left: -26px;
        background-color: #ffffff;
    }

    .dropdown-content > a {
        text-align: left;
    }

    .dropdown-content a {
        width: 100%;
        border-bottom: 0.5px solid #dbd8d8;
        padding: 26px 26px;
        margin-left: 2px;
    }

    /*---banner---*/

    .banner {
        width: 100%;
        height: auto;
        background-image: url(../img/banner2.jpg);
        background-size: cover;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        background-position: right;
        background-repeat: no-repeat;
        background-attachment: initial;
        z-index: 0;
        margin-top: 0;
    }

    .banner-text {
        width: 100%;
        float: none;
        padding: ;
        margin: 0 auto;
    }

    .banner-inner h1 {
        text-align: center;
        color: #ffffff;
    }

    .banner-inner p {
        text-align: center;
        color: #ffffff;
    }

    .banner-inner {
        margin-top: 0;
        padding: 20% 0% 20% 0%;
        width: 100%;
        text-align: center;
    }

    /*---testimonials---*/

    .testimonials {
        width: 100%;
        height: auto;
        background-image: url(../img/notes2.jpg);
        background-size: cover;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        background-position: right;
        background-repeat: no-repeat;
        background-attachment: initial;
    }

    .carousel {
        width: 100%;
        height: auto;
        float: none;
        margin-top: 0;
        padding: 20% 0% 20% 0%;
    }

    .carousel-inner {
        width: 100%;
        height: auto;
        overflow: hidden;
        float: right;
        display: table;
        padding: 20px 0px 50px 0px;
        margin: 0 auto;
    }

    .carousel h1 {
        padding-bottom: 20px;
        color: #ffffff;
    }

    .carousel p {
        letter-spacing: 0;
        font-style: italic;
        display: table-cell;
        vertical-align: middle;
        text-align: center;
        color: #ffffff;
    }

    .quote img {
        height: 40px;
        width: 40px;
        margin: 0 auto;
    }

    .dot {
        height: 12px;
        width: 12px;
        border-radius: 50%;
        margin: 0px 4px;
        background-color: #ffffff;
        display: inline-block;
        cursor: pointer;
    }

    .dot2 {
        height: 12px;
        width: 12px;
        border-radius: 50%;
        margin: 0px 4px;
        border: 1.7px solid #ffffff;
        display: inline-block;
        cursor: pointer;
    }

    /*---SERVICES PAGE---*/
    /*---SERVICES PAGE---*/
    /*---SERVICES PAGE---*/
    /*---SERVICES PAGE---*/
    /*---SERVICES PAGE---*/

    .services {
        width: 100%;
        height: auto;
        padding: 40px 15px 0px 15px;
    }

    .second-service {
        width: 100%;
        float: none;
        margin-bottom: 15px;
    }

    .overlay {
        background-color: #282929;
        width: 100%;
        height: auto;
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1;
        color: white;
        opacity: 0.6;
    }

    .overlay:hover {
        opacity: 1;
    }

    .service-text {
        font-size: 24px;
        letter-spacing: 0.4px;
        color: #ffffff;
        opacity: 1;
    }

    /*---CONTACTFORM PAGE---*/
    /*---CONTACTFORM PAGE---*/
    /*---CONTACTFORM PAGE---*/
    /*---CONTACTFORM PAGE---*/
    /*---CONTACTFORM PAGE---*/

    .contact-form-text {
        float: none;
        width: 100%;
    }

    .contact-form-left-part {
        float: none;
        width: 100%;
    }

    .contact-space {
        padding-bottom: 20px;
    }

    .contact-form-left-part2 {
        float: none;
        width: 100%;
    }

    .contact-form-right-part {
        float: none;
        width: 100%;
    }

    .contact-form-left {
        padding-bottom: 20px;
    }

    ul li .check::before,
    ul li .checkb::before {
        width: 13px;
    }

    /*---CONTACT PAGE---*/
    /*---CONTACT PAGE---*/
    /*---CONTACT PAGE---*/
    /*---CONTACT PAGE---*/
    /*---CONTACT PAGE---*/

    .contact-right {
        float: none;
        text-align: left;
        width: 100%;
        padding-top: 0;
    }
    .contact-text input[type="text"],
    .contact-text input[type="email"] {
        margin-bottom: 30px;
    }

    .contact-text p {
        padding: 0;
    }

    .contact-text {
        float: none;
        width: 100%;
        display: inline-block;
    }

    .contact-left-part {
        float: none;
        width: 100%;
        padding-bottom: 50px 0px;
    }

    .contact-right-part {
        float: none;
        width: 100%;
        margin-bottom: 20px;
    }

    #dialog-logo {
        display: none;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
        line-height: 37px;
        letter-spacing: 1.8px;
    }

    .banner-text {
        width: 100%;
    }

    .banner-inner {
        padding: 30% 0% 30% 0%;
    }

    .carousel {
        padding: 30% 0% 30% 0%;
    }

    .referent img {
        width: 50%;
        padding-bottom: 60px;
    }

    .modal-content {
        margin-left: 20px;
        margin-right: 20px;
    }
}
