.modal-homework-settings .modal-content,
.modal-homework-saved .modal-content
{
    background-color: #49caff;
    border-radius: 24px;
    font-size: 1.5rem;
}

.modal-homework-settings .roll-card-goal .form-switch {
    padding-left: initial;
}

.modal-homework-settings .roll-card-goal .form-check .form-check-input {
    float: right;
}

.tempus-dominus-widget.light {
    font-size: 1.5rem
}

.homework-modal-input {
    font-size: 24px;
    margin-top: 5px;
}

.custom-minutes {
    width: 56px;
    border-radius: 0.75rem;
}

.homework-error {
    color: #ff5c33;
    font-size: 24px;
}

.inactive-quest {
    opacity: 0.6 !important;
}

.game-link {
    display: none;
    position: relative;
}

.game-link-show {
    display: block;
}

.game-link-locked {
    /*pointer-events: none;*/
    /*cursor: default;*/
}

.game-link-locked:after {
    background-color: rgba(0,0,0,.4);
    background-image: url(/img/Smlbankedbtn_purple.png);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: auto clamp(1rem,60%,1.875rem);
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

a.is-homework li {
    background-color: #593062 !important;
            color: white;

}

.instruction {
    font-size: 24px;
    color: white;
    background-color: #733381;
    border-radius: 15px;
}

.has-been-set {
    color: #496c3a;
}

a.comment {
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    color: #ffd849;
    background-color: #994fb2;
    font-size: 2rem;
}

.pro-lab-banner {
    position: relative;
    width: 100%;
    height: 150px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
}

.pro-lab-banner:after {
    background-image: url(/img/shop/Backgrounds/medal-mountain.png);
    background-position: 0px 0px;
    background-repeat: no-repeat;
   background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 15px;
    min-width: 550px;
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

.pro-lab-banner-title,
.pro-lab-banner-position,
.pro-lab-banner-medals {
    position: absolute;
    z-index: 1;
    color: #fff;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

.pro-lab-banner-title {
    font-size: 42px;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
}

.pro-lab-banner-position {
    top: 45px;
    font-size: 32px;
}

.pro-lab-banner-medals {
    bottom: 0px;
    display: flex;
    flex-flow: row;
    width: 300px;
    height: 60px;
    gap: 15px;
}

.pro-lab-banner-medal {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pro-lab-banner-medal > div {
    flex: 1;
}

.pro-lab-banner-info-icon {
    position: absolute;
    width: 32px;
    height: 32px;
    z-index: 1;
    font-size: 18px;
    right: 10px;
    top: 10px;
    padding:5px;
    border-radius:25px;
    background-color: #ffd849;
    cursor: pointer;
    border: 1px solid #4a3050;
}

.play-live-game-list {
    background: #f4f4f4;
    border: 1px solid #e7e7e7;
    cursor: pointer;
}

.play-live-game-list:hover {
    background: #eaeaea;
}

.no-active-game {
    color: white;
    font-size: 18px;
}

.quests-top-bar-sticky {
    position: sticky;
    top: 0;
    z-index: 1020;
}

/* Disable sticky on mobile screens */
@media (max-width: 768px) {
    .quests-top-bar-sticky {
        position: static;
    }
}
.show-on-multiple {
    display: none;
}
.show-on-edit-mode {
    display: none;
}

#game-list-group .list-group-item {
    background-color: initial;
}
#game-list-group .list-group-item a {
    color: #844492;
    padding: 0 5px; 
}
#game-list-group .list-group-item .task-game-trash-icon {
    color: #dc3545;
    padding: 0 5px; 
}

.ml-auto {
    margin-left: auto !important;
}

.roll-card {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border-radius: .5rem;
}

.roll-card-header {
    padding: .5rem;
    font-size:2.5rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, .03);
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.roll-card-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: .75rem;
}

.solo-games-banner {
    cursor: pointer;
    border-radius: 20px;
}

.sporty-spelling-groups {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 2rem;
    text-align: center;
}

.sporty-spelling-group {
    font-size: 2rem;
    padding: 10px 20px;
    text-align: center;
    width: 50%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    min-width: 250px;
    flex: 1 1 auto;
}

.button-group {
    background-color: #fbb149;
    border: 1px solid transparent;
    border-radius: 15px;
    box-shadow: 8px 8px #4a3050;
    width: 55%;
    cursor: pointer;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.button-group .title {
    font-size: 2.5rem;
    font-weight: bold;
}

.button-group .subtitle {
    font-size: 1.2rem;
}

.button-scheme {
    background: #ffe066;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 15px;
    box-shadow: 8px 8px #4a3050;
    cursor: pointer;
    width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left:15px;
}

.button-scheme span {
    position: relative;
    top: -8px;
}

.button-scheme img {
    width: 50px;
}

#gamesList .games {
    background-color: rgba(74, 121, 48, .702);
    border-radius: 0 0 10px 10px;
    flex-direction: column;
    padding: 15px;
    position: relative;
    z-index: 1;
}

#gamesList .games .game {
    align-items: center;
    border: none;
    border-radius: 15px;
    box-shadow: 3px 3px 6px #4a3050;
    color: #4a3050;
    cursor: pointer;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 5px 10px;
    width: 100%;
}

#gamesList .games .game .name {
    display: flex;
    flex: 1;
    flex-shrink: 1;
    font-size: 1.6rem;
    min-width: 0;
    width: auto;
}

#gamesModal .words {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    margin-left: 10px;
}

#gamesModal .words .word {
    color: #4a3050;
    background: #ffd849;
    margin: 3px 3px;
    font-size: 1.2rem;
    border-radius: 5px;
    padding: 0 5px;
}

.term-year {
    background-color: #f8cb9c;
    border-radius: 5px;
    padding: 0.25rem 0.5rem;
    font-size: 0.75em;
    color: #4a3050;
    font-weight: bold;
}

.term1-year {
    background-color: #f9adadff ;
}
.term2-year {
    background-color: #bbeeffff;
}
.term3-year {
    background-color: #bdffdeff;
}

#materialsYear {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    scroll-behavior: smooth;

    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #a9d18e #f0f0f0;
}

/* Chrome, Edge, Safari */
#materialsYear::-webkit-scrollbar {
    width: 10px;
}

#materialsYear::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

#materialsYear::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #a9d18e, #8cc469);
    border-radius: 10px;
    border: 2px solid #f0f0f0;
    transition: background 0.3s ease;
}

#materialsYear::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #8cc469, #6fa84e);
}

#task-info-table>tbody>tr:nth-of-type(odd) {
    background-color: #507c32;
    line-height: 1;
}

#task-info-table>tbody>tr:nth-of-type(even) {
    background-color: #68944bea;
    line-height: 1;
}

#task-info-table td {
    padding: 10px;
}