.consent-banner .tui-modal__inner{position:absolute;bottom:0;height:auto}.consent-banner.tui-modal--size-large .tui-modal__inner{width:100%}.consent-banner .tui-formBtn{margin-bottom:var(--gap-2)}.consent-banner .consent-buttons{display:flex;flex-direction:column;align-self:center;margin-top:var(--gap-8)}.consent-banner .consent-buttons-settings{display:flex;justify-content:center;padding:0 var(--gap-6)}.consent-banner .consent-buttons-settings__btn{margin-right:0;border:none;text-decoration:underline;color:var(--link-color)}@media (min-width:600px){.consent-banner .consent-buttons{flex-direction:row;align-items:center}.consent-banner .tui-formBtn{flex-shrink:1}.consent-banner .consent-buttons__confirm{margin-right:var(--gap-2)}}@media (min-width:768px){.consent-banner.tui-modal.tui-modal--size-large .tui-modal__inner{width:100%;text-align:left}.consent-banner .tui-modalContent__content{flex-direction:row;justify-content:space-between}.consent-banner .policy{flex:1 1 60%}.consent-banner .consent-buttons{flex-wrap:wrap;justify-content:center;margin-top:0;padding-left:20px}.consent-banner .consent-buttons-settings{width:100%}.consent-banner .tui-formBtn{white-space:nowrap}}@media (min-width:992px){.consent-banner .consent-buttons{flex-wrap:nowrap;justify-content:flex-end}.consent-banner .consent-buttons-settings{width:auto}}.preferences-header{display:inline-block;width:100%;padding-bottom:var(--gap-5);border-bottom:1px solid var(--color-neutral-5)}.preferences-header img{width:120px;height:auto}.preferences-content h3{margin-bottom:var(--gap-3)}.preferences-collapsible{margin-bottom:var(--gap-5)}.preferences-collapsible .tui-collapsible__header{min-height:42px;align-content:center}.preferences-collapsible+.tui-formBtn{max-width:180px;align-self:end}.preferences-collapsible .tui-collapsible__header-button:focus{outline:none}.preferences-collapsible .consent-category{padding:var(--gap-5) var(--gap-3)}
/* set some variables */
:root {
    --course-activity-background-color: var(--btn-bg-color);
    --course-activity-border-colour: transparent;
    --course-activity-color: var(--btn-text-color);
    --activity-instance-font-size: 20px;
    --activity-instance-font-weight: var(--h3-font-weight);
    --course-activity-icon-size: 18px;
    --activity-instance-color: var(--course-activity-color);
    --course-activity-icon-color: var(--course-activity-color);
    --main-section-content-background-color: rgba(255, 255, 255, 0.0);
    --course-activity-padding: 8px;
    --completion-icon-colour: var(--course-activity-color);
    --item-border-radius: 16px;

    --progress-value-bg-color: var(--color-secondary);
    --progress-value-text-color: var(--progress-container-text-color);
    --progress-container-text-color: #ffffff;
    --progress-bar-border-radius: 99px;
    --progress-bar-height: 10px;
    --progress-bar-border-color: transparent;
    --progress-container-bg-color: rgba(0,0,0,0.5);
}

/* stylise featured links tile */
.block-totara-featured-links-layout .block-totara-featured-links-tile{
    border-radius: var(--item-border-radius);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 20px;
}

/* stylise featured links tile */
.block-totara-featured-links-layout>div .block-totara-featured-links-content-container {
    border-radius: var(--item-border-radius);
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
}

/* stylise featured links tile */
.block-totara-featured-links-layout .block-totara-featured-links-content.block-totara-featured-links-content{
    padding: 8px 16px;
    height: 100%;
}

/* align block header to content */
.block.chromeless .title.block-title {
    padding: 15px 0;
}

/* position video play button */
.video-js .vjs-big-play-button {
    top: 44%;
    left: 44%;
}

/* style featured links tick icon */
.block-totara-featured-links-tile .tfont-var-check{
    font-size: 24px !important;
    color: #ffffff;
    position: absolute;
    top:0;
    right:0;
    padding: 6px;
    margin: 10px;
    height: auto !important;
    width: auto;
    line-height: 1 !important;
    background: #84AF68;
    border-radius: 99px;
}

/* style featured links lock icon */
.block-totara-featured-links-tile .tfont-var-lock {
    font-size: 18px !important;
    color: #ffffff;
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
    margin: 10px;
    height: auto !important;
    width: auto;
    line-height: 1 !important;
    background: #9A4B7E;
    border-radius: 99px;
}

/* reposition featured links text so the icon appears correctly */
.block-totara-featured-links-layout .block-totara-featured-links-content.block-totara-featured-links-content h3{
    position: absolute;
    bottom:0;
    padding-bottom: 8px;
    padding-right:16px;
}

/* set style for banner images with this class */
.course-page-image {
    height: 550px;
    border-radius: var(--item-border-radius) !important;
    background-size: cover;
    background-position: center center;
}

/* set style for banner images with this class */
.dashboard-page-image {
    height: 450px;
    border-radius: var(--item-border-radius) !important;
    background-size: cover;
    background-position: center center;
}

/* set the h2 block header to h2 */
.block_course_summary.block .block-header .block-title.title h2 {
    font-size: var(--h2-font-size);
    font-weight: var(--h2-font-weight);
    text-transform: none;
}

/* change width of center and side columns in course page */
@media (min-width: 992px) {
    .pagelayout-course .col-md-9 {
        width: 66%;
    }
    .pagelayout-course .col-md-3 {
        width: 33%;
    }
}

/* set course button border radius */
.path-course-view:not(.format-pathway) .activity {
    border-radius: var(--item-border-radius);
}

/* align course button items vetrically */
.path-course-view:not(.format-pathway) .activity .mod-indent + div:has(.actions) .actions {
    align-items: center;
}

/* increase space around course button icon */
.activityicon {
    width: 2em;
}

/* remove course topic title */
.tw-formatTopics__topic_header {
    display: none;
}

/* add space between related learning and course */
#region-bottom {
    margin-top:80px;
}

/* hide banner image used for bg */
.page-background-image{
    display:none;
}

/* record of learning isotope items */
figure.isotope.item {
    border-radius: var(--item-border-radius);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 20px;
}

/* record of learning isotope items overlay*/
figure.isotope.item.record-of-learning > a {
    min-height: 0;
    height: 100%;
    border-radius: var(--item-border-radius);
}

/* display drop shadows outside of content block */
.block_isotope .content {
    overflow: visible;
}

/* set font style for RoL isotope title */
.record-of-learning .item-name{
    font-size: var(--font-size-18);
    font-weight: bold;
}

/* set font style for RoL isotope details*/
.record-of-learning .item-type, .record-of-learning .req, .record-of-learning .date{
    font-size: 12px;
    color: var(--isotope-item-date-color) !important;
}

/* set font style for RoL isotope required*/
.record-of-learning .req{
    font-weight:bold;
}

/* make padding between RoL details smaller */
.record-of-learning figure.isotope.item > a .date{
    margin: 0px 0 4px;
}

/* make padding between RoL details smaller */
.record-of-learning figure.isotope.item > a .req {
    margin: 0 0 4px;
}

/* make padding between RoL details smaller */
.record-of-learning p{
    margin: 0px 0 4px;
}

/* align required icon on RoL isotope */
.record-of-learning [class*=" fa-"] {
    vertical-align: baseline;
}

/* vertically centre the login panel */
.path-login #region-main>[role=main] #login_hero-image+.loginbox {
    flex-grow: unset;
}

/* remove drop shadow from progress bar */
.progress {
    box-shadow: none;
}

/* align progress bar value text */
.progressbar__text {
    color: var(--progress-container-text-color);
    font-size: 8px;
    line-height: 1;
    vertical-align: top;
}

/* change overdue isotope color */
figure.isotope.item.status-overdue.imgstatus-show a.name {
    background-color: transparent;
    background: linear-gradient(0deg, rgba(196, 17, 17, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%);
}

/* change completed isotope color */
figure.isotope.item.status-completed.imgstatus-show a.name {
    background-color: transparent;
    background: linear-gradient(0deg, rgba(0, 121, 4, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%);
}

/* change not started isotope color */
figure.isotope.item.status-notstarted.imgstatus-show a.name {
    background-color: transparent;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}

/* change expired isotope color */
figure.isotope.item.status-expired.imgstatus-show a.name {
    background-color: transparent;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}

/* change not required isotope color */
figure.isotope.item.status-notrequired.imgstatus-show a.name {
    background-color: transparent;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}

/* change required isotope color */
figure.isotope.item.status-required.imgstatus-show a.name {
    background-color: transparent;
    background: linear-gradient(0deg, rgba(196, 17, 17, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%);
}

/* change started isotope color */
figure.isotope.item.status-started.imgstatus-show a.name {
    background-color: transparent;
    background: linear-gradient(0deg, rgba(198, 128, 15, 0.6) 0%,rgba(0, 0, 0, 0.6) 100%);
}

/* change unknown isotope color */
figure.isotope.item.status-unknown.imgstatus-show a.name {
    background-color: transparent;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}

/* change window open isotope color */
figure.isotope.item.status-statewindowopen.imgstatus-show a.name {
    background-color: transparent;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}

/* align icons better */
[class^=fa-], [class*=" fa-"] {
    vertical-align: baseline;
}

/* add background to report button */
.tui-totara_reportbuilder-listingReportItem--grid .tui-totara_reportbuilder-listingReportItem__info {
    background: #fff;
    border-radius: 0 0 16px 16px;
}

/* add radius to report button */
.tui-totara_reportbuilder-listingReportItem {
    border-radius: 16px;
}

/* add radius to report button */
.tui-totara_reportbuilder-listingReportItem__imageWrap {
    border-radius: 16px 16px 0 0;
}

/* style the reward block */
.reward-image-link {
    display: flex;
    position: relative;
    text-decoration: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 20px;
    transition: box-shadow 0.3s ease;
    height: 400px;
    transition: box-shadow 0.4s ease;
  }

 /* set the hover state for the reward block */ 
  .reward-image-link:hover {
    box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 10px;
  }

 /* add overlay to reward block */ 
  .reward-image-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1); /* subtle dark overlay */
    z-index: 1;
    transition: background 0.4s ease;
  }

 /* set the hover state for the reward block */ 
  .reward-image-link:hover::before {
    background: rgba(0, 0, 0, 0.3); /* darker on hover */
  }

 /* style and position the reward block text */ 
  .reward-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2;
    pointer-events: none;
    padding: 20px;
    width: 100%;
  }

/* show the reward block drop shadow */ 
.reward-block .no-overflow {
    overflow: visible;
}

/* stylise the HTML reward block on the homepage */
.reward-block.block.chromeless.block {
    width: 30%;
    margin: 0 10%;
}

/* styl;e reward block heading */
.reward-overlay-text h4{
    color: white !important;
    font-size: 24px !important;
}

/* set the image background for the reward block */
.reward-image-container{
    background-image:url('https://www.the-supplement.co.uk/pluginfile.php/1342/block_html/content/reward.png');
      background-size: cover;
      background-position: center;
      width: 100%;
      transition: transform 0.4s ease;
}

/* set background image for NHSc */
#page-totara-dashboard-2, #page-totara-dashboard-9, #page-totara-dashboard-18, #page-totara-dashboard-19, #page-totara-dashboard-20, #page-totara-dashboard-21, #page-totara-dashboard-22, #page-totara-dashboard-23, #page-totara-dashboard-24, #page-totara-dashboard-25, #page-totara-dashboard-26,#page-totara-dashboard-27, #page-my-teammembers, #page-my-reports, #page-badges-badge, .page-user-profile, .course-19, .course-22, .course-21, .course-38 {
    background-image: url(https://www.the-supplement.co.uk/pluginfile.php/1235/block_html/content/NHSc%20bg.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    max-height:100vh;
}

/* set background image for solgar */
#page-totara-dashboard-10, .course-10, .course-14, .course-17, .course-18 {
    background-image: url(https://www.the-supplement.co.uk/pluginfile.php/1245/block_html/content/Solar%20bg.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    max-height:100vh;
}

/* set background image for Vital proteins */
#page-totara-dashboard-12, .course-29 {
    background-image: url(https://www.the-supplement.co.uk/pluginfile.php/1250/block_html/content/Vp%20bg.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    max-height:100vh;
}

/* set background image for Minami */
#page-totara-dashboard-13, .course-28, .course-31 {
    background-image: url(https://www.the-supplement.co.uk/pluginfile.php/1255/block_html/content/Minami%20bg.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    max-height:100vh;
}

/* set background image for Garden of life */
#page-totara-dashboard-14 {
    background-image: url(https://www.the-supplement.co.uk/pluginfile.php/1260/block_html/content/GoL%20bg%20%281%29.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    max-height:100vh;
}

/* set background image for Nuun */
#page-totara-dashboard-15 {
    background-image: url(https://www.the-supplement.co.uk/pluginfile.php/1265/block_html/content/Nuun%20bg.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    max-height:100vh;
}

/* set background image for Pure */
#page-totara-dashboard-16 {
    background-image: url(https://www.the-supplement.co.uk/pluginfile.php/1270/block_html/content/Pure%20bg.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    max-height:100vh;
}

/* set background image for Natures bounty */
#page-totara-dashboard-17, .course-9, .course-13, .course-16 {
    background-image: url(https://www.the-supplement.co.uk/pluginfile.php/1275/block_html/content/NB%20bg.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    max-height:100vh;
}

/* make video poster image cover container */
.vjs-poster {
    background-size: cover;
}

/* hide blocks you don't want displayed - mainly reward image block that contains the image referenced */
.hide-block{
    display:none !important;
}

/* align block verticaly */
.vertical-center {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    height: 75vh;
}

/* login page - change width of boxes so equal */
@media only screen and (min-width: 768px) {
    #page-content div[role="main"] .loginbox.twocolumns .signuppanel {
        width: 40%;
        flex-basis: auto;
    }
    #page-content div[role="main"] .loginbox.twocolumns .loginpanel {
        width: 40%;
        flex-basis: auto;
    }
}

/* login page - change heading size */
#page-content div[role="main"] .loginbox .signuppanel > h2 {
    font-size: 36px;
}

/* login page - change heading size */
#page-content div[role="main"] .loginbox .loginpanel > h2 {
    font-size: 36px;
}

/* login page - remove padding from button */
.loginbox .signupform {
    padding: 0;
}

/* login page - add boxes to login page */
#page-content div[role="main"] .loginbox.twocolumns .loginpanel, #page-content div[role="main"] .loginbox.twocolumns .signuppanel {
    background: rgba(255, 255, 255, 1);
    border-radius: var(--item-border-radius);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 20px;
}

/* signup page - change font size */
.tool_sitepolicy__form__userconsentform h2{
    font-size: 36px;
    margin-top: 60px;
}

/* signup page - make input boxes same size */
.mform input[type=text][size], .mform input[type=password][size], .mform input[type=number][size]{
    width: 100%;
}

/* signup page - remove sign in button */
.pagelayout-login .page-footer .page-footer-main-content {
    display: none;
}

/* signup page - remove nav background */
.pagelayout-login .totaraNav_prim {
    background: none;
}