body {
    background-color: #f9f9f9;
}

.mr0 {
    margin: 0;
}

.pd0 {
    padding: 0;
}

.model-review {
    width: 50%;
    left: 20%;
    height: max-content;
}

.topNav {
    width: 100%;
    padding: 5px;
    margin: -3px 0px;
    background-color: #005093;
    position: fixed;
    top: 0px;
    text-align: right;
    z-index: 100;
}

    .topNav a, .topNav a:hover {
        color: #ffffff !important;
        text-decoration-line: none;
    }

#topNav .user {
    float: right;
    color: #ffffff;
    font-size: 16px;
    margin: 3px 10px;
}

.navbar-brand img {
    height: 45px;
}

.navbar {
    box-shadow: 0px 3px 5px #c5c5c5;
    padding: 0px 10px;
}

.menu-top {
    font-size: 16px;
    padding: 15px 25px;
    color: rgba(0,0,0,.5);
}

.navbar-brand {
    margin-right: 1rem;
}

.back-to-top {
    display: inline-block;
    height: 50px;
    width: 50px;
    position: fixed;
    bottom: 35px;
    right: 15px;
    z-index: 1100;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    /*background: #005093 url(../images/arrow-up.png) no-repeat center 50%;*/
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s, background-color .3s 0s;
    transition: opacity .3s 0s, visibility 0s .3s, background-color .3s 0s;
}

    .back-to-top.back-to-top--show,
    .back-to-top.back-to-top--fade-out,
    .back-to-top:hover {
        -webkit-transition: opacity .3s 0s, visibility 0s 0s, background-color .3s 0s;
        transition: opacity .3s 0s, visibility 0s 0s, background-color .3s 0s;
    }

    .back-to-top.back-to-top--show {
        visibility: visible;
        opacity: 1;
    }

    .back-to-top.back-to-top--fade-out {
        opacity: .5;
    }

    .back-to-top:hover {
        background-color: #0062b4;
        opacity: 1;
    }

#main {
    padding-top: 80px;
    padding-bottom: 70px;
}

.spanControl {
    background-color: #005093;
    color: #ffffff;
    border: #005093;
}

.form-control {
    border: 1px solid #005093;
}

.btn-confirm {
    background-color: #2dbead;
    color: #fff;
    font-size: 16px;
    text-align: center;
    float: right;
}

    .btn-confirm:hover {
        background-color: #179889;
        color: #fff;
    }

.btn-cancel {
    background-color: #dc3545;
    color: #fff;
    font-size: 16px;
    text-align: center;
    float: left;
}

    .btn-cancel:hover {
        background-color: #b4303d;
        color: #fff;
    }

.popover {
    width: 300px;
    left: -15px;
    position: relative;
    z-index: 1030;
}

    .popover label {
        float: right;
    }

.popover-body {
    font-size: 12px;
    font-weight: 500;
    padding: 0;
}

    .popover-body a {
        color: black;
        text-decoration: none;
    }

ul {
    list-style: none;
    padding: 0;
}

.modal {
    z-index: 1100;
    top: 40px;
}

.modal-backdrop {
    z-index: 1080;
}

li {
    list-style: none;
}

#noti {
    margin: 0
}

.alert_list {
    background: #e2e2e26b
}

li.alert_li {
    color: grey;
    padding: 15px 10px 2px;
    border-bottom: thin solid #c0c0c0;
}

    li.alert_li:hover {
        background-color: #eee
    }

a.alert_li {
    text-decoration: none;
}

.turn_off_alert {
    float: right;
    margin-bottom: 1px
}

a.alert_message {
    color: grey
}

    a.alert_message:hover {
        color: grey;
    }

.cart_list {
    background: #e2e2e26b
}

li.cart_list {
    color: grey;
    padding: 15px 10px 2px;
    border-bottom: thin solid #c0c0c0;
}

.StatusWaitting {
    float: right;
    color: #9E9E9E;
    width: fit-content;
    border: solid 1px;
    padding: 3px 10px;
    border-radius: 5px;
}

.StatusAccept {
    float: right;
    color: #FF5722;
    border: solid 1px;
    padding: 3px 10px;
    border-radius: 5px;
    width: fit-content;
}

.StatusCooking {
    float: right;
    color: darkblue;
    border: solid 1px;
    padding: 3px 10px;
    border-radius: 5px;
    width: fit-content;
}

.StatusDone {
    float: right;
    color: #1eaf24;
    border: solid 1px;
    padding: 3px 10px;
    border-radius: 5px;
    width: fit-content;
}

.StatusPaid {
    float: right;
    color: #9C27B0;
    border: solid 1px;
    padding: 3px 10px;
    border-radius: 5px;
    width: fit-content;
}

.StatusReject {
    float: right;
    color: #dd0024;
    border: solid 1px;
    padding: 3px 10px;
    border-radius: 5px;
    width: fit-content;
}

.cardBodyLeft {
    text-align: left;
}

.cardBodyRight {
    text-align: right;
}

/* 2020/05 */
.navbar-light .navbar-nav .nav-link {
    color: #212529;
    border-bottom: 3px solid transparent;
    padding-right: 1.5rem;
}

.navbar-light .navbar-nav .nav-item a.nav-link:hover {
    color: #e44365 !important;
}

.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: #e44365 !important;
    border-bottom: 3px solid #05A3FF;
}

.menu-right span {
    color: #bfbfbf;
}

.menu-right a {
    color: #212529;
    padding: 0 5px;
    position: relative;
}

    .menu-right a:hover {
        color: #e44365 !important;
    }

.menu-right .img-flag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.bg-light {
    background-color: #fff !important;
}

.navbar.bg-light {
    background-color: transparent !important;
    -webkit-box-shadow: 0px 1px 6px 1px rgba(0,0,0,0.16);
    -moz-box-shadow: 0px 1px 6px 1px rgba(0,0,0,0.16);
    box-shadow: 0px 1px 6px 1px rgb(0 0 0 / 0%);
    background: transparent;
}

.badge-danger {
    color: #fff !important;
    background-color: #EC2A7F;
    position: absolute;
    border-radius: 50%;
    height: 16px;
    width: 16px;
    text-align: center;
    bottom: -6px;
    right: -2px;
}

.show-xs {
    display: none;
}

#main.pt-0 {
    padding-top: 0;
}

.popover {
    font-family: 'Kanit-Regular';
    border: 1px solid rgba(0, 0, 0, .125);
    -webkit-box-shadow: 0px 1px 6px 0px rgba(0,0,0,0.16);
    -moz-box-shadow: 0px 1px 6px 0px rgba(0,0,0,0.16);
    box-shadow: 0px 1px 6px 0px rgba(0,0,0,0.16);
    border-radius: .25rem;
}

    .popover .arrow {
        display: none
    }

.popover-header {
    background-color: #fff;
}

.popover-body a {
    color: #212529;
}

.popover .noti-title {
    font-size: 14px;
}

.popover .noti-detail {
    font-size: 12px
}

.popover .noti-date {
    font-size: 11px
}

.popover .popover-footer {
    border-top: 1px solid rgba(0, 0, 0, .125);
    text-align: center;
}

.navbar-brand .logo {
    height: 45px;
    padding: 4px;
}
/* Mobile */
@media (min-width: 300px) and (max-width: 768px) {
    .card-header p {
        font-size: smaller;
    }

    .cardBodyLeft {
        text-align: center;
    }

    .cardBodyRight {
        text-align: center;
    }

    .StatusWaitting {
        font-size: smaller;
    }

    .StatusAccept {
        font-size: smaller;
    }

    .StatusCooking {
        font-size: smaller;
    }

    .StatusDone {
        font-size: smaller;
    }

    .StatusPaid {
        font-size: smaller;
    }

    .StatusReject {
        font-size: smaller;
    }

    .model-review {
        width: 90%;
        left: 5%;
        height: max-content;
    }

    .topNav {
        font-size: 12px;
    }

    .menu-top:hover, .menu-top:active {
        border-right: 3px solid #005093;
        color: #005093 !important;
    }

    .navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show > .nav-link {
        border-right: 3px solid #005093;
        color: #005093;
    }

    .back-to-top {
        height: 40px;
        width: 40px;
        right: 10px;
        bottom: 10px;
    }

    .badge-danger {
        font-size: 10px;
    }

    .card-title {
        margin-bottom: 5px;
        font-size: 16px;
    }

    h5 {
        padding: 0px;
    }

    .navbar {
        box-shadow: 0px 3px 5px #737373;
        padding: 5px 10px;
    }

    /*Mobile 2020/05*/
    .navbar-collapse {
        position: absolute;
        top: 50px;
        background: #fff;
        width: 100%;
        left: 0;
        border-bottom: 2px solid #transparent;
    }

    .hide-xs {
        display: none;
    }

    .show-xs {
        display: block;
    }

    .navbar-brand {
        position: absolute;
        top: 5px;
        left: 0;
        right: 0;
        text-align: center;
        z-index: -1;
    }

        .navbar-brand img {
            height: 32px;
        }

    .menu-right a {
        padding: 0 3.5px;
    }

    .menu-right .img-flag {
        width: 18px;
        height: 18px;
    }

    .navbar-light .navbar-toggler {
        border: none;
        padding: 0;
    }

        .navbar-light .navbar-toggler:focus {
            outline: none !important;
        }

    .navbar-light .navbar-nav .nav-link {
        padding-right: 0;
        padding-left: 10px
    }

    .icon-bar {
        width: 25px;
        height: 3px;
        background-color: #ffffff;
        display: block;
        transition: all 0.2s;
        margin-top: 4px;
    }

    .navbar-toggler {
        border: none;
        background: transparent !important;
    }

        .navbar-toggler .top-bar {
            transform: rotate(45deg);
            transform-origin: 10% 10%;
        }

        .navbar-toggler .middle-bar {
            opacity: 0;
        }

        .navbar-toggler .bottom-bar {
            transform: rotate(-45deg);
            transform-origin: 10% 90%;
        }

        .navbar-toggler.collapsed .top-bar {
            transform: rotate(0);
        }

        .navbar-toggler.collapsed .middle-bar {
            opacity: 1;
        }

        .navbar-toggler.collapsed .bottom-bar {
            transform: rotate(0);
        }

    .nav-item.border-btm {
        padding: 10px;
        border-bottom: 1px solid #bfbfbf;
    }

        .nav-item.border-btm span {
            color: #bfbfbf;
        }

    .navbar-brand .logo {
        height: 40px;
        padding: 4px;
        margin-top: -3px;
    }
}

.btn-clear {
    color: #fff;
    background-color: #ED1C24;
    border-color: #ED1C24;
}

.pd-5 {
    padding: 5px;
}

.drangerMessege {
    color: #ed1b24;
}
