@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

body {
    overflow: auto;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#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;
    }

.site-name-container {
    display: flex;
    align-items: center; /* Vertically centers the child elements */
    justify-content: center; /* Horizontally centers the child elements */
    gap: 10px;
    /*height: 100vh;*/
}

.site-name {
    font-size: 1.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0 0;
}

@media (max-width: 584px ) {
    .site-name {
        display: none;
    }
}

.site-exit-container {
    display: flex;
    align-items: center; /* Vertically centers the child elements */
    justify-content: center;
    gap: 20px;
}


.navbar {
    padding: 0px;
}

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

    .title.title-secondary {
        padding-top: 0.313rem;
        padding-bottom: 0;
        color: var(--bs-secondary-color);
    }

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0.3125rem 0;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

.layout-header {
    padding: 0.5rem;
    background-color: #264031;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    padding-top: 0.5rem;
    /*height: calc(100vh - 0px);*/ /* Adjust based on your header/footer height */
    overflow-y: auto;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}

dxbl-form-layout {
    margin: 20px;
}

dxbl-form-layout-item > label {
    font-weight: bold !important;
}

dxbl-form-layout-item > div {
    font-size: 1rem;
}


.main-gridlayout {
    margin: auto;
    width: 100% !important;
    height: auto;
}

    .main-gridlayout .dxbl-gridlayout-root {
        align-content: center;
        justify-content: center;
    }

.main-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.main-card {
    width: 26.25rem;
    height: 15rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
    border-radius: 1rem;
    color: var(--bs-link-color-rgb);
    gap: 1.5rem;
    text-decoration: none;
    position: relative;
}

    .main-card:hover {
        box-shadow: 0px 20px 25px -5px rgba(0, 0, 0, 0.1), 0px 8px 10px -6px rgba(0, 0, 0, 0.1);
    }

    .main-card .main-card-img {
        width: 6.5rem;
        height: 6.5rem;
    }

    .main-card .main-card-text {
        font-size: 1.75rem;
        font-weight: 600;
        letter-spacing: 0em;
        text-align: center;
        text-decoration: unset;
    }

    .main-card .main-card-back {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bs-body-color);
        opacity: 0.05;
        border-radius: 1rem;
        z-index: -2;
    }

.icon-fill {
    fill: var(--bs-primary);
}

.container-fullwidth {
    width: 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: 0px;
    margin-left: 0px;
}

.editSectionButton {
    display: flex;
    justify-content: flex-start;
}

    .editSectionButton > div {
        max-width: 200px;
        margin: 5px !important;
    }



.templateListbox {
    --dxbl-list-box-border-width: 0px;
    width: 100%
}

.dxbl-window > .dxbl-window-dialog {
    min-height: 200px;
    max-height: 800px;
    width: 95% !important;
}

@media (min-width: 992px) {
    .dxbl-fl .dxbl-fl-item > .dxbl-fl-cpt {
        white-space: normal !important;
    }

    .dxbl-window > .dxbl-window-dialog {
        max-width: 1200px;
    }
}

@media (max-width: 991px) {
    .dxbl-window > .dxbl-window-dialog {
        min-width: 400px;
    }
}


.dxbl-checkbox:not(.dxbl-checkbox-switch):not(.dxbl-checkbox-radio).dxbl-readonly.dxbl-checkbox-checked .dxbl-checkbox-check-element, .dxbl-checkbox:not(.dxbl-checkbox-switch):not(.dxbl-checkbox-radio).dxbl-readonly.dxbl-checkbox-indeterminate .dxbl-checkbox-check-element {
    /*background-color: white !important;*/
    --dxbl-checkbox-check-element-checked-bg: white !important;
    /*color: white !important;*/
}

.dxbl-accordion {
    width:100% !important;
}
.gridlayout-item-fullwidth > div {
    width: 100% !important;
}

.inline {
    display: inline-block;
}

.mini-container {
    display: flex;
    flex-direction: column;
}

.h3-home-segment, .box1, .box2 {
    padding: 0px;
}

.h3-home-segment {
    font-size: large !important;
    font-weight: bold;
}

.box1 {
    text-align: center;
}

.box2 {
    display: flex;
    justify-content: flex-end;
    margin-right: 20px;
}

.home-dashboard-number {
    font-size: 100px;
}

.home-content-parent {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping to the next line */
    justify-content: center; /* Center horizontally */
    align-items: stretch; /* Make all child divs the same height */
    margin: 0 auto; /* Center the parent div within its container */
    gap: 20px;
    padding-top: 20px;
}

.home-content-child {
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    padding: 20px;
    background-color: #334358;
    /* Optional: for visual separation */
}



@media (min-width: 820px) {
    .home-content-parent {
        max-width: 800px; /* Maximum width */
    }

    .home-content-child {
        flex: 0 0 45%; /* Each child takes up 45% of the parent's width */
    }
}

@media (max-width: 819px) {
    .home-content-parent {
              
    }

    .home-content-child {
        flex: 0 0 95%; /* Each child takes up 95% of the parent's width */
       
    }
}

@media (min-width: 1220px) {
    .home-content-parent {
        max-width: 1200px; /* Maximum width */
    }

    .home-content-child {
        flex: 0 0 30%; /* Each child takes up 45% of the parent's width */
    }
}



dxbl-list-box {
    max-width: 400px !important;
}

dxbl-combo-box {
    max-width: 400px !important;
}

dxbl-date-edit {
    max-width: 200px !important;
}

dxbl-spinedit {
    max-width: 200px !important;
}

.edit-form, .dxbl-window-body {
    background-color: #171717 !important;
    width: 100%;
}

.dxbl-popup-header, .dxbl-window-footer {
    background-color: #0d3544 !important;
}

.add-new-icon {
     font-size: 1.4em;
     font-weight: bold;
}

.features-parent {
    width: 100%;
}

.features-div {
    display: flex !important;
    flex-wrap: wrap;
    width: 100%;
    max-width:500px !important;
    flex-direction: column;
}

.features-edit {
    flex: 1 1 auto;
    height: 300px;
    flex-basis: 240px;
    justify-content: start;
}

.features-selected {
    flex: 1 1 auto;
    height: 300px;
    border: 1px solid var(--bs-border-color);
    margin: 4px 4px 0px 0px;
    flex-basis: 240px;
    justify-content: start;
    /* margin-top: 1pm;*/
    /*demo-part card mt-1 me-1 flex-grow-1 max-h-220*/
}

.features-selected-title {
    background-color: transparent;
    border-bottom: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding-bottom: .25rem;
    padding-left: .5rem;
    /*bg-transparent text-body border-bottom-0;*/
}

.features-selected-items {
    padding: 0;
    padding-bottom: 0.5rem !important;
    overflow: auto !important;
    /*p-0 pb-2 overflow-auto*/
}

.features-listbox {
    height: 300px;
    
}

.home-features-listbox {
    height: 100px;
}

.new-title-wrapper {
    max-width: 1000px; /* Set the maximum width */
    margin: 0 auto;
}

@media (min-width:1220px) {
    .view-title-wrapper {
        width: 1200px; /* Set the maximum width */
        margin: 0 auto;
    }
}

@media (max-width:1219px) {
    .view-title-wrapper {
        width: 95%; /* Set the maximum width */
        margin: 0 auto;
    }
}

@media (min-width:820px) {
    .settings-wrapper {
        width: 800px; /* Set the maximum width */
        margin: 0 auto;
    }
}

@media (max-width:799px) {
    .settings-wrapper {
        width: 95%; /* Set the maximum width */
        margin: 0 auto;
    }
}

.edit-form > dxbl-form-layout > dxbl-row {
    padding-bottom: 12px !important;
}

.new-title-buttons {
    display: flex;
    justify-content: flex-end; /* Aligns items to the right */
    padding-bottom: 30px;
    gap:10px;
}

.note-wrapper {
    background-color: #171717 !important;
    padding: 5px;
    margin: 10px;
}


.grid-in-accordion {
    margin: 20px;
}