@media (max-width: 1199.98px) {
    .logo-carousel .cart-company__img {
        margin-left: auto;
        margin-right: auto;
    }
    .about-packets__item .ui-label {
        padding-top: 18px;
    }
    .packet-slick {
        padding-left: 50px;
    }
    .ui-label {
        line-height: 1;
    }
    .company-sidebar_left {
        display: flex;
        -webkit-flex-wrap: wrap;
            -ms-flex-wrap: wrap;
                flex-wrap: wrap;
    }
    .company-sidebar_left .company-sidebar__logo {
        width: 100%;
    }
    .company-sidebar_left .company-sidebar__item {
        padding-right: 20px;
        flex: 0 0 50%;
        margin-bottom: 20px;
    }
    .about-packets__item {
        overflow: hidden;
    }
    .one_packet_table th, 
    .one_packet_table td {
        line-break: auto;
        padding: 0.5rem;
    }
    .one_packet_table thead th {
        vertical-align: middle;
    }
    .fixed-navbar a {
        font-size: .75rem;
    }

    .search-container {
        position: static !important;
        transform: none;
    }
    .sidemenu__item .ic {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }
    .sidemenu {
        padding: 0;
        width: auto;
    }
    #sidebar {
        display: block;
        padding-right: 6px;
    }
    .header:before {
        height: 230px;
    }
    .header-top-group {
        display: flex;
        align-items: center;
    }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .about-packets__item .ui-label {
        right: 24px;
    }
    .company_modal > form {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .footer-contacts {
        margin-top: 20px;
    }
    .footer-contacts .footer__title {
        min-height: 0;
    }
    .footer-contacts__group {
        display: flex;
        align-items: baseline;
        width: 100%;
    }
    .footer-contacts__item {
        white-space: nowrap;
        margin-right: 45px;
    }
}

@media (max-width: 991.98px) {
    .fixed-navbar .main-fixed-navbar .dropdown-menu {
        margin-bottom: 20px;
    }
    .fixed-navbar .dropdown-menu {
        margin-top: 0;
        border: none;
        border-bottom: 1px solid #009de4;
        border-radius: 0;
    }
    .fixed-navbar .nav-item .dropdown-menu.show {
        padding-top: 0;
    }
    .fixed-navbar .dropdown-toggle .dropdown-menu a {
        color: var(--dark-blue);
        font-size: 14px;
        padding-left: 10px;
    }
    #sidebar {
        height: 290px;
    }
    .sidemenu-level1 > .sidemenu__item .sidemenu__item-link {
        font-size: 1.125rem;
    }
    .sidemenu-level2 > .sidemenu__item .sidemenu__item-link {
        font-size: 1rem;
    }
    .sidemenu-level1 > .sidemenu__item > .sidemenu__item-link:after {
        top: calc(50% - 7px);
    }
    .packet-slick {
        margin-right: -10px;
    }
    .packet-slick .slick-arrow-prev {
        left: -8px;
    }
    .company_modal > form {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .header__cabinet {
        margin-right: 1rem;
    }
    .header__login {
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .header .navbar-collapse {
        margin-top: 16px;
        border-top: 2px solid #f1f1eb;
    }
    .header__cabinet .dropdown-item {
        font-size: 14px;
        padding-top: 8px;
    }
    .company-nav a.active::after {
        border-bottom-color: #D3E5FF;
    }
    .product-desrip {
        margin-top: 1rem;
        height: auto;
    }

    .video_container .slick-arrow {
        top: 184px;
    }
    .search-form__region {
        -webkit-order: 2;
        -ms-order: 2;
        order: 2;
    }
    .search-form input[type=search] {
        max-width: 390px;
        flex: 0 0 390px;
    }
    .main-fixed-navbar .dropdown-toggle::after {
        display: none;
    }
    .header {
        background-color: var(--dark-blue);
    }
    .header .navbar {
        background-color: #FFF;
    }
    .search-container {
        background-color: var(--dark-blue);
    }
    .header:before {
        content: none;
    }
    .search-container {
        padding-top: 0;
        padding-bottom: 0;
    }
    .about-packets {
        padding-bottom: 70px;
    }
    .about-service__img {
        display: none;
    }
	
    .fixed-menu-name {
        font-size: 16px;
    }
    .navbar-leight-yellow .navbar-nav .nav-link {
        font-size: 14px;
    }
    .footer__title {
        min-height: auto;
    }
    .footer-section {
        margin-bottom: 24px;
    }
    .footer__copyright {
        padding-top: 0;
    }
}

@media (max-width: 991.98px) and (min-width: 768px) {
    .about-packets__item .ui-label {
        right: 54px;
    }
    .company-sidebar__list_sm .company-sidebar__item {
        display: block;
    }
    .navbar-brand {
        padding-bottom: 0;
    }
}

@media (max-width: 767.98px) {
    .data.d-flex {
        flex-wrap: wrap;
    }
    .data .form-control {
        margin-bottom: 0;
    }
    .data .invalid-feedback {
        position: relative;
    }
    .edit-btn {
        margin-bottom: 0;
    }
    .workhours .day {
        text-align: left;
    }
    .b-form-profile input.form-control_left {
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
        border-bottom: none;
        border-right:  1px solid #ced4da;
    }
    .b-form-profile .form-control_right {
        border-bottom-left-radius: .2rem;
    }
    .nav-language {
        width: 100%;
        margin-bottom: 12px;
    }
    .cab-edit-section .newlabel {
        display: flex;
        flex-wrap: wrap;
        line-height: 1;
    }
    .table-goods__descrip {
        max-width: 100%;
    }
    .about-packets__item .ui-label {
        right: 10px;
    }
    .packet-slick {
        margin-right: 0;
        padding-left: 30px;
    }
    .packet-slick .slick-arrow-prev {
        left: 0;
    }
    .header-language-btn {
        padding-left: 15px;
        padding-right: 15px;
    }
    .b-packets__price {
        -webkit-justify-content: center;
                justify-content: center;
    }
    .company-sidebar_left {
        display: block;
    }
    #main {
        overflow: hidden;
    }
    .cart-company-lg__label {
        right: -19px;
    }
    .header-top-group {
        width: 100%;
        border-top: 1px solid #f1f1eb;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        padding-top: 10px;
    }
    .header__cabinet .dropdown-menu {
        left: 0;
        right: auto;
        width: 250px;
    }
    .navbar-brand {
        width: 80px;
    }
    .fixed-menu-name {
        width: calc(100% - 90px);
        margin-bottom: 10px;
    }
    .search-form input[type=search] {
        max-width: calc(100% - 50px);
        flex: 0 0 auto;
    }
    .product-desrip {
        margin-top: 2rem;
    }
    .product-info {
        padding-top: 2rem;
    }
    .video_container .slick-dots {
        display: none !important;
    }
    .video-caption {
        padding-left: 50px;
        padding-right: 50px;
    }
    .photo_slider img {
        height: 300px;
        width: 100%;
    }
    .pagination {
        display: block;
    }
    .search-form__region {
        display: none;
    }
    .services__table tr {
        display: block;
        margin-bottom: 8px;
    }
    .services__table td {
        display: block;
    }
    .company-sidebar_left .company-sidebar__item {
        width: 100%;
                flex: 0 0 100%;
    }
    .cart-company-full .cart-company-lg__label {
        top: 0;
        position: relative;
        margin-left: auto;
    }
    .cart-company-lg__inner {
        padding-right: 0;
    }
    .cart-company-lg__title {
        margin-top: 16px;
    }
    .one_packet_table thead,
    .one_packet_table .price-titul {
        display: none;
    }
    .one_packet_table td {
        display: block;
    }
    .one_packet_table td:nth-child(1) {
        background-color: var(--gray);
        color: #FFF;
    }
    .b-packets {
        display: block;
        margin-top: 10px;
    }
    .b-packets__second {
        margin-left: 0;
        margin-bottom: 20px;
        margin-right: 0;
        max-width: 100%;
    }
    .b-packets__pay {
        width: 100%;
    }
    .b-packets .ui-label {
        right: -40px;
        top: -50px;
    }
    .ui-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .ui-list-mark-lg li {
        font-size: 18px;
    }
    .cart-company__inner {
        height: auto;
    }
    .cart-company {
        height: auto;
    }
    .cart-company__inner:after {
        content: none;
    }
    .main-fixed-navbar {
        padding-top: 20px;
    }
    .navbar .container {
        -webkit-flex-wrap: wrap;
            -ms-flex-wrap: wrap;
                flex-wrap: wrap;
    }
    .navbar-brand {
        display: block;
    }
    .footer {
        padding-top: 30px;
    }
    .footer-section {
        margin-bottom: 10px;
    }
    .auto_grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .fixed-navbar .nav-item::after {
        display: none;
    }

    .company-nav a {
        font-size: 0.7rem !important;
        font-weight: 600;

    }

    .video_container .slick-arrow-prev,
    .photo_slider .slick-arrow-prev {
        left: .25rem;
    }

    .video_container .slick-arrow-next,
    .photo_slider .slick-arrow-next {
        right: .25rem;
    }

    .photo_slider .slick-dots {
        flex-wrap: wrap;
        padding: 0 .25rem;
    }

    .photo_slider .slick-dots li {
        flex: 0 0 25%;
        height: 100px;
    }

    .photo_slider .slick-dots li:nth-child(8) div::before {
        font-size: .65rem;
    }

    .video_container .slick-arrow,
    .photo_slider .slick-arrow {
        top: auto;
        margin-top: 0;
        bottom: -28px;
    }

    .fixed-navbar .dropdown-item {
        white-space: pre-wrap;
    }

    .company-nav > ul {
        background: #fff;
    }

    .company-nav a::before {
        left: 50%;
        transform: translateX(-50%);
        display: none;
    }

    .company-nav a.active::before {
        display: block;
    }

    .search-container {
        max-width: 100% !important;
    }

    .new-companies img {
        max-height: 100px;
    }
}

@media (max-width: 767.98px) and (min-width: 577px) {
    .packet-slick .slick-arrow-next {
        right: -20px;
    }
}

@media (max-width: 576px) {
    .data .invalid-feedback {
        padding-left: 0;
        padding-right: 0;
    }
    .about-packets__item .ui-label {
        right: auto;
    }
    .h3, h3 {
        font-size: 1.25rem;
    }

    .text-10 {
        font-size: .75rem;
    }

    .text-21 {
        font-size: 1.1rem;
    }

    .text-24 {
        font-size: 1.125rem;
    }

    .mega-menu {
        height: 100vh;
    }

    .mega-menu.active {
        top: 0;
    }

    .mega-menu,
    .mega-menu > .container {
        max-height: 100vh !important;
    }

    .mega-menu > .container {
        margin-right: 0;
        margin-left: 0;
        max-width: 100%;
        height: 100%;
    }

    .company-info li.telephone-handset::before,
    .company-info a.telephone-handset::before {
        left: -10%;
    }

    #companyCarousel .company-info a.telephone-handset::before {
        left: 0;
    }

    .company-info li.telephone-handset::before {
        left: 0;
    }

    .auto_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .company_list li::before {
        display: none;
    }

    .blockquate {
        font-size: .75rem;
    }

    .company_list .border-right {
        border: 0 !important;
    }

    .fixed-menu-name {
        font-size: .875rem
    }

    .fixed-navbar .arrow-wrapper i {
        transition: all .25s;
    }

    .fixed-navbar .arrow-wrapper.active i {
        transform: rotate(180deg);
    }

    .fixed-navbar a {
        font-size: .875rem;
    }

    .breadcrumb-item, .breadcrumb-item a {
        font-size: 14px;
        margin-bottom: 2px;
    }

    .fixed-navbar .main-fixed-navbar li {
    width: 100%;
    padding-right: 10px;
    }

    .fixed-navbar .main-fixed-navbar li > .arrow-wrapper {
    }

    .video_container .slick-arrow-prev,
    .photo_slider .slick-arrow-prev {
        left: -0.5rem;
    }

    .video_container .slick-arrow-next,
    .photo_slider .slick-arrow-next {
        right: -0.5rem;
    }

    .products_and_services_block td {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        width: 100%;
        padding-left: 0 !important;
    }

    .photo_slider .slick-dots {
        padding: 0;
    }

    .photo_slider .slick-arrow-prev {
        left: -1rem;
    }

    .photo_slider .slick-arrow-next {
        right: -1rem;
    }

    .cmp-list::before {
        left: 0 !important;
    }

    .firms_name {
        font-size: 1rem
    }

    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        justify-content: center;
    }

    .table.table-striped thead {
        display: none;
    }

    .table.table-striped tr {
        display: flex;
        flex-direction: column;
    }

    .table.table-striped td {
        font-size: 16px;
        text-align: left !important;
    }

    .table.table-striped td::before {
        content: attr(data-table-head);
        display: block;
        font-weight: 700;
        padding: 8px 0;
        border-bottom: 1px solid #000;
        margin-bottom: 8px;
    }

    #profile_cabinet,
    .b-form {
        padding-left: 0;
        padding-right: 0;
    }

    .ajax-respond {
        display: flex;
        justify-content: center;
        padding-top: 16px;
    }

    .wrapp_video_iframe iframe {
        max-height: 400px;
    }
}