/* Bootstrap Validation Summary Override */
/* Bootstrap Validation Summary Override */
.validation-summary-valid {
    display: none;
}

.validation-summary-errors ul {
    margin-bottom: 0;
    padding-left: 1rem;
}

.alert.validation-summary-errors {
    margin-bottom: 1rem;
}

.col-0 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 4.166665%;
    flex: 0 0 4.166665%;
    max-width: 4.166665%;
    width: 4.166665%;
}

.col-1 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 8.33333%;
    flex: 0 0 8.33333%;
    max-width: 8.33333%;
    width: 8.33333%;
}

.col-2 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 16.66666%;
    flex: 0 0 16.66666%;
    max-width: 16.66666%;
    width: 16.66666%;
}

.dataTables_empty {
    font-size: 1.5rem !important;
}

/* Reference classes, no implementation */
.base,
.needs-validation,
.flex-start,
.text-faded,
.app-container-demo,
.lang-js,
.lang-csharp,
.has-tooltip,
.has-popover {
}

/* Keeps analyzers happy */
.js-waves-off,
.js-waves-on,
.js-get-date,
.js-collapse,
.js-modal-settings,
.js-filter-message,
.js-buttons,
.js-icon-class,
.js-icon-copy,
.js-bg-color,
.js-bg-gradient,
.js-bg-gradient-demo,
.js-bg-target {
}

/* Small word wrap correction */
section > ol > li {
    word-break: break-all;
}

code {
    border: 1px solid silver;
    padding: 0.03rem 0.2rem !important;
}

pre.prettyprint {
    border-radius: 0.2rem;
    padding-left: 0.4rem !important;
    padding-right: 0.4rem !important;
}

.documentation h2 {
    color: var(--primary);
}

.documentation th:first-child,
.documentation th:nth-child(3) {
    width: 16%;
}

.documentation blockquote {
    margin-left: 1rem;
    padding: 1rem 1rem 0.01rem 1rem;
    font-weight: 400;
    border-radius: 0 4px 4px 0;
    background: #edf2f9;
    border-left: 3px solid var(--primary);
}

    .documentation blockquote.info {
        background: #edf2f9;
        border-left: 3px solid var(--info);
    }

    .documentation blockquote.warning {
        background: #fff4db;
        border-left: 3px solid var(--warning);
    }

    .documentation blockquote.danger {
        background: #fadeeb;
        border-left: 3px solid var(--danger);
    }

/* Enter custom CSS rules for your application here */


fieldset {
    border: solid 2px #eee;
    border-radius: 3px;
    padding: 15px;
    margin-bottom: 15px;
}

    fieldset > legend {
        font-size: 14px;
        font-weight: 500;
        padding: 0px 15px;
        width: auto;
        color: #333333;
    }

a.grid-button {
    display: inline-block;
    cursor: pointer;
    margin-top: -2px;
}

    a.grid-button + a.grid-button {
        margin-left: 5px;
    }



.dataTable-bottom .dataTables_length, .dataTable-bottom .dataTables_info {
    display: inline-block;
}

.dataTable-bottom .dataTables_info {
    margin-left: 15px;
}

span.highlight {
    background-color: #ffce66;
}

td.mismatch {
    background-color: #f700002e;
}

tr.mismatch td {
    border-bottom: 1px solid #f00;
}

table.dataTable > tfoot > tr th:empty {
    padding: 0px;
}


/*tr.group,
tr.group:hover {
    background-color: #fffab9 !important;
}*/

h1 > a.nav-link, h2 > a.nav-link, h3 > a.nav-link,
h4 > a.nav-link, h5 > a.nav-link, h6 > a.nav-link {
    padding: 5px !important;
}

h1 > a.hidden, h2 > a.hidden, h3 > a.hidden,
h4 > a.hidden, h5 > a.hidden, h6 > a.hidden {
    visibility: collapse;
}

h1:hover > a.hidden, h2:hover > a.hidden, h3:hover > a.hidden,
h4:hover > a.hidden, h5:hover > a.hidden, h6:hover > a.hidden {
    visibility: visible;
}

div.dataTables_scrollHead table.dataTable {
    margin-top: 6px !important;
}
table.dataTable td.wordwrap {
    word-break: break-word !important;
    vertical-align: top !important;
    white-space: normal !important;
}

.dataTable th, .dataTable td {
    padding: 5px !important;
    max-width: 700px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

   /* .dataTable th.no-min-width, .dataTable td.no-min-width {
        min-width: 1% !important;
    }*/

.dataTable thead th {
    border-top: 1px solid #e9e9e9 !important;
}

.dataTable thead > tr:hover, .dataTable tfoot > tr:hover {
    webkit-box-shadow: none !important;
    box-shadow: none !important;
    background-color: none !important;
}

.dataTables_scrollBody > table > thead > tr > th, .dataTables_scrollBody > table > tfoot > tr > th, .table th:empty {
    padding: 0px !important;
}


/*table.dataTable thead .sorting:before, table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:before, table.dataTable thead .sorting_desc_disabled:after {
    bottom: 0.5em;
}*/

table.dataTable thead .sorting:before, table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:before, table.dataTable thead .sorting_desc_disabled:after {
    position: absolute !important;
    bottom: .5em !important;
    display: block !important;
    opacity: .3 !important;
}

table.dataTable thead .sorting:before, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_desc_disabled:before {
    right: 1em !important;
    content: "\2191" !important;
}

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 {
    right: .5em !important;
    content: "\2193" !important;
}

table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_desc:after {
    opacity: 1 !important;
}


table.simpletable {
    width: 100%;
}

    table.simpletable th, table.simpletable td {
        padding: 3px;
    }

    table.simpletable th {
        border-top: 1px solid #ddd;
        border-bottom: 2px solid #ddd;
    }

    table.simpletable tr + tr td {
        padding: 3px;
        border-top: 1px solid #ddd;
    }

    table.simpletable a.nav-link {
        padding: 3px 5px;
    }


tr.details > td {
    border: 2px solid #fff1be;
    border-radius: 5px;
    background-color: #fff9e4;
}

tr.selected {
    background-color: #fff0cf;
}

.border-2x {
    border: 2px solid;
}

.bonsai {
    width: 100% !important;
}

    .bonsai > li {
        display: inline-block;
        padding-top: 5px !important;
    }


li.has-children > .thumb:after {
    font-family: 'Font Awesome 5 Pro' !important;
    content: "\f0fe" !important;
}

li.has-children.expanded > .thumb:after {
    font-family: 'Font Awesome 5 Pro' !important;
    content: "\f146" !important;
}


/* Style the Image Used to Trigger the Modal */
img.thumbnail-image {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

    img.thumbnail-image:hover {
        opacity: 0.7;
    }

/* The Modal (background) */
.modal-img {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

    /* Modal Content (Image) */
    .modal-img .modal-content {
        margin: auto;
        display: block;
        max-height: 90%;
        width: auto;
    }

    /* Caption of Modal Image (Image Text) - Same Width as the Image */
    .modal-img .caption {
        margin: auto;
        display: block;
        width: 80%;
        max-width: 700px;
        text-align: center;
        color: #ccc;
        padding: 10px 0;
        height: 150px;
    }

    /* Add Animation - Zoom in the Modal */
    .modal-img .modal-content, #caption {
        animation-name: zoom;
        animation-duration: 0.6s;
    }

.modal {
    z-index: 2100 !important;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.modal-img .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

    .modal-img .close:hover,
    .modal-img .close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-img .modal-content {
        width: 100%;
    }
}

.align-middle {
    text-align: center;
}

.align-right {
    text-align: right;
}

/* Site Logo */

.site-logo {
    width: auto !important;
    height: 50px !important;
    background: white;
    padding: 5px;
    border-radius: 5px;
}

.easy-autocomplete {
    width: 100% !important;
}

label > sup {
    color: red;
    margin-left: 3px;
}


/*.page-content {
    padding: 0 !important;
}*/

.form-control[readonly] {
    pointer-events: none;
}

.dropdown-toggle.no-caret:after, .dropleft .dropdown-toggle.no-caret:before {
    content: none !important;
}

button.ui-multiselect {
    display: block;
    width: 100%;
    height: calc(1.47em + 1rem + 2px);
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.47;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}


.handsontable td.highlightCell {
    background-color: #ffc2c2 !important;
}


/*For Spinner Process */
#cover-spin {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.7);
    z-index: 9999;
    display: none;
}

@@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#cover-spin::after {
    content: '';
    display: block;
    position: absolute;
    left: 48%;
    top: 40%;
    width: 40px;
    height: 40px;
    border-style: solid;
    border-color: black;
    border-top-color: transparent;
    border-width: 4px;
    border-radius: 50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}

.ajax-notifications {
    height: 425px !important;
}

.ajax-dropdown {
    width: 400px !important;
    height: 500px !important;
}


/*boostrape tab custom css*/
.nav-link.active {
    background-color: #2196f3 !important;
    color: white !important;
}

.nav-link {
    background-color: #e9f5f8;
}

.previosnext .previous {
    background-color: #f1f1f1;
    color: black;
}

.previosnext .next {
    background-color: #2196f3;
    color: white;
}