:root {
    --primary-color: #054369;
    --primary-color-dark: #054369;
}

* {
    font-family: 'Cairo', sans-serif;
}

html {
    height: 100% !important;
}

body {
    padding: 0 !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    overflow-x: hidden !important;
    background-color: #f3f5f9;
}

::-webkit-scrollbar {
    -webkit-appearance: none;
}

::-webkit-scrollbar:vertical {
    width: 12px;
}

::-webkit-scrollbar:horizontal {
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: rgb(0 0 0 / 35%);
    border-radius: 10px;
    border: 2px solid #ffffff;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #ffffff;
}

.cursor-pointer {
    cursor: pointer !important;
}

.modal-content {
    border-radius: 2.5rem !important;
}

.swal2-modal {
    border-radius: 2.5rem !important;
    overflow: auto !important;
}

.type-title {
    font-size: 1.35rem !important;
}

.item-card.fade:not(.show) {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.btn-main {
    --bs-btn-color: #ffffff !important;
    --bs-btn-bg: var(--primary-color) !important;
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: var(--primary-color-dark);
    --bs-btn-hover-border-color: var(--primary-color-dark);
    --bs-btn-focus-shadow-rgb: 32, 171, 127;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: var(--primary-color) !important;
    --bs-btn-active-border-color: var(--primary-color-dark);
    --bs-btn-active-shadow: inset 0 3px 5px#0872B6;
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: var(--primary-color-dark);
    --bs-btn-disabled-border-color: var(--primary-color-dark);
    --bs-btn-focus-box-shadow: var(--primary-color-dark);
}


.text-main {
    color: var(--primary-color) !important;
}

.bg-main {
    background-color: var(--primary-color) !important;
}

.btn {
    border-radius: 150px;
}

.swal2-confirm, .swal2-cancel {
    border-radius: 150px !important;
}

.loading {
    position: fixed;
    background-color: #1616162b;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    z-index: 9999;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.profile-icon {
    width: 50px;
    height: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 22px;
    background-color: #f3f5f9;
    border-radius: 50%;
    -webkit-box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
    color: var(--primary-color);
}

#HomePage {
    height: 100vh !important;
    background: -webkit-gradient(linear, left bottom, left top, from(#0872B6cc), to(#0872B633)), url(https://www.zolzolzol.co.il/assets/images/breadcrumbs_bg.png);
    background: -o-linear-gradient(bottom, #0872B6cc, #0872B633), url(https://www.zolzolzol.co.il/assets/images/breadcrumbs_bg.png);
    background: linear-gradient(0deg, #0872B6cc, #0872B633), url(https://www.zolzolzol.co.il/assets/images/breadcrumbs_bg.png);
    background-color: #0872B6;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}

#HomePage .home-button-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    color: white;
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: block;
    font-size: 18px;
}


#HomePage h1 {
    font-size: 2.5rem !important;
}


#MenuPage .categories-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
    margin: 10px 0 10px 0;
}

#MenuPage .category {
    border-radius: 26px;
}

#MenuPage .category img {
    height: 150px !important;
    width: 150px !important;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 26px;
    background: white;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

#MenuPage .category.active img {
    border: 5px solid var(--primary-color) !important;
}

#MenuPage .category .card-body {
    background-color: var(--primary-color) !important;
    padding: 0;
    border-radius: 26px 26px 0 0;
}

#MenuPage .category .card-footer {
    background-color: var(--primary-color) !important;
    color: white;
    font-weight: bold;
    text-align: center;
    border-radius: 0 0 26px 26px;
    max-width: 150px;
    border: 0;
}

#MenuPage .product {
    background: #fff;
    -webkit-box-shadow: 0 0.3rem 1.525rem -0.375rem rgb(0 0 0 / 10%) !important;
    box-shadow: 0 0.3rem 1.525rem -0.375rem rgb(0 0 0 / 10%) !important;
    padding: 15px;
    min-height: 185px;
    border-radius: 6px;
}

#MenuPage .product .name {
    font-size: 13px !important;
    font-weight: bold !important;
}

#MenuPage .product .price {
    font-size: 14px !important;
    font-weight: bold !important;
    margin-bottom: 5px;
}

#MenuPage .product .description {
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 18px;
    max-height: 40px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 13px !important;
    margin-bottom: 10px;
}

#show-item-image {
    max-height: 200px;
    -o-object-fit: contain;
    object-fit: contain;
}

#MenuPage .product img {
    -o-object-fit: cover !important;
    object-fit: cover !important;
    max-height: 130px;
    width: 100%;
}

@media (max-width: 576px) {
    #MenuPage .category .card-footer {
        max-width: 135px !important;
    }

    #MenuPage .category img {
        height: 135px !important;
        width: 135px !important;
    }

    #MenuPage .product .btn-main {
        font-size: 13px !important;
    }

    #MenuPage .logo {
        height: 110px;
    }

    #MenuPage .logo img {
        height: 85px;
    }
}

#ReceiptPage {
    height: 80vh !important;
}

#ReceiptPage .back-to-home {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    line-height: 80px;
}

@media (max-width: 576px) {
    #ReceiptPage h1 {
        font-size: 2rem !important;
        margin-bottom: 20px;
    }
}

.site-header {
    text-align: center;
    background-color: white;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    -webkit-box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}

.mt-45p {
    margin-top: 20vh;
}

.custom-input {
    display: inline-block;
    height: 100px;
}

.custom-input-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow-x: auto;
    position: relative;
}

.custom-input-group > * {
    margin: 0.4rem 0.3rem;
}

.custom-input-group-legend {
    font-size: 1.5rem;
    font-weight: 700;
    color: #9c9c9c;
    text-align: center;
    line-height: 1.125;
    margin-bottom: 1.25rem;
}

.custom-input-input {
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(100%);
    clip-path: inset(100%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.custom-input-wrapper {
    height: 100%;
}

.custom-input-input:checked + .custom-input-title {
    border-color: var(--primary-color);
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

.custom-input-input:checked + .custom-input-title:before {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.custom-input-input:checked + .custom-input-title .custom-input-icon, .custom-input-input:checked + .custom-input-title .custom-input-label {
    color: var(--primary-color);
}

.custom-input-input:focus + .custom-input-title:before {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}

.custom-input-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 6.5rem;
    min-height: 4rem;
    border-radius: 0.5rem;
    border: 2px solid #b5bfd9;
    background-color: #fff;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    -webkit-transition: 0.15s ease;
    -o-transition: 0.15s ease;
    transition: 0.15s ease;
    cursor: pointer;
    position: relative;
    height: 100%;
}

.custom-input-title:before {
    content: "";
    position: absolute;
    display: block;
    width: 1.15rem;
    height: 1.15rem;
    border: 2px solid #b5bfd9;
    background-color: #fff;
    top: 0.25rem;
    right: 0.25rem;
    opacity: 0;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transition: 0.25s ease;
    -o-transition: 0.25s ease;
    transition: 0.25s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' fill='%23FFFFFF' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' fill='none'%3E%3C/rect%3E%3Cpolyline points='216 72.005 104 184 48 128.005' fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    border-radius: 0;
}

.one_option ~ .custom-input-title:before {
    border-radius: 50%;
}

.custom-input-title:hover {
    border-color: var(--primary-color);
}

.custom-input-title:hover:before {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}

.custom-input-icon {
    -webkit-transition: 0.375s ease;
    -o-transition: 0.375s ease;
    transition: 0.375s ease;
    color: #494949;
}

.custom-input-label {
    color: #707070;
    -webkit-transition: 0.375s ease;
    -o-transition: 0.375s ease;
    transition: 0.375s ease;
    text-align: center;
}

.custom-input-icon img {
    width: 65px;
    height: 35px;
    -o-object-fit: contain;
    object-fit: contain;
}

.form-control:focus, .form-select:focus {
    border-color: black !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.fixed-bottom, .fixed-top {
    width: 100%;
    left: 50%;
    right: 0;
    -webkit-transform: translate(-50%);
    -ms-transform: translate(-50%);
    transform: translate(-50%);
    max-width: 600px;
}

body {
    -ms-grid-column-align: center;
    justify-self: center;
    max-width: 600px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

html[dir="rtl"] .fixed-bottom,
html[dir="rtl"] .fixed-top {
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}

.fixed-bottom, .fixed-top {
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}