html {
    scroll-behavior: smooth;
}

.accordion .accordion-item .accordion-header .accordion-button {
    /*overflow-anchor: none;*/
    background-color: transparent;
    color: #191E3B;
    font: 16px/18px "Roboto-Bold", sans-serif;

}

.student_homework {
    /*width:100%;*/
    margin-right: 1px;
}

@media (max-width: 700px) {
    .student_homework {
        margin-left: 1px;
    }
    .student_homework .homework-header {
        /*margin-right: -6px;
        margin-left: -6px;*/
    }
    .student_homework .homework_main {
        padding-left: 5px;
        padding-right: 5px;
    }
    .student_homework .homework_main .homework-title {
        margin-top: 5px;
        margin-bottom: 5px;
        /*width: 90%;*/
    }
    .homework-title .homework-buttons {
        /*width: 90%;*/
    }
    .student_homework .homework_main .homework-title .genric-blog-btn {
        margin-top: 5px;
    }
    .student_homework .homework_content {
        padding-left: 0px;
        padding-right: 0px;
    }
}

.accordion .accordion-item .accordion-header .accordion-button:focus {
  box-shadow: none;
}

.accordion .accordion-item .accordion-header .accordion-button:hover {
  background-color: rgba(0, 0, 0, .075);
  cursor: pointer;
}

.accordion .accordion-item .accordion-header .accordion-button .accordion-header-link {
    font: 10px/12px "Roboto-Bold", sans-serif !important;
    color: grey;
}

.video-active {
    color: green;
}

.video-inactive {
    color: rgba(99, 99, 99, 0);
}

.fa-check.table-check {
    color: green;
    margin-right: 5px;
}

.fa-check.check-button {
    color: white;
    margin-right: 5px;
}

.fa-check.check-button:hover {
    color: #1568E3;
}

.fa-check.checked-button {
    color: #1568E3;
    margin-right: 5px;
}

.fa-check.checked-button:hover {
    color: #fff;
    margin-right: 5px;
}

.fa-close.table-close {
    color: red;
    margin-right: 5px;
}
/*Fix new fontawesome cross mark */
.fa-xmark.table-close {
    color: red;
    margin-right: 5px;
}
.fa-check-orange {
    color: orange;  /* Orange check mark */
    margin-right: 5px;
}

.fa-close-orange {
    color: orange;  /* Orange cross */
    margin-right: 5px;
}

.fa-arrow-up {
    color: green;
}

.fa-arrow-down {
    color: red;
}
.fa-minus {
    color: orange;
}
.lock-active {
    color: red;
}
.unlock-active {
    color: green;
}
.puzzle-piece-active {
    color: blue;
}

.student_rating {
    white-space: nowrap;
}

.student_rating .student_all_ratings {
  visibility: hidden;
  min-width: 120px;
  max-width: 400px;
  background-color: #FCDB32;
  color: #191E3B;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
}

.student_rating:hover .student_all_ratings {
    visibility: visible;
}

.student_subscription {
    white-space: nowrap;
}

.student_subscription .student_subscription_id {
  visibility: hidden;
  min-width: 120px;
  max-width: 400px;
  background-color: #FCDB32;
  color: #191E3B;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
}

.student_subscription:hover .student_subscription_id {
    visibility: visible;
}

.accordion .accordion-item .accordion-header .accordion-button .empty {
    margin-right: 20px;
}
.accordion-item h2 {
    margin-top: 0px !important;
}
.add-button {
    padding-right: 2px;
    padding-left: 2px;
}

.workbook {
    text-align: center;
    background-color: #191E3B;
    margin-bottom: 50px;
}

.workbook h5 {
    color: #FCDB32;
}


.workbook .video-frame {

    padding: 15px 15px 35px 15px;
}

.workbook .video-frame .frame-description {

}

.workbook .video-frame .frame-description p {
    color: #FCDB32;
    padding: 35px 15px 15px 15px;
}

.homework_video .video-frame {
  /*position: relative;*/
  /*padding-bottom: calc(56.25% * 0.75);*/ /* 16:9 */
  /*width: 75%;*/
}

.video-frame-iframe {
  width: 65vw;
  height: calc(65vw/1.77);
}

@media (max-width: 1400px) {
    .video-frame-iframe {
      width: 70vw;
      height: calc(70vw/1.77);
    }
}

@media (max-width: 1199px) {
    .video-frame-iframe {
      width: 90vw;
      height: calc(90vw/1.77);
    }
}
@media (max-width: 700px) {
    .video-frame-iframe {
      /*width: 80vw;*/
      height: calc(80vw/1.77);
    }
}

.frame-description span {
    color: #fff;
    font-size: 0.8rem;
}

.workbook .link-frame {
    padding: 15px 15px 35px 15px;
}

.workbook .link-frame a {
    color: #FCDB32;
}
.homework-list-background {
    margin-bottom: 50px;
    padding-left: 0px;
}

.homework-list {
    background: #191E3B;
    /*background: #FCDB32;*/
    padding: 25px 10px 15px 10px;
    margin: 0px 0px 10px 10px;
    height: 100%;
    border-radius: 4px 4px 4px 4px;
}
.puzzle-list {
    background: #191E3B;
    padding: 25px 10px 15px 10px;
    margin: 0px 0px 10px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: 4px 4px 4px 4px;
    min-height: 0;
}
@media (min-width: 2050px) and (max-width: 2500px) {
    .homework-list {
        padding: 25px 10px 15px 10px;
    }
}
@media (min-width: 1881px) and (max-width: 2050px) {
    .homework-list {
        padding: 25px 10px 15px 10px;
    }
}
@media (min-width: 1691px) and (max-width: 1880px) {
    .homework-list {
        padding: 25px 10px 15px 10px;
    }
}
@media (min-width: 1575px) and (max-width: 1690px) {
    .homework-list {
        padding: 25px 15px 15px 15px;
    }
}
@media (min-width: 1480px) and (max-width: 1574px) {
    .homework-list {
        padding: 25px 15px 15px 15px;
    }
}

@media (min-width: 1370px) and (max-width: 1479px) {
    .homework-list {
        padding: 25px 25px 15px 25px;
    }
}

@media (min-width: 1260px) and (max-width: 1369px) {
    .homework-list {
        padding: 25px 15px 15px 15px;
    }
}
@media (max-width: 1259px) {
    .homework-list {
        padding: 25px 5px 15px 5px;
    }
}

.homework-list-footer {
    position: sticky;
    padding-bottom: 10px;
}
.homework-list .homework-list-header {
    position: sticky;
    text-align: center;
    color: #FCDB32;
    margin-bottom: 0px;
}
.homework-list .homework-list-header h5 {
    color: #FCDB32;
    margin-top: 20px;

}

.puzzle-menu .puzzle-menu-header {
    flex-shrink: 0;
    text-align: center;
    color: #FCDB32;
    margin-bottom: 0px;
}
.puzzle-menu .puzzle-menu-header h3 {
    color: #FCDB32;
    margin-top: 20px;

}

.homework-list-quarters {
    height: calc(100% - 180px); /* Оставляем место для фиксированного заголовка */
    overflow-y: auto; /* Включаем вертикальную прокрутку */
    padding: 10px 10px 0px 10px;
    text-align: center;
}
.homework-list-quarters::-webkit-scrollbar {
    display: none;
}
.homework-list-quarters {
    -ms-overflow-style: none;  /* IE и Edge */
    scrollbar-width: none;     /* Firefox */
}
@media (max-width: 700px){
    .homework-list-quarters {
        padding-left: 30px;
        height: calc(100% - 100px);
    }
}
@media (mix-width: 2300px){
    .homework-list-quarters {
        height: calc(100% - 200px);
    }
}
.puzzle-header {
    text-align: center;
}
.puzzle-header h3 {
    padding-top: 10px;
}

.puzzle-menu .puzzle-list .scroll-button {
    line-height: 20px;
}

.pgn-list {
    flex: 1;
    overflow-y: auto; /* Включаем вертикальную прокрутку */
    padding: 10px 10px 0px 30px;
    text-align: left;
    min-height: 0;
}

.pgn-list::-webkit-scrollbar {
    display: none;
}
.pgn-list {
    -ms-overflow-style: none;  /* IE и Edge */
    scrollbar-width: none;     /* Firefox */
}
@media (max-width: 700px) {
    .pgn-list {
        padding-left: 30px;
        height: calc(100% - 80px);
        /*height: 100%;*/
    }
    .course_item_main .pgn-list {
        height: calc(100% - 150px);
    }
}
@media (mix-width: 2300px) {
    .pgn-list {
        height: calc(100% - 200px);
    }
}




.homework-menu .homework-list a.active {
    border-left-color: #FCDB32;
    color: #FCDB32;
    font-weight: 800;
    padding-left: 15px;
}

.homework-menu .homework-list .quarter-link:hover {
/*    color: #1568E3;*/
    padding-left: 15px;
    border-left-color: #FCDB32;
    color: #FCDB32 !important;
}

.homework-menu .homework-list .quarter-link {
    color: #FCDB32;
    padding-bottom: 10px;
    border-left: 3px solid transparent;
    /*padding-left: 8px;*/
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 20px;
    padding-left: 15px;
}


.puzzle-menu .puzzle-list .puzzle-item:hover {
/*    color: #1568E3;*/
    padding-left: 15px;
    border-left-color: #FCDB32;
    color: #FCDB32 !important;
    cursor: pointer;
}

.puzzle-menu .puzzle-list .puzzle-item.selected {
/*    color: #1568E3;*/
    padding-left: 15px;
    border-left-color: #FCDB32;
    color: #FCDB32 !important;
    font-weight: 600;
}

.puzzle-menu .puzzle-list .puzzle-item {
    color: #FCDB32;
    padding-bottom: 10px;
    border-left: 3px solid transparent;
    /*padding-left: 8px;*/
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 20px;
    padding-left: 15px;
}

.puzzle-menu {
    padding: 20px 20px 0px 20px;
    color: #FCDB32;
    z-index: 2;
    overflow: hidden;
    overflow-x: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.puzzle-sidebar-ipad {
    color: #FFF;
    padding: 25px 10px 15px 10px;
}

.homework-menu {
    padding: 50px 0px 0px 20px;
    color: #FCDB32;
    z-index: 2;
    overflow: hidden;
    overflow-x: hidden;
    height: calc(100vh - 230px);
}
@media (min-width: 2115px) and (max-width: 2214px) {
    .homework-menu {
         height: calc(100vw/2.10);
    }
}
@media (min-width: 2215px) and (max-width: 2389px) {
    .homework-menu {
         height: calc(100vw/2.11);
    }
}
@media (min-width: 2215px) and (max-width: 2389px) and (device-aspect-ratio: 16/10) {
    .homework-menu {
         height: calc(100vw/1.905);
    }
}
@media (min-width: 2390px) {
    .homework-menu {
         height: calc(100vw/2.165);
    }
}
@media (min-width: 2390px) and (device-aspect-ratio: 16/10) {
    .homework-menu {
         height: calc(100vw/1.945);
    }
}
.puzzle-png-moves {
    max-height: 30vh;
    overflow-x: auto;
}
@media (max-width: 1400px) {
    .course_item .course_item_main .puzzle-menu {
        padding: 20px 10px 0px 10px !important;
    }
}

@media (max-width: 1199px) {
    .homework-menu.active {
        transform: translateX(0) !important;
        position: fixed;
        pointer-events: initial;
    }
    .puzzle-menu.active {
        transform: translateX(0) !important;
        position: fixed;
        pointer-events: initial;
    }
    .homework-menu {
        align-items: flex-end;
        margin-right: 0;
        padding-right: 0;
        z-index: 2;
        top: 60px;
        margin-top: 72px;
        /*right: 0;
        pointer-events: auto;*/

        width: 100%;
        height: 100%;
        position: fixed;
        padding-bottom: 100px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        top: 0;
        left: 0;
        transform: translateX(100%);
        pointer-events: none;
        transition: transform 0.3s;
    }
    .puzzle-menu {
        align-items: flex-end;
        margin-right: 0;
        padding-right: 0;
        z-index: 2;
        top: 60px;
        margin-top: 72px;
        /*right: 0;
        pointer-events: auto;*/

        width: 100%;
        height: 100%;
        position: fixed;
        padding-bottom: 100px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        top: 0;
        left: 0;
        transform: translateX(100%);
        pointer-events: none;
        transition: transform 0.3s;
    }

    .homework-menu .homework-list {
        width: 200px;
        height: 100%;

        z-index: 3;
        /*background: rgba(255, 255, 255, 0.75);*/
        background: rgba(25, 30, 59, 0.75);
        box-shadow: -4px 4px 9px rgba(0, 0, 0, 0.25);
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        border-radius: 4px 0px 0px 4px;
        padding: 18px 42px 18px -15px;
    }
    .puzzle-menu .puzzle-list {
        width: 200px;
        height: 100%;

        z-index: 3;
        /*background: rgba(255, 255, 255, 0.75);*/
        background: rgba(25, 30, 59, 0.75);
        box-shadow: -4px 4px 9px rgba(0, 0, 0, 0.25);
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        border-radius: 4px 0px 0px 4px;
        padding: 18px 42px 18px -15px;
    }

    .homework-list-background {
        align-items: flex-end;
        margin-right: 0;
        padding-right: 0;
        z-index: 2;
        /*overflow: hidden;*/
        width: 30%;
        height: 30%;
        position: fixed;
        margin-bottom: 0px;
        padding-bottom: 0px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        top: 0;
        left: 0;
    }
    .workbook .video-frame {
        padding: 0px 0px 0px 0px;
    }
}

.homework-menu-toggle {
    width: 38px;
    height: 38px;
    background: #1568E3;
    box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.21);
    border-radius: 4px 0px 0px 4px;
    position: fixed;
    z-index: 2000;
    padding: 0;
    /*top: 300px;*/
    top: 50%;
    right: 0;
    margin-top: -19px;
    border: none;
    outline: none;
}

.puzzle-menu-toggle {
    width: 38px;
    height: 38px;
    background: #1568E3;
    box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.21);
    border-radius: 4px 0px 0px 4px;
    position: fixed;
    z-index: 2000;
    padding: 0;
    /*top: 300px;*/
    top: 80%;
    right: 0;
    margin-top: -19px;
    border: none;
    outline: none;
}

@media (min-width: 1200px) {
    .homework-menu-toggle {
        display: none;
    }
    .puzzle-menu-toggle {
        display: none;
    }
}

.accordionHomework {
    --bs-accordion-bg: transparent;
    background-color: transparent;
    /*overflow-anchor: none;
    overflow: initial;*/
    overflow-y: auto;
    overflow-x: hidden;

    transition: all 0.5s ease-in-out;
    max-height: 67vh;
    min-width: 25vw;
}

@media (max-width: 1199px) {
    .homework-list-iPad {
        width: 400px !important;
    }
    .accordionHomework-iPad {
        max-height: 67vh;
        min-width: 35vw;
    }
}

@media (max-width: 900px) {
    .homework-list-iPad {
        width: 400px !important;
    }
    .accordionHomework-iPad {
        max-height: 67vh;
        min-width: 50vw !important;
    }
    .accordionHomework {
        min-width: 45vw;
    }
}

@media (min-width: 701px) and (max-width: 1199px) and (orientation: portrait) {
    .puzzle-menu {
        align-items: flex-end;
        margin-right: 0;
        padding-right: 0;
        z-index: 2;
        top: 60px;
        margin-top: 2px;
        width: 300px;
        height: 120vh;
        position: fixed;
        padding-bottom: 100px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        top: 0;
        left: 0;
        transform: translateX(400%);
        pointer-events: none;
        transition: transform 0.3s;
    }
    .puzzle-menu.active {
        transform: translateX(300%) !important;
        position: fixed;
        pointer-events: initial;
    }
    .puzzle-menu .puzzle-list {

    }
    .puzzle-menu .puzzle-list .pgn-list {
        height: 80vh;
        padding: 0px 0px 0px 0px;
        width: 300px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) and (orientation: portrait) {
    .puzzle-menu {
        transform: translateX(600%) !important;
    }
    .puzzle-menu.active {
        transform: translateX(500%) !important;
    }
}

@media (max-width: 1199px) and (orientation: landscape) {
    .puzzle-menu {
        align-items: flex-end;
        margin-right: 0;
        padding-right: 0;
        z-index: 2;
        top: 60px;
        margin-top: 2px;
        width: 300px;
        height: 120vh;
        position: fixed;
        padding-bottom: 100px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        top: 0;
        left: 0;
        transform: translateX(400%);
        pointer-events: none;
        transition: transform 0.3s;
    }
    .puzzle-menu.active {
        transform: translateX(300%) !important;
        position: fixed;
        pointer-events: initial;
    }
    .puzzle-menu .puzzle-list {

    }
    .puzzle-menu .puzzle-list .pgn-list {
        height: 50vh;
        padding: 0px 0px 0px 0px;
        width: 300px;
    }
}

@media (max-width: 1199px) and (max-height: 821px) and (orientation: landscape) {
    .puzzle-menu {
        align-items: flex-end;
        margin-right: 0;
        padding-right: 0;
        z-index: 2;
        top: 60px;
        margin-top: 2px;
        width: 300px;
        height: 120vh;
        position: fixed;
        padding-bottom: 100px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        top: 0;
        left: 0;
        transform: translateX(600%);
        pointer-events: none;
        transition: transform 0.3s;
    }
    .puzzle-menu.active {
        transform: translateX(500%) !important;
        position: fixed;
        pointer-events: initial;
    }
    .puzzle-menu .puzzle-list {

    }
    .puzzle-menu .puzzle-list .pgn-list {
        height: 76vh;
        padding: 0px 0px 0px 0px;
        width: 300px;
    }
    .chess-container .main-content {
        padding: 5px 5px 0 5px;
        margin: 0;
    }

    .chess-container .main-content .puzzle-content {
        padding: 25px 5px 5px 5px;
    }
    .puzzle-sidebar-ipad {
        padding: 5px 5px 0 5px;
    }

}
@media (max-width: 1000px) and (max-height: 500px) and (orientation: landscape) {
    .chess-container .main-content .puzzle-content {
            padding: 5px 5px 0px 5px;
        }
    .puzzle-menu {
        transform: translateX(400%);
    }
    .puzzle-menu.active {
        transform: translateX(300%) !important;
    }

}

@media (max-width: 1199px) and (min-height: 700px) and (max-height: 800px) {
    .puzzle-menu {
        transform: translateX(600%);
    }
    .puzzle-menu.active {
        transform: translateX(500%) !important;
    }
}

@media (max-width: 1199px) and (min-height: 700px) and (max-height: 800px)  and (orientation: portrait) {
    .puzzle-menu {
        transform: translateX(100%);
    }
    .puzzle-menu.active {
        transform: translateX(0) !important;
    }
}

.accordionHomework .accordion-item {
    /*height: 100%;*/
}

.accordionHomework .accordion-button {
  text-align: left;
  position: relative;
  text-transform: inherit;
  letter-spacing: 0;
  background-color: transparent;

}

.accordionHomework .accordion-collapse .accordion-body {
    flex-wrap: wrap !important;
    /*display: flex !important;*/
    word-wrap: break-word;
    align-items: flex-end;
}

.student_homework .homework_by_week {

}

.personal-homework {
    padding-top: 10px;
    padding-bottom: 10px;
}

.student-profile-content{
    min-height: calc(100vh - 515px);
    overflow-y: hidden;
}

.homework-title {
    margin-top: 25px;
    margin-bottom: 25px;
}

.homework-card {
    padding: 25px 55px 25px 55px;
    /*background-color: #FCDB32;*/
    background-color: #191E3B;
    margin-bottom: 20px;
    border: 5px solid transparent;
    border-radius: 4px 4px 4px 4px;
    -webkit-box-shadow: 0px 16px 35px 0px rgba(0, 0, 2, 0.08);
    -moz-box-shadow: 0px 16px 35px 0px rgba(0, 0, 2, 0.08);
    box-shadow: 0px 16px 35px 0px rgba(0, 0, 2, 0.08);
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}
@media (min-width: 2400px) {
    .homework-card {
        height: calc(100vh / 3.655);
    }
}
@media (min-width: 2200px) and (max-width: 2399px) {
    .homework-card {
        height: calc(100vh / 4);
    }
}
@media (min-width: 768px) and (max-width: 2199px) {
    .homework-card {
        height: 300px;
    }
}
@media (min-width: 1200px) and (max-width: 2199px) {
    .homework-card {
        padding: 25px 10px 25px 5px;
        text-overflow: ellipsis;
    }
}

@media (max-width: 575px) {
    .homework-card {
        padding: 25px 15px 25px 5px;
    }
}

.homework-card h4 {
    color: #FCDB32;
    margin-bottom: 10px;
}
.homework-card .genric-blog-btn {
    margin: 5px;
    white-space: nowrap;
    font-size: clamp(10px, 3vw, 14px) !important;
    text-overflow: ellipsis;
    padding: 0 5px;
}
@media (min-width: 1801px) and (max-width: 1900px) {
    .homework-card .genric-blog-btn {
        font-size: 13px !important;
    }
}
@media (min-width: 1400px) and (max-width: 1800px) {
    .homework-card .genric-blog-btn {
        font-size: 10px !important;
    }
}
@media (min-width: 1281px) and (max-width: 1399px) {
    .homework-card .genric-blog-btn {
        font-size: 9px !important;
    }
}
@media (min-width: 1200px) and (max-width: 1280px) {
    .homework-card .genric-blog-btn {
        font-size: 8px !important;
    }
}
@media (min-width: 768px) and (max-width: 893px) {
    .homework-card .genric-blog-btn {
        font-size: 10px !important;
    }
}

.btn-short {
    padding: 0 5px;
}

.homework-card:hover {
    /*padding: 25px 25px 25px 25px;
    border: 5px solid #000099;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    margin-bottom: 20px;*/
}

.fa-angle-up {
    display: none;
}

.fa-angle-down {
    display: none;
}

.homework_video {
    padding: 25px 25px 25px 25px;
    /*background-color: #FCDB32;*/
    background-color: #191E3B;
    margin-bottom: 20px;
    border: 5px solid transparent;
    border-radius: 4px 4px 4px 4px;
    -webkit-box-shadow: 0px 16px 35px 0px rgba(0, 0, 2, 0.08);
    -moz-box-shadow: 0px 16px 35px 0px rgba(0, 0, 2, 0.08);
    box-shadow: 0px 16px 35px 0px rgba(0, 0, 2, 0.08);
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    /*min-height: calc(100vh - 330px);*/
    height: 100%;
}

.puzzle-content {
    padding: 25px 25px 25px 25px;
    /*background-color: #FCDB32;*/
    background-color: #191E3B;
    margin-bottom: 20px;
    border: 5px solid transparent;
    border-radius: 4px 4px 4px 4px;
    -webkit-box-shadow: 0px 16px 35px 0px rgba(0, 0, 2, 0.08);
    -moz-box-shadow: 0px 16px 35px 0px rgba(0, 0, 2, 0.08);
    box-shadow: 0px 16px 35px 0px rgba(0, 0, 2, 0.08);
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    /*min-height: calc(100vh - 330px);*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/*@media (min-width: 700px) {
    .course-item .main-content {
        padding: 20px 20px 0 20px;
    }
}*/
.course_item .puzzle-content {
    height: calc(100vh - 150px);
    width: calc(100vh - 150px);
}

@media (max-width: 700px) {
    .puzzle-content {
        padding: 5px 5px 5px 5px;
    }
    .course_item_main .puzzle-content {
        padding: 0;
    }
    .homework_video {
        padding: 5px 0px 5px 0px;
    }
}

@media (max-width: 700px) and (orientation: landscape) {
    .puzzle-content {
        padding: 5px 5px 5px 5px;
        height: 87vh;
        width: 87vh;
    }
    .homework_video {
        padding: 5px 0px 5px 0px;
    }

}

@media (max-width: 950px) and (orientation: landscape) {
    .puzzle-content {
        padding: 5px 5px 5px 5px;
        height: 87vh;
        width: 87vh;
    }
    .homework_video {
        padding: 5px 0px 5px 0px;
    }

}

@media (min-width: 701px) and (max-width: 1199px) and (orientation: portrait) {
    .puzzle-content {
        padding: 5px 5px 5px 5px;
        height: 99vw;
        width: 99vw;
    }
    .homework_video {
        padding: 5px 0px 5px 0px;
    }
}

@media (min-width: 2215px) and (max-width: 2389px) and (device-aspect-ratio: 16/10) {
    .homework_video {
         height: calc(100vw/2.08);
    }
}
@media (min-width: 2390px) and (device-aspect-ratio: 16/10) {
    .homework_video {
        height: calc(100vw/2.105);
    }
}

.homework-dropdown .dropdown-menu {
    /* background-color: #191E3B; */
}

.homework-dropdown .dropdown-menu .dropdown-item:not(:last-child) {
    margin-bottom: 10px;
}

.empty_study_link {
    padding-right: 123.5px;
}

.test-card {
    border: 1px solid;
    border-radius: 4px 4px 4px 4px;
    border-color: #FCDB32;
    /*max-width: 300px;*/
    min-height: calc(100vh - 440px);
    margin: 25px 25px 25px 25px;
    padding: 25px 25px 25px 25px;
    vertical-align: middle;
    align-content: center;

}

.test-card .test-description {
    color: #fff;
}

.test-card .test-description h4 {
    color: #fff;
}
.test-card .test-description .already_uploaded{
    color: #fff;
}

.test-card .test-description .test-button {
    margin-bottom: 20px;
}

.test-card .test-description .homework_grade .homework_test_grade {
    color: #FCDB32;
}
.homework_grade .homework_grade_comment {
    margin-top: 20px;
}

/*.homework_grade .homework_grade_comment {
  visibility: hidden;
  min-width: 120px;
  max-width: 400px;
  background-color: #FCDB32;
  color: #191E3B;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
}

.homework_grade:hover .homework_grade_comment {
    visibility: visible;
}*/

.puzzle-sidebar {
    padding: 20px 20px 0px 10px;
    color: #FFF;
    z-index: 0;
    overflow: hidden;
    overflow-x: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.puzzle-sidebar-main {
    background: #191E3B;
    padding: 25px 10px 15px 10px;
    margin: 0px 0px 0px 0px;
    flex: 1;
    border-radius: 4px 4px 4px 4px;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.puzzle-sidebar-main::-webkit-scrollbar {
    width: 6px;
}

.puzzle-sidebar-main::-webkit-scrollbar-track {
    background: #0f1426;
    border-radius: 3px;
}

.puzzle-sidebar-main::-webkit-scrollbar-thumb {
    background: #FCDB32;
    border-radius: 3px;
}

.puzzle-sidebar-main::-webkit-scrollbar-thumb:hover {
    background: #d4b81e;
}

@media (min-width: 701px) {
    .puzzle-sidebar {
        height: 100%;
    }
    .puzzle-sidebar-main {
        flex: 1;
    }
}
@media (min-width: 1179px) and (orientation: landscape) {
    .puzzle-sidebar {
        padding: 5px 5px 0px 5px;
        width: 100%;
    }
}

@media (min-width: 701px) and (max-width: 1199px) and (orientation: portrait) {
    .puzzle-sidebar {
        padding: 5px 5px 0px 5px;
        /*max-height: 87vh;*/
        height: 87vw;
        width: 100vw;
        flex: none;
        max-width: 100vw;
    }
    .puzzle-sidebar-ipad {
        color: #FFF;
        z-index: 0;
        overflow: hidden;
        overflow-x: hidden;
        padding: 5px 5px 0px 5px;
        /*max-height: 87vh;*/
        height: calc(100vh - 100vw - 45px);
        /*width: 100%;*/
        width: 100vw;
    }

    .puzzle-sidebar-main {
        padding: 10px 10px 15px 10px;
        height: 87vw;
        width: 97vw;
    }
    .puzzle-sidebar-ipad .puzzle-sidebar-main {
        width: 100%
    }
    .puzzle-png-moves {
        max-height: 85vw;
    }
}
@media (min-width: 1000px) and (max-width: 1199px) and (min-height: 1300px) and (orientation: portrait) {
    .puzzle-sidebar-ipad {
        z-index: 0;
        overflow: hidden;
        overflow-x: hidden;
        padding: 5px 5px 0px 5px;
        flex: none;
        height: calc(100vh - 100vw - 45px);
        width: 100vw;
        max-width: 100vw;
    }

    .puzzle-menu {
        transform: translateX(600%);
    }
    .puzzle-menu.active {
        transform: translateX(500%) !important;
    }

}
@media (min-width: 820px) and (max-height: 1180px) and (orientation: portrait) {
    .puzzle-sidebar {
        color: #FFF;
        z-index: 0;
        overflow: hidden;
        overflow-x: hidden;
        padding: 5px 5px 0px 5px;
        height: calc(100vh - 100vw - 45px);
        width: 100%;
    }
    .puzzle-sidebar-main {
        padding: 10px 10px 15px 10px;
        height: 100%;
        width: 100%;
    }
}

@media (max-width: 950px) and (orientation: landscape) {
    .puzzle-sidebar {
        padding: 5px 5px 0px 5px;
        /*max-height: 87vh;*/
        height: 87vh;
        width: 87vh;
    }
    .puzzle-sidebar-main {
        padding: 10px 10px 15px 10px;
        height: 87vh;
        width: 87vh;
    }
    .puzzle-sidebar-ipad {
        padding: 5px 5px 0px 5px;
        height: 87vh;
        width: 85vh;
    }
    .puzzle-png-moves {
        max-height: 85vh;
    }
}
@media (max-width: 700px) {
    .puzzle-sidebar {
        padding: 5px 5px 0px 5px;
        max-height: calc(100vh - 100vw - 30px);
    }
    .puzzle-sidebar-main {
        padding: 10px 10px 15px 10px;
        height: calc(100vh - 114vw);
    }
    .puzzle-sidebar-ipad {
        padding: 5px 5px 0px 5px;
        max-height: calc(100vh - 100vw - 30px);
    }
}

@media (max-width: 700px) and (orientation: portrait){
    .puzzle-sidebar {
        padding: 5px 5px 0px 5px;
        max-height: calc(100vh - 100vw - 30px);
        flex: none;
        max-width: 100vw;
    }
    .puzzle-sidebar-main {
        padding: 10px 10px 15px 10px;
        height: calc(100vh - 114vw);
    }
    .puzzle-sidebar-ipad {
        padding: 5px 5px 0px 5px;
        max-height: calc(100vh - 100vw - 30px);
    }
}

@media (max-width: 700px) and (orientation: landscape) {
    .puzzle-sidebar {
        padding: 5px 5px 0px 5px;
        max-height: 87vh;
        width: 85vh;
    }
    .puzzle-sidebar-main {
        padding: 10px 10px 15px 10px;
        height: 88vh;
        width: 87vh;
    }
    .puzzle-sidebar-ipad {
        padding: 5px 5px 0px 5px;
        max-height: 87vh;
        width: 75vh;
    }
    .puzzle-png-moves {
        max-height: 65vh;
    }
    .puzzle-menu {
        transform: translateX(200%);
    }
    .puzzle-menu.active {
        transform: translateX(120%) !important;
    }
    .puzzle-menu .puzzle-list .pgn-list {
        height: 45vh;
        padding: 0px 0px 0px 0px;
        width: 200px;
    }
}
@media (min-height: 700px) and (max-height: 800px) and (max-width: 1199px) {
    .puzzle-sidebar-ipad {
        color: #FFF;
        z-index: 0;
        overflow: hidden;
        overflow-x: hidden;
        padding: 5px 5px 0px 5px;
        /*max-height: 87vh;
        height: calc(100vw - 100vh - 45px);*/
        width: 100%;
    }
    .puzzle-sidebar-ipad .puzzle-sidebar-main {
        width: 100%
        height: 100%;
    }
}

.workbook_grade {
    color: #fff;
}

.workbook_coach_comment{
    color: #fff;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    list-style: none !important;
}

.class_status_not_started {
    color: red;
}

.class_status_in-progress {
    color: orange;
}

.class_status_completed {
    color: green;
}

.short-leader-board {

    margin-top: 74px;
    margin-bottom: 50px;
}

.span-attempt:not(:last-child)::after {
  content: "\A";  /* Символ переноса строки */
  white-space: pre;  /* Сохраняет пробелы и переносы */
}