.personas-filtro{

}
/*.personas-filtro .col-lg-3 {*/
/*    flex: 0 0 23%;*/
/*    max-width: 23%;*/
/*}*/
.personas-filtro .filtro-flex-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 1rem;
}

.personas-filtro .filtro-flex-container .form-group {
    flex: 1 1 0;
    min-width: 0;
}

.personas-filtro .filtro-flex-container .form-button {
    flex: 0 0 auto;
    align-self: flex-end;
}
.personas-filtro .filtro-flex-container .search-wrapper {
    position:relative;
}
.personas-filtro .filtro-flex-container .icon {
    position: absolute;
    cursor:pointer;
    right: 0;
    top: 0;
    width: 50px;
    height: 51px;
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    background-color: #B2061C;
}
.personas-filtro .filtro-flex-container .icon i {
    margin:0;
    color:white;
}

.personas-filtro .card-body {
    background: white;
    padding-bottom: 0.25rem;
}
.personas-filtro .form-group{
    position: relative;
    flex: 1 1 100%;
}
.personas-filtro .form-group label{
    display:block;
    font-size: 1.125rem;
    font-weight:500;
    color:black;
}
.personas-filtro .form-control{
    border: 1px solid #00000033;
    padding: 25px 1.25rem 25px 1.25rem; !important
    font-weight: 500;
}
.personas-filtro .form-control::placeholder {
    font-weight: 400;
    font-family: "Work Sans";
    font-style: normal;
    line-height: normal;
    color:#CACACA;
    font-size:1rem;
}
.personas-filtro button{
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: #F40826;
    height: 51.6px;
}
.personas-filtro button:after {
    content: "";
    width: clamp(18px, 1.5625vw, 30px);
    height: 100%;
    background: #000;
    opacity: 0.27;
    position: absolute;
    right: 0;
    top: 0;
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    -webkit-clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}

.personas-filtro > button{
    display:none;
    width: 100%;
}

.personas-filtro .select2-container {
    width:100% !important;
}
.personas-filtro .select2-container--default .select2-selection--single{
    border: 1px solid #00000033;
    padding: 25px 1.25rem 25px 1.25rem;
    height: calc(1.5em + 0.75rem + 2px);
    border-radius: 0;
}
.personas-filtro .select2-container--default .select2-selection--single .select2-selection__rendered{
    position: relative;
    transform: translateY(-50%);
    color: #000;
    font-weight: 400;
    font-size: 16px;
    padding-left: 0;
}
.personas-filtro .select2-container--default .select2-selection--single .select2-selection__arrow{
    height: 51px;
    width: 50px;
    position: absolute;
    top: 0;
    right: 0;
    background: #B2061C;
}
.personas-filtro .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color:white transparent transparent transparent;
    border-width: 7px 7px 0 7px;
    margin-left: -5px;
}

.personas-filtro .select2-dropdown{
    border: 0;
    box-shadow: 0px 5px 5px rgba(0,0,0,0.1);
}
.personas-filtro .select2-results__option{
    color: #000;
}
.select2-container--default .select2-results__option[aria-selected=true]{
    /*background: color-mix(in srgb, var(--e-global-color-secondary) 20%, transparent);*/
    background: color-mix(in srgb, var(--andersen-rojo, #B2061C) 20%, transparent);
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    /*background-color: var(--e-global-color-secondary);*/
    background-color: var(--andersen-rojo, #B2061C);
    color: white;
}

.personas-filtro .custom-control {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 1.375rem;
    padding-left: 2rem;
}
.personas-filtro .custom-control-inline {
    display: inline-flex;
    margin-right: 1rem;
}
.personas-filtro .custom-control-input {
    position: absolute;
    left: 0;
    z-index: -1;
    width: 1.375rem;
    height: 1.375rem;
    opacity: 0;
    cursor: pointer;
}
.personas-filtro .custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
    font-weight: 500;
    cursor: pointer;
}
.personas-filtro .custom-control-label::before {
    position: absolute;
    top: -3px;
    left: -2rem;
    display: block;
    width: 1.375rem;
    height: 1.375rem;
    pointer-events: none;
    content: "";
    /*background: var(--e-global-color-secondary);*/
    background: var(--andersen-rojo, #B2061C);
    border-radius: 4px;
}
.personas-filtro .custom-control-label::after {
    position: absolute;
    top: -3px;
    left: -2rem;
    display: block;
    width: 1.375rem;
    height: 1.375rem;
    content: "";
    background: no-repeat 50% / 50% 50%;
}
.personas-filtro .custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
}
.personas-filtro-container .tlistado {
    background: var(--andersen-rojo, #B2061C);
}
.personas-filtro-container .tlistado .titulo_b_a {
    color:white;
}

/* Medium devices (vertical tablets) */
@media (max-width: 991px) {

}
@media (min-width: 767px) and (max-width: 1023px) {
    .personas-filtro .filtro-flex-container {
        flex-wrap: wrap;
    }
    .personas-filtro .filtro-flex-container .form-group {
        flex: 0 0 calc((100% - 1rem) / 2);
        min-width: 0;
    }
}
/* Small devices (landscape phones)  */
@media (max-width: 767px) {

}

/* Small devices (vertical phones) */
@media (max-width: 575px) {
    .personas-filtro .filtro-flex-container {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .personas-filtro .filtro-flex-container .form-group {
        width: 100%;
        flex: 0 0 auto;
    }

    .personas-filtro .filtro-flex-container .form-button {
        width: 100%;
        flex: 0 0 auto;
        align-self: stretch;
    }
}