﻿@font-face {
    font-family: 'Dax Light';
    src: url('/fonts/daxlight-webfont.eot');
    src: url('/fonts/daxlight-webfont.eot?#iefix') format('embedded-opentype'), url('/fonts/daxlight-webfont.woff2') format('woff2'), url('/fonts/daxlight-webfont.woff') format('woff'), url('/fonts/daxlight-webfont.ttf') format('truetype'), url('/fonts/daxlight-webfont.svg#dax-lightregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Dax Regular';
    src: url("/fonts/dax-regular.eot");
    src: url("/fonts/dax-regular.eot?#iefix") format('embedded-opentype'),url("/fonts/dax-regular.woff") format('woff'),url("/fonts/dax-regular.ttf") format('truetype'),url("/fonts/dax-regular.svg#daxregular") format('svg');
    font-weight: normal;
    font-style: normal;
}
/* Colours */
:root {
    --bs-link-color: #333F48;
    --bs-link-color-rgb: 51,63,72;
    --bs-link-hover-color-rgb: 51,63,72;
    --bs-tertiary-bg-rgb: 217,217,217;
    --bs-bg-opacity: 0.4;
    --bs-progress-bar-bg: #C1D82F;
    --bs-accordion-active-bg: #FFF;
    --bs-nav-link-disabled-color: #959BA0;
    --bs-navbar-height: 90vh;
    --bs-success-rgb: 255, 255, 255;
    --bs-progress-bg: #B1B1B1;
    --bs-progress-bar-color: #333F48;
    --bs-light-rgb: 235, 235, 235;
    --bg-green: #C1D82F;
    --bg-light-green: #E7F0AE;
    --bg-light-grey: #ADB2B6;
    --bs-dark-grey: #333F48;
    --bs-red: #EF383E;
    --bg-purple: #C2AFCC;
    --bs-canvas-zindex: 1082;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
}

.text-bg-primary {
    color: #fff !important;
    background-color: #C1D82F!important;
}

    .text-bg-primary .reward-title, .text-bg-dark .reward-title, .text-bg-light .reward-title {
        height: 90px;
        line-height: 90px;
        background-position: 80% 50%;
        background-repeat: no-repeat;
        padding-right: 0px;
        padding-left: 0px;
        margin-bottom: 0.5rem;
    }

.text-bg-primary .reward-title {
    color: #333F48;
    background-image: url('/img/bg-circles-green.svg');   
}

.text-bg-dark .reward-title {
    background-image: url('/img/bg-circles-grey.svg');
}

.text-bg-light .reward-title {
    color: #333F48;
    background-image: url('/img/bg-circles-lightgrey.svg');
}

.text-bg-dark .step-reward, .text-bg-dark .step-reward-icon {
    color: #333F48;
}

.btn-primary {
    color: #000;
    background-color: #C1D82F;
    --bs-btn-hover-bg: #C1D82F;
    --bs-btn-hover-color: #000;
    border: none;
    border-radius: 50px;
    --bs-btn-padding-x: 2rem;
    --bs-btn-padding-y: 1rem;
}

.btn-outline-primary {
    border-radius: 50px;
    --bs-btn-padding-x: 2rem;
    --bs-btn-padding-y: 1rem;
}

.btn-primary:hover {
    background-color: var(--bg-light-green);
}

    .btn:first-child:active {
        color: #000;
        background-color: var(--bg-light-green);
    }

.btn-primary.btn-sm {
    --bs-btn-padding-x: 0;
    --bs-btn-padding-y: 0.5rem;
}

.btn-outline-primary {
    --bs-btn-color: #333F48;
    --bs-btn-border-color: #C1D82F;
}

.btn-outline-primary:hover {
    color: #FFF;
    background-color: #C1D82F;
    border-color: #C1D82F;
}

.cardbkGreen {
    background-color: #C1D82F;
}

.cardbkOrange {
    background-color: #FBB034;
}

.cardbkPurple {
    background-color: var(--bg-purple);
}

.cardbkWhite {
    background-color: #FFF;
}

.cardbkGrey {
    background-color: #B1B1B1;
}

.cardbkDarkGrey {
    color: #FFF;
    background-color: #333F48;
}

.label-terms a { 
    color: #FFF;
}
.accordion-button:not(.collapsed) {
    color: var(--bs-dark-grey);
    background-color: var(--bg-green);
    box-shadow: none;
}
.accordion-button:focus {
    z-index: 3;
    outline: 0;
    box-shadow: none;
}

.bg-dark {
    background-color: var(--bs-dark-grey) !important;
}

.text-bg-dark {
    background-color: var(--bs-dark-grey) !important;
}

.btn.disabled, .btn:disabled {
    color: var(--bs-dark-grey);
    background-color: var(--bg-light-grey);
}


/* Nav */

.courseNavToggler {
    position: absolute;
    left: 8px;
    top: 12px;
}

.navbar-toggler:focus {
    box-shadow: none;
}
.navbar-toggler:focus-visible {
    outline: none;
}

#courseNav .btn-close {
    --bs-btn-close-bg: none;
    --bs-btn-close-opacity: 1;
    display:flex;
}

#courseNav .btn-close:focus {
    box-shadow: none;
    opacity: 1;
}

#courseNav .btn-close:after {
    font-family: 'bootstrap-icons';
    content: "\F623";
    color: var(--bs-dark-grey);
    font-size: 1em;
    margin-left: 0.5em;
}

#courseNav .offcanvas-header .btn-close {
    padding: calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);
    margin-top: calc(-0.5 * var(--bs-offcanvas-padding-y));
    margin-right: calc(2.5* var(--bs-offcanvas-padding-x));
    margin-bottom: calc(0.25 * var(--bs-offcanvas-padding-y));
    margin-left: auto;
}

.offcanvas {
    z-index: var(--bs-canvas-zindex);
}

#courseNav.offcanvas {
    width: 85%;
}

.courseLogout {
    position: absolute;
    right: 0.75rem;
    top: 1.25rem;
}

    .courseLogout .btn-outline-primary {
        --bs-btn-padding-y: 0.75rem;
        --bs-btn-padding-x: 1.5rem;
    }

.courseLink {
    position: absolute;
    left: 20px;
    top: 30px
}

.courseLink a {
    text-decoration: none;
    font-size: 0.9em;
}

.courseLink a:hover {
    text-decoration: underline;
}

.courseLink img {
    margin-right: 0px;
}

/* Fonts */

.main-container h1, .main-container h2, .reward-title {
    font-family: 'Dax Regular', Arial, sans-serif;
}

.step-nav-header h3, .main-container h3, .main-container h2.light, .main-container h4.card-subtitle {
    font-family: "Dax Light", Arial, sans-serif;
}

.main-container p strong {
    font-weight: 600;
}

.section-registration .lead {
    font-family: "Dax Light", Arial, sans-serif !important;
}

/* Font sizes */

.main-container h1 {
    font-size: 3rem;
    font-weight: 600;
}

.main-container h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.main-container h3, .main-container h2.light {
    font-size: 1.5rem;
    font-weight: 400;
}

.main-container h3.subtitle-rewards  {
    font-size: 2rem;
    font-weight: 400;
}

.main-container h3.subtitle-rewards strong {
    font-family: 'Dax Regular', Arial, sans-serif;
    font-weight: 800;
}

.main-container h2.light.dashboard-subtitle, .main-container h2.light.dashboard-main-subtitle {
    font-size: 2rem;
}

.step-description h4.card-subtitle {
    font-size: 1.75rem;
    font-weight: 400;
}

.main-container h3.card-title {
    font-size: 2rem;
    font-weight: 600;
}

.reward-title {
    font-size: 1.25rem;
}

.step-reward {
    font-size: 1.5rem;
    font-weight: 600;
}

.dashboard-footer .small {
    font-size: 0.8rem;
}
.section-registration h2.big-title {
    font-size: 2rem;
}
.form-select, .form-select-option {
    font-size: 0.9rem;
}

.section-registration .lead {
    font-size: 2rem!important;
}

/* Containers */
.w-85 {
    width: 85% !important;
}

.w-75 {
    width: 75% !important;
}

.w-60 {
    width: 60% !important;
}

.dashboard-step {
    min-height: 300px;
}

.dashboard-area-title, .dashboard-area-completed {
    width: 100%;
}

.steps-card {
    width: 350px;
}

    .steps-card .list-group-item {
        font-weight: bold;
        border: none !important;
        background-image: url('/img/icon-check.svg');
        background-repeat: no-repeat;
        background-size: 30px 30px; /* Adjust size of SVG */
        min-height: 30px; /* Ensure space for image */
        padding-left: 45px;
        line-height: 20px;
    }

.reg-form-area {
    background-image: url('/img/bg_registration.svg');
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: 0;
    margin-right: 0;
}

.accordion-button::after {
    margin-right: 10px;
}

/* Progress */
.progress, .progress-stacked {
    background-color: #B1B1B1;
}

.progress.progress-inactive {
    background-color: #FFF;
}

.progress-bar {
    color: #333F48;
    background: #fff;
}
.tooltip > .tooltip-inner {
    background-color: #fff;
    color: var(--bs-dark-grey);
    font-size: 13px;
}
.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before, .bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #fff;
}
.tooltip-arrow {
    left: 15px!important;
}
.tooltip-0 .tooltip-arrow {
    left: 10px !important;
}

.popOver + .tooltip > .tooltip-arrow {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--bg-light-green);
}

.progress {
    border-radius: 0;
    overflow: visible;
}

.progress {
    padding-top: 0;
    border-radius: 0;
    max-width: 500px;
    background: var(--bg-light-grey);
    position: relative;
/*    overflow: visible !important;*/
    max-width: 500px;
    height: 20px;
    margin-bottom: 10px;
}

.progress-bar {
    position: relative !important
}

/* Buttons */

.btn-resume {
    line-height: 2.4em;
    height: 49px;
    width: auto;
    display: flex;
}

.bt-download, .bt-outline-download {
    line-height: 1em;
    height: 49px;
    width: auto;
    display: flex;
}

.btn-resume:after, .bt-download:after {
    font-family: 'bootstrap-icons';
    content: "\F135";
    color: #333F48;
    font-size: 2em;
}

.icon-complete {
    width: 78px;
}

.main-container h1.course-header {
    margin-top: 0em;
    margin-bottom: 1em;
}

.main-container h2 {
    margin-bottom: 1em;
}

.main-container h3 {
    margin-top: 1em !important;
    margin-bottom: 1.5em !important;
    min-height: auto;
}

.main-container .step5__week__title h3, .main-container .partners h3, .section-registration h3 {
    margin-bottom: 1em;
    min-height: auto;
}



.main-container h2.light {
    margin-bottom: 3em;
}

    .main-container h2.light.dashboard-main-subtitle {
        margin-bottom: 1em;
    }

/* Login */

.login-area {
    width: auto;
}

.courseLogoDashboard img {
   height: 60px;
}

.recovery-area, .password-area {
    width: auto;
}

    .login-area label, .recovery-area label, .password-area label {
        display: none;
    }

.login-area .validation-summary-errors ul {
    list-style: none;
    color: #EF383E;
    padding: 0;
}

.password-field-area {
    position:relative;
}

.toggle-icon {
    cursor: pointer;
    position: absolute;
    top: 7px;
    right: 5px;
}

/* Registration */
.home-content {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.reg-form-area {
    max-width: 905px;
}

.reg-box {
    min-height: 620px;
    max-width: 600px;
    border-top-right-radius: 2rem !important;
    border-top-left-radius: 2rem !important;
    border-bottom-right-radius: 2rem !important;
    border-bottom-left-radius: 2rem !important;
}

.ui-selectmenu-button {
    width: 100%;
}

.overflow {
    height: 150px;
}

.register-form label.error, .form label.error {
    color:var(--bs-red);
    margin-top: 1em;
}
.home-content p, .home-content ul {
    font-size: 1.25rem;
}

.section-registration p.lead {
    margin-bottom: 2rem;
}

img.img-conf {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.home-content p {
    margin-bottom: 2rem;
}
.home-content .needhelp__box {
    margin-top: 4rem;
}

.home-content .needhelp__box p {
    font-size: 1rem;
}

.home-content ul {
    list-style: none;
}

.home-content ul li {
    padding-left: 30px;
    margin-bottom: 20px;
    margin-left: -30px;
    background-image: url('/img/star-fill.svg');
    background-repeat: no-repeat;
    background-position-y: 10%;
    background-size: 18px 18px; /* Adjust size of SVG */
    min-height: 18px; /* Ensure space for image */
    line-height: 1.75rem; /* Ensure space for image */
}

.home-content ul li::marker {
    font-size: 3.5em;
    line-height: 0.1;
}

.podcast-container {
    width: 100%;
    height: 50px;
    margin-top: 1em;
    margin-bottom: 1em;
}

/* Blocks */

.umb-block-grid__layout-item {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.main-container .umb-block-grid__layout-item h1.course-header {
    margin-bottom: 0em;
}

.main-container .umb-block-grid__layout-item ol li {
    margin-bottom: 1em;
}

.umb-block-grid__layout-item p:last-child, .umb-block-grid__layout-item h2:last-child,
.umb-block-grid__layout-item h3:last-child, .umb-block-grid__layout-item h4:last-child,
.main-container .umb-block-grid__layout-item ol li:last-child {
    margin-bottom: 0;
}

.umb-block-grid__layout-item .card {
    padding: 2rem 1rem;
}

/* Ticked list */
ul.tickedList {
    list-style: none;
    padding-left: 1.25rem;
    margin-top: 0.5rem;
}

ul.tickedList:not(:only-child) {
    margin-top: 1.5rem;
}

ul.tickedList li {
    padding-left: 45px;
    margin-bottom: 20px;
    margin-left: -20px;
    background-image: url('/img/icon-check.svg');
    background-repeat: no-repeat;
    background-size: 30px 30px; /* Adjust size of SVG */
    min-height: 30px; /* Ensure space for image */
}

ul.tickedList li:last-child {
    margin-bottom: 1rem;
}

ul.tickedList li::marker {
    font-size: 3.5em;
    line-height: 0.1;
}

/* Cookies banner */

.cookies {
    width: 100%;
    background: var(--bg-green);
    color: var(--bs-dark-grey);
    padding: 15px;
    position: fixed;
    bottom: 0;
    z-index: 1000;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    display: none;
}

    .cookies p {
        font-size: 14px;
        padding: 0 25px 0 0;
        margin: 0;
    }

.cookies__copy {
    color: white;
    margin: 0;
    font-size: 14px;
    padding: 0 25px 0 0;
}

.cookies__copy__link {
    color: inherit;
    font-weight: bold;
}

    .cookies__copy__link:hover {
        opacity: 0.6;
        color: black;
    }

.cookies__close {
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
}

.ie11 .cookies__close {
    right: 35px;
}

.cookies__close:before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 1px;
    background: black;
    top: 50%;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.cookies__close:after {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 1px;
    background: black;
    top: 50%;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.cookies__close:hover:after, .cookies__close:hover:before {
    opacity: 0.6;
}

/* Contact */
.success-area img {
    margin-right: 20px;
}

.card-contact {
    height: auto;
}

/* Hack for MS Edge passwords */
@supports (-ms-ime-align: auto) {
    .toggle-icon {
        display:none;
    }
}

@media (min-width: 400px) {
    .text-bg-primary .reward-title, .text-bg-dark .reward-title, .text-bg-light .reward-title {
        padding-left: 30px;
    }
}

/* media queries */
@media (min-width: 576px) {
    .container.container-dashboard {
        max-width: 100vw;
    }

    .container.container-cards {
        max-width: 100vw;
    }

    .main-container h3 {
        min-height: 2.5em;
    }

    .text-bg-primary .reward-title, .text-bg-dark .reward-title, .text-bg-light .reward-title {
        padding-left: 0px;
    }

}

@media (min-width: 768px) {

    #courseNav.offcanvas {
        width: 35%;
    }
    
    .home-content {
        margin-left: auto;
        margin-right: auto;
        max-width: 85vw;
    }
    
    .login-area {
        width: 370px;
    }

    .recovery-area, .password-area {
        width: 370px;
    }

    .dashboard-step {
        min-height: 420px;
    }

    .step-action-area {
        min-height: 75px;
    }

    .main-container h3 {
        min-height: 3em;
    }

    .courseLink img {
        margin-right: 10px;
    }

    .container.container-generic {
        max-width: 85vw;
    }

    

}


@media (min-width: 992px) {

    #courseNav.offcanvas {
        width: 25%;
        max-width: 350px;
    }
    
    .courseLogoDashboard img {
        height: 75px;
    }
    
    .courseLogout {
        right: 1.5rem;
    }

        .courseLogout .btn-outline-primary {
            --bs-btn-padding-y: 1rem;
            --bs-btn-padding-x: 2rem;
        }

    .courseLink {
        position: absolute;
        left: 30px;
        top: 35px;
    }

        .courseLink img {
            margin-right: 15px;
        }

    .login-area {
        width: 370px;
    }

    .recovery-area, .password-area {
        width: 370px;
    }

    .recovery-area .email-reset {
        width: 100%;
    }

    .dashboard-area-title {
        width: 650px;
    }

    .dashboard-area-completed {
        width: 750px;
    }

    .dashboard-step {
        min-height: 300px;
    }

    .home-content {
        margin-left: auto;
        margin-right: auto;
        max-width: 75vw;
    }


        .home-content ul li {
            padding-left: 30px;
            margin-bottom: 20px;
            margin-left: -30px;
            background-position-y: 10%;
            background-size: 18px 18px; /* Adjust size of SVG */
            min-height: 18px; /* Ensure space for image */
            line-height: 1.75rem; /* Ensure space for image */
        }

    .reg-form-area {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .reg-box {
        border-top-right-radius: 8rem !important;
    }

    .btn-resume {
        line-height: 2.4em;
        height: 49px;
        width: 136px;
        display: flex;
    }

    .text-bg-primary .reward-title, .text-bg-dark .reward-title, .text-bg-light .reward-title {
        height: 90px;
        line-height: 90px;
        background-position: right;
        background-repeat: no-repeat;
        padding-right: 25px;
        margin-bottom: 0.5rem;
    }

    .main-container h3 {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        min-height: 3em;
    }

    .podcast-container {
        height: 50px;
        margin-top: 20px;
    }

    .card-contact {
        height: 95%;
    }
}

@media (min-width: 1200px) {
    .home-content {
        margin-left: 1rem;
        margin-right: 1rem;
        max-width: 35vw;
    }

    .container.container-cards {
        max-width: 1240px;
    }

    .container.container-dashboard {
        max-width: 100vw;
    }

    .container.container-generic {
        max-width: 75vw;
    }

    .text-bg-primary .reward-title, .text-bg-dark .reward-title, .text-bg-light .reward-title {
        padding-right: 15px;
    }

    .btn-resume {
        width: 120px;
    }
}

@media (min-width: 1400px) {

    .container.container-cards {
        max-width: 1320px;
    }

    .container.container-dashboard {
        max-width: 1320px;
    }
    .home-content {
        margin-left: 1rem;
        margin-right: 1rem;
        max-width: 35vw;
    }
    .password-area, .recovery-area, .login-area {
        width: 450px;
    }

    .text-bg-primary .reward-title, .text-bg-dark .reward-title, .text-bg-light .reward-title {
        padding-right: 25px;
    }

    .btn-resume {
        width: 136px;
    }
}

@media (min-width: 1600px) {
    .home-content {
        margin-left: 3rem;
        margin-right: 1rem;
        max-width: 35vw;
    }
}
@media (min-width: 1700px) {
    .home-content {
        max-width: 650px;
        margin-left: 4rem;
    }
}
@media (min-width: 1800px) {
    .home-content {
        max-width: 40%;
        margin-left: 5rem;
    }
    .reg-form-area {
        max-width: 50%;
    }
}