.table-active-food .food-name {
    max-width: 220px;
}
.table-active-food .food-name p {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin: 0;
}
.table-active-food .food-ks {
    width: 55px;
    text-align: center;
}
.table-active-food .food-until {
    width: 75px;
    text-align: center;
}

/* new design tune up css */
.search-form .input-group-btn button {
    padding: 8px 12px;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    background: transparent;
    border: 1px solid #e7e7e7;
    border-left: none;
}
#advanced-filters {
    background-color: rgb(246, 251, 255);
    padding: 20px;
}
.table-responsive td a {
    padding: 10px 0px;
    color: #5c4ac7;
    text-decoration: underline !important;
}
.table-responsive td a:hover {
    color: #1976d2;
}
.table-responsive td a.btn {
    padding: 0px;
}
tbody tr td {
    color: #333333;
}
.btn-success {
    color: #fff;
    background-color: #1e7e34;
    border: 1px solid #1e7e34;
    -webkit-box-shadow: 0 2px 2px 0 rgba(30, 126, 52, 0.12), 0 3px 1px -2px rgba(13, 87, 30, 0.2), 0 1px 5px 0 rgba(11, 83, 28, 0.41);
    box-shadow: 0 2px 2px 0 rgba(30, 126, 52, 0.12), 0 3px 1px -2px rgba(13, 87, 30, 0.2), 0 1px 5px 0 rgba(11, 83, 28, 0.41);
}
.btn-success:hover {
    background-color: #1e7e34;
    border: 1px solid #1e7e34;
    -webkit-box-shadow: 0 14px 26px -12px rgba(15, 89, 32, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(15, 89, 32, 0.42);
    box-shadow: 0 14px 26px -12px rgba(15, 89, 32, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(15, 89, 32, 0.42);
}
.clients-category {
    max-width: 180px;
}
.clients-category span {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}
.clients-city, .clients-note, .clients-contact_tel {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.clients-note span {
    width: 100%; float: left;
    max-width: 225px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-height: 25px;
}
.span-note { font-size: 14px; color: #777777; line-height: 14px; }

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__rendered {
    padding: 0.375rem .375rem 0.375rem .45rem;
}
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
    margin: .20rem 0 .20rem .2875rem;
    padding: 3px 0.45rem;
    background-color: rgba(254, 207, 139, 0.5);
    color: black;
}
.select2-container .select2-search--inline {
    display: none;
}


@media (min-width: 991px) and (max-width: 1400px) {
    .clients-category, .clients-category span, .clients-city, .clients-clientSource {
        max-width: 160px;
    }
    .table > tbody > tr > td {
        font-size: 14px;
    }
    .page-wrapper .container-fluid>.col-lg-12>.card {
        padding: 10px;
    }
}

.badge.badge-pill {
    margin: -6px 0;
}
.protocol h3 {
    font-weight: bold;
    margin-top: 20px;
}
.protocol h3.subtitle {
    font-size: 18px;
    color: #333333;
}
.protocol h4 {
    color: #323232;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 20px;
}
.protocol label {
    color: #333333;
    margin-right: 15px;
    margin-left: 2px;
}
.protocol .form-option {
    width: 100%;
    margin-bottom: 10px;
}
div.colored-select .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered, .select2-results .color-select {
    color: #333333;
}
.only-mobile {
    display: none;
}
/* employee styling */
.emp {
    max-width: 1200px;
    margin: 0 auto;
}
.emp .page-wrapper {
    margin-left: 0;
    min-height: initial !important;
    background: #eeeff0;
}
.emp .page-wrapper .container-fluid {
    padding-right: 0;
}
.emp .sidebartoggler {
    display: none;
}
.emp .top-bar-menu {
    display: flex;
    justify-content: space-between;
}
.emp .top-bar-menu .profile-emp a {
    padding: 12px;
    display: block;
}
.emp .top-bar-menu .profile-emp img {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    margin: 0 5px 0 0;
    display: inline;
}
.emp .top-bar img {
    width: 180px;
    height: 100%;
    margin: 20px auto 5px auto;
    display: block;
}
.emp .top-bar ul li {
    float: left;
    margin: 0;
}
.emp .top-bar ul li a {
    padding: 15px 20px;
    display: block;
}
.emp .top-bar ul li.active a {
    background: #eeeff0;;
    color: black;
}
.emp .container-fluid .card-title {
    margin: 0;
    position: relative
}
.emp .container-fluid .card-title h4 {
    display: none;
}
.emp .container-fluid .card-title .table-title-top-action {
    float: left !important;
    top: 5px;
    z-index: 9999;
    position: absolute;
}
.login-form {
    text-align: center;
}

.login-content .login-form img {
    max-width: 180px;
}
.login-form h4 {
    margin: 10px 0 50px 0;
}
.login-form .form-group {
    text-align: left;
}
.login-form .control-label, .login-form .form-group .row div.col-sm-8 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}
.unix-login .container-fluid {
    padding-left: 15px;
}
.alert-dialog {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: #721c24;
}
.blue-link {
    color: #5c4ac7;
    text-decoration: underline !important;
}
.blue-link:hover {
    color: #1976d2;
}
.help-block-foto {
    float: right;
    width: 100%;
    text-align: right;
    margin-top: -20px;
    margin-bottom: 20px;
}
.restaurant-stats {
    max-height: 811px;
    overflow: auto;
}
.restaurant-stats-summary-td {
    text-align: right;
    padding-right: 30px !important;
}
.restaurant-stats-summary-td span:first-child {
    padding-right: 20px;
}

@media (max-width: 1200px) {
    .mini-sidebar .emp .footer {
        left: 0;
    }
}
@media (max-width: 768px) {
    .only-mobile {
        display: block;
    }
    .emp .top-bar ul li {
        width: 50%;
        text-align: center;
    }
    .emp .top-bar ul {
        width: 100%;
    }
    .emp .top-bar-menu .profile-emp {
        display: none;
    }
    .emp .page-wrapper {
        padding-top: 0;
    }
    .emp .footer-logout {
        text-align: center;
        display: block;
        margin-bottom: 10px;
        width: 50%;
        float: left;
    }
    .emp .top-bar img {
        width: 140px;
        margin: 15px auto 15px auto;
    }
    .emp .portal-row-products-id {
        display: none;
    }
    .emp .container-fluid .card {
        padding: 15px;
    }
    .emp .container-fluid .card-title .table-title-top-action {
        position: relative;
    }
    .emp .portal-row-products-price, .emp .portal-row-products-sold, .emp .portal-row-products-active_to {
        display: none;
    }
    .emp .portal-row-products-name {
        width: 75%;
    }
    .emp .portal-row-products-amount {
        width: 25%;
    }
    .table-responsive .table > tbody > tr > td.portal-row-products-amount {
        min-width: 105px;
        text-align: center;
    }
    .emp .portal-row-orders-id, .emp .portal-row-orders-user, .emp .portal-row-orders-price, .emp .portal-row-orders-created_at {
        display: none;
    }
}

@media (max-width: 768px) {
    .login-form .checkbox label {
        float: left !important;
    }
    .login-content {
        margin: 20px 0;
    }
    .mini-sidebar .top-navbar .navbar-header {
        display: none;
    }
    .header .top-navbar {
        padding-left: 15px;
    }
    .table-responsive .table > tbody > tr > td {
        min-width: 135px;
        line-height: 22px;
        padding: 10px 0 !important;
    }
    .table-responsive.restaurant-stats .table > tbody > tr > td {
        min-width: 60px;
    }
    .table > thead > tr > th {
        line-height: 22px;
    }
    .search-form {
        width: 100%;
        margin-top: 10px;
        float: none !important;
    }
    .card-title h4 {
        width: 100%;
        margin-bottom: 20px;
    }
    .table-title-top-action, .table-title-top-action a {
        width: 100%;
    }
    #btn-advanced-filters {
        width: 100%;
        margin-top: 10px;
    }
    .card .profile-tab.nav-tabs .nav-item {
        width: 50%;
        text-align: center;
    }
    .card .profile-tab.nav-tabs .nav-item .nav-link {
        line-height: 22px;
    }
    .datetime-input .col-sm-2 {
        position: absolute;
        right: 15px;
        top: 0;
        width: 40px;
        padding: 0;
    }
    .table-title-top-action a.btn-danger, .table-title-top-action a.btn-primary {
        margin-bottom: 10px;
    }
    #button-save {
        width: 100%;
        float: none !important;
        margin-left: 0 !important;
        margin-bottom: 10px;
    }
    .card-title {
        overflow: hidden;
    }
    .card-title a.btn, .card a.btn {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0 !important;
    }
    .form-group textarea.form-control {
        width: 100% !important;
    }
    .protocol {

    }

    .btn-delete-filter:hover {
        background-color: darkred !important;
    }
    .footer {
        text-align: center;
    }
    .footer span {
        float: none !important;
    }
    .card-body form .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    .restock-modal-counter {
        width: 162px;
        margin: 0 auto;
    }
    .restock-modal input#amount {
        width: 60px;
        height: 50px;
        text-align: center;
        float: left;
    }
    .restock-modal .restock-modal-btn {
        padding: 10px;
    }
    .restock-modal .restock-modal-btn .btn {
        width: 100%;
    }
    .restock-modal .count-click {
        font-weight: bold;
        font-size: 30px;
        float: left;
        padding: 15px;
        line-height: 20px;
        cursor: pointer;
        width: 50px;
        text-align: center;
    }


    .color-select, div.colored-select .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {color: #333333;}
}

/** Opening hours **/
.input-opening-hours {
    display: inline-block;
    width: 8eM;
    padding: 2px;
    letter-spacing: 0.8px;
    margin-right: 5px;
    text-align: center;
}

li {
    line-height: 2; }

.shell {
    position: relative;
    line-height: 1; }
.shell span {
    position: absolute;
    left: 3px;
    top: 1px;
    color: #ccc;
    pointer-events: none;
    z-index: -1; }
.shell span i {
    font-style: normal;
    /* any of these 3 will work */
    color: transparent;
    opacity: 0;
    visibility: hidden; }

input.masked,
.shell span {
    font-size: 16px;
    font-family: monospace;
    padding-right: 10px;
    background-color: transparent;
    text-transform: uppercase; }

.clickable {
    cursor:pointer;
}

.table-checkable tr td:first-child{
    margin-left: 5px;
}

.table-checkable tr.selected {
    background: #F4F4F4;
}
.table-checkable tr.selected td:first-child{
    margin-left: 0px;
    border-left: 5px solid #5c4ac7;
}


.tooltip-inner {
    max-width: 400px;
    white-space:pre-wrap;
}
