/* INICIO - PRINCIPAL */
* {
    --cor-primaria: #009bdc;
    --cor-texto: #646464;
    --cor-primaria-texto: #FFFFFF;
    --cor-background: #fbfbfb; /*#f2f7ff*/
}

html {
    font-size: 16px;
}

body {
    color: var(--cor-texto);
    font-family: "Nunito", sans-serif;
    font-size: 1rem;
    overflow: hidden;
    background-color: var(--cor-background);
}

#main {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    transition: 0.5s;
    padding: 0 0 50px 0;
}
/* FIM - PRINCIPAL */

/* INICIO - SOBREPONDO DEVEXPRESS */
.dx-datagrid .dx-link {
    text-decoration: none;
    cursor: pointer;
    color: #009bdc;
}
/* FIM - SOBREPONDO DEVEXPRESS */

/* INICIO - SOBREPONDO BOOTSTRAP */
h2 {
    font-weight: 500;
}

a {
    color: var(--cor-primaria);
    text-decoration: none;
    cursor: pointer;
}

    a:hover {
        text-decoration: none;
    }

.dropdown-toggle::after {
    content: none;
}
/* FIM - SOBREPOSIÇÃO BOOTSTRAP */

/* TABS */

.nav-tabs .nav-item .nav-link {
    background-color: #e1e1e1;
}

.nav-tabs .nav-item .nav-link.active {
    background-color: #FFFFFF;
}

/* INICIO - CARD */
.card {
    overflow: hidden;

    background-color: #fff;
    border-radius: 5px;
    border: none;
    box-shadow: 0px 4px 8px 0px #ddd, 0px -2px 5px -3px #ddd;
/*
    padding: 15px;
    margin: 15px;*/
}

.card-body,
.card-header {
    background-color: #fff;
    border-radius: inherit;
    border: none;
}

main {
    padding: 0;
    margin: 0;
}
/* FIM - CARD */

/* INICIO - Menu-Cabecalho */
.menu-cabecalho {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    left: 0;
    top: -60px;
    height: 60px;
    width: 100vw;
    border-bottom: 1px solid #ddd;
    background-color: #fff;
    z-index: 1000;
}

    .menu-cabecalho img {
        margin-left: 20px;
        width: 200px;
    }

    .botao-ativar-menu {
        display: flex;
        flex-direction: column;
        margin-right: 20px;
        align-items: center;
        justify-content: center;
        height: 40px;
        width: 40px;
        border: 1px solid #ddd;
        border-radius: 50%;
    }

        .botao-ativar-menu .barra-1,
        .botao-ativar-menu .barra-2,
        .botao-ativar-menu .barra-3 {
            display: flex;
            height: 1px;
            width: 20px;
            margin-bottom: 5px;
            background-color: #999;
        }

        .botao-ativar-menu .barra-3 {
            margin-bottom: 0px;
        }
/* FIM - Menu-Cabecalho */

/* INICIO - BUTTONS */
.btn {
    border: none;
}

.btn-outline-primary {
    color: var(--cor-primaria);
}

.btn-check:checked + .btn-outline-primary,
.btn-outline-primary:active,
.btn-outline-primary:hover {
    color: var(--cor-primaria-texto);
    background-color: var(--cor-primaria);
    border-color: var(--cor-primaria);
}

    .btn.btn-primary {
        color: var(--cor-primaria-texto);
        background-color: var(--cor-primaria);
    }

        .btn.btn-primary:hover {
            background-color: #0093c3;
        }

        .btn.btn-primary:active {
            background-color: #0082ad;
        }

    .btn.btn-secondary {
        color: #fff;
        background-color: #6c757d;
    }

        .btn.btn-secondary:hover {
            background-color: #5f666c;
        }

        .btn.btn-secondary:active {
            background-color: #565c60;
        }

    .btn.btn-dark {
        color: #fff;
        background-color: #212529;
    }

        .btn.btn-dark:hover {
            background-color: #34383a;
        }

        .btn.btn-dark:active {
            background-color: #4a5158;
        }

    .btn.btn-danger {
        color: #fff;
        background-color: #dc3545;
    }

        .btn.btn-danger:hover {
            background-color: #bb202f;
        }

        .btn.btn-danger:active {
            background-color: #a11623;
        }

.btn-primary-dois {
    color: var(--cor-primaria-texto);
    background-color: var(--cor-primaria);
    border-color: var(--cor-primaria);
}

    .btn-primary-dois:hover,
    .btn-primary-dois:focus {
        color: var(--cor-primaria-texto);
    }

.btn-outline-primary-dois {
    color: var(--cor-primaria);
    border-color: var(--cor-primaria);
}

    .btn-outline-primary-dois:hover,
    .btn-outline-primary-dois:focus {
        color: var(--cor-primaria);
        box-shadow: 0px 0px 0px 2px var(--cor-primaria) inset !important;
    }
/* FIM BUTTONS */

/* INICIO - TABELA */
.tabela {
    width: 100%;
}

    .tabela thead tr {
        width: 100%;
        border-bottom: 2px solid #ddd;
    }

        .tabela thead tr th {
            color: #9d9d9d;
            font-size: 14px;
            font-weight: 100;
            text-align: center;
            border: 1px solid #ddd;
            padding: 7px;
        }

    .tabela tbody tr {
        width: 100%;
    }

    .tabela tbody tr:hover {
        background-color: #f5f5f5;
    }

        .tabela tbody tr:focus-within {
            background-color: #e9e9e9;
        }

        .tabela tbody:last-child {
            border-bottom: 1px solid #ddd;
        }

        .tabela tbody tr td {
            padding: 8px;
            font-size: 14px;
            border-right: 1px solid #ddd;
            border-left: 1px solid #ddd;
            text-align: center;
        }

            .tabela tbody tr td input {
                width: 100%;
                text-align: center;
            }
/* FIM - TABELA */

.d-flex-desktop {
    display: flex;
}

.d-none-desktop {
    display: none;
}

.span-val {
    float: right;
    margin-left: auto;
    margin-top: 10px;
    color: #fd7e14;
}

.div-title-icon {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.div-title-icon h2 {
    font-weight: bold;
    margin-left: 10px;
    margin-bottom: 0;
}

.div-atributos-row {
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.div-atributos-row p {
    font-weight: bold;
    margin-bottom: 0;
}

.div-back-shadow {
    display: none;
    background-color: rgb(0 0 0 / 0.8);
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    z-index: 20;
    overflow: auto;
}

.div-back-shadow .popup-nova-assinatura {
    height: fit-content;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 15px;
    padding: 40px;
}

    .form-select:focus {
        border-radius: 0;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        border-color: #009bdc;
    }

    .form-select option {
        background-color: #fff;
        color: #646464;
        border: 1px solid #a8aebb;
    }

    .form-select option:hover {
        background-color: #009bdc;
        color: #fff;
    }

.select {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
}

.tabela-parametros { /* PARA REMOVER */
    width: 100%;
}

    .tabela-parametros .cabecalho {
        width: 100%;
        background-color: #009bdc;
        color: #fff;
    }

    .tabela-parametros .linha {
        width: 100%;
    }

    .tabela-parametros thead .cabecalho .a1,
    .tabela-parametros thead .cabecalho .a2 {
        width: 50%;
        text-align: center;
        border: 1px solid #009bdc;
    }

    .tabela-parametros tbody .linha .a1,
    .tabela-parametros tbody .linha .a2 {
        width: 50%;
        padding: 3px;
        border: 1px solid #ccc;
    }

        .tabela-parametros tbody .linha .a1 input,
        .tabela-parametros tbody .linha .a2 input {
            width: 100%;
            outline: none;
            border: none;
            color: #646464;
        }

.btn-cancelar { /* PARA REMOVER */
    width: 100px;
    height: 50px;
    background-color: #d20e0e;
    border: 2px solid #d20e0e;
    border-radius: 5px;
    color: #fff;
    transition: 0.15s;
    font-weight: bold;
}

    .btn-cancelar:hover {
        background-color: #fff;
        color: #d20e0e;
    }

.btn-input-lista {
    padding: 0;
    padding-left: 5px;
    margin: 0;
    border: none;
    width: 100%;
    background: none;
    color: #4226b4;
    text-decoration: underline;
    text-align: start;
}

    .btn-input-lista:hover {
        color: #200f79;
    }

.background-shadow {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #000;
    height: 100vh;
    width: 100vw;
    z-index: 1000;
    opacity: 0.3;
    outline: none
}

    .background-shadow:focus {
        outline: none
    }

.popup-novo-servico,
.popup-editar-servico {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    background-color: #fff;
    border-radius: 15px;
    padding: 40px;
}

.table > :not(:first-child) {
    border-top: none;
}

.input-table {
    width: 100%;
    background: none;
    border: none;
    color: inherit;
}

    .input-table:focus {
        outline: none;
    }

.w-fill {
    width: -webkit-fill-available;
}

.w-fit-content {
    width: fit-content;
}

.h-fit-content {
    height: fit-content;
}

a.disabled {
    color: #ddd;
    cursor: default;
}

.background-popup-dx {
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
}

.popup-dx {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    color: #333;
    width: 300px;
    box-shadow: 5px 5px 10px #aaa;
}

    .popup-dx span {
        font-size: 14px;
    }

.button-popup-dx {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333;
    width: 100px;
    padding: 8px 18px 7px;
    line-height: 1.3;
}

    .button-popup-dx:hover {
        background-color: #f5f5f5 !important;
        box-shadow: none;
    }

.select-table {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: start;
    font-size: 14px;
    color: #212529;
    background: none;
    padding: 2px 7px;
}

    .select-table:focus-visible {
        outline: none;
    }

.select-table-dois {
    border: none;
    text-align: center;
    font-size: 14px;
    color: #212529;
    background: none;
    line-height: 1;
}

    .select-table-dois:focus {
        box-shadow: none;
    }

#tabela-logs-assinatura {
    max-height: 440px;
}

#grid-alterar-parametros {
    max-height: 440px;
}

.custom-icon-lock {
    transform: scaleX(1.3);
}

#zona-notificacao {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 500px;
    z-index: 20000;
}

#load-window {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #fff;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-load {
    display: inline-block;
    width: 3rem;
    height: 3rem;
    vertical-align: -0.125em;
    border: 4px solid #0007;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: .4s linear infinite spinner-border;
    animation: 0.4s linear infinite spinner-border;
}

.show-mobile {
    display: none;
}

.show-desktop {
    display: none;
}

#div-buttons-pagina {
    max-width: 100%;
    overflow-x: auto;
}

    #div-buttons-pagina::-webkit-scrollbar,
    .div-btn-grupos::-webkit-scrollbar {
        height: 3px;
    }

    #div-buttons-pagina::-webkit-scrollbar-track,
    .div-btn-grupos::-webkit-scrollbar-track {
        background: #fff;
    }

    #div-buttons-pagina::-webkit-scrollbar-thumb,
    .div-btn-grupos::-webkit-scrollbar-thumb {
        background: #888;
    }

        #div-buttons-pagina::-webkit-scrollbar-thumb:hover,
        .div-btn-grupos::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

.destacar-borda-primary {
    border-color: #009bcd !important;
    animation: destacarBordaPrimary 1s linear;
}

@keyframes destacarBordaPrimary {
    0% {}

    20% {
        box-shadow: 0 0 0 5px #009bcd44;
    }

    80% {
        box-shadow: 0 0 0 5px #009bcd44;
    }

    100% {}
}

.destacar-borda-danger {
    border-color: #f00 !important;
    animation: destacarBordaDanger 1s linear;
}

@keyframes destacarBordaDanger {
    0% {
    }

    20% {
        box-shadow: 0 0 0 5px #ff000044;
    }

    80% {
        box-shadow: 0 0 0 5px #ff000044;
    }

    100% {
    }
}

@media (max-width: 991px) {
    #dropdown-situacao-assinatura {
        display: none;
        background-color: #fff;
        flex-direction: column;
        position: absolute;
        right: 45px;
        z-index: 1;
    }
        #dropdown-situacao-assinatura form:first-child {
            margin: 0 2px 2px 2px !important;
        }

        #dropdown-situacao-assinatura form {
            margin: 2px !important;
        }

        #dropdown-situacao-assinatura button {
            width: 100%;
        }

    #dropdown-funcoes-assinatura {
        display: none;
        background-color: #fff;
        flex-direction: column;
        position: absolute;
        right: 45px;
        z-index: 1;
    }

        #dropdown-funcoes-assinatura form {
            margin: 2px !important;
        }

        #dropdown-funcoes-assinatura form:nth-child(2) {
            margin: 0 2px 2px 2px !important;
        }

        #dropdown-funcoes-assinatura button {
            width: 100%;
        }

    .w-22pc-mobile {
        width: 22% !important;
    }

    #div-buttons-pagina::-webkit-scrollbar {
        height: 2px;
    }

    #div-buttons-pagina::-webkit-scrollbar-track {
        background: #fff;
    }

    #div-buttons-pagina::-webkit-scrollbar-thumb {
        background: #0003;
    }

        #div-buttons-pagina::-webkit-scrollbar-thumb:hover {
            background: #0009;
        }
}

@media (min-width: 992px) {
    #dropdown-situacao-assinatura {
        display: flex;
        flex-direction: row;
    }

    #dropdown-funcoes-assinatura {
        display: flex;
        flex-direction: row;
    }
}

.span-perfil {
    background-color: #343a40;
    color: #fff;
    padding: 0px 10px;
    border-radius: 10px;
    margin: 4px;
    user-select: none;
}