﻿
.table-responsive .dataTables_scrollBody {
    overflow: visible !important;
}

@media (min-width: 769px) {
    .sidebar-detached {
        float: left;
    }

    .container-detached {
        float: right;
        margin-left: -260px;
        width: 100%;
    }

    .content-detached {
        margin-left: 280px;
    }
}

.fancytree-ext-table tbody tr td:first-child {
    text-align: left !important;
}

.TableTemplate {
    display: none;
}

.line-active{
    background-color: #f2f2f2;
}

table tbody tr:hover {
    background-color: #e0f7fa !important;
}

.app-table-hover {
    background-color: #e0f7fa !important;
}


table tbody tr:focus {
    background-color: #e0f7fa !important;
}

.DynamicTable > table > tbody > tr > td {
    min-width: 100px;
    max-width: 250px;
    padding: 3px !important;
}

.DynamicTable > table > tfoot > tr > td {
    min-width: 100px;
    max-width: 250px;
    padding: 7px 3px !important;
}

.table-bold-column{
    font-weight:bold;
}

.table-short > tbody > tr > td {
    min-width: 100px;
    max-width: 250px;
    padding: 3px 3px 3px 18px !important;
}

.select2-container--focus > span > .select2-selection {
    background: #42A5F5;
}

    .select2-container--focus > span > .select2-selection > span > .select2-selection__placeholder {
        color: #fff;
    }

.select2-selection--single .select2-selection__rendered {
    padding-left: .875rem;
    padding-right: 1.375rem;
    text-overflow:inherit;
}

.select2-selection--multiple .select2-selection__rendered {
    padding-left: .875rem;
    padding-right: 1.375rem;
    text-overflow: inherit;
}

.select2-selection--multiple .select2-selection__clear{
    display:none!important;
}


.datatable-scroll {
    width: 100%;
    overflow-x: auto;
}

.dataTable {
    width: 100% !important;
}

    .dataTable td, .dataTable th {
        white-space: nowrap;
    }

.was-validated select:invalid + .select2 .select2-selection {
    border-color: #f44336;
    padding-right: calc(2.5385em + 2.875rem);
}

.was-validated select:valid + .select2 .select2-selection {
    border-color: #4caf50;
    padding-right: calc(1.5385em + .875rem);
}

*:focus {
    outline: 0px;
}

.TableBody .invalid-tooltip{
    top:auto !important;
}

.TableBody .form-group{
    margin-bottom: 0 !important;
    position:relative;
}

.custom-invalid-tooltip {
    position: absolute;
    right: 20px;
    top: 7px;
    display: none;
    background-color:#fff;
}

.TableBody .custom-invalid-tooltip{
    right: 15px !important;
}

.was-validated .form-control:invalid ~ .custom-invalid-tooltip {
    display: block;
}

.was-validated .form-control:invalid{
    background-image:none !important;
}

.tooltip {
    pointer-events: none;
}

.printTemplateContainer {
    position: relative;
}

.pte-item {
    background-color: #fafafa;
    border: 1px dashed #ddd;
    color: #777;
    overflow:hidden;
}

div.pte-item, table.pte-item {
    position: absolute;
    table-layout: fixed;
}

.printTemplateContainer.active {
    background-color: #e3f2fd;
    border-color: #2196f3;
}

.pte-item.active {
    background-color: #e3f2fd;
    border-color: #2196f3;
}

.pte-table-item.active {
    background-color: #fde1df;
    color: #7f231c;
}

.select2-result-custom__title {
    font-weight: bold;
    word-wrap: break-word;
    margin-bottom: 2px;
}

.select2-result-custom__description {
    font-size: .75rem;
}

.RetailSaleContainer input, .RetailSaleContainer select {
    font-size: 18px !important;
}

.vl {
    border-left: 1px solid #ddd;
    height: 32px;
}

.ProductSearchResult {
    font-size: 18px;
}

    .ProductSearchResult span {
        font-size: 16px;
    }

.RetailTotalTable h5{
    margin-bottom:0;
}

.navbar-brand{
    padding:10px;
}

.input-group > .select2-container--default {
    width: auto !important;
    flex: 1 1 auto !important;
}

    .input-group > .select2-container--default .select2-selection--single {
        height: 100%;
        line-height: inherit;
        padding: 0.5rem 1rem;
    }

.switchery-default{
    margin-right:4px;
}