﻿:root {
    --ck-z-default: 30060;
}

.imagem {
    color: var(--ecm-body-form-texto)!important;
    text-align: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    align-content: flex-start !important;
    justify-content: center !important;
    font-weight: 700 !important;
}

.recuo {
    margin-bottom: -20px;
}
.espacamento {
    margin-bottom: 20px;
}

.campo {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap-reverse;
    row-gap: 5px;
    margin: 0 0 20px 0;
}
.campo > textarea {
    height: 100px;
    resize: none;
}
.campo.suave > input,
.campo.suave > select,
.campo.suave > textarea {
    border-radius: 15px;
}
.campo.icone > input:not(.ocultar-icone),
.campo.icone > select:not(.ocultar-icone) {
    flex: 1 1 calc(100% - 33px);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.campo.icone > select:not(.ocultar-icone) ~ .select2 {
    flex: 1 1 calc(100% - 33px);
}
.campo.icone > select:not(.ocultar-icone) ~ .select2 .select2-selection {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.campo.icone > input.input-sm[type="text"]:not(.ocultar-icone),
.campo.icone > input.input-sm[type="email"]:not(.ocultar-icone),
.campo.icone > input.input-sm[type="password"]:not(.ocultar-icone),
.campo.icone > select.input-sm:not(.ocultar-icone) {
    flex-basis: calc(100% - 30px);
}
.campo > input:invalid,
.campo > select:invalid,
.campo > select:invalid ~ .select2 .select2-selection,
.campo > textarea:invalid {
    color: #ea5460;
    border-color: #ea5460 !important;
}
.campo > .select2,
.campo > .cke {
    width: 100% !important;
}
.campo > .cke {
    border-radius: 4px;
    overflow: hidden;
}
.campo > .cke.invalid,
.campo > .cke.invalid .cke_top,
.campo > .cke.invalid .cke_bottom {
    border-color: #ea5460;
    transition: border-color ease-in-out .15s;
}
.campo > .cke.invalid ~ span {
    color: #ea5460;
}
.campo > .bootstrap-tagsinput {
    width: 100%;
    border-color: #c2cad8;
    box-shadow: none;
    padding: 6px 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 6px;
    row-gap: 6px;
    transition: border-color ease-in-out .15s;
}
.campo > .bootstrap-tagsinput.focus {
    border-color: #93a1bb;
}
.campo > .bootstrap-tagsinput.invalid {
    border-color: #ea5460;
}
.campo > .bootstrap-tagsinput > .tag {
    margin: 0;
    display: flex;
    font-size: 1.25rem;
}
.campo > .bootstrap-tagsinput > input {
    padding: 0;
}
.campo > .bootstrap-tagsinput > input::placeholder {
    color: #999;
    opacity: 1;
}
.campo > .anexo,
.campo > .anexo-imagem {
    flex: 1 1 100%;
    max-width: 100%;
}
.campo.icone > .icone {
    width: 33px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px 0 0 4px;
    border-top: 1px solid #c2cad8;
    border-right: none;
    border-bottom: 1px solid #c2cad8;
    border-left: 1px solid #c2cad8;
    transition: border-color ease-in-out .15s, color ease-in-out .15s;
    padding: 0;
    background-color: #f0f0f0;
}
.campo.icone > .input-sm + .icone {
    flex-basis: 30px;
    height: 30px;
    font-size: 12px;
}
.campo.icone > .ocultar-icone + .icone {
    display: none;
}
.campo.suave.icone > .icone {
    border-radius: 15px 0 0 15px;
}
.campo.icone > input:focus ~ .icone,
.campo.icone > select:focus ~ .icone {
    border-color: #93a1bb;
}
.campo.icone > input:invalid ~ .icone,
.campo.icone > select:invalid ~ .icone {
    border-color: #ea5460;
    color: #ea5460;
}
.campo > .anexo {
    flex: 1 1 100%;
}
.campo > span {
    color: #707070;
    flex: 1 1 auto;
    transition: color ease-in-out .15s;
}
.campo > input:invalid ~ span,
.campo > select:invalid ~ span,
.campo > textarea:invalid ~ span,
.campo > .anexo.invalido ~ span,
.campo > .anexo-imagem.invalido ~ span {
    color: #ea5460;
}

.campo-marcacao {
    margin: 0;
}
.row > [class^="col"] > .campo-marcacao {
    margin: 0 0 20px 0;
}
.campo-marcacao > input {
    display: block;
    width: 0;
    height: 0;
    margin: 0;
    appearance: none;
}
.campo-marcacao > span {
    display: flex;
    column-gap: 10px;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
}
.campo-marcacao > input:disabled ~ span {
    cursor: not-allowed;
}
.campo-marcacao > span::before {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border: 1px solid #c2cad8;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f00c";
    font-family: "FontAwesome";
    font-size: 1.25rem;
    background-color: white;
    color: white;
    transition: background-color ease-in-out .15s, border-color ease-in-out .15s, color ease-in-out .15s;
}
.campo-marcacao > input:focus ~ span::before {
    border-color: #93a1bb;
}
.campo-marcacao > input:checked:not(:disabled) ~ span::before {
    background-color: #217ebd;
    border-color: #217ebd;
}
.campo-marcacao > input:disabled ~ span::before {
    background-color: #eef1f5;
}
.campo-marcacao > input:checked:disabled ~ span::before {
    color: #c2cad8;
}
.campo-marcacao > input:not(:checked):disabled ~ span::before {
    color: #eef1f5;
}
.corpo.ui-sortable .campo-marcacao {
    position: relative;
    padding-left: 15px;
}
.corpo.ui-sortable .campo-marcacao::before {
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f0dc";
    position: absolute;
    left: 0px;
    top: 4px;
    cursor: pointer;
    color: #c2cad8;
}

.campo-interruptor {
    margin: 0;
}
.row > [class^="col"] > .campo-interruptor {
    margin: 0 0 20px 0;
}
.campo-interruptor > input {
    display: block;
    width: 0;
    height: 0;
    margin: 0;
    appearance: none;
}
.campo-interruptor > span {
    display: flex;
    column-gap: 10px;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    position: relative;
}
.campo-interruptor > input:disabled ~ span {
    cursor: not-allowed;
}
.campo-interruptor > span::before {
    content: "";
    width: 64px;
    height: 34px;
    flex-shrink: 0;
    border: 1px solid #c2cad8;
    border-radius: 17px;
    background-color: white;
    transition: background-color ease-in-out .15s, border-color ease-in-out .15s;
}
.campo-interruptor > input:focus ~ span::before {
    border-color: #93a1bb;
}
.campo-interruptor > input:checked:not(:disabled) ~ span::before {
    background-color: #217ebd;
    border-color: #217ebd;
}
.campo-interruptor > input:disabled ~ span::before {
    background-color: #eef1f5;
}
.campo-interruptor > span::after {
    position: absolute;
    left: 6px;
    width: 22px;
    height: 22px;
    border-radius: 11px;
    content: "";
    background-color: #c2cad8;
    transition: background-color ease-in-out .15s, left ease-in-out .15s;
}
.campo-interruptor > input:focus ~ span::after {
    background-color: #93a1bb;
}
.campo-interruptor > input:checked ~ span::after {
    left: 36px;
}
.campo-interruptor > input:checked:not(:disabled) ~ span::after {
    background-color: white;
}

.botoes {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 10px;
}
.botoes.condensado {
    column-gap: 5px;
    row-gap: 5px;
    flex-wrap: nowrap;
    width: fit-content;
}
.botoes > .btn {
    margin: 0;
}
.botoes.expandir > .btn {
    flex-grow: 1;
}

.rotulos {
    display: flex;
    flex-wrap: wrap;
    row-gap: 5px;
    column-gap: 5px;
}
.rotulos > .label {
    margin: 0;
    padding: 5px;
}

.arvore {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}
.arvore > .campo {
    margin: 0;
}
.arvore > .corpo {
    border-radius: 4px;
    border: solid 1px #c2cad8;
    overflow: hidden;
}
.arvore > .rodape {
    display: flex;
    column-gap: 10px;
}
.arvore > .rodape > .btn {
    flex-grow: 1;
}

.rolavel {
    overflow: auto;
}

.titulo-linha {
    font-weight: bold;
    font-size: 1.6rem;
    color: #217ebd;
    text-align: center;
    position: relative;
    z-index: 0;
    margin: 0;
}
.titulo-linha::before {
    position: absolute;
    top: calc(50% - .5px);
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #c2cad8;
    z-index: -1;
    content: "";
}
.titulo-linha > span {
    background-color: white;
    padding: 0 10px;
}

.aviso-cookies {
    display: flex;
    align-items: center;
    column-gap: 20px;
    border-radius: 10px;
    padding: 20px;
    background-color: white;
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    box-shadow: 0 0 5px hsla(0deg, 0%, 0%, 25%);
    width: 534px;
    max-width: calc(100% - 20px);
    color: inherit;
}
.aviso-cookies:not([style*="display: flex;"]) {
    visibility: hidden;
}
.aviso-cookies > .icone {
    width: 50px;
}
.aviso-cookies > .botao {
    flex-shrink: 0;
}

.portlet-flex {
    display: flex;
    flex-direction: column;
}
.portlet-flex > .portlet-title {
    display: flex;
    flex-wrap: wrap;
    row-gap: 10px;
    column-gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px !important;
    min-height: unset;
}
.portlet-flex > .portlet-title::before,
.portlet-flex > .portlet-title::after {
    display: none;
}
.portlet-flex > .portlet-title > .caption {
    padding: 0 !important;
}
.portlet-flex > .portlet-title > .actions {
    display: flex;
    column-gap: 8px;
    padding: 0 !important;
}
.portlet-flex > .portlet-body {
    overflow: auto;
}

.btn.suave {
    border-radius: 15px !important;
    text-transform: none !important;
    font-size: 1.4rem !important;
}

.btn.btn-sm {
    font-size: 1.1rem !important;
}

.btn-group > :is(.btn, .btn-group) ~ :is(.btn, .btn-group) {
    margin-left: -1px;
}

.btn-group > .btn.btn-circle ~ .dropdown-menu {
    border-radius: 13px !important;
    overflow: hidden;
}

.portlet > .portlet-title > .actions > .btn-group > .dropdown-menu {
    margin-top: 4px;
}

@media (max-width: 450px) {
    .portlet > .portlet-title > .actions .btn > span {
        display: none;
    }
}

.button-gov-br {
    border: none;
    box-shadow: 0 2px 3px #00000029;
    border-radius: 24px !important;
    font-size: 1em;
    font-weight: bold;
    color: #FFFFFF;
    cursor: pointer;
    background: #1351B4 0 0 no-repeat padding-box !important;
}
