/* Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 767px) {
    .main-section {
        background-size: cover;
    }
    .result-section {
        background-size: cover;
        background-position: right bottom;
    }
    .services-section {
        background-size: cover;
    }
    .footer-section {
        background: url("/img/m-footer.jpg") no-repeat;
        background-size: cover;
        background-position: bottom center;
    }
    .form-control {
        line-height: 1;
        font-size: 14px;
    }
    #callbackModal .modal-body {
        padding: 2rem .5rem 1rem;
    }
    .modal-dialog {
        margin: 15% 15px;
    }
    .modal__title {
        font-size: 20px;
        line-height: 1;
    }
    .h-phone-link {
        font-size: 20px;
    }
    .h-callback-link {
        font-size: 12px;
    }
    .main-section {
        text-align: center;
    }
    .main-section__title {
        font-size: 34px;
        margin: 2rem 0 1rem;
    }
    .main-section__desc {
        line-height: 1.3;
        font-size: 14px;
        margin: 1rem auto;
    }
    .action-block__title {
        font-size: 16px;
        line-height: 1.2;
    }
    .action-block__info {
        font-size: 12px;
    }
    .about__title {
        font-size: 20px;
        margin: 15px 5px;
    }
    .about__text {
        font-size: 18px;
        margin-bottom: 0;
        line-height: 1.2;
    }
    .section__title {
        font-size: 26px;
        margin: 15px 0;
        text-align: center;
    }
    .content__list {
        padding: 0;
        margin: 1rem;
    }
    .content__list li {
        font-size: 12px;
    }
    .action-block {
        padding: 10px 0;
        text-align: center;
    }
    .action-block__info {
        padding: 7px 0;
    }
    .action-block__button {
        margin: 0.5rem 0;
        padding: 10px;
        min-width: 150px;
    }
    .service-item {
        font-size: 13px;
        padding: 5px 0;
        line-height: 1.2;
    }
    .service-item__icon i {
        font-size: 16px;
    }
    .services-list {
        padding: 0;
        margin: 15px auto;
    }
    .question-card {
        padding: 7px 7px 0;
        margin: 0 auto 5px;
    }
    .question-card .action-block {
        padding: 1rem;
    }
    .action-block__text {
        padding: 7px 0;
        font-size: 13px;
    }
    .partners__text {
        line-height: 1.3;
        font-size: 14px;
        padding: 0 7px;
    }
    .partners-list {
        margin: 1rem auto;
    }
    .partners-item__img {
        margin: 7px;
        max-height: 30px;
    }
    .feedback-form-box {
        padding: 15px 30px;
    }
    .feedback__text {
        padding: 0 15px;
        font-size: 14px;
        margin: 0 auto 1rem;
    }
    .feedback-section {
        background-position: center;
    }
    .footer-section {
        text-align: center;
    }
    .f-logo {
        max-height: 75px;
        margin-bottom: 7px;
    }
    .f-row-box {
        padding: 5px 0;
        font-size: 14px;
    }
    .f-map-link {
        padding: 7px 15px;
    }
    .f-info__phone {
        font-size: 20px;
        margin: 5px auto;
    }
    .map-container {
        max-height: 450px;
        overflow: hidden;
    }
    .f-info__email {
        text-transform: lowercase;
        margin-bottom: 7px;
    }
    .btn-overlay-menu img {
        width: 40px;
    }
    .outer-close img {
        width: 30px;
    }
    .outer-close {
        right: 10px;
        top: 20px;
    }
    nav.overlay-menu ul li {
        line-height: 10vh;
    }
    nav.overlay-menu ul li a {
        font-size: 1.2em;
    }
    .mr-logo {
        margin-top: 15px;
    }
    .h-phone-block {
        padding-top: 20px;
    }
    .btn-overlay-menu {
        top: 15px;
    }
    .btn-overlay-menu {
        display: block !important;
    }

}


/* Small devices (landscape phones, 576px and up) */
/*@media (min-width: 576px) and (max-width: 767px) {*/

/*}*/

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    .main-section {
        background-size: cover;
    }
    .result-section {
        background-size: cover;
        background-position: bottom;
    }
    .services-section {
        background-size: cover;
    }
    .section__title {
        font-size: 30px;
        margin: 20px 0;
    }
    .service-item {
        font-size: 18px;
        padding: 15px 0;
        width: 50%;
        float: left;
    }
    .service-item__icon i {
        font-size: 20px;
    }
    .service-item:nth-child(2n+1) {
        clear: both;
    }
    .partners-item__img {
        margin: 7px 15px;
    }
    .footer-section {
        background: url(/img/m-footer.jpg) no-repeat;
        background-position: bottom;
        background-size: cover;
    }




}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

}