/* Demos specific */
body {
    margin: 0;
}

.main {
    display: flex;
    flex-direction: column;
    height: 100vh;
    min-height: 0;
    overflow: hidden;
    /*overflow-x: auto;
    overflow-x: hidden;*/
}

.card.demo-card {
    width: 760px;
}

.demo-card,
.demo-card-wide,
.card.code-snippet,
.demo-description + div {
    margin-top: 2rem;
}

@media(max-width: 1080px) {
    .card.demo-card {
        width: 100%;
    }
}

.mw-480 {
    max-width: 480px;
}

.mw-1100 {
    max-width: 1100px;
    height: 100%;
}

.card-deck.demo > .card {
    min-width: 400px;
    max-width: 800px;
    height: 150px;
    margin-bottom: 15px;
    margin-left: 0px;
}

.card.demo-card-wide > .card-footer:not(.code-header) {
    background-color: #fff;
}

.card.demo-card > .card-footer:not(.code-header) {
    background-color: #fff;
}

.card.demo-card > .card-footer,
.card.demo-card-wide > .card-footer {
    padding-top: 0;
}

    .card.demo-card > .card-footer > pre,
    .card.demo-card-wide > .card-footer > pre {
        margin: 0;
        padding: 0;
        border: none;
    }

.card.code-snippet {
    overflow: hidden;
}

.code-header.card-footer {
    background-color: #f5f5f5 !important;
    background-image: none;
}

    .code-header.card-footer:not(:first-child) {
        border-top-color: #ebebeb;
        border-top-width: 1px;
    }

    .code-header.card-footer:first-child {
        border-top: none;
    }

.code-header .nav-code {
    position: relative;
    z-index: 1;
}

.code-header > .nav-code .nav-link {
    color: #444;
}

    .code-header > .nav-code .nav-link.active {
        background-color: #fff;
        border-bottom: 1px solid;
    }

.code-header > .nav-code .nav-link {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    display: block;
    padding: 0.5rem 1rem;
}

.code-header > .nav-code .nav-link {
    font-size: 0.875rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.code-header.card-footer ~ .card-footer {
    border-top-width: 1px;
    margin-top: -1px;
    border-top-color: #d6d5d5;
    background-color: #f5f5f5 !important;
}

.code-header-tabs {
    padding-bottom: 1px;
}

    .code-header-tabs .nav-tabs {
        border-bottom-color: #d6d5d5;
    }

.hljs {
    background-color: transparent;
}

.hljs-name,
.hljs-attr,
.hljs-tag,
code.hljs.xml {
    color: #800080 !important;
}

.main {
    min-width: 0;
    display: inline-flex;
    flex-direction: column;
}

.top-row {
    border: none;
    background-color: inherit;
    border-radius: 0;
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.12);
}

.sidebar > .logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #d6d5d5;
    border-radius: 0 !important;
    z-index: 1000;
}

.logo-container .logo-image {
    background-color: white;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    cursor: pointer;
    margin-left: 16px;
    width: 180px;
    height: 30px;
    mask-image: url("../images/expert56_56.png");
    -webkit-mask-image: url("../images/expert56_56.png");
}

@media (max-width: 359.98px) {
    .logo-container .logo-image {
        width: 28px;
        height: 28px;
        mask-image: url("../images/logo-xs.svg");
        -webkit-mask-image: url("../images/logo-xs.svg");
    }
}

div.logo {
    padding-top: 10px;
    float: left;
    width: 100%;
}

/*.caption {
    color: #212529;
}
*/
.footer {
    padding-bottom: 12px;
}

    .footer .version,
    .footer .copyright {
        font-size: 11px;
    }

.sidebar .footer {
    display: none;
    padding-top: 12px;
    bottom: 0;
    left: 0;
    right: 0;
    padding-left: 10px;
    position: relative;
}

.sidebar .blazor-scroll-view:not(.dx-scrollview) {
    height: calc(100% - 56px);
    overflow: hidden;
}

.sidebar .footer:before {
    content: "";
    border-top-width: 1px;
    border-top-color: currentColor;
    border-top-style: solid;
    opacity: 0.15;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.main .footer {
    padding-left: 1.5rem;
    padding-top: 1.1rem;
}

div.content > .card:last-child {
    margin-bottom: 50px;
}

.card-footer.text-muted > .dxbs-spin-edit {
    display: inline-block;
    width: 100px;
}

/*Mac OS Safari does not support position:sticky*/
@media (min-width: 1200px) {
    _:-webkit-full-screen, _::-webkit-full-page-media, _:future, :root .main {
        margin-left: 300px;
        /*margin-top: 56px;*/
    }

        _:-webkit-full-screen, _::-webkit-full-page-media, _:future, :root .main .top-row {
            position: fixed;
            /*width: 100%;*/
        }

    _:-webkit-full-screen, _::-webkit-full-page-media, _:future, :root .sidebar {
        position: fixed;
    }
}

.online-only-warrning {
    margin-top: 32px;
    margin-bottom: 40px;
    padding: 16px 16px 0 66px;
    max-width: 1024px;
}

    .online-only-warrning > img {
        width: 36px;
        height: 36px;
        position: absolute;
        top: 21px;
        left: 16px;
    }

    .online-only-warrning .info-caption {
        font-size: 16px;
        margin-bottom: 2px;
    }

    .online-only-warrning .info-description {
        font-size: 14px;
        margin-bottom: 16px;
    }

.icon-expand,
.icon-collapse {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: currentColor;
}

.icon-collapse {
    mask-image: url("../images/CollapseButton.svg");
    -webkit-mask-image: url("../images/CollapseButton.svg");
}

.icon-expand {
    mask-image: url("../images/ExpandButton.svg");
    -webkit-mask-image: url("../images/ExpandButton.svg");
}

.dxbl-btn-primary {
    --dxbl-btn-border-radius: 10px !important;
    --dxbl-btn-padding-x: 1rem !important;
}

.dxbl-btn-secondary {
    --dxbl-btn-border-radius: 10px !important;
    --dxbl-btn-padding-x: 1rem !important;
}

.dxbl-btn-danger {
    --dxbl-btn-border-radius: 10px !important;
    --dxbl-btn-padding-x: 1rem !important;
}

.dxbl-toolbar {
    --dxbl-toolbar-btn-border-radius: 10px !important;
    --dxbl-toolbar-btn-padding-x: 1rem !important;
}

.dx-radio-group-label {
    font-size: inherit;
    font-weight: 600;
}

    .dx-radio-group-label.dx-demo-small {
        font-size: 0.75rem;
    }

    .dx-radio-group-label.dx-demo-large {
        font-size: 1rem;
    }


.dx-radio-group.dx-demo-radio-group-indented {
    padding-bottom: 1rem;
}

.dx-radio-group > .dx-demo-radio + .dx-demo-radio {
    padding-top: 0.5rem;
}

.dxbl-group > .dxbl-group-header > .dxbl-text {
    font-weight: bold !important;
}

.dxbl-fl-cpt {
    --dxbl-fl-caption-font-weight: bold;
}


/*.dxbl-grid .dxbl-grid-table > tbody > tr, .dxbl-grid .dxbl-grid-table > tfoot > tr, .dxbl-grid .dxbl-grid-table > thead > tr {*/
/*.dxbl-grid .dxbl-grid-table > tbody, .dxbl-grid .dxbl-grid-table > thead {
    background-color: lightblue !important;
}

.dxbl-grid .dxbl-grid-table > tbody > .dxbl-grid-selected-row {
    background-color: white !important;
}

.dxbl-grid .dxbl-grid-table > thead .dxbl-grid-filter-row {
    background-color: lightcyan !important;
}*/

.menu-icon {
    width: 15px;
    height: 15px;
    min-width: 15px;
    max-width: 15px;
    max-height: 15px;
    min-height: 15px;
}

.menu-iconheader {
    width: 24px;
    height: 24px;
    min-width: 24px;
    max-width: 24px;
    max-height: 24px;
    min-height: 24px;
}

.custom-popup {
    opacity: 0;
}

    .custom-popup .modal-header {
        padding: 0;
    }

    .custom-popup .custom-header {
        padding: 0.3rem 0;
        font-size: 1.4rem;
        justify-content: right;
        display: flex;
        align-items: center;
    }

    .custom-popup .demo-icon-info {
        margin: 0 0.5rem 0 0.6rem;
    }

    .custom-popup .custom-header .close-button {
        font-size: 0.9rem;
        margin-left: auto;
        margin-bottom: 0.2rem;
        margin-right: 0.9rem;
    }

    .custom-popup .modal-body {
        padding-top: 0.6rem;
    }

.button-link {
    text-decoration: unset;
}

.icon-back {
    -webkit-mask-image: url("images/back.svg");
    mask-image: url("images/back.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    width: 1rem;
    height: 1rem;
    background-repeat: no-repeat;
    background-color: /*black; */ var(--dxbl-btn-color);
}

.back-button:hover .icon-back {
    background-color: /*white;*/ var(--dxbl-btn-hover-color);
}

.ImagemMenu {
    width: 100%;
    text-align: center;
}

.ImagemMenuIcon {
    width: 75px;
    height: 75px;
}
/*.ImagemMenuIcon:hover {
        background-color: lightgray;
    }*/

.ImagemMenuCaption {
    width: 100%;
    text-align: center;
    font-size: x-large;
    /*color: black;*/
}


.wait-popup {
    --dxbl-popup-bg: transparent;
    --dxbl-popup-color: transparent;
    --dxbl-popup-shadow: 0;
    --dxbl-popup-border-style: none;
}

.MenuPage {
    background-color: #f1f5fc;
    color: black;
}

.logoLogin {
    text-align: center;
    align-content: center;
    width: 2rem;
    height: 2rem;
}

.blazored-toast-container {
    z-index: 10000 !important;
}

.gridheight {
    height: calc(100vh - 220px); /* Ajuste 80px para o tamanho do header/topo se houver */
}

.dxbl-grid.dxbl-sm {
    --dxbl-grid-detail-cell-padding-y: 5px !important;
}

/*.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: calc(100vh - 150pcx);
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    position: relative;
    min-width: 320px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
}

.fechar {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10000;
}
*/
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.popup {
    position: relative;
    background: white;
    padding: 1rem;
    border-radius: 10px;
    width: 90%;
    max-width: 900px;
    max-height: 90%;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: red;
    color: white;
    cursor: pointer;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    z-index: 2000;
}

iframe {
    width: 100%;
    height: 80vh;
    border: none;
    background: white;
}