@media only screen and (min-width: 1400px) and (max-width: 1980px) {
    .slider .carousel-inner .carousel-item {
        height: 600px;
        padding: 160px 0 0 0;
    }

    .slider .carousel-inner .carousel-item:before {
        background-position: 0 90%;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1200px)  {

    .space {
        padding: 45px 0;
    }

    header {
        overflow: hidden;
    }

    header:after {
        display: none;
    }

    header nav ul.main-menu > li:last-of-type a {
        padding: 5px 0;
        background-color: transparent;
        color: #333;
        margin: 0;
    }

    header nav ul.main-menu > li > a:last-of-type i {
        font-size: 22px;
        position: inherit;
        top: inherit;
        left: inherit;
        margin-right: 10px;
    }

    header nav ul.main-menu {
        text-align: center;
    }

    header nav ul.main-menu > li > a {
        font-size: 13px;
        padding: 30px 12px;
    }

    header nav ul.main-menu > li > a:last-of-type i {
        display: none;
    }

    .about img {
        margin: 0 0 20px 0;
    }

    .about .text-top,
    .about .text-bottom {
        padding: 0;
        position: inherit;
        right: inherit;
        bottom: inherit;
        width: inherit;
        height: inherit;
    }

    .question h3 {
        padding: 0;
    }

    .question p {
        padding: 0 20px;
    }

    .about .mission {
        margin-top: 0;
    }

    .blog-article aside {
        padding: 0;
    }

    .carousel-control-next {
        left: 30px;
        top: inherit;
        display: block;
        bottom: 10px;
    }

    .carousel-control-prev {
        left: 0px;
        top: inherit;
        display: block;
        bottom: 10px;
    }
}

@media only screen and (min-width: 767px) and (max-width: 991px)  {

    .space {
        padding: 30px 0;
    }

    .heading {
        font-size: 30px;
        line-height: 36px;
        margin-bottom: 10px;
    }

    header {
        overflow: hidden;
    }

    header:after {
        display: none;
    }

    header .logo {
        display: table;
        margin: 5px auto 0;
    }

    header nav ul.main-menu > li:last-of-type a {
        padding: 5px 0;
        background-color: transparent;
        color: #333;
        margin: 0;
    }

    header nav ul.main-menu > li > a:last-of-type i {
        font-size: 22px;
        position: inherit;
        top: inherit;
        left: inherit;
        margin-right: 10px;
    }

    header nav ul.main-menu {
        text-align: center;
    }

    header nav ul.main-menu > li > a {
        font-size: 13px;
        padding: 30px 12px;
    }

    header nav ul.main-menu > li > a:last-of-type i {
        display: none;
    }

    .about img {
        margin: 0 0 20px 0;
    }

    .about .text-top,
    .about .text-bottom {
        padding: 0;
        position: inherit;
        right: inherit;
        bottom: inherit;
        width: inherit;
        height: inherit;
    }

    .question h3 {
        padding: 0;
    }

    .question p {
        padding: 0 20px;
    }

    .services .service-desc.left h3:before {
        right: 0;
    }

    .services .service-desc.right h3:before {
        left: 0;
    }

    .services .service-item img {
        margin: 0 0 20px 0;
    }

    .newsletter h3 {
        margin: 0;
    }

    .blog-recent ul li figure {
        margin: 0 0 30px 0;
    }

    .blog-article .article-img .article-title {
        font-size: 16px;
        line-height: 20px;
    }

    .blog-article .article-img figure figcaption {
        padding: 10px 20px 10px 0;
    }

    .blog-article .article-img .article-date {
        font-size: 12px;
    }

    .blog-article aside {
        padding: 0;
    }

    .blog-article aside .widget ul li figure figcaption a {
        font-size: 12px;
        line-height: 15px;
    }

    .about .mission {
        margin-top: 0;
    }

    footer .footer-nav li {
        margin: 22px 12px;
    }

    .carousel-control-next {
        left: 30px;
        top: inherit;
        display: block;
        bottom: 10px;
    }

    .carousel-control-prev {
        left: 0px;
        top: inherit;
        display: block;
        bottom: 10px;
    }
}

@media only screen and (min-width: 0px) and (max-width: 767px)  {

    header nav {
        display: none;
    }

    header .megamenu .megamenu-list {
        position: inherit;
        top: inherit;
        left: inherit;
        width: 100%;
        padding: 20px 15px;
        box-shadow: none;
        display: none;
    }

    header .megamenu .megamenu-list.open-mm {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    header .megamenu .megamenu-list .megamenu-item {
        text-align: center;
    }

    header .megamenu .megamenu-list .megamenu-item ul {
        text-align: center;
    }

    header .megamenu .megamenu-list .megamenu-item ul li a:before {
        position: relative;
        left: 0;
        top: 0px;
        margin-right: 6px;
    }

    header .megamenu .megamenu-list .megamenu-item ul li {
        margin: 5px 0;
    }

    header .megamenu .megamenu-list .megamenu-item .block-item {
        padding: 5px 0;
        margin-bottom: 0;
    }

    header .megamenu .megamenu-list .megamenu-item h3 {
        margin: 0 0 0 0;
    }

    header .megamenu .megamenu-list .megamenu-item p {
        display: none;
    }

    header .megamenu .megamenu-list .megamenu-item h4 {
        margin: 10px 0 10px 5px;
    }

    .nav-btn {
        z-index: 10000;
        width: 35px;
        height: 17px;
        cursor: pointer;
        position: relative;
        margin: 30px 0px 0 0;
        display: block;
        float: right;
    }

    .nav-btn span {
        display: block;
        height: 3px;
        background-color: #3e2113;
        position: absolute;
        right: 0;
        top: 0;

        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);

        -webkit-transition: .1s ease-in-out;
        -moz-transition: .1s ease-in-out;
        -o-transition: .1s ease-in-out;
        transition: .1s ease-in-out;

        -webkit-transform-origin: left center;
        -moz-transform-origin: left center;
        -o-transform-origin: left center;
        transform-origin: left center;
    }

    .nav-btn span:nth-child(1) {width:100%;}
    .nav-btn span:nth-child(2) {width:100%; top: 7px;}
    .nav-btn span:nth-child(3) {width:100%; top: 14px;}

    .nav-btn:hover span:nth-child(2) {width: 100%;}
    .nav-btn:hover span:nth-child(3) {width: 100%;}

    .nav-btn.open {transition-duration: .3s;}
    .nav-btn.open span {box-shadow: none; background-color: #97999b; right: -5px;}

    .nav-btn.open span:nth-child(1) {width:100%; transform: rotate(45deg); top: -3px;}
    .nav-btn.open span:nth-child(2) {opacity: 0;}
    .nav-btn.open span:nth-child(3) {width:100%; transform: rotate(-45deg); top: 15px;}

    .mobile-nav {display: none;}
    .mobile-nav h4 {
        text-align: center;
        font-size: 18px;
        line-height: 22px;
        font-weight: bold;
    }

    .mobile-nav img {margin: 10px auto; display: block; max-height: 55px;}
    .mobile-nav.open {display: block; padding: 15px 10px; position: fixed; z-index: 1500; top: 0; bottom: 0; left: 0; right: 0; background: #fff;}
    .mobile-nav.open ul {display: inline-block; width: 100%; margin: 0 0 10px;}
    .mobile-nav.open ul.base li:last-of-type a {
        background: linear-gradient(330deg, #1d92de 35%, #9952e0 75%, #9974dc 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .mobile-nav.open ul li {text-align: center; display: block;}
    .mobile-nav.open ul li.active a,
    .mobile-nav.open ul li a:hover {color: #1d92de;}
    .mobile-nav.open ul li a {display: inline-block; font-size: 14px; color: #484749; padding: 5px 0;}
    .mobile-nav.open ul li a i {margin-right: 7px;}


    .space {
        padding: 30px 0;
    }

    .heading {
        font-size: 30px;
        line-height: 36px;
        margin-bottom: 10px;
    }

    .about .heading {
        margin-top: 0;
    }

    .slider .carousel-inner .carousel-item {
        height: inherit;
        padding: 60px 0 60px 0;
    }

    .slider .carousel-inner .carousel-item:before {
        background-image: none;
        background-color: #fff;
    }

    .slider .slide-text {
        text-align: center;
        padding: 0 30px;
    }

    .slider .slide-text h3 {
        font-size: 24px;
        line-height: 30px;
        margin: 0 0 15px 0;
    }

    .slider .slide-text p {
        font-size: 14px;
        line-height: 22px;
    }

    header {
        overflow: hidden;
    }

    header:after {
        display: none;
    }

    header .logo {
        display: table;
        margin: 0 auto 15px;
    }

    header .phone {
        float: none;
        display: table;
        width: 100%;
        text-align: center;
    }

    header .social {
        float: none;
        display: table;
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    header .social li {
        float: none;
        display: inline-block;
    }

    header .language {
        float: none;
        display: table;
        width: 100%;
        text-align: center;
    }

    header nav ul.main-menu {
        margin: 20px 0;
    }

    header nav ul.main-menu > li {
        display: block;
    }

    header nav ul.main-menu > li > a {
        text-align: center;
        padding: 5px 0px;
    }

    header nav ul.main-menu > li.active a:before {
        top: -8px;
    }

    header nav ul.main-menu > li.active a:after {
        top: -9px;
    }

    header nav ul.main-menu > li:last-of-type a {
        padding: 5px 0;
        background-color: transparent;
        color: #333;
        margin: 0;
    }

    header nav ul.main-menu > li > a:last-of-type i {
        font-size: 22px;
        position: inherit;
        top: inherit;
        left: inherit;
        margin-right: 10px;
    }

    .question h3,
    .question p {
        padding: 0;
    }

    .about img {
        margin: 0 0 20px 0;
    }

    .about .text-top,
    .about .text-bottom {
        padding: 0;
        position: inherit;
        right: inherit;
        bottom: inherit;
        width: inherit;
        height: inherit;
    }

    .services .service-desc.left h3:before {
        right: 0;
    }

    .services .service-desc.right h3:before {
        left: 0;
    }

    .services .service-item img {
        margin: 0 0 20px 0;
    }

    .newsletter h3 {
        margin: 0 0 0 0;
    }

    .newsletter p {
        margin: 0 0 20px 0;
    }

    .blog-recent ul li figure {
        margin: 0 0 30px 0;
    }

    .blog-list ul li {
        margin: auto;
    }

    .blog-article aside .widget ul li figure {
        display: table;
        width: 100%;
    }

    .blog-article .article-img .article-title {
        font-size: 16px;
        line-height: 20px;
    }

    .blog-article .article-img figure figcaption {
        padding: 10px 20px 10px 0;
    }

    .blog-article .article-img .article-date {
        font-size: 12px;
    }

    .blog-article aside {
        padding: 0;
    }

    .text-page aside {
        margin-bottom: 30px;
    }

    .text-page aside .btn {
        padding: 8px 20px;
    }

    .page-intro {
        background-size: cover;
    }

    .about .mission {
        padding: 30px 25px;
    }

    .about .mission p {
        font-size: 18px;
        line-height: 28px;
    }

    .page-intro h1 {
        font-size: 28px;
        line-height: 36px;
        margin: 40px 0 10px 0;
    }

    .page-intro p {
        width: 100%;
    }

    .property-list .property-filter .form-control {
        margin: 0 0 15px 0;
    }

    .property-list ul li {
        margin-bottom: 30px;
    }

    .property figure figcaption {
        padding: 20px 0 0;
        position: inherit;
        left: inherit;
        bottom: inherit;
        width: 100%;
        margin-left: 0;
    }

    .contact-info {
        text-align: left;
    }

    footer {
        padding: 30px 0 15px;
    }

    footer .footer-nav li {
        display: inline-block;
        margin: 5px 14px;
    }

    footer .footer-contacts i {
        display: none;
    }

    footer .footer-contacts a {
        display: block;
        font-size: 16px;
    }

    footer .footer-social li:first-of-type {
        padding-left: 0;
    }
}