﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\ 
for details on configuring this project to bundle and minify static web assets. */
body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

.select2-container {
    width: 100% !important;
}

.select2 {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    border-color: #D7D7D6 !important;
    border-radius: 10px !important;
    color: #87899A !important;
    font-size: 14px !important;
    line-height: 15px !important;
    height: 40px !important;
    padding: 8px !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url(../images/icon_select_modal.svg);
    background-repeat: no-repeat;
    background-position: right 19px center
}

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 26px;
        position: absolute;
        top: 25px !important;
        right: 1px;
        width: 20px;
        display: none;
    }

input[type="search"].x {
    background: url(../images/mJotv.gif) no-repeat right 11px center, url('../images/icon_search.svg') no-repeat left 20px center !important;
}
/* (jQ) Show icon */
input[type="search"].onX {
    cursor: pointer;
}
/* (jQ) hover cursor style */
input[type="search"]::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}
/* Remove IE default X */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
}

.select2-search--inline input[type="search"].x {
    background: none !important;
}

.current-page a {
    color: black !important;
}

#editImgDiv .thumbnail {
    width: 100px;
    height: 100px;
    position: relative;
    display: inline-flex;
}

    #editImgDiv .thumbnail img {
        max-width: 100%;
        max-height: 100%;
        width: 100%;
        border: 1px solid #ddd;
        border-radius: 4px;
        padding: 5px;
        width: 150px;
    }

    #editImgDiv .thumbnail a {
        display: inline-block;
        width: 10px;
        height: 10px;
        position: absolute;
        top: 3px;
        right: 3px;
        background: #c00;
        overflow: hidden;
        text-indent: -9999px;
    }

#previewImgDiv .thumbnail {
    /*width: 100px;
    height: 100px;*/
    position: relative;
    display: inline-flex;
}

    #previewImgDiv .thumbnail img {
        /* max-width: 100%; */
        /* max-height: 100%; */
        width: 100%;
        border: 1px solid #ddd;
        border-radius: 4px;
        padding: 5px;
        width: 200px;
        height: 200px;
    }

    #previewImgDiv .thumbnail a {
        display: inline-block;
        width: 10px;
        height: 10px;
        position: absolute;
        top: 3px;
        right: 3px;
        background: #c00;
        overflow: hidden;
        text-indent: -9999px;
    }

.bg-light-yellow {
    background-color: #FBBD232E !important;
}

.bg-light-green {
    background-color: #28a74542 !important;
}

.bg-light-red {
    background-color: #dc35453b !important;
}

.btnDate {
    position: relative;
    right: 16px;
    float: right;
    bottom: 26px;
}

.ui-tabs .ui-tabs-panel {
    display: block;
    border-width: 0;
    padding: 1em 1.4em;
    background: none;
    overflow: auto;
}

.hide_column {
    display: none;
}

#restaurantTabs .dataTables_filter {
    display: none;
}

/*input[type="search"] {
    background-image: url('../images/icon_search.svg');
    background-repeat: no-repeat;
    background-position: left 20px center;
    border: 1px solid #87899A;
    border-radius: 8px;
    color: #575855;
    font-size: 14px;
    line-height: normal;
    margin-left: 0;
    max-width: 793px;
    padding: 8px 19px 8px 46px !important;
    outline: none;
    width: 100%;
}*/

.dataTables_length {
    display: none;
}

.trumbowyg-box, .trumbowyg-editor {
    min-height: 150px !important;
}

/* start rating */
.stars-outer {
    display: inline-block;
    position: relative;
    font-family: FontAwesome;
}

    .stars-outer::before {
        content: "\f006 \f006 \f006 \f006 \f006";
    }

.stars-inner {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
}

    .stars-inner::before {
        content: "\f005 \f005 \f005 \f005 \f005";
        color: #f8ce0b;
    }

.attribution {
    font-size: 12px;
    color: #444;
    text-decoration: none;
    text-align: center;
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: -1;
}

    .attribution:hover {
        color: #1fa67a;
    }

.text-wrap {
    white-space: normal;
}

.width-100 {
    width: 100px;
}

.width-200 {
    width: 200px;
}

.width-350 {
    width: 350px;
}


.width-500 {
    width: 500px;
}

.width-200-wrap {
    width: 200px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap !important;
}

.width-50 {
    width: 50px;
}

.width-75 {
    width: 75px;
}

.width-30 {
    width: 30px;
}

table {
    margin: 0 auto;
    width: 100%;
    clear: both;
    border-collapse: collapse;
    /*table-layout: fixed;*/
    word-wrap: break-word;
}

    table.dataTable thead .sorting::after, table.dataTable thead .sorting_asc::after, table.dataTable thead .sorting_desc::after, table.dataTable thead .sorting_asc_disabled::after, table.dataTable thead .sorting_desc_disabled::after {
        margin-left: 5px !important;
    }

.card-body-number > ul li {
    width: 100% !important;
}
