body {
    /* font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; */
    /* font-family: 'Muli'; */

    overflow-x: hidden;
    background-image: url('../../images/img-single.png');
    background-color: #FDFBE0;
    background-size: 40%;
    background-position: center;
    background-repeat: no-repeat;
}

/* body::before{
    position: absolute;
    wi
} */


.form-container {
    padding: 25px;
    background: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    border-radius: 15px;
    max-width: 40%;
    width: 100%;
    position: relative;
}

.hide-show-pass,
.btn-date-picker {
    position: absolute;
    top: 0;
    right: 0;
}

.loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 9999;
}


button:not(.danger),
button.btn:not(.danger) {
    transition: 0.2s ease-in-out;
    background-color: #ffd111;
    color: #000;
    border: none;
    opacity: 0.8;
}

.btn-primary.logout {
    background-color: #ffd111;
    border: none;
    color: #000;
}

.btn-primary.logout:hover {
    color: #000;
}

button:hover,
button.btn:hover,
button.btn:focus,
button.btn:active,
.btn:first-child:active {
    background-color: #ffd111;
    opacity: 0.9;
    color: #000;
}

.button_primary {
    background-color: #ffd111;
    padding: 10px 35px;
    border-radius: 10px;
    color: #fff;
    border: none;
}

::-webkit-scrollbar {
    width: 5px;
}


::-webkit-scrollbar-track {
    background: #f1f1f1;
}


::-webkit-scrollbar-thumb {
    background: orange;
}


::-webkit-scrollbar-thumb:hover {
    background: orange;
}


.fullscreen {
    height: 100vh;
}

.log-in .fullscreen {
    height: 100vh;
}

.flex {
    display: flex;
}

.screen-center-x {
    align-items: center;
}

.screen-center-y {
    justify-content: center;
}

a {
    text-decoration: none;
}

.max-width-100 {
    max-width: 100%;
}

.max-width-90 {
    max-width: 90%;
}

.max-width-80 {
    max-width: 80%;
}

.max-width-70 {
    max-width: 70%;
}

.max-width-60 {
    max-width: 60%;
}

.max-width-50 {
    max-width: 50%;
}

.bg_skin {
    background-color: #f6e4e8;
}

.border_radius_common {
    border-radius: 10px;
}

/* GLOBAL END  */



/* Sidebar START */
.sidebar-nav {
    background-color: #8ccfba;
}

.nav_main {

    .jstree-node {
        padding-left: 5px;
        border-radius: 5px;
    }

    .jstree-default .jstree-wholerow-clicked,
    .jstree-default .jstree-wholerow-hovered {
        background: #f6e4e8;
        border-radius: inherit;
    }

    .jstree-default .jstree-node {
        margin-left: 5px;
    }

    .jstree-node .jstree-anchor {
        width: 100%;
    }

    .jstree-default {
        font-size: 15px;
    }

    .jstree-default .jstree-icon.jstree-ocl {
        display: none;
    }

    .jstree-default .fa-folder {
        color: #ffd111;
        width: 15px;
        margin-right: 10px;
    }

}

/* Sidebar END */

/* .page_nav_link .nav-item .nav-link {
    padding: 10px 15px;
    background-color: #ffd111;
    border-radius: 10px;
    line-height: 1.3;
    width: 130px;
    text-align: center; 
} */

.page_nav_link .dropdown-menu[data-bs-popper],
.page_nav_link .dropdown-menu.show {
    left: -80px;
}

/* header END  */

.welcome_title {
    font-size: 20px;
    padding-block: 10px;
}

.boards {
    display: flex;
    flex-wrap: wrap;
    min-width: 200px;
    flex-direction: column;
}

.more_info_btn {
    font-size: 18px;
    color: #000;
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    &:hover {
        opacity: .5;
    }
}

.more_info_btn span {
    background: #fff;
    width: 27px;
    height: 27px;
    display: inline-block;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.more_info_btn:hover {
    color: #000;
}

.in_page_btn {
    padding: 15px 25px;
    background-color: #ffd111;
    font-size: 14px;
    color: #000;
    display: block;
    max-width: 200px;
    text-align: center;
    border-radius: 5px;
    /* opacity: 0.8; */
    transition: 0.2s;
    margin: 0;
    font-family: 'Muli', Georgia, 'Times New Roman', Times, serif;

}

.in_page_btn.max-100 {
    max-width: 100%;
    text-align: left;
}

.in_page_btn:hover {
    opacity: 1;
    color: initial;
}

/*** subject ***/

.subject-wrap {
    flex: 0 0 13%;
    background: #d8f4fc;
    border-radius: 5px;
    text-align: center;
    padding: 0.75rem;
}



.subject-heading {
    background: #fff;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 0.5rem;
    color: #333;
}

.main-page {
    margin: 0 15px;
    padding: 0 15px;
}

.show-upload {
    background-color: #fff;
    padding: 1rem 2rem;
    margin: 1rem 0;
    border-radius: 10px;
}

#docs {
    max-width: 800px;
    margin: auto;
    background: #fafafa;
    border: 1px solid #ccc;
}

ul {
    list-style-type: none;
    padding-left: 20px;
}

.list--sidebar li ul {

    display: none;
}

.list--sidebar li>ul.expanded {

    display: block;
}

.list--sidebar i {
    color: #F8D775;
}

.folder-closed:after,
.folder-opened:after {
    content: '\f65e';
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    font-style: normal;
    font-size: 20px;

}

.folder-opened:after {
    content: '\f65d';
}

/* Added 24/02/2028 */
:root {
    --light-blue: #79dcff;
    --beige: #fafde9;
    --blue: #2e75b6;
    --grey: #f2f2f2;
    --dark-blue: #002060;
    --white: #fff;
    --font-mid: 20px;
    --font-big: 24px;
    --font-small: 16px;
    --font-family: 'Calibri', sans-serif;
}

body {
    font-size: 16px;
    font-family: var(--font-family);
    line-height: 1.6;
    background-image: none;
    background-color: var(--grey);
}

h1,
h2,
h3,
h4,
h5,
h6,
a,
li,
span,
p,
ol {
    font-family: var(--font-family);
    letter-spacing: .5px;
}

@font-face {
    font-family: 'Calibri', sans-serif;
    font-weight: 600;
    src: url('../../fonts/calibri/calibri-bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Calibri', sans-serif;
    src: url('../../fonts/calibri/calibri-regular.ttf') format('truetype');
}

.sidebar-nav {
    background-color: var(--light-blue);

    .list--sidebar a {
        color: var(--dark-blue);
        font-weight: 600;
        font-size: var(--font-mid);
    }

    .list--sidebar i {
        color: var(--dark-blue);
    }

    .list--sidebar .expanded::before {
        content: "";
        content: "";
        position: absolute;
        left: 10px;
        width: 15px;
        height: 30px;
        border: solid 2px var(--dark-blue);
        border-right-color: transparent;
        border-top: transparent;
        top: -12px;
    }

    .list--sidebar .expanded {
        position: relative;
        z-index: 1;
    }
}

.in_page_btn {
    font-size: var(--font-big);
    font-weight: 600;
    font-family: var(--font-family);
    border-radius: 0;
    background-color: var(--blue) !important;
    /* temporary */
    width: 100%;
    display: block;
    max-width: 300px;
    min-width: 300px;
    min-height: 80px;
    color: var(--white);
    align-content: center;
    position: relative;
    z-index: 1;
    margin-bottom: 30px;

    &:hover {
        color: var(--light-blue);
    }

    &::after {
        position: absolute;
        content: "";
        bottom: -40px;
        width: 100%;
        height: 40px;
        left: 0;
        background-color: var(--white);
    }
}

.main-page {
    padding: 0;
    margin: 0;

    & header {
        background-color: var(--beige);
    }

    >div {
        padding-inline: 5rem;
    }
}

.logo-cresmonde {
    max-width: 275px;
}

#bottom-header {

    background: var(--blue);
    border: none;
    color: var(--white);

    .page_nav_link .nav-item .nav-link {
        padding-block: 0;
        font-size: var(--font-small);
        color: var(--white);
    }

    .bread-crumb h4 {
        font-size: var(--font-small);
        font-weight: 600;
    }
}

#top-header {

    .top-right-bar,
    a {
        font-size: var(--font-mid);
        font-weight: 600;
        color: var(--dark-blue);
    }

    .top-right-bar a:hover {
        color: var(--blue);
    }
}

.sidebar-nav .welcome_title {
    font-size: var(--font-mid);
    color: var(--white);
    font-weight: 600;
    letter-spacing: .5px;
}

.nav-logo-wrap {
    background-color: var(--blue);
    min-height: 100px;

}

.dashboard-wrap .navbar-brand {
    background-color: var(--blue);
    color: var(--white);
    font-size: var(--font-small);
    border-radius: 0;
    display: block;
    border-top: solid 1px var(--light-blue);
    font-weight: 600;
}

.main-page .copyright-block {
    padding-inline: 1rem;
    background-color: var(--blue);
    color: var(--white);
    font-size: var(--font-small);
    padding-block: 8px;
    margin-top: 35px;

    & a {
        color: var(--white);
        font-weight: 600;
    }
}

.main-page .page-body {
    height: calc(100% - 220px);
    overflow: auto;
}



.boards .more_info_btn,
.years .more_info_btn {
    margin-top: -25px;
    z-index: 1;
    position: relative;
}



.build .btn_wrap p {
    margin-top: -25px;
    z-index: 1;
    position: relative;
    text-align: center;
}

#create-upload {
    margin-top: 15px;
}

.board-info,
.grade-info {
    display: none;
}

.view-type-page .page-body {
    padding-inline: 0;
    height: calc(100% - 185px);

    .show__uploads {
        margin: 0;
        border-radius: 0;
        padding: 0;
    }

    .table thead th {
        background-color: #71AD47;
        color: #fff;
    }

    .table th,
    .table td {
        font-size: 16px;
        text-transform: capitalize;
        border: solid 2px #fff;
    }

    .table tr td {
        background-color: #D4E2CE;
    }

    .table tr:nth-child(even) td {
        background-color: #EBF1E8;
    }

    tbody tr td {
        text-align: center;
    }

    .table th:first-child {
        width: 75px;
    }

    .table th {
        text-align: center;
    }


    .table td [data-href] {
        margin-inline: 10px;
        color: #313177;
        display: inline-block;
    }

    .table td [data-download] {
        color: #71AD47;
        display: inline-block;
        margin-inline: 10px;
    }

    .table td [data-delete] {
        color: #ed2229;
        display: inline-block;
        margin-inline: 10px;
    }

}

.view-type-page .copyright-block {
    margin-top: 0;
}



.crumb-name {
    padding-right: 10px;
    position: relative;
}

.crumb-name a{
    color: #fff;
}

.bread-crumb-inner .bread-crumb-list:not(:last-child) .crumb-name::after {
    position: relative;
    content: '\f061';
    font-family: 'Font Awesome 6 Pro';
    margin-left: 6px;
}

.subject-outer-wrap {
    flex: 0 0 13%;
}

.created-info {
    display: flex;
    font-size: 11px;
    column-gap: 10px;
    justify-content: center;
}

.subject-icon a img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    image-rendering: optimizequality;
}