﻿
.rounded-custom {
    border-radius: 13px;
}

.flex-container {
    display: flex;
}
/* start mobile screen */
@media (max-width: 720px) {
    .flex-container {
        flex-direction: row;
    }

    .FoodCart {
        width: 350px;
        min-height: 80px;
        border-color: #e6e6e6;
        overflow: hidden;
    }

        .FoodCart.active {
            border-color: #dc3545 !important;
        }

            .FoodCart.active .food-name-div .activ-border {
                border-bottom-color: #dc3545 !important;
            }

            .FoodCart.active .wFoodCart-footer .btn-minus {
                background-color: #dc3545;
            }

            .FoodCart.active .wFoodCart-footer .btn-plus {
                background-color: #36cc9d;
            }

    .img-food {
        width: 80px;
        height: 80px;
        margin-left: 0.5rem !important;
        margin-right: 0.25rem !important;
        margin-bottom: 0 !important;
        min-width: 80px;
        min-height: 80px;
    }

    .img-fooddiv {
        margin-bottom: 0 !important;
        -ms-flex-item-align: center !important;
        align-self: center !important;
    }

    .wFoodCart-gallery {
        width: 20px;
        position: absolute;
        top: 5px;
        left: 5px;
        -webkit-transition: all 0.25s ease-in-out;
        transition: all 0.25s ease-in-out;
        margin-left: auto !important;
        margin-right: auto !important;
    }

        .wFoodCart-gallery:hover {
            cursor: pointer;
            -webkit-box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
            box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
        }

    .food-name-div {
        margin-top: 24px;
        width: 249px;
    }

        .food-name-div p {
            display: none;
        }

        .food-name-div h5 {
            text-align: right !important;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            padding-bottom: 0.25rem !important;
            margin: 0 !important;
            border-bottom: 1px solid #dee2e6;
            font-size: 1.25rem;
            font-family: inherit;
            font-weight: 500;
            line-height: 1.2;
            color: inherit;
        }

    .wFoodCart-footer {
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
        -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        flex-direction: row-reverse;
    }

    .price-div {
        padding-left: 1.5rem !important;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
        -webkit-box-pack: center !important;
        -ms-flex-pack: center !important;
        justify-content: center !important;
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
    }

    .price {
        color: #dc3545;
        font-size: 1.3em;
        margin-right: 5px;
        display: inline-block;
        margin-left: 9px;
    }

    .price-text {
        position: absolute;
        left: 0;
        display: inline-block;
        font-size: 13px;
        color: #979797;
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
        font-weight: 700;
    }

    .add-min {
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
        -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
    }

    .btn1 {
        background-color: #d6d6d6;
        width: 23px;
        height: 23px;
        padding: 3px;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        display: inline-block;
        font-weight: 400;
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        border: 1px solid transparent;
        padding: 0.375rem 0.75rem;
        font-size: 1rem;
        line-height: 1.5;
        border-radius: 0.25rem;
        -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
        transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
        transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    }

        .btn1:focus {
            outline: none;
        }

        .btn1 img {
            width: 100%;
            height: auto;
        }

        .btn1:not(:disabled):not(.disabled) {
            cursor: pointer;
        }

    .add-min span {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }
}
/* end mobile screen */

/* start pc screen */
@media (min-width: 720px) {
    .flex-container {
        flex-direction: column;
    }

    .FoodCart {
        width: 211px;
        min-height: 328px;
        border-color: #e6e6e6;
    }

        .FoodCart.active {
            border-color: #dc3545 !important;
        }

            .FoodCart.active .wFoodCart-footer .price-div {
                border-bottom-color: #dc3545 !important;
            }

            .FoodCart.active .wFoodCart-footer .btn-minus {
                background-color: #dc3545;
            }

            .FoodCart.active .wFoodCart-footer .btn-plus {
                background-color: #36cc9d;
            }

    .img-food {
        width: 134px;
        height: 134px;
        margin-top: 1.5rem !important;
        min-width: 134px;
        min-height: 134px;
    }

    .img-fooddiv {
        margin-bottom: 0.25rem !important;
    }

    .wFoodCart-gallery {
        width: 24px;
        position: absolute;
        top: 5px;
        right: 5px;
        -webkit-transition: all 0.25s ease-in-out;
        transition: all 0.25s ease-in-out;
    }

        .wFoodCart-gallery:hover {
            cursor: pointer;
            -webkit-box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
            box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
        }

    .wFoodCart-description {
        font-size: 0.94em;
        height: 40px;
        overflow: hidden;
    }

    .price-div {
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
        -webkit-box-pack: center !important;
        -ms-flex-pack: center !important;
        justify-content: center !important;
        display: flex !important;
        border-bottom: 1px solid #dee2e6;
    }

    .price {
        color: #dc3545;
        font-size: 1.3em;
        margin-right: 5px;
    }

    .price-text {
        display: inline-block;
        font-size: 13px;
        color: #979797;
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
        font-weight: 700;
        position: absolute;
        left: 0;
    }

    .add-min {
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
        -webkit-box-pack: center !important;
        -ms-flex-pack: center !important;
        justify-content: center !important;
        display: flex !important;
        margin: 0.25rem !important;
    }

        .add-min span {
            padding-right: 0.5rem !important;
            padding-left: 0.5rem !important;
        }

    .btn1 {
        background-color: #d6d6d6;
        width: 25px;
        height: 25px;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        display: inline-block;
        font-weight: 400;
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        border: 1px solid transparent;
        padding: 0.375rem 0.75rem;
        font-size: 1rem;
        line-height: 1.5;
        border-radius: 0.25rem;
        -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
        transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
        transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    }

        .btn1 img {
            width: 100%;
            height: auto;
        }

        .btn1:focus {
            outline: none;
        }

    .prl {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .wFoodCart .wFoodCart-footer .btn1 {
        background-color: #d6d6d6;
        width: 25px;
        height: 25px;
    }

        .wFoodCart .wFoodCart-footer .btn1 img {
            width: 100%;
            height: auto;
        }

    .food-name-div {
        padding: 0.5rem !important;
    }

        .food-name-div h5 {
            text-align: center !important;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
}
/* end pc screen */
