

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.pagination {
    display: flex;
    justify-content: center;
}

.pagination a {
    display: flex;
    height: 24px;
    width: 24px;
    align-items: center;
    justify-content: center;
    border: 1px solid #000;
    margin: 0 5px;
    color: #000;
    font-size: 14px;
}

.pagination .current-item{
    display: flex;
    height: 24px;
    width: 24px;
    align-items: center;
    justify-content: center;
    border: 1px solid #000;
    background: #000;
    margin: 0 5px;
    color: #fff;
    font-size: 14px;
}

nav a {
    color: #fff;
}

.stock-status {
    display: inline-block;
    height: 10px;
    width: 10px;
    border-radius: 10px;

}

.stock-status.ALot {
    background: green;
}

.stock-status.Available {
    background-color: #2aabd2;
}

.stock-status.ProductIsEnding {
    background-color: orange;
}

.stock-status.Unavailable {
    background-color: red;
}

.price-cell {
    text-align: right;
}

.mobile-toggle {
    display: none;
}

.nav-tabs .nav-link {
    color: #000;
    font-weight: 700;
}

.products-list-autocomplete {
    position: absolute;
    list-style: none;
    padding: 0;
    background: #fff;
    border: 1px solid #eee;
    z-index: 99;
    
}

.client-list-autocomplete {
    position: absolute;
    list-style: none;
    padding: 0;
    background: #fff;
    border: 1px solid #eee;
    z-index: 999;
    
}

.products-list-autocomplete > li, .client-list-autocomplete > li {
    display: block;
    border-bottom: #eee;
    padding: 5px 10px;
    cursor: pointer;
}

.products-list-autocomplete > li:hover, .client-list-autocomplete > li:hover {
    background: #eee;
}

.new-document {

    padding: 20px 15px;
    height: 90%;
    width: 80%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto auto;
    z-index: 90;
    background: #fff;
    border: 1px solid #222;
}

.document-overlay {
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100%;
    z-index: 89;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

}

.add-button {
    background-color: red;
    color: #fff;
    display: inline-block;
    height: 20px;
    width: 20px;
    border-radius: 20px;
    text-align: center;
}

a.edit-link {
    font-size: 14px;
}




/*body {
    background: url(../img/tlo_erp.jpg);
    opacity: 0.2;
}*/



.row-summary {
    background-color: rgba(255, 179, 87, 0.2) !important;
}

.row-date {
    background: #322f3b !important;
    color: #fff;
    /*font-weight: 700;*/
}

.row-date b {
    color: rgb(255, 179, 87)
}

navbar-inverse {
    background-image: none;
    background: #322f3b;
}

#referenceTip {
    position: absolute;
    top: 60px;
    background-color: #fff;
    border: 1px solid #F7F7F7;
    list-style: none;
    width: 48%;
    padding-left: 0;
    text-align: left;
    left: 29px;
    
}

#referenceTip li{
    list-style: none;
    padding: 5px 10px;
    
}

#referenceTip li:hover {
    background: #2aabd2;
    color: #fff;
    cursor: pointer;
}

.remove-distributor {
    position: absolute;
    right: 20px;
    top: 10px;
    display: block;
    padding: 5px;
    border-radius: 10px;
    font-size: 10px;
    color: #fff;
    background-color: red;
    
}

.remove-distributor:hover  {
    text-decoration: none;
}

.combination {

}

.flex-container {
    display: flex;
    flex-direction: row;
}

.container {
    max-width: 1300px;
}

.customer-list {
    display: table;
    width: 100%;
}

.customer-list > div > div {
    padding: 15px 10px;
    display: table-cell;
}

.customer-list > div:nth-child(even) {
    background: rgba(0, 0, 0, 0.02);
}

.navbar {
    margin-bottom: 20px;
}

.to-pay {
font-size: 22px;
color: red;
}

.pricing-group {
    display: inline-block;
    padding: 2px 5px;
    background: transparent;
    color: #fff;
    font-size: 12px;
   
    text-align: center;
    background: #000;
    white-space: nowrap;
}

#calendar {
    width: 100%;
    clear: both;
    overflow: auto;
    
}

.calendar-day {
    font-size: 13px;
    margin-bottom: 7px;
    display: block;
}

.calendar-day b {
    font-size: 22px;
}

.calendar-item {
     height: 190px;
     width: 20%;
     padding: 5px 10px;
     border: 1px solid #eee;
     float: left;
}

.discount-group.group-1 {
    background: brown;
}

.discount-group.group-3 {
    background: gold;
}

.table-row {
    display: table-row;
}

.table-header > div {
    background: #222;
    color: #fff;
}

#calendar .event {
    font-size: 12px;
}

@media screen and (max-width: 768px) {
    .mobile-toggle {
        height: 30px;
        width: 30px;
        display: block;
    }
    
    .mobile-toggle > span {
        height: 3px;
        background: #fff;
        display: block;
        margin: 5px;
    }
    
    .customer-list {
        margin: 30px 0;
    }
    
    .customer-list .table-row > div:first-child, .customer-list .table-row > div:nth-child(3), .customer-list .table-row > div:nth-child(4), .customer-list .table-row > div:nth-child(5) {
        display: none;
    }
    
    .btn-xs-block {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
    
    table.ajax-product-table.sale-document tr > td:nth-child(2), table.ajax-product-table.sale-document tr > th:nth-child(2),table.ajax-product-table.sale-document tr > td:nth-child(4), table.ajax-product-table.sale-document tr > th:nth-child(4)   {
        display: none;
    }
    
    .calendar-item {
        width: 50%;
    }
}

@media print {
    .no-print {
        display: none;
    }

    .btn {
        display: none;
    }
}