/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /*===============================*/
    .b-promo h1 {line-height: 1;}
    .b-promo {
        background-position: 400px 50%;
        background-size: contain;
    }
    .b-promo .col-md-6:first-child {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .b-promo h3 {
        line-height: 1.2;
    }
    #sp-header {
        padding: 10px 0;
    }
    #sp-head1, 
    #sp-head2
    {
        padding-bottom: 15px;
    }
    .b-tels a {
        font-size: 16px;
        line-height: 20px;
    }
    #sp-header .row > div .sp-column {
        justify-content: flex-start;
    }
    #sp-head2 .sp-column {
        justify-content: flex-start !important;
    }
    #sp-head4 .sp-column {
        justify-content: center !important;
    }
    #sp-head6 .sp-column {
        justify-content: flex-end !important;
    }
    .b-popslink {
        white-space: inherit;
        flex-wrap: wrap;
        padding-left: 0px;
    }
    .b-popslink .popslink__item:first-child {
        margin: 2px 0;
        width: 100%;
    }
    .b-popslink .popslink__item {
        margin-right: 2px;
    }
    .b-popslink .popslink__item2:after {
        margin-left: 5px;
    }
    .mod-custom .row > .col-md-3 {
        width: calc(100% / 2);
    }
    .ba-form-2 .ba-page-items > .ba-form-row:nth-child(2) {
        padding: 0;
    }
    .ba-form-2 .ba-form-page .ba-form-submit-btn {
        margin: 0;
    }
    .ba-form-2 .ba-form-field-item .ba-field-label-wrapper p {
        font-size: 16px;
        line-height: 18px;
    }
    #sp-menu .sp-megamenu-parent {
        display: none !important;
    }
    #offcanvas-toggler {
        float: none;
        margin: 0 !important;
        height: 42px;
    }
    #offcanvas-toggler:before {
        content: 'Меню';
        font-size: 14px;
        color: #fff;
        font-weight: 700;
        margin-right: 10px;
    }
    #offcanvas-toggler .burger-icon>span {
        background-color: #fff;
    }
    .offcanvas-menu .logo-image {
        max-width: 150px;
    }
    .offcanvas-menu .b-messengers {
        margin-bottom: 20px;
    }
    .b-delivery-row {
        padding: 30px 0;
    }
    h1 {
        font-size: 24px;
        line-height: 30px;
    }
    h1 br {display: none;}
    .b-delivery {
        width: 100%;
        padding: 12px 20px;
        font-size: 13px;
    }
    #sp-menu,
    .b-sticky-burger {
        position: fixed; z-index: 999;
        right: 40px; top: 10px; left: auto;
        height: 42px;
    }
    .bg {
        padding: 30px 40px;
        margin: 0 -40px;
    }
    h2.sp-module-title, 
    h3.sp-module-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .b-tis--dark {
        height: 250px;
        margin-bottom: 20px;
    }
    .b-slide--base .slick-prev, .b-slide-license .slick-prev {
        left: -15px;
    }
    .b-slide--base .slick-next, .b-slide-license .slick-next {
        right: -15px;
    }
    .b-slide--base .slide-license__pic img,
    .b-slide-license .slide-license__pic img {
        width: 100%;
    }
    .b-slide--base .b-numbox {
        margin-bottom: 0;
    }
    .ba-form-4 .ba-page-items > .ba-form-row:nth-child(2) {
        padding: 0;
    }
    .ba-form-4 .ba-form-page .ba-form-submit-btn {
        margin: 0;
    }
    .ba-form-page {
        margin: 0 !important;
    }
    .ba-form-headline-field .ba-field-label-wrapper * {
        font-size: 24px !important;
        line-height: 30px !important;
        padding: 0px;
    }
    .ba-form-submit-btn {
        padding: 20px 10px !important;
    }
    .bg-faker .b-edgepic {
        margin-bottom: 30px;
    }
    .bg-faker center>p {
        margin-bottom: 20px;
    }
    .bg-faker .row>div {
        width: 100%;
    }
    .b-edgepic .edgepic__head {
        overflow: hidden;
    }
    .b-edgepic .edgepic__bg img {
        width: 100%;
    }
    .b-map {
        margin: 0;
    }
    #sp-footer #sp-footer2 {
        text-align: right;
    }
    #sp-footer .row > * {
        width: 50%;
    }
    .b-page-title {
        padding: 20px 15px;
        margin: 0 -15px !important;
    }
    .b-page-title .page-title__h h1 {
        font-size: 24px;
    }
    .b-page-title .b-btn--light {
        padding: 12px 18px;
    }
    .ba-forms-lightbox-row {
        margin-bottom: -66px;
        position: relative;
        z-index: 1;
    }
    .itemid-264 #sp-main-body {
        padding: 30px 0;
    }
    .wrap {
        padding: 30px 0;
    }
    .b-reviewbox {
        padding: 10px;
    }
    .b-review-row > div {
        margin-bottom: 20px;
    }
    .b-review-row > div:nth-last-child(-n+3) {
        margin-bottom: 20px;
    }
    .b-btn {
        padding: 12px 18px;
        text-align: center;
    }
    .b-thankyou-page .col-md-6:first-child {
        padding-top: 30px;
    }
    .bg-contacts .row .col-md-6:first-child {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .b-video {
        margin-bottom: 20px;
    }
    .b-video a:after {
        top: 0; bottom: 0; right: 0; left: 0;
    }
    .article-details img {
        margin: 10px 0;
    }
    .article-details h2, 
    .article-details h3 {
        font-size: 24px;
        line-height: 30px;
    }
    .bg-licensetext .bg-texty {
        margin-top: 30px;
        margin-bottom: -30px;
    }
    .mb-50 {
        margin-bottom: 20px;
    }
    .b-advantages {
        padding: 25px 25px 140px 25px;
        height: 250px;
        margin-bottom: 15px;
    }
    .b-advantages .advantages__pic {
        top: auto;
        left: 0;
        right: 0;
    }
    .bg-newsbox .newsflash-title a {
        padding: 15px;
    }
    .bg-newsbox .mod-articlesnews .mod-articlesnews__item {
        width: calc(100% / 2 - 20px);
        margin: 0 10px 15px;
    }
    .accordion .row > div {
        width: calc(100% / 2) !important;
        margin-bottom: 15px;
    }
    .b-numbox--delivery .numbox__title {
        font-size: 18px;
        flex-direction: column;
    }
    .b-numbox--delivery .numbox__title a {
        margin-bottom: 5px;
    }
    .b-btn--discount {
        top: -20px;
        font-size: 16px;
        line-height: 16px;
    }
    .b-goods {
        margin: 10px 0;
        min-height: 390px;
    }
    .b-tsbox {
        margin: 10px 0;
    }
    .b-table {
        overflow-x: auto;
        scroll-behavior: smooth;
    }
    .b-table .table__head {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }
    .b-table .table__row {
        border-bottom: 3px solid #ddd;
        margin-bottom: .625em;
    }
    .b-table .table__item {
        border-bottom: 1px solid #ddd;
        display: block;
        text-align: center;
        width: calc(100% / 4);
        height: 160px;
        padding: 15px;
    }
    .b-table .table__item:before {
        content: attr(data-label);
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        white-space: nowrap;
    }
    .b-table .table__item:last-child {
        border-bottom: 0;
        height: auto;
    }
    .b-table .table__btn {
        text-align: center
    }
    .b-table .table__pic img {
        margin: 10px auto;
    }
    .b-howitwork .howitwork__item {
        padding: 60px 0 0;
        margin-bottom: 0px;
    }
    .b-howitwork .howitwork__item:after {
        display: none;
    }
    .b-thankyou-page {
        align-items: flex-end;
    }
    .b-thankyou-page .thankyou-page__bg {
        margin: 0 auto;
    }
    .b-mainslider .mainslider__pic img {
        width: auto;
        height: 285px;
        object-fit: cover;
    }
    .b-numbox--type .numbox__title {
        font-size: 18px;
        line-height: 24px;
    }
    .b-tels a {font-size: 15px; line-height: 18px;}

    h2 {font-size: 30px;}
    h2.text-center {text-align: left !important;}
    .wrap {padding: 30px 15px;}
    .b-catbox .catbox__btn {text-align: left; }
    .b-catbox .catbox__title {font-size: 20px;}
    #sp-header #sp-head6 .b-btn {text-transform: uppercase;font-size: 10px;}
    #sp-menu, .b-sticky-burger {border-radius: 10px; overflow: hidden;}
    /*===============================*/
}

/* END */
@media (max-width: 991.98px) {
    /*===============================*/
    /*===============================*/
}

/* END */