.custom-red-theme .main-content {
    padding: 0px;
}

#botonSalirSesionDesconectar,
.quiz-actions .btn {
    width: auto;
    margin: auto;
    padding: 8px;
    border-radius: .65rem;
}

.fs-4 {
    font-size: 1.3rem !important;
}

.card-title .fs-4 {
    font-size: 1.3rem !important;
}

p:empty,
p:blank {
    display: none;
}

button.navbar-toggler {
    border: 2px solid #fff;
}

#diagnosis-summary .btn-primary,
.start-grading,
.bfinalizar {
    padding: 8px !important;
}

.custom-card-radius .btn-primary,
.actions .btn-primary,
.custom-btn-block .btn-primary,
.btn-primary,
#finalize-test.btn-primary,
.custom-dashboard-area .btn-primary,
#diagnosis-summary .btn-primary {
    color: #fff;
    background-color: #adb039;
    border-color: #adb039;
    border-radius: .65rem;
    padding: 14px 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075)
}

.path-frontpage footer {
    margin-top: 20px;
}

.custom-desktop-footer-logo {
    margin-bottom: -20px;
}

footer {
    margin-bottom: 20px;
}

.modal-backdrop,
.modal-backdrop.show {
    --bs-backdrop-opacity: 0.5 !important;
}

#quiz-stats .fs-4 {
    font-size: 1.3rem !important
}

#quiz-question {
    margin: 3rem auto;
}

.custom-inner-page-yellow-block .custom-inner-content {
    background-color: #fdfcfb;
    margin: 3rem auto !important;
}

table .fs-4 {
    font-size: 1.3rem !important;
}

.btn-interstitial-continue.btn-primary:hover,
#finalize-test.btn-primary:hover,
#diagnosis-summary .btn-primary:hover,
.custom-card-radius .btn-primary:hover,
.custom-dashboard-area .btn-primary:hover,
.actions .btn-primary:hover,
.custom-btn-block .btn-primary:hover,
.btn-primary:hover,
.modal-footer .btn-primary:hover {
    color: #fff;
    background-color: #87892e;
    border-color: #87892e
}

.btn-check:active+.btn.btn-primary,
.btn-check:checked+.btn.btn-primary,
.btn.btn-primary.active,
.btn.btn-primary.show,
.btn.btn-primary:active:not(.btn-active),
.btn.btn-primary:focus:not(.btn-active),
.btn.btn-primary:hover:not(.btn-active),
.show>.btn.btn-primary {
    color: #fff;
    border-color: #87892e;
    background-color: #87892e!important
}

.custom-card-radius .btn-secondary,
#diagnosis-summary .btn-secondary #finalize-test.btn-secondary,
.custom-btn-block .btn-secondary,
.btn-secondary,
.custom-dashboard-area .btn-secondary,
.actions .btn-secondary {
    color: #fff;
    border-radius: .65rem;
    padding: 14px 10px;
    background-color: #eba302;
    border-color: #eba302;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075)
}

.modal-footer .btn-primary {
    color: #fff;
    background-color: #adb039;
    border-color: #adb039;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075)
}

.modal-footer .btn-secondary {
    color: #fff;
    background-color: #eba302;
    border-color: #eba302;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075)
}

.custom-text-center-bold {
    font-family: 'Poppins', Arial, Helvetica, sans-serif !important;
}

.node__content {
    margin-top: 0px;
    font-size: var(--bs-body-font-size);
}

#finalize-test.btn-secondary:hover,
#diagnosis-summary .btn-secondary:hover,
.custom-card-radius .btn-secondary:hover,
.custom-btn-block .btn-secondary:hover,
.btn-secondary:hover,
.custom-dashboard-area .btn-secondary:hover,
.actions .btn-secondary:hover,
.modal-footer .btn-secondary:hover {
    color: #fff;
    background-color: #c08500;
    border-color: #c08500
}

.btn-check:active+.btn.btn-secondary,
.btn-check:checked+.btn.btn-secondary,
.btn.btn-secondary.active,
.btn.btn-secondary.show,
.btn.btn-secondary:active:not(.btn-active),
.btn.btn-secondary:focus:not(.btn-active),
.btn.btn-secondary:hover:not(.btn-active),
.show>.btn.btn-secondary {
    color: #fff;
    border-color: #c08500;
    background-color: #c08500!important
}

.fs-5.fw-semibold {
    font-size: 1.1rem!important
}

.custom-red-theme .nav-item nav-link .active {
    text-decoration: underline;
}

.custom-red-theme .nav-link:focus,
.custom-red-theme .nav-link:hover {
    color: red;
    border-bottom: 2px solid white;
}

.custom-red-theme .nav-link:active {
    border-bottom: 2px solid white;
}

.custom-red-theme .nav-link.active {
    border-bottom: 2px solid white;
}

.custom-red-theme .nav-link {
    padding: 0;
    border-bottom: 2px solid transparent;
}

.nav-enlace {
    border-bottom: 2px solid transparent;
    text-decoration: none;
    color: white;
}

.nav-enlace:focus,
.nav-enlace:hover {
    color: white;
    border-bottom: 2px solid white;
}

.nav-enlace.active {
    border-bottom: 2px solid white;
}

.form-switch {
    padding-left: 3.75rem
}

.form-switch .form-check-input {
    width: 3.25rem;
    margin-left: -3.75rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
    background-position: left center;
    border-radius: 3.25rem;
    transition: background-position .15s ease-in-out
}

.custom-dashboard-count-view-mob {
    display: none;
}

@media (prefers-reduced-motion:reduce) {
    .form-switch .form-check-input {
        transition: none
    }
}

.form-switch .form-check-input:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23B5B0A1'/%3e%3c/svg%3e")
}

.form-switch .form-check-input:checked {
    background-position: right center;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23FFFFFF'/%3e%3c/svg%3e")
}

.form-check:not(.form-switch) .form-check-input[type=checkbox] {
    background-size: 60% 60%
}

.form-switch.form-check-solid .form-check-input {
    height: 2.25rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ffffff'/%3e%3c/svg%3e");
    border-radius: 3.25rem
}

.form-switch.form-check-solid .form-check-input:checked {
    filter: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23FFFFFF'/%3e%3c/svg%3e")
}

.form-switch.form-check-solid.form-switch-sm .form-check-input {
    height: 1.5rem;
    width: 2.5rem
}

.form-switch.form-check-solid.form-switch-lg .form-check-input {
    height: 2.75rem;
    width: 3.75rem
}

.form-check.form-check-solid .form-check-input:checked {
    background-color: #adb039 !important;
    border-color: #adb039 !important;
    background-image: none;
    border-radius: 3.5rem;
    width: 3.25rem;
    height: 2.3rem;
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")
}

.navbar-toggler {
    border: 2px solid white;
}

.togglelink {
    color: white;
    background-color: #adb039;
    border: none;
    text-decoration: none;
    width: 100%;
}

.togglelink:hover {
    color: white;
    background-color: #86882b;
    border: none;
    text-decoration: none;
}

.togglelink:visited {
    color: white;
    background-color: #adb039;
    border: none;
    text-decoration: none;
}

.togglelink2 {
    color: white;
    background-color: #eba302;
    border: none;
    text-decoration: none;
    width: 100%;
}

.togglelink2:hover {
    color: white;
    background-color: #c08603;
    border: none;
    text-decoration: none;
}

.togglelink2:visited {
    color: white;
    background-color: #eba302;
    border: none;
    text-decoration: none;
}

.togglelink3 {
    color: white;
    background-color: #b0b0a1;
    border: none;
    text-decoration: none;
    width: 100%;
}

.togglelink3:hover {
    color: white;
    background-color: #8a8a7c;
    border: none;
    text-decoration: none;
}

.togglelink3:visited {
    color: white;
    background-color: #b0b0a1;
    border: none;
    text-decoration: none;
}

.form-check.form-check-solid .form-check-input {
    transition: none !important;
}

.modal-body ul {
    list-style: none;
    padding-left: 0px;
}

.modal-body ul li {
    padding-left: 0px;
    margin-bottom: 10px;
}

.bs-tooltip-start .tooltip-arrow::before,
.tooltip.bs-tooltip-right .tooltip-arrow {
    right: 0px !important;
}

.bs-tooltip-end .tooltip-arrow::before,
.tooltip.bs-tooltip-left .tooltip-arrow {
    left: 0px !important;
}

.tooltip {
    margin: 0 !important;
    /* remove any gap */
    padding: 0px;
}


/* Make tooltip more compact */

.tooltip .tooltip-inner {
    padding: 8px 8px !important;
    /* reduce padding (default ~0.25rem 0.5rem) */
    font-size: 13px !important;
    /* smaller font */
    line-height: 1.5;
    /* tighter text spacing */
}

.tooltip .tooltip-arrow {
    top: 100% !important;
    /* place arrow just below the tooltip box */
    margin-top: -6px;
    /* overlap slightly to remove gap */
}

.tooltip.bs-tooltip-top .tooltip-arrow {
    bottom: 0;
    /* make sure arrow touches tooltip */
    top: auto !important;
    margin-bottom: 0px;
}

.sq-interstitial-inline .card-title {
    font-size: 1.3rem !important;
    font-weight: 600;
    width: 100%;
    margin-bottom: 0;
    display: flex;
}

#posicion {
    margin-top: 1rem;
}

.fs-5 {
    font-size: 1.1rem !important;
}

img.custom-img-pdf[alt="copy-link"] {
    margin: 0 !important;
}

.baseline-summary__details ul {
    padding-left: .9rem;
}

.baseline-summary__details li::marker {
    margin-bottom: 10px;
    font-size: .8rem !important;
}

.baseline-summary__details li {
    margin-bottom: 10px;
    font-size: 1.1rem !important;
}

.sq-interstitial-inline .card-title small {
    margin-left: 5px;
}

.sq-interstitial-inline .card-title p {
    margin-bottom: 0px;
    position: relative;
    display: inline-block;
}

#modalSalirSesionDesconectar .modal-backdrop,
#modalSalirSesionDesconectar .modal-backdrop.show {
    --bs-backdrop-opacity: 0.2 !important;
}

.btn-interstitial-continue.btn-primary {
    padding: 8px;
    color: #fff;
    background-color: #adb039;
    border-color: #adb039;
    border-radius: .65rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075)
}

.modal-backdrop.show+.modal-backdrop.show+.modal-backdrop.show {
    --bs-backdrop-opacity: 0 !important;
}

.modal-backdrop.show+.modal-backdrop.show {
    --bs-backdrop-opacity: 0 !important;
}

.custom-quiz-question-area li a {
    color: var(--bs-link-color);
    text-decoration: underline;
}

.composite-table-q4_2 hr {
    display: none;
}

.node--type-article #main-wrapper+.px-2 {
    padding: 0px !important
}

.node--type-article #block-neuro-themekit-content {
    margin-top: 50px;
    margin-bottom: 50px;
}

.composite-table-q4_1 .custom-quiz-options {
    padding-bottom: 0px;
}

#dashboardCompleted.custom-mobile-dashboard-show {
    display: block !important;
}

.custom-mobile-dashboard-hide {
    display: none !important;
}

.custom-pdf-area p {
    margin-bottom: 0px;
}

.custom-dashboard-count-view .ms-3 {
    font-size: 0.9rem;
    align-content: center;
    display: inline-block;
    margin-top: 10px;
}

.sq-completed-badge {
    font-size: .875em;
}


/*-- Styles for the footer -*/


/* Reset/utility for this footer only */

.site-footer {
    font-size: 14px;
    background: #fff;
    line-height: 26px;
    font-family: "Roboto", sans-serif;
    color: #d5d7d8;
    padding: 0px 0px 0px;
}

.site-footer a.site-branding-logo {
    color: #ffffff;
    padding: 0;
    height: auto;
    /*! max-height: fit-content; */
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

footer .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 0px 20px;
    box-sizing: border-box;
}


/* TOP */

#footer .cutsom-button-nav-links a {
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
}

#footer a:hover {
    color: #E1242A;
    text-decoration: none;
}

#footer a {
    font-weight: 400;
    color: #d5d7d8;
    text-decoration: none;
}

a.enlace-legal-footer {
    font-size: 12px;
}

.footer-top {
    border-bottom: 1px solid #fff;
    color: #d5d7d8;
    background: #2a2f33;
    margin-top: 30px;
}

.footer-top-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-logo {
    flex: 0 0 auto;
    display: contents;
    align-items: center;
    width: 100%;
}

.logo-site {
    display: block;
    height: 60px;
    width: auto;
}

.footer-legal {
    flex: 1 1 60%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.legal-link {
    padding: 0px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
}

.divider {
    color: #E1242A;
    margin: 0 0px;
}

.footer-social {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.footer-social__link img {
    display: block;
}


/* CENTER (columns) */

.footer-center {
    padding-top: 18px;
    padding-bottom: 18px;
    color: #d5d7d8;
    background: #2a2f33;
}

.site-footer .block {
    margin: 0px 0px;
    border: 0px solid #444;
    padding: 0px 0px 0px;
    background: #fff;
}

footer .columns {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.footer-column {
    flex: 1 1 220px;
    min-width: 180px;
}

footer .col-title {
    color: #fff;
    font-size: 1rem;
    margin: 0 0 10px;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
}

.footer-column h3::after {
    content: "";
    width: 30px;
    height: 1px;
    background: #E1242A;
    left: 0;
    bottom: 0;
    z-index: 1;
    position: relative;
    display: block;
    margin: 10px 0px;
}

ul.footer-menu {
    list-style: disc;
    padding: 0;
    margin: 0;
    padding-left: 30px !important;
    text-align: left;
}

.footer-menu li {
    margin: 6px 0;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
}


/* BOTTOM / COPYRIGHT */

.footer-bottom {
    border-top: 1px solid #ffffff;
    font-size: 14px;
    color: #d5d7d8;
    background: #2a2f33;
    line-height: 26px;
}

.copyright-block {
    padding: 18px 20px;
}

.copyright-text p {
    text-align: left;
    margin: 0 0 12px;
    font-weight: 100;
    color: rgba(255, 255, 255, 0.88);
}

.copyright-note {
    font-weight: 600;
    margin-top: 8px;
}

.copyright-text p.version {
    text-align: center;
    margin-top: 8px;
    margin-bottom: 0px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    padding-bottom: 12px;
}

.main-menu .sub-menu {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
    box-shadow: 0px 3px 1px rgba(0, 0, 0, 0.4);
    border-radius: 6px;
}

.gva-search-region .search-div {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
    z-index: 1111;
}


/* Hamburger active */

#menu-bar.active span {
    background: #000;
    /* example */
}


/* Responsive */

@media (max-width: 900px) {
    .site-footer {
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
        padding: 0px 0px 0px;
        background: black;
    }
    .footer-legal {
        order: 2;
        width: 100%;
        margin-top: 0;
        padding-bottom: 8px;
        display: block;
        flex: auto;
        text-align: left;
    }
    .footer-top-row {
        align-items: flex-start;
    }
    .footer-social {
        order: 3;
        margin: auto;
    }
    footer .columns {
        gap: 20px;
    }
}

@media (max-width: 560px) {
    footer .columns {
        flex-direction: column;
    }
    .footer-column {
        min-width: auto;
    }
    .logo-site {
        height: 68px;
    }
    .legal-link {
        font-size: 11px;
    }
}


/* Reset */

header {
    border-bottom: 0px solid #ddd;
    position: relative;
}

.header-main-inner {
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 10px 20px;
}

.branding img {
    max-height: 50px;
}

.menu-item--expanded.os-nav-link-diff>a:hover {
    color: #d03632 !important;
}

.menu-item--expanded.os-nav-link-diff>a:hover::before {
    background-image: url("../images/account_circle_red.png");
}


/* Menu (desktop default) */

.menu-item--expanded.os-nav-link-diff>a::before {
    content: "";
    display: inline-block;
    width: 25px;
    height: 25px;
    background: url("../images/account_circle.png") no-repeat top center;
    background-size: auto;
    background-size: contain;
    margin-right: 10px;
    vertical-align: text-top;
    margin-top: -5px;
}

.os-nav-link-diff a {
    text-transform: unset !important;
    font-family: "Open Sans", sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #111111 !important;
    margin-bottom: 0px;
}

.main-menu {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    justify-content: flex-end;
    justify-items: center;
    align-content: end;
}

.main-menu ul {
    display: flex;
    list-style: none;
}

.main-menu ul li {
    position: relative;
}

.main-menu ul li a:hover {
    color: #d03632;
}

.main-menu ul li a {
    display: block;
    padding: 10px;
    text-decoration: none;
    font-size: 15px;
    font-family: "Open Sans", sans-serif !important;
    color: #111111;
}

.main-menu ul li ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    list-style: none;
}

.main-menu ul li ul li a {
    padding: 10px;
}

.main-menu ul li.menu-item--expanded>a::after {
    content: "";
    background: url(../images/donw-caret.png)no-repeat center center;
    width: 14px;
    height: 14px;
    font-weight: 900;
    margin-left: 5px;
    display: none;
    transition: transform 0.3s;
}

.main-menu ul li.active>a::after {
    transform: rotate(-180deg);
}


/* Hamburger */

#menu-bar {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

#menu-bar span {
    width: 25px;
    height: 2px;
    background: #333;
    display: block;
    transition: all 0.3s ease;
}


/* Search */

.gva-search-region {
    position: relative;
    order: 3;
    margin-top: -15px;
}

.search-div.active {
    border: 1px solid #ccc;
    padding: 10px 10px;
    max-height: 100px !important;
}

.search-div {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    position: absolute;
    margin-top: 10px;
    width: 300px;
    background: #fff;
    border: 0;
    right: 0;
    padding: 0;
}

.search-div a:hover {
    color: #fff;
}

.search-div a {
    color: #fff;
    text-decoration: none;
    background-color: #d03632;
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: 400;
    padding: 16px 32px;
    border-radius: 145px;
    width: 100%;
    text-align: center;
    border: none;
    cursor: pointer;
    display: block;
}


/* Ensure submenu ul is vertical */

.main-menu ul li ul.sub-menu {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
}

.main-menu ul li ul.sub-menu li {
    display: block;
    width: 100%;
    padding: 0px 0px;
    margin: 0;
}

.os-nav-link-diff ul.sub-menu a {
    font-size: 16px !important;
    font-weight: 400 !important;
    font-family: "Open Sans", sans-serif !important;
    color: #111111 !important;
}

.main-menu ul li ul.sub-menu li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

.os-nav-link-diff ul.sub-menu a:hover {
    color: #d03632 !important;
}

.os-nav-link-diff .os-nav-link-sub a {
    font-size: 16px !important;
    font-weight: 400 !important;
    font-family: "Open Sans", sans-serif !important;
    color: #111111 !important;
}

.main-menu ul li ul.sub-menu li a:hover {
    background: transparent;
    color: #d03632;
}

.gva-search-region .fa-search-icon {
    background: url(../images/solar.png)no-repeat center center;
    background-size: contain;
    width: 20px;
    height: 20px;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    vertical-align: middle;
}

a.site-branding-logo {
    padding: 10px 16px 10px;
    display: inline-block;
    max-height: 95px;
    height: auto;
}

.branding {
    display: inline-block;
    position: absolute;
    width: 200px;
    z-index: 1;
}

.custom-main-header {
    background: #fff;
}

/* Mobile adjustments */

@media (max-width: 991px) {
    .branding img {
        max-height: 40px;
    }
    a.site-branding-logo {
        padding: 10px 10px 0px;
        display: inline-block;
        max-height: 65px;
        height: auto;
    }
    div#block-neuro-themekit-homeheader {
        margin-top: 30px;
    }
    .main-menu.active {
        transform: translateX(0px);
        margin-left: 0;
        display: flex;
        align-items: center;
        justify-content: start;
    }
    .branding {
        display: inline-block;
        position: absolute;
        z-index: 1010;
        margin-top: 0;
    }
    .main-menu ul li ul.sub-menu li:last-child {
        border: 0px;
    }
    .main-menu ul li.menu-item--expanded>a::after {
        font-weight: 900;
        margin-left: auto;
        float: right;
        content: "";
        /* must have content for ::after to appear */
        display: block;
        /* make it visible */
        width: 14px;
        height: 14px;
        background: url('../images/donw-caret.png') no-repeat center center;
        background-size: contain;
        /* scale image properly */
        transition: transform 0.3s ease;
    }
    .header-main-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    /* Hamburger visible */
    #menu-bar {
        display: flex;
        order: 2;
    }
    .gva-search-region {
        order: 1;
        margin-left: auto;
        margin-right: 10px;
        margin-top: 0px;
    }
    /* Mobile menu slide-in */
    .main-menu {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 100px 20px 20px;
        transform: translateX(-260%);
        transition: transform 0.3s ease;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        margin-left: 0;
    }
    /* Overlay */
    #menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
        z-index: 999;
    }
    #menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    /* Hamburger animation */
    #menu-bar.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    #menu-bar.active span:nth-child(2) {
        opacity: 0;
    }
    #menu-bar.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    .main-menu ul {
        flex-direction: column;
        width: 100%;
        padding-left: 0px;
    }
    .main-menu ul li {
        border-bottom: 1px solid #eee;
        padding: 10px;
    }
    .main-menu ul li a {
        padding: 12px 0;
    }
    .main-menu ul li ul.sub-menu li a {
        padding: 10px 0px;
    }
    .main-menu .sub-menu {
        position: relative !important;
        border: none;
        top: 0;
        box-shadow: none;
    }
}


/* Combined tablet range */

@media screen and (min-width: 1440px) and (max-width: 2560px) {
    .baseline-summary__details ul {
        padding-left: 2rem;
    }
}

@media only screen and (min-width: 600px) and (max-width: 1200px) {
    /* Common tablet styles */
    .container {
        padding: 20px;
        font-size: 1rem;
    }
    .os-nav-link-diff a {
        text-transform: unset !important;
        font-family: "Open Sans", sans-serif !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #111111 !important;
        margin-bottom: 0px;
    }
    .main-menu ul li a {
        display: block;
        padding: 10px;
        text-decoration: none;
        font-size: 13px;
        font-family: "Open Sans", sans-serif !important;
        color: #111111;
    }
    .custom-mob-footer-logo img {
        max-width: fit-content;
        height: auto;
        margin: auto;
    }
}


/* Prevent breaking question & answer across pages */

@media print {
    /* Force manual page breaks where needed */
    .page-break {
        page-break-before: always;
        break-before: page;
        /* modern syntax */
    }
    /* Prevent question blocks from splitting across pages */
    .question,
    #quiz-question,
    .custom-quiz-question-area,
    .option-group {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
        display: block;
    }
    /* Prevent options or nested elements from breaking */
    .option-group *,
    .question * {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }
    /* Remove stray styling from <option> tags (not relevant for print) */
    option {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}

#modalSalir .modal-dialog {
    width: 100%;
    max-width: 85%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10%;
}

#modalSalir .modal-content {
    border-radius: 0;
    background: #fff !important;
    border: 1px solid #ccc !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3) !important;
}

#modalSalir .modal-header {
    display: none;
}

#modalSalir .modal-footer button.btn-primary,
#modalSalir .modal-footer button.btn-secondary {
    margin: .5em .4em .5em 0;
    cursor: pointer;
    background: #E1242A;
    background-color: #E1242A;
    color: #fff;
    overflow: hidden;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    padding: 0 24px;
    position: relative;
    display: inline-block;
    line-height: 40px;
    z-index: 1;
    letter-spacing: 1px;
    -webkit-box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    border: none;
    font-size: 1em;
}

#modalSalir .modal-footer {
    flex-direction: row-reverse;
    justify-content: end;
}
#modalSalir .modal-footer button.btn-secondary:hover, #modalSalir .modal-footer button.btn-secondary:active,
#modalSalir .modal-footer button.btn-primary:hover, #modalSalir .modal-footer button.btn-primary:active {
    background-color: rgb(162.2710843373, 22.2289156627, 26.6746987952) !important;
    color: #fff;
}

#botonSalirSesionDesconectar{display:none;} /* Added to hide Disconnector Button*/


.path-frontpage .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before{
    bottom: unset !important;
    top: -5px !important;
}
.path-frontpage .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow{
      top: -1px !important;
    margin-top: 0 !important;
}

.path-frontpage .bs-tooltip-auto[data-popper-placement^=bottom]{
        padding-top: 0 !important;
}


.path-frontpage .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before{
    top: unset !important;
    bottom: -5px !important;
}
.path-frontpage .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow{
      bottom: -1px !important;
    margin-bottom: 0 !important;
}

.path-frontpage .bs-tooltip-auto[data-popper-placement^=top]{
        padding-bottom: 0 !important;
}