﻿/*body {
    background-image: url(/assets/media/patterns/header_bg.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 350px;
}*/


body,
body.app-blank {
    background-color: #f5f8fa;
}

/*** STEPPER  START ******************************************************/
/*** SUCESS ***/
.e-stepper .e-stepper-steps .e-step-container.e-step-valid .e-indicator {
    background: var(--bs-primary) !important;
    color: #fff;
}

.e-stepper:not(.e-steps-focus) .e-stepper-steps .e-step-container.e-step-valid.e-step-selected:not(.e-step-text-only):not(.e-step-label-only) .e-step, .e-stepper .e-stepper-steps .e-step-container.e-step-valid.e-step-focus .e-step, .e-stepper .e-stepper-steps .e-step-container.e-step-valid.e-step-label-only.e-step-focus .e-label, .e-stepper .e-stepper-steps .e-step-container.e-step-valid.e-step-text-only.e-step-focus .e-text, .e-stepper .e-stepper-steps .e-step-container.e-step-valid.e-step-template.e-step-focus {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--bs-primary), 0 0 0 8px #fff;
}

.e-stepper .e-stepper-steps .e-step-container.e-step-valid .e-indicator {
    background: var(--bs-primary) !important;
    color: #fff;
}

.e-stepper:not(.e-step-type-label) .e-stepper-steps .e-step-container.e-step-valid:not(.e-step-text-only):not(.e-step-label-only) .e-indicator:hover, .e-stepper:not(.e-step-type-label) .e-stepper-steps .e-step-container.e-step-valid:not(.e-step-text-only):not(.e-step-label-only) .e-step:hover {
    color: #fff !important;
    background: var(--bs-primary-active) !important;
}

/*** DEFAULT  ***/
.e-stepper:not(.e-steps-focus) .e-stepper-steps .e-step-container.e-step-selected:not(.e-step-text-only):not(.e-step-label-only) .e-step, .e-stepper .e-stepper-steps .e-step-container.e-step-focus .e-step, .e-stepper .e-stepper-steps .e-step-container.e-step-label-only.e-step-focus .e-label, .e-stepper .e-stepper-steps .e-step-container.e-step-text-only.e-step-focus .e-text, .e-stepper .e-stepper-steps .e-step-container.e-step-template.e-step-focus {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #747779, 0 0 0 8px #fff;
}

.e-stepper .e-stepper-steps .e-step-container.e-step-selected .e-indicator {
    background: #747779;
}

.e-stepper:not(.e-step-type-label) .e-stepper-steps .e-step-container:not(.e-step-text-only):not(.e-step-label-only) .e-indicator:hover, .e-stepper:not(.e-step-type-label) .e-stepper-steps .e-step-container:not(.e-step-text-only):not(.e-step-label-only) .e-step:hover {
    color: #fff;
    background: #5f6366 !important;
}

.e-stepper:not(.e-step-type-label) .e-stepper-steps .e-step-container.e-step-selected:not(.e-step-text-only):not(.e-step-label-only) .e-indicator:active, .e-stepper:not(.e-step-type-label) .e-stepper-steps .e-step-container.e-step-selected:not(.e-step-text-only):not(.e-step-label-only) .e-step:active {
    background: #4a4c4d !important;
}

.e-stepper:not(.e-step-type-label) .e-stepper-steps .e-step-container.e-step-notstarted:not(.e-step-text-only):not(.e-step-label-only) .e-indicator:hover, .e-stepper:not(.e-step-type-label) .e-stepper-steps .e-step-container.e-step-notstarted:not(.e-step-text-only):not(.e-step-label-only) .e-step:hover {
    background: #747779 !important;
    color: #fff;
}

.e-stepper.e-horizontal .e-stepper-steps .e-step-container .e-text, .e-stepper.e-horizontal .e-stepper-steps .e-step-container .e-label, .e-stepper.e-horizontal .e-stepper-steps .e-step-container .e-step-label-optional {
    white-space: normal;
    word-wrap: break-word;
    overflow: visible;
    text-overflow: clip;
}

.e-stepper.e-horizontal .e-text, .e-stepper.e-horizontal .e-label, .e-stepper.e-horizontal .e-step-label-optional {
    white-space: normal;
    word-wrap: break-word;
    overflow: visible;
    text-overflow: clip;
}

[class^="sf-icon-"],
[class*=" sf-icon-"] {
    font-family: 'Survey-icons' !important;
    speak: none;
    font-size: 55px;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#validation-step-content input[type=radio] {
    vertical-align: top;
}

.feedback-label {
    margin-bottom: 10px;
}

#feedback-text {
    color: #000;
    width: 90%;
    height: 50px;
    resize: vertical;
}

#agreement-text p {
    text-align: justify;
}


/*     #validation-step-content .required {
        color: red;
    } */


#validation-step-content .question-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.validation-stepper-section {
    margin: 40px auto;
}

#validation-step-content {
    position: relative;
    min-height: 250px;
    margin: 0 auto;
}

.step-content {
    /*position: absolute;*/
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    display: none;
}



.stepper-error .e-step.e-indicator {
    background-color: var(--bs-danger) !important;
    color: white !important;
    /* border-radius: 4px; */
}


.e-stepper .e-stepper-steps .e-step-container.stepper-error.e-step-selected:not(.e-step-text-only):not(.e-step-label-only) .e-step {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--bs-danger), 0 0 0 8px #fff !important;
}

.e-stepper:not(.e-step-type-label) .e-stepper-steps .e-step-container.stepper-error:not(.e-step-text-only):not(.e-step-label-only) .e-indicator:hover,
.e-stepper:not(.e-step-type-label) .e-stepper-steps .e-step-container.stepper-error:not(.e-step-text-only):not(.e-step-label-only) .e-step:hover {
    color: #fff;
    background: var(--bs-danger) !important;
}

.e-stepper .e-stepper-steps .e-step-container.stepper-error.e-step-notstarted:not(.e-step-disabled) .e-step,
.e-stepper .e-stepper-steps .e-step-container.stepper-error.e-step-notstarted:not(.e-step-disabled) .e-indicator,
.e-stepper .e-stepper-steps .e-step-container.stepper-error.e-step-notstarted .e-icons.e-step-indicator {
    border-color: var(--bs-danger) !important;
}

.stepper-success .e-step.e-indicator {
    background-color: var(--bs-primary) !important;
    color: white !important;
    /* border-radius: 4px; */
}

.e-stepper .e-stepper-steps .e-step-container.stepper-success.e-step-selected:not(.e-step-text-only):not(.e-step-label-only) .e-step {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--bs-primary), 0 0 0 8px #fff !important;
}

.e-stepper:not(.e-step-type-label) .e-stepper-steps .e-step-container.stepper-success:not(.e-step-text-only):not(.e-step-label-only) .e-indicator:hover,
.e-stepper:not(.e-step-type-label) .e-stepper-steps .e-step-container.stepper-success:not(.e-step-text-only):not(.e-step-label-only) .e-step:hover {
    color: #fff;
    background: var(--bs-primary) !important;
}



/* Display the active step content */
.step-content.step-active {
    animation: fadeInUp 0.4s;
    opacity: 1;
    z-index: 1000;
    pointer-events: all;
    display: block;
}
/* Keyframes */
@@keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 50%, 0);
        transform: translate3d(0, 50%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@@media only screen and (max-width: 965px) {
    .validation-stepper-section {
        width: 100%;
    }

    #validation-step-content {
        width: auto;
        margin: auto 5%;
    }
}

/*** STEPPER  END *********************************************************/

/*** GRID *****************************************************************/

.e-grid .e-groupdroparea {
    background-color: color-mix(in srgb, var(--bs-primary) 5%, white);
    
    border-top-color: #e0e0e0;
    color: #000;
}

.e-grid .e-groupdroparea.e-hover {
    background-color: color-mix(in srgb, var(--bs-primary) 5%, white);
}

.e-grid .e-groupdroparea.e-grouped {
    background-color: color-mix(in srgb, var(--bs-primary) 5%, white);
}

.e-grid .e-groupheadercell {
    background-color: var(--bs-primary);
    border-color: #e0e0e0;
    border-radius: 12px;
    color: #fff);
}

.e-grid .e-groupheadercell:hover {
    background-color: color-mix(in srgb, var(--bs-primary) 90%, black);
    border-color: #000;
}

.e-grid, .e-schedule {
    font-family: "Inter", "-apple-system", "BlinkMacSystemFont";
}

.e-grid {
    border: none;
}

.e-grid {
    border-color: #e0e0e0;
}





.e-grid {
    border: none;
}

.e-headercell .e-rhandler {
    border-right: none !important;
}

.e-grid .e-rowcell {
    border-color: #f5f5f5 !important;
}

.e-grid .e-gridheader {
    border-color: #f5f5f5 !important;
    border-top: none !important;
}

.card-grid .e-gridcontent .e-content {
    height: calc(100vh - 363px);
}

.card-grid-assets-alert .e-gridcontent .e-content {
    height: calc(100vh - 314px) !important;
}

.card-grid-assets-alert-inspections .e-gridcontent .e-content {
    height: calc(100vh - 424px) !important;
}

.card-grid .child-asset-grid .e-gridcontent .e-content {
    height: 100%;
    padding-left: 0px !important;
}

.child-asset-grid .child-asset-grid .e-gridcontent .e-content {
    height: 100%;
    padding-left: 20px !important;
}

.child-asset-grid.no-header .e-gridheader {
    display: none;
}

.alert-grid.no-header .e-gridheader {
    display: none;
}

.alert-grid .e-rowcell {
    padding-right: 0.25rem !important;
    padding-left: 0.25rem !important;
    margin-right: 0.25rem !important;
    margin-left: 0.25rem !important;
}

.alert-grid.no-border .e-focused:not(.e-menu-item):not(.e-editedbatchcell) {
    box-shadow: 0 0 0 0px #0d6efd inset;
}

.alert-grid.no-scroll .e-content {
    scrollbar-width: none !important;
}

.alert-icon {
    font-size: 9px !important;
    margin-top: 13px !important;
    margin-left: -13px !important;
    width: 14px !important;
    height: 14px !important;
}

/*::-webkit-scrollbar-thumb {
    display: none !important;
}

::-webkit-scrollbar {
    display: none !important;
}

::-webkit-scrollbar-button {
    display: none !important;
}*/

/*.hide-scrollbar {
    overflow-y: scroll !important;*/ /* Ensure scrolling is still enabled */
/*scrollbar-width: none !important;*/ /* For Firefox */
/*}

    .hide-scrollbar::-webkit-scrollbar {
        display: none !important;*/ /* For Chrome, Safari, and Edge */
/*}*/

/*.child-asset-grid.no-header .e-rowcell {
    padding-left: 25px !important;
    padding-right: 25px !important;
}*/

.e-detail-disable .e-detailrowcollapse {
    pointer-events: none;
}

    .e-detail-disable .e-detailrowcollapse .e-icon-grightarrow {
        visibility: hidden;
    }

.card-grid.grid-timesheet .e-gridcontent .e-content {
    height: calc(100vh - 313px);
}

.card-grid.tree-grid-assets .e-gridcontent .e-content {
    height: calc(100vh - 325px);
}

.card-grid.tree-grid-assets-client .e-gridcontent .e-content {
    height: calc(100vh - 460px);
}

.card-grid.tree-grid-inspections .e-gridcontent .e-content {
    height: calc(100vh - 314px);
}

.e-grid .e-detailindentcell {
    border: none !important;
}

.e-grid .e-detailrowcollapse, .e-grid .e-detailrowexpand {
    border: none !important;
}

/*** GRID END *****************************************************************/

/*MODAL DIALOG*/
.e-dialog {
    background-color: var(--bs-app-bg-color);
}

.e-dlg-container .e-dialog {
    width: var(--bs-modal-width);
    border-radius: 4px;
}

    .e-dlg-container .e-dialog .e-dlg-header {
        width: 100%;
    }

.e-dlg-header-content {
    border-radius: 4px !important;
}

.e-dialog .e-dlg-content {
    background-color: var(--bs-app-bg-color);
    padding-bottom: 5px;
    border-radius: 4px !important;
}

.e-dialog .e-dlg-content {
    padding: 18px;
}


.e-dlg-header, .e-dlg-header button, .e-dlg-header a, .e-dlg-header .indicator-label {
    font-size: 13px;
    color: inherit;
}

.indicator-label {
    align-items: center;
    display: flex;
}

.e-dlg-header, .e-dlg-header * {
    color: inherit;
}


.e-editable-value {
    font-size: 1.35rem !important;
}

@media (min-width: 992px) {
    .modal-md {
        --bs-modal-width: 500px;
    }
}

/* BEGIN MULTISELECT ICON */
.e-multiselect.e-input-group.e-outline .e-multi-select-wrapper .e-input-group-icon.e-ddl-icon, .e-multiselect.e-outline.e-input-group.e-control-wrapper .e-multi-select-wrapper .e-input-group-icon.e-ddl-icon {
    margin-right: 0.7rem;
    margin-top: -1.7em;
}

.e-multiselect .e-down-icon .e-chips-close.e-close-hooker, .e-small.e-multiselect .e-down-icon .e-chips-close.e-close-hooker, .e-multiselect.e-input-group.e-control-container .e-multi-select-wrapper.e-down-icon .e-clear-icon {
    right: 31px;
    top: 30px;
}
/* END MULTISELECT ICON */

/* BEGIN FOOTER */
.app-footer
{
    height: inherit;
}
/* END FOOTER */

.text-primary, .link-primary {
    color: #7db51c !important;
}
.text-primary, .link-primary:hover {
    color: #7db51c !important;
    opacity: 0.75;
}

.e-tooltip-wrap.e-popup {
    background-color: white !important;
    border: none;
    box-shadow: 0 0.5rem 1.5rem 0.5rem rgba(0, 0, 0, 0.075) !important;
    border-radius: 0.625rem; 
}

.e-tip-content {
    padding: 15px !important;
    color: inherit !important;
}
}

.btn.btn-outline.btn-outline-secondary {
    color: #8f8f93;
    border-color: #8f8f93;
}

.btn.btn-outline.btn-outline-secondary i, .btn.btn-outline.btn-outline-secondary .svg-icon {
    color: #8f8f93;
}

/* BEGIN FILTER RADIO BUTTON */
.e-radio-wrapper.btn .e-label {
    padding: 1rem;
    width: 100%;
}

.e-radio-wrapper.btn label {
    width: 100%;

}
.e-radio-wrapper.e-wrapper.btn .e-radio + label::before {
    display: none;
}

.e-radio-wrapper.e-wrapper.btn .e-radio + label::after {
    display: none;
}

.e-radio-wrapper.e-wrapper.btn .e-radio + label .e-label {
    /* font-size: 1.35rem;
    font-weight: 400;*/
    padding-left: 0px;
    padding-right: 0px;
}
/* END FILTER RADIO BUTTON */


.menu-state-color .menu-item.hover:not(.here) > .menu-link:not(.disabled):not(.active):not(.here), .menu-state-color .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) {
    transition: color 0.2s ease;
    color: var(--bs-menu-link-color-hover);
}
