/* _________ FILTRO DE ICONES _________ */
.back-end-edit {
    margin-top: 1rem;
}

.back-end-edit .input-icon {
    position: relative;
}

.back-end-edit #list-icons {
    position: absolute;
    z-index: 99;
    width: 100%;
}

.back-end-edit .filter-list {
    background: #fafafa;
    border-radius: 0;
    border: 1px solid #ccc;
}

.back-end-edit .filter-list .nav-list {
    max-height: 300px;
    overflow-y: scroll;
}

.back-end-edit .filter-list h3 {
    display: flex;
    align-items: center;
}

.back-end-edit .filter-list i {
    font-size: 2em;
    margin-right: 0.2em;
    width: 64px;
    text-align: center;
}

.back-end-edit .filter-list small {
    margin-left: 1em;
    display: inline-block;
    margin-top: 0.25em
}

.back-end-edit #view-icon {
    font-size: 24px;
    width: 32px;
    height: 32px;
    line-height: 32px;
    display: inline-block;
}

/* _________ FORM _________ */
.control-group .control-label {
    width: 100%;
}

.dependenteSubForm {
    color: #000;
    display: block;
}

.enderecoSubForm .subform-repeatable .btn .icon-plus,
.telefoneSubForm .subform-repeatable .btn .icon-plus,
.dependenteSubForm .subform-repeatable .btn .icon-plus,
.emailSubForm .subform-repeatable .btn .icon-plus,
.enderecoSubForm .subform-repeatable .btn .icon-minus,
.telefoneSubForm .subform-repeatable .btn .icon-minus,
.dependenteSubForm .subform-repeatable .btn .icon-minus,
.emailSubForm .subform-repeatable .btn .icon-minus,
.enderecoSubForm .subform-repeatabl .btn .icon-arrows-alt {
    padding: .2rem;
    min-width: 270px;
}

.enderecoSubForm .subform-repeatable .btn:hover span,
.telefoneSubForm .subform-repeatable .btn:hover span,
.dependenteSubForm .subform-repeatable .btn:hover span,
.emailSubForm .subform-repeatable .btn:hover span {
    color: #28a745;
}

.enderecoSubForm .subform-repeatable .btn:hover .icon-minus,
.telefoneSubForm .subform-repeatable .btn:hover .icon-minus,
.dependenteSubForm .subform-repeatable .btn:hover .icon-minus,
.emailSubForm .subform-repeatable .btn:hover .icon-minus {
    color: #dc3545;
}

.enderecoSubForm .subform-repeatable .btn .icon-plus:after,
.telefoneSubForm .subform-repeatable .btn .icon-plus:after,
.dependenteSubForm .subform-repeatable .btn .icon-plus:after,
.emailSubForm .subform-repeatable .btn .icon-plus:after,
.enderecoSubForm .subform-repeatable .btn .icon-minus:after,
.telefoneSubForm .subform-repeatable .btn .icon-minus:after,
.dependenteSubForm .subform-repeatable .btn .icon-minus:after,
.emailSubForm .subform-repeatable .btn .icon-minus:after {
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    padding: 1rem;
}

.enderecoSubForm .subform-repeatable .btn .icon-white:after {
    content: " Editar Endereço";
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    padding: 1rem;
}

.dependenteSubForm .subform-repeatable .btn .icon-plus:after,
.emailSubForm .subform-repeatable .btn .icon-plus:after,
.telefoneSubForm .subform-repeatable .btn .icon-plus:after,
.enderecoSubForm .subform-repeatable .btn .icon-plus:after {
    content: " Deseja Adicionar Novo?";
}


.enderecoSubForm .subform-repeatable .btn .icon-minus:after {
    content: " Remover Endereço";
}

.telefoneSubForm .subform-repeatable .btn .icon-minus:after {
    content: " Remover este Telefone";
}

.dependenteSubForm .subform-repeatable .btn .icon-minus:after {
    content: " Remover Dependente";
}

.emailSubForm .subform-repeatable .btn .icon-minus:after {
    content: " Remover este E-mail";
}

@media screen and (max-width: 991px) {

    .subform-repeatable .btn .icon-plus,
    .subform-repeatable .btn .icon-minus {
        min-width: auto !important;
        font-size: 2em;
        padding: 0.3em !important;
    }

    .subform-repeatable .btn .icon-plus:after,
    .subform-repeatable .btn .icon-minus:after {
        content: none !important;
    }

}


.enderecoSubForm .subform-repeatable>.btn-toolbar,
.telefoneSubForm .subform-repeatable>.btn-toolbar,
.emailSubForm .subform-repeatable>.btn-toolbar {
    display: none;
}

span.icon-arrows-alt.icon-white::before {
    content: "\f044" !important;
}

span.icon-arrows-alt.icon-white:hover:before,
.enderecoSubForm .subform-repeatable .btn .icon-arrows-alt:hover:after {
    color: #0345bf;
}

button.group-move.btn.btn-sm.btn-primary:hover {
    background-color: transparent;
}

.view-pessoaform .enderecoSubForm .control-group .choices,
.view-pessoaform .enderecoSubForm .control-group .choices__inner {
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    min-height: 38px;
}

.dependenteSubForm .subform-repeatable-group,
.telefoneSubForm .subform-repeatable-group,
.dependenteSubForm .subform-repeatable-group,
.emailSubForm .subform-repeatable-group {
    display: grid;
    grid-template-columns: auto auto;
    gap: 15px;
}

.dependenteSubForm .subform-repeatable-group,
.enderecoSubForm .subform-repeatable-group,
.telefoneSubForm .subform-repeatable-group,
.dependenteSubForm .subform-repeatable-group,
.emailSubForm .subform-repeatable-group {
    display: flex;
    flex-wrap: wrap;
}

.enderecoSubForm .subform-repeatable-group .control-group {
    float: left;
    margin-left: 1em;
    margin-right: 1em;
    width: calc(33% - 2rem);
}

.telefoneSubForm .subform-repeatable-group .control-group{
    width: calc(33% - 1rem);
}

.dependenteSubForm .subform-repeatable-group .control-group,
.dependenteSubForm .subform-repeatable-group .control-group,
.emailSubForm .subform-repeatable-group .control-group {
    width: calc(50% - 1rem);
}

.enderecoSubForm .subform-repeatable-group .btn-toolbar {
    width: 100%;
    justify-content: center;
}

.dependenteSubForm .subform-repeatable-group .btn-toolbar,
.enderecoSubForm .subform-repeatable-group .btn-toolbar,
.telefoneSubForm .subform-repeatable-group .btn-toolbar,
.dependenteSubForm .subform-repeatable-group .btn-toolbar,
.emailSubForm .subform-repeatable-group .btn-toolbar {
    order: 9;
    margin-bottom: 1.5em;
    width: 100%;
    justify-content: center;
    margin-top: 1.5em;
}

.enderecoSubForm .subform-repeatable-group .btn-toolbar .group-add,
.telefoneSubForm .subform-repeatable-group .btn-toolbar .group-add,
.dependenteSubForm .subform-repeatable-group .btn-toolbar .group-add,
.emailSubForm .subform-repeatable-group .btn-toolbar .group-add {
    background-color: transparent;
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.enderecoSubForm .subform-repeatable-group .btn-toolbar .group-add:hover,
.telefoneSubForm .subform-repeatable-group .btn-toolbar .group-add:hover,
.dependenteSubForm .subform-repeatable-group .btn-toolbar .group-add:hover,
.emailSubForm .subform-repeatable-group .btn-toolbar .group-add:hover {
    color: #28a745;
    border-color: #28a745;
    background-color: transparent;
}

/* .enderecoSubForm .subform-repeatable-group .btn-toolbar .group-remove,
.telefoneSubForm .subform-repeatable-group .btn-toolbar .group-remove,
.dependenteSubForm .subform-repeatable-group .btn-toolbar .group-remove,
.emailSubForm .subform-repeatable-group .btn-toolbar .group-remove{
    border-top-right-radius: 4px!important;
    border-bottom-right-radius: 4px!important;
} */

.dependenteSubForm .subform-repeatable-group .btn-toolbar .group-remove,
.enderecoSubForm .subform-repeatable-group .btn-toolbar .group-remove,
.telefoneSubForm .subform-repeatable-group .btn-toolbar .group-remove,
.dependenteSubForm .subform-repeatable-group .btn-toolbar .group-remove,
.emailSubForm .subform-repeatable-group .btn-toolbar .group-remove {
    background-color: transparent;
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}
.dependenteSubForm .subform-repeatable-group .btn-toolbar .group-remove:hover,
.enderecoSubForm .subform-repeatable-group .btn-toolbar .group-remove:hover,
.telefoneSubForm .subform-repeatable-group .btn-toolbar .group-remove:hover,
.dependenteSubForm .subform-repeatable-group .btn-toolbar .group-remove:hover,
.emailSubForm .subform-repeatable-group .btn-toolbar .group-remove:hover {
    background-color: transparent;
    color: #dc3545;
    border-color: #dc3545;
}

.dependenteSubForm .subform-repeatable-group .btn-toolbar .group-move,
.telefoneSubForm .subform-repeatable-group .btn-toolbar .group-move,
.dependenteSubForm .subform-repeatable-group .btn-toolbar .group-move,
.emailSubForm .subform-repeatable-group .btn-toolbar .group-move {
    display: none;
}

.admin .enderecoSubForm div.subform-repeatable-group>.btn-toolbar .btn.group-move {
    border-radius: 0.25rem 0 0 0.25rem;
    line-height: 10px !important;
    margin-top: -27px !important;
    right: 22.5% !important;
    top: 7% !important;
    height: 35px !important;
}

.enderecoSubForm div.subform-repeatable-group>.btn-toolbar .btn.group-remove {
    right: -1px;
    top: -1px;
}

/* _________ SUCCESS _________ */
#system-message-container {
    z-index: 9;
}

/* _________ CHOSEN _________ */

.chosen-container-single .chosen-single {
    background: #fff !important;
    box-shadow: none;
    font-size: 1rem;
    border: 1px solid #b8cee0;
}

.chosen-container-single .chosen-single div {
    width: 40px;
    text-align: center;
    background: #f0f4fb !important;
}

.chosen-container-single .chosen-single div b {
    font-family: Font Awesome\ 5 Free;
    font-weight: 900;
    background: none;
}

.chosen-container-single .chosen-single span {
    margin-right: 40px;
}

.chosen-container-single .chosen-single div b:before {
    content: "\f107";
    font-size: 1.3em;
}

.chosen-container-single .chosen-search input[type="text"] {
    background: none;
    height: 42px;
    line-height: 42px;
    font-size: 1rem;
}

.chosen-container .chosen-results li {
    line-height: 28px;
    font-size: 1rem;
}

.chosen-container .chosen-results li.highlighted {
    background: #f2f2f2;
    color: inherit;
}

.back-end-edit .observacoes .control-label {
    display: block;
    width: auto !important;
    float: none !important;
}

.back-end-edit .observacoes .controls {
    margin-left: 0;
    float: none;
    width: auto;
}

.back-end-edit .observacoes .controls textarea {
    width: 100%;
    height: 154px;
}

.view-pessoaform .enderecoSubForm .control-group .choices,
.view-pessoaform .enderecoSubForm .control-group .choices__inner {
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    min-height: 38px;
}

.choices[data-type*=select-one] .choices__button_joomla {
    position: absolute;
    top: 50%;
    right: 0;
    width: 20px;
    height: 20px;
    padding: 0;
    margin-top: -10px;
    margin-right: 50px;
    border-radius: 10em;
    opacity: .5;
}

.choices__button_joomla::before {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    display: block;
    text-align: center;
    text-indent: 0px;
    content: "×";
}

.choices__button_joomla {
    position: relative;
    padding: 0 10px;
    color: inherit;
    text-indent: -9999px;
    cursor: pointer;
    background: 0 0;
    border: 0;
    opacity: .5;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* ___________________________ Formulário ___________________________ */
#form-pessoa #myTab div {
    color: #1a62ab;
}

#form-pessoa #myTab>div:not(.control-group) {
    border: none;
    background-color: #fff;
    box-shadow: 0 0 0 0;
    color: #1a62ab;
}

#form-pessoa #myTab>div:not(.control-group) button {
    background-color: #fff;
    box-shadow: 0 0 0 0;
    background-image: none;
    font-size: 3em;
    font-weight: bold;
    color: #1a62ab;
    padding: 0;
}

#form-pessoa #myTab>div:not(.control-group) {
    content: '';
    border-bottom: 3px solid #fd0 !important;
    margin-right: .5em;
    width: 100%;
    background-color: transparent;
}

#form-pessoa #myTab div button::after {
    display: none;
}

/* FORM ASSOCIE-SE  */

#form-pessoa #pessoa {
    border: none;
}

#form-pessoa #pessoa .choices__inner {
    max-height: 38px;
    min-height: 38px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

#form-pessoa #pessoa #jform_forma_pagamento-lbl,
#form-pessoa #pessoa .form-label {
    font-size: 16px;
    font-weight: 700;
}

#form-pessoa #pessoa #jform_forma_pagamento {
    font-size: 1.2em;
}

#form-pessoa #pessoa .privacy label {
    margin-bottom: 1.5em;
}

#form-pessoa #pessoa .choices__button_joomla::before {
    top: -1px;
}

#form-pessoa #pessoa .field-calendar .input-group-text {
    border: none;
    padding: 0;
}

#form-pessoa #pessoa .field-calendar .input-group-text button {
    background-color: #fff;
    color: #1a62ab;
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-color: #ced4da;
}

.view-pessoaform #form-pessoa .form-control-feedback {
    color: #a52420;
}

/* .view-pessoaform #form-pessoa .card.card-default{
    border: none;
} */
/* .view-pessoaform #form-pessoa .card-header{
    background-color: transparent;
    border: none;
} */

.view-pessoaform #form-pessoa .card {
    margin-bottom: 2rem !important;
    border: none;
    background: transparent;
}

#form-pessoa .card-header h3 a:before {
    position: absolute;
    top: 1.8rem;
    left: 0.5rem;
    content: "";
    border-left: 2px solid #10529e;
    height: 1.7rem;
    border-radius: 1px;
}

#form-pessoa h3 a:after {
    position: absolute;
    top: 3.5rem;
    content: "";
    border-bottom: 2px solid #10529e;
    width: 100%;
}

.view-pessoaform #form-pessoa #dados_pessoa,
.view-pessoaform #form-pessoa #endereco,
.view-pessoaform #form-pessoa #email,
.view-pessoaform #form-pessoa #telefone,
.view-pessoaform #form-pessoa #filiacao,
.view-pessoaform #form-pessoa #dependentes {
    padding: 0 30px;
}

.view-pessoaform #form-pessoa #dados_pessoa .control-group #jform_cidade-lbl {
    margin-bottom: 8px;
}

.view-pessoaform #form-pessoa #dados_pessoa .control-group #jform_cidade-lbl,
.view-pessoaform #form-pessoa #dados_pessoa .control-group .form-label {
    color: #000;
    font-weight: 400;
}

.view-pessoaform #form-pessoa #dados_pessoa .chosen-container-single .chosen-single {
    min-height: 38px;
    line-height: 38px;
}

.view-pessoaform #form-pessoa #dados_pessoa .control-group .choices__inner {
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    min-height: 38px;
}

.view-pessoaform #form-pessoa #endereco .control-group .form-label,
.view-pessoaform #form-pessoa #email,
.view-pessoaform #form-pessoa #filiacao,
.view-pessoaform #form-pessoa #telefone {
    color: #000;
    font-weight: 400;
}

.view-pessoaform #form-pessoa #endereco .row>div:nth-child(2) .control-group .form-label,
.view-pessoaform #form-pessoa #endereco .row>div:nth-child(3) .control-group .form-label,
.view-pessoaform #form-pessoa #email,
.view-pessoaform #form-pessoa #filiacao,
.view-pessoaform #form-pessoa #telefone {
    margin-bottom: 28px;
}

.view-pessoaform #form-pessoa #privacidade {
    color: #000;
    font-weight: bold;
}

.view-pessoaform #form-pessoa #privacidade #jform_privacidade-lbl {
    font-size: 18px;
}

.view-pessoaform #form-pessoa #privacidade .form-check.form-check-inline a label {
    color: #312783;
    font-weight: 700;
}

.view-pessoaform #form-pessoa #privacidade .form-check.form-check-inline a:nth-child(2) {
    padding-left: 4px;
    font-weight: 400;
    color: #0d6efd;
}

.view-pessoaform #form-pessoa #privacidade .form-check.form-check-inline a:nth-child(2):hover {
    color: #7babf3;
}

@media screen and (max-width:575px) {
    #form-pessoa h3 a:after {
        width: 90%;
    }
}

/* __________________________________________ Administrator Pessoa __________________________________________ */
#pessoa-form #myTab .control-group .controls {
    min-width: 100%;
    /* width: 278px; */
}

#pessoa-form .telefones td {
    padding: 6px 16px;
}

#pessoa-form #jform_cidade_chosen,
#entidade-form #entidade #jform_cidade_chosen {
    width: 100% !important;
}

#pessoa-form #jform_cidade_chosen a,
#entidade-form #entidade #jform_cidade_chosen a {
    height: 42px;
    display: flex;
    align-items: center;
    min-width: 267.73px;
}

#pessoa-form #jform_cidade_chosen a b,
#entidade-form #entidade #jform_cidade_chosen a b {
    display: flex;
    align-items: center;
    justify-content: center;
}

#jform_receber_newsletter-lbl,
#jform_receber_aviso_celular-lbl {
    font-size: .99rem;
}

/* __________________________________________ Administrator Entidade __________________________________________ */
#entidade-form #myTab .control-group .controls {
    min-width: 100%;
    /* margin-left: 170px; */
}

#entidade .wellb {
    min-height: 20px;
    padding: 19px;
    background-color: #F0F0F0;
    border: 1px solid #F0F0F0;
    border-radius: 3px;
}

#entidade #img-container {
    display: block;
    padding: 4px;
    line-height: 18px;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgb(0 0 0 / 6%);
    transition: all .2s ease-in-out;
    margin: 0 10px 10px 0;
    float: left;
    max-width: 160px !important;
    z-index: 9;
}

#entidade .wellb .control-group {
    max-width: 100%;
    margin-bottom: 9px;
    display: block;
}

#entidade .wellb .margin_no_img {
    margin-left: 170px;
}

#entidade img {
    max-width: 100%;
}

#entidade #removePhoto {
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #fff;
    background-color: #bd362f;
    max-height: 28px;
    font-size: 13px;
    display: block;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    padding-top: 3px;
    cursor: pointer;
    z-index: 10;
}

#entidade a[target=_blank]:before {
    display: none;
}

/* __________________________________________ Responsividade __________________________________________ */
@media screen and (max-width: 991px) {
    .enderecoSubForm .subform-repeatable-group .control-group {
        width: calc(50% - 2rem);
    }
}

@media screen and (max-width: 768px) {
    #form-pessoa #pessoa #jform_forma_pagamento .required.radio {
        flex-direction: column;
    }

    #form-pessoa #myTab>button:not(.control-group) {
        border: none;
        background-color: #fff;
        box-shadow: 0 0 0 0;
        color: #1a62ab;
    }

    #form-pessoa #myTab>button:not(.control-group) {
        content: '';
        border-bottom: 3px solid #fd0 !important;
        margin-right: .5em;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 0 0 0;
        background-image: none;
        font-size: 2em;
        font-weight: bold;
        color: #1a62ab;
        padding: 0;
        text-align: start;
    }

    #form-pessoa #myTab button::after {
        display: none;
    }

    .enderecoSubForm .subform-repeatable-group .control-group,
    .emailSubForm .subform-repeatable-group .control-group,
    .telefoneSubForm .subform-repeatable-group .control-group,
    .dependenteSubForm .subform-repeatable-group .control-group {
        width: 100%;
    }
}

/* _________ CHOSEN _________ */
.chosen-container#limit_chosen {
    width: auto !important;
    min-width: 100px !important;
}

.chosen-container-single .chosen-single {
    background: #fff !important;
    box-shadow: none !important;
    min-height: 42px;
    line-height: 42px !important;
    font-size: 1rem !important;
    border: 1px solid #b8cee0 !important;
    height: 42px !important;
    padding: 0 0 0 8px !important;
}

.chosen-container-single .chosen-single div {
    width: 40px !important;
    text-align: center;
    background: #f0f4fb !important;
}

.chosen-container-single .chosen-single div b {
    font-family: Font Awesome\ 5 Free;
    font-weight: 900;
    background: none !important;
}

.chosen-container-single .chosen-single span {
    margin-right: 40px;
}

.chosen-container-single .chosen-single div b:before {
    content: "\f107";
    font-size: 1.3em;
}

.chosen-container-single .chosen-search input[type="text"] {
    background: none !important;
    height: 38px !important;
    line-height: 42px !important;
    font-size: 1rem !important;
}

.chosen-container .chosen-results li {
    line-height: 28px !important;
    font-size: 1rem;
}

.chosen-container .chosen-results li.highlighted {
    background: #f2f2f2 !important;
    color: #444 !important;
}

.dependenteSubForm .btn-success {
    background-color: #28a745;
}

.dependenteSubForm .btn-success:hover {
    background: none;

}

.dependenteSubForm .subform-repeatable>.btn-toolbar .btn.group-add {
    margin-bottom: 1em;
    background: #0962ab;
    border-color: #0962ab;
}

.dependenteSubForm .subform-repeatable>.btn-toolbar .btn.group-add:hover,
.dependenteSubForm .subform-repeatable>.btn-toolbar .btn.group-add:focus {
    margin-bottom: 1em;
    background: #ffffff;
    border-color: #0962ab;

}

.dependenteSubForm .subform-repeatable>.btn-toolbar .btn.group-add:hover .icon-plus:before,
.dependenteSubForm .subform-repeatable>.btn-toolbar .btn.group-add:focus .icon-plus:before,
.dependenteSubForm .subform-repeatable>.btn-toolbar .btn.group-add:hover .icon-plus:after,
.dependenteSubForm .subform-repeatable>.btn-toolbar .btn.group-add:focus .icon-plus:after {
    color: #0962ab !important;
}

.dependenteSubForm .subform-repeatable>.btn-toolbar .btn.group-add .icon-plus:before {
    content: "\f0c0";
}

.dependenteSubForm .subform-repeatable>.btn-toolbar .btn.group-add .icon-plus:after {
    content: " Cadastrar dependente";
}

/* Foto Associados */
.foto__associado #img-container a::before {
    font-size: 0px;
}

.foto__associado .thumbnail {
    display: block;
    padding: 4px;
    line-height: 18px;
    min-width: 120px;
    border: 1px solid #ddd;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.foto__associado #removePhoto {
    padding: 0.5rem 1.41rem;
    position: relative;
    top: -0.5rem;
}

.img_container4y3 {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    margin-bottom: 1rem;
}

.img_container4y3 img {
    position: relative;
    left: 0;
    top: -1.2rem;
    width: 100%;
    object-fit: cover;
}

.nome__foto {
    text-transform: uppercase;
    font-weight: bold;
}

.foto-input {
    font-size: .8rem;
    font-style: italic;
}

.foto-input input {
    margin-bottom: .5rem;
}

.foto-input br {
    display: none;
}

.foto-input #jform_foto-lbl {
    font-size: 1rem;
    font-style: normal;
}

#input-new-photo .control-group {
    margin: 0;
}

.img-associado img {
    border-radius: 100%;
    height: 80px;
    width: 80px;
    object-fit: cover;
}

.back-end-edit .foto-input input {
    font-size: .8rem;
    min-height: calc(1.5em + 0.5rem + 2px);
    /* padding: 0.25rem 0.5rem; */
}

@media screen and (max-width:991px) {
    .foto__associado {
        flex-direction: column;
    }

    .perfil__foto {
        align-self: start;
        margin-bottom: 1rem;
    }
}

/* ThanksMessenger */
.description.alert .print i::before {
    content: "\f02f";
}

.description.alert .email i::before {
    content: "\f0e0";
}

.description.alert .check i::before {
    content: "\f0ae";
}

.description.alert .check i::before,
.description.alert .email i::before,
.description.alert .print i::before {
    font-weight: bold;
    font-size: 5rem;
    color: #0961ab;
}

.description.alert .col-1 i::before {
    content: "\f30b";
    font-weight: bold;
    font-size: 2.5rem;
    color: #051e3e;
}

.description.alert .col-1 .fa-user-check::before {
    content: "\f4fc";
    font-size: 3rem;
    color: #1b3e05;
}

.thanks__number li::marker {
    font-size: 1.7rem;
}

@media screen and (max-width:991px) {
    .description.alert .col-1 i::before {
        content: "\f309";
    }

    .thanks__number ol {
        gap: 20px;
    }
}

@media screen and (max-width:768px) {
    .description.alert .col-1 i {
        margin-left: -0.6rem;
    }
}

@media screen and (max-width:575px) {
    .thanks__number li::marker {
        font-size: 0;
    }

    .thanks__number ol {
        padding-left: 0 !important;
    }
}


/* Form associados */
.view-pessoaform #form-pessoa .control-group .choices__inner {
    position: relative;
    border: none !important;
}


.view-pessoaform #form-pessoa .control-group .choices__inner::before {
    content: "";
    position: absolute;
    inset: 0; /* cobre todo o elemento */
    background-color: #eaedf0; /* cor por cima */
    opacity: 0.7; /* ajusta transparência */
    pointer-events: none; /* não atrapalha cliques */
}

.view-pessoaform #form-pessoa .control-group .choices__inner .choices__item{
    color: #000000;
    position: relative;
    z-index: 1;
}


.view-pessoaform #form-pessoa #endereco,
.view-pessoaform #form-pessoa #email,
.view-pessoaform #form-pessoa #telefone,
.view-pessoaform #form-pessoa #dados_profi {
    padding: 0 30px;
}

.view-pessoaform #form-pessoa #dados_pessoa .control-group #jform_cidade-lbl {
    margin-bottom: 8px;
}

.view-pessoaform #form-pessoa #dados_pessoa .control-group #jform_cidade-lbl,
.view-pessoaform #form-pessoa #dados_pessoa .control-group .form-label {
    color: #000;
    font-weight: 400;
}

.view-pessoaform #form-pessoa #dados_pessoa .chosen-container-single .chosen-single {
    min-height: 38px;
    line-height: 38px;
}

.view-pessoaform #form-pessoa #dados_pessoa .control-group .choices__inner {
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    min-height: 38px;
}

.view-pessoaform #form-pessoa #endereco .control-group .form-label,
.view-pessoaform #form-pessoa #email,
.view-pessoaform #form-pessoa #telefone {
    color: #000;
    font-weight: 400;
}

.view-pessoaform #form-pessoa #endereco .row>div:nth-child(2) .control-group .form-label,
.view-pessoaform #form-pessoa #endereco .row>div:nth-child(3) .control-group .form-label,
.view-pessoaform #form-pessoa #email,
.view-pessoaform #form-pessoa #telefone {
    margin-bottom: 28px;
}

.view-pessoaform #form-pessoa #privacidade {
    color: #000;
    font-weight: bold;
}

.view-pessoaform #form-pessoa #privacidade #jform_privacidade-lbl {
    font-size: 18px;
}

.view-pessoaform #form-pessoa .card-header {
    background-color: var(--p-normal);
    color: var(--w-normal);
    border-bottom: 1px solid var(--p-dark);
    font-weight: 900;
    margin-bottom: 30px;
    border-radius: 4px !important;
}

.view-pessoaform #form-pessoa .card-header h3 a {
    color: var(--p2);
    justify-self: normal;
    font-weight: 900;
    padding-top: 20px;
    display: flex;
    font-size: 1.24rem;
    padding-left: 0.5rem;
}

#form-pessoa .card-header h3 a:before {
    position: absolute;
    top: 1.8rem;
    left: 0.5rem;
    content: "";
    border-left: 2px solid var(--p2);
    height: 1.7rem;
    border-radius: 1px;
}

#form-pessoa h3 a:after {
    position: absolute;
    top: 3.5rem;
    content: "";
    border-bottom: 2px solid var(--p2);
    width: 100%;
}

@media screen and (max-width:575px) {
    #form-pessoa h3 a:after {
        width: 90%;
    }
}

#jform_endereco-lbl, #jform_email-lbl, #jform_telefone-lbl, #jform_com_fields_dependentes-lbl{
    display: none;
}
.view-pessoaform #jform_privacidade-lbl {
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}
.view-pessoaform .form-check.form-check-inline{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}
.view-pessoaform legend.text-end{
    padding-top: 50px;
}

.switcher input~input:checked~.toggle-outside {
    border-radius: 5px;
}
.btn-file{
	font-size: 0 !important;
}
.btn-file .btn-text{
	font-size: 16px;
}

.btn-file input[type=file] {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 100%;
	min-height: 100%;
	font-size: 100px;
	text-align: right;
	filter: alpha(opacity=0);
	opacity: 0;
	outline: none;
	background: white;
	cursor: inherit;
	display: block;
}


.view-pessoaform .crmExtraField {
    display: flex;
    gap: 1rem;
}
@media screen and (max-width: 767px) {
    .view-pessoaform .crmExtraField {
        display: block;
    }
}
.view-pessoaform .crmExtraField .control-group {
    flex: 1;
}

.view-pessoaform .input-group{
    position: relative;
}

.view-pessoaform .pessoa-edit.front-end-edit .input-group .btn-primary {
    font-size: 19px !important;
    border: none !important;
    top: 4px;
    color: var(--p-normal);
    background-color: transparent !important;
    position: absolute;
    z-index: 10;
    right: 3px;
}

.view-pessoaform .pessoa-edit.front-end-edit .input-group .btn-primary::before {
    content: ' ';
    position: absolute;
    width: 1px;
    height: 29px;
    background-color: var(--p-darker);
    display: inline-block;
    left: 0;
}

.view-pessoaform .input-group .form-control {
    border-radius: 3rem !important;
}

.view-pessoaform #fields-4 .control-group:last-child {
    flex: 2;
}
.view-pessoaform #jform_privacidade {
    zoom: 1.6;
}

.swal2-icon.swal2-warning, 
.swal2-icon.swal2-info, 
.swal2-icon.swal2-question {
    font-size: 1.5rem !important;
}

.view-pessoaform .adicionais .crmExtraField .control-label label{
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 500;
    border-bottom: 1px solid var(--p-normal);
}

.view-pessoaform .adicionais .crmExtraField .controls .checkboxes{
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
}
.view-pessoaform .adicionais .crmExtraField .controls fieldset .form-check{
    gap: 6px;
}

.view-pessoaform .adicionais .crmExtraField .controls fieldset .form-check .input[type="checkbox"]{
    margin-bottom: 5px;
}

.view-pessoaform .adicionais .crmExtraField .control-group{
    margin-bottom: 2rem;
}

.view-pessoaform .pessoa-edit .privacidade .row-fluid{

}
/* Ativa o Flexbox para o contêiner dos inputs dentro do fields-10 */
#fields-10 .controls {
    display: flex !important;
    flex-direction: column !important; /* Transforma a disposição horizontal dos filhos em vertical */
    align-items: center !important;    /* Centraliza os elementos no centro horizontal da tela */
}

/* Identifica a <div> contendo a descrição e coloca ela para cima */
#fields-10 .controls [id$="-desc"] {
    order: 1 !important; /* Determina que aparecerá em PRIMEIRO LUGAR */
    margin-bottom: 25px !important; /* Adiciona um espaço para desgrudar da checkbox que vem abaixo */
    text-align: justify !important; /* Melhora a aparência do texto da declaração */
}

/* Identifica o elemento <fieldset> que possui sua checkbox e coloca para baixo */
#fields-10 .controls fieldset {
    order: 2 !important; /* Determina que aparecerá no SEGUNDO LUGAR logo abaixo do texto */
}

/* Opcional: Centraliza também a "Label" principal de cima do texto caso ela fique desalinhada */
#fields-10 .control-label {
    margin-bottom: 20px !important;
}

/* --- DESTAQUE PARA O CHECKBOX "SIM" --- */

/* Cria uma "caixa de destaque" envolta do botão Sim */
#fields-10 .controls fieldset .form-check {
    display: inline-flex !important;
    align-items: center !important;
    background-color: #f4f8ff !important; /* Fundo levemente azulado */
    border: 2px solid #104094 !important; /* Borda azul com a logo */
    padding: 12px 40px !important; /* Espaçamento interno */
    border-radius: 8px !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
}

/* Efeito ao passar o mouse por cima do "Sim" */
#fields-10 .controls fieldset .form-check:hover {
    background-color: #e5efff !important;
    box-shadow: 0 4px 10px rgba(16, 64, 148, 0.15) !important;
}

/* Aumenta a caixinha do checkbox fisicamente */
#fields-10 .controls fieldset .form-check-input {
    width: 25px !important;
    height: 25px !important;
    margin-top: 0 !important;
    cursor: pointer !important;
}

/* Aumenta e formata o texto da Label "Sim" */
#fields-10 .controls fieldset .form-check-label {
    font-size: 1.4rem !important;
    font-weight: bold !important;
    color: #104094 !important;
    margin-left: 12px !important; /* Espaço entre a caixa e o texto */
    cursor: pointer !important;
    line-height: 25px !important;
}

/* --- DESTAQUE PARA OS BOTÕES "SIM / NÃO" (FILIAÇÃO) --- */

/* Aumenta o tamanho geral dos botões */
#fields-10 .btn-group-yesno .btn {
    padding: 12px 50px !important; /* Deixa os botões mais "gordinhos" e largos */
    font-size: 1.4rem !important;  /* Iguala com o tamanho de fonte do outro checkbox */
    font-weight: bold !important;
    text-transform: uppercase !important;
    transition: all 0.2s ease-in-out !important;
}

/* Melhora a curvatura das pontas para ficar mais suave (padrão pílula) */
#fields-10 .btn-group-yesno .btn:first-of-type {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}

#fields-10 .btn-group-yesno .btn:last-of-type {
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

/* Efeito extra quando o "Não" estiver checado (selecionado) ou passar o mouse */
#fields-10 .btn-group-yesno .btn-outline-danger:hover,
#fields-10 .btn-group-yesno .btn-check:checked + .btn-outline-danger {
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.3) !important; /* Sombra vermelha */
}

/* Efeito extra quando o "Sim" estiver checado (selecionado) ou passar o mouse */
#fields-10 .btn-group-yesno .btn-outline-success:hover,
#fields-10 .btn-group-yesno .btn-check:checked + .btn-outline-success {
    box-shadow: 0 4px 10px rgba(25, 135, 84, 0.3) !important; /* Sombra verde */
}

/* --- ORDENANDO INPUT E DESCRIÇÃO DA PRIVACIDADE --- */

/* Transforma a caixa .controls num conteiner Flex para trocar a ordem dos itens */
.view-pessoaform .privacidade .controls {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* Força a Descrição do aceite subir */
.view-pessoaform .privacidade .controls [id$="-desc"] {
    order: 1 !important;
    margin-bottom: 25px !important; /* Respiro entre a descrição e a marcação */
    text-align: justify !important; 
}

/* O form-check que contém o checkbox do Aceitar desce pra posição debaixo */
.view-pessoaform .privacidade .controls .form-check {
    order: 2 !important;
    margin-top: 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important; /* Espaço entre o checkbox e o texto novo */
    cursor: pointer !important;
}

/* Aumenta APENAS o checkbox físico em si para 50% maior */
.view-pessoaform .privacidade .controls .form-check-input {
    transform: scale(1.5) !important;
    margin: 0 !important;
    cursor: pointer !important;
}

/* --- MÁGICA EM CSS: Injetando um texto após o checkbox sem tocar no HTML --- */
.view-pessoaform .privacidade .controls .form-check::after {
    content: "Li e concordo com os termos de privacidade acima";
    font-size: 1.2rem !important; /* Tamanho do texto igual ao resto do form */
    font-weight: bold !important;
    color: #104094 !important; /* A mesma cor azul temática */
    cursor: pointer !important;
}

/* Deixa o Título de cima mais espaçado para não grudar na caixa de descrição */
.view-pessoaform .privacidade .control-label {
    margin-bottom: 15px !important;
}

/* --- DESTAQUE PARA O NOVO CAMPO: COMUNICAÇÕES INSTITUCIONAIS --- */

/* Transforma o contêiner em Flex para reordenar itens verticalmente */
.controls:has(#jform_comunicacoes_institucionais) {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; 
}

/* Joga o texto da descrição (Concordo com o envio de mensagens...) para a parte de CIMA */
.controls:has(#jform_comunicacoes_institucionais) [id$="-desc"] {
    order: 1 !important;
    margin-bottom: 20px !important;
    text-align: justify !important; 
}

/* Estilo do botão com a mesma carinha do Sim do fields-10 (jogado para baixo, order: 2) */
.controls:has(#jform_comunicacoes_institucionais) .form-check {
    order: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    background-color: #f4f8ff !important; 
    border: 2px solid #104094 !important; 
    padding: 12px 40px !important; 
    border-radius: 8px !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
}

/* Efeito Hover do botão (sombrinha) */
.controls:has(#jform_comunicacoes_institucionais) .form-check:hover {
    background-color: #e5efff !important;
    box-shadow: 0 4px 10px rgba(16, 64, 148, 0.15) !important;
}

/* Caixa do input aumentada para 25x25 */
#jform_comunicacoes_institucionais {
    width: 25px !important;
    height: 25px !important;
    margin: 0 !important;
    cursor: pointer !important;
}

/* Injeta a label "Sim" do lado da caixinha já que ela não foi gerada pelo CMS */
.controls:has(#jform_comunicacoes_institucionais) .form-check::after {
    content: "Sim" !important;
    font-size: 1.4rem !important;
    font-weight: bold !important;
    color: #104094 !important;
    margin-left: 12px !important;
    cursor: pointer !important;
    line-height: 25px !important;
}
