/* BPS 3.11 presentation reconstructed for Moodle 4.5, using original theme values. */
@font-face{font-family:BPS-Simple-Line-Icons;src:url('/cssCustom/fonts/BPS-Simple-Line-Icons.woff2') format('woff2');font-weight:normal;font-style:normal;font-display:block;}
body{font-family:Arial,sans-serif;font-size:15px;line-height:1.5;color:#1d2125;}
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:inherit;font-weight:400;color:#455a64;}
.card{border-radius:0;border-color:#d7dfe3;}
body.bps-legacy-shell{background:#eef5f9;}
.bps-legacy-shell .primary-navigation{display:none!important;}
.bps-legacy-shell .navbar{height:45px;min-height:45px;padding-top:0;padding-bottom:0;}
.bps-legacy-shell .navbar .navbar-brand img.logo{height:auto;max-height:43px;}
.bps-legacy-shell .navbar #usernavigation{height:45px;align-items:center;}
.bps-legacy-shell .navbar .usermenu-container{height:45px;}
.bps-legacy-shell .navbar .usermenu .userbutton .avatars{max-height:36px;}
.bps-sidebar{position:fixed;left:0;top:45px;bottom:0;width:70px;overflow-x:hidden;overflow-y:auto;background:#272c33;z-index:1040;color:#fff;transition:width .15s;}
.bps-sidebar-list,.bps-sidebar-list ul{list-style:none;margin:0;padding:0;}
.bps-sidebar-item{min-height:50px;}
.bps-sidebar-item>a,.bps-sidebar-item>details>summary{display:flex;align-items:center;gap:14px;min-height:50px;padding:10px 26px;color:#fff;text-decoration:none;white-space:nowrap;cursor:pointer;list-style:none;}
.bps-sidebar-item>a:hover,.bps-sidebar-item>a:focus-visible,.bps-sidebar-item.active>a,.bps-sidebar-item>details>summary:hover{background:#374850;color:#fff;}
.bps-sidebar-item[data-key=siteadminnode],.bps-sidebar-item[data-key=siteadmin]{border-top:3px solid #374850;}
.bps-sidebar-icon:before{font-family:BPS-Simple-Line-Icons!important;content:'\e089';font-size:19px;line-height:1;font-style:normal;display:block;width:23px;text-align:center;}
.bps-sidebar-item[data-key=home]>.bps-sidebar-icon:before,.bps-sidebar-item[data-key=home]>a>.bps-sidebar-icon:before{content:'\e069';}
.bps-sidebar-item[data-key=myhome]>a>.bps-sidebar-icon:before{content:'\e007';}
.bps-sidebar-item[data-key=calendar]>a>.bps-sidebar-icon:before{content:'\e075';}
.bps-sidebar-item[data-key=privatefiles]>a>.bps-sidebar-icon:before{content:'\e040';}
.bps-sidebar-item[data-key=mycourses]>a>.bps-sidebar-icon:before{content:'\e019';}
.bps-sidebar-item[data-key=siteadminnode]>a>.bps-sidebar-icon:before,.bps-sidebar-item[data-key=siteadmin]>a>.bps-sidebar-icon:before{content:'\e09a';}
.bps-rail-label{display:none;}
.bps-sidebar:hover,.bps-sidebar:focus-within,.bps-rail-open .bps-sidebar{width:285px;}
.bps-sidebar:hover .bps-rail-label,.bps-sidebar:focus-within .bps-rail-label,.bps-rail-open .bps-rail-label{display:inline;white-space:normal;}
.bps-sidebar-toggle{position:fixed;left:0;top:0;width:70px;height:45px;border:0;border-radius:0;align-items:center;justify-content:center;background:#272c33;color:#fff;font-size:19px;z-index:1041;}
.bps-sidebar-toggle:hover,.bps-sidebar-toggle:focus-visible{background:#374850;color:#fff;}
.bps-legacy-shell .secondary-navigation{position:relative;top:auto;left:auto;right:auto;min-height:0;height:auto;box-shadow:none;background:#fff;border:1px solid #d7dfe3;margin:60px 1.7% 0;width:auto;}
.bps-legacy-shell .secondary-navigation .moove-container-fluid{max-width:none;padding:0 12px;}
.bps-legacy-shell .secondary-navigation .moremenu{height:auto;}
.bps-legacy-shell .secondary-navigation .nav-link{color:#455a64;height:auto;padding:12px 16px;}
.bps-legacy-shell .secondary-navigation .nav-link.active{color:#007bff;border-bottom-color:#007bff;}
body.bps-legacy-shell:not(.notloggedin) div#page{margin-top:60px!important;padding-top:0!important;padding-left:calc(3% - 15px)!important;padding-right:3%!important;}
body.bps-legacy-shell.bps-has-secondary div#page{margin-top:16px!important;}
.bps-legacy-shell #page-header{max-width:none;margin:0;padding:0;}
.bps-legacy-shell #page-header>.col-12{padding-left:0;padding-right:0;}
.bps-legacy-shell #page-header .card-body{padding:24px;}
.bps-legacy-shell #page-header .page-header-headings h1{font-size:37.5px;font-weight:400;line-height:1.2;}
.bps-legacy-shell.limitedwidth #page.drawers .main-inner{max-width:none;width:100%;border:1px solid #d7dfe3;border-radius:0;padding:20px;}
.bps-legacy-shell .page-context-header{padding:0;}
#page-site-index .course_category_tree .categoryname{font-size:26.25px;line-height:1.2;font-weight:400;margin:3px;padding:2px 18px;}
#page-site-index .course_category_tree .categoryname a{color:#007bff;}
#page-site-index .course_category_tree .categoryname a.dimmed, #page-site-index .course_category_tree .dimmed_category>.info>.categoryname a{color:#6a737b;}
#page-site-index .course_category_tree .numberofcourse{font-size:13px;}
#page-site-index :is(#frontpage-category-names,#frontpage-category-combo,#frontpage-course-list)>h2{font-size:30px;font-weight:400;}
#page-site-index :is(#frontpage-category-combo,#frontpage-course-list)>h2{text-align:center;}
#page-site-index :is(#frontpage-category-combo,#frontpage-course-list) .card-deck{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;}
#page-site-index :is(#frontpage-category-combo,#frontpage-course-list) .dashboard-card{width:100%;min-width:0;margin:0;border-radius:0;box-shadow:none;}
#page-site-index :is(#frontpage-category-combo,#frontpage-course-list) .coursename{font-family:"HELVETICA-BOLD","Poppins",sans-serif;font-size:21px;color:#003973;}
/* Local adaptations originally present in Moove's course SCSS. */
body.pagelayout-course .availabilityinfo.isrestricted .badge a{color:#fff;text-decoration:underline;}
body.pagelayout-course .section .badge{white-space:initial;}
body#page-grade-report-grader-index{margin-left:0;}
.bps-moodle-footer-tools{font-size:13px;padding:0 3%;}
:focus-visible{outline:2px solid #007bff!important;outline-offset:2px;}
@media(min-width:768px){
 .bps-legacy-shell #page-wrapper{margin-left:70px;}
 .bps-legacy-shell .navbar{left:70px;width:calc(100% - 70px);}
 .bps-legacy-shell .drawer-left{left:70px;top:45px;height:calc(100% - 45px);}
 .bps-legacy-shell .drawer-right{top:45px;height:calc(100% - 45px);}
 .bps-rail-open #page-wrapper{margin-left:285px;}
 .bps-rail-open .navbar{left:285px;width:calc(100% - 285px);}
 .bps-rail-open .drawer-left{left:285px;}
}
@media(max-width:1500px){#page-site-index :is(#frontpage-category-combo,#frontpage-course-list) .card-deck{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:999px){#page-site-index :is(#frontpage-category-combo,#frontpage-course-list) .card-deck{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:767px){
 .bps-legacy-shell #page-wrapper{margin-left:0;}
 .bps-legacy-shell .navbar{left:0;width:100%;}
 .bps-legacy-shell .drawer{top:45px;height:calc(100% - 45px);}
 .bps-legacy-shell .secondary-navigation{margin-top:60px;}
 .bps-legacy-shell #page-header .page-header-headings h1{font-size:30px;}
 .bps-legacy-shell.limitedwidth #page.drawers .main-inner{padding:16px;}
 #page-site-index .course_category_tree .categoryname{font-size:20px;}
 #page-site-index :is(#frontpage-category-combo,#frontpage-course-list) .card-deck{grid-template-columns:minmax(0,1fr);}
}

/* Preserve original native card proportions, rather than background-image crops. */
.bps-responsive-courses>.courses {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;align-items:stretch;margin:0;}
.bps-responsive-courses>.courses>.paging {grid-column:1/-1;}
.bps-responsive-courses .bps-course-card {width:100%;max-width:none;min-width:0;margin:0 0 32px;display:flex;flex-direction:column;border:1px solid #d7dfe3;border-radius:0;box-shadow:none;overflow:visible;}
.bps-responsive-courses .bps-course-card .bps-course-image {display:block;width:100%;height:auto;max-height:none;object-fit:initial;border-radius:0;}
.bps-responsive-courses .bps-course-card .card-body {padding:20px;flex:1 1 auto;}
.bps-responsive-courses .bps-course-card h4.card-title {font-family:inherit;font-size:22.5px;font-weight:400;line-height:1.2;margin:0 0 12px;}
.bps-responsive-courses .bps-course-card h4.card-title a {font-family:inherit;font-weight:400;color:#6a737b;text-decoration:none;}
.bps-responsive-courses .bps-course-card .coursecat {position:static;display:inline-block;border-radius:0;padding:.25em .4em;font-size:11.25px;font-weight:700;line-height:1;background:#0f6cbf;}
.bps-responsive-courses .bps-course-card .coursecat a {text-decoration:none;}
.bps-responsive-courses .bps-course-card .card-footer {margin-top:auto;padding:12px 20px;background:rgba(0,0,0,.03);border-top:1px solid #d7dfe3;min-height:61px;}
.bps-responsive-courses .bps-course-card .card-footer .btn {border-radius:0;padding:6px 12px;background:#0f6cbf;border:1px solid #0f6cbf;color:#fff;font-size:15px;line-height:1.5;}
.bps-legacy-shell .secondary-navigation {min-height:50px;height:auto;overflow:visible;box-shadow:none;}
.bps-legacy-shell .secondary-navigation>.moove-container-fluid {position:static;display:flow-root;height:auto;min-height:48px;}
body.bps-legacy-shell .secondary-navigation .moremenu .nav-tabs .nav-link {color:#455a64;text-shadow:none;box-shadow:none;background:transparent;}
body.bps-legacy-shell .secondary-navigation .moremenu .nav-tabs .nav-link.active {color:#007bff;}
@media(max-width:1500px){.bps-responsive-courses>.courses{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:999px){.bps-responsive-courses>.courses{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:767px){.bps-responsive-courses>.courses{grid-template-columns:minmax(0,1fr);}}

.bps-responsive-courses .card-footer .pull-right{float:right;}
.bps-responsive-courses .course-contacts{margin:-30px 6px -20px;text-align:right;}
.bps-responsive-courses .course-contacts img{width:48px;border:2px solid white;}

#page-site-index.bps-legacy-shell #region-main>div{padding-left:0;padding-right:0;}
.bps-legacy-shell #page-wrapper,.bps-legacy-shell #page{background-color:#eef5f9;}
@media(min-width:768px){.bps-legacy-shell .navbar .navbar-brand{margin-left:28px!important;}}
@media(max-width:767px){body.bps-legacy-shell:not(.notloggedin) div#page{padding-left:3%!important;padding-right:3%!important;}}

.bps-responsive-courses .card-footer{border-radius:0;}
.bps-sidebar-item[data-key=courses]>a>.bps-sidebar-icon:before{content:"\e019";}
#page-site-index .course_category_tree .categoryname:before{color:#888;}

/* BPS requested color adjustment: white text on consistent blue controls. */
body .btn-primary,body .btn-primary:visited,body .btn-primary:hover,body .btn-primary:focus{color:#fff!important;}
.bps-responsive-courses .bps-course-card .coursecat,.bps-responsive-courses .bps-course-card .coursecat a,.bps-responsive-courses .bps-course-card .coursecat a.dimmed{background-color:#0f6cbf;color:#fff!important;}

/* Original BPS/Moove multipage course presentation, with current course-format output. */
.bps-course-overview .course-content ul.topics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:30px;row-gap:30px;margin:0;padding:0;list-style:none;}
.bps-course-overview .course-content ul.topics>li{min-width:0;margin:0;padding:0;width:auto;border:0;}
.bps-course-overview .course-content ul.topics>li:not(.bps-section-card){grid-column:1/-1;}
.bps-course-overview .course-content #section-0>.section-item{border:0;border-radius:0;padding:20px 0 30px;}
.bps-course-overview .course-content #section-0>.section-item>.course-section-header{display:none!important;}
.bps-course-overview .bps-section-card>.section-item.bps-section-panel{display:flex;align-items:flex-start;gap:12px;border:1px solid #d7dfe3;border-radius:0;padding:20px;background:#fff;min-height:132px;height:100%;}
.bps-course-overview .bps-section-card .pgr-img{flex:0 0 90px;width:90px;height:90px;border-radius:50%;background:#1e88e5;display:flex;align-items:center;justify-content:center;color:#fff;}
.bps-course-overview .bps-section-card .pgr-img i{font-size:48px;color:#fff;}
.bps-course-overview .bps-section-card .pgr-content{flex:1;min-width:0;}
.bps-course-overview .bps-section-card .section-title{font-size:22.5px;line-height:27px;font-weight:400;color:#007bff;margin:0 0 12px;}
.bps-course-overview .bps-section-card .section-title a{color:#007bff;font-weight:400;}
.bps-course-overview .bps-section-card .section-summary-activities{display:block;font-size:13px;line-height:20px;color:#6a737b;}
.bps-course-overview .bps-section-card .progress{height:20px;background:#eef5f9;border-radius:0;margin-top:4px;}
.bps-course-overview .bps-section-card .progress-bar{background:#1e88e5;color:#fff;}
.bps-legacy-shell #page-navbar .breadcrumb{background:#eef5f9;border-radius:0;margin:12px 0 0;padding:8px 24px;}
.bps-legacy-shell .drawer.drawer-left{left:70px!important;right:auto;width:285px;}
.bps-rail-open .drawer.drawer-left{left:285px!important;}
@media(min-width:992px){.bps-legacy-shell #page.drawers.show-drawer-left{left:0;right:0;margin-left:285px;width:calc(100% - 285px);}}
@media(max-width:991px){.bps-legacy-shell .drawer.drawer-left{left:70px!important;}.bps-legacy-shell #page.drawers.show-drawer-left{margin-left:0;width:100%;}}
@media(max-width:767px){.bps-course-overview .course-content ul.topics{grid-template-columns:minmax(0,1fr);gap:20px;}.bps-course-overview .bps-section-card>.section-item.bps-section-panel{padding:16px;gap:12px;}.bps-course-overview .bps-section-card .pgr-img{flex-basis:60px;width:60px;height:60px;}.bps-course-overview .bps-section-card .pgr-img i{font-size:32px;}.bps-course-overview .bps-section-card .section-title{font-size:20px;line-height:24px;}.bps-legacy-shell .drawer.drawer-left{left:0!important;}}

/* Preserve the original footer contrast and container alignment. */
#bps-footer-desktop,#bps-footer-mobile,#bps-footer-desktop a,#bps-footer-mobile a{color:#fff;}
#top-footer .container-fluid,#bps-footer-desktop .container-fluid,#bps-footer-mobile .container-fluid{max-width:none;width:100%;padding-left:60px;padding-right:60px;}
#top-footer .social ul{list-style:none;}
@media(max-width:767px){#top-footer .container-fluid,#bps-footer-desktop .container-fluid,#bps-footer-mobile .container-fluid{padding-left:20px;padding-right:20px;}}

/* Keep the native course-index handle outside the BPS navigation rail. */
.bps-legacy-shell .drawer-left-toggle{left:70px!important;z-index:1042;}
.bps-rail-open .drawer-left-toggle{left:285px!important;}
@media(max-width:767px){.bps-legacy-shell .drawer-left-toggle{left:0!important;}}

/* Original previous/next section flow using native Moodle navigation and jump selector. */
.bps-course-section .bps-single-section-title{font-size:26.25px;line-height:1.2;font-weight:700;letter-spacing:.1em;color:#1e88e5;text-align:center;background:#fff;border:5px solid #eef5f9;padding:12px;margin:0 0 24px;}
.bps-course-section .course-content .section-item{border-radius:0;border:0;}
.bps-legacy-shell .course-content nav.bps-section-navigation{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,1fr) minmax(0,1fr);gap:20px;align-items:center;margin:40px 0 0;padding:20px 0 10px;}
.bps-section-navigation .prevsection>a,.bps-section-navigation .nextsection>a{display:flex;align-items:center;gap:12px;color:#007bff;text-decoration:none;}
.bps-section-navigation .nextsection>a{justify-content:flex-end;text-align:right;}
.bps-section-navigation a>span>span{display:block;}
.bps-section-navigation .nav-guide{letter-spacing:.1em;color:#565656;margin-bottom:4px;}
.bps-section-navigation a>i{font-size:32px;font-weight:400;color:#67757c;padding:8px;}
.bps-section-navigation .prevsection>a>i{border-right:1px solid #eee;}
.bps-section-navigation .nextsection>a>i{border-left:1px solid #eee;}
.bps-section-navigation .jumpmenu,.bps-section-navigation select{width:100%;max-width:100%;}
@media(max-width:767px){.bps-legacy-shell .course-content nav.bps-section-navigation{grid-template-columns:1fr;gap:20px;}.bps-section-navigation .bps-section-selector{grid-row:2;}.bps-course-section .bps-single-section-title{font-size:22px;letter-spacing:.06em;}.bps-section-navigation .prevsection>a,.bps-section-navigation .nextsection>a{overflow-wrap:anywhere;}}

.bps-section-navigation .bps-section-selector{width:100%;max-width:386px;margin:0 auto;}
.bps-section-navigation .bps-section-arrow{display:block;flex:0 0 32px;width:32px;height:40px;object-fit:contain;padding:4px;}
.bps-section-navigation .nextsection .bps-section-arrow{border-left:1px solid #eee;}
.bps-section-navigation .prevsection .bps-section-arrow{border-right:1px solid #eee;}

/* Original BPS activity hierarchy: course header, activity title, content and navigation in one panel. */
.bps-legacy-shell.pagelayout-incourse .activity-header{background:transparent;border:0;border-bottom:1px solid #d7dfe3;border-radius:0;padding:0 0 16px;margin:0 0 20px;}
.bps-legacy-shell.pagelayout-incourse .activity-header h2{font-size:30px;line-height:1.2;font-weight:400;margin:0 0 16px;}
.bps-legacy-shell.pagelayout-incourse .activity-navigation{max-width:none;width:100%;margin:25px 0 0;padding:20px 0 0;border-top:1px solid #d7dfe3;border-radius:0;box-shadow:none;}
.bps-legacy-shell.pagelayout-incourse .activity-navigation .moove-container-fluid{max-width:none;width:100%;}
#page-mod-quiz-view .quizinfo,#page-mod-quiz-view .quizattempt{ text-align:center; }
#page-mod-quiz-view .quizstartbuttondiv{text-align:center;margin:20px 0;}
