/* Layout */
html, body, .form {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.dxgvLoadingPanel_Office365Dark, .dxgvLoadingPanel_Office365, .dxlpLoadingPanel_Office365, .dxlpLoadingPanel_Office365Dark,
.dxtlLoadingPanel_Office365, .dxtlLoadingPanel_Office365Dark,
.dxcvLoadingPanel_Office365, .dxcvLoadingPanel_Office365Dark {
    border-radius: 5px;
}

body {
    min-height: 100%;
    padding-top: 1px;
    margin-top: -1px;
}

.content-wrapper {
    position: relative;
    padding-bottom: 46px; /* Footer Height */
    min-height: calc(100vh - 3.13rem - 46px); /* 3.13rem is the Header size */
}

html {
    height: 100%;
}

/* Content */
.content {
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    min-height: 100%;
    height: 100%;
    -webkit-overflow-scrolling: touch;
}

/* Footer */
.footer-wrapper {
    height: 46px; /* Footer Height */
    position: absolute;
    bottom: 0;
    width: 100%
}

.footer {
    font-size: 10.5px;
    color: #999999;
}

.footer-link {
    color: #999999;
    border-right: 1px solid #bbbbbb;
    margin-right: 7px;
    padding-right: 10px;
    white-space: nowrap;
}

    .footer-link:last-child {
        border: none;
        margin: 0;
        padding: 0;
    }

.footer-left {
    float: left;
}

.footer-right {
    float: right;
}

.footer-left,
.footer-right {
    padding: 16px 24px;
}

@media (max-width: 599px) {
    .footer-left,
    .footer-right {
        padding: 16px 4px;
    }
}

/* Header */
.app-header {
    padding: 0 !important;
    box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.2);
    border-bottom-width: 0 !important;
}

    .app-header .left-block {
        float: left;
    }

    .app-header .right-block {
        float: right;
    }

    .app-header .menu-container {
        overflow: hidden;
    }

        .app-header .menu-container > div {
            float: right;
        }

.header-logo {
    background: url('../Images/Logos/Apollo/apollo-horizontal.png') no-repeat center;
    background-size: contain;
    width: 160px;
    height: 50px;
}

@media (max-width: 359px) {
    .header-logo {
        background: url('') no-repeat center;
        width: 52px;
    }
}

.app-header .left-block .header-menu .image-item > .dxm-content {
    padding: 0 8px 0 8px;
}

.app-header .right-block .header-menu .image-item > .dxm-content {
    padding: 0 7px 0 7px;
}

.app-header .left-block .header-menu .item.toggle-item > .dxm-content {
    padding: 0 14px 0 14px;
}

.app-header .right-block .header-menu .item.toggle-item > .dxm-content {
    padding: 0 14px 0 14px;
}

.app-header .header-menu .item.selected {
    color: inherit;
    box-sizing: border-box;
    /* DXCOMMENT: Duplicates color from the web.config (devexpress->themes->baseColor) */
    border-bottom: solid 2px #4796CE;
}

.app-header .header-menu .item.selected,
.app-header .header-menu .item.hovered {
    background-color: rgba(0, 0, 0, 0.05);
}

    .app-header .header-menu .item.selected .dxm-content {
        margin-bottom: -2px;
    }

    .app-header .header-menu .item.selected .dxm-content,
    .app-header .header-menu .item.hovered .dxm-content {
        color: inherit;
    }

/* Main Menu */
.header-menu {
    background-color: transparent !important;
    border-style: none !important;
    height: 3.13rem;
}

@media (max-width: 599px) {
    .menu-container .dxm-ltr > div:not(.header-menu) {
        width: 100% !important;
    }

    .header-sub-menu {
        width: 100% !important;
    }
}

.header-sub-menu .item {
    padding: 12px 7px !important;
}

/* Ellipsis -> Apps Icon */
.header-menu .adaptive-image {
    background: url('../Images/adaptive-menu.svg') no-repeat center;
    width: 16px;
    height: 16px;
    padding: 0 8px;
}
/* Hide item images */
.header-menu.application-menu .item .dxm-content > img {
    display: none !important;
}

@media (max-width: 720px) /* Change Ellipsis image Apps Icon */
{
    .app-header .menu-container > div {
        width: 47px;
    }

    .header-menu .adaptive-image {
        background: url('../Images/application.svg') no-repeat center;
    }

    /* Show item images */
    .header-menu.application-menu .item .dxm-content > img {
        display: inline-block;
    }
}

/* Right area menu */
.header-menu .toggle-item .image {
    background: url('../Images/double.svg') no-repeat center;
}

.header-menu .toggle-item.checked .image {
    background: url('../Images/double-close.svg') no-repeat center;
}

.header-menu .image-item {
    vertical-align: middle !important;
}

.header-menu .vertically-aligned {
    font-size: 0;
}

/* Account */
.header-menu .account-background {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.1);
}

    .header-menu .account-background div {
        border-radius: 50%;
    }

    .header-menu .account-background .empty-image {
        width: 16px;
        height: 16px;
        margin: 8px;
        display: inline-block;
        background: url('../Images/user.svg');
    }

    .header-menu .account-background .account-image {
        width: 32px;
        height: 32px;
        font-size: 0.8em;
        font-weight: 600;
        line-height: 32px;
        text-align: center;
        margin: 0 auto;
        display: table;
        background-size: 100%;
    }

.user-info .text-container {
    height: 3.13rem;
    margin-left: 15px;
    margin-top: 7px;
}

    .user-info .text-container .user-name {
        color: #444444;
        font-size: 1.14em;
    }

    .user-info .text-container .email {
        display: block;
        color: #666666;
        font-size: 0.86em;
    }

.myaccount-item {
    background-color: #e4e4e4;
}

/* Left Panel */
.left-panel {
    border: none;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.leftpanel-section {
    border: none !important;
    background-image: linear-gradient(to bottom, #CDCDCD, #E7E7E7);
}

.section-caption {
    height: 2.69rem;
    line-height: 2.69rem;
    vertical-align: middle;
    margin: 0;
}

.section-caption {
    border-top: solid 1px #f0f0f0;
    border-bottom: solid 1px #f0f0f0;
}

.left-panel.expand-bar,
.right-panel.expand-bar {
    border: 0;
}

/*Left Panel Dark Mode*/

.leftpanel-section-darkmode {
    border: none !important;
    background-image: linear-gradient(to bottom, #0a0a0a, #383838);
    padding-left: 10px;
}

.section-caption-darkmode {
    height: 2.69rem;
    line-height: 2.69rem;
    vertical-align: middle;
    margin: 0;
    color: #dedede;
}

.section-caption-darkmode {
    border-top: solid 1px #f0f0f0;
    border-bottom: solid 1px #f0f0f0;
}

.left-panel.expand-bar,
.right-panel.expand-bar {
    border: 0;
}

/*Left Panel Dark Mode*/

a.tree-view-node {
    color: #666666;
    padding-top: 7px !important;
    padding-bottom: 8px !important;
    padding-right: 8px !important;
    border: none !important;
}

    a.tree-view-node.hovered {
        text-decoration: none;
    }

.tree-view-elbow {
    padding-top: 3px;
}

/* Right Panel */
.right-panel {
    border-left: 1px solid #f0f0f0;
}

.settings-content {
    padding: 24px 20px;
}

    .settings-content h2 {
        color: #494949;
        font-size: 1.3em;
        font-weight: 600;
    }

    .settings-content p {
        color: #999999;
    }

/* Toolbar */
.page-toolbar-wrapper {
    position: fixed;
    background-color: white;
    left: 272px;
    right: 0;
    z-index: 1;
}

@media(max-width: 959px) {
    .page-toolbar-wrapper {
        left: 0;
    }
}

.page-toolbar {
    background-image: linear-gradient(to bottom, #CDCDCD, #E7E7E7);
    border: none !important;
    font-size: 0.93em !important;
    height: 2.69rem;
}

.page-toolbar-darkmode {
    background-image: linear-gradient(to bottom, #0a0a0a, #383838);
    border: none !important;
    font-size: 0.93em !important;
    height: 2.69rem;
}

.Second-page-toolbar {
    background-image: linear-gradient(to bottom, #E7E7E7, #f0f0f0);
    border: none !important;
    font-size: 0.93em !important;
    height: 2.69rem;
}

.page-toolbar .item > h1,
.section-caption {
    color: #494949;
    font-weight: 600;
    font-style: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 24px;
}

.page-toolbar .item > h1 {
    font-size: 1.46em;
}

.page-toolbar .item > h1 {
    margin: 0;
    padding: 0 17px;
}

.page-toolbar .item .dxm-disabled .dxm-image {
    opacity: 0.3;
}

@media (max-width: 599px) {
    .page-toolbar .item > h1 {
        max-width: 150px;
    }
}

/**/
.page-toolbar-darkmode .item > h1,
.section-caption {
    color: #dedede;
    font-weight: 600;
    font-style: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 24px;
}

.page-toolbar-darkmode .item > h1 {
    font-size: 1.46em;
}

.page-toolbar-darkmode .item > h1 {
    margin: 0;
    padding: 0 17px;
}

.page-toolbar-darkmode .item .dxm-disabled .dxm-image {
    opacity: 0.3;
}

@media (max-width: 599px) {
    .page-toolbar-darkmode .item > h1 {
        max-width: 150px;
    }
}
/**/

.Second-page-toolbar .item > h1,
.section-caption {
    color: #494949;
    font-weight: 600;
    font-style: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 24px;
}

.Second-page-toolbar .item > h1 {
    font-size: 1.46em;
}

.Second-page-toolbar .item > h1 {
    margin: 0;
    padding: 0 17px;
}

.Second-page-toolbar .item .dxm-disabled .dxm-image {
    opacity: 0.3;
}

@media (max-width: 599px) {
    .Second-page-toolbar .item > h1 {
        max-width: 150px;
    }
}

/* Webkit Scrollbar */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent; /* Deixa o track invisível para um design mais clean */
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3); /* Cor mais suave e translúcida */
    border-radius: 5px; /* Cantos arredondados para um visual moderno */
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.5); /* Fica mais visível ao passar o mouse */
    }


.binaryImage {
    border-radius: 50%;
}

.button-with-transform {
    color: white;
    font-weight: bold;
    background-color: #1e68a5;
    cursor: pointer;
    border: none;
    margin-top: 5px;
    padding: 5px;
    width: 100%;
    text-align: center;
    border-radius: 8px;
    transition: all 0.25s ease-in-out;
}

    .button-with-transform:hover {
        transform: scale(1.05);
        background-color: #267fc9;
    }

.sunken {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    font-size: 1.08675rem;
    height: 2.25em;
    width: 2.25em;
    transition-property: width, height;
    transition-duration: 200ms;
    box-shadow: inset -2px -2px 4px rgba(255, 255, 255, 0.7),inset 2px 2px 4px rgba(189, 200, 223, 0.7);
    border-radius: 0.5em;
    background-color: #EEEFF5;
    padding: 0 30% 0 30%;
    border-radius: 50%;
}

.sunken-darkmode {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    font-size: var(--font-size);
    height: 2.25em;
    width: 2.25em;
    transition-property: width, height;
    transition-duration: 200ms;
    box-shadow: inset -2px -2px 4px rgba(255, 255, 255, 0.1),inset 2px 2px 4px rgba(0, 0, 0, 0.25);
    border-radius: 0.5em;
    background-color: #282C32;
    padding: 0 30% 0 30%;
}

.themed-heading {
    font-weight: 700;
    font-family: Arial;
    color: #396AF1;
    width: fit-content;
    max-width: 100%;
    caret-color: #396AF1;
    font-size: 1.0em;
}

.road-bar {
    position: absolute;
    width: 0.45em;
    top: 0px;
    bottom: 0px;
    box-shadow: inset -2px -2px 4px rgba(255, 255, 255, 0.7),inset 2px 2px 4px rgba(189, 200, 223, 0.7);
    background-color: #EEEFF5;
}

.css-k4jrkg {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    grid-column: 2 / auto;
}

.dxpc-mainDiv, .dxpc-header {
    border-radius: 10px;
}

.chatBotButton {
    background-color: #4B5771 !important;
}

    .chatBotButton > div {
        margin: 0 14px;
    }

.chatbot-icon {
    background-image: url('../Images/Logos/Apollo/apollo-icon-white.png');
}


.popup-chatBot {
    backdrop-filter: blur(16px) saturate(180%) !important;
    background-color: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid rgba(209, 213, 219, 0.3) !important;
}

.dark-mode .popup-chatBot {
    backdrop-filter: blur(16px) saturate(180%) !important;
    background-color: rgba(47, 47, 47, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.125) !important;
}

.dark-moon .popup-chatBot {
    backdrop-filter: blur(16px) saturate(180%) !important;
    background-color: rgba(17, 25, 40, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.125) !important;
}



    .popup-chatBot .dxpc-header {
        background-color: transparent !important;
    }

.dark-moon #headerPanel, .dark-moon .dxmLite_Office365 span.dx-vam, .dark-moon .dxm-scrollArea > ul.dx, .dark-moon .dxmLite_Office365 .dxm-popup {
    background-color: #465672;
    border: none;
}

.float-button {
    margin: 0;
    width: 40px !important;
    height: 40px !important;
}

    .float-button > div {
        height: 40px !important;
        margin: 0 9px !important;
    }

.toolbar-btn-save, .toolbar-btn-cancel {
    border: none !important;
    background-color: transparent !important;
}

    .toolbar-btn-save > div, .toolbar-btn-cancel > div {
        border: 1px solid #666;
        border-radius: 8px;
    }

    .toolbar-btn-save > div:hover, .toolbar-btn-cancel > div:hover {
        background-color: lightgray;
    }

    .toolbar-btn-cancel > div{
        margin-left: 20px;
    }

    .toolbar-btn-save .dxm-disabled, .toolbar-btn-cancel .dxm-disabled {
        background-color: transparent !important;
        border-color: lightgray;
    }

.toast, .dx-toast-wrapper {
    z-index: 25000 !important;
}
.dark-mode .formulario-grid {
    background-color: #333333 !important;
}

.dark-mode .pager {
    background-color: #222222;
    border-bottom: 1px solid #000000;
    border-top: 1px solid #000000;
    border-left: 1px solid #000000 !important;
    border-right: 1px solid #000000 !important;
    border-radius: 8px;
}