.modal-dialog {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    max-width: 1000px !important;
}

.modal-content.filter-list-sec {
    max-width: 100%;
}

.modal.recursos-sec .filter-list-sec .form ul:nth-child(2)>li:first-child {
    height: 70%;
}

.modal.recursos-sec .filter-list-sec .form ul:nth-child(2)>li:nth-child(2) {
    height: auto;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.modal.recursos-sec .filter-list-sec .form ul:nth-child(2)>li:nth-child(2) p.txt {
    position: static;
    transform: none;
}

.recursos-sec .filter-list-sec .form ul li label input[type="checkbox"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
}

.recursos-sec .filter-list-sec .form ul li label span {
    color: #555C67;
    cursor: pointer;
    letter-spacing: -0.3px;
    font-family: 'Montserrat-Regular';
    font-size: 14px;
    position: relative;
    float: left;
    width: auto;
    line-height: 20px;
    margin-bottom: 0px;
    text-align: left;
}

.recursos-sec .filter-list-sec .form ul li label::before {
    background: none;
    content: "";
    height: 20px;
    left: 0;
    position: absolute;
    top: 0px;
    transition: all 0.3s ease-in-out 0s;
    width: 20px;
    border-radius: 0px;
    z-index: 9;
    cursor: pointer;
}

.recursos-sec .filter-list-sec .form ul li label:has(input[type="checkbox"]:checked)::before {
    content: "";
    background: #006cb7;
}

.recursos-sec .filter-list-sec .form ul li label::after {
    background: #FFFFFF;
    content: "";
    width: 20px;
    height: 20px;
    left: 0;
    position: absolute;
    top: 0px;
    border-radius: 0px;
    border: 1px solid #006CB7;
}