﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html {
    position: relative;
    min-height: 100%;    
 /*   font-size: .80rem;   */
}


app {
    position: relative;
    display: flex;
    flex-direction: column;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


.navFontSize {
    font-size: 1.20rem;
    font-weight: bold
}

    .navFontSize li {
        margin-right: 50px;
    }

.footerBB {
    padding-top: 20px;
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    background-color: #520D15;
}

.logoGreen {
    color: #974f4b
}

.navStripe {
    background-color: #520D15;
    height: 5px;
}

.card {
    border: 1px solid rgb(0,0,0);
    border-radius: .25rem
}

.fontDD{
    font-size:10px;
}

.moShadowM {
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.floating-buttonM {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #520D15;
    cursor: pointer;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.7);
}

.iconbuttonM {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background: #FF4F79;
    text-decoration: none;
}

    .iconbuttonM i {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        color: white;
    }

.stripe-input {
    padding: 7px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: white;
    max-height: 28px;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4); /* semi-transparent background */
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*------RANGE SLIDER CSS---------------*/

.range {
    position: relative;
    width: 100%;
    height: 5px;
}

    .range input {
        width: 100%;
        position: absolute;
        top: 2px;
        height: 0;
        -webkit-appearance: none;
    }

        .range input::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 18px;
            height: 18px;
            margin: -7px 0 0;
            border-radius: 50%;
            background: #974f4b;
            cursor: pointer;
            border: 0 !important;
        }

        .range input::-moz-range-thumb {
            width: 18px;
            height: 18px;
            margin: -8px 0 0;
            border-radius: 50%;
            background: #37adbf;
            cursor: pointer;
            border: 0 !important;
        }

        .range input::-ms-thumb {
            width: 18px;
            height: 18px;
            margin: -8px 0 0;
            border-radius: 50%;
            background: #37adbf;
            cursor: pointer;
            border: 0 !important;
        }

        .range input::-webkit-slider-runnable-track {
            width: 100%;
            height: 2px;
            cursor: pointer;
            background: black;
            /*background: #b2b2b2;*/
        }

        .range input::-moz-range-track {
            width: 100%;
            height: 2px;
            cursor: pointer;
            background: #b2b2b2;
        }

        .range input::-ms-track {
            width: 100%;
            height: 2px;
            cursor: pointer;
            background: #b2b2b2;
        }

        .range input:focus {
            background: none;
            outline: none;
        }

        .range input::-ms-track {
            width: 100%;
            cursor: pointer;
            background: transparent;
            border-color: transparent;
            color: transparent;
        }

.range-labels {
    margin: 18px -15px 0;
    padding: 0;
    list-style: none;
}

    .range-labels li {
        position: relative;
        float: left;
        /* width: 35px;*/
        width: 9.09%;
        text-align: center;
        color: black;
        font-size: 10px;
      /*  cursor: pointer;*/
    }

        .range-labels li::before {
            position: absolute;
            top: -25px;
            right: 0;
            left: 0;
            content: "";
            margin: 0 auto;
            width: 9px;
            height: 9px;
            background: white;
            /* background: #b2b2b2;*/
            border-radius: 50%;
            border:1px solid black;
        }

    .range-labels .active {
        color: #37adbf;
    }

    .range-labels .selected::before {
        background: #37adbf;
    }

    .range-labels .active.selected::before {
        display: none;
    }

.custom-range {
    width: 100%;
    height: 1.5rem;
    padding: 0;
    background-color: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.custom-range:focus {
    outline: 0;
}

    .custom-range:focus::-webkit-slider-thumb {
        box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(151, 79, 75, 0.25);
    }

   /* .custom-range:focus::-moz-range-thumb {
        box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }*/

.custom-range::-moz-focus-outer {
    border: 0;
}

    .custom-range::-webkit-slider-thumb {
        width: 1rem;
        height: 1rem;
        margin-top: -0.25rem;
        background-color: #974f4b;
        border: 0;
        border-radius: 1rem;
        -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        -webkit-appearance: none;
        appearance: none;
    }

@media (prefers-reduced-motion: reduce) {
    .custom-range::-webkit-slider-thumb {
        -webkit-transition: none;
        transition: none;
    }
}

.custom-range::-webkit-slider-thumb:active {
    background-color: #974f4b;
}

.custom-range::-webkit-slider-runnable-track {
    width: 100%;
    height: 0.5rem;
    color: transparent;
    cursor: pointer;
    /*background-color: #dee2e6;*/
    background-color: #b2b3b6;
    border-color: transparent;    
    border-radius: 1rem;
}

.custom-range:disabled {
    pointer-events: none;
}

    .custom-range:disabled::-webkit-slider-thumb {
        background-color: #adb5bd;
    }



.shrink-input {
    width: auto !important;
    flex: 0 0 auto;
    min-width: 0 !important;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}



/*-----------SCROLLING IMAGE VIEW------------*/
.scrolling-wrapper {
    overflow-x: auto;
}

/*-----------END SCROLLING IMAGE VIEW------------*/

@media (max-width: 991.98px) {

    .card {
        border: 1px solid rgb(0,0,0);
        border-radius: .25rem
    }

        .card .card-header {
            font-size: 10px;
        }


}

@media (min-width: 992px) and (max-width:1199.98px) {

    .card {
        border: 1px solid rgb(0,0,0);
        border-radius: .25rem
    }

        .card .card-header {
            font-size: 12px;
        }  
}


.stripedGrid{

}

.stripeGrid > tr:nth-child(even) {
    background-color: #eeeeee;
}

.strikethrough {
    text-decoration: line-through;
    opacity: 0.6;
}

.strikethroughCont {
    text-decoration: line-through;
    opacity: 0.6;
}

.bbGroupContainer {
    border: 1px solid black; 
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 10px;
}

.bbGroupedItems {
    border: none;
    margin-bottom: 0; 
    padding: 5px 0; 
}

.show-hide {
    animation: show-hide 1s forwards;
}

.blinking-text {
    animation: blink 1s linear infinite;
    font-weight:bold;
    font-size:11px;
    color:red;
}

.blinking-textH {
    animation: blink 1.5s linear infinite;
    font-weight: bold;
    font-size: 13px;
    color: yellow;
    
}

@keyframes blink {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.estLocked {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.estUnlocked {
}

.blur-backgroundM {
    filter: blur(5px);
    pointer-events: none;
    user-select: none;
}

.moCardBody {
    font-size: 11px;
    background-color: #eeeeee;
}

.moCardBodyB {
    font-size: 11px;
    background-color: #eeeeee;
    color:#000;
}

.moCardBodyW {
    font-size: 11px;
    background-color: #ffffff;
    color: #000;
}

.expanded-card {
    transition: all 0.3s ease-in-out;
}

.expanded {
    width: 100%;
    height: auto;
}

.headerModal {
    color: #fff;
    background-color: #5C1713;
    /*background-color: #000;*/
    font-size: 1.15rem;
}

.warningModal {
    background-color: #E2A8A5;
    color: #fff;
    font-size: 1.15rem;
}

.moRedHeader {
    color: #fff;
    background-color: #974f4b;
    font-size: 1.15rem;
}

.moBBHeader {
    color: #fff;
    background-color: #974f4b;
    font-size: 1.15rem;
}

.blueHeader {
    color: #fff;
    background-color: #974f4b;
    font-size: 1.15rem;
}

.redHeader {
    color: #fff;
    background-color: #7a1010;
    font-size: 1.15rem;
}

.smacRed {
    color: #7a1010
}

.smacBlue {
    color: #974f4b
}

.smacOrange {
    color: #e78023
}

.smacGreen {
    color: #93c54b
}

.floating-buttonSms {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #520D15;
    cursor: pointer;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

.iconbuttonSms {
    width: 50px;
    height: 50px;
    border-radius: 100%;
   /* background: #FF4F79;*/
    text-decoration: none;
}

    .iconbuttonSms i {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        color: white;
    }

.new-notification {
    position: absolute;
     top: -20px;
    left: calc(50% - 100px);
    transform: translateX(-50%);
   /* top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);*/
    background-color: red;
    color: white;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    display: none;
}

.floating-buttonSms.has-notifications .new-notification {
    display: block;
}

.fade-in {
    animation: fadeInOut 5s ease-in-out;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    10% {
        opacity: 1;
        transform: translateY(0);
    }

    90% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.smacGray {
    color: #b2b3b6
}

.smacGrayBtn {
    color: #fff;
    background-color: #b2b3b6;
    border-color: #000;
    box-shadow: none !important;    
}

    .smacGrayBtn:hover {
        color: #000;
        background-color: #B9726E;
        border-color: #000;
        box-shadow: none !important;
    }

    .smacGrayBtn:active {
        color: #000;
        background-color: #B9726E;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

    .smacGrayBtn:focus {
        color: #000;
        background-color: #B9726E;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

.smacGrayBtnActive {
    color: #000;
    background-color: #B9726E;
    border-color: #000;
    box-shadow: none !important;
    outline: 0px !important;
}

.moBlnkBtn
{
    background-color: transparent;
    padding: 0px;
    box-shadow: none !important;
    border-color:transparent;
}

.moDashBtn {
    background-color: transparent;
    padding: 0px;
    box-shadow: none !important;
    border-color: transparent;
    font-size:10px;
}

.moRedSelect {
    color: #fff;
    background-color: #520D15;
    border: 1px solid #000;
    border-radius: 7px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 4px 8px;
    font-size: 0.875rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

    .moRedSelect:hover {
        color: #000;
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none;
    }

    .moRedSelect:focus {
        color: #000;
        background-color: #6F7380;
        border-color: #000;
        outline: none;
        box-shadow: none;
    }

    .moRedSelect option {
        color: #000;
        background-color: #fff;
    }

.moRedBtnM {
    color: #fff;
    background-color: #520D15;
    border-color: #000;
    border-radius: 7px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

    .moRedBtnM:hover {
        color: #000;
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
    }

    .moRedBtnM:active {
        color: #000;
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

    .moRedBtnM:focus {
        color: #000;
        /*background-color: #76aa2a;*/
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

.makoverRedBtnM {
    color: #fff;
    background-color: #520D15;
    border-color: #000;
    border-radius: 7px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

    .makoverRedBtnM:hover {
        color: #000;
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
    }

    .makoverRedBtnM:active {
        color: #000;
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

    .makoverRedBtnM:focus {
        color: #000;
        /*background-color: #76aa2a;*/
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

.moGrayBtnM {
    color: #fff;
    background-color: #6F7380;
    border-color: #000;
    border-radius: 7px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

    .moGrayBtnM:hover {
        color: #000;
        background-color: #B9726E;
        border-color: #000;
        box-shadow: none !important;
    }

    .moGrayBtnM:active {
        color: #000;
        background-color: #B9726E;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

    .moGrayBtnM:focus {
        color: #000;
        background-color: #B9726E;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

.moGrayBtn {
    color: #fff;
    background-color: #6F7380;
    border-color: #000;
    box-shadow: none !important;
}

    .moGrayBtn:hover {
        color: #000;
        background-color: #B9726E;
        border-color: #000;
        box-shadow: none !important;
    }

    .moGrayBtn:active {
        color: #000;
        background-color: #B9726E;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

    .moGrayBtn:focus {
        color: #000;
        background-color: #B9726E;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

.moGrayBtnActive {
    color: #000;
    background-color: #B9726E;
    border-color: #000;
    box-shadow: none !important;
}

.moGrayBtn3 {
    color: #fff;
    background-color: #b2b3b6;
    border-color: #000;
    box-shadow: none !important;
}

    .moGrayBtn3:hover {
        color: #000;
        background-color: #B9726E;
        border-color: #000;
        box-shadow: none !important;
    }

    .moGrayBtn3:active {
        color: #000;
        background-color: #B9726E;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

    .moGrayBtn3:focus {
        color: #000;
        background-color: #B9726E;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }


.moGrayBtn2 {
    color: #000;
    /*font-weight:600;*/
    background-color: #b2b3b6;
    border-color: #000;
    box-shadow: none !important;
}

    .moGrayBtn2:hover {
        color: #fff;
        background-color: #B9726E;
        border-color: #000;
        box-shadow: none !important;
    }

    .moGrayBtn2:active {
        color: #fff;
        background-color: #B9726E;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

    .moGrayBtn2:focus {
        color: #fff;
        background-color: #B9726E;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

.moLightRedBtn {
    color: #000;
    background-color: #B9726E;
    border-color: #000;
    box-shadow: none !important;
}

.moRedBtn {
    color: #fff;
    background-color: #520D15;
    border-color: #000;
    box-shadow: 0;
}

    .moRedBtn:hover {
        color: #000;
        /*background-color: #76aa2a;*/
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
    }

    .moRedBtn:active {
        color: #000;
        /*background-color: #76aa2a;*/
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

    .moRedBtn:focus {
        color: #000;
        /*background-color: #76aa2a;*/
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

.moRedBtnM {
    color: #fff;
    background-color: #520D15;
    border-color: #000;
    border-radius: 7px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

    .moRedBtnM:hover {
        color: #000;
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
    }

    .moRedBtnM:active {
        color: #000;
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

    .moRedBtnM:focus {
        color: #000;
        /*background-color: #76aa2a;*/
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

.moYellowBtn {
    color: #000;
    background-color: #F7B500;
    border-color: #000;
    box-shadow: 0;
}

    .moYellowBtn:hover {
        color: #000;       
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
    }

    .moYellowBtn:active {
        color: #000;       
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

    .moYellowBtn:focus {
        color: #000;       
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

.moYellowBtn2 {
    color: #000;
    background-color: #FFFF00;
    border-color: #000;
    box-shadow: 0;
}

    .moYellowBtn2:hover {
        color: #000;
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
    }

.moGreenBtn {
    color: #000;
    background-color: #549C30;
    border-color: #000;
    box-shadow: 0;
}

    .moGreenBtn:hover {
        color: #000;
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
    }

    .moGreenBtn:active {
        color: #000;
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

    .moGreenBtn:focus {
        color: #000;
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

.moYellowBtnxs {
    color: #000;
    background-color: #F7B500;
    border-color: #000;
    box-shadow: 0;
    padding: 2px !important;
    font-size: 9px;
    margin-top: 5px;
}

    .moYellowBtnxs:hover {
        color: #000;
        background-color: #6F7380;
        border-color: #000;
        box-shadow: 0;
        padding: 2px !important;
        font-size: 9px;
        margin-top: 5px;
    }

    .moYellowBtnxs:active {
        color: #000;
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
        padding: 2px !important;
        font-size: 9px;
        margin-top: 5px;
    }

    .moYellowBtnxs:focus {
        color: #000;
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
        padding: 2px !important;
        font-size: 9px;
        margin-top: 5px;
    }



.moGreenBtnxs {
    color: #000;
    background-color: #549C30;
    border-color: #000;
    box-shadow: 0;
    padding: 2px !important;
    font-size: 9px;
    margin-top: 5px;
}

    .moGreenBtnxs:hover {
        color: #000;
        background-color: #6F7380;
        border-color: #000;
        box-shadow: 0;
        padding: 2px !important;
        font-size: 9px;
        margin-top: 5px;
    }

    .moGreenBtnxs:active {
        color: #000;
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
        padding: 2px !important;
        font-size: 9px;
        margin-top: 5px;
    }

    .moGreenBtnxs:focus {
        color: #000;
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
        padding: 2px !important;
        font-size: 9px;
        margin-top: 5px;
    }

.moRedBtnxs {
    color: #fff;
    background-color: #520D15;
    border-color: #000;
    box-shadow: 0;
    padding: 2px !important;
    font-size: 9px;
    margin-top:5px;
 /*   display:inline-block;*/
}

    .moRedBtnxs:hover {
        color: #000;
        /*background-color: #76aa2a;*/
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
        padding: 2px !important;
        font-size: 9px;
        margin-top: 5px;
    }

    .moRedBtnxs:active {
        color: #000;
        /*background-color: #76aa2a;*/
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
        padding: 2px !important;
        font-size: 9px;
        margin-top: 5px;
    }

    .moRedBtnxs:focus {
        color: #000;
        /*background-color: #76aa2a;*/
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
        padding: 2px !important;
        font-size: 9px;
        margin-top: 5px;
    }

.moRedBtnMxs {
    color: #fff;
    background-color: #520D15;
    border-color: #000;
    border-radius: 7px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 9px;
    padding: 2px !important;
}

    .moRedBtnMxs:hover {
        color: #000;
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
        font-size: 9px;
        padding: 2px !important;
    }

    .moRedBtnMxs:active {
        color: #000;
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
        font-size: 9px;
        padding: 2px !important;
    }

    .moRedBtnMxs:focus {
        color: #000;
        /*background-color: #76aa2a;*/
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
        font-size: 9px;
        padding: 2px !important;
    }

.moGrayBtnMxs {
    color: #fff;
    background-color: #6F7380;
    border-color: #000;
    border-radius: 7px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 9px;
    padding: 2px !important;
}

    .moGrayBtnMxs:hover {
        color: #000;
        background-color: #B9726E;
        border-color: #000;
        box-shadow: none !important;
        font-size: 9px;
        padding: 2px !important;
    }

    .moGrayBtnMxs:active {
        color: #000;
        background-color: #B9726E;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
        font-size: 9px;
        padding: 2px !important;
    }

    .moGrayBtnMxs:focus {
        color: #000;
        background-color: #B9726E;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
        font-size: 9px;
        padding: 2px !important;
    }

.moRedBtn2 {
    color: #fff;
    background-color: #974f4b;
    border-color: #000;
    box-shadow: 0;
}

    .moRedBtn2:hover {
        color: #000;
        /*background-color: #76aa2a;*/
        background-color: #b2b3b6;
        border-color: #000;
        box-shadow: none !important;
    }

    .moRedBtn2:active {
        color: #000;
        /*background-color: #76aa2a;*/
        background-color: #b2b3b6;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

    .moRedBtn2:focus {
        color: #000;
        /*background-color: #76aa2a;*/
        background-color: #b2b3b6;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }


.moWhiteBtn {
    color: #520D15;
    background-color: #fff;
    border-color: #000;
    box-shadow: 0;   
   
}

    .moWhiteBtn:hover {
        color: #fff;
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
    }

    .moWhiteBtn:active {
        color: #520D15;
        background-color: #fff;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

.moWhiteBtnM {
    color: #520D15;
    background-color: #fff;
    border-color: #000;
    border-radius: 7px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

    .moWhiteBtnM:hover {
        color: #fff;
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

    .moWhiteBtnM:active {
        color: #520D15;
        background-color: #fff;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

.moWhiteBtnSm {
    color: #fff;
    border-color: #fff;
}

    .moWhiteBtnSm:hover {
        color: #000;
        border-color: #fff;
        background-color: #b2b3b6;      
    }

.moWhiteBtnTp {
    color: #fff;
    background-color: transparent;
    border-color: transparent;    
    box-shadow: 0;
}

    .moWhiteBtnTp:hover {
        color: #d3d3d3;
        background-color: transparent;
        border-color: transparent;
        box-shadow: 0;
    }

    .moWhiteBtnTp:active {
        color: #fff;
        background-color: transparent;
        border-color: transparent;
        box-shadow: 0;
    }

.custom-blue-button {
    width: 20px;
    height: 20px;
    background-color: #520D15;
    padding: 0;
    border-radius: 4px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom-blue-button:disabled {
        opacity: 0.7;
    }

.custom-remove-button {
    width: 20px;
    height: 20px;
    background-color: #6F7380;
    padding: 0;
    border-radius: 4px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom-remove-button:disabled {
        opacity: 0.7;
    }

.custom-remove-button-sm {
    width: 14px;
    height: 14px;
    background-color: #6F7380;
    padding: 0;
    border-radius: 3px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom-remove-button-sm:disabled {
        opacity: 0.7;
    }

.stopRed{
    color:#BB1E10;
}

.stopYellow{
    color:#F7B500;
}

.stopGreen{
    color: #549C30;
}

.stopGreen2 {
    color: #32A431;
}


.moRed {
    color: #520D15;
}

.moRed2 {
    color: #974f4b;
}

.moGray {
    color: #6F7380
}

.moGray2 {
    color: #b2b3b6
}

.moLightGray{
    color: #d3d3d3;
}

.moWhite{
    color:white
}

.moBlue {
    color: #095787;
}

.moGreen {
    color: #6b9430;
}

.moRedHeader {
    color: #fff;
    background-color: #520D15;
    font-size: 1.15rem;
}

.moRedHeadersm {
    color: #fff;
    background-color: #520D15;
    font-size: 10px;
}

.moRedHeader2 {
    color: #fff;
    background-color: #974f4b;
    font-size: 1.15rem;
}

.moDarkRedHeader {
    color: #FFF;
    background-color: #520D15;
    font-size: 1.15rem;
}

.moDarkRedBtn {
    color: #fff;
    background-color: #520D15;
    border-color: #000;
    box-shadow: 0;
}

    .moDarkRedBtn:hover {
        color: #000;
        /*background-color: #76aa2a;*/
        background-color: #b2b3b6;
        border-color: #000;
        box-shadow: none !important;
    }

    .moDarkRedBtn:active {
        color: #000;
        /*background-color: #76aa2a;*/
        background-color: #b2b3b6;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

    .moDarkRedBtn:focus {
        color: #000;
        /*background-color: #76aa2a;*/
        background-color: #b2b3b6;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

.moGrayHeader {
    color: #000;
    background-color: #6F7380;
    font-size: 1.15rem;
}

.moGrayHeaderW {
    color: #fff;
    background-color: #6F7380;
    font-size: 1.15rem;
}

.moGrayHeader2 {
    color: #000;
    background-color: #b2b3b6;
    font-size: 1.15rem;
}

.moGrayHeadersm {
    color: #000;
    background-color: #b2b3b6;
    font-size:10px;
}

.moRequiredItem{
    /*color:#ffff00;*/
    font-weight:bold;
    background-color:#ffff00;
}

.moRequiredItemAdmin {    
    background-color: #ffff00;
}

.moRequiredText {
    color:#ffff00;
    font-weight: bold;
   
}

.moRequiredNp{
    color:#000;
    font-weight:bold;
    
}

.moRequiredDate {
    color: #000;
    
}

.moRequiredTextNp {
    color: #fff;
   
}

.moRequiredTextNpB {
    color: #000;
}


.smacRedB {
    color: #7a1010;
    font-weight: bold;
}

.smacBlueB {
    color: #974f4b;
    font-weight: bold;
}

.smacOrangeB {
    color: #e78023;
    font-weight: bold;
}

.smacGreenB {
    color: #93c54b;
    font-weight: bold;
}

.smacRedBU {
    color: #7a1010;
    font-weight: bold;
    text-decoration: underline;
}

.smacBlueBU {
    color: #974f4b;
    font-weight: bold;
    text-decoration: underline;
}

.smacOrangeBU {
    color: #e78023;
    font-weight: bold;
    text-decoration: underline;
}

.smacGreenBU {
    color: #93c54b;
    font-weight: bold;
    text-decoration: underline;
}

.smacBlueU {
    color: #974f4b;
    text-decoration: underline;
}


.smacGreenBtn {
    color: #fff;
    background-color: #974f4b;
    border-color: #000;
    font-weight: 400;
    box-shadow: none !important;
}

    .smacGreenBtn:hover {
        color: #000;
        /*background-color: #76aa2a;*/
        background-color: #b2b3b6;
        border-color: #000;
        box-shadow: none !important;
    }

    .smacGreenBtn:active {
        color: #000;
        /*background-color: #76aa2a;*/
        background-color: #b2b3b6;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

    .smacGreenBtn:focus {
        color: #000;
        /*background-color: #76aa2a;*/
        background-color: #b2b3b6;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }



.smacRedBtn {
    color: #fff;
    background-color: #7a1010;
    border-color: #1861ac;
}

.gradient {
    background-color: #ffffff;
    background-image: linear-gradient(#c0c0c0, #ffffff)
}

.homeLinks {
    color: #000000;
    text-decoration: underline;
}

a.featureLinks {
    color: #ffffff;
    text-decoration: underline;
}

    a.featureLinks:hover {
        color: #ffffff;
        text-decoration: underline;
        font-weight: bold;
    }


.footerLinks {
    color: #000000;
    text-decoration: none;
}


.scrollable {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 300px;
}

.scrollable125 {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 125px;
}

.scrollableLg {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 550px;
}

.scrollableUniv {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 650px;
}

.scrolling-wrapper {
    overflow-x: auto;
}


/*PUBLIC SITE CSS*/

@media(max-width: 575.98px) {


    .levelView {
        overflow-y: auto;
        height:250px;
    }   

    .custom .e-list-item.e-level-1.e-active.e-has-child > .e-fullrow {
        background-color: transparent !important;
        border: none;
        /*height: 25px !important;*/
    }

    .custom .e-list-item.e-level-2.e-active.e-has-child > .e-fullrow {
        background-color: transparent !important;
        border: none;
       /* height: 25px !important;*/
    }

    .custom .e-list-item.e-level-3.e-active > .e-fullrow {
        background-color: transparent !important;
        border: none;
        /*height: 25px !important;*/
    }

    .custom .e-list-item.e-level-1 > .e-text-content .e-list-text {
        color: #520D15 !important;
       /* line-height: 25px !important;*/
    }

    .custom .e-list-item.e-level-2 > .e-text-content .e-list-text {
        color: black !important;
        font-size: 10px !important;
       /* line-height: 25px !important;*/
    }

    .custom .e-list-item.e-level-3 > .e-text-content .e-list-text {
        color: black !important;
       /* line-height: 25px !important;*/
    }

    .custom .e-icon-collapsible::before {
        color: black;
    }

    .custom .e-icon-expandable::before {
        color: black;
    }

    .custom .e-list-item.e-level-1 > .e-text-content.e-icon-wrapper
    .e-checkbox-wrapper {
        display: none
    }

    .custom .e-list-item.e-level-2 > .e-text-content.e-icon-wrapper
    .e-checkbox-wrapper {
        display: none
    }

    .nodetext {
        float: left;
        font-size: 9px;
       /* display:none;*/
    }

    .nodebadge {
        float: right;
        padding-left: 10px;
    }

    .nodesaving {
        float: right;
        padding-left: 20px;
    }

    .nodesave {
        float: right;
        padding-left: 20px;
    }

    .nodebadgeItem {
        float: right;
        padding-left: 30px;
        width: 300px;
    }

    .nodeEdit {
        float: right;
        padding-left: 10px;
    }

    .nodeLevelOneImg {
        float: right;        
        padding-left: 10px;
    }

    .nodeMeasure {
        float: right;
        padding-left: 10px;
    }

    .nodeImages {
        float: right;
        padding-left: 10px;
    }

    .nodeImagesView {
        float: right;
        padding-left: 10px;
    }

    .nodeRoomName {
        float: right;
        padding-left: 10px;
        font-size: 10px;
        font-weight: normal;
    }

    .nodeDelete {
        float: right;
        padding-left: 10px;
       /* display:none;*/
    }

    /*------------------------CUSTOMER PROJECT SCOPE HOUSE IMAGES CSS--------------------------*/

    .levelButtonBsmnt {
        background: url('../images/narratives/BasementWhiteM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
    }

        .levelButtonBsmnt:active {
            background: url('../images/narratives/BasementWhiteM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

        .levelButtonBsmnt:hover {
            background: url('../images/narratives/BasementRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

    .levelButtonBsmntR {
        background: url('../images/narratives/BasementRedM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        cursor: none !important;
    }

    .levelButtonFirst {
        background: url('../images/narratives/FirstFloorWhiteM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
    }

        .levelButtonFirst:active {
            background: url('../images/narratives/FirstFloorRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

        .levelButtonFirst:hover {
            background: url('../images/narratives/FirstFloorRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

    .levelButtonFirstR {
        background: url('../images/narratives/FirstFloorRedM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        cursor: none !important;
    }


    .levelButtonSecond {
        background: url('../images/narratives/SecondFloorWhiteM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
    }

        .levelButtonSecond:active {
            background: url('../images/narratives/SecondFloorRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

        .levelButtonSecond:hover {
            background: url('../images/narratives/SecondFloorRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }


    .levelButtonSecondR {
        background: url('../images/narratives/SecondFloorRedM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        cursor: none !important;
    }




    .levelButtonAttic {
        background: url('../images/narratives/AtticWhiteM.png') no-repeat;
        border: none;
        height: 50px;
        width: 100px;
    }

        .levelButtonAttic:active {
            background: url('../images/narratives/AtticRedM.png') no-repeat;
            border: none;
            height: 50px;
            width: 100px;
        }

        .levelButtonAttic:hover {
            background: url('../images/narratives/AtticRedM.png') no-repeat;
            border: none;
            height: 50px;
            width: 100px;
        }


    .levelButtonAtticR {
        background: url('../images/narratives/AtticRedM.png') no-repeat;
        border: none;
        height: 50px;
        width: 100px;
        cursor: none !important;
    }


    .levelButtonExterior {
        background: url('../images/narratives/ExteriorWhiteM.png') no-repeat;
        border: none;
        height: 175px;
        width: 86px;
    }

        .levelButtonExterior:active {
            background: url('../images/narratives/ExteriorRedM.png') no-repeat;
            border: none;
            height: 175px;
            width: 86px;
        }

        .levelButtonExterior:hover {
            background: url('../images/narratives/ExteriorRedM.png') no-repeat;
            border: none;
            height: 175px;
            width: 86px;
        }

    .levelButtonExteriorR {
        background: url('../images/narratives/ExteriorRedM.png') no-repeat;
        border: none;
        height: 175px;
        width: 86px;
        cursor: none !important;
    }


    .levelButtonGarage {
        background: url('../images/narratives/GarageWhiteM.png') no-repeat;
        border: none;
        height: 50px;
        width: 100px;
      
    }

        .levelButtonGarage:active {
            background: url('../images/narratives/GarageRedM.png') no-repeat;
            border: none;
            height: 50px;
            width: 100px;
           
        }

        .levelButtonGarage:hover {
            background: url('../images/narratives/GarageRedM.png') no-repeat;
            border: none;
            height: 50px;
            width: 100px;
            
        }

    .levelButtonGarageR {
        background: url('../images/narratives/GarageRedM.png') no-repeat;
        border: none;
        height: 50px;
        width: 100px;
        cursor: none !important;
        
    }

    .levelButtonCrawl {
        background: url('../images/narratives/CrawlWhiteM.png') no-repeat;
        border: none;
        height: 17px;
        width: 100px;
    }

        .levelButtonCrawl:active {
            background: url('../images/narratives/CrawlWhiteM.png') no-repeat;
            border: none;
            height: 17px;
            width: 100px;
        }

        .levelButtonCrawl:hover {
            background: url('../images/narratives/CrawlRedM.png') no-repeat;
            border: none;
            height: 17px;
            width: 100px;
        }

    .levelButtonCrawlR {
        background: url('../images/narratives/CrawlRedM.png') no-repeat;
        border: none;
        height: 17px;
        width: 100px;
        cursor: none !important;
    }

    .levelButtonMechanicals {
        background: url('../images/narratives/MechanicalsWhiteM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        margin-top: 75px;
    }

        .levelButtonMechanicals:active {
            background: url('../images/narratives/MechanicalsWhiteM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
            margin-top: 75px;
        }

        .levelButtonMechanicals:hover {
            background: url('../images/narratives/MechanicalsRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
            margin-top: 75px;
        }

    .levelButtonMechanicalsR {
        background: url('../images/narratives/MechanicalsRedM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        margin-top: 75px;
        cursor: none !important;
    }
}

@media (min-width: 576px) and (max-width:767.98px) {

    .levelView {
        overflow-y: auto;
        height: 320px;
    }

    .custom .e-list-item.e-level-1.e-active.e-has-child > .e-fullrow {
        background-color: transparent !important;
        border: none;
    }

    .custom .e-list-item.e-level-2.e-active.e-has-child > .e-fullrow {
        background-color: transparent !important;
        border: none;
    }

    .custom .e-list-item.e-level-3.e-active > .e-fullrow {
        background-color: transparent !important;
        border: none;
    }

    .custom .e-list-item.e-level-2 > .e-text-content .e-list-text {
        color: black !important;
    }

    .custom .e-list-item.e-level-3 > .e-text-content .e-list-text {
        color: black !important;
    }

    .custom .e-icon-collapsible::before {
        color: black;
    }

    .custom .e-icon-expandable::before {
        color: black;
    }

    .custom .e-list-item.e-level-1 > .e-text-content .e-list-text {
        color: #520D15 !important;
    }

    .custom .e-list-item.e-level-1 > .e-text-content.e-icon-wrapper
    .e-checkbox-wrapper {
        display: none
    }

    .custom .e-list-item.e-level-2 > .e-text-content.e-icon-wrapper
    .e-checkbox-wrapper {
        display: none
    }

    .nodetext {
        float: left;
        font-size: 12px;
    }

    .nodebadge {
        float: right;
        padding-left: 20px;
    }

    .nodesaving {
        float: right;
        padding-left: 20px;
    }

    .nodesave {
        float: right;
        padding-left: 20px;
    }

    .nodebadgeItem {
        float: right;
        padding-left: 30px;
        width: 300px;
    }

    .nodeEdit {
        float: right;
        padding-left: 20px;
    }

    .nodeLevelOneImg {
        float: right;
        padding-left: 10px;
    }

    .nodeMeasure {
        float: right;
        padding-left: 20px;
    }

    .nodeImages {
        float: right;
        padding-left: 20px;
    }

    .nodeImagesView {
        float: right;
        padding-left: 20px;
    }

    .nodeRoomName {
        float: right;
        padding-left: 10px;
        font-size: 11px;
        font-weight: normal;
    }

    .nodeDelete {
        float: right;
        padding-left: 100px;
    }

    /*------------------------CUSTOMER PROJECT SCOPE HOUSE IMAGES CSS--------------------------*/

    .levelButtonBsmnt {
        background: url('../images/narratives/BasementWhiteM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
    }

        .levelButtonBsmnt:active {
            background: url('../images/narratives/BasementWhiteM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

        .levelButtonBsmnt:hover {
            background: url('../images/narratives/BasementRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

    .levelButtonBsmntR {
        background: url('../images/narratives/BasementRedM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        cursor: none !important;
    }

    .levelButtonFirst {
        background: url('../images/narratives/FirstFloorWhiteM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
    }

        .levelButtonFirst:active {
            background: url('../images/narratives/FirstFloorRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

        .levelButtonFirst:hover {
            background: url('../images/narratives/FirstFloorRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

    .levelButtonFirstR {
        background: url('../images/narratives/FirstFloorRedM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        cursor: none !important;
    }


    .levelButtonSecond {
        background: url('../images/narratives/SecondFloorWhiteM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
    }

        .levelButtonSecond:active {
            background: url('../images/narratives/SecondFloorRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

        .levelButtonSecond:hover {
            background: url('../images/narratives/SecondFloorRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }


    .levelButtonSecondR {
        background: url('../images/narratives/SecondFloorRedM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        cursor: none !important;
    }




    .levelButtonAttic {
        background: url('../images/narratives/AtticWhiteM.png') no-repeat;
        border: none;
        height: 50px;
        width: 100px;
    }

        .levelButtonAttic:active {
            background: url('../images/narratives/AtticRedM.png') no-repeat;
            border: none;
            height: 50px;
            width: 100px;
        }

        .levelButtonAttic:hover {
            background: url('../images/narratives/AtticRedM.png') no-repeat;
            border: none;
            height: 50px;
            width: 100px;
        }


    .levelButtonAtticR {
        background: url('../images/narratives/AtticRedM.png') no-repeat;
        border: none;
        height: 50px;
        width: 100px;
        cursor: none !important;
    }


    .levelButtonExterior {
        background: url('../images/narratives/ExteriorWhiteM.png') no-repeat;
        border: none;
        height: 175px;
        width: 86px;
    }

        .levelButtonExterior:active {
            background: url('../images/narratives/ExteriorRedM.png') no-repeat;
            border: none;
            height: 175px;
            width: 86px;
        }

        .levelButtonExterior:hover {
            background: url('../images/narratives/ExteriorRedM.png') no-repeat;
            border: none;
            height: 175px;
            width: 86px;
        }

    .levelButtonExteriorR {
        background: url('../images/narratives/ExteriorRedM.png') no-repeat;
        border: none;
        height: 175px;
        width: 86px;
        cursor: none !important;
    }


    .levelButtonGarage {
        background: url('../images/narratives/GarageWhiteM.png') no-repeat;
        border: none;
        height: 50px;
        width: 100px;
    }

        .levelButtonGarage:active {
            background: url('../images/narratives/GarageRedM.png') no-repeat;
            border: none;
            height: 50px;
            width: 100px;
        }

        .levelButtonGarage:hover {
            background: url('../images/narratives/GarageRedM.png') no-repeat;
            border: none;
            height: 50px;
            width: 100px;
        }

    .levelButtonGarageR {
        background: url('../images/narratives/GarageRedM.png') no-repeat;
        border: none;
        height: 50px;
        width: 100px;
        cursor: none !important;
    }

    .levelButtonCrawl {
        background: url('../images/narratives/CrawlWhiteM.png') no-repeat;
        border: none;
        height: 17px;
        width: 100px;
    }

        .levelButtonCrawl:active {
            background: url('../images/narratives/CrawlWhiteM.png') no-repeat;
            border: none;
            height: 17px;
            width: 100px;
        }

        .levelButtonCrawl:hover {
            background: url('../images/narratives/CrawlRedM.png') no-repeat;
            border: none;
            height: 17px;
            width: 100px;
        }

    .levelButtonCrawlR {
        background: url('../images/narratives/CrawlRedM.png') no-repeat;
        border: none;
        height: 17px;
        width: 100px;
        cursor: none !important;
    }

    .levelButtonMechanicals {
        background: url('../images/narratives/MechanicalsWhiteM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        margin-top: 75px;
    }

        .levelButtonMechanicals:active {
            background: url('../images/narratives/MechanicalsWhiteM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
            margin-top: 75px;
        }

        .levelButtonMechanicals:hover {
            background: url('../images/narratives/MechanicalsRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
            margin-top: 75px;
        }

    .levelButtonMechanicalsR {
        background: url('../images/narratives/MechanicalsRedM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        margin-top: 75px;
        cursor: none !important;
    }
}

@media (min-width: 768px) and (max-width:991.98px) {

    .levelView {
        overflow-y: auto;
        height: 320px;
    }

    .custom .e-list-item.e-level-1.e-active.e-has-child > .e-fullrow {
        background-color: transparent !important;
        border: none;
    }

    .custom .e-list-item.e-level-2.e-active.e-has-child > .e-fullrow {
        background-color: transparent !important;
        border: none;
    }

    .custom .e-list-item.e-level-3.e-active > .e-fullrow {
        background-color: transparent !important;
        border: none;
    }

    .custom .e-list-item.e-level-2 > .e-text-content .e-list-text {
        color: black !important;
    }

    .custom .e-list-item.e-level-3 > .e-text-content .e-list-text {
        color: black !important;
    }

    .custom .e-icon-collapsible::before {
        color: black;
    }

    .custom .e-icon-expandable::before {
        color: black;
    }

    .custom .e-list-item.e-level-1 > .e-text-content .e-list-text {
        color: #520D15 !important;
    }

    .custom .e-list-item.e-level-1 > .e-text-content.e-icon-wrapper
    .e-checkbox-wrapper {
        display: none
    }

    .custom .e-list-item.e-level-2 > .e-text-content.e-icon-wrapper
    .e-checkbox-wrapper {
        display: none
    }
    
    .nodetext {
        float: left;
        font-size: 12px;
    }

    .nodebadge {
        float: right;
        padding-left: 20px;
    }

    .nodesaving {
        float: right;
        padding-left: 20px;
    }

    .nodesave {
        float: right;
        padding-left: 20px;
    }

    .nodebadgeItem {
        float: right;
        padding-left: 30px;
        width: 300px;
    }

    .nodeEdit {
        float: right;
        padding-left: 20px;
    }

    .nodeLevelOneImg {
        float: right;
        padding-left: 10px;
    }

    .nodeMeasure {
        float: right;
        padding-left: 20px;
    }

    .nodeImages {
        float: right;
        padding-left: 20px;
    }

    .nodeImagesView {
        float: right;
        padding-left: 20px;
    }

    .nodeRoomName {
        float: right;
        padding-left: 10px;
        font-size: 11px;
        font-weight: normal;
    }

    .nodeDelete {
        float: right;
        padding-left: 100px;
    }

    /*------------------------CUSTOMER PROJECT SCOPE HOUSE IMAGES CSS--------------------------*/

    .levelButtonBsmnt {
        background: url('../images/narratives/BasementWhiteM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
    }

        .levelButtonBsmnt:active {
            background: url('../images/narratives/BasementWhiteM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

        .levelButtonBsmnt:hover {
            background: url('../images/narratives/BasementRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

    .levelButtonBsmntR {
        background: url('../images/narratives/BasementRedM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        cursor: none !important;
    }

    .levelButtonFirst {
        background: url('../images/narratives/FirstFloorWhiteM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
    }

        .levelButtonFirst:active {
            background: url('../images/narratives/FirstFloorRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

        .levelButtonFirst:hover {
            background: url('../images/narratives/FirstFloorRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

    .levelButtonFirstR {
        background: url('../images/narratives/FirstFloorRedM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        cursor: none !important;
    }


    .levelButtonSecond {
        background: url('../images/narratives/SecondFloorWhiteM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
    }

        .levelButtonSecond:active {
            background: url('../images/narratives/SecondFloorRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

        .levelButtonSecond:hover {
            background: url('../images/narratives/SecondFloorRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }


    .levelButtonSecondR {
        background: url('../images/narratives/SecondFloorRedM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        cursor: none !important;
    }




    .levelButtonAttic {
        background: url('../images/narratives/AtticWhiteM.png') no-repeat;
        border: none;
        height: 50px;
        width: 100px;
    }

        .levelButtonAttic:active {
            background: url('../images/narratives/AtticRedM.png') no-repeat;
            border: none;
            height: 50px;
            width: 100px;
        }

        .levelButtonAttic:hover {
            background: url('../images/narratives/AtticRedM.png') no-repeat;
            border: none;
            height: 50px;
            width: 100px;
        }


    .levelButtonAtticR {
        background: url('../images/narratives/AtticRedM.png') no-repeat;
        border: none;
        height: 50px;
        width: 100px;
        cursor: none !important;
    }


    .levelButtonExterior {
        background: url('../images/narratives/ExteriorWhiteM.png') no-repeat;
        border: none;
        height: 175px;
        width: 86px;
    }

        .levelButtonExterior:active {
            background: url('../images/narratives/ExteriorRedM.png') no-repeat;
            border: none;
            height: 175px;
            width: 86px;
        }

        .levelButtonExterior:hover {
            background: url('../images/narratives/ExteriorRedM.png') no-repeat;
            border: none;
            height: 175px;
            width: 86px;
        }

    .levelButtonExteriorR {
        background: url('../images/narratives/ExteriorRedM.png') no-repeat;
        border: none;
        height: 175px;
        width: 86px;
        cursor: none !important;
    }


    .levelButtonGarage {
        background: url('../images/narratives/GarageWhiteM.png') no-repeat;
        border: none;
        height: 50px;
        width: 100px;
    }

        .levelButtonGarage:active {
            background: url('../images/narratives/GarageRedM.png') no-repeat;
            border: none;
            height: 50px;
            width: 100px;
        }

        .levelButtonGarage:hover {
            background: url('../images/narratives/GarageRedM.png') no-repeat;
            border: none;
            height: 50px;
            width: 100px;
        }

    .levelButtonGarageR {
        background: url('../images/narratives/GarageRedM.png') no-repeat;
        border: none;
        height: 50px;
        width: 100px;
        cursor: none !important;
    }

    .levelButtonCrawl {
        background: url('../images/narratives/CrawlWhiteM.png') no-repeat;
        border: none;
        height: 17px;
        width: 100px;
    }

        .levelButtonCrawl:active {
            background: url('../images/narratives/CrawlWhiteM.png') no-repeat;
            border: none;
            height: 17px;
            width: 100px;
        }

        .levelButtonCrawl:hover {
            background: url('../images/narratives/CrawlRedM.png') no-repeat;
            border: none;
            height: 17px;
            width: 100px;
        }

    .levelButtonCrawlR {
        background: url('../images/narratives/CrawlRedM.png') no-repeat;
        border: none;
        height: 17px;
        width: 100px;
        cursor: none !important;
    }

    .levelButtonMechanicals {
        background: url('../images/narratives/MechanicalsWhiteM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        margin-top: 75px;
    }

        .levelButtonMechanicals:active {
            background: url('../images/narratives/MechanicalsWhiteM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
            margin-top: 75px;
        }

        .levelButtonMechanicals:hover {
            background: url('../images/narratives/MechanicalsRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
            margin-top: 75px;
        }

    .levelButtonMechanicalsR {
        background: url('../images/narratives/MechanicalsRedM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        margin-top: 75px;
        cursor: none !important;
    }

}

@media (min-width: 992px) and (max-width:1198.98px) {

    .levelView {
        overflow-y: auto;
        height: 400px;
    }

    .custom .e-list-item.e-level-1.e-active.e-has-child > .e-fullrow {
        background-color: transparent !important;
        border: none;
    }

    .custom .e-list-item.e-level-2.e-active.e-has-child > .e-fullrow {
        background-color: transparent !important;
        border: none;
    }

    .custom .e-list-item.e-level-3.e-active > .e-fullrow {
        background-color: transparent !important;
        border: none;
    }

    .custom .e-list-item.e-level-2 > .e-text-content .e-list-text {
        color: black !important;
    }

    .custom .e-list-item.e-level-3 > .e-text-content .e-list-text {
        color: black !important;
    }

    .custom .e-icon-collapsible::before {
        color: black;
    }

    .custom .e-icon-expandable::before {
        color: black;
    }

    .custom .e-list-item.e-level-1 > .e-text-content .e-list-text {
        color: #520D15 !important;
    }

    .custom .e-list-item.e-level-1 > .e-text-content.e-icon-wrapper
    .e-checkbox-wrapper {
        display: none
    }

    .custom .e-list-item.e-level-2 > .e-text-content.e-icon-wrapper
    .e-checkbox-wrapper {
        display: none
    }

    .nodetext {
        float: left;
        font-size: 12px;
    }

    .nodebadge {
        float: right;
        padding-left: 20px;
    }

    .nodesaving {
        float: right;
        padding-left: 20px;
    }

    .nodesave {
        float: right;
        padding-left: 20px;
    }

    .nodebadgeItem {
        float: right;
        padding-left: 30px;
        width: 300px;
    }

    .nodeEdit {
        float: right;
        padding-left: 20px;
    }

    .nodeLevelOneImg {
        float: right;
        padding-left: 10px;
    }

    .nodeMeasure {
        float: right;
        padding-left: 20px;
    }

    .nodeImages {
        float: right;
        padding-left: 20px;
    }

    .nodeImagesView {
        float: right;
        padding-left: 20px;
    }

    .nodeRoomName {
        float: right;
        padding-left: 10px;
        font-size: 11px;
        font-weight: normal;
    }

    .nodeDelete {
        float: right;
        padding-left: 100px;
    }

    /*------------------------CUSTOMER PROJECT SCOPE HOUSE IMAGES CSS--------------------------*/

    .levelButtonBsmnt {
        background: url('../images/narratives/BasementWhiteM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
    }

        .levelButtonBsmnt:active {
            background: url('../images/narratives/BasementWhiteM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

        .levelButtonBsmnt:hover {
            background: url('../images/narratives/BasementRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

    .levelButtonBsmntR {
        background: url('../images/narratives/BasementRedM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        cursor: none !important;
    }

    .levelButtonFirst {
        background: url('../images/narratives/FirstFloorWhiteM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
    }

        .levelButtonFirst:active {
            background: url('../images/narratives/FirstFloorRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

        .levelButtonFirst:hover {
            background: url('../images/narratives/FirstFloorRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

    .levelButtonFirstR {
        background: url('../images/narratives/FirstFloorRedM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        cursor: none !important;
    }


    .levelButtonSecond {
        background: url('../images/narratives/SecondFloorWhiteM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
    }

        .levelButtonSecond:active {
            background: url('../images/narratives/SecondFloorRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

        .levelButtonSecond:hover {
            background: url('../images/narratives/SecondFloorRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }


    .levelButtonSecondR {
        background: url('../images/narratives/SecondFloorRedM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        cursor: none !important;
    }




    .levelButtonAttic {
        background: url('../images/narratives/AtticWhiteM.png') no-repeat;
        border: none;
        height: 50px;
        width: 100px;
    }

        .levelButtonAttic:active {
            background: url('../images/narratives/AtticRedM.png') no-repeat;
            border: none;
            height: 50px;
            width: 100px;
        }

        .levelButtonAttic:hover {
            background: url('../images/narratives/AtticRedM.png') no-repeat;
            border: none;
            height: 50px;
            width: 100px;
        }


    .levelButtonAtticR {
        background: url('../images/narratives/AtticRedM.png') no-repeat;
        border: none;
        height: 50px;
        width: 100px;
        cursor: none !important;
    }


    .levelButtonExterior {
        background: url('../images/narratives/ExteriorWhiteM.png') no-repeat;
        border: none;
        height: 175px;
        width: 86px;
    }

        .levelButtonExterior:active {
            background: url('../images/narratives/ExteriorRedM.png') no-repeat;
            border: none;
            height: 175px;
            width: 86px;
        }

        .levelButtonExterior:hover {
            background: url('../images/narratives/ExteriorRedM.png') no-repeat;
            border: none;
            height: 175px;
            width: 86px;
        }

    .levelButtonExteriorR {
        background: url('../images/narratives/ExteriorRedM.png') no-repeat;
        border: none;
        height: 175px;
        width: 86px;
        cursor: none !important;
    }


    .levelButtonGarage {
        background: url('../images/narratives/GarageWhiteM.png') no-repeat;
        border: none;
        height: 50px;
        width: 100px;
    }

        .levelButtonGarage:active {
            background: url('../images/narratives/GarageRedM.png') no-repeat;
            border: none;
            height: 50px;
            width: 100px;
        }

        .levelButtonGarage:hover {
            background: url('../images/narratives/GarageRedM.png') no-repeat;
            border: none;
            height: 50px;
            width: 100px;
        }

    .levelButtonGarageR {
        background: url('../images/narratives/GarageRedM.png') no-repeat;
        border: none;
        height: 50px;
        width: 100px;
        cursor: none !important;
    }

    .levelButtonCrawl {
        background: url('../images/narratives/CrawlWhiteM.png') no-repeat;
        border: none;
        height: 17px;
        width: 100px;
    }

        .levelButtonCrawl:active {
            background: url('../images/narratives/CrawlWhiteM.png') no-repeat;
            border: none;
            height: 17px;
            width: 100px;
        }

        .levelButtonCrawl:hover {
            background: url('../images/narratives/CrawlRedM.png') no-repeat;
            border: none;
            height: 17px;
            width: 100px;
        }

    .levelButtonCrawlR {
        background: url('../images/narratives/CrawlRedM.png') no-repeat;
        border: none;
        height: 17px;
        width: 100px;
        cursor: none !important;
    }

    .levelButtonMechanicals {
        background: url('../images/narratives/MechanicalsWhiteM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        margin-top: 75px;
    }

        .levelButtonMechanicals:active {
            background: url('../images/narratives/MechanicalsWhiteM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
            margin-top: 75px;
        }

        .levelButtonMechanicals:hover {
            background: url('../images/narratives/MechanicalsRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
            margin-top: 75px;
        }

    .levelButtonMechanicalsR {
        background: url('../images/narratives/MechanicalsRedM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        margin-top: 75px;
        cursor: none !important;
    }
}


@media (min-width: 1200px) and (max-width: 1399.98px) {

    .levelView {
        overflow-y: auto;
        height: 400px;
    }

    .custom .e-list-item.e-level-1.e-active.e-has-child > .e-fullrow {
        background-color: transparent !important;
        border: none;
    }

    .custom .e-list-item.e-level-2.e-active.e-has-child > .e-fullrow {
        background-color: transparent !important;
        border: none;
    }

    .custom .e-list-item.e-level-3.e-active > .e-fullrow {
        background-color: transparent !important;
        border: none;
    }

    .custom .e-list-item.e-level-2 > .e-text-content .e-list-text {
        color: black !important;
    }

    .custom .e-list-item.e-level-3 > .e-text-content .e-list-text {
        color: black !important;
    }

    .custom .e-icon-collapsible::before {
        color: black;
    }

    .custom .e-icon-expandable::before {
        color: black;
    }

    .custom .e-list-item.e-level-1 > .e-text-content .e-list-text {
        color: #520D15 !important;
    }

    .custom .e-list-item.e-level-1 > .e-text-content.e-icon-wrapper
    .e-checkbox-wrapper {
        display: none
    }

    .custom .e-list-item.e-level-2 > .e-text-content.e-icon-wrapper
    .e-checkbox-wrapper {
        display: none
    }

    .nodetext {
        float: left;
        font-size: 12px;
    }

    .nodebadge {
        float: right;
        padding-left: 20px;
    }

    .nodesaving {
        float: right;
        padding-left: 20px;
    }

    .nodesave {
        float: right;
        padding-left: 20px;
    }

    .nodebadgeItem {
        float: right;
        padding-left: 30px;
        width: 300px;
    }

    .nodeEdit {
        float: right;
        padding-left: 20px;
    }

    .nodeLevelOneImg {
        float: right;
        padding-left: 10px;
    }

    .nodeMeasure {
        float: right;
        padding-left: 20px;
    }

    .nodeImages {
        float: right;
        padding-left: 20px;
    }

    .nodeImagesView {
        float: right;
        padding-left: 20px;
    }

    .nodeRoomName {
        float: right;
        padding-left: 10px;
        font-size: 11px;
        font-weight: normal;
    }

    .nodeDelete {
        float: right;
        padding-left: 100px;
    }

    /*------------------------CUSTOMER PROJECT SCOPE HOUSE IMAGES CSS--------------------------*/

    .levelButtonBsmnt {
        background: url('../images/narratives/BasementWhiteM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
    }

        .levelButtonBsmnt:active {
            background: url('../images/narratives/BasementWhiteM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

        .levelButtonBsmnt:hover {
            background: url('../images/narratives/BasementRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

    .levelButtonBsmntR {
        background: url('../images/narratives/BasementRedM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        cursor: none !important;
    }

    .levelButtonFirst {
        background: url('../images/narratives/FirstFloorWhiteM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
    }

        .levelButtonFirst:active {
            background: url('../images/narratives/FirstFloorRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

        .levelButtonFirst:hover {
            background: url('../images/narratives/FirstFloorRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

    .levelButtonFirstR {
        background: url('../images/narratives/FirstFloorRedM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        cursor: none !important;
    }


    .levelButtonSecond {
        background: url('../images/narratives/SecondFloorWhiteM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
    }

        .levelButtonSecond:active {
            background: url('../images/narratives/SecondFloorRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

        .levelButtonSecond:hover {
            background: url('../images/narratives/SecondFloorRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }


    .levelButtonSecondR {
        background: url('../images/narratives/SecondFloorRedM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        cursor: none !important;
    }




    .levelButtonAttic {
        background: url('../images/narratives/AtticWhiteM.png') no-repeat;
        border: none;
        height: 50px;
        width: 100px;
    }

        .levelButtonAttic:active {
            background: url('../images/narratives/AtticRedM.png') no-repeat;
            border: none;
            height: 50px;
            width: 100px;
        }

        .levelButtonAttic:hover {
            background: url('../images/narratives/AtticRedM.png') no-repeat;
            border: none;
            height: 50px;
            width: 100px;
        }


    .levelButtonAtticR {
        background: url('../images/narratives/AtticRedM.png') no-repeat;
        border: none;
        height: 50px;
        width: 100px;
        cursor: none !important;
    }


    .levelButtonExterior {
        background: url('../images/narratives/ExteriorWhiteM.png') no-repeat;
        border: none;
        height: 175px;
        width: 86px;
    }

        .levelButtonExterior:active {
            background: url('../images/narratives/ExteriorRedM.png') no-repeat;
            border: none;
            height: 175px;
            width: 86px;
        }

        .levelButtonExterior:hover {
            background: url('../images/narratives/ExteriorRedM.png') no-repeat;
            border: none;
            height: 175px;
            width: 86px;
        }

    .levelButtonExteriorR {
        background: url('../images/narratives/ExteriorRedM.png') no-repeat;
        border: none;
        height: 175px;
        width: 86px;
        cursor: none !important;
    }


    .levelButtonGarage {
        background: url('../images/narratives/GarageWhiteM.png') no-repeat;
        border: none;
        height: 50px;
        width: 100px;
    }

        .levelButtonGarage:active {
            background: url('../images/narratives/GarageRedM.png') no-repeat;
            border: none;
            height: 50px;
            width: 100px;
        }

        .levelButtonGarage:hover {
            background: url('../images/narratives/GarageRedM.png') no-repeat;
            border: none;
            height: 50px;
            width: 100px;
        }

    .levelButtonGarageR {
        background: url('../images/narratives/GarageRedM.png') no-repeat;
        border: none;
        height: 50px;
        width: 100px;
        cursor: none !important;
    }

    .levelButtonCrawl {
        background: url('../images/narratives/CrawlWhiteM.png') no-repeat;
        border: none;
        height: 17px;
        width: 100px;
    }

        .levelButtonCrawl:active {
            background: url('../images/narratives/CrawlWhiteM.png') no-repeat;
            border: none;
            height: 17px;
            width: 100px;
        }

        .levelButtonCrawl:hover {
            background: url('../images/narratives/CrawlRedM.png') no-repeat;
            border: none;
            height: 17px;
            width: 100px;
        }

    .levelButtonCrawlR {
        background: url('../images/narratives/CrawlRedM.png') no-repeat;
        border: none;
        height: 17px;
        width: 100px;
        cursor: none !important;
    }

    .levelButtonMechanicals {
        background: url('../images/narratives/MechanicalsWhiteM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        margin-top: 75px;
    }

        .levelButtonMechanicals:active {
            background: url('../images/narratives/MechanicalsWhiteM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
            margin-top: 75px;
        }

        .levelButtonMechanicals:hover {
            background: url('../images/narratives/MechanicalsRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
            margin-top: 75px;
        }

    .levelButtonMechanicalsR {
        background: url('../images/narratives/MechanicalsRedM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        margin-top: 75px;
        cursor: none !important;
    }
}

@media (min-width: 1400px) {
    .bottomBg {
        background-image: url('../images/Main/SiteImages/HomeBottomImg.png');
        padding: 10px 0 150px;
        background-repeat: no-repeat;
        background-size: 100%;
    }

    .levelView {
        overflow-y: auto;
        height: 300px;
    }

    .custom .e-list-item.e-level-1.e-active.e-has-child > .e-fullrow {
        background-color: transparent !important;
        border: none;
    }

    .custom .e-list-item.e-level-2.e-active.e-has-child > .e-fullrow {
        background-color: transparent !important;
        border: none;
    }

    .custom .e-list-item.e-level-3.e-active > .e-fullrow {
        background-color: transparent !important;
        border: none;
    }

    .custom .e-list-item.e-level-2 > .e-text-content .e-list-text {
        color: black !important;
    }

    .custom .e-list-item.e-level-3 > .e-text-content .e-list-text {
        color: black !important;
    }

    .custom .e-icon-collapsible::before {
        color: black;
    }

    .custom .e-icon-expandable::before {
        color: black;
    }

    .custom .e-list-item.e-level-1 > .e-text-content .e-list-text {
        color: #520D15 !important;
    }

    .custom .e-list-item.e-level-1 > .e-text-content.e-icon-wrapper
    .e-checkbox-wrapper {
        display: none
    }

    .custom .e-list-item.e-level-2 > .e-text-content.e-icon-wrapper
    .e-checkbox-wrapper {
        display: none
    }

    .nodetext {
        float: left;
        font-size: 12px;
    }

    .nodebadge {
        float: right;
        padding-left: 20px;
    }

    .nodesaving {
        float: right;
        padding-left: 20px;
    }

    .nodesave {
        float: right;
        padding-left: 20px;
    }

    .nodebadgeItem {
        float: right;
        padding-left: 30px;
        width: 300px;
    }

    .nodeEdit {
        float: right;
        padding-left: 20px;
    }

    .nodeLevelOneImg {
        float: right;
        padding-left: 20px;
    }

    .nodeMeasure {
        float: right;
        padding-left: 20px;
    }

    .nodeImages {
        float: right;
        padding-left: 20px;
    }

    .nodeImagesView {
        float: right;
        padding-left: 20px;
    }

    .nodeRoomName {
        float: right;
        padding-left: 10px;
        font-size: 11px;
        font-weight: normal;
    }

    .nodeDelete {
        float: right;
        padding-left: 100px;
    }

    .levelButtonBsmnt {
        background: url('../images/narratives/BasementWhiteM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
    }

        .levelButtonBsmnt:active {
            background: url('../images/narratives/BasementWhiteM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

        .levelButtonBsmnt:hover {
            background: url('../images/narratives/BasementRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

    .levelButtonBsmntR {
        background: url('../images/narratives/BasementRedM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        cursor: none !important;
    }

    .levelButtonFirst {
        background: url('../images/narratives/FirstFloorWhiteM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
    }

        .levelButtonFirst:active {
            background: url('../images/narratives/FirstFloorRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

        .levelButtonFirst:hover {
            background: url('../images/narratives/FirstFloorRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

    .levelButtonFirstR {
        background: url('../images/narratives/FirstFloorRedM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        cursor: none !important;
    }


    .levelButtonSecond {
        background: url('../images/narratives/SecondFloorWhiteM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
    }

        .levelButtonSecond:active {
            background: url('../images/narratives/SecondFloorRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }

        .levelButtonSecond:hover {
            background: url('../images/narratives/SecondFloorRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
        }


    .levelButtonSecondR {
        background: url('../images/narratives/SecondFloorRedM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        cursor: none !important;
    }




    .levelButtonAttic {
        background: url('../images/narratives/AtticWhiteM.png') no-repeat;
        border: none;
        height: 50px;
        width: 100px;
    }

        .levelButtonAttic:active {
            background: url('../images/narratives/AtticRedM.png') no-repeat;
            border: none;
            height: 50px;
            width: 100px;
        }

        .levelButtonAttic:hover {
            background: url('../images/narratives/AtticRedM.png') no-repeat;
            border: none;
            height: 50px;
            width: 100px;
        }


    .levelButtonAtticR {
        background: url('../images/narratives/AtticRedM.png') no-repeat;
        border: none;
        height: 50px;
        width: 100px;
        cursor: none !important;
    }


    .levelButtonExterior {
        background: url('../images/narratives/ExteriorWhiteM.png') no-repeat;
        border: none;
        height: 175px;
        width: 86px;
    }

        .levelButtonExterior:active {
            background: url('../images/narratives/ExteriorRedM.png') no-repeat;
            border: none;
            height: 175px;
            width: 86px;
        }

        .levelButtonExterior:hover {
            background: url('../images/narratives/ExteriorRedM.png') no-repeat;
            border: none;
            height: 175px;
            width: 86px;
        }

    .levelButtonExteriorR {
        background: url('../images/narratives/ExteriorRedM.png') no-repeat;
        border: none;
        height: 175px;
        width: 86px;
        cursor: none !important;
    }


    .levelButtonGarage {
        background: url('../images/narratives/GarageWhiteM.png') no-repeat;
        border: none;
        height: 50px;
        width: 100px;
    }

        .levelButtonGarage:active {
            background: url('../images/narratives/GarageRedM.png') no-repeat;
            border: none;
            height: 50px;
            width: 100px;
        }

        .levelButtonGarage:hover {
            background: url('../images/narratives/GarageRedM.png') no-repeat;
            border: none;
            height: 50px;
            width: 100px;
        }

    .levelButtonGarageR {
        background: url('../images/narratives/GarageRedM.png') no-repeat;
        border: none;
        height: 50px;
        width: 100px;
        cursor: none !important;
    }

    .levelButtonCrawl {
        background: url('../images/narratives/CrawlWhiteM.png') no-repeat;
        border: none;
        height: 17px;
        width: 100px;
    }

        .levelButtonCrawl:active {
            background: url('../images/narratives/CrawlWhiteM.png') no-repeat;
            border: none;
            height: 17px;
            width: 100px;
        }

        .levelButtonCrawl:hover {
            background: url('../images/narratives/CrawlRedM.png') no-repeat;
            border: none;
            height: 17px;
            width: 100px;
        }

    .levelButtonCrawlR {
        background: url('../images/narratives/CrawlRedM.png') no-repeat;
        border: none;
        height: 17px;
        width: 100px;
        cursor: none !important;
    }

    .levelButtonMechanicals {
        background: url('../images/narratives/MechanicalsWhiteM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        margin-top: 75px;
    }

        .levelButtonMechanicals:active {
            background: url('../images/narratives/MechanicalsWhiteM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
            margin-top: 75px;
        }

        .levelButtonMechanicals:hover {
            background: url('../images/narratives/MechanicalsRedM.png') no-repeat;
            border: none;
            height: 25px;
            width: 100px;
            margin-top: 75px;
        }

    .levelButtonMechanicalsR {
        background: url('../images/narratives/MechanicalsRedM.png') no-repeat;
        border: none;
        height: 25px;
        width: 100px;
        margin-top: 75px;
        cursor: none !important;
    }


}


/*GOOGLE map RESPONSIVE*/
.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Ratio 16:9 ( 100%/16*9 = 56.25% ) */
}

    .iframe-container > * {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: 0;
        padding: 0;
        height: 100%;
        width: 100%;
    }

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    /* border: 1px solid black;*/
}

    .map-responsive iframe {
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        position: absolute;
    }


.map-responsive2 {
    overflow: hidden;
    /* padding-bottom: 56.25%;*/
    padding-bottom: 100%;
    position: relative;
    height: 0;
    /* border: 1px solid black;*/
}

    .map-responsive2 iframe {
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        position: absolute;
    }


.training-video {
    max-width: 1198px;
    /*border: 2px solid black*/
    /* max-height:600px;*/
}

.project-video {
    max-height: 600px;
}

.main-videos {
    max-width: 1198px;
}

.video-container {
    /* width is set as 100% here. any width can be specified as per requirement */
    width: 100%;
    padding-top: 56.25%;
    height: 0px;
    position: relative;
}

.video {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}


.video-containerCP {
    position: relative;
    width: 100%;
    padding-top: 56.25%; 
    overflow: hidden;
    background: #000;
}

    .video-containerCP video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Dynamic viewport variable for mobile browsers */
:root {
    --vh: 100dvh;
}

@supports not (height: 100dvh) {
    :root {
        --vh: 100vh;
    }
}

/* Let modal content stretch vertically */
#budgetWOItemModal .modal-content {
    max-height: var(--vh);
}

#budgetWOItemModal .video-modal-body {
    flex: 1 1 auto;
    display: grid; 
    place-items: center; 
    padding: 0.5rem; 
    overflow: hidden;
}

/* Viewport-fitting shell (works with your JS that sets --ar) */
.video-shell {
    --ar: 16/9; 
    width: min(100%, calc(var(--vh) * (var(--ar))));
    height: min(var(--vh), calc(100vw / (var(--ar))));
    background: #000;
    display: block;
    margin: 0 auto;
}

    .video-shell > video {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: contain; /* use 'cover' if you prefer cropping */
    }




/*CSS LINKS*/

a.colorLink {
    overflow: hidden;
    position: relative;
    display: inline-block;
    color: #ffffff
}

    a.colorLink::before,
    a.colorLink::after {
        content: '';
        position: absolute;
        width: 100%;
        left: 0;
    }

    a.colorLink::before {
        background-color: #54b3d6;
        height: 2px;
        bottom: 0;
        transform-origin: 100% 50%;
        transform: scaleX(0);
        transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1);
    }

    a.colorLink::after {
        content: attr(data-replace);
        height: 100%;
        top: 0;
        transform-origin: 100% 50%;
        transform: translate3d(200%, 0, 0);
        transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1);
        color: #54b3d6;
    }

    a.colorLink:hover::before {
        transform-origin: 0% 50%;
        transform: scaleX(1);
    }

    a.colorLink:hover::after {
        transform: translate3d(0, 0, 0);
    }

    a.colorLink span {
        display: inline-block;
        transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1);
    }

    a.colorLink:hover span {
        transform: translate3d(-200%, 0, 0);
    }

    /* SAVING BUTTON CSS*/

@keyframes custom-rolling {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.template {
   /*  border: 3px solid #974f4b;*/
    border: 3px solid white;
    border-style: dotted;
    border-radius: 50%;
    border-top-color: transparent;
    border-bottom-color: transparent;
    height: 20px;
    width: 20px;
}

.template {
    -webkit-animation: custom-rolling 1.3s linear infinite;
    animation: custom-rolling 1.3s linear infinite;
}

.template2 {
    /*  border: 3px solid #974f4b;*/
    border: 3px solid white;
    border-style: dotted;
    border-radius: 50%;
    border-top-color: transparent;
    border-bottom-color: transparent;
    height: 20px;
    width: 20px;
}

.template2 {
    -webkit-animation: custom-rolling 1.7s linear infinite;
    animation: custom-rolling 1.7s linear infinite;
}




/*---------------------------ADMIN NARRATIVES CSS------------------------------------------*/

.adminTree .e-list-item.e-level-1 > .e-text-content .e-list-text {
    color: black !important;
}

.adminTree .e-list-item.e-level-1 > .e-text-content.e-icon-wrapper
.e-checkbox-wrapper {
    display: none
}

.adminTree .e-list-item.e-level-2 > .e-text-content.e-icon-wrapper
.e-checkbox-wrapper {
    display: none !important
}

.adminTree .e-list-item.e-level-3 > .e-text-content.e-icon-wrapper
.e-checkbox-wrapper {
    display: none
}

.adminTree .e-list-item.e-level-1.e-active.e-has-child > .e-fullrow {
    background-color: transparent !important;
    border: none;
}

.adminTree .e-list-item.e-level-2.e-active.e-has-child > .e-fullrow {
    background-color: transparent !important;
    border: none;
}

/*.adminTree .e-list-item.e-level-3.e-active.e-has-child > .e-fullrow {
    background-color: transparent !important;
    border: none;
}*/

.adminTree .e-list-item.e-level-3.e-active > .e-fullrow {
    background-color: transparent !important;
    border: none;
}

.adminTree .e-list-item.e-level-2 > .e-text-content .e-list-text {
    color: black !important;
}

.adminTree .e-list-item.e-level-3 > .e-text-content .e-list-text {
    color: black !important;
}

.adminTree .e-icon-collapsible::before {
    color: black;
}

.adminTree .e-icon-expandable::before {
    color: black;
}



/*---------------------------ADMIN NARRATIVES LEVEL 2 CSS------------------------------------------*/

.adminTree2 .e-list-item.e-level-1 > .e-text-content .e-list-text {
    color: black !important;
}

.adminTree2 .e-list-item.e-level-1 > .e-text-content.e-icon-wrapper
.e-checkbox-wrapper {
    display: none
}

.adminTree2 .e-list-item.e-level-2 > .e-text-content.e-icon-wrapper
.e-checkbox-wrapper {
    display: none
}

.adminTree2 .e-list-item.e-level-3 > .e-text-content.e-icon-wrapper
.e-checkbox-wrapper {
    display: none
}

.adminTree2 .e-list-item.e-level-1.e-active.e-has-child > .e-fullrow {
    background-color: transparent !important;
    border: none;
}

.adminTree2 .e-list-item.e-level-2.e-active.e-has-child > .e-fullrow {
    background-color: transparent !important;
    border: none;
}

.adminTree2 .e-list-item.e-level-3.e-active.e-has-child > .e-fullrow {
    background-color: transparent !important;
    border: none;
}

.adminTree2 .e-list-item.e-level-4.e-active > .e-fullrow {
    background-color: transparent !important;
    border: none;
}

/*.adminTree2 .e-list-item.e-level-3.e-active.e-has-child > .e-fullrow {
    background-color: transparent !important;
    border: none;
}
*/
.adminTree2 .e-list-item.e-level-2 > .e-text-content .e-list-text {
    color: black !important;
}

.adminTree2 .e-list-item.e-level-3 > .e-text-content .e-list-text {
    color: black !important;
}

.adminTree2 .e-list-item.e-level-4 > .e-text-content .e-list-text {
    color: black !important;
}

.adminTree2 .e-icon-collapsible::before {
    color: black;
}

.adminTree2 .e-icon-expandable::before {
    color: black;
}



.animateNotification {
    display: inline-block;
    animation: expandRotate 2s ease-in-out;
}

@keyframes expandRotate {
    0% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.5) rotate(180deg);
    }

    100% {
        transform: scale(1) rotate(360deg);
    }
}


/*BID BLD ADMIN */

.bbDarkBlue {
    color: #193773;
}

.bbBlueHeader {
    color: #fff;
    /*background-color: #00a1eb;  */
    background-color: #193773;
    font-size: 1.15rem;
}

.bbBlueBtnM {
    color: #fff;  
    background-color: #193773;
    border-color: #000;
    border-radius: 7px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

    .bbBlueBtnM:hover {
        color: #000;
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
    }

    .bbBlueBtnM:active {
        color: #000;
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

    .bbBlueBtnM:focus {
        color: #000;
        background-color: #6F7380;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

    .bbBlueBtnM:not(:hover):not(:focus):not(:active) {
        color: #fff;
        background-color: #193773;
        border-color: #000;
        border-radius: 7px;
        box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

.bbWhiteBtnM {
    color: #193773;
    background-color: #fff;
    border-color: #000;
    border-radius: 7px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

    .bbWhiteBtnM:hover {
        color: #fff;
        background-color: #00a1eb;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }

    .bbWhiteBtnM:active {
        color: #193773;
        background-color: #fff;
        border-color: #000;
        box-shadow: none !important;
        outline: 0px !important;
    }


.tour-highlight {
    box-shadow: 0 0 0 4px rgba(255, 200, 0, 0.8);
    border-radius: 6px;
    transition: box-shadow 0.3s ease;
}

.bbRowHighlight:hover {
    background-color: #f0f8ff;
    cursor: pointer;
}

.bbSelectedRow {
    background-color: #e0f0ff; 
}

/*------DRAWER MODAL STYLING----*/

.drawerM-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem 0.5rem 1rem;
    border-bottom: 1px solid #ddd;
    background-color: #f8f9fa;   
}

.drawerM-header-dup {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem 0.5rem 1rem;
    border-bottom: 1px solid #ddd;
    background-color: #520D15;
    color: #fff;
}

.drawerM-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.drawerM-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

.drawerM-panel {
    background: white;
    width: 500px;
    max-width: 90vw;
    max-height: 90vh;
    height: auto;
    padding: 1rem;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.15);
    border-radius: 8px 0 0 8px;
    overflow-y: auto;
    animation: slideInRight 0.3s ease-out;
}

.drawerM-content {
    padding: 20px;
    overflow-y: auto;
    height: 100%;
}

.drawerM-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 999;
}

/* Show when opening */
.drawerM-backdrop.open .drawerM-panel {
    animation: slideInRight 0.3s ease-out forwards;
}

/* Show when closing */
.drawerM-backdrop.closing .drawerM-panel {
    animation: slideOutRight 0.3s ease-in forwards;
}

/* Animate out */
@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Animate in */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


/* LIGHT WEIGHT CUSTOM TREE */

.simple-tree-wrapper-admin {
    font-family: 'Segoe UI', sans-serif;
    font-size: 10px;
}

.simple-tree-wrapper {
    font-family: 'Segoe UI', sans-serif;
    font-size: 11px;
}

.tree-nodeLw {
    padding: 4px 0;
    margin-bottom: 6px;
}

.nodetextLw {
    flex: 1;
}

.nodeEditLw {
    display: flex;
    gap: 4px;
}


.upload-drop-area {
    border: 2px dashed #ccc;
    border-radius: 6px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
    position: relative; 
    z-index: 1;
}

    .upload-drop-area:hover,
    .upload-drop-area.dragover {
        background-color: #f9f9f9;
    }

.upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    pointer-events: auto; /* Allow interaction */
    z-index: 1;
}

.upload-button {
    background-color: #6c757d;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    z-index: 2;
    position: relative;
}

.upload-text {
    color: #666;
}


:root {
    --thumb-w: 190px;
    --thumb-h: 135px;
}

.grid-row {
    row-gap: 1rem;
}
 spacing like cards 
.card.h-100 {
    display: flex;
    flex-direction: column;
}

.card-body.centered {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Drop zone: responsive width/height, centered content */
.upload-drop-areaA {
    border: 2px dashed #cfcfcf;
    border-radius: 8px;
    background: #fff;
    /* responsive sizing */
    width: 100%;
    max-width: 100%;
    /* min-height scales with viewport but stays in a sensible range */
    min-height: clamp(160px, 36vw, 260px);
    /* layout */
    display: grid;
    place-items: center;
    gap: 10px;
    padding: 12px;
    text-align: center;
}

    .upload-drop-areaA:hover,
    .upload-drop-areaA.dragover {
        background-color: #f7f7f7;
    }

    /* Ensure children never overflow the drop zone width */
    .upload-drop-areaA > * {
        max-width: 100%;
    }

/* “Browse” label stack */
.upload-labelA {
    display: grid;
    gap: 6px;
    justify-items: center;
}

/* Button + text */
.upload-buttonA {
    background: #6c757d;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 700;
}

.upload-textA {
    color: #888;
    font-size: .95rem;
}

/* Action buttons */
.upload-ctaA {
    margin-top: 6px;
    font-size: .9rem;
    padding: 6px 10px;
}

/* On small screens, make the two action buttons easier to hit */
@media (max-width: 575.98px) {
    .upload-drop-areaA .btn {
        width: min(260px, 90%);
    }
}

/* Slightly taller drop zone on bigger columns */
@media (min-width: 992px) { /* lg+ */
    .upload-drop-areaA {
        min-height: clamp(200px, 24vw, 300px);
    }
}


/*.upload-drop-areaA {
    border: 2px dashed #cfcfcf;
    border-radius: 8px;
    background: #fff;
    width: var(--thumb-w);
    min-height: var(--thumb-h); 
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

    .upload-drop-areaA:hover,
    .upload-drop-areaA.dragover {
        background-color: #f7f7f7;
    }

.upload-labelA {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: auto; 
}


.upload-buttonA {
    background: #6c757d;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 700;
}

.upload-textA {
    color: #888;
    font-size: .95rem;
}

.upload-ctaA {
    margin-top: 6px;
    font-size: .9rem;
    padding: 6px 10px;
}*/

.img-thumb {
    width: var(--thumb-w);
    height: var(--thumb-h);
    object-fit: cover;
}

.mobile-only {
    display: none;
}



@media (pointer: coarse) {
    .mobile-only {
        display: inline-block;
    }
}


.blinkingBtn {
    animation: blink-animation 1.0s infinite;
}

@keyframes blink-animation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

.processing-status {
    font-size: 0.75rem;
    font-weight: 600;
    /* color: #dc3545;*/
    color: #45dc35;
    background-color: #fff3f3;
    border: 1px solid #c7f5c2;
    padding: 12px 16px;
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(220, 53, 69, 0.3);
    justify-content: center;
}


@keyframes mic-blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }
}

.mic-blinking {
    animation: mic-blink 1s steps(2, end) infinite;
}


@media (prefers-reduced-motion: reduce) {
    .mic-blinking {
        animation: none;
    }
}

/*.speechtext-containerWwu {
    margin: 10px auto;
    gap: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}*/

.speechtext-containerWwu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0; 
}
    
    .speechtext-containerWwu .btn {
        display: flex;
        align-items: center;
        gap: .5rem;
    }


/* base sizing for all four boxes */
.img-box {
    position: relative;
    width: 100%;
    max-width: 220px;
    aspect-ratio: 1 / 1; 
    padding: 8px; 
    border-radius: 6px;
    background: #fff;
    overflow: hidden; 
}   
    .img-box > img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover; 
        border-radius: 4px;
    }
    
    .img-box.has-image .corner-icons {
        display: none;
    }

.img-icon-borderUL {
    border-top: 4px solid #000;
    border-left: 4px solid #000;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
}

.img-icon-borderUR {
    border-top: 4px solid #000;
    border-right: 4px solid #000;
    border-left: 1px solid #000;
    border-bottom: 1px solid #000;
}

.img-icon-borderLL {
    border-bottom: 4px solid #000;
    border-left: 4px solid #000;
    border-right: 1px solid #000;
    border-top: 1px solid #000;
}

.img-icon-borderLR {
    border-bottom: 4px solid #000;
    border-right: 4px solid #000;
    border-left: 1px solid #000;
    border-top: 1px solid #000;
}

.box-dash {
   /* border: 3px dashed #d7d7d7;
    border-radius: 12px;
    padding: 18px 16px;
    min-width: 72%;
    max-width: 92%;*/
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    pointer-events: auto; 
}

    /* text line */
    .box-dash .muted-line {
        color: #777;
        font-size: .95rem;
    }

.box-empty-ui {
    position: absolute;
    inset: 10px;
    display: grid; /* we’ll place it in a corner via grid alignment */
    pointer-events: none; /* tile still clickable; buttons enable below */
    justify-items: center; /* horizontal alignment per variant below */
    align-items: center; /* vertical   alignment per variant below */
}

    .box-empty-ui .box-dash {
        pointer-events: auto;
    }

/* 4 positions (use the one you need) */
/*.box-pos-top-left {
    justify-items: start;
    align-items: start;
}

.box-pos-top-right {
    justify-items: end;
    align-items: start;
}

.box-pos-bottom-left {
    justify-items: start;
    align-items: end;
}

.box-pos-bottom-right {
    justify-items: end;
    align-items: end;
}*/

/* “Browse” pill style */
.browse-pill {
    background: #6c757d;
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    padding: 8px 18px;
}

/* Common wrapper */
.cam-wrap {
    position: relative;
    display: inline-block;
    line-height: 1;
}

.camera-icon {
    font-size: 2.25rem;
    display: block;
}

.arrow-icon {
    position: absolute;
    font-size: 2rem;
    color: black;
}

/* === CORNER POSITIONS === */

/* Lower Right (current) */
/*.corner-icons.bottom-right {
    position: absolute;
    right: 10px;
    bottom: 10px;
}

    .corner-icons.bottom-right .arrow-icon {
        top: 0;
        left: 0;
        transform: translate(-70%, -70%);
    }*/

/* Lower Left */
/*.corner-icons.bottom-left {
    position: absolute;
    left: 10px;
    bottom: 10px;
}

    .corner-icons.bottom-left .arrow-icon {
        top: 0;
        right: 0;
        transform: translate(70%, -70%);
    }*/

/* Upper Right */
/*.corner-icons.top-right {
    position: absolute;
    right: 10px;
    top: 10px;
}

    .corner-icons.top-right .arrow-icon {
        bottom: 0;
        left: 0;
        transform: translate(-75%, 75%);
    }*/

/* Upper Left */
/*.corner-icons.top-left {
    position: absolute;
    left: 10px;
    top: 10px;
}

    .corner-icons.top-left .arrow-icon {
        bottom: 0;
        right: 0;
        transform: translate(75%, 75%);
    }*/

.qty-hit {
    padding: .35rem .6rem; 
    min-width: 2.25rem; 
    line-height: 1.25;
}

/* ------ WEATHER WIDGET ----- */

/* Card container now stacks content vertically */
.wx-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    border-radius: 0.25rem;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    background: #520D15;
    color: #fff;
}

/* NOW block */
.wx-now {
    display: flex;
    gap: 12px;
    align-items: center;
}

.wx-icon-wrap {
    position: relative;
    display: inline-block;
}

.wx-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/*.wx-pop-badge {
    position: absolute;
    left: -6px;
    bottom: -6px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
    font-size: .8rem;
    background: #e8f1ff;
    color: #1e5eff;
    box-shadow: 0 1px 2px rgba(0,0,0,.08);
}*/

.wx-info {
    line-height: 1.2;
}

.wx-temp {
    font-size: 1.5rem;
    font-weight: 600;
}

.wx-summary {
    font-size: .95rem;
}

.wx-meta {
    font-size: .85rem;
    opacity: .7;
}

/* 5-day list (rows) */
.wx-days-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Each day is a compact row card */
.wx-day-row {
    display: grid;
    grid-template-columns: 60px 44px 90px 1fr; /* DOW | Icon | Temps | Summary */
    align-items: center;
    gap: 10px;
    background: #974f4b;
    border-radius: 10px;
    padding: 8px 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.wx-dow {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    opacity: .85;
}

.wx-day-icon-wrap {
    position: relative;
    display: inline-block;
}

.wx-day-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

/*.wx-pop-badge-sm {
    position: absolute;
    left: -6px;
    top: -6px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
    font-size: .75rem;
    background: #e8f1ff;
    color: #1e5eff;
    box-shadow: 0 1px 2px rgba(0,0,0,.08);
}*/

.wx-temps {
    font-weight: 600;
}

.wx-high {
}

.wx-low {
    opacity: .8;
}

.wx-slash {
    margin: 0 6px;
    opacity: .5;
}

.wx-sub {
    font-size: .9rem;
    opacity: .9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Error text */
.wx-error {
    color: #a00;
}

.offcanvas.offcanvas-responsive {
    width: var(--bs-offcanvas-width);
    max-width: 100vw;
}

/* < md (xs, sm): 100% */
@media (max-width: 767.98px) {
    .offcanvas.offcanvas-responsive {
        --bs-offcanvas-width: 100vw;
    }
    /* iOS Safari dynamic viewport fix */
    @supports (width: 100dvw) {
        .offcanvas.offcanvas-responsive {
            --bs-offcanvas-width: 100dvw;
        }
    }
}

/* md & lg (≥768px and <1200px): 60% */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .offcanvas.offcanvas-responsive {
        --bs-offcanvas-width: 60vw;
    }
}

/* xl and up (≥1200px): 40% */
@media (min-width: 1200px) {
    .offcanvas.offcanvas-responsive {
        --bs-offcanvas-width: 40vw;
    }
}


/* WWU OFFCANVAS FOR IMGS AND MEASUREMENTS  */

/* < lg (xs–md): right-side overlay widths */
.offcanvas-end.offcanvas-images {
    --bs-offcanvas-width: 60vw;
    max-width: 100vw;
}

@media (max-width: 767.98px) {
    .offcanvas-end.offcanvas-images {
        --bs-offcanvas-width: 100vw;
    }

    @supports (width: 100dvw) {
        .offcanvas-end.offcanvas-images {
            --bs-offcanvas-width: 100dvw;
        }
    }
}

/* ≥ lg (992px+): make offcanvas render inline (no overlay chrome) */
@media (min-width: 992px) {
    .offcanvas-lg.offcanvas-images {
        position: static !important;
        transform: none !important;
        visibility: visible !important;
        border: 0;
        box-shadow: none;
        background: transparent;
        width: auto;
        height: auto;
    }

    .offcanvas-lg .offcanvas-header {
        display: none;
    }

    .offcanvas-lg .offcanvas-body {
        overflow: visible;
        padding: 0;
    }
}

/* xs–md: overlay widths */
.offcanvas-end.offcanvas-msrmts {
    --bs-offcanvas-width: 60vw;
    max-width: 100vw;
}

@media (max-width: 767.98px) {
    .offcanvas-end.offcanvas-msrmts {
        --bs-offcanvas-width: 100vw;
    }

    @supports (width: 100dvw) {
        .offcanvas-end.offcanvas-msrmts {
            --bs-offcanvas-width: 100dvw;
        }
    }
}

/* lg+ (≥992px): inline, no overlay chrome */
@media (min-width: 992px) {
    .offcanvas-lg.offcanvas-msrmts {
        position: static !important;
        transform: none !important;
        visibility: visible !important;
        border: 0;
        box-shadow: none;
        background: transparent;
        width: auto;
        height: auto;
    }

    .offcanvas-lg .offcanvas-header {
        display: none;
    }

    .offcanvas-lg .offcanvas-body {
        overflow: visible;
        padding: 0;
    }
}




/* Utility */
.min-h-0 {
    min-height: 0 !important;
}

/* Make the dialog actually fill viewport height */
.modal-dialog.h-100 {
    height: 100dvh;
}

/* Shell that fills its parent */
.editor-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.editor-fill {
    flex: 1 1 auto;
    min-height: 0; /* critical for nested flex children */
}

    /* Stretch the ImageEditor itself */
    .editor-fill .e-image-editor {
        height: 100% !important;
        width: 100% !important;
    }

        /* Keep canvas inside bounds */
        .editor-fill .e-image-editor canvas {
            max-width: 100%;
            max-height: 100%;
        }

.e-image-editor .e-canvas-wrapper {
    padding: 0 !important;
}

/* ---------------------------------------------
   FastCam Modal — Global styles (no dark veil)
   --------------------------------------------- */

/* Kill any tint from Bootstrap modal content */
.fastcam-modal .modal-content,
.fastcam-modal .modal-body {
    background: transparent !important;
    filter: none !important;
    backdrop-filter: none !important;
}

/* While camera modal is open, remove the backdrop tint entirely */
body.fastcam-no-backdrop-hit .modal-backdrop {
    pointer-events: none !important;
    opacity: 0 !important;
    background: transparent !important;
    filter: none !important;
    backdrop-filter: none !important;
}

/* Container stacking context */
.fastcam-container {
    position: relative;
    isolation: isolate; /* keep external z-indexes out */
    background: transparent !important;
    filter: none !important;
}

    /* Video sits lowest, fully opaque, no blending */
    .fastcam-container .fastcam-preview {
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        opacity: 1 !important;
        filter: none !important;
        mix-blend-mode: normal !important;
        background: transparent !important; /* overrides inline bg if any */
    }

    /* Flash overlay: invisible by default; only appears during flash anim */
    .fastcam-container .capture-flash {
        position: absolute;
        inset: 0;
        pointer-events: none;
        opacity: 0; /* hidden until flash */
        background: rgba(255,255,255,0);
        z-index: 1070; /* below toolbar, above video */
        transition: opacity 200ms ease-out, background 200ms ease-out;
    }

    /* Badge layer (center "Taken") */
    .fastcam-container .capture-badge {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%) scale(.9);
        background: rgba(0,0,0,.65);
        color: #fff;
        padding: .5rem .75rem;
        border-radius: 999px;
        display: none;
        align-items: center;
        gap: .5rem;
        font-weight: 700;
        z-index: 1075;
    }

/* Toolbar: always on top */
.fastcam-toolbar {
    position: relative;
    z-index: 1080; /* higher than flash/badge */
    pointer-events: auto;
    background: none; /* no tint by default */
}

    .fastcam-toolbar .d-flex {
        align-items: center;
    }

    /* Counter inside toolbar (left of SNAP) */
    .fastcam-toolbar .capture-counter {
        position: static;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        line-height: 1;
        background: rgba(0,0,0,.85);
        color: #fff;
        font-weight: 800;
        border-radius: 999px;
        border: 2px solid rgba(255,255,255,.9);
        box-shadow: 0 2px 10px rgba(0,0,0,.35);
        z-index: 1080;
        transform: translateZ(0);
    }

    /* Corner-mode controls (inserted into toolbar) */
    .fastcam-toolbar .corner-mode-controls {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        padding: .375rem .5rem;
        border-radius: .5rem;
        /* subtle contrast only; not a big dark slab */
        background: rgba(0,0,0,.25);
    }

/* Counter bump */
.fastcam-container.count-bump .capture-counter {
    animation: fc-bump 220ms ease;
}

@keyframes fc-bump {
    0% {
        transform: translateZ(0) scale(1);
    }

    40% {
        transform: translateZ(0) scale(1.15);
    }

    100% {
        transform: translateZ(0) scale(1);
    }
}

/* Flash + badge animations */
.fastcam-container.flash .capture-flash {
    animation: fc-flash 220ms ease;
}

@keyframes fc-flash {
    0% {
        opacity: 0;
        background: rgba(255,255,255,0.0);
    }

    12% {
        opacity: .85;
        background: rgba(255,255,255,0.8);
    }

    100% {
        opacity: 0;
        background: rgba(255,255,255,0.0);
    }
}

.fastcam-container.badge-show .capture-badge {
    display: inline-flex;
    animation: fc-badge 900ms ease;
}

@keyframes fc-badge {
    0% {
        opacity: 0;
        transform: translate(-50%,-50%) scale(.9);
    }

    20% {
        opacity: 1;
        transform: translate(-50%,-50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%,-50%) scale(1);
    }
}


.snap-btn-round {
    --snap-size: 72px; /* base size */
    width: var(--snap-size);
    height: var(--snap-size);
    min-width: var(--snap-size);
    min-height: var(--snap-size);
    flex: 0 0 var(--snap-size); /* don't let flexbox stretch/shrink it */
    aspect-ratio: 1 / 1; /* enforce square box */
    box-sizing: border-box;
    border-radius: 9999px;
    display: grid; /* perfectly center the label */
    place-items: center;
    -webkit-appearance: none; /* kill iOS default button styling */
    appearance: none;
    outline: none; /* prevent odd focus rings */
}

/* Tweak size a bit on very small phones if you want */
@media (max-width: 420px) {
    .snap-btn-round {
        --snap-size: 64px;
    }
}

/* Keep the text from affecting height */
.snap-btn-round > span {
    display: block;
    line-height: 1;
    transform: translateZ(0); /* avoid sub-pixel weirdness */
}

/* Optional: your existing visuals (unchanged) */
.snap-btn-round {
    font-weight: 800;
    letter-spacing: .06em;
    border: 3px solid rgba(255,255,255,.9);
    background: #520D15;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.35), inset 0 0 0 2px rgba(255,255,255,.15);
    -webkit-tap-highlight-color: transparent;
    transition: transform .06s ease, background .15s ease, box-shadow .15s ease;
    touch-action: manipulation;
}

    .snap-btn-round:hover {
        filter: brightness(1.1);
        background: #520D15;
    }

    .snap-btn-round:not(:disabled):active {
        transform: scale(.96);
    }

    .snap-btn-round:disabled {
        opacity: .55;
        cursor: not-allowed;
    }

/* ---------- Mobile (≤ lg) ---------- */
@media (max-width: 1199.98px) {
    .fastcam-modal .modal-content,
    .fastcam-modal .modal-body {
        height: 100dvh;
        max-height: 100dvh;
        overflow: hidden;
        background: transparent !important;
        filter: none !important;
        backdrop-filter: none !important;
    }

    .fastcam-container {
        /* leave room for the fixed toolbar + safe area */
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }

    .fastcam-toolbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1080; /* above flash/badge */
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .5rem;
        padding: .5rem max(env(safe-area-inset-right, 0px), 12px) calc(.5rem + env(safe-area-inset-bottom, 0px)) max(env(safe-area-inset-left, 0px), 12px);
        background: none; /* remove gradient to avoid darkening lower frame */
        pointer-events: auto;
        -webkit-user-select: none;
        user-select: none;
        touch-action: manipulation;
    }

        /* keep taps enabled inside the toolbar */
        .fastcam-toolbar .btn,
        .fastcam-toolbar .snap-btn-round,
        .fastcam-toolbar .corner-mode-controls {
            pointer-events: auto;
        }

        /* mobile corner UI */
        .fastcam-toolbar .corner-mode-controls {
            max-width: min(92vw, 680px);
            flex: 0 1 auto;
        }
}

.touch-only {
    display: none !important;
}

@media (hover: none) and (pointer: coarse), (any-hover: none), (any-pointer: coarse) {
    .touch-only {
        display: inline-flex !important;
    }
}

/* box-empty-ui still drives overall layout */
.corner-upload-container .box-empty-ui {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 6px;
}

/* Drop zone only on desktop with pointer devices */
@media (min-width: 992px) and (pointer: fine) {
    .corner-upload-container .corner-drop-zone {
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 6px;
    }

    .corner-upload-container .corner-drop-inner {
        position: relative; /* anchor for the person icon */
        width: 100%;
        min-height: 60px;
        border: 1px dashed #ced4da;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.78rem;
        color: #6c757d;
        text-align: center;
        padding: 10px 8px;
        background: rgba(255, 255, 255, 0.7);
        pointer-events: none; /* buttons below still clickable */
    }

    .corner-upload-container .corner-drop-label {
        pointer-events: none;
    }

    /* Person + arrow icon inside the drop box */
    .corner-upload-container .corner-person {
        position: absolute;
        font-size: 0.9rem;
    }

    .corner-upload-container .corner-pos-top-left .corner-person {
        top: 4px;
        left: 4px;
    }

    .corner-upload-container .corner-pos-top-right .corner-person {
        top: 4px;
        right: 4px;
    }

    .corner-upload-container .corner-pos-bottom-left .corner-person {
        bottom: 4px;
        left: 4px;
    }

    .corner-upload-container .corner-pos-bottom-right .corner-person {
        bottom: 4px;
        right: 4px;
    }

    /* Hover & drag-over state */
    .corner-upload-container .upload-trigger:hover .corner-drop-inner,
    .corner-upload-container .upload-trigger.corner-drag-over .corner-drop-inner {
        border-color: #dc3545; /* moRed */
        color: #dc3545;
        background: rgba(220, 53, 69, 0.04);
    }

    /* Hide drop hint when image exists */
    .corner-upload-container .upload-trigger.has-image .corner-drop-zone {
        display: none !important;
    }
}

/* Buttons at bottom */
.corner-upload-container .box-dash {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}



/*-----------------CSS FOR MOBILE DEVICES----------------------*/


.area-row {
}

.area-label {
    font-weight: 500;
}

.area-form .form-label {
    font-weight: 600;
}

.area-validation {
    color: red;
}

.area-form .form-check + .form-check {
    margin-top: .5rem;
}


@media (max-width: 575.98px) {

    .area-row {
        padding-top: .375rem;
        padding-bottom: .375rem;
    }


    .area-label {
        font-size: 1.3rem;
        line-height: 1.5;
    }


    .area-row .moBlnkBtn {
        padding-inline: .5rem;
        padding-block: .25rem;
    }


    .area-row .infoIcons {
    }


    .area-form {
        font-size: 1.3rem;
    }

        .area-form .form-label {
            font-size: 1.3rem;
            line-height: 1.5;
        }

        .area-form .form-check-input {
            width: 1.5rem;
            height: 1.5rem;
        }

        .area-form .form-check-label {
            margin-left: .55rem;
            font-size: 1.3rem;
            line-height: 1.5;
        }

        .area-form .area-select.form-control-sm {
            font-size: 1.3rem;
            padding: .55rem .75rem;
            height: auto;
        }

        .area-form .area-text {
            font-size: 1.3rem !important;
            line-height: 1.5 !important;
        }

    .area-actions .btn.btn-sm {
        font-size: 1rem;
        padding-block: .6rem;
    }

    .area-form .text-danger {
        margin-left: .25rem;
    }

   
}

#areasOffcanvas .form-check {
    display: flex;
    align-items: center;
    gap: .6rem;
}

@media (max-width: 576px) {
    #areasOffcanvas .form-check {
        min-height: 36px; 
    }

    #areasOffcanvas .form-check-input {
        width: 1.5rem;
        height: 1.5rem;
        transform: none !important;
    }

    #areasOffcanvas .form-check-label {
        font-size: 1.5rem;
        line-height: 1.55;
        padding-block: .3rem;
    }
}

.min-w-0 {
    min-width: 0;
}

/* ===== Recap card base (desktop/tablet unchanged) ===== */
.recap-title {
    font-weight: 700;
}

.recap-unit {
    font-size: 1.0rem;
    margin-left: .25rem;
    opacity: .9;
}

.recap-meta,
.recap-item-row,
.recap-bb-row,
.recap-edit-row {
    font-size: .85rem;
    line-height: 1.2;
}

.recap-meta-total {
    font-size: .85rem;
    line-height: 1.3;
}

.qty-hit {
    min-width: 1.75rem;
}

.recap-qty-input {
    width: 65px;
    font-size: .625rem;
    line-height: 1.2;
}

.recap-item-row .icon-edit {
    margin-right: .5rem;
}

/* ===== Mobile comfort ===== */
@media (max-width: 575.98px) {
    .recap-card .card-header,
    .recap-card .card-body {
        padding-left: .9rem;
        padding-right: .9rem;
    }

    .recap-header .recap-title {
        font-size: 1.3rem;
        line-height: 1.5;
    }

    .recap-header .recap-unit {
        font-size: 1.3rem;
    }

    .recap-meta,
    .recap-item-row,
    .recap-bb-row,
    .recap-edit-row {
        font-size: 1.3rem;
        line-height: 1.5;
    }

        .recap-item-row .moBlnkBtn,
        .recap-bb-row .moBlnkBtn,
        .recap-meta .moBlnkBtn {
            padding: .3rem .55rem;
        }

        .recap-item-row .infoIcons2,
        .recap-bb-row .infoIcons2,
        .recap-header .infoIcons {
            font-size: 1.3rem;
        }

    .qty-hit {
        min-width: 2.25rem;
        padding: .15rem .35rem;
        border-radius: .375rem;
    }

    .recap-qty-input {
        font-size: 1.3rem;
        height: 2.25rem;
        padding: .3rem .5rem;
    }

    .recap-item-row + .recap-item-row,
    .recap-bb-row + .recap-bb-row {
        margin-top: .15rem;
    }

    .recap-item-row .icon-edit {
        margin-right: .625rem;
    }

    .icon-mobile-xl {
        font-size: 1.8rem !important;
    }
}

@keyframes gentlePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.45);
        transform: translateZ(0);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(13, 110, 253, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
    }
}

.btn-pulse {
    animation: gentlePulse 2.2s ease-in-out infinite;
}


@media (prefers-reduced-motion: reduce) {
    .btn-pulse {
        animation: none;
    }
}

@keyframes textScalePulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.12);
        opacity: .45;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@-webkit-keyframes textScalePulse {
    0% {
        -webkit-transform: scale(1);
        opacity: 1;
    }

    50% {
        -webkit-transform: scale(1.12);
        opacity: .45;
    }

    100% {
        -webkit-transform: scale(1);
        opacity: 1;
    }
}

.btn-text-pulse {
    display: inline-block;
    transform-origin: center;
    transform: translateZ(0);
    animation: textScalePulse 1.4s ease-in-out infinite;
    -webkit-animation: textScalePulse 1.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .btn-text-pulse {
        animation: none;
        -webkit-animation: none;
    }
}



/* --- Side tab buttons --- */
.side-tab {
    position: fixed;
    top: 30%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center;   
    min-width: 100px; 
    height: 25px; 
    box-sizing: border-box;
    padding: 0.5rem 0.8rem;
    border: 0;
    border-radius: 0.5rem;
    background: #0d6efd;
    color: #fff;
    font-weight: normal;
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
    z-index: 1085;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

/* Keep the same “peek” from the edge */
.side-tab-right {
    right: -2.25rem;
}

.tab-label {
    margin-right: 0;
}

/* Badge is OUT OF FLOW, so it never changes width */
.side-badge {
    position: absolute;
    top: -.35rem;
    right: -.35rem;
    min-width: 1.25rem;
    line-height: 1.25rem;
    padding: 0 .35rem;
    font-size: .75rem;
    font-weight: 700;
    border-radius: 999px;
    text-align: center;
}

/* Status variants */
.side-badge--danger {
    background: #dc3545;
    color: #fff;
}

.side-badge--ok {
    background: #198754; 
    color: #fff;
}

/* Optional: nudge the offcanvas a bit on large screens and widen if needed */
.wwu-offcanvas {
    width: min(420px, 92vw);
}

/* Improve touch targets */
.side-tab:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.fake-input {
    display: block;
    width: 100%;
    padding: 0.25rem 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 0.2rem;
    min-height: calc(1.5em + 0.5rem + 2px);
    background-color: #fff;
    font-size: .875rem;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; 
}


.est-summary-scroll {
    max-height: 650px;
    overflow-y: auto;
}


@media (max-width: 767.98px) { 
    .est-summary-scroll {
        max-height: none !important;
        overflow-y: visible !important;
    }
}
