html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    background-color: var(--dx-color-separator) !important;
}

.navbar-toggler-icon {
    filter: invert(1) brightness(100);
}

/*.dx-datagrid {
    user-select: none;
}*/

.dx-button-content {
    opacity: 1 !important;
}

.dx-toast-stack {
    z-index: 9999999;
    top: 10px !important;
}

.dx-toast-success {
    background-color: green;
    color: white;
    font-weight: bold;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid white;
    box-shadow: 1px 1px 1px #515159;
}

.dx-toast-error {
    background-color: red;
    color: white;
    font-weight: bold;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid white;
    box-shadow: 2px 2px 2px #515159;
}

.toolbar-tab {
    display: flex;
    overflow: hidden;
    width: 100%;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

toolbar-tab::-webkit-scrollbar {
    display: none !important;
}

.toolbar-tab-chevron {
    display: flex;
    align-items: center;
    width: 26px;
    background-color: var(--dx-color-main-bg);
    color: gray;
}

.blink {
    animation: blinker 1s step-start infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.bi {
    vertical-align: -.125em;
    pointer-events: none;
    fill: currentColor;
}

.dropdown-toggle {
    outline: 0;
}

.nav-flush .nav-link {
    border-radius: 0;
}

.btn-toggle {
    display: inline-flex;
    align-items: center;
    padding: .25rem .5rem;
    font-weight: 600;
    color: var(--dx-theme-background-color-as-text-color) !important;
    background-color: transparent;
    border: 0;
}

    .btn-toggle:hover,
    .btn-toggle:focus {
        background-color: transparent;
        color: var(--dx-theme-background-color-as-text-color) !important;
    }

    .btn-toggle::before {
        width: 1.25em;
        line-height: 0;
        content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='gray' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
        transition: transform .35s ease;
        transform-origin: .5em 50%;
    }

    .btn-toggle[aria-expanded="true"]::before {
        transform: rotate(90deg);
    }

.btn-toggle-nav a {
    display: inline-flex;
    padding: .1875rem .5rem;
    margin-top: .125rem;
    margin-left: 1.25rem;
    text-decoration: none;
    color: var(--dx-theme-background-color-as-text-color) !important;
    font-size: 12px;
}

    .btn-toggle-nav a:hover,
    .btn-toggle-nav a:focus {
        background-color: teal;
        color: white !important;
    }

.scrollarea {
    overflow-y: auto;
}

.fw-semibold {
    font-weight: 600;
}

.lh-tight {
    line-height: 1.4;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: unset !important;
}

.dashboard_first {
    margin-top: 60px;
    overflow-y: scroll;
    position: relative;
    height: calc(100% - 120px) !important;
}

.dashboard_main {
    border-color: darkgray !important;
    border-radius: 8px;
    background-color: var(--dx-color-main-bg) !important;
    min-width: 350px;
}

.prompt {
    position: relative;
    top: 59px;
    text-align: center;
    padding-right: 4px;
}

.prompt_inside {
    display: inline-flex;
    height: 30px;
    min-width: 320px;
    max-width: 1600px;
    width: 70%;
    padding-left: 8px;
}

.prompt_text {
    border-radius: 8px;
    border: 1px solid darkgray;
    padding-left: 8px;
    width: 100%;
    font-weight: bold;
    background-color: var(--dx-color-separator);
    color: var(--dx-color-text);
}

.prompt_button {
    background: transparent;
    width: 40px;
    height: 40px;
    border: none;
    cursor: pointer;
}

.dx-overlay-wrapper {
    z-index: 9999 !important;
}

.botao-flutuante {
    position: fixed;
    top: 0;
    right: 0;
    width: 50px;
    height: 68px;
    background-color: #606060;
    border: none;
    cursor: pointer;
}

.rolagem::-webkit-scrollbar {
    display: none;
}

.ficha-main-content {
    min-height: 578px;
    height: 578px;
    padding: 0px;
}

.grid-highlight {
    background-color: yellow;
    color: black;
    font-weight: bold;
}

.nogrow {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.stars {
    display: flex;
    cursor: pointer;
}

.star {
    font-size: 30px;
    color: gray;
    transition: color 0.3s;
}

    .star:hover,
    .star.active {
        color: gold;
    }

.searchbox {
    margin-right: 5px;
    margin-left: 5px;
    display: block !important;
    box-shadow: none;
    outline: none;
    border: var(--bs-border-width) solid rgba(255, 255, 255, 0.4);
    padding: 3px;
}

.searchicon {
    font-size: 18px;
    color: white;
    margin-left: 3px;
}

.searchinput {
    border: 0;
    background-color: transparent;
    color: white;
    margin-left: 2px;
    width: 200px;
    box-shadow: none;
    outline: none;
    font-size: 13px;
}

    .searchinput::placeholder {
        color: white;
        opacity: 0.5;
    }

.main_autocomplete {
    border-bottom: 1px solid silver;
    padding: 0px !important;
    line-height: 20px;
    list-style: none;
}

    .main_autocomplete a {
        background: transparent !important;
        border: none !important;
        padding: 5px !important;
        margin: 0px !important;
        display: block;
    }

    .main_autocomplete:hover, .main_autocomplete:hover a {
        color: black;
    }

.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {
    background-color: rgba(105,172,183,.25) !important;
    border: none !important;
    padding: 5px !important;
    margin: 0px !important;
    display: block;
}

.ui-menu-item:last-child {
    border-bottom: none !important;
}

.ui-front {
    top: 42px !important;
    left: 52px !important;
    max-width: 600px !important;
    width: calc(100% - 60px);
    border: 1px solid gray;
    background-color: var(--dx-color-main-bg);
    padding-left: 1px !important;
    z-index: 9999 !important;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px !important;
    border-radius: 0.375rem !important;
}

.ui-helper-hidden-accessible {
    display: none;
}

.loading {
    padding: 0px !important;
    margin: 0px !important;
    padding-top: 20px !important;
    width: 280px !important;
    box-sizing: border-box;
    position: absolute;
    left: calc(50% - 150px);
    top: calc(50% - 100px);
    z-index: 99999;
    font-size: 20px;
    color: var(--dx-color-text);
    text-align: center;
    border: 1px solid gray;
    background-color: var(--dx-color-main-bg);
    border-radius: 8px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px !important;
}

.loading1 {
    font-size: 14px;
    font-weight: bold;
    margin-top: 20px;
    font-family: Verdana;
    color: var(--dx-color-text) !important;
}

.loading2 {
    font-size: 10px;
    margin-top: 8px;
    font-family: Verdana;
    color: var(--dx-color-text) !important;
}

.loadingBox {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 999999;
    display: none;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.dashboard_widget {
    border: 1px solid darkgray;
    border-color: darkgray !important;
    border-radius: 8px;
    background-color: var(--dx-color-main-bg) !important;
    min-width: 300px;
    padding: 10px;
}

@media (width < 1000px) {
    .dashboard_widget {
        width: 100%;
    }
}

.card_cto {
    display: block !important;
    padding: 10px !important;
    max-width: 500px !important;
    min-width: 200px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    font-size: 13px !important;
}

@media (width < 576px) {
    .card_cto {
        min-width: 300px;
        max-width: 100% !important;
        width: 100% !important;
    }
}

.back-centro {
    position: relative;
}

    .back-centro::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 250px;
        height: 250px;
        background-image: url('/images/logo-vigo.png');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        transform: translate(-50%, -50%);
        opacity: 0.15;
        pointer-events: none;
        filter: grayscale(100%);
        border-radius: 50%;
        border: 4px solid white;
    }
