:root {
    --bac-color: #009900;
    --font-size-title: calc(17px + (22 - 17) * (100vw - 320px) / (1600 - 320));
    --font-weight-title-block: bold;
    --padding-title-block: 15px calc(5px + (10 - 5) * (100vw - 320px) / (1600 - 320)) calc(10px + (15 - 10) * (100vw - 320px) / (1600 - 320));
    --default-color-text: #32325d;
    --arrow-size: 60px;
    --right-angle-size: 25px;
    --star-visibility: orange;
    --star-none: #ababab;
    --width-preloader-line: 100%;
}
img {
    opacity: 1;
    transition: opacity 0.3s;
}
.slick-track{
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.category_item > picture > img[data-src] {
    opacity: 0;
}

/*appearance none*/
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}
input[type="number"]:hover,
input[type="number"]:focus {
    -moz-appearance: number-input;
}
/*/appearance none*/
/*  scrollbar for Firefox */
body {
    scrollbar-width: 7px;
    scrollbar-color: var(--bac-color) #c3c3c3;
}

/* for Chrome/Edge/Safari */
body::-webkit-scrollbar {
    width: 7px;
}

body::-webkit-scrollbar-track {
    background: #c3c3c3;
}

body::-webkit-scrollbar-thumb {
    background-color: var(--bac-color);
    border-radius: 5px;
}

/*scrollbar for categories body*/
/*  scrollbar for Firefox */
/*@media (max-width: 1200px) and (pointer: fine) and (hover:hover) {*/

/*    .categories_body {*/
/*        scrollbar-height: 7px;*/
/*        scrollbar-color: var(--bac-color) #c3c3c3;*/
/*    }*/

/*    !* for Chrome/Edge/Safari *!*/
/*    .categories_body::-webkit-scrollbar {*/
/*        height: 7px;*/
/*    }*/

/*    .categories_body::-webkit-scrollbar-track {*/
/*        background: #c3c3c3;*/
/*    }*/

/*    .categories_body::-webkit-scrollbar-thumb {*/
/*        background-color: var(--bac-color);*/
/*        border-radius: 5px;*/
/*    }*/
/*}*/

.overflow-y-none {
    overflow-y: hidden !important;
}

button,
button:focus-visible,
button:focus,
button:active,
button:target,
button:visited, button:focus-within,
a,
a:focus,
a:focus-visible,
a:focus-within,
a:target,
a:visited{
    outline: none;
    outline: 0 !important;
    outline-color: transparent !important;
    outline-width: 0 !important;
    outline-style: none !important;
}
a.navbar-brand,
a.navbar-brand:focus,
a.navbar-brand:focus-visible,
a.navbar-brand:focus-within,
a.navbar-brand:target,
a.navbar-brand:visited,
button.active.focus,
button.active:focus,
button.focus,
button:active.focus,
button:active:focus,
button:focus,
.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus {
    outline: 0 !important;
    outline-color: transparent !important;
    outline-width: 0 !important;
    outline-style: none !important;
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0) !important;
}
.productImage{
    height: 100%;
    object-fit: cover;

}
@media (max-width: 1200px) {
    .max-width-lg-100 {
        max-width: 100% !important;
    }
}

@media (max-width: 991px) {
    .max-width-md-100 {
        max-width: 100% !important;
    }
}

@media (min-width: 1200px) {
    .d-lx-none {
        display: none !important;
    }
    .ml-lx-auto{
        margin-left: auto !important;
    }
    .align-items-lx-center{
        align-items: center !important;
    }
}

.display-5 {
    font-size: 1rem !important;
}

section.section.pt-lg-0#restaurant-content {
    flex: 1 1 auto;
}


/*navbar*/

.wrapper_search > .search_input:focus,
.wrapper_search > .search_input:focus-within,
.wrapper_search > .search_input:focus-visible,
.wrapper_search > .search_input:hover {
    outline: none;
}

.wrapper_search {
    outline: none;
    position: absolute;
    right: 0;
    background-color: white;
    align-items: center;
    justify-content: flex-end;
    z-index: 1100;
}

.wrapper_search > .search_input {
    border: 1px solid var(--bac-color);
    border-radius: 8px;
}

@media (max-width: 991px) {
    .wrapper_search {
        width: 100% !important;
    }
}

/*Header*/
.navbar-toggler-icon{
    height: calc(1em + (1.5 - 1) * (100vw - 320px) / (991 - 320));
    width: calc(1em + (1.5 - 1) * (100vw - 320px) / (991 - 320));
}

@media (min-width: 991px){
    .navbar-toggler-icon{
        height: 1.5em;
        width: 1.5em;
    }
}

.web-menu {
    margin-right: .5rem;
}

#btnLocationMob:after{
    content: "";
    width:100%;
    height: 2px;
    display: block;
    background-color:var(--bac-color);
}

#btn_url_notification[data-counter]:after {
    content: attr(data-counter);
    display: flex;
    width: fit-content;
    min-width: 1.5rem;
    height: 1.6rem;
    background-color: #ff2626;
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: .8rem;
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
}

#join_us_menu {
    display: none;
    position: absolute;
    right: 25px;
    top: 60px;
    padding: 15px 0;
    background-color: white;
}

.join_us_items {
    display: none;
    flex-direction: column;
}

.join_us_items.active_join {
    display: block;
}

.join_us_items > a {
    display: block;
    padding: 10px 20px;
    transition: .3s ease;
}

.join_us_items > a:hover {
    color: #019901;
    background-color: rgba(0, 0, 0, 0.13);
}

.menu_wrapper {
    visibility: hidden;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.36);
}

.menu_wrapper.active_menu_wrapper {
    visibility: visible;
}

.menu_wrapper.active_menu_wrapper > .menu_body {
    animation: transition .3s ease;
}

@keyframes transition {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0)
    }
}

.menu_body {
    width: 50%;
    max-height: 70%;
    min-height: 25%;
    position: fixed;
    background-color: white;
    margin: auto;
    bottom: 0;
    right: calc(50vw - 50vw / 2);
    border-radius: 30px;
}

.menu_items {
    display: flex;
    height: 100%;
    flex-direction: row;
    justify-content: center;
    margin: 15px 0 0 0;
    flex-wrap: wrap;
}

.menu_item {
    display: flex;
    margin: 5px 15px 0;
    flex-direction: column;
    align-items: center;
}

.menu_item > i {
    font-size: calc(45px + (70 - 45) * (100vw - 320px) / (1600 - 320));
}

.btn-inner--icon, .nav-link-inner--text {
    pointer-events: none;
}

/*/header*/
.main-content-blocks {
    width: 100%;
}

html, body {
    height: 100%;
}

.container-main, .wrapper {
    min-width: 0 !important;
}

.container-main {
    overflow: hidden;
}

section.content_main {
    flex: 1 1 auto;
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.main_content {
    flex: 1 1 auto;
    margin-bottom: 40px;
}

#navbar-main {
    position: relative;
}

/*slick slider for desktops*/
.wrapper_slider {
    background-color: #191f2a;
    height: 300px;
    display: flex;
    align-items: center;
}

.container {
    position: relative;
}

.title_block, .title_categories, .title-block-all-restaurants {
    color: #019901;
}

.block-campaigns .block-item {
    max-width: 215px;
    margin: 0 5px;
}

.slick-arrow {
    position: absolute;
    top: calc(50% - var(--arrow-size) / 2);
    z-index: 5;
    transition: .3s ease;
    font-size: 0;
    width: var(--arrow-size);
    height: var(--arrow-size);
}

.slick-arrow {
    border-radius: 50%;
}

@media (hover: none) {
    .slick-arrow {
        background-color: white !important;
    }
}

@media (hover: hover) {
    .body_slider:hover .slick-arrow {
        background-color: white !important;
    }
}

.slick-arrow.slick-prev {
    left: 0;
    background: url('/images/image_main/arrow-left.svg') no-repeat center;
    background-size: 20%;
}

.slick-arrow.slick-next {
    right: 0;
    background: url('/images/image_main/arrow-right.svg') no-repeat center;
    background-size: 20%;
}

.slick-dots {
    display: flex;
    justify-content: center;
    margin: 0;
}


.slick-dots {
    margin-bottom: -10px;
}

.slick-dots > li {
    margin: 0 10px;
}

.slick-dots > li > button {
    content: "";
    width: 1em;
    height: 1em;
    border-radius: 50%;
    border: 2px solid white;
    color: transparent;
    background: transparent;
}

.slick-dots > li.slick-active > button {
    border: 2px solid var(--bac-color);
    background: var(--bac-color);
}

.body_slider > .slick-list > .slick-track > .slick-slide img {
    border-radius: 8px;
    max-height: 200px;
}

/*/slick slider for desktops*/
.container-main {
    display: flex;
    padding-bottom: 15px;

}

@media (min-width: 1200px) {
    .container {
        width: 1220px;
        padding: 0 10px;
    }
}

.categories_food {
    max-width: 200px;
    height: fit-content;
    flex: .1 .5 auto;
    margin-right: calc(15px + (25 - 15) * (100vw - 320px) / (1600 - 320));
    box-shadow: 0 0 9px #dfdfdf;
}

.block-content {
    flex: .8 .4 auto;
}

/*categories*/
.title_categories {
    padding: 20px 15px;
    font-size: var(--font-size-title);
    font-weight: bold;
}

.categories_body {
    padding: 15px 0;
}

.category_item:first-child {
    margin: 0 0 15px 0;
}

.category_item {
    padding: 15px 25px 15px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction:column;
    margin: 15px 0;
    position: relative;
    background-color: white;
    border-top: 2px solid var(--bac-color);
    border-bottom: 2px solid var(--bac-color);
    transition: .2s ease;
}

@media (min-width: 1200px) {
    .category_item:hover {
        background-color: var(--bac-color);
        color: white;
    }
}

.right-angle-category {
    position: absolute;
    right: 15px;
    top: calc(50% - var(--right-angle-size) / 2);
    font-size: var(--right-angle-size);
    color: var(--bac-color);
}

#mobile_view_all {
    display: none;
}

.category_item:hover .right-angle-category {
    color: white;
}

.category_image {
    display: inline-block;
    height: 60px;
    width: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.category_text_item {
    display: inline-block;
    font-size: calc(13px + (16 - 13) * (100vw - 320px) / (1600 - 320));
    margin: auto 0;
}

/*restaurants*/
.block-container-grid {
    display: grid;
    gap: 15px;
    grid-template-rows: repeat(auto-fit, 255px);
    grid-template-columns: repeat(3, 300px);
}

.title_block {
    padding: var(--padding-title-block);
    font-size: var(--font-size-title);
    font-weight: var(--font-weight-title-block);
}

.block-item {
    position: relative;
    border-radius: 8px;
    display: inline-block;
    overflow: hidden;
    width: inherit;
    /*max-width: 450px;*/
    box-shadow: 0 0 8px #dedede;
    transition: .3s ease;
}

.block-item:hover {
    transform: scale(1.02);
}

.slick-track > .block-item:hover {
    transform: none;
}

.favourite-item {
    position: absolute;
    z-index: 2;
    top: 5px;
    right: 10px;
    font-size: 20px;
    font-weight: bold;
    padding: 6px;
    background-color: white;
    border-radius: 5px;
    transition: .3s ease;
}

.favourite-item:hover {
    color: white;
    background-color: #ff2626;
}

.favourite-item:focus,
.favourite-item:focus-visible,
.favourite-item:focus-within {
    animation: scale-25 .3s ease;
}

@keyframes scale-25 {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.description-block {
    padding: 5px 15px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.description-block > p {
    margin-bottom: 0;
    font-size: 15px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media (max-width: 1600px) {
    .description-block > p {
        font-size: calc(12px + (15 - 12) * (100vw - 320px) / (1600 - 320));

    }
}

.description-restaurant_main {
    width: 100%;
    height: 250px;
    font-size: 12px !important;
}

.image-block-item {
    width: 100%;
    max-width: inherit;
    height: 200px;
    position: relative;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.closed-block[data-hidden=false] {
    display: none;
}

.closed-block[data-hidden=true] {
    z-index: 1;
    min-width: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    border-radius: inherit;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #00000070;
}

.closed-block[data-hidden=true] > i {
    position: relative;
    /*top: calc(50% - (25%/2));*/
    /*left: calc(50% - (60%/2));*/
    color: white;
}

.image-block {
    border-top-left-radius: 8px;
    height: 200px;
   /* object-fit: cover;*/
    width: 100%;
    border-top-right-radius: 8px;
}

.item-restaurant .image-block-item-nearby > a > .image-block,
.item-restaurant .image-block-item-nearby > a > picture > .image-block {
    width: auto;
    height: 100px;
    border-radius: 8px;
}

.item-view-all {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: var(--bac-color);
    border: 2px solid var(--bac-color);
    background-color: white;
    transition: .3s ease;
}

.item-view-all:hover {
    background-color: var(--bac-color);
    color: white !important;
}

#item-view-all-mobile {
    display: none;
}

.angle-right-view-all {
    font-size: 30px;
    margin-left: 20px;

}

.swiper-container, .swiper-wrapper {
    display: inherit;
}

/*Block campaigns*/
.block-container-grid-3-in-row {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(3, 300px);
}
.block-campaigns .slick-track{
    margin-left: 0;
    margin-right: 0;
}
/*Block rating*/
.rating-item-block > .fa-star[data-star=true] {
    color: var(--star-visibility);
}

.rating-item-block > .fa-star[data-star=false] {
    color: var(--star-none);
}

/*discount amount*/
.flags-item[aria-hidden=true] {
    position: absolute;
    width: auto;
    height: 25px;
    top: 20px;
    border-radius: 0 5px 5px 0;
    background-color: #68bf00;
    color: white;
    padding: 2px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

/*block food nearby*/
.food-nearby-container {
    grid-template-rows: repeat(auto-fit, 140px);
}

.food-nearby-item {
    display: flex;
}

.name_food {
    font-weight: bold;
}

.image-block-item-nearby {
    display: flex;
    align-items: center;
    width: 35%;
    height: 100%;
    border-radius: 0;
    margin: auto 0 auto 0;
}

.image-block-item-nearby > .image-block,
.image-block-item-nearby > picture > .image-block {
    border-radius: 8px;
    object-fit: cover;
}

.image-block-item-nearby > .closed-block[data-hidden=true] {
    width: -webkit-fill-available;
    border-radius: 0;
}

.image-block-item-nearby > .closed-block[data-hidden=true] > i {
    font-size: 13px;
    text-align: center;
}

.add-cart-item {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 20px;
    transition: .3s ease;
}

.food-nearby-item:hover .add-cart-item[data-hidden=true] {
    color: var(--bac-color);
}

.food-nearby-cost {
    font-weight: bold;
}
.food-nearby-item .description_block{
    width: 65%;
}
.container-all-restaurants {
    /*display: grid;*/
    grid-template-columns: repeat(2, calc(50% - 15px));
    gap: 15px;
    grid-auto-flow: row;
}

.item-restaurant {
    width: calc(50% - 20px);
    z-index: 2;
    height: 100px;
    max-height: fit-content;
    display: flex;
    margin: 10px 0;
    background-color: white;
}

.item-restaurant:nth-of-type(odd) {
    margin-right: 5px;
}

.item-restaurant:nth-of-type(even) {
    margin-left: 5px;
}

.name_restaurant {
    margin-bottom: .3rem;
}

.title_filter {
    display: flex;
    padding: var(--padding-title-block);
    justify-content: space-between;
}

.title-block-all-restaurants {
    font-size: var(--font-size-title);
    font-weight: var(--font-weight-title-block);
}

.filter_body {
    position: relative;
}

.filter_button {
    font-size: 23px;
    position: relative;
    padding: 5px 10px;
    color: black;
}

.filter_button:hover {
    background-color: #00000026;
}

@media (hover: hover) {
    .filter_button:hover:after {
        content: attr(data-tooltip);
        position: absolute;
        top: -25px;
        left: -20px;
        font-size: 15px;
        width: 80px;
        color: white;
        padding: 4px;
        background-color: #00000073;
        border-radius: 5px;
    }
}

.filter_items {
    display: none;
    position: absolute;
    z-index: 3;
    background-color: white;
    box-shadow: 0 0 10px;
    left: -70px;
}

.filter_items.active_filter {
    display: block;
}

.filter_item {
    margin-bottom: 0;
    width: 120px;
    padding: 5px 10px;
    text-align: left;
    color: grey;
    font-weight: bold;
}

.filter_label {
    display: block;
    font-size: 15px;
    cursor: pointer;
    padding: 5px 10px;
}

.filter_label:hover {
    background-color: #e7e7e7;
    color: black;
}


.filter_item:hover {
    background-color: #e7e7e7;
    color: black;
}

.slick-list {
    padding-bottom: 10px !important;
}

.name_place, .name_restaurant {
    font-weight: bold;
}
.food-nearby-item .name_place,
.food-nearby-item .food-nearby-cost{
    color: #6b926b;
}

/*style for page new driver */
#vmi_insurance_description {
    font-size: 12px;
    color: var(--bac-color);
}

#form-group-citizenship > .select2-container {
    max-width: 100%;
}

/*/style for page new driver*/
/*style for page categories*/

.item_category {
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
}

.item_category:hover {
    text-decoration: none;
    color: black;
}

.text_category {
    margin-top: calc(0px + (10 - 0) * (100vw - 320px) / (1600 - 320));
    color: black;
    font-size: calc(13px + (16 - 13) * (100vw - 320px) / (1600 - 320));
}

.items_category {
    justify-content: center;
}

.item_category {
    background-color: white;
    padding: calc(30px + (35 - 30) * (100vw - 320px) / (1600 - 320)) calc(10px + (20 - 10) * (100vw - 320px) / (1600 - 320));
    border-radius: 8px;
    border: 2px solid transparent;
    margin: 5px;
    width: 195px;
    height: 200px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.308);
    transition: .2s ease;
}

.item_category:hover {
    box-shadow: 0 0 3px var(--bac-color);
    transform: scale(1.02);
}

.content_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.item_image {
    /*max-width: calc(100% / 2);*/
    /*height: 120px;
    width: 65px;*/
    border-radius: 8px;
    transition: .5s ease;
    object-fit:cover;
}

@media (max-width: 1300px) {
    .item_category {
        width: calc(100% / 4.2);
        height: calc(100vmin / 3.2 + (5 - 3.2) * (100vw - 320px) / (1300 - 320));
    }
}

@media (max-width: 840px) {
    .item_category {
        width: calc(100% / 4.3);
    }
}

@media (max-width: 650px) {
    .item_category {
        width: calc(100% / 3.35);
    }
}

/*/style for page categories*/
/*style for page list restaurants*/
.item_filter {
    color: #a4a4a4;
    width: calc(100% / 2);
    text-align: center;
    line-height: 2;
}

.item_filter {
    padding: 5px 10px;
    position: relative;
    user-select: none;
    font-size: 1rem;
    cursor: pointer;
}

/* styles for all/popular items */
.content_image_item,
.dish_name,
.cost {
    color: black;
    font-size: 1rem;
}

.content_image_item
.dish_name,
.cost {
    font-weight: bold;
}

.cost_old {
    font-size: .8rem;
}

.category_all_pop {
    min-width: 135px;
    width: fit-content;
    text-align: center;
    margin-top: 25px;
    border-radius: 8px;
    border: 2px solid #77df77;

}

.item_all_pop {
    font-size: 1rem;
    cursor: pointer;
}

.category_all_pop label, .item_filter {
    padding: 5px 10px;
    color: black;
}

#all:checked ~ .category_all_pop label[for="all"],
#popular:checked ~ .category_all_pop label[for="popular"] {
    color: #007e00;
    font-weight: bold;
}

#all:checked ~ .category_all_pop label[for="all"]:after,
#popular:checked ~ .category_all_pop label[for="popular"]:after {
    content: "";
    display: block;
    margin: 0 auto;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--bac-color);
}

/* стили для food/restaurant фильтра */

.item_filter input:checked ~ label:after {
    background-color: #009900;
}

.wrapper_filter_food_or_rest {
    margin-top: 20px;
}

/* change color text and underline on  focus label*/
input#food_filter:checked ~ .wrapper_filter_food_or_rest label[for="food_filter"],
input#restaurant_filter:checked ~ .wrapper_filter_food_or_rest label[for="restaurant_filter"] {
    color: #009900;
}

input#food_filter:checked ~ .wrapper_filter_food_or_rest label[for="food_filter"]:after,
input#restaurant_filter:checked ~ .wrapper_filter_food_or_rest label[for="restaurant_filter"]:after {
    content: "";
    display: block;
    height: 2.5px;
    width: 100%;
    background-color: #009900;
}

.container_body {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
}

.content-item {
    display: flex;
    margin-right: 20px;
    margin-bottom: 10px;
    position: relative;
    min-height: 130px;
    background-color: white;
    padding: 10px;
    width: calc(50% - 20px);
    border-radius: 8px;
    box-shadow: 0 0 3.5px gray;
}

.content_image_item {
    position: relative;
    align-self: center;
    /*max-height: 110px;*/
    height: 110px;
    /*top: -15px;*/
}

.image_item {
    align-self: center;
    max-width: 110px;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.content-item .content_image_item > a > .image_item,
.content-item .content_image_item > a > picture > .image_item{
    position: relative;
    /*top: -15px;*/
    max-width: 110px;
    height: 110px;
    object-fit:cover;
}

.content-item .content_image_item > .image_item {
    position: relative;
    max-width: 110px;
}

.not_available[data-hidden=false] {
    display: none;
}

.not_available[data-hidden=true] {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    color: white;
    background-color: rgba(0, 0, 0, .5);
    height: 100%;
    width: 100%;
    border-radius: 8px;
}

.text_description {
    margin-left: 1rem;
    max-width: calc(100% - 205px);
}

.restaurant_name,
.dish_name,
p.name_restaurant,
p.description-restaurant_main {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.restaurant_name,
.restaurant_place {
    color: #848484;
    font-size: 0.8rem;
}
.restaurant_name,
.restaurant_place,
.rest_name{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cost,
.cost_old {
    margin-bottom: 0;
    display: inline-block;
}

.cost_old {
    font-size: 13px;
    text-decoration: line-through;
    color: #848484;
}

.buttons_item {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.buttons_item button {
    border: none;
    font-size: 1.25rem;
    background-color: transparent;
}

.buttons_item > .fa-heart-o {
    color: #848484;
}

.restaurant > .buttons_item {
    align-self: center;
}

.fa-star {
    color: #848484;
}

.fa-star.star1 {
    color: rgb(255, 204, 0);
}

.add_to_card {
    padding: 5px;
    transition: .3s ease;
}

.add_to_card.fa-plus:hover {
    color: #009900;
}

.add_to_card.fa-heart-o:hover {
    color: #ff2626;
}

.add_to_card.fa-heart-o {
    font-weight: bold;
}

.radio_food_filter {
    display: none;
}

/* filter */
#all[value="all"]:checked ~ #food_filter[value="food"]:checked ~ .container_body .content-item:not([data-category*="all food"]):not([data-category*="food"]),
#all[value="all"]:checked ~ #restaurant_filter[value="restaurant"]:checked ~ .container_body .content-item:not([data-category*="all restaurant"]):not([data-category*="restaurant"]),
#popular[value="popular"]:checked ~ #food_filter[value="food"]:checked ~ .container_body .content-item:not([data-category*="popular food"]),
#popular[value="popular"]:checked ~ #restaurant_filter[value="restaurant"]:checked ~ .container_body .content-item:not([data-category*="popular restaurant"]) {
    display: none !important;
}

@media (max-width: 768px) {

    .item_filter {
        width: 50%;
    }

    .container_body {
        flex-direction: column;
    }

    .content-item {
        width: 100%;
    }
}

@media (max-width: 350px) {
    .text_description {
        max-width: 100%;
    }

    .content-item {
        flex-direction: column;
    }

    .buttons_item {
        margin: auto;
    }

    .add_toa-plus:after {
        content: attr(data-tooltip);
        margin-left: 10px;
        font-size: 13px;
    }

    .add_to_card.fa-heart-o:after {
        content: attr(data-tooltip);
        margin-left: 10px;
        font-size: .9rem;
    }

    .buttons_item button {
        font-size: 1rem;
    }

    .content_image_item .image_item {
        max-width: 120px;
        margin: 0 auto;
    }

    .content_image_item {
        max-height: 130px;
        top: 0;
    }
}

/*/style for page list restaurants*/
/*style for page restaurant*/

.section-image-cover {
    background-color: #191f2a;
    height: 250px;
    display: flex;
    align-items: center;
}

.wrapper-restaurant-logo {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.restaurant-logo {
    height: fit-content;
    margin-right: 15px;
    border-radius: 8px;
}

.description-restaurant {
    display: flex;
    width: 50%;
    flex-direction: column;
    justify-content: space-evenly;
}

.minimum_order > .minimum_order_cost {
    color: #009900;
}

.content-description {
    display: inline-flex;
}

.text-description {
    color: white;
}

.place, .minimum_order {
    color: #cdcdcd;
}

.favourite_restaurant {
    display: inline-block;
    color: white;
    margin: auto 0 auto auto;
    font-size: 23px;
    height: fit-content;
    transition: .3s ease;
    font-weight: bold;
}

.favourite_restaurant:hover {
    color: #ff2626;
    transform: scale(1.02);
}

.icons_feature {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
}

.feature-1, .feature-2, .feature-3, .feature-4 {
    text-align: center;
    font-size: 17px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

:where(.feature-1, .feature-2, .feature-3, .feature-4) > *:before {
    color: var(--bac-color);
}

.feature-1 > *:before, .feature-2 > *:before, .feature-3 > *:before, .feature-4 > *:before {
    color: var(--bac-color);
}

.feature-1, .feature-2, .feature-3, .feature-4 {
    color: white;
}

.discount_info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: #009900;
    color: white;
}

@media (hover: hover) {
    .discount_info {
        animation: scale-09 .3s ease;
    }

    @keyframes scale-09 {
        0% {
            transform: scale(0.8);
        }
        100% {
            transform: scale(1);
        }
    }
}

.discount_amount {
    text-transform: uppercase;
}

.discount_amount,
.discount_description {
    font-weight: bold;
}

.categories-rest-nav {
    display: inline-block;
}

.categories-rest-ul {
    padding: 5px 15px;
    background-color: #0099001f !important;
    border-radius: 10px;
}

.categories-rest-nav.tabbable.sticky {
    position: unset;
}

.nav-pills .nav-link {
    padding: .25rem 0 0 0;
    background-color: transparent;
    box-shadow: none;
    color: #5c5c5c;
}

.nav-pills .nav-link.active {
    color: #069d06;
    font-weight: bold;
    background-color: transparent;
}

.nav-pills .nav-link.active:after {
    content: "";
    display: block;
    height: 5px;
    width: 5px;
    margin: 0 auto;
    font-weight: bold;
    background-color: #069d06;
    border-radius: 50%;
}

.content-restaurant {
    display: flex;
    flex-wrap: wrap;
}

.item_content_restaurant {
    height: 100px;
    box-shadow: 0 0 3px #cdcdcd;
    border-radius: 8px;
    padding: .75rem;
    display: flex;
    margin-bottom: 10px;
    margin-top: 10px;
    width: calc(50% - 21px);
}

.item_content_restaurant:nth-of-type(odd) {
    margin-right: calc(8px + (15 - 8) * (100vw - 320px) / (1600 - 320));
}

.item_content_restaurant:nth-of-type(even) {
    margin-left: calc(8px + (15 - 8) * (100vw - 320px) / (1600 - 320));
}

.image_content_restaurant {
    position: relative;
    display: inline-flex;
    min-width: calc(80px + (120 - 80) * (100vw - 320px) / (1600 - 320));
}
@media (min-width:1600px){
    .image_content_restaurant{
        min-width: 120px;
    }
}

.image_content_restaurant > img,
.image_content_restaurant >picture> img{
    border-radius: 8px;
    width: 100%;
}

.image_content_restaurant > img,
.image_content_restaurant >picture> img{
    max-width: calc(80px + (120 - 80) * (100vw - 320px) / (1600 - 320));
    object-fit: cover;
    height: 100%;
}
@media (min-width:1600px){
    .image_content_restaurant > img,
    .image_content_restaurant >picture> img{
        max-width: 120px;
    }
}
.not_available_item[data-hidden="false"] {
    display: none;
}

.not_available_item[data-hidden="true"] {
    position: absolute;
    text-align: center;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
    font-size: .9rem;
    font-weight: 600;
    align-items: center;
    color: white;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35);
}

span.flags_discount {
    color: white;
    z-index: 2;
    top: 10px;
    position: absolute;
    padding: 0 4px;
    border-radius: 0 4px 4px 0;
    background-color: #009900;
    font-size: calc(.7rem + (0.8 - 0.7) * (100vw - 320px) / (1588 - 320));
}

.text_item_content_restaurant {
    margin-left: 7px;
    overflow: hidden;
}

.text_item_content_restaurant > * {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.name_item_restaurant {
    font-weight: bold;
    color: black;
}

.currency_item_restaurant, .cost_item_restaurant {
    font-size: 1.1rem;
    font-weight: bold;
    color: black;
}

.cost_old_item_restaurant {
    font-size: 1.05rem;
}

.rating_item_restaurant > .fa-star[aria-hidden=true] {
    color: var(--star-visibility);
}

.currency_item_restaurant, .cost_item_restaurant {
    display: inline-block;
}

.old_cost_item_restaurant {
    text-decoration: line-through;
}

.rating_item_restaurant > .fa-star[aria-hidden=false] {
    color: var(--star-none);
}

.buttons_item_restaurant {
    font-size: 23px;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.buttons_item_restaurant > button {
    display: block;
    color: black;
    transition: .3s ease;
}

.buttons_item_restaurant > button.fa-plus {
    font-weight: 300;
}

.buttons_item_restaurant > button.fa-heart-o {
    font-weight: bold;
}

.buttons_item_restaurant > button.fa-plus:hover {
    color: var(--bac-color);
}

.buttons_item_restaurant > button.fa-heart-o:hover {
    color: #ff2626;
}

/*style for page restaurant*/

/*style for page voting restaurant*/
.rating-item-block {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rating-item-block > label {
    cursor: pointer;
}

.rating-item-block > label > i.fa-star {
    font-size: 1.5rem !important;
}

.rating_label:hover > .fa-star,
.rating_label:hover ~ .rating_label > i.fa-star {
    color: rgb(255, 204, 0);
}

.rating-radio:checked,
.rating-radio:checked ~ .rating_label > i.fa-star {
    color: rgb(255, 204, 0);
}

/*/style for page voting restaurant*/


/*style for page partners couriers/restaurants*/
.text-sale:before {
    content: "-25%";
    transform: rotate(45deg);
    font-weight: bold;
}

.text-sale {
    /*transform: rotate(-45deg)*/
    position: absolute;
    right: 1rem;
    height: 6rem;
    bottom: .25rem;
    }

.item-feature {
    overflow: hidden;
    position: relative;
    z-index: 10;
    transition: .5s ease-in-out;
}

.item-feature  i:where(.fa-rub, .fa-plane, .fa-heart, .fa-credit-card, .fa-bicycle, .fa-id-badge,
.fa-percent, .fa-gavel, .fa-handshake-o, .fa-check, .fa-users, .text-sale, .fa-arrow-down) {
    position: absolute;
    bottom: 0;
    right: 1rem;
    font-size: 6rem;
    z-index: -1;
    color: #fff;
}

.head_block, .text_block {
    z-index: 1;
}

.text_block {
    font-weight: 600;
}
.button_become {
    background-color: var(--bac-color);
    padding: 10px 20px;
    border-radius: 8px;
    transition: .3s ease;
}

.button_become:hover {
    background-color: #009500;
}

.block-question {
    border-radius: 8px;
    background-color: white;
}

.head_question {
    cursor: pointer;
}

.anim-rotate {
    transform: rotate(180deg);
    transition: transform .2s ease;
}

.hide-answer:not(.d-none) {
    animation: opacity-1 .3s ease;
    opacity: 1;
}

@keyframes opacity-1 {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/*/style for page partners couriers/restaurants*/

/*style for page new driver*/
.accept_check {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.accept_check:before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 1px solid var(--bac-color);
    box-shadow: 0 0 3px #cdcdcd;
    border-radius: 4px;
    margin-right: 10px;
}

input#accept[type="checkbox"]:checked ~ .accept_check:after {
    content: "";
    position: absolute;
    top: 2px;
    left: 5px;
    display: block;
    width: 7px;
    height: 10px;
    border-right: 2px solid var(--bac-color);
    border-bottom: 2px solid var(--bac-color);
    transform: rotate(45deg);
}

/*/style for page new driver*/

/*style for data agreement*/
.wrapper-agreement {
    z-index: 100000;
    position: absolute;
    top: 0;
    background-color: rgba(0, 0, 0, .5);
    height: 100%;
    display: flex;
    align-items: center;
}

.box-agreement {
    background-color: white;
    padding: 15px;
}

/*/style for data agreement*/
@media (min-width: 1200px){
    .item-view-all{
        min-height: 140px;
    }
    .image-block-item-nearby > .image-block, .image-block-item-nearby > picture > .image-block,
    .image-block-item-nearby > picture {
        height: 100%;
    }
    .image-block-item-nearby{
        min-width: 100px;
    }
}
@media (max-width: 1200px) {
    .image-block-item-nearby > .image-block,
    .image-block-item-nearby > picture > .image-block {
        height: 90px;
    }

    .filter_items {
        left: -5px
    }

    .wrapper_slider > .container {
        max-width: 100%;
    }

    .title_filter {
        justify-content: center;
    }

    .main-content-blocks {
        width: 100%;
    }

    .container-main {
        flex-direction: column;
        max-width: 100%;
    }

    .image-block-item-nearby > .closed-block[data-hidden=true] {
        width: -webkit-fill-available;
    }

    #mobile_view_all {
        display: block;
    }

    .closed-block[data-hidden=true] {
        left: 0;
    }

    .image-block-item-nearby {
        display: inline-block;
        height: inherit;
        max-height: 100px;
        margin-top: 0;
    }

    .food-nearby-item > .description-block {
        display: inline-block;
        width: 60%;
    }

    .flags-item[aria-hidden=true] {
        left: 0;
    }

    .categories_body {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .categories_food {
        max-width: 100%;
        margin-right: 0;
        box-shadow: none;
    }

    .right-angle-category {
        display: none;
    }

    .category_text_item {
        display: flex;
        flex-direction: column;
    }

    .category_item {
        border: 0;
        padding: 5px 15px;
        margin: 0;
    }

    .category_item:first-child {
        margin-bottom: 0;
    }

    .item-restaurant:nth-of-type(even) {
        left: 50% !important;
    }

    .slick-list {
        margin: 0 -26px;
    }

    .slick-slide {
        margin: 0 5px;
    }

    .categories_body > .category_item:first-child {
        margin-right: 15px;
    }

    .categories_body > .category_item {
        min-width: 87px;
        margin: 0 5px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .category_image {
        width: 100%;
        height: 57px;
    }

    .categories_body > .category_item:last-child {
        display: none;
    }

    .title_categories {
        display: flex;
        justify-content: space-between;
        padding-bottom: 0;
    }

    .item-restaurant {
        width: calc(50% - 15px);
    }

    .title_block {
        display: flex;
        justify-content: space-between;
    }

    .angle-right-view-all {
        display: none;
    }

    .item-view-all {
        display: none !important;
    }

    #item-view-all-mobile {
        display: block !important;
        font-size: 15px;
        border: none;
        border-radius: 0;
        padding: 5px 15px;
        color: var(--default-color-text);
        box-shadow: none;
    }

    .description-block {
        width: 100%;
    }

}

@media (max-width: 991px) {
    .discount_info {
        width: calc(100% - 30px);
    }

    .section-image-cover {
        display: none;
    }

    .image-cover_md-block {
        display: block;
        height: calc(160px + (480 - 160) * (100vw - 320px) / (991 - 320));
        z-index: -1;
        background-repeat: no-repeat;
        object-fit: fill;
        background-position: center;
    }

    .title_restaurant_md-block {
        margin-top: 25px;
    }

    .icons_feature {
        justify-content: space-evenly;
    }

    .feature-1, .feature-2, .feature-3, .feature-4 {
        color: black;
        font-size: calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320));
    }
}

@media (max-width: 900px) {
    .slick-dots {
        margin-top: 15px;
    }

    .slick-dots > li > button {
        background-color: #0099001c;
        border: 2px solid var(--bac-color);
    }

    .wrapper_slider {
        background-color: transparent;
    }

    .item_slider.slick-slide:not(.slick-active) {
        transition: transform .4s ease;
        transform: scale(0.9);
    }

    .item_slider.slick-active {
        transition: transform .4s ease;
        transform: scale(1.05);
    }

    .item_slider img, .item_slider picture {
        height: 280px;
        object-fit: contain;
    }

    .body_slider > .slick-list > .slick-track > .slick-slide img {
        width: 100%;
        object-fit: contain;
    }
}

@media (max-width: 767px) {
    .nav-pills .nav-item:not(:last-child) {
        padding-right: 1rem;
    }

    .item_content_restaurant {
        width: 100%;
    }

    .item_content_restaurant:nth-of-type(odd) {
        margin-right: 0;
    }

    .item_content_restaurant:nth-of-type(even) {
        margin-left: 0;
    }
}

@media (max-width: 700px) {
    .description-block > .description-restaurant {
        font-size: 12px;
    }

    .menu_body {
        width: 100%;
        right: 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
}

@media (max-width: 500px ) {
    .wrapper_slider {
        height: calc(140px + (180 - 140) * (100vw - 320px) / (500 - 320));
    }

    .item_slider img {
        height: 150px;
    }

    .item-restaurant:nth-of-type(even), .item-restaurant:nth-of-type(odd) {
        left: 0 !important;
        margin: 10px 0;
    }

    .item-restaurant {
        width: 100%;
    }
    .block-campaigns .block-item{
        max-width: unset;
    }
}

@media (max-width: 340px) {
    .item_slider img {
        height: 100px;
    }

    .image-block-item-nearby > .closed-block[data-hidden=true] {
        width: 98%;
    }
}

.image-block-item {
    width: 100%;
    max-width: inherit;
    height: 100px;
    position: relative;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}


.swiperButtonPrev,
.swiperButtonNext {
    color: black;
    transition: .2s ease;
}

.swiperButtonPrev:after,
.swiperButtonNext:after {
    font-size: 1.75rem !important;
}

.swiperMainSlider:hover .swiperButtonPrev,
.swiperMainSlider:hover .swiperButtonNext {
    background-color: white;
    border-radius: 50%;
}

.swiperMainSlider {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.bg-categories {
    background-color: #f8f9fa !important;
}

.bg-categories:hover {
    background-color: #dae0e5 !important;
}

.text-category-name {
    color: #6c757d !important;
}

.more-button {
    box-shadow: none !important;
    transform: none !important;
}

.categoryHover:hover .card-img-top {
    transform: scale(1.05);
}

.card-img-top {
    transition: .2s ease;
}

.section-title {
    font-family: OpenSans;
    font-style: normal;
    font-weight: normal !important;
    font-size: 2rem !important;
    line-height: 35px;
    letter-spacing: 0.03em;
    color: #28a745 !important;
    margin-top: 50px;
}

@media screen and (max-width:989px) {
    .section-title {
        font-size: 24px;
    }
}

@media screen and (max-width:639px) {
    .section-title {
        gap: 10px;
    }
}

.custom-more-button {
    color: #28a745 !important;
    border-color: #28a745 !important;
    min-width: 60px;
    min-height: 25px;
    line-height: 25px;
}

.custom-more-button:hover {
    color: #fff !important;
    background-color: #28a745 !important;
}

.section-restaurants-all {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

@media screen and (max-width:1199px) {
    .section-restaurants-all {
        gap: 10px;
    }
}

.section-restaurants-all .card {
    flex: 1 0 calc(50% - 30px);
}

@media screen and (max-width:1199px) {
    .section-restaurants-all .card {
        flex: 1 0 calc(50% - 10px);
    }
}


@media screen and (max-width:639px) {
    .section-restaurants-all .card {
        flex: 1 0 100%;
    }
}

.section-restaurants-all .card .card-title {
    font-size: 16px;
}

.card .card-title {
    font-size: 16px;
}

.card .card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card.col-lg-4 .card-img-top {
    height: 280px;
}

@media screen and (max-width:1599px) {
    .card.col-lg-4 .card-img-top {
        height: 200px;
    }
}
@media screen and (max-width:989px) {
    .card.col-lg-4 .card-img-top {
        height: 150px;
    }
}

.card-body {
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.card-description {
    padding: 1.25rem;
}

.name_restaurant a, .card-description p {
    color: #51b044;
}

.name_restaurant a:hover, .card-description p:hover {
    color: #325d35;
}

/*--------*/

.heightImgLogo {
    height: 320px;
}

.dropdownMenuInfoRes {
    min-width: 30vw;
    max-width: 50vw;
    transform: translate3d(-25%, 70px, 0) !important;
}

.gridTemplateRest {
    display: grid;
    grid-template-columns: 16.67% 66.67% 16.65%;
    grid-template-areas:
                "menu restLogo cart"
                "menu main cart";
    gap: 0 .5rem;
}

@media (max-width: 991px) {
    .gridTemplateRest {
        grid-template-areas:
                    "restLogo"
                    "menu"
                    "main";
        grid-template-columns: 100%;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .heightImgLogo {
        height: 420px;
    }

    .dropdownMenuInfoRes {
        min-width: 65vw;
        max-width: 70vw;
    }
}

.restCategory{
    border-radius: 1rem;
    transition-duration: 200ms;
    color: #6c757d !important;
}
.restCategory:hover{
    background-color: #ffffff;
}

.restCategory.active {
    background-color: #ffffff !important;
}

.bg-light-success{
    background-color: rgb(90 195 26 / 20%) !important;
}

.txt-success{
    color:#28a745;
}

.bg-emerald{
    background-color:#28a745 !important;
}

.w-container{
    max-width: 1500px;
}