﻿/* Bootstrap Validation Summary Override */
/* Bootstrap Validation Summary Override */
.validation-summary-valid {
    display: none;
}

.validation-summary-errors ul {
    margin-bottom: 0;
    padding-left: 1rem;
}

.error {
    background-color: #fff;
    border-color: #db183f;
    /* border-color: #909090;*/
}

.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 */

.swal2-container {
    z-index: 300000 !important;
}

.page-logo img {
    width: 55px;
    height: 55px;
}

thead tr {
    background-color: var(--theme-primary);
    color: white;
}

.jstree-anchor {
    /*enable wrapping*/
    white-space: normal !important;
    /*ensure lower nodes move down*/
    height: auto !important;
    /*offset icon width*/
    padding-right: 24px;
}

@media (min-width: 992px) {
    .modal-lg, .modal-xl {
        max-width: 1500px;
    }

    .modal-md {
        max-width: 1000px;
    }
}

.form-group.required .control-label:after {
    content: "*";
    color: red;
}

.control-mandatory:after {
    content: "*";
    color: red;
}

.dv-label {
    padding: 0.5rem !important;
    background-color: #f9f9f9;
    border: 2px solid white;
}

.dv-data {
    padding: 0.5rem !important;
    border: 1px solid #f9f9f9;
}

@media screen {
    #printSection {
        display: none;
    }
}

@media print {
    body * {
        visibility: visible;
        display: block;
    }    

    html, body {
        height: 100%;
        overflow: hidden;
    }

    .dataTables_wrapper, .dataTables_wrapper * {
        visibility: visible !important; /* Only DataTables content will be visible */
        display: block;
    }

    .printable, .printable * {
        display: block;
        visibility: visible !important; /* Only printable DataTables content will be visible */
    }

    #printSection, #printSection * {
        visibility: visible;
    }

    .dataTables_wrapper {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%; /* Set the wrapper to take full width */
    }

    .printable {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%; /* Ensure the printable area is full width */
    }

    #printSection {
        position: absolute;
        left: 0;
        top: 0;
    }
}

.dataTables_wrapper {
    overflow: hidden !important;
}

.small-box {
    border-radius: 0.25rem;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.125), 0 2px 5px rgba(0, 0, 0, 0.2);
    display: block;
    margin-bottom: 20px;
    position: relative;
}

    .small-box > .inner {
        padding: 10px;
        text-align: left;
    }

    .small-box > .small-box-footer {
        background-color: black;
        color: rgba(255, 255, 255, 0.8);
        display: block;
        padding: 3px 0;
        position: relative;
        text-align: center;
        text-decoration: none;
        z-index: 10;
    }

        .small-box > .small-box-footer:hover {
            background-color: rgba(0, 0, 0, 0.15);
            color: #fff;
        }

    .small-box h3 {
        font-size: 1.8rem;
        font-weight: 500;
        margin: 0 0 10px;
        padding: 0;
        white-space: nowrap;
    }

@media (min-width: 992px) {
    .col-xl-2 .small-box h3,
    .col-lg-2 .small-box h3,
    .col-md-2 .small-box h3 {
        font-size: 1.6rem;
    }

    .col-xl-3 .small-box h3,
    .col-lg-3 .small-box h3,
    .col-md-3 .small-box h3 {
        font-size: 1.6rem;
    }
}

@media (min-width: 1200px) {
    .col-xl-2 .small-box h3,
    .col-lg-2 .small-box h3,
    .col-md-2 .small-box h3 {
        font-size: 2.2rem;
    }

    .col-xl-3 .small-box h3,
    .col-lg-3 .small-box h3,
    .col-md-3 .small-box h3 {
        font-size: 2.2rem;
    }
}

.small-box p {
    font-size: 1rem;
}

    .small-box p > small {
        color: #f8f9fa;
        display: block;
        font-size: .9rem;
        margin-top: 5px;
    }

.small-box h3,
.small-box p {
    z-index: 5;
}

.small-box .icon {
    color: rgba(0, 0, 0, 0.15);
    z-index: 0;
}

    .small-box .icon > i {
        font-size: 90px;
        position: absolute;
        right: 15px;
        top: 15px;
        transition: transform 0.3s linear;
    }

        .small-box .icon > i.fa, .small-box .icon > i.fas, .small-box .icon > i.far, .small-box .icon > i.fab, .small-box .icon > i.fal, .small-box .icon > i.fad, .small-box .icon > i.ion {
            font-size: 70px;
            top: 20px;
        }

    .small-box .icon svg {
        font-size: 70px;
        position: absolute;
        right: 15px;
        top: 15px;
        transition: transform 0.3s linear;
    }

.small-box:hover {
    text-decoration: none;
}

    .small-box:hover .icon > i, .small-box:hover .icon > i.fa, .small-box:hover .icon > i.fas, .small-box:hover .icon > i.far, .small-box:hover .icon > i.fab, .small-box:hover .icon > i.fal, .small-box:hover .icon > i.fad, .small-box:hover .icon > i.ion {
        transform: scale(1.1);
    }

    .small-box:hover .icon > svg {
        transform: scale(1.1);
    }

@media (max-width: 767.98px) {
    .small-box {
        text-align: center;
    }

        .small-box .icon {
            display: none;
        }

        .small-box p {
            font-size: 12px;
        }
}

.modal-dialog {
    overflow-y: initial !important
}
