﻿body {
    position: relative;
}
.sidebar-mini .main-sidebar .navbar-brand {
    padding: 0.5rem 0.7rem;
    height: 57px;
}

    .sidebar-mini .main-sidebar .navbar-brand img {
        height: 100%;
        width: auto;
    }

.sidebar-dark-primary {
    background-color: #2E5665;
}

    .sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active {
        background-color: #63B1BC;
    }

    .content-header {
        padding-top: 10px;
        padding-bottom: 0;
    }

.dataTables_filter {
    display: none !important;
}

.page-title {
    line-height: 1;
    margin: 0;
}

.page-title2 {
    font-size: 1.5em;
}

.btn-dbi-dark,
.btn-dbi-dark:hover {
    color: #fff;
    background-color: #2E5665;
    border-color: #2E5665;
    box-shadow: none;
}

.btn-dbi-light,
.btn-dbi-light:hover {
    color: #fff;
    background-color: #63B1BC;
    border-color: #63B1BC;
    box-shadow: none;
}

.bg-dbi-light {
    background-color: #63B1BC;
    color: #fff !important;
}

.bg-dbi-dark {
    background-color: #2E5665;
    color: #fff !important;
}

.text-dbi-light {
    color: #63B1BC;
}

.text-dbi-dark {
    color: #2E5665;
}

.dataTable .filter-row th {
    padding: .35rem 0.75rem;
}

table.dataTable > thead > tr.filter-row > th {
    padding: 0.5rem 0.5rem;
}


.filter-row {
    border-bottom: 3px solid #ADB5BD;
}

.notification-message {
    text-align: center;
    font-size: 18px;
    word-wrap: break-word;
}

.table-compact {

}

.table-compact.table td {
    font-size: 14px;
    padding: 0.5rem 0.5rem
}

.table-compact.table th {
    font-size: 16px;
    padding: 0.5rem 0.5rem
}

label.btn:not(.form-check-label):not(.custom-file-label) {
    font-weight: normal;
}

.notification-message {
    text-align: center;
    font-size: 18px;
}


.page-item.active .page-link {
    background-color: #63B1BC;
    border-color: #63B1BC;
}

.page-link {
    color: #63B1BC;
}

.page-link:hover {
    color: #63B1BC;
}


    .page-link:active,
    .page-link:focus {
        outline: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }


@media (max-width: 576px) {
    .small-box h3 {
        font-size: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 769px) {
    .small-box h3 {
        font-size: 1.2rem;
    }
    .small-box div.icon i.fas {
        font-size: 58px;
        top: 10px;
        right: 10px;
    }
    
}

.card-primary.card-outline-tabs > .card-header a.active {
    border-top: 3px solid #63B1BC;
}

h5.lb {
    border-bottom: 1px solid #ced4da;
    font-weight: 700;
}

div .header-add-btn-no-border {
    padding-bottom: 10px;
    margin-bottom: 10px;
    display: flex;
 }

div .header-add-btn-no-border h5 {
    font-weight: 700;
}

    div .header-add-btn-no-border button {
        margin-left: auto;
        order: 2;
    }

div .header-add-btn {
    border-bottom: 1px solid #ced4da;
    padding-bottom: 10px;
    margin-bottom: 10px;
    display: flex;
}

div .header-title {
    border-bottom: 1px solid #ced4da;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

div .header-add-btn h5 {
    font-weight: 700;
}

    div .header-add-btn button {
        margin-left: auto;
        order: 2;
    }

.bootstrap-datetimepicker-widget .table-sm td,
.bootstrap-datetimepicker-widget .table-sm th {
    padding: .3rem !important;
    background-color: white;
}

.text-nowrap{
    white-space: nowrap;
}

h5.fill-available {
    width: -webkit-fill-available;
}

td.expanded-el{
    padding-left: 50px !important;
}

.photo-img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 14em;
}

.photo-img-container img {
    max-width: 100%;
    object-fit: cover;
    vertical-align: middle;
    max-height: 14em;
    padding: 10px;
}
.photo-thumbnails {
    overflow-y: auto;
    max-height: 200px;
}
    .photo-thumbnails .thumbnail {
        border: 1px solid #ddd;
        padding: 5px;
        background-color: #f9f9f9;
        position: relative;
        display: inline-block;
        margin: 10px;
    }

    .photo-thumbnails img {
        max-height: 100px;
        display: block;
    }

.btn-photo-remove {
    position: absolute;
    top: 0;
    right: 0;
}

.photo-body {
    padding: 10px;
    width: 100%;
    display: flex;
    align-items: flex-end;
}

.photo-body-info {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

    .photo-body-info .card-text {
        margin: 0;
    }

.photo-body .btn-photo-icon {
    height: 2.25rem;
    margin-left: 10px;
}

.editable-input {
    margin-top: 5px;
    max-width: 100%;
}

.col span {
    vertical-align: -webkit-baseline-middle !important;
}
.drop-zone {
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    background-color: #f9f9f9;
    transition: background-color 0.2s, border-color 0.2s;
}

    .drop-zone.active {
        background-color: #e9e9ff;
        border-color: #666;
    }
    .drop-zone.disabled {
        opacity: 0.5;
        cursor: not-allowed;
        pointer-events: none;
    }
.drop-zone-label {
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}
.photos-upload .form-group.hidden {
    display: none;
}
a.dropdown-item {
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
}

    a.dropdown-item i.type-icon {
        color: #2E5665;
        min-width: 24px;
        padding-right: 0.25rem;
        text-align: center;
    }

.row{
    width: 100%;
}
.pagination > li > a, .pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}
.pagination > li > a {
    background: #fafafa;
    color: #666;
}
.pagination > .disabled > a, .pagination > .disabled > a:focus, .pagination > .disabled > a:hover, .pagination > .disabled > span, .pagination > .disabled > span:focus, .pagination > .disabled > span:hover {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}
.pagination > li:last-child > a, .pagination > li:last-child > span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #337ab7;
    border-color: #337ab7;
}

.dataTable th .form-control, .dataTable th .form-inline {
    width: 100%;
}

@media (min-width: 576px){
    .dataTable th .form-control, .dataTable th .form-inline {
        width: 100%;
    }
}

.modal-backdrop.fade.hidden{
    display: none;
}

.margin-left-auto {
    margin-left: auto;
}

.td-actions {
    display: flex;
    justify-content: space-between;
}

span.form-control {
    background-color: #e9ecef;
    opacity: 1;
}

.is-invalid-tab {
    color: #dc3545 !important;
}

    .is-invalid-tab:after {
        content: '*';
        color: #dc3545;
    }

table.dataTable {
    width: 100% !important;
    max-width: 100% !important;
}

.signin-with-ms {
    display: flex;
    align-items: center;
    line-height: 1;
    font-size: 15px;
    font-family: 'Segoe UI', sans-serif;
    height: 48px;
    width: auto;
    justify-content: center;
}

.signin-with-ms img{
    padding: 0 12px;
}

.signin-with-email{
    font-size: 15px;
}

.form-signin-options-delimiter {
    margin: 10px 0;
    color: #2E5665;
    font-weight: 500;
    font-size: 15px;
}

    .form-signin-options-delimiter::before, .form-signin-options-delimiter::after {
        background-color: #2E5665;
        content: '';
        display: inline-block;
        height: 1px;
        position: relative;
        vertical-align: middle;
        width: calc(50% - 1rem);
    }

    .form-signin-options-delimiter::before{
        right: 0.5rem;
        margin-left: -50%;
    }

    .form-signin-options-delimiter::after {
        left: 0.5rem;
        margin-right: -50%;
    }

.locked-out-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
}

.pagination-wrapper div:nth-child(2){
    display: flex;
    justify-content: flex-end;
}

.pagination-wrapper .pagination {
    margin-bottom: 0;
}


.folder-manager__wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    max-height: calc(100vh - 216px /*136px*/ );
    display: flex;
    flex-direction: column;
}
    .folder-manager__wrapper .folder-manager__controls {
        height: 50px;
        display: flex;
        align-items: center;
        padding-left: 16px;
        padding-bottom: 8px;
    }
    .folder-manager__wrapper .folder-manager__navigation {
        width: 100%;
        height: calc(100% - 50px);
        overflow-y: auto;
        padding-right: 16px;
    }
    .folder-manager__wrapper.is-invalid .error.invalid-feedback {
        display: block;
        font-size: 12px;
    }
.folder-manager__controls .btn {
    display: flex;
    align-items: center;
}
.folder-manager__controls i {
    font-size: 1rem;
    margin-right: 0.25rem;
}
.fa-circle-plus:before {
    content: '';
}
.fa-rotate:before {
    content: '';
}
.folder-manager__loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    z-index: 99;
}
.f-list-parent-wrapper {
    padding-left: 1rem;
}
    .f-list-parent-wrapper.root {
        padding-left: 0;
    }
.f-list-item{
    position: relative;
}
.show-folders-btn {
    position: absolute;
    right: 0;
}

.f-list-parent {
    list-style: none;
    padding-inline-start: 0;
    margin-bottom: 0;
}
.f-text-content {
    height: 42px;
    display: flex;
    align-items: center;
    color: #212529;
    font-size: 14px;
}
.f-text-content span{
    padding-bottom: 1px;
}
    .f-text-content.selected {
        font-weight: bolder;
    }
    .f-text-content i {
        width: 2rem;
        min-width: 2rem;
        max-width: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: #63B1BC;
    }
        .f-text-content i:nth-child(1) {
            width: 1rem;
            min-width: 1rem;
            max-width: 1rem;
            font-size: 1rem;
            color: #212529;
        }
        .f-text-content.selected i:nth-child(2) {
            color: #28a745;
        }

    .f-text-content {
        cursor: pointer;
    }

    .f-text-content:not(.selected):hover{
        background-color: rgba(0, 0, 0, 0.05);
        cursor: pointer;
    }

.folder-manager__navigation .f-list-parent:first-child{
    padding-left: 0;
}

.input-group-text.btn-dbi-light {
    color: #fff;
    background-color: #63B1BC;
    border-color: #63B1BC;
    box-shadow: none;
}
.input-group-text.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
    box-shadow: none;
}
.input-group-text.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
    box-shadow: none;
}

.bootstrap-autocomplete.footer {
    padding: 0.25rem 1rem;
}

.dropdown-item span {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: calc(100% - 56px);
}

.select2-container.is-invalid .select2-selection {
    border-color: #dc3545;
}

.select2-container.is-invalid .select2-search__field {
    padding-right: 2.25rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.file-actions-group .input-group-append .input-group-text {
    display: flex;
    gap: 0.3rem;
    align-items: center;
}

.file-actions-group .input-group-append label {
    margin: 0;
    font-size: 0.85rem;
}

.link-cims-primary {
    color: #2E5665 !important;
    text-decoration: underline !important;
}

.form-control--readonly-span.is-invalid {
    color: #dc3545;
}

@media(max-width: 576px) {
    .file-actions-group {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 38px 1fr;
        grid-column-gap: 5px;
        grid-row-gap: 5px;
    }
        .file-actions-group input.form-control {
            grid-area: 1 / 1 / 2 / 4;
            width: 100%;
        }
        .file-actions-group .input-group-append:nth-child(1) {
            grid-area: 2 / 1 / 3 / 2;
        }

        .file-actions-group .input-group-append:nth-child(1) {
            grid-area: 2 / 2 / 3 / 3;
        }

        .file-actions-group .input-group-append:nth-child(1) {
            grid-area: 2 / 3 / 3 / 4;
        }


        .file-actions-group .input-group-append{
            width: 100%;
        }
            .file-actions-group .input-group-append .input-group-text {
                width: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 5px;
                border-radius: 0.25rem !important;
            }
            .file-actions-group .input-group-append label {
                display: flex;
                margin: 0;
                font-weight: 500;
                font-size: 12px;
            }
            .file-actions-group .input-group-append i {
                font-size: 1.2rem;
            }


    .f-list-parent{
        padding-left: 2rem;
    }
}
.show{
    opacity: 1 !important;
}

.btn-form-row {
    margin-top: 32px;
}

.report-type {
    display: none;
}
    .report-type.report-type-show{
        display: block !important;
    }


.folder-manager__wrapper.is-invalid .folder-manager__navigation {
    border: 1px solid;
    border-color: #dc3545;
    border-radius: 3px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Chrome, Safari, Edge, Opera */
input.arrows-hidden::-webkit-outer-spin-button,
input.arrows-hidden::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input.arrows-hidden[type=number] {
    -moz-appearance: textfield;
}
.file-upload.is-invalid {
    border: 1px solid;
    border-color: #dc3545;
    border-radius: 3px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.checkedout-action {
    display: none;
}

.checkedout .checkedout-action {
    display: inline-block;
}

.modal-notification {
    max-width: 400px;
    width: 400px;
}


@media (max-width: 576px) {
    .modal-dialog {
        max-width: calc(100% - 16px);
        margin: 1.75rem auto;
    }
}

.mt-ex-1 {
    margin-top: 0.3rem !important;
}
.mt-ex-2 {
    margin-top: 0.6rem !important;
}
.mt-ex-3 {
    margin-top: 0.9rem !important;
}


.tags-input {
    cursor: text;
}

.tags-input.form-control {
    padding: 4px 6px;
    min-height: 38px;
    height: auto;
}

.tags-input.form-control.disabled {
    background-color: #e9ecef;
    opacity: 1;
}



.tags-input input {
    border: none;
    box-shadow: none;
    outline: none;
    background-color: transparent;
    padding: 0 6px;
    margin: 0;
    width: auto;
    max-width: inherit;
}

.tags-input .badge {
    margin: 2px 3px;
    padding: 5px 8px;
    font-size: 84%;
}
    .tags-input .badge .far,
    .tags-input .badge .fas
    .tags-input .badge .fa {
        margin-left: 5px;
        cursor: pointer;
    }

.bootstrap-datetimepicker-widget {
    z-index: 9999;
}

.pre-wrap {
    white-space: pre-wrap;
}

.checkbox-cell {
    position: relative;
    text-align: center;
}

.checkbox-cell i {
    font-size: 16px;
    cursor: pointer;
}

.mw-240 {
    max-width: 240px;
}

.w120 {
    width: 120px !important;
}

.w240 {
    width: 240px !important;
}