.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.fa-trash {
    color: #721c24 !important;
}

#map_content {
    height: 500px;
    margin-top: 50px;
    margin-bottom: 50px;
    -webkit-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5), -1px 0 2px rgba(0, 0, 0, 1);
    box-shadow: 3px 3px 2px rgba(0, 0, 0, 0.5), -1px 0 2px rgba(0, 0, 0, 1);
}

#map {
    height: 455px;
}

.title-number a {
    color: #777 !important;
}

.title-number a:hover {
    color: #1d44a8 !important;
}

/* CUSTOM MARGINS */

.ml-15 {
    margin-left: 15px;
}

/* User admin */

.user-list-table td{
    vertical-align: middle;
}
.user-status {
    width: 20px;
    height: 20px;
    display: block;
    margin: 0 auto;
}

.alert-home a {
    color: #0c5460;
}

#map {
    width: 100%;
    /*height: 300px;*/
}

.controls {
    margin-top: 10px;
    border: 1px solid transparent;
    border-radius: 2px 0 0 2px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    height: 32px;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#searchInput {
    background-color: #fff;
    font-family: Roboto;
    font-size: 15px;
    font-weight: 300;
    margin-left: 12px;
    padding: 0 11px 0 13px;
    text-overflow: ellipsis;
    width: calc(100% - 24px);
    -webkit-border-radius:2px ;
    -moz-border-radius: 2px;
    border-radius: 2px;
}
#surveys-requests-table_length label{
    margin-top: .5rem;
}
#searchInput:focus {
    border-color: #4d90fe;
}

.faq_container {
    margin-top: 15px;
    padding-bottom: 80px;
    border-bottom: solid 1px #ebebeb;
}

.faq_contents {
    padding-right: 30px;
}

.faq_contents h1 {
    font-size: 40px;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 10px;
}

.faq_contents p {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0px;
    color: #555;
}

.faq_contents ul {
    list-style: none;
}


.pd-r-2 {
    padding-right: 2%;
}

.pd-l-2 {
    padding-left: 2%;
}

.pd-t-2 {
    padding-top: 2%;
}

.pd-b-2 {
    padding-bottom: 2%;
}

.rounded-4p{
    border-radius: 4px !important;
}

div[data-toggle="collapse"] {
    border-bottom: 1px solid #BBDEFB;
    width: 100%;
    cursor: pointer;
    padding: 1%;
}

.faq_container .collapse {
    background: #F5F5F5;
}

.faq-question {
    color: #333;
    font-size: 16px;
}

/* DASHBOARD - HOME */
/* GMAPS CUSTOM TOOLTIPS */

.map-research-link{
    font-size: 16px;
    font-weight: bold;
    padding: 2px 0px;
}
.map-research-store{
    margin: 0;
    font-weight: bolder;
    color: #444;
    font-size: 14px;
    padding: 2px 0px;
}
.map-research-store{
    margin: 0;
    font-weight: bolder;
    color: #444;
    font-size: 14px;
    padding: 2px 0px;
}
.map-research-status{
    font-weight: bold;
    font-size: 14px;
    padding: 2px 0px;
}
.map-research-status span{
    font-weight: bolder;
    color: #444;
}
/* media query for custom css on screens of 1280x800 */
@media (min-width: 1000px) and (max-width: 1440px){
    .dashboard-counts .row:nth-child(1) > div:nth-child(1){
        padding: 0;
    }
    .dashboard-counts .row:nth-child(1) > div{
        padding-right: 0px;
    }
    .dashboard-counts .row:nth-child(1) > div{
        padding-right: 0px;
    }
    .dashboard-counts .row:nth-child(1) > div .title{
        font-size: 1em;
    }
    .dashboard-counts .row:nth-child(1) > div .number{
        font-size: 1.6em;
    }
}

/* REPORTS */

#products-table tr, table.dataTable.nowrap th{
    text-align: center;
}
#products-table_length,#surveys-table_length,
#surveys-table_filter, #products-table_filter,
#surveys-requests-table_length,#surveys-requests-table_filter{
    margin-top: 20px;
}

.price-above-metric{
    background-color: #d80000;
    color: #fff;
    font-weight: bold;
}
.price-below-metric{
    background-color: #00ce6b;
    color: #fff;
    font-weight: bold;
}

#chart-wrapper{
    display: none;
}
#empty-results{
    display: none;
}

/* Shortage map  */
#product_id .select2 .selection, .dashboard-counts .select2 .selection{
    width: 100%;
}

/* CUSTOM BGs */
.bg-found-products{background-color:#00B894}
.bg-total-products{background-color: #0984E3}
.bg-breakdown{background-color: #FF7675}
.bg-finish-time{background-color: #636E72}

.bg-found-products, .bg-total-products,
.bg-breakdown, .bg-finish-time{
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-found-products img, .bg-total-products img,
.bg-breakdown img, .bg-finish-time img{
    width: 20px;
    display: block;
    margin: 0 auto;
}
#research-result-header.dashboard-counts .title{
    min-width: 100px;
}

#research-result-header.dashboard-counts #end-date{
    font-size: 1.3em;
}

#research-result-header.dashboard-counts .item .number{
    margin-left: 20px;
}

.badge.price-approved{
    background-color: #676869;
    color:#fff;
}
.badge.price-pending{
    background-color: #FEC536;
    color:#fff;
}
.badge.price-in-progress{
    background-color: #355FA9;
    color:#fff;
}
.badge.price-finished {
    background-color: #27A573;
    color: #fff;
}

.badge.price-deleted {
    background-color: #a51119;
    color: #fff;
}

@media(min-width: 1900px){
    .d-xxl-block{
        display: block !important;
    }

    #research-result-header.dashboard-counts .item .number{
        margin-left: 0px;
    }

    #research-result-header.dashboard-counts #end-date{
        font-size: 1.4em;
    }

}

/*       CUSTOM CSS FOR PAGES          */

#product-shortage-page select,
#product_variation_customer select,
#product_variation select{
    max-width: 100%;
    width: 100%;
    text-overflow: ellipsis;
    margin-right: 0px !important;
}
#product-shortage-page input,
#product_variation_customer input,
#product_variation input{
    border-radius: 5px;
    width: 100%;
}
#product-shortage-page #generate_report,
#product_variation_customer #generate_report,
#product_variation #generate_report{
    margin-bottom: 0px !important;
}

.ui-autocomplete {
    max-height: 100px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
  }
  /* IE 6 doesn't support max-height
   * we use height instead, but this forces the menu to always be this tall
   */
  * html .ui-autocomplete {
    height: 100px;
  }

#sovi-table{
    margin:0;
}
#competitor_id{
    min-width: 150px;
    max-width: 200px;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}