:root {
    --azul: rgb(29, 103, 179);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background-color: #FFF;
}

::-webkit-scrollbar-thumb {
    background-color: var(--azul);
    border-radius: 20px;
}

::selection {
    background-color: cornflowerblue;
    color: whitesmoke;
}

* {
    outline-color: var(--azul) !important;
    box-sizing: border-box;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

body {
    margin: 0;
    background-color: var(--bs-light);
}

main {
    min-height: calc(100vh - 160px);
}

a {
    text-decoration: none;
}

button {
    cursor: pointer;
}

/* PLUGINS */

.chosen-container-multi .chosen-choices {
    border-radius: 5px;
    border: 1px solid #1e73c8 !important;
    height: 38px;
    line-height: 38px;
    padding-left: 10px !important;
}

.chosen-container-active .chosen-choices {
    outline: 2px solid #1e73c8 !important;
    box-shadow: 0px 0px 15px rgb(156 213 255) !important;
}

div.dt-buttons .dt-button {
    background-color: var(--azul);
    color: #FFF;
    border-radius: 10px;
    padding: 10px;
    height: 30px;
    line-height: 10px;
}

div.dt-buttons .dt-button:hover {
    color: var(--azul);
}

div.dt-container .dt-paging .dt-paging-button.current {
    background-color: rgb(218, 231, 255) !important;
    color: #FFF;
    border-radius: 10px;
}

div.dt-container .dt-paging-button:not(.dt-paging-button.disabled):hover {
    background-color: rgb(218, 231, 255) !important;
    color: #FFF;
    border-radius: 10px;
}

div.dt-container .dt-paging .dt-paging-button:not(.dt-paging-button.disabled):hover {
    background: rgb(218, 231, 255) !important;
    color: gray !important;
    border-radius: 10px;
}

.dt-search label {
    margin-right: 10px;
}

div.dt-container .dt-search input {
    border-color: #1e73c8;
}

div.dt-container .dt-search input:focus {
    outline-offset: 2px;
}

.form-control {
    border-color: #1e73c8;
}

table.dataTable>tbody>tr.rowPar {
    background-color: #edf6ff;
}

table.dataTable>tbody>tr.rowParLight {
    background-color: #fafafa;
}

table.dataTable>tbody>tr.rowDeslg {
    background-color: #ffdede;
}

.chosen-container {
    font-size: 15px !important;
}

.chosen-container.chosen-container-single.chosen-container-active {
    box-shadow: 0px 0px 15px rgb(156 213 255) !important;
}

.chosen-container-single .chosen-single {
    height: 38px !important;
    line-height: 38px !important;
    border-color: #1e73c8 !important;
    background-color: white !important;
    background: none !important;
}

.chosen-container-single .visualizarCampo {
    background: #f0f0ff !important;
}

.chosen-container-single.chosen-disabled {
    opacity: 1 !important;
}

.chosen-container-single.chosen-disabled .chosen-single {
    background: #f0f0ff !important;
}

.chosen-container-single .chosen-single div b {
    background: url(../plugins/chosenSelect/chosen-sprite.png) no-repeat 0 9px !important;
}

.header {
    background-color: #2E444d;
    max-width: 100%;
    height: auto;
    /* padding: 10px 35px 10px 0; */
    display: flex;
    justify-content: center;
}

.headerGeneric {
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-desktop {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: flex-end;
}

.userMenu {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 20px;
}

.userMenuToggle {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.14);
    color: #fff;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.userMenuToggle:hover,
.userMenuToggle[aria-expanded="true"] {
    background-color: rgba(255, 255, 255, 0.24);
}

.userMenuToggle i {
    font-size: 1.2rem;
}

.userSubmenu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 140px;
    padding: 8px;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(46, 68, 77, 0.12);
    z-index: 1200;
}

.userSubmenu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 14px;
    width: 12px;
    height: 12px;
    background-color: #fff;
    border-top: 1px solid rgba(46, 68, 77, 0.12);
    border-left: 1px solid rgba(46, 68, 77, 0.12);
    transform: rotate(45deg);
}

.userSubmenuLink {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    color: #6ba7ae;
    font-weight: 600;
    text-align: right;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.userSubmenuLink:hover {
    background-color: #fff1f0;
    color: #6ba7ae;
    font-weight: bold;
}

.menu-mobile nav .mobileLogoutLink {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid #ececec;
    color: #a12622;
    font-weight: 600;
}

.menu-mobile nav .mobileLogoutLink:hover {
    background-color: #fff1f0;
    color: #7a1c19;
}

/* MODAL  */

/* Overlay com fundo fosco */
.modalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    /* escurece */
    backdrop-filter: blur(5px);
    /* efeito fosco */
    display: none;
    /* começa escondido */
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Modal */
.modal {
    width: 800px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 10px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Cabeçalho do modal */
.modalHeader {
    background-color: #2E444d;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    border-radius: 10px 10px 0 0;
    padding: 10px 15px;
}

.modalHeader i {
    cursor: pointer;
    font-size: 1.2em;
}

/* Detalhes em duas colunas */
.details {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    border-bottom: 1px solid #d9d9d9;
    text-align: left;
}

.details span {
    flex: 1 1 50%;
    word-break: break-word;
    box-sizing: border-box;
    padding: 5px 0;
}

.details span:nth-of-type(1) {
    font-weight: 800;
}

.dNone {
    display: none;
}

.dText {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: inherit;
    margin-left: 20px;
}

/* Dropdown Pesquisas */
.dropdown-pesquisas,
.dropdown-pesquisas-mobile {
    position: relative;
    display: inline-block;
}

.dropdown-pesquisas .dropbtn,
.dropdown-pesquisas-mobile .dropbtn-mobile {
    display: flex;
    align-items: center;
}

.dropdown-content-pesquisas,
.dropdown-content-pesquisas-mobile {
    display: none;
    position: absolute;
    background-color: #2e4d4a;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-radius: 4px;
    top: 100%;
    left: 0;
}

.dropdown-content-pesquisas a,
.dropdown-content-pesquisas-mobile a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content-pesquisas a:hover,
.dropdown-content-pesquisas-mobile a:hover {
    background-color: #1a302e;
    border-radius: 4px;
    color: #dbc8a3;
}

.dropdown-pesquisas:hover .dropdown-content-pesquisas,
.dropdown-pesquisas-mobile:hover .dropdown-content-pesquisas-mobile {
    display: block;
}

/* Responsividade */

@media only screen and (max-width:1056px) {
    .noticia {
        width: 100%;
    }
}