/*!
 * Boost — eXeLearning style
 * ------------------------
 * The look of Moodle's Boost theme: Moodle Design System colours, Noto Sans,
 * course index drawer, nav pills and activity cards.
 * Based on Moodle's Boost theme (theme/boost), © Moodle Pty Ltd and
 * contributors, GNU GPL v3 or later: https://github.com/moodle/moodle
 * Licensed under the GNU General Public License v3.0.
 * Layout derived from the eXeLearning Default style (Ignacio Gros, CC BY-SA 4.0).
 */

@font-face {
    font-family: "Noto Sans";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/noto-sans-normal-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Noto Sans";
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/noto-sans-italic-latin.woff2") format("woff2");
}

/* Moodle Design System tokens (lib/bundles/design-system, light mode). */
:root {
    --boost-primary: #0f6cbf;
    --boost-primary-hover: #0c5699;
    --boost-primary-active: #094173;
    --boost-primary-subtle: #e7f0f9;
    --boost-gray-100: #f8f9fa;
    --boost-gray-200: #e9ecef;
    --boost-gray-300: #dee2e6;
    --boost-gray-400: #ced4da;
    --boost-gray-500: #8f959e;
    --boost-gray-600: #6a737b;
    --boost-gray-700: #495057;
    --boost-gray-800: #343a40;
    --boost-gray-900: #1d2125;
    --boost-success: #357a32;
    --boost-danger: #ca3120;
    --boost-font: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Liberation Sans", Arial, sans-serif;
    --boost-navbar-height: 60px;
    --boost-drawer-width: 285px;
    --boost-content-width: 830px;
    --boost-radius: .5rem;
    --boost-radius-activity: 1rem;
    --boost-focus-ring: 0 0 0 .25rem rgba(15, 108, 191, .75);
}

/* ---------- Content: export and editor ---------- */

.exe-content {
    --bs-primary: #0f6cbf;
    --bs-primary-rgb: 15, 108, 191;
    --bs-link-color: #0f6cbf;
    --bs-link-color-rgb: 15, 108, 191;
    --bs-link-hover-color: #0c5699;
    --bs-link-hover-color-rgb: 12, 86, 153;
    --bs-body-font-family: var(--boost-font);
    --bs-body-color: #1d2125;
    --bs-border-radius: .5rem;
    --bs-border-color: #dee2e6;
    --bs-focus-ring-color: rgba(15, 108, 191, .75);
    --exe-icon-color: #0099ad;
    --exe-fx-focus-color: #0f6cbf;
    color: var(--boost-gray-900);
    background-color: transparent;
    font-family: var(--boost-font);
    font-size: 1rem;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.exe-export {
    margin: 0;
    padding: 0;
    color: var(--boost-gray-900);
    background: var(--boost-gray-100);
    font-family: var(--boost-font);
}

.exe-content a {
    color: var(--boost-primary);
    text-decoration: none;
}

.exe-content a:hover,
.exe-content a:focus {
    color: var(--boost-primary-hover);
    text-decoration: underline;
}

.exe-content h1,
.exe-content h2,
.exe-content h3,
.exe-content h4,
.exe-content h5,
.exe-content h6 {
    color: var(--boost-gray-900);
    font-weight: 700;
    line-height: 1.2;
}

.exe-content .fx-tabs a,
.exe-content .fx-pagination li:not(.fx-current) a {
    color: var(--boost-primary);
}

.exe-content :focus-visible {
    outline: 2px solid var(--boost-primary);
    outline-offset: 2px;
}

.exe-content figcaption {
    color: var(--boost-gray-600) !important;
    font-style: normal !important;
    font-size: .875rem !important;
}

.exe-content img {
    max-width: 100%;
    height: auto;
}

.exe-content figure img {
    border-radius: var(--boost-radius);
}

.exe-content .package-title {
    font-size: 1.25rem;
    margin-bottom: .4em;
}

.exe-content .page-title {
    color: var(--boost-gray-900);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 .5rem;
}

/* Activity cards (Moodle .activity-item) */
.exe-content .box {
    position: relative;
    margin: 1rem 0;
    padding: 1.25rem;
    border: 1px solid var(--boost-gray-200);
    border-radius: var(--boost-radius-activity);
    background-color: #fff;
}

.exe-content .box:focus-within {
    outline: 2px solid var(--boost-primary);
    outline-offset: -1px;
}

.exe-content .box-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 0;
    border: 0;
    padding-right: 2.5rem;
}

.exe-content .box-title {
    flex: 1;
    margin: 0;
    padding: 0;
    color: var(--boost-gray-900);
    font-size: 1.25rem;
    font-weight: 700;
}

.exe-content .box-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--boost-radius);
    background: var(--boost-gray-100);
}

.exe-content .box-icon img {
    width: 32px;
    height: 32px;
    margin: 0;
}

/* Material Symbols icons of eXeLearning 4 */
.exe-content .box-icon .exe-material-icon {
    display: block;
    width: 32px;
    height: 32px;
    background-color: var(--exe-icon-color);
    -webkit-mask: var(--exe-material-icon-url) center / contain no-repeat;
    mask: var(--exe-material-icon-url) center / contain no-repeat;
}

.exe-content .box-content {
    margin-top: 1rem;
    padding: 0;
    border: 0;
    background: none;
    overflow: auto;
}

.exe-content .box.no-header .box-content {
    margin-top: 0;
}

.exe-content .box.minimized .box-head {
    border: 0;
}

/* Collapse button: Moodle's section chevron */
.exe-content .box-toggle {
    position: absolute;
    top: 1.25rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: var(--boost-radius);
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 5.5 5 5 5-5' fill='none' stroke='%23495057' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
    transition: transform .2s ease, background-color .2s ease;
}

.exe-content .box-head:has(.box-icon) .box-toggle {
    top: calc(1.25rem + 8px);
}

.exe-content .box-toggle:hover,
.exe-content .box-toggle:focus-visible {
    background-color: var(--boost-gray-200);
}

.exe-content .box.minimized .box-toggle {
    transform: rotate(-90deg);
}

.exe-content .box-toggle span,
#packageLicense .license-label,
.exe-content .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Buttons: Bootstrap 5 as configured by Boost */
.exe-content .btn {
    --bs-btn-border-radius: .5rem;
    --bs-btn-font-family: var(--boost-font);
}

.exe-content .btn-primary {
    --bs-btn-bg: #0f6cbf;
    --bs-btn-border-color: #0f6cbf;
    --bs-btn-hover-bg: #0c5699;
    --bs-btn-hover-border-color: #0c5699;
    --bs-btn-active-bg: #094173;
    --bs-btn-active-border-color: #094173;
    --bs-btn-disabled-bg: #9fc4e5;
    --bs-btn-disabled-border-color: #9fc4e5;
    --bs-btn-focus-shadow-rgb: 15, 108, 191;
}

.exe-content .btn-secondary {
    --bs-btn-color: #000;
    --bs-btn-bg: #ced4da;
    --bs-btn-border-color: #ced4da;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #d5dae0;
    --bs-btn-hover-border-color: #d3d8de;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #d8dde1;
    --bs-btn-active-border-color: #d3d8de;
}

.exe-content .iDevice_buttons input,
.exe-content .iDevice_buttons button,
.exe-content .exe-sortableList input[type="button"],
#exe-client-search-submit {
    padding: .375rem .75rem;
    border: 1px solid var(--boost-primary);
    border-radius: var(--boost-radius);
    background: var(--boost-primary);
    color: #fff;
    font: 400 1rem/1.5 var(--boost-font);
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.exe-content .iDevice_buttons input:hover,
.exe-content .iDevice_buttons button:hover,
.exe-content .exe-sortableList input[type="button"]:hover,
#exe-client-search-submit:hover {
    border-color: var(--boost-primary-hover);
    background: var(--boost-primary-hover);
    color: #fff;
}

.exe-content .iDevice_buttons input:focus-visible,
.exe-content .iDevice_buttons button:focus-visible,
.exe-content .exe-sortableList input[type="button"]:focus-visible,
#exe-client-search-submit:focus-visible,
.exe-content .form-control:focus,
.exe-content .form-select:focus,
.exe-content .form-check-input:focus {
    outline: 0;
    border-color: #87b6df;
    box-shadow: var(--boost-focus-ring);
}

.exe-content .form-control,
.exe-content .form-select {
    border-color: var(--boost-gray-500);
    border-radius: var(--boost-radius);
}

.exe-content .form-check-input {
    border-color: var(--boost-gray-500);
}

.exe-content .form-check-input:checked {
    background-color: var(--boost-primary);
    border-color: var(--boost-primary);
}

.exe-content input[type="radio"],
.exe-content input[type="checkbox"] {
    accent-color: var(--boost-primary);
}

/* Quiz-like iDevices: Moodle's .que .formulation and ordering items */
.exe-content .TOFP-QuestionDiv {
    padding: 1rem;
    border: 1px solid #b3d9e0;
    border-radius: var(--boost-radius);
    background-color: #e6f2f4;
    color: #001a1e;
}

.exe-content .exe-sortableList-options li {
    border: 1px solid var(--boost-gray-300);
    border-radius: var(--boost-radius);
    box-shadow: none;
    color: var(--boost-gray-900);
}

.exe-content .exe-sortableList-options li:hover {
    border-color: var(--boost-gray-500);
}

/* "Download source file" iDevice: a Boost primary button */
.exe-content .exe-download-package-link a {
    display: inline-block;
    padding: .375rem .75rem;
    border: 1px solid var(--boost-primary);
    border-radius: var(--boost-radius);
    background-color: var(--boost-primary);
    color: #fff;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease;
}

.exe-content .exe-download-package-link a:hover,
.exe-content .exe-download-package-link a:focus {
    border-color: var(--boost-primary-hover);
    background-color: var(--boost-primary-hover) !important;
    color: #fff !important;
    text-decoration: none;
}

.exe-content .exe-download-package-link a:focus-visible {
    outline: 0;
    box-shadow: var(--boost-focus-ring);
}

/* Tables: Moodle .generaltable */
.exe-content table.exe-table,
.exe-content .exe-text-activity table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.exe-content table.exe-table th,
.exe-content table.exe-table td {
    padding: .75rem;
    border-top: 1px solid var(--boost-gray-300);
    text-align: start;
    vertical-align: top;
}

.exe-content table.exe-table tbody tr:nth-child(odd) {
    background-color: rgba(0, 0, 0, .03);
}

.exe-content table.exe-table caption {
    caption-side: top;
    color: var(--boost-gray-600);
}

.exe-content blockquote {
    margin: 1rem 0;
    padding: .5rem 1rem;
    border-left: 4px solid var(--boost-gray-300);
    color: var(--boost-gray-700);
}

/* Moodle alert-info for highlighted notes */
.exe-content .exe-block-info,
.exe-content .exe-block-success,
.exe-content .exe-block-warning,
.exe-content .exe-block-danger {
    border-radius: var(--boost-radius);
}

/* Search */
#exe-client-search {
    margin: 0 0 1.5rem;
}

#exe-client-search-form > p {
    display: flex;
    gap: .5rem;
    align-items: center;
    margin: 0;
}

#exe-client-search-text {
    flex: 1;
    max-width: none;
    padding: .375rem .75rem;
    border: 1px solid var(--boost-gray-500);
    border-radius: var(--boost-radius);
    font: inherit;
}

#exe-client-search-reset.visible {
    color: var(--boost-primary);
    white-space: nowrap;
}

#exe-client-search-results-list ul,
#exe-client-search-results-list li {
    margin: 1rem 0;
    padding: 0;
    list-style: none;
}

/* License: Creative Commons badges */
#packageLicense {
    margin: 0;
    color: var(--boost-gray-700);
    font-size: .875rem;
    line-height: 1.3;
}

#packageLicense p {
    margin: 0;
}

#packageLicense a {
    color: var(--boost-primary);
}

#packageLicense.propietary {
    position: absolute;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    height: 0;
}

#packageLicense.cc {
    min-height: 31px;
    padding: 0 0 0 98px;
    display: flex;
    align-items: center;
    background: url(img/licenses.gif) no-repeat 0 0;
}

#packageLicense.cc-by-sa { background-position: 0 -100px; }
#packageLicense.cc-by-nd { background-position: 0 -200px; }
#packageLicense.cc-by-nc { background-position: 0 -300px; }
#packageLicense.cc-by-nc-sa { background-position: 0 -400px; }
#packageLicense.cc-by-nc-nd { background-position: 0 -500px; }
#packageLicense.cc-0 { background-position: 0 -600px; }

/* Page counter */
.page-counter {
    margin: 0;
    color: var(--boost-gray-700);
    font-size: .875rem;
}

/* Teacher mode: Moodle's "Edit mode" switch */
#teacher-mode-toggler-wrapper {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    padding-left: 2.5em;
    font-size: .875rem;
}

#teacher-mode-toggler.form-check-input {
    margin-top: 0;
}

#teacher-mode-toggler.form-check-input:checked {
    background-color: var(--boost-primary);
    border-color: var(--boost-primary);
}

/* ---------- Without JavaScript: a plain, readable page ---------- */

.exe-web-site #siteNav {
    max-width: var(--boost-content-width);
    margin: 0 auto;
    padding: 1rem;
}

.exe-web-site #siteNav ul {
    margin: 0;
    padding: 0 0 0 1.25rem;
    list-style: none;
}

.exe-web-site #siteNav > ul {
    padding: 0;
}

.exe-web-site #siteNav a {
    display: block;
    padding: .375rem .5rem;
    border-radius: var(--boost-radius);
    color: var(--boost-gray-700);
    font-size: .875rem;
}

.exe-web-site #siteNav a.active {
    background: var(--boost-primary);
    color: #fff;
}

.exe-web-site main.page {
    max-width: calc(var(--boost-content-width) + 2rem);
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
}

.exe-web-site .nav-buttons,
.exe-web-site #siteFooter {
    max-width: var(--boost-content-width);
    margin: 0 auto 1.5rem;
    padding: 0 1rem;
}

.exe-web-site .nav-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.exe-web-site .nav-buttons span.nav-button {
    visibility: hidden;
}

#made-with-eXe a {
    overflow: hidden;
}

/* ---------- Boost layout (built by style.js) ---------- */

.boost-js body.exe-web-site {
    padding-top: calc(var(--boost-navbar-height) + 1px);
}

.boost-js .exe-web-site .exe-content {
    min-height: calc(100vh - var(--boost-navbar-height) - 1px);
    padding-left: var(--boost-drawer-width);
    transition: padding-left .2s ease;
}

.boost-js.boost-drawer-closed .exe-web-site .exe-content {
    padding-left: 0;
}

.boost-js .exe-web-site .package-header,
.boost-js .exe-web-site .nav-buttons:not(.boost-activity-navigation) {
    display: none;
}

.boost-js .exe-web-site .boost-icon {
    display: block;
    flex: 0 0 auto;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.boost-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: var(--boost-radius);
    background: transparent;
    color: var(--boost-gray-700);
    cursor: pointer;
    transition: background-color .15s ease;
}

.boost-btn-icon:hover {
    background-color: var(--boost-gray-200);
}

.boost-btn-icon:focus-visible,
.boost-footer-button:focus-visible,
.boost-chevron:focus-visible,
.boost-select:focus-visible {
    outline: 0;
    box-shadow: var(--boost-focus-ring);
}

/* Navbar (.navbar.fixed-top) */
.boost-navbar {
    position: fixed;
    z-index: 1030;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    height: calc(var(--boost-navbar-height) + 1px);
    padding: 0 1rem;
    border-bottom: 1px solid var(--boost-gray-300);
    background: var(--boost-gray-100);
    font-family: var(--boost-font);
}

.boost-brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-width: 0;
    overflow: hidden;
    color: var(--boost-gray-900);
    font-size: 1.25rem;
    font-weight: 400;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.boost-brand span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.boost-logo {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
}

.boost-brand:hover,
.boost-brand:focus {
    color: var(--boost-gray-900);
    text-decoration: none;
}

.boost-brand:focus-visible {
    outline: 2px solid var(--boost-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

.boost-usernav {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .5rem;
    height: 100%;
    margin-left: auto;
}

.boost-divider {
    align-self: center;
    width: 1px;
    height: 75%;
    margin: 0 .25rem;
    background: var(--boost-gray-300);
}

.boost-usernav .page-counter {
    position: static;
    white-space: nowrap;
}

/* Course index drawer (.drawer.drawer-left) */
.boost-js .exe-web-site #siteNav {
    position: fixed;
    z-index: 1015;
    top: calc(var(--boost-navbar-height) + 1px);
    bottom: 0;
    left: 0;
    width: var(--boost-drawer-width);
    max-width: none;
    margin: 0;
    padding: 0 .4rem 5rem;
    overflow-y: auto;
    background: var(--boost-gray-200);
    scrollbar-width: thin;
    scrollbar-color: var(--boost-gray-500) var(--boost-gray-200);
    /* Visible at once when opening, so focus can move in; hidden after the slide when closing. */
    transition: left .2s ease, visibility 0s;
}

.boost-js.boost-drawer-closed .exe-web-site #siteNav {
    left: calc(-1 * var(--boost-drawer-width) - 10px);
    visibility: hidden;
    transition: left .2s ease, visibility 0s linear .2s;
}

.boost-drawerheader {
    position: sticky;
    z-index: 1;
    top: 0;
    display: flex;
    align-items: center;
    gap: .5rem;
    height: 3.5rem;
    margin: 0 -.4rem .25rem;
    padding: 0 .5rem 0 1.5rem;
    background: var(--boost-gray-200);
}

.boost-js .exe-web-site #siteNav .boost-drawerheading {
    flex: 1;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    color: var(--boost-gray-700);
    font-size: 1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.boost-js .exe-web-site #siteNav .boost-drawerheading:hover {
    background: none;
    color: #000;
}

.boost-drawer-close {
    background: var(--boost-gray-200);
}

.boost-drawer-close:hover,
.boost-drawer-open:hover {
    background-color: var(--boost-gray-400);
}

.boost-js .exe-web-site #siteNav ul {
    margin: 0;
    padding: 0;
}

.boost-js .exe-web-site #siteNav ul ul {
    padding-left: 1.5rem;
}

.boost-js .exe-web-site #siteNav li {
    position: relative;
    margin: 0;
}

.boost-js .exe-web-site #siteNav .other-section {
    display: block;
}

.boost-js .exe-web-site #siteNav li.boost-collapsed > ul {
    display: none;
}

/* .courseindex-item */
.boost-js .exe-web-site #siteNav li > a {
    padding: .5rem;
    border: 1px solid transparent;
    color: var(--boost-gray-700);
    font-size: .875rem;
    line-height: 1.5;
}

.boost-js .exe-web-site #siteNav > ul > li > a {
    margin-left: 1.5rem;
    font-weight: 700;
}

.boost-js .exe-web-site #siteNav ul ul .boost-chevron + a {
    margin-left: 1.5rem;
}

.boost-js .exe-web-site #siteNav li > a:hover,
.boost-js .exe-web-site #siteNav li > a:focus {
    color: #000;
    text-decoration: none;
}

/* .courseindex-item.pageitem */
.boost-js .exe-web-site #siteNav li > a.active {
    background: var(--boost-primary);
    color: #fff;
}

.boost-js .exe-web-site #siteNav li > a.active:hover,
.boost-js .exe-web-site #siteNav li > a.active:focus {
    background: #0d5ca2;
    color: #e6e6e6;
}

.boost-js .exe-web-site #siteNav li > a:focus-visible {
    outline: 0;
    box-shadow: var(--boost-focus-ring);
}

.boost-chevron {
    position: absolute;
    top: .25rem;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: var(--boost-radius);
    background: none;
    color: var(--boost-gray-700);
    cursor: pointer;
}

.boost-chevron:hover {
    color: #000;
}

.boost-chevron .boost-icon {
    width: 12px;
    height: 12px;
    transition: transform .2s ease;
}

.boost-chevron[aria-expanded="true"] .boost-icon {
    transform: rotate(90deg);
}

/* .drawer-toggler */
.boost-drawer-open {
    position: fixed;
    z-index: 2;
    top: calc(var(--boost-navbar-height) + 1rem);
    left: 16px;
    background: var(--boost-gray-200);
}

.boost-js:not(.boost-drawer-closed) .boost-drawer-open {
    display: none;
}

.boost-backdrop {
    display: none;
}

/* Main region (#page.drawers .main-inner) */
/* The bottom gap keeps the activity navigation clear of the floating notice. */
.boost-js .exe-web-site main.page {
    max-width: calc(var(--boost-content-width) + 2rem);
    margin: 0 auto;
    padding: 1.5rem 1rem 5.5rem;
}

.boost-js .exe-web-site .main-header {
    margin-bottom: 1rem;
}

.boost-js .exe-web-site .main-header .page-counter {
    display: none;
}

/* Breadcrumb */
.boost-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 .5rem;
    padding: .5rem 0 0;
    list-style: none;
    font-size: .875rem;
}

.boost-breadcrumb li + li::before {
    content: "/";
    padding: 0 .5rem;
    color: var(--boost-gray-600);
}

.boost-breadcrumb [aria-current] {
    color: var(--boost-gray-700);
}

/* Secondary navigation: Moodle Design System nav pills */
.boost-secondary-navigation {
    margin: 0 0 1.5rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--boost-gray-300);
}

.boost-secondary-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.boost-secondary-navigation a {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .375rem .75rem;
    border-radius: var(--boost-radius);
    color: var(--boost-gray-700);
    font-size: .875rem;
    font-weight: 500;
    white-space: nowrap;
}

.exe-content .boost-secondary-navigation a:hover,
.exe-content .boost-secondary-navigation a:focus {
    background: var(--boost-gray-200);
    color: var(--boost-gray-900);
    text-decoration: none;
}

.exe-content .boost-secondary-navigation a.active {
    background: var(--boost-gray-200);
    color: var(--boost-gray-900);
}

.boost-secondary-navigation a.active::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--boost-primary);
}

/* Activity navigation: previous, "Jump to..." and next */
.boost-js .exe-web-site .boost-activity-navigation {
    display: grid;
    grid-template-columns: 1fr minmax(0, 15rem) 1fr;
    align-items: center;
    gap: 1rem;
    max-width: none;
    margin: 2rem 0 0;
    padding: 1.5rem 0 0;
    border-top: 1px solid var(--boost-gray-300);
}

.boost-activity-navigation .nav-button {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.boost-activity-navigation .nav-button-right {
    grid-column: 3;
    text-align: right;
}

.boost-activity-navigation .boost-jump {
    grid-column: 2;
}

.boost-select {
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    border: 1px solid var(--boost-gray-500);
    border-radius: var(--boost-radius);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .75rem center / 16px 12px;
    color: var(--boost-gray-900);
    font: inherit;
    -webkit-appearance: none;
    appearance: none;
}

/* Footer popover */
.boost-footer-button {
    position: fixed;
    z-index: 1019;
    right: 2rem;
    bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--boost-gray-400);
    color: #000;
    cursor: pointer;
}

.boost-footer-button:hover {
    background: #d5dae0;
}

.boost-js .exe-web-site #siteFooter.boost-footer {
    position: fixed;
    z-index: 1019;
    right: 2rem;
    bottom: calc(2rem + 46px);
    display: none;
    width: min(26rem, calc(100vw - 2rem));
    max-width: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--boost-gray-300);
    border-radius: var(--boost-radius);
    background: #fff;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

.boost-js .boost-footer-open #siteFooter.boost-footer {
    display: block;
}

.boost-footer #siteFooterContent,
.boost-footer #made-with-eXe {
    padding: 1rem;
}

.boost-footer #made-with-eXe {
    position: static;
    margin: 0;
    border-top: 1px solid var(--boost-gray-300);
}

.boost-footer #made-with-eXe a {
    display: inline-block;
    width: auto;
    height: auto;
    padding-left: 28px;
    background-position: 0 50%;
    box-shadow: none;
    color: var(--boost-primary);
    font: .875rem/24px var(--boost-font);
    opacity: 1;
}

.boost-footer #made-with-eXe span {
    padding: 0;
}

/* Search panel, opened from the navbar */
.boost-js .exe-web-site #exe-client-search {
    display: none;
}

.boost-js .boost-search-open #exe-client-search {
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .boost-js .exe-web-site .exe-content,
    .boost-js .exe-web-site #siteNav,
    .boost-chevron .boost-icon,
    .exe-content .box-toggle {
        transition: none;
    }
}

/* Small screens: the drawer covers the page with a backdrop (media-breakpoint-down(lg)). */
@media (max-width: 991.98px) {
    .boost-js .exe-web-site .exe-content {
        padding-left: 0;
    }

    .boost-js .exe-web-site #siteNav {
        z-index: 1021;
        box-shadow: 0 0 1rem rgba(0, 0, 0, .25);
    }

    .boost-js:not(.boost-drawer-closed) .boost-backdrop {
        position: fixed;
        z-index: 1020;
        inset: calc(var(--boost-navbar-height) + 1px) 0 0;
        display: block;
        background: rgba(0, 0, 0, .5);
    }

    .boost-drawer-open {
        top: calc(99vh - var(--boost-navbar-height) * 2.5);
        z-index: 100;
        box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .33);
    }
}

@media (max-width: 767.98px) {
    .boost-brand {
        font-size: 1rem;
    }

    .boost-usernav .page-counter-label,
    #teacher-mode-toggler-wrapper label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .exe-content .page-title {
        font-size: 1.5rem;
    }

    .exe-content .box {
        padding: 1rem;
    }

    .exe-content .box-toggle {
        top: 1rem;
        right: .5rem;
    }

    .exe-content .box-head:has(.box-icon) .box-toggle {
        top: calc(1rem + 8px);
    }

    .boost-js .exe-web-site .boost-activity-navigation {
        grid-template-columns: 1fr 1fr;
    }

    .boost-activity-navigation .boost-jump {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .boost-activity-navigation .nav-button-left {
        grid-column: 1;
        grid-row: 2;
    }

    .boost-activity-navigation .nav-button-right {
        grid-column: 2;
        grid-row: 2;
    }

    .boost-footer-button {
        right: 1rem;
        bottom: 1rem;
    }

    .boost-js .exe-web-site #siteFooter.boost-footer {
        right: 1rem;
        bottom: calc(1rem + 46px);
    }
}

@media print {
    html body.exe-export {
        padding: 0;
        background: #fff;
    }

    .boost-navbar,
    .boost-drawer-open,
    .boost-backdrop,
    .boost-footer-button,
    .boost-secondary-navigation,
    .boost-activity-navigation,
    .exe-content .box-toggle,
    .exe-web-site #siteNav,
    .exe-web-site .nav-buttons {
        display: none !important;
    }

    .boost-js .exe-web-site .exe-content {
        padding: 0;
    }

    .boost-js .exe-web-site #siteFooter.boost-footer {
        position: static;
        display: block;
        width: auto;
        border: 0;
        box-shadow: none;
    }

    #packageLicense.cc {
        padding-left: 0;
        background: none;
    }

    .exe-content .box {
        break-inside: avoid;
        border-color: #ccc;
    }

    @page {
        margin: 1.5cm;
    }
}
