.navbar {
    z-index: 110;
}

.dx-button {
    border-radius: 5px !important;
}

.dx-label-before {
    border-radius: 5px 0px 0px 5px !important;
}

.dx-label {
    border-radius: 0px !important;
}

.dx-label-after {
    border-radius: 0px 5px 5px 0px !important;
}

.vw-window {
    display: none;
    position: absolute;
    top: 65px;
    left: 15px;
    z-index: 9;
    min-height: 100px;
    border-radius: 10px 10px 10px 10px;
    overflow: hidden;
    border: 1px solid lightslategrey;
    opacity: 1 !important;
    color: var(--dx-theme-background-color-as-text-color);
    background-color: var(--dx-color-separator);
}

.vw-header {
    padding: 10px 12px 12px 8px;
    z-index: 10;
    font-weight: 600;
    border-radius: 8px 8px 0px 0px;
    height: 34px;
    justify-content: space-between !important;
    display: flex !important;
    font-size: 14px;
    font-family: Roboto, RobotoFallback, "Noto Kufi Arabic", Helvetica, Arial, sans-serif;
    cursor: pointer;
    pointer-events: all;
    user-select: none;
    color: rgba(0, 0, 0, 0.4);
}

.vw-header-active {
    background: var(--dx-color-header);
    color: white !important;
}

#vw_group:has(.vw-header:hover) .vw-window:hover {
    box-shadow: 0 0 5px darkorange;
}

.vw-header-icon-close {
    font-size: 21px;
    margin-left: 3px;
}

.vw-header-icon-maximize {
    font-size: 20px;
    margin-right: 3px;
}

.vw-header-icon-restore {
    font-size: 19px;
    margin-right: -3px;
    margin-top: .5px;
    transform: scaleX(-1);
}

.vw-active {
    z-index: 100;
    opacity: 1 !important;
    pointer-events: all;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px !important;
}

.vw-title {
    position: relative;
    bottom: 2px;
    overflow: hidden;
    word-wrap: break-word;
    min-height: 18px;
}

.vw-toolbar {
    padding: 10px 1px 10px 1px;
    min-width: 100%;
    display: inline-flex;
    gap: 10px;
}

.vw-toolbar-bottom {
    padding: 10px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    background-color: var(--dx-color-separator);
}

.vw-toolbar-bottom-right {
    padding: 10px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 10px;
    background-color: var(--dx-color-separator);
}

.vw-toolbar-bottom-center {
    padding: 10px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    background-color: var(--dx-color-separator);
}

.vw-filter-text {
    font-weight: bold;
    padding: 2.3px 10px 10px 10px;
    border-bottom: 1px solid silver;
    color: #f48270;
}

.vw-content {
    padding: 20px 20px 10px 20px;
    background-color: var(--dx-color-main-bg);
}

[id^="vw-cwb-"] {
    cursor: pointer;
    position: relative;
    bottom: 5px;
    right: -3px;
}

.vw-overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9990;
}

.vw-hidden {
    display: none;
}

.vw-maximized {
    position: absolute;
    top: 51px !important;
    left: 0px !important;
    width: 100% !important;
    min-height: calc(100% - 91px) !important;
    border-radius: 0 !important;
    box-shadow: unset !important;
    border: 0px !important;
    border-bottom: 1px solid gray !important;
}

.vw-maximized-header {
    top: 0px !important;
    left: 0px !important;
    width: 100% !important;
    border-radius: 0 !important;
    box-shadow: unset !important;
    border: 0 !important;
    border-bottom: 0 !important;
}

.vw-window-handles {
    position: fixed;
    padding: 6px 6px 6px 2px;
    height: 30px;
    left: 0;
    bottom: 0px;
    width: 100%;
    background-color: var(--dx-color-header);
    display: flex;
    justify-content: space-between;
}

.vw-window-handles-left {
    width: 80%;
    color: white;
    font-size: 13px;
    padding-top: 1px;
    padding-left: 1px;
    overflow:hidden;
}

.vw-window-handles-right {
    width: 19%;
    display: flex;
    flex-direction: row-reverse;
}

.vw-handle {
    font-size: 18px;
    margin-left: 6px;
    color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.badge-footer {
    color: white;
    margin-right: 4px;
    line-height: 0.8;
    font-size: 12px;
}

.vw-active-handle {
    color: lime;
}

.destaque1 {
    font-weight: bold !important;
    background-color: rgba(225, 227, 7, 0.2) !important;
}

.destaque2 {
    font-weight: bold !important;
    background-color: rgba(42, 158, 222, 0.2) !important;
}

.destaque3 {
    font-weight: bold !important;
    color: #3874ff !important;
    text-decoration: underline;
}

.destaqueDown {
    font-weight: bold !important;
    color: #3874ff !important;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.destaqueUp {
    font-weight: bold !important;
    color: #f48270 !important;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.menu-logo {
    height: 30px;
    width: 30px;
    margin: 0px 5px 0px -5px;
    padding: 0.2px;
    text-align: center;
    border-radius: 50%;
    display: inline-block;
    color: #fff;
    font-size: 1.1em;
    font-weight: 600;
    background-color: white;
    border: 1px solid white;
}

.vw-window-dialog {
    height: unset !important;
}

.vw-grid-single {
    height: 635px;
}

.vw-grid-single-visor {
    height: 635px;
}

.vw-grid-single-visor2 {
    height: 635px;
}

.vw-grid-single-visor3 {
    height: 635px;
}

.vw-grid-single-client {
    height: 635px;
}

@media (width > 1681px) {
    .ficha-main-content {
        min-height: 628px !important;
    }
}

@media (width < 1680px) {
    .ficha-main-content {
        min-height: 325px !important;
        max-height: 768px !important;
    }
}

@media (width < 1340px) {
    .navbar {
        z-index: 1;
    }

    .vw-window {
        top: 0px !important;
        left: 0px !important;
        width: 100% !important;
        border-radius: 0px 0px !important;
        box-shadow: unset !important;
        border: 0px !important;
        border-bottom: 1px solid gray !important;
        height: calc(100% - 30px);
    }

    .vw-header {
        border-radius: 0px 0px !important;
    }

    .vw-header-icon-maximize {
        display: none;
    }

    .vw-window-handles {
        /*display: none;*/
    }

    .vw-window-handles-mobile {
        display: none;
    }

    .vw-grid-single {
        height: calc(100% - 88px) !important;
    }

    .vw-grid-single-visor {
        height: calc(100% - 129px) !important;
    }

    .vw-grid-single-visor2 {
        height: calc(100% - 118px) !important;
    }

    .vw-grid-single-visor3 {
        height: calc(100% - 34px) !important;
    }

    .vw-grid-single-client {
        height: calc(100% - 168px) !important;
    }

    .ficha-main-content {
        min-height: calc(100% - 106px) !important;
        height: calc(100% - 106px) !important;
    }
}