﻿.coursemapRaam{
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    height: 100%;
    overflow: hidden;
    justify-content: center;
}
.coursemapThumbRaam{
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    height: 100%;
    overflow: auto;
    justify-content: center;

    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}
.qTitle{
    font-size: 110%;
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
    width: 95%;
    color: var(--main-color1);
}
.qDesc{
    font-size: 110%;
    text-align: center;
    font-weight: bold;
    width: 95%;
    color: var(--main-color1);
    margin-top: -10px;
}
.preview{
    flex-grow: 1;
    padding: 20px;
    height: 100%;
    overflow: auto;
}
.filterbox{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap:0;
    min-width: 400px;
    width: 100%;
    height: 100%;
    border-right: 1px solid var(--gray2);
    flex-basis: 35%;

    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}
.filter{
    flex-shrink: 0;
    width: calc(100% - 10px);
    height: fit-content;
    padding: 10px 5px 10px 5px;
}
.selectBox{
    position: relative;
    display: block;
    width: 100%;
    height: 40px;
}
.hall{
    color:var(--gray2);
}
.selectBox img{
    position: absolute;
    background-color: var(--main-color1-20);
    width: 20px;
    height: 20px;
    padding: 7px;
    border-radius: var(--border-radius-small);
    filter:var(--main-filter);
    z-index: 201;
}
.high-contrast .selectBox img{
    background-color: rgba(0,0,0,0)!important;
    filter:var(--high-contrast-filter);
}

.select-filter {
    display: inline-flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-end;
    font-size: 100%;
    position: absolute;
    padding: 0;
    border-radius: var(--border-radius-small);
    border: 1px solid var(--main-color1);
    background: rgb(249, 249, 249) url("/assets/img/combo.svg") no-repeat calc(100% - 10px) 10px;
    appearance: none;
    cursor: pointer;
    width: 100%;
    height: 34px;
    text-align: right;
    outline: none;
    background-color: var(--body-bg);
    z-index: 200;
    overflow: hidden;
}
.select-filter-selected,
.selButton{
    border: none;
    width: calc(100% - 82px);
    height: 19px;
    text-align: right;
    padding: 7px;
    margin-right: 35px;
    background-color: var(--body-bg);
    font-size: 16px;
    color: var(--body-fg);
}
.selButton{
    margin-right: 0;
    width: 100%;
    padding-right: 20px;
    height: 35px;
}
.selButton:hover{
    background-color: var(--gray01);
}
.styleWhite{
    color: var(--gray4)!important;
    background-color: var(--body-bg)!important;
}
.styleGray{
    color: var(--gray3)!important;
    background-color: var(--body-bg)!important;
}
.styleBlack{
    color: var(--gray4)!important;
    background-color: var(--body-bg)!important;
}
.selected{
    background-color: var(--gray0)!important;
}

.coursemap{
    width: 100%;
    flex-grow:1;
    border-right: 1px solid var(--gray2);
    overflow: auto;
 }

.coursemap-thumb{
    display: inline-flex;
    width: 100%;
    max-width: 1200px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-content: flex-start;
    padding: 0 50px 0 50px;
}

.chapter-thumb{
    margin-top: 20px;
    margin-right: 20px;
    display: block;
    position: relative;
    width: 230px;
    height: 230px;
}

.chapter-thumb:focus,
.chapter-thumb:hover
{
    transform: scale(1.05, 1.05);
    transition-duration: .7s;
    border: none;
}
.thumb-img{
    display: inline-block;
    position: absolute;
    left: 0;
    top:0;
    width: 100%;
    height: 95%;
    border: none;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}
.chapter-thumb-title{
    display: inline-block;
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 0;
    height: 30%;
    background-color: var(--course-title);
    color: var(--body-bg);
    z-index: 10;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}
.thumb-title{
    font-weight: bold;
    font-size: 100%;
    display: inline-block;
    padding: 12px 5px 0 15px;
}

.thumb-desc{
    font-size: 85%;
    display: inline-block;
    padding: 0 5px 5px 15px;
}
.chapterthumb-active .chapter-thumb-title {
    background-color: var(--main-color1);
}
.chapterthumb-active:before{
    content: url(/assets/img/jarjehoidja.svg);
    position: relative;
    z-index: 10;
    left: 170px;
    top: 0;
    filter: var(--main-filter);
}
.high-contrast .chapterthumb-active:before{
    filter: var(--high-contrast-filter);
}
.high-contrast .thumb-img{

}
.chapter{
    display: block;
    border-left: none;
    border-right: none;
    font-size: 100%;
    text-transform: uppercase;
    padding: 10px;
    outline: none;
    transition: 0.4s;
    line-height: 1.5;
    text-align: left;
    cursor: pointer;
    font-weight: bold;
    color: var(--black);
    background-color: #EEEEEE;
    border-top: 1px solid #A8A8A8;
    border-bottom: 1px solid #A8A8A8;
    width: calc(100% - 20px);
 }
.chapter:hover,
.chapter:focus{
    background-color: #D3D3D3;
    border: 1px solid var(--gray1);
}
.chapter-active-sel{
    background-color: #DFDFEB;
}
.chapter-active-sel:hover,
.chapter-active-sel:focus{
    background-color: #BCBDCE;
}
.lesson{
    display: block;
    color: var(--main-color2);
    border-left: none;
    border-right: none;
    text-transform: uppercase;
    font-size: 90%;
    padding: 5px;
    outline: none;
    transition: 0.4s;
    line-height: 1.5;
    text-align: left;
    font-weight: bold;
    background-color: #D0D1E2;
    border-bottom: 1px solid #A8A8A8;
}
.lesson:focus{
    border: 1px solid var(--gray1);
}
.chapter-active{
    color: var(--black)!important;
    background-color: #D0D1E2!important;
    border-bottom: 1px solid #A8A8A8!important;
}
.chapter-active:hover,
.chapter-active:focus{
    background-color: #BCBDCE!important;
}
.lesson-active{
    color: var(--main-color3)!important;
    background-color: #D0D1E2!important;
    border-bottom: 1px solid #A8A8A8!important;
}
.lesson-active:hover,
.lesson-active:focus{
    background-color: #BCBDCE!important;
}
.high-contrast .lesson-active{
    color: var(--high-contrast-bg)!important;
    background-color: var(--high-contrast-fg)!important;
    border-bottom: 1px solid var(--high-contrast-fg)!important;
}
.high-contrast .chapter-active{
    color: var(--high-contrast-bg)!important;
    background-color: var(--high-contrast-fg)!important;
    border-bottom: 1px solid var(--high-contrast-fg)!important;
}
.high-contrast .task-active{
    text-decoration: underline;
}
.tasktitle{
    margin-left: 30px;
    display: block;
    border: 0 none;
    font-size: 90%;
    text-transform: uppercase;
    font-weight: bold;
    outline: none;
    transition: 0.4s;
    line-height: 1.5;
    text-align: left;
    color: #4C4C4C;
    background-color: rgba(0,0,0,0);
    padding: 7px 3px 3px 3px;
}

.task {
    margin-left: 30px;
    display: block;
    border: 0 none;
    text-align: left;
    font-size: 100%;
    padding: 6px 18px 6px 3px;
    outline: none;
    background-image: url("/assets/img/unvisited.svg");
    background-size: 20px;
    background-position: right;
    background-repeat: no-repeat;
    color: #303030;
    background-color: rgba(0,0,0,0);
    width: calc(100% - 56px);
}
.task:hover,
.task:focus{
    background-color: var(--gray01);
}

.task-active:hover,
.task-active:focus{
    background-color: var(--main-color1-20);
}
.visited{
    background-image: url("/assets/img/visited.svg")!important;
}
.task-active{
    color:var(--main-color1);
    font-weight: bold;
    background-color: var(--main-color1-10);
    background-image: var(--visited-svg)!important;
}
.coursemapFooter{
    background-color: var(--main-color1);
    padding: 10px;
    text-align: center;
}
.exam-button {
    border: none;
    font-size: 90%;
    text-transform: uppercase;
    text-align: center;
    color: var(--white);
    background-color: var(--main-color1);
    border-right: 1px solid #ffffff;
    cursor: pointer;
    padding: 10px;
    outline: none;
    transition: 0.4s;
    line-height: 1.5;
    margin: 10px 0 10px 30px;
    border-radius: var(--border-radius);
}
.chaptercontent{
    outline: none;
    width: 100%;
}
.lessoncontent{
    width: 100%;
}
.icon{
    border: none;
    width: 17px;
    height: 17px;
    padding-right: 10px;;
}
@media screen and (max-width: 1000px), screen and (max-device-width: 1000px){
    .preview{
        display: none;
    }
    .coursemap{
        margin: auto;
        max-width: 1200px;
        flex-basis: initial;
    }
    .filterbox {
        flex-basis: 100%;
    }
}

@media screen and (max-width: 750px), screen and (max-device-width: 750px),screen and (orientation: portrait) {
    .coursemapRaam{
        justify-content: flex-start;
    }
    .coursemap{
        min-width: 100px;
        width: 100%;
        font-size: 90%;
    }
    .coursemap-thumb{
        margin:0;
        gap:5px;
        padding: 0;
    }
    .chapter{
        margin-left: 0;
        padding: 3px;
        width: calc(100% - 6px);
    }
    .lesson{
        margin-left: 5px;
    }
    .task{
        margin-left: 10px;
        padding: 6px 20px 6px 3px;
        width: calc(100% - 33px);
    }
    .tasktitle{
        margin-left: 10px;
    }
    .chapter-thumb{
        margin-right: 0;
        width: 160px;
        height: 160px;
    }
    .thumb-title{
        font-size: 90%;
        padding: 3px 0 0 8px;
    }

    .thumb-desc{
        padding: 0 0 0 8px;
    }
    .chapterthumb-active:before {
        left: 105px;
    }
    .exam-button {
        margin: 10px 0 10px 10px;
    }
    .filter {
        width: calc(100% - 15px);
    }
    .filterbox{
        min-width: 300px;
    }
}