/* Hide sticky socials */
.sticky_socials_wrap {
    display: none !important;
}

/* Tutor LMS sidebar */
.tutor-course-single-sidebar-wrapper,
.tutor-course-single-content-wrapper #tutor-single-entry-content .tutor-course-topic-single-footer {
    background-color: #fff;
}

.tutor-course-single-sidebar-title {
    border-width: 2px;
}

.tutor-course-single-sidebar-title .tutor-color-secondary {
    font-size: 1.2rem;
    font-weight: 500;
    color: #000;
    padding-left: 1rem;
}

.tutor-course-single-sidebar-title .tutor-color-secondary::before {
    content: url(https://gocloudsecure.eu/wp-content/uploads/2026/04/course_contents.png);
    margin-right: 5px;
}

.tutor-course-topic {
    border-bottom: 1px solid #e4e4e4;
}

.tutor-course-topic-title:hover {
    color: #13649E;
}

.tutor-course-single-sidebar-wrapper .tutor-accordion-item-header {
    padding: 1rem 2rem;
    background-color: #fff;
    border-bottom: none;
}

.tutor-course-single-sidebar-wrapper .tutor-accordion-item-header:hover,
.tutor-accordion-item-header.is-active {
    background-color: #fafafa;
}

.tutor-course-single-sidebar-wrapper .tutor-accordion-item-header .tutor-course-topic-summary {
    font-weight: 300;
}

.tutor-course-single-sidebar-wrapper .tutor-accordion-item-header::after {
    font-size: 12px;
}

.tutor-course-single-sidebar-wrapper .tutor-accordion-item-body {
    padding-top: 0;
    padding-bottom: 0;
}

.tutor-course-single-sidebar-wrapper .tutor-course-topic-item a {
    padding: 0.5rem 2rem;
}

.tutor-course-single-sidebar-wrapper .tutor-course-topic-item a:hover,
.tutor-course-single-sidebar-wrapper .tutor-course-topic-item.is-active a {
    background-color: #fafafa;
}

.tutor-course-single-sidebar-wrapper .tutor-course-topic-item-icon {
    color: #999;
    font-size: 12px;
}

.tutor-course-single-sidebar-wrapper .tutor-course-topic-item-title {
    color: #777;
    font-weight: 400;
    line-height: 1.4;
}

.tutor-course-single-sidebar-wrapper .tutor-course-topic-item-title:hover,
.tutor-course-topic-item.tutor-course-topic-item-lesson:hover {
    color: #333;
}

.tutor-course-single-sidebar-wrapper .tutor-course-topic-item.is-active .tutor-course-topic-item-title {
    color: #333;
    font-weight: 500;
}

.tutor-icon-document-text::before {
    content: url(https://gocloudsecure.eu/wp-content/uploads/2026/04/module_.png);
}

.tutor-icon-quiz-o::before {
    content: url(https://gocloudsecure.eu/wp-content/uploads/2026/04/brain_.png);
}

.tutor-nav-item svg {
    margin-right: 8px;
}

.tutor-nav-item .tutor-nav-link.is-active .tutor-icon-document-text::before,
.tutor-nav-item .tutor-nav-link:hover .tutor-icon-document-text::before {
    background-color: #13649E;
}

.tutor-nav:not(.tutor-nav-pills):not(.tutor-nav-tabs) {
    display: none;
}

/* Tutor LMS content/header */
.tutor-container p {
    font-size: 1rem;
    font-weight: 300;
}

#tutor-lesson-nav-take-note-btn,
button#tutor-popup-leave {
    color: #fff;
}

.tutor-course-topic-single-header-title.tutor-fs-6.tutor-ml-12.tutor-ml-xl-24,
.tutor-course-single-content-wrapper #tutor-single-entry-content .tutor-course-topic-single-header .tutor-topbar-mark-btn,
span.tutor-progress-content.tutor-color-primary-60,
span.tutor-fs-7.tutor-fw-bold {
    font-size: 0.8rem;
}

.tutor-course-single-content-wrapper #tutor-single-entry-content .tutor-course-topic-single-header {
    padding: 0 0.5rem;
}

.tutor-course-single-content-wrapper #tutor-single-entry-content .tutor-course-topic-single-header .tutor-topbar-mark-btn {
    background-color: #fff;
    color: #333;
    padding: 0.5rem 1rem;
}

/* Tutor LMS quiz */
.tutor-quiz-btn-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

button.tutor-btn.tutor-btn-ghost.tutor-btn-md.skip-quiz-btn.tutor-ml-24 {
    background: none;
}

.tutor-quiz-question-item:has(input[type="radio"]:checked) .tutor-card,
.tutor-quiz-question-item:has(input[type="checkbox"]:checked) .tutor-card {
    background-color: #f5f5f5 !important;
    box-shadow: 0 0 0 2px rgba(19, 100, 158, 0.25) !important;
}

.tutor-quiz-question-item .tutor-card.tutor-px-16.tutor-py-12:hover {
    background-color: #f5f5f5 !important;
}

.tutor-course-topic-item input.tutor-form-check-circle {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
}

@media (min-width: 1200px) {
    .tutor-container .tutor-col-xl-8 {
        flex: none;
        width: 75%;
    }
}

/* Lesson PDF.js viewer */
.lesson-pdfjs-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.04);
    margin: 20px 0;
}

.lesson-pdfjs-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #222;
}

.lesson-pdfjs-viewer {
    width: 100%;
    background: #f7f7f7;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
}

.lesson-pdfjs-page {
    position: relative;
    display: inline-block;
    max-width: 100%;
    max-height: none;
}

.lesson-pdfjs-page canvas {
    display: block;
    max-width: 100% !important;
    height: auto !important;
}

.lesson-pdfjs-page .textLayer {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 1;
    line-height: 1;
    text-align: initial;
    pointer-events: auto;
    -webkit-font-smoothing: antialiased;
}

.lesson-pdfjs-page .textLayer span,
.lesson-pdfjs-page .textLayer br {
    color: transparent;
    position: absolute;
    white-space: pre;
    cursor: text;
    transform-origin: 0% 0%;
}

.lesson-pdfjs-page .textLayer span::selection,
.lesson-pdfjs-page .textLayer ::selection {
    background: rgba(19, 100, 158, 0.25);
}

.lesson-pdfjs-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    gap: 10px;
}

.lesson-pdfjs-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lesson-pdfjs-controls button {
    border: 0;
    background: #f1f1f1;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.lesson-pdfjs-controls button:hover {
    background: #e7e7e7;
}

.lesson-pdfjs-counter {
    font-size: 13px;
    color: #777;
}

.pdf-fullscreen {
    width: 38px;
    height: 38px;
    padding: 0 !important;
    font-size: 18px !important;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pdf-fullscreen-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Screen reader text */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Lesson PDF.js fullscreen */
.lesson-pdfjs-card:fullscreen {
    background: #fff;
    width: 100vw;
    height: 100vh !important;
    padding: 16px;
    box-sizing: border-box;
    overflow: hidden !important;
    display: flex;
    flex-direction: column;
}

.lesson-pdfjs-card:fullscreen .lesson-pdfjs-title {
    flex: 0 0 auto;
    margin-bottom: 12px;
}

.lesson-pdfjs-card:fullscreen .lesson-pdfjs-viewer {
    height: calc(100vh - 130px) !important;
    max-height: calc(100vh - 130px) !important;
    flex: 0 0 auto !important;
    overflow: hidden !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px;
}

.lesson-pdfjs-card:fullscreen .lesson-pdfjs-controls {
    height: 54px !important;
    min-height: 54px !important;
    margin-top: 10px !important;
    background: #fff !important;
    position: relative !important;
    z-index: 20 !important;
}

.lesson-pdfjs-card:fullscreen .lesson-pdfjs-page,
.lesson-pdfjs-card:fullscreen canvas {
    max-height: calc(100vh - 150px) !important;
}