
.fh{
    height: 100%;
}
.custom-list, .custom-list *{
    list-style: none;
    margin: 0;
}
.pop-file-list{
    top: 10vh;
    box-shadow: var(--shadow-small);
    background: var(--main-bg);
    border-radius: 6px;
    display: none;
    max-height: 75vh;
    overflow: auto;
    z-index: 1000;
    right: 0;
    left: unset;
}
.pop-file-list.active{
    display: grid;
}
.custom-list li ul,
 .list-options-container{
    display: none;
    position: absolute;
    padding: 0;
    border-radius: 6px;
    background: var(--main-bg);
    height: calc(100vh - 90px);
    top: 45%;
} 
.list-options-container.active{
    display: block;
    position: fixed;
    box-shadow: var(--shadow-small);
    height: calc(100vh - 0px);
    top: 0px;
    z-index: 120;
}
/* .custom-list li:active ul:first-child{
    display: block;
} */
.list-options li{
    padding: 0;
    margin: 0; 
    border-radius: 6px;
}
.list-left{
    background: var(--main-bg);
    border-radius: 6px 0 0 6px;
    height: 100%;
    overflow: auto;
    min-width: 100px;
    max-width: 100px;
    padding-top: 30px;
}
.list-left button.btn{
    padding: 8px;
    border: 1px solid transparent;
    border-radius: 0;
    transition: all .3s ease;
    display: grid;
    gap: 10px;
    border-radius: 15px;
    margin: 5px;
} 
.list-left button.btn:hover{
    border-bottom-left-radius: 0;
}
.list-left button.btn.active,
    .list-left button.btn:hover{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.list-left+div{
    padding: 15px 20px 10px 20px;
    border-radius: 0 6px 6px 0;
    height: calc(100% - 4px);
    max-height: calc(100vh - 0px);
    width: calc(100vw - 205px);
    position: relative;
    overflow: hidden;
    background: var(--right-list-item-bg);
    /* margin-top: 60px; / */
}
.list-right-content{
    max-width: calc(100vw - 150px);
    max-height: calc(100vh - 100px);
    overflow: auto;
    margin-top: 20px;
    /* background: rgba(73, 72, 72, 0.38); / */
}
.list-left+div .drop-down-content .content{
    /* float: left; */
    min-width: calc(100% + 0px);
    max-height: calc(100vh - 260px);
}

/* .list-left+div label{
    padding: 6px 10px; 
} */
.list-left+div .input{
    padding: 6px 10px;
    border-radius: 0 0 6px 6px;
    outline: none;
    border: none;
    width: 100%;
    margin-top: 5px;
    background: whitesmoke;
    color: black;
}
.list-left+div .drop-down-content{ 
    flex-direction: column;
    position: relative;
    top: 0;
    padding: 5px;
    box-shadow: none;
    font-size: 14px;
} 
.list-left+div .item{
    width: 100%;
    overflow-y: hidden;
}
.bottom-sticky{
    width: calc(100% - 0px); 
    z-index: 150; 
    padding: 10px;
    border-radius: 5px;
    top: 5px;
    height: fit-content;
}
.bottom-sticky button.btn{
    background: rgb(105, 130, 105);
    margin-right: 15px;
    padding: 5px 15px;
}
.bottom-sticky button.btn.save{
    background: rgb(0, 117, 128);
}
.row-item{
    display: none;
    background: rgb(24, 24, 24);
    border-radius: 5px;
}
.row-item h3{
    margin: 0;
    padding: 20px 10px;
    background: var(--right-list-item-bg);
}
.row-item:not(.cards).active{
    display: grid;
}
.cards.row-item.active{
    display: initial;
}

.side-menu.active .list-items.footer{
    flex-direction: row;
}

.side-menu.active li label{ 
    display: flex;
    align-items: center;
    gap: 10px;
}
.side-menu label span{
    display: inline-block;
    width: 0;
    overflow: hidden;
}
.side-menu.active li label:has(i){
    justify-content: left;
    padding: 8px 15px;
}
.side-menu.active li label:has(i) span{
    display: initial;
    width: unset;
}

.list-items{
    width: 100%;
    display: inline-flex; 
    /* overflow: hidden; */
}
.list-items p, .list-items li{
    width: 100%;
    /* color: rgb(163, 161, 161); */
    color: grey;
    transition: all .3s ease;
    border-radius: 5px;
    padding: 5px 15px 5px 25px;
}
.list-items p, .list-items li{
    padding: 0 25px;
}
.side-menu p,
.side-menu li{
    color: var(--color-1);
    padding: 5px;
    cursor: default;
} 
.side-menu p:not(.footer p),
    .side-menu p span{
    display: none;
}
.side-menu.active p:not(.footer p),
.side-menu.active p{
    display: flex;
}
.list-items.footer{
    justify-content: center;
    background: #0472ad;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-content: center;
    width: 100%;
    margin-bottom: 30px;
}
.list-items.footer *{
    color: white;
}
.side-menu.active .footer.list-items{
    flex-direction: row;
}
.footer.list-items p{ 
    width: 100%;
    padding: 5px;
    padding-top: 10px;
    padding-bottom: 10px; 
    text-align: center;
    padding: 10px;
    justify-content: center;
}
ul.list-menu, 
.sliding-div .sliding{
    display: none;
    min-width: 100%; 
    float: left;
    transition: all .5s ease;
    margin: 10px 0;
}
.sliding-div .sliding{
    margin: 0;
}
ul.list-menu li{ 
    width: 100%; 
}
ul.list-menu li label{
    border-radius: 0;
    display: flex;
    align-items: center;
    max-height: 38px;
}
ul.list-menu li:first-of-type label{
    border-radius: 6px 6px 0 0;
}
ul.list-menu li:last-child label{
    border-radius: 0 0 6px 6px;
}
ul.list-menu.subject_mode:empty{
    height: 120px;
    background: #d6e7f654;
}
ul.list-menu.subject_mode:empty::before{
     content: 'Loading libraries';
     font-size: 13px;
     font-weight: 400;
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     animation: alt .5s alternate-reverse infinite;
}
.no-click{
    margin: 10px 0;
}
.sliding-div .sliding.active,
.list-menu.active{
    transform: initial;
    display: block;
    animation: slide .3s ease-in-out;
}
.play-list video, video.active{
    display: initial;
}
.play-list{
    width: 40%;
    background: transparent;
    box-shadow: none;
    /* min-width: 300px; */
}

.comments{
    width: 100%;
    padding: 10px 0px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 15px;
    box-shadow: inset -1px 5px 20px 1px rgba(0, 0, 0, 0.122);
    border-radius: 5px;
}
.comments h3{
    margin: 0;
    padding: 10px;
    background: rgb(255, 255, 255);
}
.comment{
    padding: 5px;
    background: white;
    border-radius: 6px;
    margin: 10px 10px 5px 10px;
    box-shadow: 1px 1px 15px 1px rgba(0, 0, 0, 0.075);
}
.comment-header{
    background: white;
    padding: 5px 10px;
}
.comment-body{
    padding: 10px;
}
.sender{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.time{
    color: grey;
    display: flex;
    align-items: center;
    margin: 5px;
}
.time::before{
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(49, 50, 49, 0.219);
    display: block;
    margin-right: 5px;
}
.author{
    color: rgb(97, 96, 96);
}

.folder{
    margin-bottom: 20px;
    font-size: 85%;
} 
.folder .head,
.form .head{
    width: 100%;
    background: rgba(0, 0, 0, 0.159);
    padding: 10px;
    text-align: center;
    font-weight: 500;
    position: relative;
}
.form .body{
    padding: 15px;
}
.folder .head{
    border-radius: 6px;
    text-align: left;
    padding: 7px 18px;
}
.folder .head::before,
.folder .head::after{
    content: '';
    position: absolute;
    right: 7px;
    top: 12px;
    width: 20px;
    height: 20px;
    border: 1px solid rgb(159, 158, 158);
}
.folder .head::before{
    border-top: none;
    border-right: none;
    width: 6px;
    height: 6px;
    top: 18.5px;
    right: 14px;
    transform: rotate(-45deg);
}
.folder .head::after{
    border-radius: 50%;
}
.folder .folder-body, #parent-mapping{
    max-height: 0;
    border: 1px solid rgba(0, 0, 0, 0.159);
    overflow: hidden;
    border-top: 0;
    transition: all .4s ease;
    background: var(--bg-color-2);
}
.folder .folder-body.active,  #parent-mapping.active{
    max-height: fit-content;
    padding: 10px;
    border-radius: 0 0 6px 6px;
} 
.file{
    float: left;
    margin:10px 5px;
}
.file video,
    .file iframe{
    display: inline;
    width: 160px;
    height: 105px;
}
.file .col-main{
    flex-direction: column;
}
.file:has(video) .col-main{
    flex-direction: row;
}
.file img{
    width: 50px;
    height: 50px;
    align-self: center;
}
.file-info{
    background: var(--bg-color-3);
    display: none;
}
.file-info span{
    font-weight: bold;
}
.file-lastmodifiedby,.file-editedby,.file-createdby{
    display: none;
}
.file-datecreated::before,
.file-lastmodifieddate::before,
.file-overduedate::before,
.file-lastmodifiedby::before,
.file-editedby::before,
.file-createdby::before{
    content: attr(data-label) ': ';
    text-transform: uppercase;
    font-weight: normal;
}
.editors-content{
    display: none;
}
.editors-content.active{
    display: initial;
}
.gallery-0 img{ 
    width: 45%;
    aspect-ratio: 5.2 / 4;
}
.gallery-0 img+img{ 
    width: 100%; 
}

.person .image, .image-bg{
    background-image: url(../img/learner_revise.png);
    background-size: cover;
    /* background-size: contain; */
    /* background-size: auto; */
    background-repeat: no-repeat;
    width: 100%;
    height: 300px;
    border-radius: 6px 6px 0 0;
}
.image-bg{
    height: 130px;
    background-size: contain;
} 
.person .image.img0{
    background-image: url(../img/revising0.jpg);
}
.person .image.img1{
    background-image: url(../img/learner_revise.png);
}
.person .image.img2{
    background-image: url(../img/revising1.jpg);
}
.person .image.img3{
background-image: url(../img/revising0.jpg);
}
.person.big{
    max-width: 100%;
    min-width: 100%;
}
.person p{
    padding: 0 15px;
    font-size: 90%;
}
#toolsOption{
    position: fixed;
    top: 65px;
    box-shadow: var(--shadow-small);
    background: white;
    left: -200%;
    padding: 10px;
    border-radius: 6px;
    z-index: 101;
    transition: all .3s ease;
    width: 240px;
}
#toolsOption.active{
    left: 5px;
}
#toolsOption .flex{
    padding: 10px;
    padding-left: 0;
    gap: 13px;
    width: 100%;
    align-items: center;
} 
#toolsOption .label{
    width: 70px;
    text-align: right;
}
#toolsOption .input{
    outline: none;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    width: 70px;
    box-shadow: 1px 1px 3px 1px rgba(48, 47, 47, 0.237);
}
.table-tools .fa-times{
    right: 10px;
    color: white;
    padding: 5px;
    border-radius: 50%;
    text-align: center;
    background: red;
}
#toolsOption .fw{
    margin-top: 0;
    border: 1px solid transparent;
    border-radius: 0;
    border-bottom: 1px solid grey;
}
#toolsOption button:first-of-type{
    border-radius: 5px 5px 0 0;
}
#toolsOption button:last-of-type{
    border-radius: 0 0 5px 5px;
}
#toolsOption .fw:hover{
    opacity: .7;
}
.flip-card {
    background-color: transparent;
    width: 40px;
    height: 40px;
    /* perspective: 1000px; */
    /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
/* .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
} */

/* Do an horizontal flip when you move the mouse over the flip box container */
input[type="radio"]:checked + label.file.active .flip-card-inner {
transform: rotateY(180deg);
}

/* Position the front and back side */
/* .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: -5px;
    -webkit-backface-visibility: hidden;  
    backface-visibility: hidden;
} */

/* Style the front side (fallback if image is missing) */

/* Style the back side */
/* .flip-card-back {
    background-color: #bbb;
    color: black;
    border-radius: 6px;
    transform: rotateY(180deg);
    padding: 3px 0;
} */
.flip-card-back  *{
    color: black;
}
.flip-card .btn{
    border-radius: 0;
}
.flip-card .btn::after,
    .file .btn::after{
    display: none;
}
.flip-card .hover-icons{
    bottom: 5px;
    align-self: center;
}
    .drop-check{
        position: relative;
    }
    .drop-check .drop-check-search{
    padding: 8px 10px;
    position: fixed;
    width: 100%;
    background: rgb(255, 255, 255);
    z-index: 2;
}
.drop-check .drop-check-search .input{
    padding: 8px 10px;
    width:100%;
    margin:0
    /* max-width: 255px; */
}
.drop-check [type="checkbox"],
.drop-check [type="radio"]{
    z-index: -1;
    border: none;
    position: absolute;
    outline: none;
    appearance: none;
    opacity: 0;
}
.drop-check-content{
    position: absolute;
    display: none; 
    flex-direction: column;
    box-shadow: 1px 2px 10px 1px rgba(0, 0, 0, 0.261);
    border-radius: 6px;
    top: 50px;
    width: 100%;
    /* max-width: 300px; */
    z-index: 2;
    max-height: 200px;
    overflow-y: auto;
    background: var(--bg-color-2);
    padding: 5px;
}
.drop-check-content.active{
    display: flex;
}
.drop-check-list-content{
    position: relative;
    display: grid;
    z-index: 1;
}
.drop-check label{
    position: relative;
    padding: 5px 10px;
    width: 100%;
    background: var(--bg-color-3);
    margin: 1px;
}
.drop-check label:hover{
    background: var(--label-hover-bg-1);
}
.drop-check label::before{ 
    content: '';
    display: inline-flex;
    min-width: 10px;
    height: 10px;
    transition:all .3s ease;
    background-color: rgb(252, 251, 250);
    border: 1px solid rgb(191, 191, 191);
    border-radius: 3px;
    margin-right: 10px;
}
.drop-check input[type="text"]{
    margin-bottom:0;
    width: 92%
}
.drop-check input:checked+label::before{ 
    /* border: 2px solid rgb(165, 100, 244); */
    background: rgba(239, 245, 173, 0.43);
}
.drop-check input:checked+label{ 
    color: rgb(169, 187, 204);
    background: rgba(2, 185, 125, 0.22);
}
.drop-check img{
    width:25px;
    height:28px;
    border: 2px solid white;
    border-radius:4px;
}
div.selected-ops- {
    margin-top:15px;
    float:left;
    clear: both;
}
div.selected-ops- .grid.center {
    float:left;
    gap:10px;
    border: 2px solid var(--color-bg-primary);
    box-shadow: 1px 2px 10px 1px rgba(0, 0, 0, 0.261);
    padding: 6px;
}
div.selected-ops- .grid.center span::after{
    content:attr(data-m-info);
    color: grey;
    font-size:12px;
}
div.selected-ops- .grid.center::after{
    content:"";
    clear: both;
    display:table;
}
div.selected-ops- img{
    width:100px;
    height:103px;
    border: 2px solid white;
    border-radius:4px;
}
@media only screen and (max-width: 700px) {
    .list-options-container.active{ 
        box-shadow: none;
        height:100vh;
        top: 00px;
        width: 100vw;
    }
    .list-left + div {
        width: 100%;
    }
}