::-webkit-scrollbar {
    -webkit-appearance: none;
}

::-webkit-scrollbar:vertical {
    width: 10px;
}

::-webkit-scrollbar:horizontal {
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .5);
    border-radius: 10px;
    border: 2px solid #ffffff;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #ffffff;
}

ul.nav li.active {
    background-color: #ccc;
}

.adminicon {
    margin: 0.4em 0;
    transition: 0.25s linear;
}

.adminicon:hover {
    transform: rotate(45deg);
    transition: 0.25s linear
}

section.main,
div.main {
    padding: 100px 0 80px;
}

#flashes .alert {
    position: fixed;
    top: 120px !important;
    z-index: 1000;
}

#addressModal .modal-dialog div.form-group {
    width: 48%;
    padding: 0 1%;
    float: left;
}

#addressModal .modal-dialog div.form-group:nth-child(10) {
    width: 97%;
}

table caption {
    caption-side: top;
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    .partner-col {
        position: absolute;
        top: 24%;
        background-color: transparent;
        padding: 0;
    }
}


/*-----------Registration-------------*/

.registration-row {
    justify-content: center;
}

.registration {
    display: flex;
    justify-content: center;
    padding-bottom: 50px;
}

.registration>form {
    padding-left: 20px;
    padding-right: 20px;
}

.registration>form>button {
    width: 100%;
}

.user_resetting_request {
    text-align: center;
}

.user_resetting_request>div>button {
    margin-top: 15px;
}

.login-row {
    justify-content: center;
    padding-top: 25px;
}

.guest-row {
    text-align: center;
}


/*-----------Site Template-----------*/

.container-main {
    min-height: 1000px;
}

.navbar-right {
    flex-direction: row;
}

.dropdown-style {
    position: sticky !important;
    font-size: 14px;
    top: 0;
    width: 100%;
    min-height: 100vh;
}

.dropdown-cart-style {
    position: sticky !important;
    font-size: 14px;
    top: 0;
    width: 100%;
    min-height: 100vh;
}


/*------------Profile view----------------*/

.profile-info-row {
    justify-content: center;
}

.profile-buttons-col>a {
    margin-bottom: 5px;
}

.edit-col>a {
    width: 100%;
    margin-bottom: 5px;
}

.edit-col>form>button {
    width: 100%;
}

.address-col {
    margin-top: auto;
    margin-bottom: auto;
}

.previous-orders>.table-responsive>table {
    text-align: center;
}


/*---------Profile edit--------------*/

#profile_phone>select {
    width: 100%;
}

#profile_phone_number {
    width: 100%;
}

.profile-edit-row {
    justify-content: center;
}


/*-----------Guest order------------*/

#guest_user_phone_country {
    width: 100%;
}

#guest_user_phone_number {
    width: 100%;
}


/*-----------Homepage---------------*/

.recommendations-row {
    background-color: black;
    min-height: 100%;
    position: relative;
}

.recommendation-item {
    height: 100%;
    padding: 0;
}

.recommendation-text {
    margin-top: auto;
    margin-bottom: auto;
    text-align: center;
}

.carousel-inner-content {
    height: 100%;
}

.v-center {
    display: flex;
    align-items: center;
}

.recommendation-title {
    padding-top: 10px;
    color: white;
    width: 100%;
}

.carousel-item {
    height: 100%;
}

.carousel-image {
    height: 100%;
}

.carousel {
    width: 100%;
}


/*--------- Center Nav -----------*/

#nav-main {
    display: flex;
    justify-content: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

#nav-main>ul {
    float: left;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 5;
}

#nav-main>ul>li {
    float: left;
    position: relative;
}

#nav-second {
    padding-top: 5px;
    padding-bottom: 5px;
    display: flex;
    justify-content: center;
}

#nav-second>ul {
    float: left;
    list-style: none;
    margin: 0;
    padding: 0;
}

#nav-second>ul>li {
    float: left;
    position: relative;
}

.links {
    color: black;
    font-size: 16px;
}

.center-navbar {
    display: flex;
    font-family: sans-serif;
    justify-content: center;
    padding: 30px 0 30px 0;
    width: 100%;
}

.center-nav-items {
    margin: 0 auto;
}

.scrollable-center-nav {
    overflow-x: scroll;
    white-space: nowrap;
}

.upper-item {
    padding: 0 20px 0 20px;
    text-align: center;
    margin-top: auto;
    margin-bottom: auto;
}


/* Hide scrollbar for Chrome, Safari and Opera */

.scrollable-center-nav::-webkit-scrollbar {
    display: none;
}


/* Hide scrollbar for IE, Edge and Firefox */

.scrollable-center-nav {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

@media only screen and (min-width: 1200px) {
    .upper-item {
        padding: 0 20px 0 20px;
        text-align: center;
    }
    .cart-modal-button {
        display: none;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1199px) {
    .upper-item {
        padding: 0 15px 0 15px;
        text-align: center;
    }
    .cart-modal-button {
        display: none;
    }
}

@media only screen and (max-width: 991px) {
    .food-image-col {
        min-height: 230px !important;
    }
    .side-cart-col {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    .center-navbar {
        justify-content: flex-start;
    }
    /*--Login--*/
    .guest>.guest-col>a {
        width: 100%;
        margin-top: 1px;
        margin-bottom: 1px;
    }
    .profile-edit-button {
        width: 100%;
    }
    .address-col {
        text-align: center;
        padding-bottom: 10px;
    }
    .partner-image-container {
        height: 135px !important;
    }
    .cart-link {
        display: none;
    }
}

@media only screen and (max-width: 415px) {
    .main-navbar {
        display: none;
    }
    .navbar-right {
        justify-content: center;
        width: 100%;
    }
    .checkout-buttons {
        width: 100%;
        margin-bottom: 5px;
    }
    .summary-buttons {
        width: 100%;
        margin-bottom: 5px;
    }
}

@media only screen and (max-width: 375px) {
    .navbar-right {
        justify-content: center;
        width: 100%;
    }
    .dropdown-style {
        min-width: 100%;
        right: -100px;
    }
    .dropdown-cart-style {
        min-width: 100%;
        right: -100px;
    }
    .upper-item {
        padding: 0 5px 0 5px;
    }
}

.navbar-img-container {
    height: 60px;
    width: 60px;
    margin: 0 auto;
}

.navbar-icon {
    width: 100%;
    height: 100%;
}


/*--------------Sections-----------------*/

.section-scroll-row {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
}

.name-content {
    font-family: UberMove-Bold, sans-serif;
    font-size: 36px;
}

.restaurants-row {
    padding-top: 15px;
    padding-bottom: 15px;
}

.card-img-overlay {
    background-size: contain;
}

.restaurant-card {
    padding: 0;
    border: 0;
    width: 100%;
    height: 100%;
}

.restaurant-card>a {
    text-decoration: none;
    color: inherit;
}

.background-image-container {
    width: 100%;
    height: 180px;
    position: relative;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

.carousel-bg-image-container {
    width: 100%;
    height: 200px;
    position: relative;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

.restaurant-link {
    font-size: 0px;
    height: 100%;
    width: 100%;
    position: absolute;
}

.like-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 25px;
    color: white;
}

.like-button:hover {
    cursor: pointer;
    color: red;
}

.card-image {
    height: 100%;
}

.card-container {
    max-height: 400px;
    padding-bottom: 50px;
}

.restaurant-title-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-bottom: 1px solid lightgrey;
}

.restaurant-title {
    margin: 0;
}

.spacing {
    width: 30%;
}

.rating-info {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 20px;
    bottom: 30px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #EEEEEE;
}

.subtitle-content {
    font-size: 14px;
    padding-left: 10px;
}

.food-type-content {
    font-family: UberMoveText-Medium, sans-serif;
    font-size: 13px;
    color: black;
    font-weight: 600;
}

.title-content {
    font-size: 18px;
    font-family: UberMoveText-Medium, sans-serif;
}

.restaurant-type-content {
    font-size: 12px;
    color: rgb(84, 84, 84);
}

.card-img-left {
    height: inherit;
    width: inherit;
    object-fit: cover;
    z-index: 1600;
    transition: height 0.2s linear, width 0.2s linear;
}

.restImgCont {
    height: 10rem;
    width: 100%;
    transition: height 0.2s linear, width 0.2s linear;
}

/*.card-img-left:hover {
    position: absolute;
    border: 1px solid;
    width: 15rem !important;
    height: 15rem !important;
    z-index: 1600;
}

.restImgCont:hover {
    height: 15rem;
    width: 120%;
}*/


/*---------------Partner--------------*/

.food-title-content {
    font-size: 16px;
    font-weight: 700;
    font-family: UberMoveText-Medium, sans-serif;
}

.cards-content {
    font-family: UberMoveText-Medium, sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: rgb(84, 84, 84);
}

.partner-description {
    padding: 0px 10px 5px 10px;
}

.partner-image-container {
    height: 200px;
    background-size: cover;
    background-position: center;
}


/*----- center navbar foodtype ------*/

.navbarr {
    margin: 0 auto;
}

.center-nav-item {
    font-size: 20px;
    font-weight: 400;
}

.price-tag {
    font-family: UberMoveText-Medium, sans-serif;
    font-weight: 600;
    font-size: 16px;
}

.caption-heading {
    font-family: UberMove-Medium, sans-serif;
    font-size: 36px;
}

.bg-cover {
    height: 30vh;
    margin-bottom: 0;
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: -15px;
    margin-right: -15px;
}


/*
.partner-info-container {
display: flex;
min-height: 440px;
max-width: 100%;
position: relative;
padding: 0;
}*/

.partner-col {
    margin-top: auto;
    margin-bottom: auto;
    background-color: transparent;
    padding: 0;
}

.partner-info-wrapper {
    background-color: white;
    opacity: 0.7;
}

.logo-div {
    background-color: white;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    width: 130px;
    height: 87px;
    top: 0;
    right: 0;
}

.partner-logo {
    border-radius: 50%;
}

.partner-info-row {
    align-self: center;
    min-width: 100%;
    margin: 0;
}

.food-type-nav {
    margin: 0 !important;
    max-width: 100% !important;
}

.inner-food-type-nav {
    margin: 0 !important;
    max-width: 100% !important;
    padding: 10px 15px 10px 15px !important;
}

.food-type-navbar {
    padding: 0;
    border-bottom: 0.3px solid lightgrey;
}

.food-type-section {
    border-bottom: solid 0.3px lightgrey;
    color: rgba(0, 0, 0, .5);
}

.inner-food-container {
    height: 100%;
    max-width: 100%;
    padding: 0;
}

.food-type-row {
    height: 100%;
    margin: 0;
}

.inner-food-type-row {
    height: 100%;
}

.food-type-nav-col {
    padding: 0;
}

.food-type-col {
    min-height: 100px;
    padding-bottom: 15px;
    padding-top: 15px;
}

.food-detail-col {
    display: table;
    min-height: 100px;
    align-self: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.food-detail-col>span {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.food-type-col>a {
    padding: 0;
}

.food-image-col {
    min-height: 145px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}


/*________Line Clamping__________*/

.addReadMore.showlesscontent .SecSec,
.addReadMore.showlesscontent .readLess {
    display: none;
}

.addReadMore.showmorecontent .readMore {
    display: none;
}

.addReadMore .readMore,
.addReadMore .readLess {
    font-weight: bold;
    margin-left: 2px;
    color: blue;
    cursor: pointer;
}

.addReadMoreWrapTxt.showmorecontent .SecSec,
.addReadMoreWrapTxt.showmorecontent .readLess {
    display: block;
}


/*________Partner - Cart__________*/

.form-col {
    padding: 0;
}

.shipping {
    padding-top: 16px;
}

.add-to-cart-btn:hover {
    color: lightgrey;
}

.cart-input-counter {
    width: 60px;
    position: absolute;
    bottom: 0;
}

.cart-input-btn {
    padding: 3px;
}

.shopping-cart {
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
}

.table-hover {
    white-space: nowrap;
}

.table-hover>tbody>tr>td {
    vertical-align: middle;
}

.quantity {
    width: 60px !important;
    font-size: 13px;
}

.cart-label {
    font-weight: bold
}

.cart-fee-col {
    font-size: 14px;
}

.emptycart {
    text-align: center;
}

.cart-table-cell {
    width: 380px;
}

.cart-details {
    padding-top: 70px;
    max-height: 50vh;
    overflow-y: scroll;
    border-bottom: 0.1px solid grey;
}

.cart-qty-form {
    display: inline-block;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: left;
    width: 100%;
}

.remove-qty-button {
    font-size: 13px;
}

.cart-outer-scroll .only-empty-cart {
    display: none;
}

.cart-outer-scroll.empty-cart .only-empty-cart {
    display: block;
}

.cart-outer-scroll.empty-cart .not-empty-cart {
    display: none;
}


/*---------Mobile Cart Modal-----------*/

.cart-modal-button {
    width: 100%;
    position: fixed;
    bottom: 0;
    height: 55px;
    right: 0;
    z-index: 1000;
    border: 0;
}

.cart-modal-slideup {
    z-index: 10001;
}


/*---------------Checkout--------------*/

.container-row {
    justify-content: center;
}

.checkout-label {
    font-weight: bold
}

.checkout-col {
    font-size: 14px;
}


/*----------------Summary--------------*/

.summary-container {
    font-size: 16px;
    font-family: UberMoveText-Medium, sans-serif;
}

.summary-col>label {
    font-weight: bold;
}

.summary-col {
    font-size: 14px;
}


/*---------------Terms and conditions-----------*/

.terms-container {
    min-height: 90vh;
}


/*---------------Footer---------------*/

.footer {
    padding-top: 50px;
    background: black;
    color: white;
}

.footer-row {
    max-width: 100%;
    padding: 0;
}

.food_filter_allergens .form-check input {
    margin: auto !important;
}


/* Toggle button*/

.toggleButtonDiv {
    position: absolute;
    height: 90%;
    background-color: lightgray;
    top: 5%;
    left: 0;
    border-radius: 0.25rem;
    transition: margin-left 0.2s ease-out, width 0.2s ease-out;
    z-index: 1;
}

.toggleButtonSpan {
    position: relative;
    z-index: 20;
}


/*---------------------- Sidebar ---------------------*/

@media (min-width: 992px) {
    .sidebar-menu {
        position: sticky;
        top: 0;
    }
}

.borderRadiusOwn {
    border-radius: 2rem;
}

.sideMenuCollapse:focus,
.deleteFilter:focus {
    box-shadow: none;
}

.min {
    margin-left: -0.5rem;
}

.max {
    margin-right: -0.5rem;
}

.deleteFilter {
    background-color: #495057;
}


/*----------------------- Search input -------------------------*/

.formSearchOwn {
    min-width: 150px;
}

.formSearchOwn input {
    border-radius: 0;
    border: none;
    border-bottom: 0.2rem solid lightgray;
}

.formSearchOwn input:focus {
    border-bottom: 0.2rem solid lightgray !important;
}

.formSearchOwn input:focus {
    border-bottom: 0.2rem solid lightgray !important;
    box-shadow: none;
}

.formSearchOwn input::placeholder {
    font-weight: 600;
    letter-spacing: 0.1rem;
    color: #495057;
    opacity: 0.65;
}

.searchInputShow {
    border-radius: 0;
    border: none;
    background-color: white;
    border-bottom: 0.2rem solid lightgray;
}

.formSearchOwn div i {
    opacity: 0.65;
}

.search-food-content {
    z-index: 1500;
    background-color: rgb(255, 255, 255);
    border: 0.1rem solid lightgray;
    border-top: none;
    max-height: 30rem;
    overflow: scroll;
}

.active .search-food-content {
    display: block;
}

.notActive .search-food-content {
    display: none;
}

.search-food-content > * {
    z-index: 1500;
}


/*----------------------- Slider -------------------------*/

.sliderContainer {
    position: relative;
    border-radius: 1rem 1rem 0 0;
}

.sliderHeader {
    position: relative;
    border-radius: inherit;
}

.sliderFoodName {
    background-color: rgba(0, 0, 0, .8);
}

.sliderImage {
    width: 100%;
    height: 200px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    object-fit: cover;
    border-radius: inherit;
    opacity: 1;
    transition: .5s ease;
    backface-visibility: hidden;
}

@media only screen and (max-width: 991px) {
    .sliderMiddle {
        background-color: rgba(0, 0, 0, .5);
        border-radius: 0 0 1rem 1rem;
        color: rgb(255, 255, 255);
        padding-bottom: 0.4rem;
    }
}

@media only screen and (min-width: 992px) {
    .sliderMiddle {
        transition: .5s ease;
        opacity: 0;
        position: absolute;
        top: 35%;
        left: 50%;
        transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
    }
    .sliderContainer:hover .sliderImage {
        opacity: 0.3;
    }
    .sliderContainer:hover .sliderMiddle {
        opacity: 1;
    }
    .sliderFoodName {
        border-radius: 0 0 1rem 1rem;
    }
    .sliderContainer {
        border-radius: 1rem;
    }
}