/*Quit*/
/*General*/
/*font*/

body,
p,
ul,
li,
a,
div,
input,
textarea,
button,
label,
span,
tr,
td
.custom-select  {
    font-family: "Poppins", sans-serif !important;
    color: #252627;
}

/* Maintain the span texts with blue background white, so there aren't contrast issues. */
.dropdown-toggle span,
.dropdown .btn span,
a span,
.btn span,
.button span,
.page-item.active .page-link span,
.active span,
.initialbar .active span {
    color: inherit !important;
}

/* HEADINGS */

h1, .h1 {
    font-size: 40px;
    font-weight: 700;
}

h2, .h2 {
    font-size: 32px;
    font-weight: 700;
}

h3, .h3 {
    font-size: 26px;
    font-weight: 600;
}

h4, .h4 {
    font-size: 22px;
    font-weight: 600;
}

h5, .h5 {
    font-size: 18px;
    font-weight: 500;
}

h6, .h6 {
    font-size: 16px;
    font-weight: 500;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", sans-serif !important;
    color: #252627;
}

/* LINKS */

a {
    color: #0000f0;
    text-decoration: none;
}

/* FONT AWESOME FIX */

.fa,
.fas,
.far,
.fab,
.fa-solid,
.fa-regular,
.fa-brands,
.icon {
    font-family: "Font Awesome 6 Free" !important;
}
label, 
.label, 
.form-label, 
.form-defaultinfo, 
.form-description, 
.form-filemanager, 
.ffilepicker, 
.ffilemanager, 
.fdescription, 
.fstatic, 
.collapsible-actions, 
input, button, 
select, 
.pagination, 
.initialbar, 
.paging, 
.alert, 
.nav-pills, 
.nav-tabs, 
.course-report-dashboard, 
.yui3-tabview-list, 
.yuimenu, 
#course-category-listings, 
.progress .bar, 
.dndupload-progress-outer .bar,
.progress-bar, 
.dndupload-progress-inner, 
.yui-dt-paginator
 {
    font-family: 'Poppins' !important;
}
.theme-snap #mr-nav .editmode-switch-form .input-group label {
    color: #0000F0 !important;
    font-family: 'Poppins' !important;
}
/*user image*/
#snap-header .usermenu .userpicture, #snap-header .usermenu .userinitials {
    border: 2px solid #0000f0;
}
/*buttons*/

.btn-primary {
    background-color: #0000F0;
    border: 1px solid #0000F0;
    color: #fff;
    padding: 12px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
}

/* Hover */
.btn-primary:hover {
    background-color: #0000c8;
    border-color: #0000c8;
    color: #fff;
    transform: translateY(-1px);
}

/* Focus */
.btn-primary:focus,
.btn-primary.focus {
    background-color: #0000c8;
    border-color: #00008c;
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 240, 0.25);
    outline: none;
}

/* Active / Click */
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
    background-color: #00008c;
    border-color: #00008c;
    color: #fff;
    transform: translateY(0);
}

/* Disabled */
.btn-primary:disabled,
.btn-primary.disabled {
    background-color: #7a7ad6;
    border-color: #7a7ad6;
    color: #eaeaea;
    cursor: not-allowed;
    opacity: 0.7;

}


.theme-snap .btn.btn-secondary {
    background-color: transparent;
    border: 1px solid #0000F0;
    color: #0000F0;
    padding: 12px 22px !important;
    border-radius: 25px !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
}

/* Hover */
.theme-snap .btn.btn-secondary:hover {
    background-color: #0000F0;
    border-color: #0000F0;
    color: #fff;
    transform: translateY(-1px);
}

/* Focus */
.theme-snap .btn.btn-secondary:focus,
.theme-snap .btn.btn-secondary.focus {
    background-color: rgba(0, 0, 240, 0.08);
    border-color: #00008c;
    color: #00008c;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 240, 0.2);
    outline: none;
}

/* Active */
.theme-snap .btn.btn-secondary:active,
.theme-snap .btn.btn-secondary.active,
.show > .theme-snap .btn.btn-secondary.dropdown-toggle {
    background-color: #00008c;
    border-color: #00008c;
    color: #fff;
}

/* Disabled */
.theme-snap .btn.btn-secondary:disabled,
.theme-snap .btn.btn-secondary.disabled {
    border-color: #7a7ad6;
    color: #7a7ad6;
    cursor: not-allowed;
    opacity: 0.7;
}


/*Home*/
 
#page-site-index .sitetopic {
    max-width: 80% !important;
}
.theme-snap#page-site-index #page-header {
  background-image: none !important;
  background-color: transparent !important;
  padding: 0 !important;
  min-height: unset !important;
  margin-top: 7em !important;
  aspect-ratio: unset !important;
}


.qe-hero {
  display: flex;
  align-items: stretch;
  width: 100%;
  background-color: #0000f0;
  overflow: hidden;
}


.qe-left {
  flex: 0 0 50%;
  background-color: #0000f0;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  box-sizing: border-box;
}


.qe-title-box {
  display: inline-block;
  align-self: flex-start;
}

.qe-title-box span {
  display: block;
  color: #0000f0;
  line-height: 1.2;
  font-size: 48px;
  font-weight: 800;

}
.qe-title-box span:first-child {
  background-color: #ffffff;
  padding: 10px;
  width: 3em;
}

.qe-title-box span:last-child {
  width: 6em;
  background-color: #ffffff;
  padding: 10px;
}

.qe-desc {
  overflow-wrap: break-word;
  color: #ffffff;
  margin: 0;
  width: 80%;
  font-weight: 500;
}


.qe-right {
  flex: 0 0 50%;
  overflow: hidden;
}

.qe-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}


@media (min-width: 769px) and (max-width: 1024px) {
  .qe-left {
    flex: 0 0 55%;
    padding: 32px 24px;
    
  }
  .qe-right {
    flex: 0 0 45%;
  }
  .qe-desc {
    width: 90%;
  }
  .theme-snap#page-site-index #page-header {
  margin-top: 6em !important;
  }
}


@media (min-width: 767px) and (max-width: 768px) {
  .qe-left {
    flex: 0 0 50%;
    background-color: #0000f0;
    padding: 24px 20px;
  }
  .qe-right {
    flex: 0 0 50%;
  }
  .qe-desc {
    background-color: #0000f0;
    width: 80%;
  }
}


@media (max-width: 767px) {
  .qe-hero {
    flex-direction: column;
  }
  .qe-right {
    flex: unset;
    width: 100%;
    height: 56vw;
    order: -1;
  }
  .qe-left {
    flex: unset;
    width: 100%;
    padding: 28px 20px;
    gap: 16px;
  }
  .qe-title-box {
    width: 80%;
  }
  .qe-desc {
    width: 100%;
  }
}

/*welcome block*/
#scroll-container {
    width: 100%;
    text-align: center;
    margin: 30px auto;
}
#scroll-container {
  width: 100%;
  text-align: center;
  margin: 30px auto;
}


#scroll-icon-img {
  display: inline-block;
  animation: float 2s ease-in-out infinite;
  cursor: pointer;
}


#scroll-icon-img:hover {
  animation: bounce 0.6s infinite;
}


@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}
/*pills*/
/* CARD */
.custom-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

.custom-card:hover {
  transform: translateY(-5px);
}

/* IMAGE WRAPPER */
.card-img-wrapper {
  position: relative;
}

.card-img-wrapper img {
  width: 100%;
  display: block;
}

/* TIME PILL */
.time-pill {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #f2f2f2;
  color: #252627;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 20px;
}

/* BODY */
.card-body {
  padding: 18px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.card-subtitle {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.card-list {
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.4;
}


.card-footer {
  background: transparent;
  border: none;
  padding: 18px;
}

.custom-btn {
  background: #0000f0;
  border: none;
  border-radius: 20px;
  padding: 8px 18px;
  font-weight: 600;
  color:white !important;
}

.atto_bsgrid.container .row {
    margin-bottom: 1em;
}
.theme-snap#page-site-index #page-header {
    background-image: url(https://quit-sandbox.mrooms.net/pluginfile.php/1/theme_snap/coverimage/1549543571/site-image.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top right !important;
}

.view-more-btn {
    background-color: #ffe066;
    font-size: 14px;
    letter-spacing: 0.3px;
    float: right;
    color: black !important;
    display: inline-flex;
    align-items: center;
}
.btn-text {
    display: block;
    padding: 0 .5em ;
}
span.btn-arrow-box {
    background-color: #ffc107 !important;
    display: inline-block;
    height: 2em;
    padding: .5em;
}
/*visual alignment*/

#page-site-index .sitetopic {
    padding: 0 0% !important;
}

#page-site-index  .course-section .section-item {
    padding: 0rem !important;
}
#page-site-index  .course-content  {
    max-width: 100% !important;
}


body#page-site-index .snap-resource-list .activity-altcontent .no-overflow, 
body.snap-resource-card .activity-altcontent .no-overflow {
    background-color: #f8f9fa00 !important;
}
#page-site-index  body.snap-resource-card .activity-altcontent .no-overflow {
    background-color: #f8f9fa00 !important;

}
.theme-snap .section li.activity-wrapper.modtype_label .activity-item,
.theme-snap .section li.activity-wrapper.modtype_label .activity-item.focus-control {
    border: none !important;
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}
/*footer*/
#custom-footer {
    background-color: #F9F8F6;
    font-family: inherit;
}

.custom-footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 40px 0 40px;
}


.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

#moodle-footer #snap-site-footer a:not(.btn) {
    color: #252627 !important;
    font-weight: normal !important;
}

#moodle-footer #snap-site-footer .footer-links a:not(.btn) {
    color: #fff !important;
}


.footer-acknowledgement {
    max-width: 820px;
    margin-bottom: 40px;
}

.footer-acknowledgement p {
    color: #252627;
    line-height: 1.6;
    margin: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-illustration img {
    height: 120px;
    width: auto;
    display: block;
}

.footer-flags {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-bottom: 20px;
}

.footer-flags img {
    height: 44px;
    width: auto;
    border-radius: 4px;
}

.footer-copyright {
    background-color: #252627;
    text-align: center;
    padding: 16px 40px;
    margin-top: 0;
}

.footer-copyright span {
    color: #ffffff;
}
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;

  list-style: none;
  padding: 0;
  margin: 0;

  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.7;
}


@media (max-width: 767px) {
    .custom-footer-inner {
        padding: 30px 20px 0 20px;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-flags {
        padding-bottom: 20px;
    }

    .footer-illustration img {
        height: 80px;
    }
}
body footer#moodle-footer {
    margin-right: 0px !important;
    padding: 0 0% !important;
    padding-bottom: 0em !important;
}
footer #snap-footer-content, #snap-socialmedia-links {
    padding: 0em 0;
}
#snap-socialmedia-links {
    display: none !important;
}
div#mrooms-footer {
    display: none !important;
}
#moodle-footer .langmenu {

    display: none  !important;
}
#moodle-footer div#page-footer {
    display: none !important;
}
#moodle-footer .usertour {
    display: none;
}
/*Login*/
#page-login-index #snap-signup a#signupbtn, 
#page-login-signup #snap-signup a#signupbtn,
#page-login-index #snap-login-help a.btn {
   padding: 0.375rem 0.75rem;
    width: 100%;
    margin-top:30px;
    font-size: 0.75rem !important;
}
#page-login-index #snap-login-help a.btn {
    margin-top: 0;
}
.theme-snap#page-login-index #page {
    background-image: none;
    background-color: #ffffff !important;
}

#page-login-index #base-login form#login input#username, 
#page-login-index #base-login form#login input#password, 
#page-login-signup #base-login form#login input#username, 
#page-login-signup #base-login form#login input#password {
    border-radius: 30px !important;
    font-family: 'Poppins' !important;
}
button#loginbtn {
    margin-top: 30px;
    font-size: 0.75rem !important;
}
.theme-snap .button-group > button.default, 
.theme-snap .btn.btn-primary, 
.theme-snap .btn.btn-outline-dark {
    color: #fff;
    background-color: #0000F0;
    border-color: #0000F0;
    font-weight: bold;
    font-family: 'Poppins', sans-serif !important;
    border-radius: 30px;
}
#page-login-index #base-login form#login button#loginbtn, 
#page-login-signup #base-login form#login button#loginbtn {
    width: auto;
    font-size: .8em;
    width: 100%;
    padding: 0.375rem 0.75rem;
}

#page-login-index #base-login form#login a[href*="forgot"] {
    background: #ffffff;
    color: #0000F0;
    border: 2px solid #0000F0 !important;
    border-radius: 30px !important;
    font-weight: bold;
    margin-top: 30px;
    padding: 0.375rem 0.75rem;
    text-align: center;
}
.page-mycourses .block_myoverview .block-cards {
    border-top: 1px solid #ffffff !important;
}
#page-login-index a.btn.btn-primary.iconhelp {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem !important;
}
/*forgottenpassword*/
.pagelayout-login #page
 {

    background-image: linear-gradient(to right, #f8f9fa 0%, #ffffff 100%) !important;
 }
/*fixes*/
a.dropdown-item.menu-action.cm-edit-action:hover span {
    color: white !important;
    background: #0000F0;
}
.action-menu a.dropdown-item.dropdown-toggle:hover span {
    color: white !important;
    background: #0000F0;
}
.block .card-text h3 a {
    font-size: 1rem;
    font-weight: 400;
}
.block_settings p.tree_item.hasicon.tree_item.leaf a {
    color: #252627 !important;
}
.block_settings p.tree_item.tree_item.branch a {
    color: #252627 !important;
}
.snap-login-instructions .modal-content {
    width: 106%  !important;
}
body#page-login-index.theme-snap .iconhelp:focus > img,
body#page-login-index.theme-snap .iconhelp:hover > img {
    background-color: #252627 !important;
}
.form-autocomplete-suggestions li:hover, 
.form-autocomplete-suggestions li:focus, 
.form-autocomplete-suggestions li[aria-selected="true"] {
    background-color: #0000c7 !important;
    color: #fff;
}
.form-autocomplete-suggestions li:hover span , 
.form-autocomplete-suggestions li:focus span , 
.form-autocomplete-suggestions li[aria-selected="true"] span {
    color: white !important;
}
/* Commenting it due to dropdowns appearing with white text, but leaving it if it is from something else
button span {
    color: white;
}*/
#dropdown-comp button span {
    color: #252627 !important;
}
.btn-link span {
    color: #252627;
}
.simplesearchform .btn .icon {
    color: #ffffff !important;
}
/*Courses*/
body.path-course #moodle-page #page-header {
    aspect-ratio: unset;
    padding-top: 125px;
}
.pagelayout-course #page-mast h1 a,
.pagelayout-incourse #page-mast h1 a {
    color: #252627;
}
div#page-mast h1 a {
    color: #212529;
}
.theme-snap .snap-visible-section.courseindex-section > .courseindex-item {   

    background-color:#ccccfc;
}
.theme-snap .courseindex-section.snap-visible-section > .courseindex-item a.courseindex-link {
    color: #0000f0 !important;
}
.theme-snap .courseindex-section.snap-visible-section > .courseindex-item span.courseindex-link {
    color: #0000f0 !important;
}

.theme-snap #courseindex {
    padding-right: 0.2em !important;
}

.theme-snap #courseindex div[id^="course-index-section-"]:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.4) !important;
    border-radius: 0.5em !important; 
    padding: 0.125em !important;
}

/*pld*/

.theme-snap .openlms-custom-elements ol.pld-edit-panels > li.pld-edit-step:before
 {
    width: 1.8em !important;
    height: 1.8em !important;
    line-height: 1.8em !important;
    padding-left: 0 !important;
    text-align: center !important;
    border-radius: 50% !important;
    left: -2.3em;
}
#page-header {
    margin-top: 0px;
    padding-top: 125px;
}

[role="treeitem"]:not([aria-expanded="true"]):focus {
    outline: 0;
    box-shadow: inset 0 0 0 .25rem rgb(13 110 253 / .25) !important;
}