* {
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
}

html, body, input {
    font-family: AmsiRegular !important;
    background-color: white;
}

button {
    font-family: AmsiRegular !important;
}


p {
    margin-top: 0px !important;
    margin-bottom: 0px;
}


.nav-colored {
    box-shadow: 0px -3px 20px rgba(0, 0, 0, 0.08);
    transition: 0.5s;
}

.nav-transparent {
    transition: 0.5s;
    background-color: transparent;
}

.nav-link {
    letter-spacing: 0.5px;
    font-family: GilroyMedium;
    color: #828282;
    margin-left: 15px;
    font-size: 14px;
}


.container {
    background-color: white;
}

.delivery-tab .left-section p {
    font-size: 14px;
    font-family: AmsiBold;
}

.delivery-tab .left-section span p {
    color: #828282;
    font-size: 12px;
    font-family: AmsiRegular;
}

.delivery-tab {
    z-index: 2;
}

.title-tab {
    left: 0;
    right: 0;
    height: 141px;
    background-image: url('../img/bg_shape.svg');
    background-repeat: no-repeat;
    background-size: cover;
}

    .title-tab .top-logo {
        width: 100%;
    }

.form-inline button {
    background-color: white;
    outline: none;
    border: none;
}

.form-inline input {
    margin-right: auto;
}

/* Restaurant Item */

.content-tab h3 {
    margin-top: 20px;
    margin-bottom: 25px;
    font-size: 18px;
    font-family: AmsiBold;
}

.resto-item .right-side h5 {
    white-space: nowrap;
    width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333333;
    font-family: AmsiBold;
    font-size: 14px;
}

.resto-item .right-side p.resto-addres {
    white-space: nowrap;
    width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #828282;
    font-size: 10px;
}

.resto-item .right-side span p {
    margin-left: 8px;
    font-family: AmsiSemibold;
    color: #333333;
    font-size: 10px;
}

.resto-item {
    background-color: white;
    overflow: hidden;
    border-radius: 7.45px;
    box-shadow: 0px 9.24px 22.36px rgba(0, 0, 0, 0.07);
}

.search-wrapper {
    width: 100%;
    position: relative;
}

    .search-wrapper button {
        position: absolute;
        top: 45%;
        left: 2%;
        transform: translateY(-50%);
        background: none;
        border: none;
    }

    .search-wrapper input {
        padding-left: 12%;
    }


/* Menu List */


.resto-details .left-section span p {
    font-size: 10px;
    color: #333333;
}


/* End of Menu List */


/* Menu Category */

.top-header {
    box-shadow: 0px -1.76px 22.36px rgba(0, 0, 0, 0.07);
}

.scrollmenu a {
    font-family: AmsiBold;
    font-size: 12px;
}

.second-top-header {
    transition: 0.7s;
}



.menu-category {
    transition: 0.5s;
}

div.scrollmenu {
    overflow: auto;
    white-space: nowrap;
}

    div.scrollmenu a {
        display: inline-block;
        color: #333333;
        text-align: center;
        padding: 14px;
        text-decoration: none;
    }

        /* div.scrollmenu a:hover {
    background-color: #777;
} */

        div.scrollmenu a:focus {
            color: #0694D3;
        }


/* End of Menu Category */

/* .resto-item .right-side{
    padding: 40px;
} */

/* End of Restaurant Item */


/* Main Content */

.menu-items-master {
    padding-bottom: 500px;
}


.category-title p:first-child {
    font-size: 12px;
    color: #333333;
    font-family: AmsiBold;
}

.category-title p:last-child {
    font-size: 12px;
    color: #828282;
}

.separator-line {
    height: 1px;
    background-color: #F2F2F2;
}

.menu-content-item .left-side p:first-child {
    font-size: 14px;
    color: #333333;
    font-family: AmsiBold;
}

.menu-content-item .left-side p:nth-child(2) {
    font-size: 10px;
    color: #4F4F4F;
    font-family: AmsiBold;
}

.menu-content-item .left-side p:last-child {
    font-size: 12px;
    color: #034B7F;
    font-family: AmsiBold;
}

.menu-content-item .left-side img {
    border-radius: 7.5px;
}

.menu-content-item .right-side {
    align-self: flex-end;
    overflow: hidden;
    border-radius: 3px;
    background-color: white;
    background: white;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.15);
}

    .menu-content-item .right-side button {
        background-color: white !important;
        outline: none;
        border: none;
    }

        .menu-content-item .right-side button:focus {
            background-color: #F2F2F2 !important;
        }

    .menu-content-item .right-side p {
        font-size: 12px;
        font-family: AmsiBold;
    }

/* End of Main Content */

/* Bottom Cart Button */

.cart-button p {
    font-size: 14px;
    color: white;
    font-family: AmsiBold;
}

.cart-button .left-side p:last-child {
    color: white;
    font-size: 12px;
    font-family: AmsiRegular;
}

.cart-button {
    font-size: 14px;
    color: white;
    font-family: AmsiBold !important;
    margin-bottom: 15px;
    margin-top: 15px;
    padding: 20px 15px;
    border-radius: 5px;
    background-color: #27AE60;
}

.payment-method-button {
    font-size: 14px;
    color: white;
    font-family: AmsiBold !important;
    margin-bottom: 15px;
    margin-top: 15px;
    padding: 20px 15px;
    border-radius: 5px;
    border: 1px solid #E0E0E0;
}

p.payment-text {
    font-size: 14px;
    color: #333333;
}

.bottom-cart-button {
    box-shadow: 0px -1px 10px rgba(0, 0, 0, 0.10);
}

/* End of Bottom Cart Button */

/* Delivery Details Screen */

.form-group label {
    font-size: 14px;
    font-family: AmsiBold;
}

.form-group input.form-input {
    font-size: 14px;
    padding: 30px 20px;
}

.form-group input.form-radio {
    width: 200px;
}


.boxed label {
    margin-right: 10px;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
    padding: 12px 25px;
    border: solid 2px #ccc;
    transition: all 0.3s;
}

.boxed input[type="radio"], .boxed input[type="checkbox"] {
    display: none;
}

    .boxed input[type="radio"]:checked + label,
    .boxed input[type="checkbox"]:checked + label {
        border: solid 1px #fff;
        color: white;
        background: rgb(6,148,211);
        background: linear-gradient(34deg, rgba(6,148,211,1) 0%, rgba(5,123,182,1) 0%, rgba(3,75,127,1) 100%);
    }

.del-on {
    overflow: auto;
    white-space: nowrap;
}

form.boxed label {
    width: 100%;
}

.delivery-details {
    padding: 20px 0px !important;
    background-color: white;
}

.cart-button div.left-button p {
    color: #333333;
}


/* End of Delivery Details Screen */

/* OTP Page */

.otp-content .form-group {
    font-size: 40px !important;
}

.otp-content p {
    line-height: 30px;
    font-family: AmsiBold;
    font-size: 14px;
}

.otp-content {
    height: 100vh;
}







/* End of OTP Page */


/* Order Cart */

.cart-menu-item .menu-content {
    border-bottom: 1px solid #F2F2F2;
}

.cart-price-details .d-flex {
    font-size: 14px;
    font-family: AmsiRegular;
    width: 100%;
}

    .cart-price-details .d-flex p:first-child {
        color: #828282;
    }

    .cart-price-details .d-flex p:last-child {
        font-family: AmsiBold !important;
        color: #034B7F;
    }

.cart-price-details p.total-price {
    font-family: AmsiBold;
    color: #333333 !important;
}

.modal-backdrop {
    z-index: 1001 !important;
}

.bottom-cart-button {
    z-index: 2 !important;
}


/* End of Order Cart */

.login-main {
    /* height: 100vh; */
    margin-top: 100px !important;
}

/* Login */

.login-btn {
    font-family: AmsiBold;
    background: rgb(6,148,211);
    background: linear-gradient(34deg, rgba(6,148,211,1) 0%, rgba(5,123,182,1) 0%, rgba(3,75,127,1) 100%);
}

.other-login-button {
    border: 1px solid #d1d1d1;
    background: white !important;
    background-color: white !important;
}

    .other-login-button p {
        color: #333333;
    }


/* End of Login */

.restaurant-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 35%;
    border-radius: 10%;
}

.category-container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width:1200px) {
    .category-container {
        max-width: 1140px
    }
}


.sticky-category {
    z-index: 9;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
}

@media(min-width: 768px) {
    .container-main {
        margin: auto;
    }
}


/* Quantity */

.modifier_button {
    width: 40%;
}

.modifier_button_editor {
    width: 40%;
}

.input_amount {
    outline: none;
    border: none;
    width: 100%;
}


@media(min-width: 768px) {
    .input_amount {
        width: 30%;
    }

    .modifier_button {
        width: 20%;
    }
    .modifier_button_editor {
        width: 20%;
    }
}


@media(min-width: 1024px) {
    .modifier_button {
        width: 12%;
    }
    .modifier_button_editor {
        width: 30%;
    }
}


@media(min-width: 1440px) {
    .modifier_button {
        width: 10%;
    }
    .modifier_button_editor {
        width: 30%;
    }
}


@media (max-width: 767.98px) {
    .login-other-title {
        font-size: 0.8em;
    }
}

/* Mobile fit */
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    #fit-mobile {
        padding: 0% 0% 0% 0%;
    }

    nav#bottom-navbar {
        position: fixed;
        bottom: 0;
        padding: 5px 0px 10px 0px;
        box-shadow: 0px 0px 9px 0px #aaa;
        z-index: 99999;
    }
}

@media only screen and (max-width: 767px) {
    #fit-mobile {
        max-width: 459px;
    }

    nav#bottom-navbar {
        position: fixed;
        bottom: 0;
        padding: 5px 0px 10px 0px;
        box-shadow: 0px 0px 9px 0px #aaa;
        z-index: 99999;
        left: 0;
        right: 0;
        max-width: 459px;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    #fit-mobile {
        max-width: 459px;
    }

    nav#bottom-navbar {
        position: fixed;
        bottom: 0;
        padding: 5px 0px 10px 0px;
        box-shadow: 0px 0px 9px 0px #aaa;
        z-index: 99999;
        left: 0;
        right: 0;
        max-width: 459px;
    }
}

/* Large devices (laptops/desktops, 1024px and up) */
@media only screen and (min-width: 1024px) {
    #fit-mobile {
        max-width: 459px;
    }

    nav#bottom-navbar {
        position: fixed;
        bottom: 0;
        padding: 5px 0px 10px 0px;
        box-shadow: 0px 0px 9px 0px #aaa;
        z-index: 99999;
        left: 0;
        right: 0;
        max-width: 459px;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    #fit-mobile {
        max-width: 459px;
    }

    nav#bottom-navbar {
        position: fixed;
        bottom: 0;
        padding: 5px 0px 10px 0px;
        box-shadow: 0px 0px 9px 0px #aaa;
        z-index: 99999;
        left: 0;
        right: 0;
        max-width: 459px;
    }
}

#top-menu {
    max-width: 459px;
    margin: auto;
}

#topHeader, #total-container, #main-content, #continue-button, #bottom-bar, #bottom-cart {
    max-width: 459px;
    margin: auto;
}

.register-wrapper {
    padding-top: 20px;
}

.register-wrapper {
    padding-top: 20px;
}

    .register-wrapper a, .login-wrapper a {
        padding-left: 10px;
        color: #0366d6 !important;
        font-weight: bold;
    }



span.sales-type-indicator {
    background: #6c757d;
    color: white;
    padding: .25em .4em;
    /* line-height: 10px; */
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}

nav#bottom-navbar {
    position: fixed;
    bottom: 0;
    padding: 5px 0px 10px 0px;
    box-shadow: 0px 0px 9px 0px #aaa;
    z-index: 99999;
}

h5.title-profile {
    font-family: AmsiBold;
    color: white;
    margin-bottom: 0px;
}

.card-white {
    font-family: AmsiBold;
    background: white;
    border-radius: 10px;
    padding: 9px 0px;
    bottom: -26px;
    box-shadow: 0px 0px 3px 0px #b8b8b8;
}


.card-point {
    font-family: AmsiBold;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 0px 3px 0px #b8b8b8;
    background-image: url('../img/bg_shape.svg');
    background-repeat: no-repeat;
    background-size: cover;
}

h6.user-name {
    color: black;
    margin-bottom: 5px;
    margin-top: 5px;
}

a.edit-profile-btn {
    color: #2D9CDB !important;
    font-size: 13px;
}

img#photo-profile {
    width: 100%;
    padding: 1px;
}

.point-wrapper {
    margin-top: 30px !important;
}


.point-number {
    color: white;
}

h6.point-label.text-center {
    color: white;
    font-size: 12px;
    font-weight: 100;
}

h6.point-number.text-center, h6.point-label.text-center {
    margin: 12px 0px;
}

nav#top-navbar {
    box-shadow: 0px 0px 9px 0px #aaa;
    padding: 10px 0px;
    position: fixed;
    top: 0;
    z-index: 99999;
}

.text-black {
    color: black;
}

div#content-voucher {
    margin-top: 67px;
}

.banner-voucher {
    height: 80px;
    background: #0569A2;
    border-radius: 6px 6px 0px 0px;
    background-image: url('../img/bg_shape.svg');
    background-repeat: no-repeat;
    background-size: cover;
}

.card-voucher {
    box-shadow: 0px 0px 5px 0px #aaa;
    border-radius: 6px;
}

.description-left {
    color: #4F4F4F;
    font-weight: bold;
}

.description-right {
    font-weight: bold;
    color: #2D9CDB;
}

.banner-voucher {
    padding: 14px;
    color: white;
    font-weight: 600;
}

div#background-detail-voucher {
    height: 200px;
    background-image: url('../img/bg_shape.svg');
    background-repeat: no-repeat;
    background-size: auto;
    background-position-y: 56px;
    z-index: 10;
}

h6.label-point-detail {
    font-weight: bold;
}

span.detail-point-burn {
    font-weight: bold;
    color: #2D9CDB;
}

.btn-redeem {
    width: 100%;
    font-size: 14px;
    font-weight: bold;
    background: linear-gradient(180deg, #0578b3, #04679f);
    padding: 10px 0px;
}

#btn-redeem-wrapper {
    position: fixed;
    bottom: 15px;
}

img.coupon-img {
    height: 150%;
    position: absolute;
    top: -13px;
    z-index: 9;
    transform: rotate(-23deg);
    left: 12%;
}

.description-voucher {
    z-index: 10;
    background: white;
}

img.voucher-detail-img {
    position: absolute;
    bottom: -8px;
    height: calc(100% - 50px);
    transform: rotate(-23deg);
    z-index: 999;
    left: 1%;
    display: none;
}

div#alert-redeem {
    position: fixed;
    z-index: 99999;
    background: transparent;
    /* bottom: -1px; */
    top: 70px;
}


.container.content-tab {
    padding-bottom: 70px;
}

div#content-sales-type {
    position: fixed;
    top: 50%;
    transform: translateY(-80%);
}

#order-status-wrapper {
    position: fixed;
    top: 50%;
    transform: translateY(-80%);
}

.menu-items-master-status {
    padding-bottom: 0px;
}

.title-my-order {
    color: #333333;
    font-family: AmsiBold
}

.order-status-container {
    padding-top:15px;
}

.container.order-status-container {
    margin-bottom: 30px;
    box-shadow: 0px 2px 8px 1px #e9ecef;
}

/*Carousel CSS Custom*/

div#container-carousel {
    height: 180px;
}

div#carouselExampleIndicators {
    height: 100%;
}

.carousel-item {
    height: 100%;
}

.carousel-inner {
    height: 100%;
}

img.d-block.w-100 {
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
}

.carousel-caption h5 {
    margin: 0px;
}

.carousel-caption {
    padding: 0px 0px 10px;
}

div#btnLogoutContainer, #btnLogoutAnchor {
    position: fixed;
    bottom: 65px;
    left: 0;
    right: 0;
    max-width: 459px;
}

.left-side.d-flex.align-items-center {
    max-width: 60%;
}

.promotion-button {
    font-size: 14px;
    color: white;
    font-family: AmsiBold !important;
    margin-bottom: 15px;
    margin-top: 15px;
    padding: 20px 15px;
    border-radius: 5px;
    background-color: #ffc107;
    flex: 1;
}

#confirm-button, #promotion-button {
    flex: 1;
}

#promotion-button {
    padding-left: 15px;
}

.promotionItem {
    font-size: 16px;
    border-bottom: 1px solid #00000029;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
}