#header-component.course-overview .jumbotron {
    padding: 30px 0;
}

#header-component.course-overview .course-overview__layout {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

#header-component.course-overview .course-overview__media {
    flex: 0 1 auto;
    min-width: 0;
    max-width: calc(100% - 350px);
}

#header-component.course-overview .course-overview__image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 323px;
    border-radius: 4px;
}

#header-component.course-overview .course-overview__media--video {
    width: 574px;
}

#header-component.course-overview #CourseRuleVideoPlayer {
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
}

/* The shared player has inline dimensions; override them only in this overview. */
#header-component.course-overview #CourseRuleVideoPlayer iframe {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9;
    border: 0;
}

#header-component.course-overview .course-overview__text {
    flex: 1 1 320px;
    min-width: 0;
}

#header-component.course-overview .descriptions {
    min-height: 0;
    max-height: 323px;
    padding: 0 16px 0 0;
    overflow-wrap: anywhere;
    text-align: left;
    scrollbar-gutter: stable;
}

#header-component.course-overview .descriptions::-webkit-scrollbar {
    width: 8px;
}

#header-component.course-overview .descriptions::-webkit-scrollbar-track {
    background: rgba(128, 128, 128, .08);
    border-radius: 8px;
}

#header-component.course-overview .descriptions::-webkit-scrollbar-thumb {
    background: rgba(128, 128, 128, .45);
    border-radius: 8px;
}

#header-component.course-overview .descriptions::-webkit-scrollbar-thumb:hover {
    background: rgba(128, 128, 128, .65);
}

#header-component.course-overview .descriptions::-webkit-scrollbar-button {
    display: none;
}

@supports not selector(::-webkit-scrollbar) {
    #header-component.course-overview .descriptions {
        scrollbar-width: thin;
        scrollbar-color: rgba(128, 128, 128, .45) rgba(128, 128, 128, .08);
    }
}

#header-component.course-overview .descriptions img,
#header-component.course-overview .descriptions iframe {
    max-width: 100%;
}

@media (max-width: 991px) {
    #header-component.course-overview .jumbotron {
        padding: 16px 0;
    }

    #header-component.course-overview .course-overview__layout {
        flex-direction: column;
        gap: 24px;
    }

    #header-component.course-overview .course-overview__media,
    #header-component.course-overview .course-overview__text {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    #header-component.course-overview .course-overview__image {
        width: 100%;
        max-height: none;
    }

    #header-component.course-overview .descriptions {
        max-height: none;
        overflow: visible;
        padding-right: 0;
        scrollbar-gutter: auto;
    }
}

div.msgBoxButtons input[type='button'] {
    cursor: pointer;
    margin: 2px;
    height: 35px;
    width: 90px;
    border: 1px solid #afafaf;
    background-color: #004076;
    color: #fff;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
}

div.msgBoxButtons input[type='button']:hover {
    background-color: #444;
}

#painel_rotas {
    width: 40%;
    height: 500px;
    overflow: auto !important;
    padding: 0 !important;
    display: none;
}

#mapa_conteudo {
    margin: 0 10px 0 0;
    height: 500px;
}

#adp-placemark {
    margin: 0 !important;
}

.desc_breve {
    padding: 0 !important;
    min-height: 50px;
    margin-bottom: 30px;
    margin-top: 14px;
}

.calendario_semana > thead > tr > th,
.calendario_semana > tbody > tr > td {
    border-color: #95a5a6 !important;
}

.calendario_semana td,
.calendario_semana th {
    padding: 0;
}

.container .content {
    padding: 20px 40px;
}

#TurmasCurso {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 520px;
}

#TurmasCurso::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

#TurmasCurso::-webkit-scrollbar-button {
    background-color: rgba(0, 0, 0, 0.1);
    display: none;
}

#TurmasCurso::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.05);
    -webkit-border-radius: 99px;
    -moz-border-radius: 99px;
    border-radius: 99px;
}

#TurmasCurso::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.1);
    -webkit-border-radius: 99px;
    -moz-border-radius: 99px;
    border-radius: 99px;
}

#TurmasCurso::-webkit-scrollbar-thumb:active {
    background-color: rgba(0, 0, 0, 0.2);
}

#TurmasCurso::-webkit-scrollbar-corner {
    background-color: rgba(0, 0, 0, 0.05);
}

.curso-indisponivel-container {
    padding-top: 24px;
}

.curso-indisponivel-aviso {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    color: #6b4b05;
    background: #fff8e8;
    border: 1px solid #f1d38a;
    border-left: 5px solid #f0ad4e;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.curso-indisponivel-icone {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    color: #fff;
    background: #f0ad4e;
    border-radius: 50%;
    font-size: 22px;
}

.curso-indisponivel-aviso h3 {
    margin: 0 0 4px;
    color: #5d420d;
    font-size: 20px;
    font-weight: 600;
}

.curso-indisponivel-aviso p {
    margin: 0;
    line-height: 1.5;
}

.curso-conteudo-bloqueado {
    filter: blur(4px);
    opacity: 0.48;
    pointer-events: none;
    user-select: none;
}

@media (max-width: 767px) {
    .curso-indisponivel-aviso {
        align-items: flex-start;
        padding: 16px;
    }
}
