/* 
    Created on : Dec 23, 2025, 1:07:26ā€ÆPM
    Author     : User
*/

/* override moodle */
/* Hide Homepage Main Part */
body#page-site-index div#page{
    display:none !important;
}
/* center the drawer in the homepage */
body#page-site-index .drawer.drawer-right {
    position: relative;
    max-width: 100% !important;
    width: 100% !important;
    right: auto;
    visibility: visible;
    text-align: center;
    height: auto;
}
body#page-site-index .drawer.drawer-right [data-action="closedrawer"]{
    display: none !important;
}
body#page-site-index:not(.editing) .course-content:not(:has(ul[data-for="cmlist"] li)) {
    display: none !important;
}
#page.drawers .main-inner {
    max-width: 95% !important;
}


/* navbar */
div#usernavigation {
    padding: 0 15px;
}




/* course-category list */
.courses.category-browse {
    display: flex;
    flex-wrap: wrap;
}
.coursebox {
    width: 31%;
    flex: 0 0 auto !important;
    border: 1px solid #001e4d2b;
    margin: 1%;
    padding: 0 10px !important;
    background-color: #d7dbff2e;
	display: inline-flex;
}
/* Styles for screens 480px and smaller */
@media (max-width: 480px) {
    .coursebox {
		width: 99% !important;
	}
}
.coursebox .info .coursename a {
    display: block;
    color: #001e4d;
    padding: 15px 0 0;
}
.coursebox .content .d-flex {
    display: block !important;
}
.coursebox .content .courseimage img {
    min-width: 95%;
    min-height: 200px !important;
    border-radius: 5px;
}
.coursebox .content .summary .no-overflow {
    overflow: unset;
}

