/*:: B O T O N E S ::*/

.contenedor-botones {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 5px 0;
}

.metodo-boton-acentuado {
    float: left;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary);
    color: white;
    padding: .375rem .75rem;
    text-decoration: none !important;
    border-radius: .5rem;
    text-align: center;
    vertical-align: middle;
    font-weight: 400;
    font-size: .9375rem;
    line-height: 1.5;
    border: 1px solid #fff0;
    cursor: pointer;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, filter 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.metodo-boton-acentuado:hover {
    filter: brightness(90%);
    color: white;
}

.metodo-boton-acentuado > img {
    height: 1rem;
}

.metodo-boton-acentuado > i {
    font-size: 1.4rem;
}

.metodo-boton-sigiloso {
    display: inline-block;
    background-color: white;
    color: var(--primary);
    padding: .375rem .75rem;
    text-decoration: none;
    border-radius: .5rem;
    text-align: center;
    vertical-align: middle;
    font-weight: 400;
    font-size: .9375rem;
    line-height: 1.5;
    border: 1px solid var(--primary);
    cursor: pointer;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.metodo-boton-sigiloso:hover {
    background-color: #ececec;
}

.metodo-boton-sigiloso:focus {
    outline: 1px solid #0084ff !important;
}

.metodo-boton-bloque {
    box-sizing: border-box !important;
    text-decoration: none !important;
    display: grid;
    background-color: white;
    grid-gap: 10px;
    color: black;
    padding: .375rem .75rem;
    border-radius: .5rem;
    text-align: center;
    vertical-align: middle;
    font-weight: 400;
    font-size: .9375rem;
    line-height: 1.5;
    border: 1px solid #fff0;
    cursor: pointer;
    align-items: center;
    grid-template-columns: 25px 1fr;
    margin-bottom: 10px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.metodo-boton-bloque:hover {
    background-color: var(--primary);
    color: white;
    text-decoration: none !important;
}

.metodo-boton-bloque > i {
    font-size: 1.25rem;
}

.metodo-boton-bloque > p {
    text-align: left;
    font-weight: 400;
    font-size: .9375rem;
    line-height: 1.5;
    margin: 0;
}

/*:: M E N Ú S · N A V E G A C I Ó N ::*/

.secondary-navigation .nav-tabs > li {
    opacity: 0;
}

/*:: M E T O D O · M O D A L ::*/

.metodo-modal-overlay {
    position: fixed;
    top: 0; /* ocupa todo el viewport */
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* efecto oscurecido */
    z-index: 9999; /* por encima de todo */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    opacity: 0;
}

.metodo-modal-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow-y: auto;
    margin: 0;
    padding: 0;
}

.metodo-modal-container {
    background: #fff;
    max-width: 75%;
    margin: 25px auto;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    opacity: 0;
}

.metodo-modal-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-radius: 4px 4px 0 0;
    height: 30px;
}

.metodo-modal-boton-cerrar {
    cursor: pointer;
    background: transparent;
    border: none;
    font-size: 30px;
    line-height: 26px;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 3px 0 0;
    transition: background .25s, color .25s;
}

.metodo-modal-boton-cerrar:hover {
    background: var(--primary);
    color: white;
}

.metodo-modal-contentwrapper {
    padding: 0 30px 30px 30px;
}

/*:: O T R O S ::*/
#intro > .boxaligncenter > .no-overflow embed {
    min-height: 1000px;
}

.main-inner {
    max-width: 95% !important;
}

#page {
    background-image: url('/local/metodo_css/pix/page_background.png');
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
}

.btn-footer-popover {
    display: none !important;
}

.course-summary > .no-overflow .img-responsive {
    margin: 0;
}

.dashboard-card {
    border: 2px solid #0f47ad21;
}

.alert > .btn-close {
    background: none;
}

#page-wrapper {
    height: auto;
}

#topofscroll, #page-content, #region-main-box, #region-main {
    background-color: #ffffff70 !important;
}

.format-tabtopics .tabtopics-tab-body .format_tabtopics-tabs .format_tabtopics-item .format_tabtopics-link {
    transition: .25s;
}

.format-tabtopics .tabtopics-tab-body .format_tabtopics-tabs .format_tabtopics-item .format_tabtopics-link:hover:not(.active):not(.add) {
    color: black;
    font-weight: bold;
}

.atto_image_button_text-bottom {
    border-radius: 0 !important;
}

/*:: F O O T E R ::*/
.footer-columns .logininfo,
.footer-columns .mobilelink,
.footer-columns .tool_usertours-resettourcontainer,
.footer-columns .contact,
.footer-columns .socialnetworks,
.footer-columns .stores {
    display: none !important;
}

.footer-columns .supportemail {
    display: none;
}

.footer-container-popover {
    display: none;
}

.frontpage-course-list-enrolled .paging-morelink {
    display: none;
}

.drawers > footer > .footer-columns > .row > .column-right {
    display: none;
}

/*:: T A B L A S ::*/

.metodo-tabla {
    border: none;
    width: 100%;
    margin-bottom: 1rem;
    color: #1d2125;
    border-radius: 0.5rem;
    outline: 0.1rem solid #727272;
}

.metodo-tabla > thead {
    background-color: #dee2e6;
    border-radius: .5rem .5rem 0 0;
}

.metodo-tabla > thead > tr {

}

.metodo-tabla > thead > tr > th {
    text-align: center;
    align-content: center;
    font-size: 1rem;
    padding: 10px 5px;
    outline: 1px solid #b6b6b6;
}

.metodo-tabla > tbody > tr {

}

.metodo-tabla > tbody > tr:hover {
    outline: 2px solid var(--primary);
}

.metodo-tabla > tbody > tr:hover {
    outline: 2px solid var(--primary);
}

.metodo-tabla > tbody > tr.metodo-row-subtabla {
    position: relative;
}

.metodo-tabla > tbody > tr.metodo-row-subtabla::after {
    content: "";
    position: absolute;
    bottom: 40%;
    left: 5px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 0;
    border-color: #ffffff00 var(--primary) #ffffff00 #ffffff00;
    transform: rotate(135deg);
    cursor: pointer;
}

.metodo-tabla > tbody > tr > td {
    text-align: center;
    align-content: center;
    font-size: .9rem;
    border: 1px solid #dee2e6;
    padding: 5px;
    border-radius: 0 !important;
}

.metodo-tabla > thead > tr:first-child > th:first-child {
    border-radius: .5rem 0 0 0;
}

.metodo-tabla > thead > tr:first-child > th:last-child {
    border-radius: 0 .5rem 0 0;
}

.metodo-tabla > tbody > tr > td.metodo-tabla-celda-clicable {
    position: relative;
    cursor: pointer;
}

.metodo-tabla > tbody > tr > td.metodo-tabla-celda-clicable::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 0;
    border-color: transparent var(--primary) #ffffff00 transparent;
}

.metodo-tabla > tbody > tr > td.metodo-tabla-celda-clicable::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    opacity: .2;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0); /* transparente por defecto */
    transition: background-color 0.3s;
    pointer-events: none;
    z-index: 1; /* para quedar sobre el contenido del botón */
}

.metodo-tabla > tbody > tr > td.metodo-tabla-celda-clicable:hover {
    outline: 2px solid var(--primary);
    filter: brightness(75%);
}

.metodo-tabla > tbody > tr > td.metodo-tabla-celda-clicable:hover::before {
    background-color: var(--primary);
}

.metodo-tabla > tbody > tr.metodo-contenedor-subtabla > td {
    padding: 0;
}

.metodo-tabla > tbody > tr.metodo-contenedor-subtabla:hover {
    outline: none !important;
}

.metodo-tabla > tbody > tr > .alert {
    position: inherit !important;
}

.metodo-tabla > tbody > tr > td > .metodo-boton-acentuado {
    float: none;
}

.metodo-tabla > tfoot {
    background-color: #dee2e6;
    border-radius: 0 0 .5rem .5rem;
}

.metodo-tabla > tfoot > tr > td {
    text-align: center;
    align-content: center;
    font-size: .9rem;
    border: 1px solid #dee2e6;
    padding: 5px;
    border-radius: 0 !important;
}

.metodo-tabla > tfoot > tr > td:first-child {
    border-radius: 0 0 0 .5rem;
}

.metodo-tabla > tfoot > tr > td:last-child {
    border-radius: 0 0 .5rem 0;
}

/* Subtablas */

.metodo-tabla table {
    border: none;
    width: 100%;
    color: #1d2125;
    background-color: #c9c9c9;
    outline: 2px solid black;
}

.metodo-tabla table::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    opacity: .2;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s;
    pointer-events: none;
    z-index: 1;
}

.metodo-tabla table > thead {
    background-color: #dee2e6bf;
}

.metodo-tabla table > thead > tr {

}

.metodo-tabla table > thead > tr > th {
    text-align: center;
    align-content: center;
    font-size: .9rem;
    padding: 10px 5px;
}

.metodo-tabla table > tbody > tr {

}

.metodo-tabla table > tbody > tr:hover {
    outline: 2px solid var(--primary);
}

.metodo-tabla table > tbody > tr > td {
    text-align: center;
    align-content: center;
    font-size: .8rem;
    border: 1px solid #dee2e6;
    padding: 5px;
    border-radius: 0 !important;
}

.metodo-tabla table > tbody > tr > .alert {
    position: inherit !important;
}

.metodo-tabla table > tbody > tr > td > .metodo-boton-acentuado {
    float: none;
}

.metodo-tabla table > tfoot {
    background-color: #dee2e6;
}

.metodo-tabla table > tfoot > tr > td {
    text-align: center;
    align-content: center;
    font-size: .9rem;
    border: 1px solid #dee2e6;
    padding: 5px;
    border-radius: 0 !important;
}

/* Player header */
.path-mod-scorm #page-header {
    margin: 1rem auto 0 auto;
}

.path-mod-scorm #page-header .page-context-header {
    padding: 0;
}

.path-mod-scorm #page-header .activityiconcontainer {
    height: 35px;
    width: 35px;
    padding: 0;
}

.path-mod-scorm #page-header .page-header-headings > h1 {
    font-size: calc(0.3rem + 1.17vw);
}

.path-mod-scorm #region-main {
    padding-top: 0;
}

@media (min-width: 576px) {
    #page-wrapper #page {
        min-height: calc(100vh - 130px);
    }
}