/* Tablet desktop :768px. */
@media (min-width: 768px) and (max-width: 991px) {
    .footer-widget.footer-col-2 {
        padding-left: 0;
    }
    .footer-widget.footer-col-3 {
        padding-left: 0px;
    }

    .footer-widget.footer-col-2-2 {
        padding-left: 0;
    }

    .footer-widget.footer-col-2-3 {
        padding-left: 0px;
    }
    .default-footer .copyright-content ul {
        justify-content: center;
    }
    .booking-wrap .contact-form.form-horizontal {
        margin-bottom: 0;
    }
    .footer-col-3-2 {
        margin-bottom: 40px;
    }
    .footer-col-3-3 {
        margin-bottom: 40px;
    }
    .footer-col-3-4 {
        margin-bottom: 40px;
    }
    /* Keep the fixed back-to-top button from covering the last legal link */
    .footer__bottom-wrapper {
        padding-bottom: 70px;
    }
}


/* small mobile :320px. */
@media (max-width: 767px) {
    .error__content p {
        padding: 0;
    }
    .rr-blog-area ul{
        padding-left: 0;
    }
    .postbox__item .post-content-wrap .post-meta li {
        display: block;
        margin-bottom: 10px;
    }
    .footer-widget.footer-col-2 {
        padding-left: 0;
    }
    .footer-widget.footer-col-3 {
        padding-left: 0;
    }

    .footer-widget.footer-col-2-2 {
        padding-left: 0;
    }

    .footer-widget.footer-col-2-3 {
        padding-left: 0px;
    }
    .basic-pagination.mt-60 {
        margin-bottom: 100px;
    }

    .page-header .page-header-content {
        padding: 100px 0 100px 0;
    }
    .default-footer .copyright-content ul {
        justify-content: center;
    }
    .subscribe-wrap .subscribe-content .subscribe-form .rr-primary-btn {
        top: 40% !important;
        transform: translateY(-50%);
    }
    .footer-col-3-2 {
        margin-bottom: 40px;
    }
    .footer-col-3-3 {
        margin-bottom: 40px;
    }
    .footer-col-3-4 {
        margin-bottom: 40px;
    }
    /* Keep the fixed back-to-top button from covering the last legal link */
    .footer__bottom-wrapper {
        padding-bottom: 70px;
    }
}

/* ------------------------------------------------------------------
   Services tabs ("Всё для работы с клиентами — в одном сервисе"):
   on tablet/mobile turn the vertical sidebar nav into a horizontally
   scrollable pill bar instead of a squeezed, wrapping vertical list.
   ------------------------------------------------------------------ */
@media (max-width: 991px) {
    .services-provided__tab {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        padding: 4px 2px 10px;
        margin-bottom: 30px;
    }
    .services-provided__tab::-webkit-scrollbar {
        display: none;
    }
    .services-provided__tab li {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }
    .services-provided__tab li button {
        width: auto;
        white-space: nowrap;
        padding: 6px 16px 6px 6px !important;
        min-height: 44px;
    }
    .services-provided__tab li button span {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
    }
    .services-provided__tab li button span svg {
        max-width: 17px !important;
    }
}