.material-icons {
    z-index: 1
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spin {
    animation-name: spin;
    animation-duration: 4000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.app-logo {
    font-size: 140%;
    color: #ffffff;
    text-shadow: 1px 1px 2px #333333;
    padding: 10px;
    border-radius: 5px;
}

.datatableList tbody tr {
    cursor: pointer;
}
table.dataTable.table-sm > thead > tr > th:first-of-type {
    padding-right: 5px !important;
}
.dataTable-menu {
    display: block !important;
    border: 1px solid #dee2e6 !important;
    padding-left: .25rem !important;
    padding-right: .25rem !important;
    width: 22px !important;
    text-align: center !important;
}
.dataTable-menu:nth-child(n+1) {
    margin-left: .25rem !important;
}

.help-block {
    color: #9c9c9c;
    font-size: 80%;
}

.form-group > div > div > label {
    font-weight: bold;
    font-size: 0.9em;
    padding-top: 0;
    margin: auto .5em auto 1.5em;
}

div.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


/* iCheck plugin Square skin, green
----------------------------------- */
.icheckbox_square-green,
.iradio_square-green {
    display: inline-block;
    *display: inline;
    vertical-align: middle;
    margin: 0;
    padding: 0;
    width: 22px;
    height: 22px;
    background: url("../../assets/images/green.png") no-repeat;
    border: none;
    cursor: pointer;
}

.icheckbox_square-green {
    background-position: 0 0;
}

.icheckbox_square-green.hover {
    background-position: -24px 0;
}

.icheckbox_square-green.checked {
    background-position: -48px 0;
}

.icheckbox_square-green.disabled {
    background-position: -72px 0;
    cursor: default;
}

.icheckbox_square-green.checked.disabled {
    background-position: -96px 0;
}

.iradio_square-green {
    background-position: -120px 0;
}

.iradio_square-green.hover {
    background-position: -144px 0;
}

.iradio_square-green.checked {
    background-position: -168px 0;
}

.iradio_square-green.disabled {
    background-position: -192px 0;
    cursor: default;
}

.iradio_square-green.checked.disabled {
    background-position: -216px 0;
}

.hr-line {
    border-top: 1px solid #ccc;
    margin: 10px 0px;
}

.table-sm td, .table-sm th {
    padding: .4rem;
}

table.small1 th, table.small1 td {
    font-size: 75% !important;
    padding: 2px !important;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

tr.bold1 td, td.bold1 {
    font-weight: bold;
}

table.small1 td input, table.small1 td select {
    border: 0px;
    height: 14px;
    padding: 0px;
    background-color: #d9f5eb;
}

table.small1 td input {
    width: 99%;
}

table.small1 td select {
    text-indent: -2px;
}

.input-group-text {
    padding: 0.175em 0.5em;
}

.inline-select {
    background-color: transparent;
    border: none;
    padding: 0 1em 0 0;
}

.select2-container .select2-selection--single {
    height: 31px;
    border: 1px solid #ced4da;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 30px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 28px;
}

.select2-results__options li {
    font-size: 80%;
}
.select2-selection__rendered {
    height: 24px !important;
    font-size: 10pt !important;
    font-weight: normal;
}
.select2-selection__rendered > li {
    font-size: .85rem !important;
}
/*
.custom-control-label::before, .custom-control-label::after {
    top: 0em;
    height: 1.5rem;
}

.custom-switch .custom-control-input:not(:disabled):not(:active):checked ~ .custom-control-label::before {
    border-color: #5cb85c;
    background-color: #5cb85c;
}
*/
.dropdown-item {
    font-size: 11pt;
}

li.hover:hover {
    background-color: #f7f7f7;
}

.w-25px {
    width: 25px; display: inline-block;
}

label.col-form-label {
    font-size: 0.9em;
    padding-top: 0px;
    font-weight: 600;
}

code.small {
    font-size: 0.7em !important;
}
code.text-danger {
    opacity: 0.9;
}

.glass-element {
    /* 1. Semi-transparent background (using rgba for opacity) */
    background: rgba(255, 255, 255, 0.15);

    /* 2. The core blur effect for elements behind it */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Vendor prefix for Safari support */

    /* 3. Subtle border and shadow for depth and definition */
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-tabs {
    border-bottom: 1px solid #dee2e6;
}

.fs-10 {
    font-size: 10pt !important;
}

.appraisal {
    padding: 0;
}
.appraisal > div {
    padding: .75em .5em .25em .5em;
}
.appraisal > div:nth-child(even) {
    background: #f6f6f6 !important;
}
.appraisal input,
.appraisal select,
.appraisal input:focus,
.appraiser-select {
    width: 100%;
    border: none;
    border-bottom: 1px solid;
    font-size: 80%;
    background: transparent;
    color: #000;
    padding: 8px 10px;
}
.appraisal input:disabled,
.appraisal select:disabled {
    color: #000;
}
.appraisal input::placeholder,
.appraisal select::placeholder {
    color: rgba(0, 0, 0, 0.42);
    font-style: italic;
}
.appraisal select {
    padding: 10px 10px;
}
.appraisal span {
    color: #00000080;
}
.appraiser-select {
    margin-left: 1em !important;
    width: 15em !important;
    color: #ff6161 !important;
    font-size: 80% !important;
    padding: 0 10px !important;
}
.appraiser-select:disabled {
    color: #777 !important;
}
.final-result {

}

/** ////////////////////////////////////////////////// **/

.help-nav {
    width: 100%;
}
.help-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.help-nav ul li {
    /* Sub Menu */
}
.help-nav ul li a {
    display: block;
    background: #ebebeb;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    -webkit-transition: 0.2s linear;
    -moz-transition: 0.2s linear;
    -ms-transition: 0.2s linear;
    -o-transition: 0.2s linear;
    transition: 0.2s linear;
}
.help-nav ul li a:hover {
    background: #f8f8f8;
    color: #515151;
}
.help-nav ul li a .fa {
    width: 16px;
    text-align: center;
    margin-right: 5px;
    float:right;
}
.help-nav ul ul {
    background-color:#ebebeb;
}
.help-nav ul li ul li a {
    background: #f8f8f8;
    border-left: 4px solid transparent;
    padding: 5px 10px;
    color: #888888;
}
.help-nav ul li ul li a:hover {
    background: #ebebeb;
    border-left: 4px solid #3498db;
}

/** ////////////////////////////////////////////////// **/

/*
.loader {
    width: 60px;
    aspect-ratio: 1;
    display: flex;
    color: #000;
    border: 4px solid;
    box-sizing: border-box;
    border-radius: 50%;
    background:
            radial-gradient(circle 5px, currentColor 95%,#0000),
            linear-gradient(currentColor 50%,#0000 0) 50%/4px 60% no-repeat;
    animation: l1 2s infinite linear;
}
.loader:before {
    content: "";
    flex: 1;
    background: linear-gradient(currentColor 50%,#0000 0) 50%/4px 80% no-repeat;
    animation: inherit;
}
@keyframes l1 {
    100% {transform: rotate(1turn)}
}
*/

.loader {
    width: 50px; /* control the size */
    aspect-ratio: 1;
    display: grid;
    -webkit-mask: conic-gradient(from 15deg, #0003,#000);
    mask: conic-gradient(from 15deg, #0003,#000);
    animation: load 1s steps(12) infinite;
}
.loader,
.loader:before,
.loader:after{
    background:
            radial-gradient(circle closest-side ,currentColor 90%,#0000 98%)
            50% -50%/20% 80% repeat-y,
            radial-gradient(circle closest-side ,currentColor 90%,#0000 98%)
            -50% 50%/80% 20% repeat-x;
}
.loader:before,
.loader:after{
    content: "";
    grid-area: 1/1;
    transform: rotate(30deg);
}
.loader:after{
    transform: rotate(60deg);
}
@keyframes load {
    from {transform: rotate(0turn)}
    to   {transform: rotate(1turn)}
}

/** ////////////////////////////////////////////////// **/

.modal {
    overflow-y: auto !important;
}

/* Caret rotation on group headers */
.nav-sub .fa-angle-down {
    transition: transform 0.15s ease;
}
.nav-sub .fa-angle-down.rotated {
    transform: rotate(180deg);
}

/* Accordion panel — force normal document flow, strip any flyout/dropdown styling */
#menu li.nav-item ul.sidebar-accordion-panel {
    position: static !important;
    top: auto !important;
    left: auto !important;
    float: none !important;
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    background: transparent !important;
    box-shadow: none !important;
    z-index: auto !important;
    margin: 0;
    padding-left: 1rem;
    list-style: none;
}

/* Panel children must stack as normal block rows */
#menu li.nav-item ul.sidebar-accordion-panel > li {
    display: block;
    list-style: none;
    width: 100%;
}
#menu li.nav-item ul.sidebar-accordion-panel > li > a {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Group headers must expand past the theme's fixed 40px row height */
#menu > li.nav-item.menu-group {
    height: auto !important;
    flex: 0 1 auto !important;
    flex-basis: auto !important;
}

#menu {
    margin-top: 32px !important;
}

/* Group headers - brighter, bolder */
#menu > li.nav-item.menu-group > a.nav-link {
    color: #ffffffeb !important;
    /* font-weight: 400; */
    font-size: 0.95rem;
    margin-top: 0.2rem;
    /* border-top: 1px solid gray; */
}

#menu > li.nav-item.menu-group > a.nav-link .material-icons {
    color: #ffffff !important;
}

/* Sub-items - dimmer, lighter weight, to recede visually */
.sidebar-accordion-panel > li > a {
    color: rgba(255, 255, 255, 0.65) !important;
    font-weight: 400;
    font-size: 0.875rem;
}

/* Sub-item hover - brighten on interaction */
.sidebar-accordion-panel > li > a:hover {
    color: #ffffff !important;
}

.sidebar .nav-link.active {
    box-shadow: none !important;
    position: relative;
}
.sidebar .nav-link.active::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background-color: #fff;
    border-radius: 2px;
}
#menu {
    opacity: 0;
    transition: opacity 0.15s ease;
}
#menu.js-ready {
    opacity: 1;
}

#menu > li.nav-item.menu-group > a.nav-link,
.sidebar-accordion-panel > li > a {
    padding-right: 1.25rem; /* match this value to whatever padding your header row actually uses */
    box-sizing: border-box;
}

.sidebar .nav-link .badge {
    flex: 0 0 auto;
    white-space: nowrap;
    margin-left: auto;
}

.merge-tab-pane.active ~ .save-actions-wrap {
    display: none !important;
}