.btn.btn-outline-secondary {
    color: #3f4654 !important;
    background-color: #fff !important;
    border-color: #cfd5df !important;
    box-shadow: none !important;
    font-weight: 700;
}

.btn.btn-outline-secondary:hover,
.btn.btn-outline-secondary:focus {
    color: #262d3a !important;
    background-color: #f5f7fa !important;
    border-color: #aeb7c5 !important;
}

.btn.btn-outline-secondary.disabled,
.btn.btn-outline-secondary:disabled {
    color: #6b7280 !important;
    background-color: #f5f7fa !important;
    border-color: #d8dde6 !important;
    box-shadow: none !important;
}

.btn:is(.btn-danger, .btn-perigo),
.btn:is(.btn-danger, .btn-perigo) > * {
    color: #fff !important;
}

.homologacao-opening-section {
    display: flow-root;
}

.m-body:has(#portlet-principal) {
    overflow: visible;
}

#portlet-principal {
    --section-edge-size: 20px;
    --section-edge-radius: 1rem;
    --section-edge-top: 160px;
    --section-edge-bottom: 0px;
}

.section-scroll-edge {
    display: block;
    position: sticky;
    z-index: 2;
    width: auto;
    height: var(--section-edge-size);
    margin-right: calc(0px - var(--homologacao-section-gutter));
    margin-left: calc(0px - var(--homologacao-section-gutter));
    background-color: var(--app-page-bg, #262734);
    pointer-events: none;
    transform: translateY(var(--section-edge-collision, 0));
    transition: top .3s ease .3s;
    visibility: hidden;
}

.section-scroll-edge.is-stuck {
    visibility: visible;
}

.section-scroll-edge__surface {
    display: block;
    width: calc(100% - 1px);
    height: 100%;
    background-color: var(--section-edge-background, #fff);
}

.section-scroll-edge--top {
    top: var(--section-edge-top);
    margin-top: calc(0px - var(--homologacao-section-gutter));
    margin-bottom: calc(var(--homologacao-section-gutter) - var(--section-edge-size));
}

.section-scroll-edge--top > .section-scroll-edge__surface {
    border-radius: var(--section-edge-radius) var(--section-edge-radius) 0 0;
}

.section-scroll-edge--bottom {
    bottom: var(--section-edge-bottom);
    margin-top: calc(0px - var(--section-edge-size));
}

.section-scroll-edge--bottom > .section-scroll-edge__surface {
    border-radius: 0 0 var(--section-edge-radius) var(--section-edge-radius);
}

/* O rodapé fica abaixo do dropdown Select2 (89) e dos cabeçalhos (90). */
body.m-footer--fixed .m-footer {
    z-index: 88;
}

@media (min-width: 1025px) {
    #portlet-principal {
        --section-edge-bottom: 80px;
    }

    #portlet-arquivos > .m-portlet__body > .section-scroll-edge--bottom {
        margin-top: 0;
    }

    body.m-footer--fixed .m-footer {
        height: 80px;
        min-height: 80px;
        padding-top: 20px;
    }

    body.m-footer--fixed .m-footer > .m-page__container,
    body.m-footer--fixed .m-footer__wrapper {
        height: 60px;
    }

    body.m-footer--fixed .m-body {
        padding-bottom: 0;
    }

    body.m-footer--fixed .m-content {
        padding-bottom: 80px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    #portlet-principal {
        --section-edge-top: 144px;
    }
}

@media (max-width: 1024px) {
    .section-scroll-edge {
        margin-right: calc(0px - var(--homologacao-section-gutter) - 1px);
    }

    .section-scroll-edge__surface {
        width: 100%;
    }
}

@media (max-width: 767px) {
    #portlet-principal {
        --section-edge-top: 70px;
    }
}

@media (max-width: 575.98px) {
    #portlet-principal {
        --section-edge-size: 16px;
    }
}

.m-portlet .m-portlet__body {
    padding: 2.2rem 0 0 0;
}

@media (max-width: 1024px) {
    .m-portlet .m-portlet__body {
        padding: 0.5rem;
    }

    #portlet-principal > .m-portlet__head {
        margin-top: 10px;
    }

    #portlet-principal > .m-portlet__head .m-portlet__head-icon,
    #portlet-principal > .m-portlet__head .m-portlet__head-icon i,
    #portlet-principal > .m-portlet__head .m-portlet__head-text {
        color: #fff !important;
    }
}

#portlet-arquivos {
    margin-bottom: 0 !important;
}

#portlet-principal > .m-portlet__body > .m-portlet > .m-portlet__head .m-portlet__head-icon {
    display: none !important;
}

#portlet-principal > .m-portlet__body > .m-portlet > .m-portlet__head .m-portlet__head-text {
    font-weight: 700 !important;
    text-transform: uppercase;
    text-shadow:
        -1px -1px 0 #3f4654,
         1px -1px 0 #3f4654,
        -1px  1px 0 #3f4654,
         1px  1px 0 #3f4654;
}

#portlet-principal > .m-portlet__body {
    --homologacao-section-gutter: 2.2rem;
    padding: var(--homologacao-section-gutter);
}

@media (min-width: 1025px) {
    #portlet-principal[data-form] > .m-portlet__body {
        padding-bottom: 0;
    }
}

#portlet-principal.m-portlet--full-height > .m-portlet__body > .m-portlet > .m-portlet__body {
    height: auto;
}

#portlet-principal > .m-portlet__body:has(> .portlet-termo-renuncia:first-of-type) {
    padding-top: 0;
}

#portlet-principal > .m-portlet__body > .m-portlet:not(.homologacao-status-portlet) > .m-portlet__head {
    z-index: 3;
    width: calc(100% + var(--homologacao-section-gutter) + var(--homologacao-section-gutter));
    margin-right: calc(0px - var(--homologacao-section-gutter));
    margin-left: calc(0px - var(--homologacao-section-gutter));
    border-radius: 0 !important;
}

#portlet-principal > .m-portlet__body > .m-portlet:not(.homologacao-status-portlet) > .m-portlet__head::before,
#portlet-principal > .m-portlet__body > .m-portlet:not(.homologacao-status-portlet) > .m-portlet__head::after {
    content: '';
    position: absolute;
    top: -1rem;
    z-index: 0;
    width: 1rem;
    height: calc(100% + 2rem);
    background: inherit;
    pointer-events: none;
}

#portlet-principal > .m-portlet__body > .m-portlet:not(.homologacao-status-portlet) > .m-portlet__head::before {
    left: 0;
    -webkit-mask:
        radial-gradient(circle at 100% 0, transparent 0 .95rem, #000 1rem) top / 100% 1rem no-repeat,
        radial-gradient(circle at 100% 100%, transparent 0 .95rem, #000 1rem) bottom / 100% 1rem no-repeat;
    mask:
        radial-gradient(circle at 100% 0, transparent 0 .95rem, #000 1rem) top / 100% 1rem no-repeat,
        radial-gradient(circle at 100% 100%, transparent 0 .95rem, #000 1rem) bottom / 100% 1rem no-repeat;
}

#portlet-principal > .m-portlet__body > .m-portlet:not(.homologacao-status-portlet) > .m-portlet__head::after {
    right: 0;
    -webkit-mask:
        radial-gradient(circle at 0 0, transparent 0 .95rem, #000 1rem) top / 100% 1rem no-repeat,
        radial-gradient(circle at 0 100%, transparent 0 .95rem, #000 1rem) bottom / 100% 1rem no-repeat;
    mask:
        radial-gradient(circle at 0 0, transparent 0 .95rem, #000 1rem) top / 100% 1rem no-repeat,
        radial-gradient(circle at 0 100%, transparent 0 .95rem, #000 1rem) bottom / 100% 1rem no-repeat;
}

.portlet-termo-renuncia {
    margin-bottom: 0 !important;
}

.portlet-termo-renuncia > .m-portlet__body {
    padding-bottom: 2.2rem;
    background-color: transparent !important;
}

#portlet-principal > .m-portlet__head .homologacao-head-title {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
}

#portlet-principal > .m-portlet__head .homologacao-head-icon {
    width: auto !important;
    padding: 0 1rem 0 0 !important;
    border: 0 !important;
}

#portlet-principal > .m-portlet__head .homologacao-head-text {
    width: auto !important;
    margin: 0;
    padding: 0 0 0 1rem !important;
    text-align: left !important;
}

#portlet-principal .homologacao-action-buttons > .btn-group:has(> .homologacao-more-options-menu) > .btn.dropdown-toggle:is(.disabled, :disabled, [disabled])::before {
    display: none;
}

#menu-pagina-desktop > ul {
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap !important;
    gap: .5rem;
    width: max-content;
    margin-left: auto !important;
    float: none !important;
}

#menu-pagina-desktop > ul > li {
    position: static !important;
    flex: 0 0 auto;
    margin: 0 !important;
}

:is(#menu-pagina-desktop, #portlet-principal > .m-portlet__head .m-portlet__head-tools)
    .btn:is(:hover, :focus, :active) {
    border-color: var(--flat-button-border, var(--app-page-bg, #262734)) !important;
}

:is(#menu-pagina-desktop, #portlet-principal > .m-portlet__head .m-portlet__head-tools)
    :is(.btn.m-btn--custom.btn-sm, .btn-group-sm > .btn.m-btn--custom) {
    padding-top: calc(.5rem + 1px);
    padding-bottom: calc(.5rem - 1px);
}

@media (min-width: 768px) and (max-width: 1024px) {
    .m-body {
        overflow: visible;
    }

    .m-body .m-content:has(#portlet-principal) {
        padding-top: 0;
    }

    #portlet-principal > .m-portlet__head {
        margin-top: 0;
        position: sticky;
        top: 76px;
        z-index: 90;
    }

    #portlet-principal > .m-portlet__head .m-portlet__head-title {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100% !important;
    }

    #portlet-principal > .m-portlet__head .m-portlet__head-icon {
        width: auto !important;
        padding: 0 1rem 0 0 !important;
        border: 0 !important;
    }

    #portlet-principal > .m-portlet__head .m-portlet__head-text {
        width: auto !important;
        margin: 0;
        padding: 0 0 0 1rem !important;
        text-align: left !important;
    }

    #portlet-principal > .m-portlet__head > .m-portlet__head-caption {
        min-width: 0;
    }

    #portlet-principal > .m-portlet__head > .m-portlet__head-tools.ul-wrapper {
        flex: 0 0 auto;
        min-width: max-content;
    }

    #portlet-principal > .m-portlet__head > .m-portlet__head-tools.ul-wrapper > ul {
        display: flex !important;
        flex-wrap: nowrap !important;
        width: max-content;
    }

    #portlet-principal > .m-portlet__head > .m-portlet__head-tools.ul-wrapper > ul > li {
        flex: 0 0 auto;
    }
}

#portlet-principal .form-content .row > [class*="col-"] > .form-group {
    margin-bottom: 2.25rem;
}

#portlet-principal .form-content .usuarios-form > [class*="col-"]:last-child > .form-group,
#portlet-principal .form-content .tipo-ressalvas-form > .form-group:last-child {
    margin-bottom: 0;
}

@media (min-width: 576px) {
    #portlet-principal .form-content .situacoes-extras-form > [class*="col-"]:nth-last-child(-n+2) > .form-group {
        margin-bottom: 0;
    }
}

@media (max-width: 575.98px) {
    #portlet-principal .form-content .situacoes-extras-form > [class*="col-"]:last-child > .form-group {
        margin-bottom: 0;
    }
}

#portlet-principal .tipo-ressalvas-form textarea.form-control {
    min-height: 8rem;
    resize: vertical;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--input-accent) !important;
    border-radius: 0 !important;
}

.portlet-termo-renuncia > .m-portlet__head,
.homologacao-emails-portlet > .m-portlet__head,
#portlet-arquivos > .m-portlet__head {
    position: relative;
}

.portlet-termo-renuncia > .m-portlet__head > .m-portlet__head-caption,
.homologacao-emails-portlet > .m-portlet__head > .m-portlet__head-caption,
#portlet-arquivos > .m-portlet__head > .m-portlet__head-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    width: max-content;
    max-width: calc(100% - 120px);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.homologacao-emails-portlet .m-portlet__head-title,
#portlet-arquivos .m-portlet__head-title {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center !important;
}

.homologacao-emails-portlet .m-portlet__head-icon,
#portlet-arquivos .m-portlet__head-icon {
    width: auto !important;
    padding: 0 !important;
}

.homologacao-emails-portlet .m-portlet__head-text,
#portlet-arquivos .m-portlet__head-text {
    margin: 0;
    padding: 0 !important;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    #portlet-principal .m-portlet__body .m-portlet.m-portlet--tabs > .m-portlet__head {
        display: flex;
        align-items: center;
        min-height: 68px;
        height: auto;
        padding: 0.75rem 1rem;
        border-radius: 12px;
    }

    #portlet-principal > .m-portlet__body > .m-portlet > .m-portlet__head {
        position: relative;
    }

    #portlet-principal > .m-portlet__body > .m-portlet > .m-portlet__head > .m-portlet__head-caption {
        position: absolute;
        top: 50%;
        left: 50%;
        width: calc(100% - 2rem);
        max-width: calc(100% - 2rem);
        margin: 0 !important;
        transform: translate(-50%, -50%);
        justify-content: center;
    }

    #portlet-principal > .m-portlet__body > .m-portlet > .m-portlet__head .m-portlet__head-title {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    #portlet-principal > .m-portlet__body > .m-portlet > .m-portlet__head .m-portlet__head-text {
        text-align: center !important;
    }

    #portlet-principal .m-portlet__body .m-portlet.m-portlet--tabs > .m-portlet__body {
        padding: 2.2rem 0 0 0;
    }
}

@media (min-width: 769px) {
    #portlet-principal > .m-portlet__head {
        padding-right: 4.2rem !important;
        padding-left: 4.2rem !important;
    }

    .m-footer .m-footer__wrapper {
        padding-right: 4.2rem !important;
        padding-left: 4.2rem !important;
    }

    .m-footer .m-footer__wrapper > .m-stack {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
    }

    .m-footer .m-footer__wrapper > .m-stack > .m-stack__item {
        display: block !important;
        flex: 1 1 50%;
        order: initial !important;
    }

    .m-footer .m-footer__wrapper .m-stack__item--left {
        text-align: left !important;
    }

    .m-footer .m-footer__wrapper .m-stack__item--right {
        text-align: right !important;
    }

    .m-footer .m-footer__wrapper > .m-stack > .m--hidden-desktop {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    #portlet-principal > .m-portlet__body {
        border-radius: 16px;
    }

    #portlet-principal .m-portlet__body .m-portlet.m-portlet--tabs > .m-portlet__body {
        padding-right: 0.25rem;
        padding-left: 0.25rem;
    }

    #portlet-principal .form-content .row > [class*="col-"] > .form-group {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .m-portlet__head-tools.ul-wrapper > ul {
        position: static !important;
        left: auto !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        gap: .5rem;
        width: 100%;
        clear: none !important;
        float: none !important;
    }

    .m-portlet__head-tools.ul-wrapper > ul > li {
        flex: 0 0 auto;
        position: static !important;
        right: auto !important;
        margin: 0 !important;
    }

    .m-footer {
        height: auto;
    }

    .m-footer .m-footer__wrapper {
        padding: 1rem 1.2rem !important;
    }

    .m-footer .m-footer__wrapper > .m-stack {
        gap: 0.75rem;
    }

    .m-footer .m-footer__wrapper > .m-stack > .m-stack__item {
        width: 100%;
        order: initial !important;
        text-align: center !important;
    }

    .m-footer .m-footer__wrapper > .m-stack > .m--hidden-desktop {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .m-portlet__head-tools.ul-wrapper > ul {
        flex-wrap: wrap !important;
    }
}

.item-arquivo .form-group:not(.m-0):after {
    left: calc(50% - 55px);
}

.item-arquivo .form-group:not(.m-0):hover:after,
.item-arquivo .form-group:not(.m-0).focus:after {
    width: calc(100% - 110px);
}

.item-arquivo .custom-file-input {
    width: 90px;
    margin-left: calc(100% - 90px);
    cursor: pointer;
}

.item-arquivo .custom-file,
.item-arquivo .custom-file-input,
.item-arquivo .custom-file-label {
    height: 40px !important;
}

.item-arquivo .custom-file-label > span {
    display: block;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.arquivo-acoes {
    margin-bottom: 1rem;
}

#portlet-principal :is(#portlet-arquivos, .homologacao-arquivos-entidade-portlet) > .m-portlet__body.items {
    padding: 2.25rem 0;
}

#portlet-principal #portlet-arquivos:not(:has(~ .m-portlet)) > .m-portlet__body.items {
    padding-bottom: 0;
}

:is(#portlet-arquivos, .homologacao-arquivos-entidade-portlet) > .m-portlet__body.items > .row.item {
    margin: 0 0 0.75rem;
    padding: 1rem 0.5rem;
    border-radius: 0.5rem;
    background-color: #f5f6f8;
}

:is(#portlet-arquivos, .homologacao-arquivos-entidade-portlet) > .m-portlet__body.items > .row.item:nth-child(even) {
    background-color: #e9ecef;
}

:is(#portlet-arquivos, .homologacao-arquivos-entidade-portlet) > .m-portlet__body.items > .row.item:last-child {
    margin-bottom: 0 !important;
}

:is(#portlet-arquivos, .homologacao-arquivos-entidade-portlet) > .m-portlet__body.items > .row.item .form-group,
:is(#portlet-arquivos, .homologacao-arquivos-entidade-portlet) > .m-portlet__body.items > .row.item .arquivo-acoes {
    margin-bottom: 0;
}

:is(#portlet-arquivos, .homologacao-arquivos-entidade-portlet) > .m-portlet__body.items > .row.item > .item-warning {
    margin-bottom: 1rem;
}

.homologacao-arquivos-entidade-portlet .item-extra .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.homologacao-arquivos-entidade-portlet > .m-portlet__body {
    --flat-button-border: var(--app-page-bg, #262734);
}

.homologacao-arquivos-entidade-portlet > .arquivos-entidade-grid {
    --arquivos-entidade-colunas: 3;
    display: grid;
    grid-template-columns: repeat(var(--arquivos-entidade-colunas), minmax(0, 1fr));
    gap: .75rem;
}

.homologacao-arquivos-entidade-portlet > .arquivos-entidade-grid--1 {
    --arquivos-entidade-colunas: 1;
}

.homologacao-arquivos-entidade-portlet > .arquivos-entidade-grid--2 {
    --arquivos-entidade-colunas: 2;
}

.homologacao-arquivos-entidade-portlet > .arquivos-entidade-grid > .row.item {
    min-width: 0;
    margin: 0 !important;
}

.homologacao-arquivos-entidade-portlet .item-extra,
.homologacao-arquivos-entidade-portlet .item-extra .btn:first-child,
.homologacao-arquivos-entidade-portlet .arquivo-entidade-nome {
    min-width: 0;
}

.homologacao-arquivos-entidade-portlet .arquivo-entidade-nome {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .homologacao-arquivos-entidade-portlet > .arquivos-entidade-grid {
        --arquivos-entidade-colunas: 1;
    }
}

.direta-note__mensagem {
    display: block;
    font-weight: 400;
}

.direta-note__destaque {
    display: block;
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #262734;
    background-color: rgba(255, 255, 255, 0.9);
    text-shadow: none;
}

#finalizar-homologacao-erros .direta-note__destaque {
    padding: 0;
    text-align: center;
    background-color: transparent;
}

#finalizar-homologacao-erros .direta-note__destaque li {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.9);
}

#finalizar-homologacao-erros .direta-note__destaque li + li {
    margin-top: 0.5rem;
}

.finalizar-homologacao-erro__campo {
    color: #262734;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #c14549;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    -webkit-text-stroke: 0.6px #fff;
    paint-order: stroke fill;
}

.finalizar-homologacao-erro__secao {
    color: #262734;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #3f3f43;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    -webkit-text-stroke: 0.6px #fff;
    paint-order: stroke fill;
}

.email-template-status-dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(44, 45, 58, 0.18);
}

.note-editor .note-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.note-editor .note-toolbar .note-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
}

.note-editor .note-toolbar .note-btn-group > .note-btn {
    border-radius: 0 !important;
}

.note-editor .note-toolbar .note-btn-group > .note-btn:first-of-type {
    border-top-left-radius: 0.25rem !important;
    border-bottom-left-radius: 0.25rem !important;
}

.note-editor .note-toolbar .note-btn-group > .note-btn:last-of-type {
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
}

.note-editor .note-toolbar .note-camposPersonalizados .note-btn {
    gap: 0.35rem;
}

.note-editor .note-toolbar .dropdown-toggle .note-icon-caret {
    display: none;
}

.note-editor .note-toolbar .dropdown-toggle::after {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    margin: 0;
    border: 0;
    font-family: "Font Awesome 7 Pro";
    font-size: 0.75rem;
    font-weight: 900;
    line-height: 1;
    vertical-align: initial;
    content: "\f063";
}

.note-editor .note-toolbar .note-fontsize .note-btn-group > .dropdown-toggle,
.note-editor .note-toolbar .note-color > .dropdown-toggle {
    flex: 0 0 20px;
    width: 20px;
    padding-right: 0;
    padding-left: 0;
}

.note-editor .note-toolbar .note-btn > i[class^="note-icon-"],
.note-editor .note-toolbar .note-btn > i[class*=" note-icon-"] {
    line-height: 1;
}

.note-editor :is(.link-dialog, .note-link-dialog) .modal-header {
    min-height: 40px;
    padding: 11px 8px 8px 25px;
}

.note-editor :is(.link-dialog, .note-link-dialog) .modal-header .modal-title {
    color: #fff !important;
}

.note-editor :is(.link-dialog, .note-link-dialog) .note-link-target-field {
    margin-top: 1rem;
}

.note-editor :is(.link-dialog, .note-link-dialog) .note-link-btn {
    color: #fff !important;
}

.cm-s-github.CodeMirror {
    color: #24292f;
    background: #fff;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 13px;
    line-height: 1.5;
}

.cm-s-github .CodeMirror-gutters {
    color: #57606a;
    background: #f6f8fa;
    border-right: 1px solid #d0d7de;
}

.cm-s-github .CodeMirror-linenumber,
.cm-s-github span.cm-comment {
    color: #6e7781;
}

.cm-s-github .CodeMirror-cursor {
    border-left-color: #24292f;
}

.cm-s-github div.CodeMirror-selected {
    background: #b6d7ff !important;
}

.cm-s-github span.cm-tag {
    color: #116329;
}

.cm-s-github span.cm-attribute,
.cm-s-github span.cm-property,
.cm-s-github span.cm-variable-2,
.cm-s-github span.cm-number,
.cm-s-github span.cm-atom,
.cm-s-github span.cm-link {
    color: #0550ae;
}

.cm-s-github span.cm-string,
.cm-s-github span.cm-string-2 {
    color: #0a3069;
}

.cm-s-github span.cm-keyword,
.cm-s-github span.cm-error {
    color: #cf222e;
}

.cm-s-github span.cm-meta,
.cm-s-github span.cm-qualifier {
    color: #8250df;
}

.cm-s-github .CodeMirror-activeline-background {
    background: #f6f8fa;
}

.cm-s-github .CodeMirror-matchingbracket {
    color: #24292f !important;
    background: #ddf4ff;
    outline: 1px solid #54aeff;
}

.m-portlet__body.items > .row.item:not(:has(.arquivo-acoes-grid .arquivo-acao)) > .arquivo-acoes {
    display: none;
}

.m-portlet__body.items > .row.item:not(:has(.arquivo-acoes-grid .arquivo-acao)) > .item-descricao {
    flex: 0 0 100%;
    max-width: 100%;
}

.arquivo-descricao-cabecalho {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#portlet-arquivos .item-descricao .form-control {
    background-color: transparent !important;
    border-bottom-style: dashed !important;
}

.arquivo-tamanho-mobile {
    display: none;
}

.arquivo-acoes-cabecalho {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 20px;
    margin-bottom: 0.5rem;
}

#portlet-arquivos > .m-portlet__body.items > .row.item.arquivo-validado {
    background-color: #e8f5e9;
    border-left: 4px solid #2e7d32;
}

.arquivo-aprovado {
    color: #1b5e20;
    align-self: center;
    text-align: center;
}

.arquivo-acoes-grid .aprovar-arquivo .btn {
    white-space: normal;
    line-height: 1.15;
}

.arquivo-acoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 0.75rem;
}

.arquivo-acao,
.arquivo-acao > .w-100,
.arquivo-acao .btn {
    width: 100%;
    min-width: 0;
}

.arquivo-acao .btn {
    height: 40px;
}

.arquivo-acao .btn-group {
    width: 100%;
}

.arquivo-acao .btn-group .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
}

.arquivo-acao .btn-group .btn:first-child {
    min-width: 0;
    flex: 1 1 auto;
}

.arquivo-acao .btn-group .btn:last-child {
    flex: 0 0 44px;
}

.arquivo-acao .btn-group.arquivo-acao-somente-icone .btn:first-child {
    display: none;
}

.arquivo-acao .btn-group.arquivo-acao-somente-icone .btn {
    flex: 1 1 100%;
    border-radius: 10px !important;
}

.arquivo-upload-botao {
    color: #262734;
    background-color: #fff;
    border: 1px solid #262734;
}

.arquivo-upload-botao:hover,
.arquivo-upload-botao:focus {
    color: #fff;
    background-color: #262734;
}

.arquivo-upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

@media (max-width: 767.98px) {
    .arquivo-tamanho-mobile {
        display: inline;
    }

    .arquivo-acoes-cabecalho {
        display: none;
    }

    #portlet-arquivos .item-descricao .form-group {
        margin-bottom: 0.5rem;
    }

    #portlet-arquivos > .m-portlet__body.items > .row.item > .arquivo-acoes {
        margin-top: 1rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .m-portlet__body.items > .row.item {
        justify-content: center;
    }

    .m-portlet__body.items > .row.item > .item-acao {
        flex: 0 0 60px;
        max-width: 60px;
        padding-right: 10px;
        padding-left: 10px;
    }
}

.item-arquivo .custom-file-label,
.item-arquivo .form-group > .control-label {
    pointer-events: none;
}

.form-control:disabled {
    background-color: transparent !important;
    border-bottom-style: dashed !important;
}

.form-group:has(.form-control:disabled):after {
    display: none;
}

form .input-group-append {
    position: relative;
}

form .form-group {
    --input-accent: #808080;
}

form .form-group.required,
form .form-group.has-success {
    --input-accent: #5867dd;
}

form .form-group.has-error {
    --input-accent: #c14549;
}

.agenda-picker-row > .form-group {
    display: flex;
    flex-direction: column;
}

.agenda-picker-row .agenda-picker-field {
    margin-top: auto;
}

.agenda-picker-row > .form-group:is(:hover, .focus)::after {
    width: calc(100% - 30px);
}

.agenda-picker-field {
    display: block;
    position: relative;
}

.agenda-picker-field > .input-group-prepend {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 4;
    width: 2.75rem;
    pointer-events: none;
}

.agenda-picker-field > .input-group-prepend > .input-group-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    color: var(--input-accent);
    background: transparent !important;
    border: 0 !important;
}

.agenda-picker-field > .form-control,
.agenda-picker-field .select2-selection__rendered {
    padding-left: 2.75rem !important;
}

.input-group.agenda-picker-field > .form-control:not(.select2-hidden-accessible),
.input-group.agenda-picker-field > .select2.select2-container {
    width: 100% !important;
}

.modal .modal-content form .form-group textarea.form-control {
    border: 0 !important;
    border-bottom: 1px solid var(--input-accent) !important;
    border-radius: 0 !important;
}

form .form-group::after {
    background-color: var(--input-accent);
}

form .form-group:has(.select2-container--focus)::after {
    width: 100%;
}

form .form-group > .validation-error-indicator {
    position: absolute;
    right: var(--validation-error-right, .75rem);
    bottom: .875rem;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    color: #c14549;
    background: #fff;
    border: 0;
    border-radius: 50%;
    cursor: help;
}

form .form-group.has-validation-error-tooltip input.form-control,
form .form-group.has-validation-error-tooltip textarea.form-control {
    padding-right: 2.75rem !important;
}

form .form-group.has-validation-error-tooltip .select2-selection__rendered {
    padding-right: 4.75rem !important;
}

form .form-group input,
form .form-group .select2-selection,
form .form-group .custom-file-label,
form .form-group:is(.required, .has-success, .has-error) input,
form .form-group:is(.required, .has-success, .has-error) .select2-selection,
form .form-group:is(.required, .has-success, .has-error) .custom-file-label {
    border-bottom-color: var(--input-accent) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-right: 2.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 100%;
    top: 0;
    right: 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none;
}

.select2-container--default .select2-selection--single .select2-selection__arrow::before,
.select2-container--default .select2-selection--multiple .select2-selection__arrow::before {
    content: none;
}

.nav-link.dropdown-toggle::after,
.btn.dropdown-toggle::after {
    font-family: "Font Awesome 7 Pro";
    font-size: .75em;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    content: "\f063";
}

.select2-container--default .select2-selection__arrow-icon {
    --fa-primary-color: var(--input-accent, currentColor);
    --fa-primary-opacity: 1;
    --fa-secondary-color: var(--input-accent, currentColor);
    --fa-secondary-opacity: .35;
    position: relative;
    display: inline-block;
    width: 1em;
    height: 1em;
    color: var(--input-accent, currentColor);
    font-size: 1rem;
    line-height: 1;
}

.select2-selection__arrow-icon > i {
    position: absolute;
    inset: 0;
    width: 1em;
    height: 1em;
    line-height: 1;
    text-align: center;
    transform-origin: center;
    transition: opacity 180ms ease, transform 220ms cubic-bezier(.2, .8, .2, 1);
}

.select2-selection__arrow-icon--down {
    opacity: 1;
    transform: scale(1) rotate(0);
}

.select2-selection__arrow-icon--up {
    opacity: 0;
    transform: scale(.65) rotate(-35deg);
}

.select2-container--open .select2-selection__arrow-icon--down {
    opacity: 0;
    transform: scale(.65) rotate(35deg);
}

.select2-container--open .select2-selection__arrow-icon--up {
    opacity: 1;
    transform: scale(1) rotate(0);
}

@media (prefers-reduced-motion: reduce) {
    .select2-selection__arrow-icon > i {
        transition: none;
    }
}

.nav-link.dropdown-toggle::after,
.btn.dropdown-toggle::after {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    margin-left: .4rem;
    vertical-align: middle;
    border: 0;
}

.ddi-option {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: 100%;
    text-align: left;
}

.select2-selection__rendered > .ddi-option {
    display: flex;
    width: 100%;
    min-width: 0;
    vertical-align: middle;
}

.select2-selection__rendered > .ddi-option > .ddi-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

select[data-ddi-select] + .select2-container .select2-selection__rendered {
    margin-bottom: 0 !important;
}

.ddi-flag {
    display: block;
    width: 1.6667em;
    height: 1.25em;
    flex: 0 0 1.6667em;
}

form .input-group-append > .btn {
    border-color: var(--input-accent) !important;
}

form .date-control-field {
    --date-control-button-width: 90px;
    --date-control-gap: 30px;
    display: flex;
    flex: 1 1 auto;
    align-items: flex-end;
    gap: var(--date-control-gap);
    width: 100%;
    min-width: 0;
}

form .date-control-field > .form-control {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    text-align: center;
}

form .date-control-field > .date-control-action {
    flex: 0 0 var(--date-control-button-width);
    width: var(--date-control-button-width);
    margin-left: 0;
}

form .date-control-field .date-control-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    padding: 0;
    border-color: var(--app-page-bg, #262734) !important;
    border-radius: 10px !important;
}

form .form-group:has(.date-control-field)::after {
    left: calc(50% - 60px);
    width: 0;
    transform: translateX(-50%);
}

form .form-group:has(.date-control-field > .form-control:is(:hover, :focus))::after {
    width: calc(100% - var(--date-control-button-width, 90px) - var(--date-control-gap, 30px));
}

form .date-control-field .date-control-action::before,
form .date-control-field .date-control-action::after,
form .date-control-field .date-control-button::after {
    display: none;
}

form .date-control-field.date-control-action-hidden {
    gap: 0;
}

form .date-control-field.date-control-action-hidden > .date-control-action {
    flex-basis: 0;
    width: 0;
    overflow: hidden;
    visibility: hidden;
}

form .form-group:has(.date-control-field.date-control-action-hidden)::after {
    left: 50%;
}

form .form-group:has(.date-control-field.date-control-action-hidden > .form-control:is(:hover, :focus))::after {
    width: 100%;
}

form .input-group-append::before,
form .input-group-append::after,
form .input-group-append > .btn:last-child:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    z-index: 3;
    background: var(--input-accent);
    pointer-events: none;
}

form .input-group-append::before {
    bottom: 0;
    left: 0;
    width: 1px;
    height: 0;
    transition: height 40ms linear;
}

form .input-group-append::after {
    top: 0;
    left: 0;
    width: 0;
    height: 1px;
    transition: width 100ms linear;
}

form .input-group-append > .btn:last-child:not(.dropdown-toggle)::after {
    top: 0;
    right: 0;
    width: 1px;
    height: 0;
    transition: height 40ms linear;
}

form .form-group:is(:hover, .focus):not(:has(.form-control:disabled)) .input-group-append::before {
    height: 100%;
    transition-delay: 110ms;
}

form .form-group:is(:hover, .focus):not(:has(.form-control:disabled)) .input-group-append::after {
    width: 100%;
    transition-delay: 150ms;
}

form .form-group:is(:hover, .focus):not(:has(.form-control:disabled)) .input-group-append > .btn:last-child:not(.dropdown-toggle)::after {
    height: 100%;
    transition-delay: 250ms;
}

.m-tooltip.tooltip {
    pointer-events: none;
}

.m-tooltip .tooltip-inner {
    color: #fff;
    background: #262734;
}

.m-tooltip.bs-tooltip-top .arrow::before,
.m-tooltip.bs-tooltip-auto[x-placement^="top"] .arrow::before {
    border-top-color: #262734;
}

.m-tooltip.bs-tooltip-right .arrow::before,
.m-tooltip.bs-tooltip-auto[x-placement^="right"] .arrow::before {
    border-right-color: #262734;
}

.m-tooltip.bs-tooltip-bottom .arrow::before,
.m-tooltip.bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
    border-bottom-color: #262734;
}

.m-tooltip.bs-tooltip-left .arrow::before,
.m-tooltip.bs-tooltip-auto[x-placement^="left"] .arrow::before {
    border-left-color: #262734;
}

.m-tooltip.m-tooltip--skin-validation-error .tooltip-inner {
    color: #282a3c;
    background: #fff;
    box-shadow: 0 .25rem .75rem rgba(40, 42, 60, .2);
    text-align: left;
}

.m-tooltip.m-tooltip--skin-validation-error .validation-error-field {
    color: #c14549;
    font-weight: 700;
}

.m-tooltip.m-tooltip--skin-validation-error.bs-tooltip-top .arrow::before,
.m-tooltip.m-tooltip--skin-validation-error.bs-tooltip-auto[x-placement^="top"] .arrow::before {
    border-top-color: #fff;
}

.m-tooltip.m-tooltip--skin-validation-error.bs-tooltip-right .arrow::before,
.m-tooltip.m-tooltip--skin-validation-error.bs-tooltip-auto[x-placement^="right"] .arrow::before {
    border-right-color: #fff;
}

.m-tooltip.m-tooltip--skin-validation-error.bs-tooltip-bottom .arrow::before,
.m-tooltip.m-tooltip--skin-validation-error.bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
    border-bottom-color: #fff;
}

.m-tooltip.m-tooltip--skin-validation-error.bs-tooltip-left .arrow::before,
.m-tooltip.m-tooltip--skin-validation-error.bs-tooltip-auto[x-placement^="left"] .arrow::before {
    border-left-color: #fff;
}

.direta-notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
    margin-bottom: 1rem;
}

.direta-note-full {
    grid-column: 1 / -1;
}

.direta-note-half {
    grid-column: span 1;
}

.direta-notes > .direta-note-half:only-child {
    grid-column: 1 / -1;
}

[data-wizard-panels] {
    position: relative;
    overflow: hidden;
    transition: height .24s ease;
}

.modal.modal-ajax .modal-content.modal-ajax-resizing {
    transition: height .24s ease !important;
}

[data-wizard-panel] {
    display: none;
}

[data-wizard-panel].is-active {
    display: block;
}

[data-wizard-panel].is-measuring {
    position: absolute;
    right: 0;
    left: 0;
    display: block;
    visibility: hidden;
    pointer-events: none;
}

@media (max-width: 767.98px) {
    .direta-note-half {
        grid-column: 1 / -1;
    }
}
html[data-tema] #m_header_menu:not(.m-aside-header-menu-mobile--on) {
    --main-menu-active-underline: var(--primary);
}

html[data-tema] #m_header_menu:not(.m-aside-header-menu-mobile--on) > ul > li > a.m-menu__link > i,
html[data-tema] #m_header_menu:not(.m-aside-header-menu-mobile--on) > ul > li > a.m-menu__link > span,
html[data-tema] #m_header_menu:not(.m-aside-header-menu-mobile--on) > ul > li > a.m-menu__link > span * {
    color: #fff !important;
}

html[data-tema] #m_header_menu:not(.m-aside-header-menu-mobile--on) > ul > li > a.m-menu__link > .m-menu__link-text {
    position: relative;
}

html[data-tema] #m_header_menu:not(.m-aside-header-menu-mobile--on) > ul > li > a.m-menu__link > .m-menu__link-text::after {
    position: absolute;
    top: calc(50% + 0.65em);
    right: 0;
    left: 0;
    height: 2px;
    content: '';
}

html[data-tema] #m_header_menu:not(.m-aside-header-menu-mobile--on) > ul > li.m-menu__item--active > a.m-menu__link > .m-menu__link-text {
    font-weight: 700;
}

html[data-tema] #m_header_menu:not(.m-aside-header-menu-mobile--on) > ul > li.m-menu__item--active > a.m-menu__link > .m-menu__link-text::after {
    background: var(--main-menu-active-underline);
}

html[data-tema] #m_header_menu:not(.m-aside-header-menu-mobile--on) > ul > li:not(.m-menu__item--active) > a.m-menu__link > .m-menu__link-text::after {
    background: #fff;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

html[data-tema] #m_header_menu:not(.m-aside-header-menu-mobile--on) > ul > li:not(.m-menu__item--active) > a.m-menu__link:hover > .m-menu__link-text::after,
html[data-tema] #m_header_menu:not(.m-aside-header-menu-mobile--on) > ul > li.m-menu__item--hover:not(.m-menu__item--active) > a.m-menu__link > .m-menu__link-text::after {
    transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
    html[data-tema] #m_header_menu:not(.m-aside-header-menu-mobile--on) > ul > li:not(.m-menu__item--active) > a.m-menu__link > .m-menu__link-text::after {
        transition: none;
    }
}

html[data-tema] #m_header_menu:not(.m-aside-header-menu-mobile--on) > ul > li.m-menu__item--active > a.m-menu__link > .m-menu__link-icon.fad {
    --fa-primary-color: #fff;
    --fa-primary-opacity: 1;
    --fa-secondary-color: var(--main-menu-active-underline);
    --fa-secondary-opacity: 1;
}

@media (max-width: 1024px) {
    html[data-tema] .m-topbar .m-topbar__nav.m-nav > .m-nav__item.m-topbar__user-profile > .m-nav__link .m-topbar__welcome,
    html[data-tema] .m-topbar .m-topbar__nav.m-nav > .m-nav__item.m-topbar__user-profile > .m-nav__link .m-topbar__username {
        color: #262734 !important;
        -webkit-filter: none !important;
        filter: none !important;
    }

    html[data-tema] .m-topbar .m-topbar__nav.m-nav > .m-nav__item.m-topbar__user-profile > .m-nav__link .m-topbar__username::before {
        background-color: #262734 !important;
    }

}

#modal-novidades-versao {
    --novidades-versao-destaque: var(--primary);
}

body.usuario-direta-admin #modal-novidades-versao {
    --novidades-versao-destaque: var(--warning);
}

#modal-novidades-versao .modal-title {
    align-items: center;
    display: flex;
    gap: .35rem;
    line-height: 27px;
    padding-right: 40px;
}

#modal-novidades-versao .novidades-versao-slot,
#modal-novidades-versao .novidades-versao-slot .select2-container,
#modal-novidades-versao .novidades-titulo-texto {
    align-items: center;
    display: inline-flex;
    height: 27px;
}

#modal-novidades-versao .novidades-versao-atual,
#modal-novidades-versao .novidades-versao-select + .select2-container .select2-selection__rendered {
    color: #fff !important;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--novidades-versao-destaque);
    text-decoration-thickness: 2px;
    text-underline-offset: .25rem;
}

#modal-novidades-versao .novidades-versao-select + .select2-container .select2-selection--single {
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    height: 27px !important;
}

#modal-novidades-versao .novidades-versao-select + .select2-container .select2-selection__rendered {
    line-height: 27px !important;
    padding-left: 2px !important;
    padding-right: 17px !important;
}

#modal-novidades-versao .novidades-versao-select + .select2-container .select2-selection__arrow {
    align-items: center;
    display: flex;
    height: 27px !important;
    justify-content: center;
    right: 0 !important;
    top: 0 !important;
    width: 16px !important;
}

#modal-novidades-versao .novidades-versao-select + .select2-container .select2-selection__arrow-icon {
    --fa-primary-color: #fff;
    --fa-secondary-color: #fff;
    line-height: 1 !important;
}

@media (max-width: 1024px) {
    #m_header_menu.m-aside-header-menu-mobile {
        background: #fff !important;
        border: 2px solid #262734;
        border-radius: 1rem;
        bottom: 12px;
        box-shadow: 0 12px 30px rgba(38, 39, 52, .22);
        box-sizing: border-box;
        left: auto;
        max-width: 275px;
        right: -300px;
        top: 12px;
        width: calc(100vw - 24px) !important;
    }

    #m_header_menu.m-aside-header-menu-mobile--on {
        right: 12px;
    }

    .m-aside-header-menu-mobile-overlay {
        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
        background: rgba(255, 255, 255, .7);
    }

    .m-aside-header-menu-mobile--on #m_aside_header_menu_mobile_close_btn {
        border-bottom-left-radius: 0;
        border-top-left-radius: 12px;
        border-top-right-radius: 0;
        opacity: 1;
        pointer-events: auto;
        right: calc(min(275px, calc(100vw - 24px)) - 38px);
        top: 12px;
        visibility: visible;
    }

    #m_aside_header_menu_mobile_close_btn {
        background: var(--danger) !important;
        border: 2px solid #262734;
        box-sizing: border-box;
        height: 25px;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        width: 50px;
    }

    #m_aside_header_menu_mobile_close_btn > i {
        color: #fff !important;
    }

    #m_header_menu.m-aside-header-menu-mobile .m-menu__item--active > .m-menu__heading .m-menu__link-text,
    #m_header_menu.m-aside-header-menu-mobile .m-menu__item--active > .m-menu__link .m-menu__link-text,
    #m_header_menu.m-aside-header-menu-mobile .m-menu__item--active > .m-menu__heading .m-menu__link-icon,
    #m_header_menu.m-aside-header-menu-mobile .m-menu__item--active > .m-menu__link .m-menu__link-icon,
    #m_header_menu.m-aside-header-menu-mobile .m-menu__item--active > .m-menu__heading .m-menu__ver-arrow,
    #m_header_menu.m-aside-header-menu-mobile .m-menu__item--active > .m-menu__link .m-menu__ver-arrow {
        color: var(--primary) !important;
    }

    #m_header_menu.m-aside-header-menu-mobile .m-menu__item--active > .m-menu__heading .m-menu__link-text,
    #m_header_menu.m-aside-header-menu-mobile .m-menu__item--active > .m-menu__link .m-menu__link-text {
        font-weight: 700;
    }

    #m_header_menu.m-aside-header-menu-mobile .m-menu__item--active > .m-menu__heading .m-menu__link-bullet > span,
    #m_header_menu.m-aside-header-menu-mobile .m-menu__item--active > .m-menu__link .m-menu__link-bullet > span {
        background-color: var(--primary) !important;
    }

    body.usuario-direta-admin #m_header_menu.m-aside-header-menu-mobile .m-menu__link-text,
    body.usuario-direta-admin #m_header_menu.m-aside-header-menu-mobile .m-menu__link-icon,
    body.usuario-direta-admin #m_header_menu.m-aside-header-menu-mobile .m-menu__ver-arrow {
        color: #3f4654 !important;
    }

    body.usuario-direta-admin #m_header_menu.m-aside-header-menu-mobile .m-menu__item--active > .m-menu__heading .m-menu__link-text,
    body.usuario-direta-admin #m_header_menu.m-aside-header-menu-mobile .m-menu__item--active > .m-menu__link .m-menu__link-text,
    body.usuario-direta-admin #m_header_menu.m-aside-header-menu-mobile .m-menu__item--active > .m-menu__heading .m-menu__link-icon,
    body.usuario-direta-admin #m_header_menu.m-aside-header-menu-mobile .m-menu__item--active > .m-menu__link .m-menu__link-icon,
    body.usuario-direta-admin #m_header_menu.m-aside-header-menu-mobile .m-menu__item--active > .m-menu__heading .m-menu__ver-arrow,
    body.usuario-direta-admin #m_header_menu.m-aside-header-menu-mobile .m-menu__item--active > .m-menu__link .m-menu__ver-arrow {
        color: var(--warning) !important;
    }

    body.usuario-direta-admin #m_header_menu.m-aside-header-menu-mobile .m-menu__item--active > .m-menu__heading .m-menu__link-bullet > span,
    body.usuario-direta-admin #m_header_menu.m-aside-header-menu-mobile .m-menu__item--active > .m-menu__link .m-menu__link-bullet > span {
        background-color: var(--warning) !important;
    }

}

@media (max-width: 767px) {
    .m-popover--skin-connection-signal {
        max-width: min(500px, calc(100vw - 48px));
    }
}

@media (min-width: 347px) and (max-width: 1024px) {
    .m-aside-header-menu-mobile--on #m_aside_header_menu_mobile_close_btn {
        border-radius: .65rem;
        height: 40px;
        right: 297px;
        top: 22px;
        width: 40px;
    }
}

.direta-status {
    --direta-status-color: #adb5bd;
    --direta-status-background: rgba(173, 181, 189, .16);
    align-items: center;
    background: var(--direta-status-background);
    border: 1px solid var(--direta-status-color);
    border-radius: .4rem;
    color: var(--dark);
    display: inline-flex;
    font-family: inherit;
    font-size: .7rem;
    font-weight: 800;
    gap: .4rem;
    letter-spacing: .025em;
    line-height: 1;
    padding: .3rem .55rem;
    white-space: nowrap;
}

.direta-status::before {
    background: var(--direta-status-color);
    border-radius: 50%;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--direta-status-color);
    content: "";
    flex: 0 0 .5rem;
    height: .5rem;
    width: .5rem;
}

.direta-status--rascunho {
    --direta-status-color: #6c757d;
    --direta-status-background: rgba(108, 117, 125, .14);
}

.direta-status--analise {
    --direta-status-color: #5867dd;
    --direta-status-background: rgba(88, 103, 221, .12);
}

.direta-status--aprovada {
    --direta-status-color: #1bc5bd;
    --direta-status-background: rgba(27, 197, 189, .13);
}

.direta-status--rejeitada {
    --direta-status-color: #f64e60;
    --direta-status-background: rgba(246, 78, 96, .12);
}

.direta-status--revisao {
    --direta-status-color: #ffa800;
    --direta-status-background: rgba(255, 168, 0, .14);
}

.direta-status--agendada {
    --direta-status-color: #8950fc;
    --direta-status-background: rgba(137, 80, 252, .12);
}

.m-brand__logo-wrapper,
.m-login__logo img {
    border-radius: 8px;
}

#portlet-principal > .m-portlet__head > div.m-portlet__head-caption > .m-portlet__head-title > .m-portlet__head-text {
    background-color: #fff;
    color: var(--direta-admin-contrast-bg, var(--base, #262734)) !important;
    padding: 8px 16px !important;
    border-radius: 6px;
}

#portlet-principal > .m-portlet__body > .m-portlet:not(.homologacao-status-portlet) > .m-portlet__head {
    position: relative;
}

#portlet-principal > .m-portlet__body > .m-portlet:not(.homologacao-status-portlet) > .m-portlet__head > .m-portlet__head-caption {
    position: absolute;
    top: 50%;
    left: 2rem;
    width: auto;
    max-width: calc(100% - 4rem);
    transform: translateY(-50%);
}

#portlet-principal > .m-portlet__body > .m-portlet:not(.homologacao-status-portlet) > .m-portlet__head > :is(
    .head-actions,
    .m-portlet__head-tools,
    .homologacao-worker-actions
) {
    position: absolute;
    top: 50%;
    right: 2rem !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
    z-index: 10;
}

#portlet-principal > .m-portlet__body > .m-portlet:not(.homologacao-status-portlet) > .m-portlet__head .m-portlet__head-title {
    justify-content: flex-start;
    text-align: left !important;
}

#portlet-principal > .m-portlet__body > .m-portlet:not(.homologacao-status-portlet) > .m-portlet__head .m-portlet__head-text {
    background-color: #fff;
    border-radius: 6px;
    color: var(--direta-admin-contrast-bg, var(--base, #262734)) !important;
    padding: 8px 16px !important;
    text-align: left !important;
    text-shadow: none !important;
}

#portlet-principal .portlet-termo-renuncia:has(#toggle-termo[aria-expanded="false"]) #termo-renuncia-title {
    background-color: #afafaf;
}

/* Liga o título às ações usando apenas o espaço disponível entre eles. */
@media (min-width: 768px) {
    #portlet-principal > .m-portlet__body > .m-portlet:not(.homologacao-status-portlet) > .m-portlet__head:has(> :is(.head-actions, .m-portlet__head-tools:not(.d-none), .homologacao-worker-actions)) {
        display: flex;
        align-items: center;
        flex-direction: row;
        padding-right: 2rem;
        padding-left: 2rem;
    }

    #portlet-principal > .m-portlet__body > .m-portlet:not(.homologacao-status-portlet) > .m-portlet__head:has(> :is(.head-actions, .m-portlet__head-tools:not(.d-none), .homologacao-worker-actions)) > .m-portlet__head-caption {
        position: static;
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        max-width: none;
        transform: none;
    }

    #portlet-principal > .m-portlet__body > .m-portlet:not(.homologacao-status-portlet) > .m-portlet__head:has(> :is(.head-actions, .m-portlet__head-tools:not(.d-none), .homologacao-worker-actions)) > .m-portlet__head-caption > .m-portlet__head-title {
        flex: 0 1 auto;
        width: auto !important;
    }

    #portlet-principal > .m-portlet__body > .m-portlet:not(.homologacao-status-portlet) > .m-portlet__head:has(> :is(.head-actions, .m-portlet__head-tools:not(.d-none), .homologacao-worker-actions)) > .m-portlet__head-caption::after {
        content: '';
        flex: 1 1 auto;
        min-width: 2rem;
        height: 2px;
        margin: 0 1rem;
        background: repeating-linear-gradient(90deg, #afafaf 0 18px, transparent 18px 30px);
    }

    #portlet-principal > .m-portlet__body > .m-portlet:not(.homologacao-status-portlet) > .m-portlet__head:has(> :is(.head-actions, .m-portlet__head-tools:not(.d-none), .homologacao-worker-actions)) > :is(.head-actions, .m-portlet__head-tools, .homologacao-worker-actions) {
        position: static;
        top: auto;
        right: auto !important;
        left: auto !important;
        flex: 0 0 auto;
        margin: 0 !important;
        transform: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    #portlet-principal > .m-portlet__body > .homologacao-view-portlet > .m-portlet__head > .homologacao-worker-actions {
        position: relative;
    }
}
