/* FORM */

/*COLS*/
/* WIDTH */
.col-1-5 {
    width: 12.5% !important;
}

/*Reseteamos la basura de bootstrap*/
.form-container .row {
    margin-left: 0;
    margin-right:0;
}

    .form-container .row > div, .form-container .row > label, .form-container .row > input{
        padding-left: 0;
        padding-right: 0;
    }

.input-col-1 {
    width: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.input-col-2 {
    width: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

    .input-col-2 > input {
        flex-grow: 1;
    }

.label-col-2 {
    padding-right: calc(var(--bs-gutter-x)* .5) !important;
}

.form-input-label {
    font-size: 0.82rem;
    margin: 0.5rem 0;
    font-weight: 700;
}

    .form-input-label.required::after {
        content: " *";
        color: var(--secondary-color);
    }

.accordion-text {
    font-weight: 500;
}

input[type="date"], .fake-reports-dates-input {
    width: 13.5rem;
}

/*END - COLS*/

/* INPUTS */
select {
    cursor: pointer;
}

.bootstrap-select .btn {
    width: 100% !important;
    background: var(--grey-input);
}

.bootstrap-select {
    background: var(--grey-input);
    border-radius: 5px;
}

    .bootstrap-select * {
        color: black !important;
    }

.std-h {
    height: 30px;
    min-height: 30px;
}

.textarea-h {
    min-height: 30px;
    resize: none;
    overflow: hidden;
}

.filter-option-inner-inner, .dropdown-item {
    font-size: 0.82rem;
}

.form-input {
    font-size: 0.82rem;
    margin: 0.5rem 0;
    outline: none;
    border: none;
    background: var(--grey-input);
    border-radius: 5px;
}

    .form-input:disabled {
        background-color: transparent;
        font-weight: 600;
        color: black;
        cursor: default !important;
    }

.cursor-default {
    cursor: default;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-text {
    cursor: text;
}

.informational-input {
    border: none;
    background: transparent;
    color: black;
    width: fit-content;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    padding-right: 5px;
    cursor: default;
}

.p-url, .p-url-regulation {
    color: var(--primary-color) !important;
    text-decoration: underline;
}

.p-title, .p-title-regulation {
    min-width: 5rem;
    max-width: 15rem;
}

.p-url:hover, .p-url-regulation:hover {
    color: var(--primary-color) !important;
    text-decoration: none;
}

    .informational-input[contenteditable="true"] {
        cursor: text;
    }

.informational-input:focus-visible, .p-title:focus-visible, .p-title-regulation:focus-visible, .p-url:focus-visible, .p-url-regulation:focus-visible {
    outline: none;
}

.form-input-file {
    outline: none;
    border: none;
}

.form-input-text {
    padding: 2px 12px;
}

.form-input-select {
    outline: none;
    border: none;
    border-radius: 5px;
}


#publication-form-file > #file-name {
    border: 0.1rem solid #e3e3e3;
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2rem;
    line-height: 2rem;
}

#btn_add_link, #btn_add_module {
    min-width: 9rem;
}

/* END - INPUTS */
/* TYPEAHEAD */
/* dropdown-item */
#div-IdRegulation > ul > li > a {
    background-color: #fff !important;
    color: var(--primary-color) !important;
}

    #div-IdRegulation > ul > li > a:hover {
        background-color: var(--primary-color) !important;
        color: #fff !important;
    }

/* dropdown-menu */
#div-IdRegulation > ul {
    border-radius: 0.5rem;
    box-shadow: 0rem 0.2rem 0.5rem rgba(0, 0, 0, 0.15);
    margin-top: 1.5rem;
    margin-left: -0.1rem;
    max-width: 30rem;
}

/* END - TYPEAHEAD */

/* END - FORM */

.modal-content {
    background-color: var(--grey-input);
    border-radius: 0.3rem;
    padding: 0.75rem;
}

.modal-header, .modal-body {
    background-color: white;
}

.modal-header {
    margin-bottom: 0.2rem;
}

.modal-fade {
    background-color: rgba(0, 0, 0, 0.7); /* Cambia la opacidad a un valor más alto */
    transition: opacity .15s linear;
}

.roles-list {
    list-style: none;
    min-height: 10rem;
    overflow-y: auto;
}

.role-item {
    padding: 5px 10px;
    margin: 5px 0;
    background: var(--grey-input);
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.82rem;
}

    .role-item:hover {
        background: var(--grey-hover);
    }

span.text-danger, label.text-danger {
    font-size: 0.82rem;
}