#table_parent,
#results {
    overflow-x: auto;
    overflow-y: scroll;
    position: relative;
}
.tableWithMargin {
    margin-top: 20px;
}
table.table_responsive {
    margin-bottom: 6px;
    min-width: 100%;
}
table.table_responsive thead tr th {
    color: #010101;
    text-transform: uppercase;
    padding: 0 10px 8px 10px;
    vertical-align: bottom;
}
table.table_responsive tfoot tr th input,
table.table_responsive tfoot tr th select {
    border: 0 solid transparent;
    border-radius: 5px;
    padding: 4px 0;
    color: #010101;
}
table.table_responsive tfoot tr th select#card_created_at {
    max-width: 112px;
}
table.table_responsive tfoot tr th input {
    padding: 4px 0 4px 4px;
    margin-right: -4px;
}
table.table_responsive tbody tr td {
    border: 1px solid #9d9d9c;
    border-width: 1px 1px 0 0;
    padding: 4px 6px;
    position: relative;
}
table.table_responsive tbody tr td:last-child {
    border-width: 1px 1px 1px 0;
}
table.table_responsive .option_buttons_container {
    overflow: scroll;
}
table.table_responsive .option_buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
table.table_responsive .button_container {
    display: grid;
    grid-auto-flow: row;
    grid-template-rows: 18px;
    align-items: center;
    height: 50px;
    width: 70px;
    padding: 7px 6px;
    font-size: 12px;
}
table.table_responsive .button_container span.name {
    align-self: flex-end;
}
table.table_responsive .button_container a.btnStdy {
    background-color: transparent;
    color: #010101;
}
.button_container > button.btnStdy {
    border: none;
    background: transparent;
}
.button_container > button.btnStdy.delete-report.reportNotAvailable {
    color: #9d9d9c;
}
table.table_responsive [class^="imgcon-"] {
    background-image: url(../../../../img/osirix_icon_black.svg);
    width: 25px;
    height: 25px;
    background-size: 25px 25px;
}
table.table_responsive .open_buttons_modal {
    display: none;
}
div#filtersMenu select,
div#filtersMenu input {
    border: 2px solid #9d9d9c;
    border-radius: 12px;
    background-color: #f6f6f6;
    font-weight: 600;
    padding: 6px 0 6px 4px;
    position: relative;
}
div#filtersMenu select,
div#filtersMenu input,
div#filtersMenu input::placeholder {
    color: #010101;
}
div#filtersMenu button#studies_search_by_date {
    border: 2px solid #9d9d9c;
    border-radius: 12px;
    padding: 5px 8px 4px 8px;
    color: #010101;
    background-color: #f6f6f6;
}
div#filtersMenu button#studies_search_by_date:hover {
    background-color: #9d9d9c;
    color: #ffffff;
}
table.table_responsive+div.row-fluid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: self-start;
}
table.table_responsive+div.row-fluid .dataTables_info {
    width: 80px;
    font-size: 14px;
    color: #010101;
}
div.dataTables_paginate ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}
div.dataTables_paginate ul li {
    width: 24px;
    height: 23px;
    list-style: none;
    background-color: #d0d0d0;
    border: 2px solid #9d9d9c;
    border-width: 2px 1px;
    padding: 2px 4px;
    overflow: hidden;
    font-weight: 300;
}
div.dataTables_paginate ul li.active {
    font-weight: 600;
}
div.dataTables_paginate ul li a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 0;
    color: #010101;
    width: calc(100% + 8px);
    margin-left: -4px;
    height: calc(100% + 4px);
    margin-top: -2px;
}
div.dataTables_paginate ul li:first-child {
    border-width: 2px 1px 2px 2px;
    border-radius: 12px 0 0 12px;
}
div.dataTables_paginate ul li:last-child {
    border-width: 2px 2px 2px 1px;
    border-radius: 0 12px 12px 0;
}
div.dataTables_paginate ul li:hover {
    background-color: #010101;
}
div.dataTables_paginate ul li:hover a {
    color: #ffffff;
}
div#filtersMenu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
button.btn-round {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #9d9d9c !important;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, .5);
    padding: 3px 6px;
}
.btn.btn-alert {
    color: #fff;
    background-color: #d0d0d0;
    background-image: none;
}
table.table_responsive a,
input.btn[type=submit] {
    color: #010101;
}
.disable {
    pointer-events: none;
    cursor: not-allowed;
}
article .advertisement {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
article .advertisement h4 {
    margin: 0 0 6px 0;
    font-size: 17px;
    text-align: center;
    font-weight: bolder;
}
article .advertisement p {
    margin: 4px 0 16px 0;
    font-weight: 600;
    font-size: 14px;
}
article .report_info {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 22px;
    margin-top: 12px;
}
article .report_info .data_name {
    font-weight: 600;
    align-self: center;
}
article .report_info .data_value {
    font-style: italic;
    align-self: center;
}
ul#attached_list {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0;
}
ul#attached_list li {
    display: grid;
    grid-template-columns: 1fr 12fr 2fr;
    grid-auto-rows: 30px;
}
ul#attached_list li i.fa-solid {
    font-size: 14px;
    align-self: center;
    border: 1px solid #010101;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0 10px 0 0;
    background-color: #f6f6f6;
}
ul#attached_list li a {
    align-self: center;
    text-decoration: none;
    color: #010101;
    font-style: italic;
    font-weight: 600;
    margin-right: 4px;
}
ul#attached_list li button {
    border: 1px solid #9d9d9c;
    border-radius: 10px;
}
ul#attached_list li button:hover {
    background-color: #9d9d9c;
}
.file-upload-wrapper input[type=file] {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
.file-upload-wrapper input[type=file] + label {
    font-size: 1.25em;
    font-weight: 700;
    color: white;
    background-color: #f6f6f6;
    display: inline-block;
    cursor: pointer;
    position: relative;
    padding: 6px 10px;
    width: calc(100% - 20px);
    border: 2px solid #010101;
    border-radius: 10px;
    color: #010101;
}
.file-upload-wrapper input[type=file] + label::before {
    font-family: 'Font Awesome 6 Free';
    content: "\f0ee";
    margin-right: 10px;
}
.file-upload-wrapper input[type=file]:focus + label,
.file-upload-wrapper input[type=file] + label:hover {
    background-color: #010101;
    color: #f6f6f6;
}
.file-upload-wrapper input[type=file].has-error + label {
    border-color: #9d9d9c;
    background-color: #9d9d9c;
}
.file-upload-wrapper input[type=file].has-error + label::before {
    content: "\f071";
}
/** Assignments */
.head_section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
button.btn-rounded {
    background-color: #d0d0d0;
    border: 1px solid #9d9d9c;
    border-radius: 12px;
    padding: 4px 10px;
    color: #010101;
    margin-left: 10px;
    width: auto;
    letter-spacing: normal;
    font-weight: 500;
}
button.btn-rounded:not([disabled]):hover {
    background-color: #9d9d9c;
}
button.btn-rounded[disabled] {
    color: #9d9d9c;
}
div#study_information {
    display: grid;
    grid-template-columns: 1fr;
}
div#study_information .box {
    display: grid;
}
div#study_information .box .box_head {
    font-weight: 400;
}
div#study_information .box .box_value {
    font-weight: 200;
}
.search_container {
    display: grid;
    grid-template-columns: 1fr;
}
.search_container .box {
    display: grid;
    grid-template-columns: 1fr 3fr;
    width: 98%;
    margin: 0 auto 6px auto;
}
.search_container .box .search-inputs {
    border: 1px solid #9d9d9c;
    border-radius: 10px;
    padding: 4px 8px;
}
.search_container button#search-user,
.search_container + button#search-study {
    width: 100%;
    border: 1px solid #9d9d9c;
    border-radius: 12px;
    padding: 6px 2px;
}
div#table_assignments_study_container {
    width: 100%;
    margin-top: 20px;
    position: relative;
    overflow-x: auto;
    overflow-y: scroll;
}
#results tbody {
    background-color: #f6f6f6;
}
#table-results .deny_btn {
    background-color: #d0d0d0;
}
#table-results .deny_btn:hover {
    background-color: #010101;
    color: #ffffff;
}
div#table_options_foot {
    width: 100%;
}
div#table_options_foot .row-fluid {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}
div#table_options_foot .row-fluid div {
    margin-bottom: 6px;
}
div#table_options_foot select.form-control {
    width: 100%;
    border: 1px solid #d1d1dc;
    border-radius: 12px;
    padding: 6px 8px;
}
td.assign_table_btn_column {
    text-align: center;
}
td.assign_table_btn_column > a {
    margin: 0 auto;
    padding: 5px 16px;
}

.tooltipForDate {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: normal; /* Permitir saltos de línea */
    max-width: 200px;
    z-index: 10;
}
.tooltipForDate::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}
.tooltipForDate.show {
    visibility: visible;
    opacity: 1;
}
.dates_tooltip {
    cursor: pointer;
    display: inline-block;
    width: 100%;
}

/** Media query para únicamente móvil y tablet */
@media only screen and (max-width: 991px) {
    div#study_information .box {
        border: 1px solid #010101;
        border-width: 1px 1px 0 1px;
    }
    div#study_information .box:first-child {
        border-radius: 12px 12px 0 0;
    }
    div#study_information .box:last-child {
        border-width: 1px;
        border-radius: 0 0 12px 12px;
    }
    div#study_information .box .box_head {
        padding: 4px 6px;
        background-color: #d0d0d0;
    }
    div#study_information .box:first-child .box_head {
        border-radius: 12px 12px 0 0;
    }
    div#study_information .box .box_value {
        padding: 4px 6px;
        min-height: 15px;
    }
}


/** Media query para únicamente móvil */
@media only screen and (max-width: 768px) {
    #table_studies_wrapper {
        position: relative;
        margin-top: 10px;
    }
    table.table_responsive {
        display: flex;
        flex-direction: row;
        min-height: 200px;
    }
    table.table_responsive thead {
        background-color: #9d9d9c;
    }
    table.table_responsive tfoot {
        position: absolute;
        top: 0;
        left: 0;
        /*margin-top: 15px;*/
    }
    table.table_responsive#table_assignments_study tfoot {
        margin-top: 5px;
    }
    table.table_responsive thead tr,
    table.table_responsive tfoot tr {
        position: sticky;
        display: grid;
        grid-auto-rows: 80px;
        /*grid-auto-columns: 90px;*/
        grid-auto-columns: 114px;
        font-size: 12px;
    }
    table.table_responsive tbody {
        display: flex;
        flex-direction: row;
        overflow-y: scroll;
    }
    table.table_responsive tbody tr {
        display: grid;
        grid-auto-rows: 80px;
        grid-auto-columns: 170px;
    }
    table.table_responsive thead tr th {
        align-self: flex-start;
        padding-top: 4px;
        color: #ffffff;
        border-top: 1px solid #ffffff;
    }
    table.table_responsive thead tr th:first-child {
        border-top: unset;
    }
    table.table_responsive tfoot tr th {
        align-self: flex-end;
        padding-bottom: 8px;
    }
    table.table_responsive tfoot tr th * {
        max-width: 78px;
        text-align: center;
    }
    table.table_responsive tbody tr td {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    /*table.table_responsive .option_buttons {
        display: none;
    }
    table.table_responsive .open_buttons_modal {
        display: block;
    }*/
    dialog#buttonsContainer {
        width: 90%;
    }
    dialog#buttonsContainer article {
        padding: 1rem 0.5rem;
    }
    dialog#buttonsContainer article div.option_buttons {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 70px;
    }
    dialog#buttonsContainer article div.option_buttons .button_container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        text-align: center;
    }
    dialog#buttonsContainer article div.option_buttons .button_container [class^="imgcon-"] {
        background-image: url(../../../../img/osirix_icon_black.svg);
        width: 25px;
        height: 25px;
        background-size: 25px 25px;
    }
    dialog#buttonsContainer article div.option_buttons a.btnStdy {
        background-color: transparent;
        color: #010101;
    }
    dialog#buttonsContainer article div.option_buttons .button_container span.name {
        font-size: 12px;
        margin-bottom: 10px;
    }
    table.table_responsive .button_container span.name {
        align-self: flex-end;
        font-size: 10px;
    }
    div#filtersMenu select#other_date {
        width: 100%;
    }
    div#filtersMenu > * {
        margin-bottom: 4px;
    }
    article .report_info .data_name {
        align-self: flex-end;
        text-decoration: underline;
        margin-bottom: 4px;
    }
    article .report_info .data_value {
        align-self: flex-start;
        margin: 2px 0 0 8px;
    }
    div#filtersMenu input[type=date].withoutdata::after {
        content: "dd/mm/aaaa";
        width: 80%;
        height: 92%;
        background-color: #f6f6f6;
        position: absolute;
        top: 0px;
        left: 4px;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        border: 1px solid transparent;
        border-radius: 12px;
    }
}

/* Media query para tablets */
@media only screen and (min-width: 768px) {
    /* Estilos específicos para tablets */
    table.table_responsive tbody tr td {
        border: 1px solid #9d9d9c;
        border-width: 1px 1px 0 1px;
    }
    table.table_responsive tfoot {
        display: table-header-group;
        background-color: #9d9d9c;
        border: 1px solid #9d9d9c;
        border-width: 1px 1px 0 1px;
    }
    table.table_responsive tfoot tr th {
        padding: 6px 10px;
    }
    table.table_responsive tbody tr:last-child td {
        border-width: 1px;
    }
    div#filtersMenu {
        justify-content: flex-end;
    }
    div#filtersMenu select,
    div#filtersMenu input {
        margin-right: 10px;
    }
    article .report_info {
        grid-template-columns: 1fr 2fr;
        grid-auto-rows: 26px;
    }
    /** Assignments */
    div#study_information .box {
        grid-template-columns: 1.5fr 2fr;
    }
    div#study_information .box:first-child .box_head {
        border-radius: 12px 0 0 0;
    }

    div#study_information .box:last-child .box_head {
        border-radius: 0 0 0 12px;
    }
    .search_container {
        grid-template-columns: repeat(2, 1fr);
    }
    .search_container button#search-user {
        grid-column: span 2;
    }
    .search_container.search_study_container {
        grid-auto-flow: column;
        grid-template-columns: unset;
        grid-template-rows: repeat(3, 1fr);
    }
    table.table_responsive.bigger_padding tbody tr td {
        padding: 10px 6px;
    }
    div#table_options_foot .row-fluid {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }
    div#table_options_foot select.form-control {
        max-width: 220px;
    }
}

/* Media query para desktops pequeños */
@media only screen and (min-width: 992px) {
    /* Estilos específicos para desktops pequeños */

    /** Assignments */
    div#study_information {
        grid-template-columns: repeat(3, 1fr);
        border: 1px solid black;
        border-radius: 12px;
        padding: 6px 10px;
        background-color: #d0d0d0;
    }
    div#study_information .box {
        margin-bottom: 8px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    div#study_information .box .box_head:after {
        content: ":";
        margin: 0 8px 0 2px;
    }
    table.table_responsive+div.row-fluid {
        width: calc(100% - 40px);
        margin: 0 auto;
        position: fixed;
    }
}

/* Media query para desktops grandes */
@media only screen and (min-width: 1200px) {
    /* Estilos específicos para desktops grandes */
}