/* Variables */

:root {
    --bfa-orange: #E27227;
    --bfa-red: #E52427;
    --bfa-yellow: #F0BF48;
}

:before, :after {
    text-rendering: optimizeLegibility;
    font-kerning: normal;
    font-variant-ligatures: common-ligatures contextual;
    font-feature-settings: "kern", "liga", "clig", "calt";
}

::before, ::after {
    text-rendering: optimizeLegibility;
    font-kerning: normal;
    font-variant-ligatures: common-ligatures contextual;
    font-feature-settings: "kern", "liga", "clig", "calt";
}

#stagingFlag:after {
    content: 'STAGING SITE';
    font-weight: 500;
    letter-spacing: 1px;
    display: inline-block;
    font-size: 18px;
    position: absolute;
    top: 6px;
    left: 70px;
}

#stagingFlag {
    width: 450px;
    left: -96px;
}

#stagingFlag {
    position: fixed;
    width: 400px;
    height: 40px;
    z-index: 1000;
    transform: rotate(45deg);
    background: #ff007f;
    color: #ffffff;
    left: -80px;
    bottom: 0;
    display: inline-block;
}

.ie-message {
    display: none;
}

html {
    overflow-y: scroll;
    height: 100%;
    font-size: 17px;
}

body {
    font-family: sofia-pro, sans-serif;
    font-size: 17px;
    background-color: #07435F;
    height: 100%;
    color: #07435f;
}

p {
    color: #07435f;
}

button {
    font-size: 19px;
}

h1, h2, h3 {
    margin: 0;
    font-weight: 500;
}

h1.page-name i {
    padding-left: 0;
    padding-right: 0;
}

.wrapper {
    background-size: cover;
    width: 100%;
    z-index: -1;
    height: 100%;
    min-height: 100%;
    background: #07435F;
}

.logo {
    width: 120px;
    top: 4px;
}

.logo > * {
    max-height: 62px;
    width: 100%;
}

.parent-provider-logo {
    position: fixed;
    left: 10px;
    bottom: 10px;
    height: 45px;
}

.flip-h {
    transform: scaleX(-1);
}

.ef {
    display: none;
    padding: 0.5em;
    background: #cc0000;
    color: #ffffff;
    border-radius: 5px;
    margin-bottom: 0.25em;
}

.red {
    color: #cc0000;
}

.blue {
    color: #0061bc;
}

.brown {
    color: #8c6239;
}

/* ===================================================================================================================================================================== */
/*
    FLEXPORTAL APP SETTINGS
*/
.portal-ui .logo {
    margin-left: 2rem;
}

.portal-ui .logo > * {
    /*z-index: -1;*/ /* Fix to allow link containing an object to work */
}

.portal-ui .header {
    display: -webkit-flex;
    display: -webkit-box;
    display: -moz-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 1.5rem;
    width: 100%;
}

.portal-ui .header a {
    cursor: pointer;
}

.portal-ui nav {
    width: 100%;
    max-width: 1280px;
    font-family: Ubuntu, sans-serif;
}

.portal-ui nav ul {
    display: -webkit-flex;
    display: -webkit-box;
    display: -moz-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.portal-ui nav ul li {
    display: flex;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
    flex-direction: column;
    text-align: center;
    position: relative;
    margin: 0 1.5rem;
}

.portal-ui nav ul li:hover {
}

.portal-ui nav ul li span,
.portal-ui nav ul li svg {
    position: relative;
    z-index: 2;
}

.portal-ui nav ul li .active-indicator,
.portal-ui nav ul li a .active-indicator {
    display: none;
    position: absolute;
    top: 65px;
    border-radius: 25px;
    box-sizing: border-box;
    padding: 20px;
    width: 100%;
    z-index: 0;
    left: -21px;
}

.portal-ui nav ul li a.current .active-indicator {
    display: block;
}

.portal-ui nav ul li:nth-of-type(1) .active-indicator {
    top: 43px;
}

.portal-ui nav ul li:nth-of-type(1) .active-indicator {
    left: -10px;
}

.portal-ui nav ul li .active-indicator svg {
    height: 53px;
}

.portal-ui nav ul li:nth-of-type(1) .active-indicator svg {
    height: 117px;
}

.portal-ui nav ul li span,
.portal-ui nav a,
.portal-ui nav a:visited {
    color: #009749;
}

.portal-ui nav ul.sub-nav li span,
.portal-ui nav ul.sub-nav a,
.portal-ui nav ul.sub-nav a:visited {
    color: #FFFFFF;
}

.pages-header h4 {
    position: relative;
}

.portal-ui {
    padding: 2rem 0 0 0;
    box-sizing: border-box;
    width: 100%;
}

.portal-ui nav ul li > span,
.portal-ui nav a span {
    display: block;
    font-size: 1rem;
    margin: 1rem 0;
    font-weight: 500;
}

.portal-ui nav ul li > span.sr-only,
.portal-ui nav a span.sr-only {
    display: none;
}

.portal-ui nav a.current {
    color: #07435f;
}


.portal-ui nav i,
.portal-ui nav a i {
    font-size: 2rem;
    color: #FFFFFF;
    transition: 0.7s;
    font-weight: 600;
}

.portal-ui nav li:hover i,
.portal-ui nav li:hover a,
.portal-ui nav li:hover a:hover {
    cursor: pointer;
    color: #009749;
}

.portal-content {
    padding: 0;
    box-sizing: border-box;
    position: relative;
    margin: 0;
    width: 100%;
}

.portal-ui .header > .secondary {
    background: rgba(255, 255, 255, 0.3);
    align-items: stretch;
}

.portal-ui .header > * > * {
    padding-right: 10px;
}

.portal-ui .header .secondary > * {
    border-right: 1px solid rgba(255, 255, 255, 0.75);
    margin-right: 10px;
}

.portal-ui .header .secondary > *:last-child {
    border: none;
}

.portal-ui .header > * > .account-info {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.portal-ui nav ul li {
    position: relative;
}

#popupNav {
    position: absolute;
    display: none;
}

#navBars {
    box-sizing: border-box;
    height: 50px;
    transition: all ease 0.1s;
    padding: 5px 10px;
    position: absolute;
    right: 1rem;
    top: 26px;
    transition: all 0.7s;
    display: none;
    z-index: 101;
    cursor: pointer;
}

.nav_bar {
    display: block;
    width: 33px;
    height: 4px;
    background: #009749;
    padding: 0;
    margin: 7px auto;
    position: relative;
    transition: all 0.7s;
}

#header.fix #navBars {
    top: 22px;
    transition: all 0.7s;
}

#header.fix #navBars .nav_bar {
    background: #FFFFFF;
}

#header.fix #navBars.popped .nav_bar {
    background: #FFFFFF;
}

#navBars.popped:hover,
#navBars:hover {
    background: #177DD2;
    cursor: pointer;
    transition: all 0.7s;
}

#header.fix #navBars:hover .nav_bar {
    background: #FFFFFF;
}


.portal-ui nav ul li ul.sub-nav {
    position: absolute;
    display: block;
    width: 240px;
    margin: 0;
    padding: 0;
    top: 26px;
    background: #009749;
    color: #FFFFFF;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    z-index: 10;
}

.portal-ui nav ul li ul.sub-nav li {
    text-align: left;
}

.portal-ui .account-info > * {
    white-space: nowrap;
}

.portal-content .row .section h2 {
    margin: 0;
    font-weight: 600;
}

.portal-content qualifications-list .row .section {
    margin-bottom: 1.5em;
}

.portal-content qualifications-list .row .section h2 {
    margin-bottom: 0.5em;
    text-transform: uppercase;
}

.account-quals {
    display: flex;
}

.account-quals svg {
    display: block;
    width: 50px;
}

.qual-icon {
    margin-right: 10px;
}

.qual-text h4 {
    text-transform: uppercase;
    margin-bottom: 0px;
}

.qual-text div {
    font-size: 15px;
    line-height: 18px;
}

.details-note {
    position: relative;
    padding: 20px;
    border: 3px solid #41427f;
    width: calc(100% - 200px);
    box-sizing: border-box;
    border-radius: 10px;
}

.contact-tlt {
    position: absolute;
    left: calc(100% - 2px);
    top: 0;
}

.contact-tlt svg {
    width: 200px;
}

.portal-ui .back-to-dashboard {
    border-right: none !important;
    margin-right: 0 !important;
    cursor: pointer;
    display: flex;
    align-items: stretch;
}

.portal-ui .save-and-return {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.portal-ui .save-and-return i {
    padding-left: 10px; /* Is flipped! */
}

.portal-ui .back-to-dashboard:hover {
    background: #008f3a;
}

.portal-content .row .section {
    padding: 20px;
    padding-bottom: 22px;
    width: 100%;
}

.user-welcome .user-display-name {
    font-weight: 400;
    letter-spacing: 0;
}

.user-welcome {
    font-weight: 100;
    letter-spacing: -1.5px;
}

.my-account-page h2 {
    margin-bottom: 10px !important;
    font-family: sofia-pro, sans-serif;
    font-weight: 500;
}

.breadcrumb {
}

.breadcrumb i {
    font-size: 1.25em;
    line-height: unset;
    height: 32px;
    overflow: hidden;
}

/* ================================================================================================================================================================ */
/* 
	QUALIFICATIONS LIST
*/
.qualification {
}

.qualification h3 {
    margin-bottom: 0;
}

.qualification .tln {
    margin: 1rem 0;
    font-size: 1rem;
}

.qualification-parts {
    display: flex;
    flex-wrap: wrap;
}

.qualification-part {
    display: flex;
    padding: 0 10px;
}

.qualification-part {
    text-align: center;
}

.qualification-part h5 {
    font-family: sofia-pro, sans-serif;
    color: #cc0000;
}

.qual-part-icon {
    padding: 10px 0;
}

.qualification-part .course-date {
    line-height: 19px;
    font-family: sofia-pro, sans-serif;
    font-size: 0.9rem;
}

strong.result {
    font-size: 1rem;
}

.qualification-parts > div {
    width: 33.333%;
    box-sizing: border-box;
}

.qualification-parts > div > div {
    width: 100%;
}

svg#e-learning-S {
    display: inline-block;
}

svg#e-learning-Y,
svg#e-learning-N {
    display: none;
    height: 50px;
}

.completed.failed svg#e-learning-N {
    display: inline-block;
}

.completed.passed svg#e-learning-Y {
    display: inline-block;
}

.completed svg#e-learning-S {
    display: none;
}

.qualification-part:last-child {
    margin-right: 0;
}

.qualification-part-type {
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.qual-part-icon svg {
    width: 60px;
}

.qualification-part .address {
    text-align: left;
}

.qualification-part.completed .qualification-part-type:before {
}

.qualification-part-type i {
    font-size: 54px;
    color: #909090;
    padding-bottom: 8px;
}

.qualification-part.practical svg#practical-N {
    display: inline-block;
    height: 50px;
}

.qualification-part.practical svg#practical-Y {
    display: none;
}

.qualification-part.practical.passed svg#practical-N {
    display: none;
}

.qualification-part.practical.passed svg#practical-Y {
    display: inline-block;
    height: 50px;
}

.qualification-part-type.feedback a i {
    color: #FFF;
}

.qualification-part-type.feedback span {
    display: block;
}

.qualification-part-type > div {
    text-transform: uppercase;
    font-size: 11px;
    color: #f44336;
    color: #909090;
}

.qualification-part.completed .qualification-part-type i,
.qualification-part.completed .qualification-part-type > div {
    color: #4CAF50;
}

.qualification-part.started .qualification-part-type i,
.qualification-part.started .qualification-part-type > div {
    color: #f2c800;
}

.qualification-parts a.learning-action {
    display: inline-block;
    padding: 1rem;
    background: #ffb200;
    color: #FFFFFF;
    font-family: sofia-pro, sans-serif;
    font-weight: 500;
    border-radius: 15px;
    text-decoration: none;
    transition: 0.7s;
    position: relative;
    max-width: 200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0 auto;
    height: 90px;
    overflow: hidden;
}

.qualification-parts a.learning-action span {
    display: block;
}

.qualification-parts a.learning-action svg {
    width: 60px;
    fill: #07435f;
    fill-rule: evenodd;
    margin: 0.25rem auto;
}

.feedback-only .candidate-feedback .row {
    border-top: none;
}

.qualification-parts .elearning a.learning-action.completed:before {
    animation: none;
}

.qualification-parts a.learning-action:hover {
    background-color: #009749;
}

.qualification-parts a.learning-action:hover:before {
    color: #f9ff00;
}

.qualification-parts a.learning-action.completed {
    font-size: 12px;
    padding: 10px;
    color: #41427f;
    background: none;
    border: 1px solid #dddddd
}

.qualification-parts a.learning-action.completed:before {
    font-size: 20px;
    top: 8px;
    color: #41427f;
    background: none;
}

.qualification-parts a.learning-action.completed:not(.unavailable):hover {
    color: #232343;
    background: rgba(35, 35, 67, 0.1)
}

.qualification-parts a.learning-action.completed:not(.unavailable):hover:before {
    color: #f9ff00;
}

.qualification-parts a.learning-action.completed.unavailable {
    cursor: default !important;
}

.qualification-parts .key-info {
    font-size: 18px;
    margin-bottom: 10px;
}

.qualification-parts .key-info .additional {
    font-size: 16px;
}

.qualification-parts .sub-info {
    font-size: 12px;
}

.qualification-parts .description > * {
    font-size: 12px;
    display: block;
}

.qualification-parts .postcode {
    font-size: 12px;
    display: block;
}

.qualification-details.history h3.date {
    margin-top: -10px;
}

.qualification-details.history .qualification-parts {
    font-size: 12px;
}

.qualification-details.history .qualification-parts .key-info {
    font-size: 14px;
}

.qualification-details.history .qualification-parts .key-info .additional {
    font-size: 12px;
}

.qualification-details.history .qualification-part-type i {
    font-size: 34px;
}

.qualification-details .course-venue {
    display: flex;
}

.qualification-details .course-venue .address {
    margin-right: 5px;
}

.qualification-details .map-link {
    background: unset;
    color: #41427f;
    padding: 0;
}

.qualification-details .map-link:hover {
    color: #232343;
}

.qualification-details .map-link i {
    font-size: 36px;
}

.popup > div {
    border-radius: 25px;
    background: rgba(255,255,255,1);
    box-sizing: border-box;
    padding: 20px;
    width: 80%;
    border: 3px solid #006666;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.25);
    position: relative;
    top: unset;
    left: unset;
    right: unset;
}


.popup.prerequisites-popup > div {
    width: 100%;
    max-width: 860px;
}

.popup > div > h2 {
    font-family: sofia-pro, sans-serif;
    background: none;
    color: #07435f;
}

.popup > div > h2:before {
    display: none;
}

/* ================================================================================================================================================================ */

.portal-ui .back-to-dashboard {
    display: none;
}

.my-account-page .row {
    max-width: 900px;
}

.my-account-page .section > div {
    margin-bottom: 20px;
}

.take-page .portal-content {
    margin: 70px 0 0 0;
}

.take-page .back-to-dashboard {
    display: flex;
}

.take-page .account-info {
    display: none;
}
/* ================================================================================================================================================================ */
.form-fields .section > div .info {
    font-size: 12px;
    display: flex;
    color: #41427f;
    width: 100%;
    padding: 5px 0;
    align-items: center;
}

.info .fa-info-circle {
    margin-right: 0.25rem;
}

.my-account-page .form-fields .section > div > label {
    margin: 0.5rem 0;
}

.my-account-page .readonly-input-text {
    line-height: 1.5rem;
}

.my-account-page .portal-content .account-quals {
    padding: 1rem;
}

.my-account-page .portal-content .account-quals .row .section {
    padding: 0;
    margin: 1rem 0 0 0;
}

.form-fields .section > .controls {
    justify-content: center;
}

.form-fields button {
    border: 0;
    background: #41427f;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 5px;
}

.form-fields button i {
    padding-right: 10px;
}

.form-fields button:hover {
    background: #232343;
}

.form-fields button:hover i {
    color: #f9ff00;
}

.form-fields .section > div > label {
    font-family: sofia-pro, sans-serif;
    color: #808080;
    width: 150px;
}

.form-fields .section > div > input {
    width: calc(100% - 150px);
}

.form-fields .section > div > input {
    width: calc(100% - 150px);
    border-color: transparent;
    outline: none;
    border-bottom-color: #dde2e8;
}

.form-fields .section > div > input:focus {
    width: calc(100% - 150px);
    background: #dde2e8;
    border-bottom-color: #41427f;
}

.update-name-form {
    padding: 1rem;
    background: rgba(0,0,0,0.05);
    border-radius: 8px;
}

.update-name-form label {
    margin-right: 1rem;
    min-width: 200px;
    display: inline-block;
}

.update-name-form > div {
    margin: 0.5rem 0;
}

.update-name-form input {
    padding: 0.5rem;
    border: none;
    font-size: 1rem;
    font-family: ubuntu;
    border-radius: 5px;
    outline: none;
}

.update-name-form > div.update-note {
    font-weight: 600;
    font-style: italic;
    margin-bottom: 1rem;
}

.update-name-form .update-controls {
    display: flex;
}

.update-name-form .update-controls button {
    margin: 0 1rem 0 0;
}

.updated-name {
    background: #41417f;
    padding: 1rem;
    border-radius: 8px;
    color: #FFF;
    font-family: Ubuntu;
    text-align: center;
    font-size: 1.2rem;
}

.popup.prerequisites-popup,
.popup.session-timeout {

    overflow-y: auto;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100vh;
}

.popup.prerequisites-popup > div h2 {
    font-family: sofia-pro, sans-serif;
    font-weight: 400;
    font-size: 3rem;
    color: #009749;
    height: unset;
    margin-top: 2.5rem;
    text-align: center;
}

.provider-elearnFirstAid .popup.prerequisites-popup > div h2 {
    color: #cc0000;
}

.popup.prerequisites-popup > div h2 .hello-name {
    font-weight: 600;
}

.popup.prerequisites-popup > div h2 svg {
    width: 80px;
    position: relative;
    top: 1px;
    left: -5px;
}

popup-widget-tilly,
widget-tilly,
widget-tom,
popup-widget-tom {
    display:none;
}

.popup.prerequisites-popup > div {
    border: 5px solid #41427f;
}

.popup.prerequisites-popup .prerequisites .intro {
    font-family: sofia-pro, sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

.prerequisites-popup > div > label,
.prerequisites-popup .section > div > label {
    display: inline-block;
    width: 430px;
    font-size: 20px;
}

.prerequisites-popup .prerequisite {
    font-size: 21px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    margin: 1em 0;
    font-weight: 400;
}

.prereq-name {
    font-style: italic;
    font-weight: 600;
}

.prerequisites-popup .prerequisite a {
    color: #cc0000;
}

.prerequisite > span {
    width: calc(100% - 40px);
}

.provider-elearnFirstAid .green_note,
.important_note,
.green_note {
    color: #cc0000;
    font-family: sofia-pro, sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
}

.provider-elearnFirstAid .prerequisites a,
.provider-elearnFirstAid .prerequisites a:link,
.provider-elearnFirstAid .prerequisites a:visited {
    color: #cc0000;
}

.green_note {
    color: #009749;
    text-align: center;
}

.prerequisites-popup .prerequisite input[type=checkbox] {
    display: none;
}

.prerequisites-popup .prerequisite label {
    background-image: url(/images/e-learning/el-checkbox.png);
    background-position: left center;
    background-size: auto 100%;
    width: 40px;
    height: 34px;
    background-repeat: no-repeat;
}

.prerequisites-popup .prerequisite label.checked {
    background-position: -42px center;
}

.prerequisites-popup .prerequisite label:hover,
.prerequisites-popup .prerequisite input[type=checkbox]:hover {
    cursor: pointer;
}

.prerequisites-popup .additional-learner-info {
    margin-top: 0;
}

.prerequisites-popup .additional-learner-info textarea {
    box-sizing: border-box;
    font-size: 18px;
    font-weight: 100;
    padding: 15px;
    min-height: 15vh;
    width: 100%;
    border: 4px solid #cccccc;
    border-radius: 25px;
    font-family: Ubuntu, sans-serif;
    outline: none;
}

.close-popup {
    position: absolute;
    top: 20px;
    right: 20px;
}

.close-popup svg {
    width: 40px;
    fill: #ffb229;
    transition: 0.7s;
}

.close-popup:hover svg {
    fill: #009749;
}

.popup h2 {
    margin-bottom: 20px;
}

a.btn {
    background: #41427f;
    color: #ffffff;
    display: inline-flex;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    align-items: center;
    position: relative;
    border-radius: 5px;
}

a.btn:hover {
    background: #33345f;
    color: #f9ff00;
}

.confirm-logout a.btn:hover {
    text-decoration: none;
    background: #009749;
    color: #FFF;
    transition: 0.7s;
}

a.btn i {
    padding-right: 10px;
}

a.btn i.material-icons {
    display: inline-block;
    position: relative;
    top: 0;
}

/* ================================================================================================================================================================ */
/*
    COMPONENT WAITING
*/
take-course-control: empty, .course-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 75vh;
}

take-course-control:empty:after,
.course-loading:after {
    content: 'Loading Course...';
    padding-left: 20px;
    font-size: 54px;
    z-index: 10;
    position: fixed;
    left: calc(50% - 200px);
    top: calc(50vh - 50px);
    color: #009749;
}

take-course-control:empty:before,
.course-loading:before {
    display: inline-block;
    align-items: center;
    justify-content: center;
    font-family: 'Font Awesome 5 Pro';
    font-size: 84px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -webkit-animation: fa-spin 2s infinite linear;
    animation: waiter 2s infinite linear;
    content: '\f3f4';
    z-index: 10;
    position: fixed;
    left: calc(50% - 280px);
    top: calc(50vh - 55px);
    color: #009749;
}

/* 
    v2 system
*/

.portal-ui .header {
    z-index: unset;
}

.portal-ui .header .logo {
    width: 260px;
    pointer-events: none;
}

.logo.using-custom {
    width: auto !important;
    max-height: 65px !important;
    height: auto !important;
}

.logo.using-custom img {
    width: auto !important;
}

.portal-container {
    height: 100%;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.portal-content .ko-deferred-module {
    width: 100%;
}

.text-above-bgimg {
    padding-bottom: 160px;
}

.slide-wrapper {
    border-radius: 25px;
    box-sizing: border-box;
    padding: 20px;
    width: 100%;
    margin: 0 auto;
    background: #FFFFFF;
}

.slide-wrapper.intro {
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: none;
    border: none;
    max-width: unset;
    padding: 0;
}

.slide-wrapper.intro.home-page {
    display:flex;
}

.my-account-page .slide-wrapper {
    padding: 0;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.flex-container.fc-nw {
    flex-wrap: nowrap;
}

.flex-container > * {
    box-sizing: border-box;
}

.flex-container.fc-2 > *,
.flex-container.fc-3 > *,
.flex-container.fc-4 > *,
.flex-container.fc-5 > *,
.flex-container.fc-6 > * {
    width: 25%;
    padding: 1rem;
    box-sizing: border-box;
}

.flex-container.fc-2.no-pad > *,
.flex-container.fc-3.no-pad > *,
.flex-container.fc-4.no-pad > *,
.flex-container.fc-5.no-pad > *,
.flex-container.fc-6.no-pad > * {
    padding: 0;
}

.flex-container.fc-3.no-pad > * {
    padding: 0;
}

.flex-container.fc-2 > * {
    width: 50%;
}

.flex-container.fc-3 > * {
    width: 33.333%;
}

.flex-container.fc-5 > * {
    width: 20%;
}

.flex-container span.note {
    font-size: 13px;
    line-height: 16px;
    display: block;
}

.flex-container.fc-2 > .hidden-info-container,
.flex-container.fc-5 > .hidden-info-container {
    padding: 0;
}

.col-1-2 {
    width: 50%;
}

.col-1-3 {
    width: 33.333%;
}

.col-7-12 {
    width: 58.333%;
}

.col-5-12 {
    width: 41.667%;
}

.col-1-1 {
    width: 100%;
    box-sizing: border-box;
}

.col-1-1 {
    padding: 20px;
    background: #f4f3ea;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

.img-col img,
.img-col svg {
    max-width: 320px;
}

.characters {
    position: relative;
    width:50%;
}

.characters object,
.characters svg,
.characters img {
    display: block;
    width: 100%;
    margin: 0 auto;
}

.characters svg {
    width: 80%;
    bottom: 90px;
    position: relative;
}

.landing-intro {
    background: #FFFFFF;
    box-sizing: border-box;
    width: 50%;
    text-align: center;
    padding: 24px 0;
    flex-direction: column;
    justify-content: center;
    display: flex;
    border-radius: 12px;
}

.landing-intro object,
.landing-intro svg {
    display: block;
    height: 80px;
    width: 100%;
    max-width:220px;
}

.actions {
    display: flex;
    justify-content: center;
    position: relative;
    flex-wrap: wrap;
    gap:32px;
    padding:24px 0 8px 0;
}

.actions a,
.actions a:visited,
.actions .waiter {
    display: inline-block;
    padding: 1.5rem;
    background: #07435F;
    color: #FFFFFF;
    font-family: sofia-pro, sans-serif;
    font-weight: 500;
    border-radius: 15px;
    text-decoration: none;
    transition: 0.7s;
    position: relative;
    width: calc(50% - 32px);
    box-sizing:border-box;
    max-width: 280px;
}

.actions a:hover {
    background: #009749;
    text-decoration: none;
    color: #fff;
}

.actions a .text {
    font-weight:600;
    font-size:1.5rem;
    line-height: 1.75rem;
    padding: 0.5rem 0 0 0;
    display: inline-block;
}

.prerequisites-popup .actions a {
    text-align: center;
    margin: 0;
    padding: 1.5rem;
}

.actions a svg {
    width: 150px;
    height: 75px;
    fill: #07435f;
    fill-rule: evenodd;
    bottom: 0;
    margin: 0 auto;
}

.actions a svg {
}

.actions .waiter {
    width: 240px;
}

.actions .waiter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;
}

.actions .waiter:before {
    font-size: 64px;
}

nav svg {
    height: 50px;
    fill: #07435f;
    fill-rule: evenodd;
    display: block;
    margin: 0 auto;
}

.landing-intro h2 {
    color: #07435F;
    font-family: sofia-pro, sans-serif;
    display: block;
    width: 100%;
    max-width: 680px;
    font-size: 3rem;
    margin: 0 auto 10px auto;
    line-height: 54px;
    font-weight: 600;
}

.landing-intro h2 img {
    display: inline-block;
    width: 200px;
    vertical-align: middle;
}

.intro-note {
    background: #dcddf2;
    color: #1b1464;
    padding: 2rem;
    font-family: sofia-pro, sans-serif;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-note svg {
    width: 80px;
    vertical-align: middle;
    margin-left: 10px;
}

.waiter:before {
    font-family: 'Font Awesome 5 Pro';
    content: '\f3f4';
    color: #FFFFFF;
}

.intro .logo {
    position: fixed;
    top: 40px;
    right: 40px;
    width: 260px;
    z-index: 10;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.static-hidden-flex,
.static-hidden-block {
    display: none !important;
}

.static-hidden-flex.allow-visible {
    display: flex !important;
}

.static-hidden-block.allow-visible {
    display: block !important;
}

.static-show-flex.allow-hide,
.static-show-block.allow-hide {
    display: none !important;
}

.static-show-flex {
    display: flex !important;
}

.static-show-block {
    display: block !important;
}

.qualification-details {
    border: 1px solid #dddddd;
    border-top-left-radius: 20px;
    padding-bottom: 15px;
    background: #fcfcfd;
}

.qualification-details > * {
    padding-left: 20px;
    padding-right: 20px;
}

.qualification-details > :first-child {
    padding-top: 15px;
}

h3 .additional {
    display: block;
    font-size: 15px;
}

.toggle {
    height: 32px;
    display: inline-flex;
    align-items: stretch;
    padding: 0;
    border: none;
}

.toggle.invert-good {
    flex-direction: row-reverse;
}

.toggle:before,
.toggle:after {
    display: flex;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    color: white;
    width: 2em;
    justify-content: center;
}

.toggle:before {
    content: 'Yes';
    background: #d4c9e0;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.toggle.invert-good:before {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.toggle.invert-good:after {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.toggle:after {
    content: 'No';
    background: #ec2001;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.toggle.invert-good:after {
    background: #009749;
}

.toggle.checked:before {
    background: #009749;
}

.toggle.checked:after {
    background: #d4c9e0;
}

.toggle.checked.invert-good:before {
    background: #ec2001;
}

.actions a.inactive,
.qualification-part a.inactive {
    background: #aaaaaa;
    font-size: 14px;
}

.actions a.inactive:hover,
.qualification-part a.inactive:hover {
    background: #aaaaaa;
    font-size: 14px;
    cursor: default;
}

.actions a.inactive svg path,
.qualification-part a.inactive svg path {
    fill: #404040 !important;
}

.qualification-part.elearning a.inactive svg {
    height: 24px;
}

.qualification-part.elearning a.inactive span {
    display: inline;
}

.prerequisites-popup .prerequisite.not-available {
    justify-content: center;
}

.single-trainer-feedback {
    margin-bottom: 2.5em;
}

.candidate-feedback h2 {
    margin-left: 0 !important;
}

.crlf.no-break {
    word-break: unset;
    overflow-wrap: unset;
}

@keyframes pulseTextColor {
    0% {
        color: #41427f;
    }

    70% {
        color: #f9ff00;
        text-shadow: 0 0 5px #f9ff00;
    }

    100% {
        color: #41427f;
        text-shadow: none;
    }
}

@media all and (max-width: 1480px) {
    .portal-ui {
        padding: 2rem 2rem 0 2rem;
    }

    .portal-content {
        padding: 0 2rem;
    }
}

@media all and (max-width: 960px) {

    .landing-intro h2 {
        font-size: 2rem;
    }

    .landing-intro h2 img {
        width: 160px;
    }

    .intro-note {
        font-size: 1.4rem;
    }

    .intro .logo {
        width: 200px;
    }

    .portal-container {
        display:block;
        padding:200px 0 24px 0;
        height:auto;
    }

    .characters,
    .landing-intro {
        width:100%;
    }

    .popup.prerequisites-popup {
        height: 100vh;
        align-items: flex-start;
        overflow-y: auto;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }

    .portal-container {
        align-items: flex-start !important;
    }

    .slide-wrapper.intro.home-page {
        flex-wrap:wrap;
        width:80%;
        margin:0 auto;
        padding: 0 0 24px 0;
    }

    .characters object,
    .characters svg,
    .characters img {
        width: 80%;
        bottom: 0;
        position: relative;
        padding-top: 24px;
        margin: 0 auto;
    }
}

@media all and (max-width: 680px) {

    .intro .logo {
        width: 200px;
        margin: 0 auto;
        display: block;
        top: 0;
        left: 50%;
        padding: 2rem 0;
        margin-left: -100px;
        right:unset;
    }

    .actions a,
    .actions a:visited,
    .actions .waiter,
    .col-1-2,
    .col-1-4,
    .col_1_4,
    .col-3-4,
    .col_3_4,
    .col-5-12,
    .col-7-12,
    .qualification-parts > div {
        width: 100%;
    }

    .details-note {
        width: 100%;
    }

    .contact-tlt {
        position: relative;
        left: 0;
        margin-top: 1rem;
    }

    .qualification-parts > div > div {
        margin: 1rem auto;
    }

    .portal-ui .header .logo {
        width: 140px;
        flex-shrink: 0;
        margin-left: 0;
    }

    .flex-container.fc-nw {
        flex-wrap: wrap;
    }

    .call-side {
        width: 100%;
        margin: 0 0 1rem 0;
    }

    .prerequisites-popup .prerequisite {
        font-size: 1rem;
    }

    .popup.prerequisites-popup {
        height: 100vh;
        align-items: flex-start;
        overflow-y: auto;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }

    .popup.prerequisites-popup > div h2 {
        font-size: 2rem;
    }

    .popup.prerequisites-popup .prerequisites .intro,
    .important_note, .green_note {
        font-size: 1rem;
    }

    .prerequisite > span {
        line-height: 1.4rem;
    }

    take-course-control: empty, .course-loading {
        flex-wrap: wrap;
    }

    take-course-control:empty:after,
    .course-loading:after {
        padding-left: 0;
        font-size: 2rem;
        left: calc(50% - 120px);
        top: calc(50vh + 35px);
    }

    take-course-control:empty:before,
    .course-loading:before {
        font-size: 3rem;
        left: calc(50% - 40px);
        top: calc(50vh - 35px);
    }
}


/*

    Interim provider style overrides

*/



.provider-elearnFirstAid .landing-intro h2 {
    color: var(--bfa-red);
}

.provider-elearnFirstAid .actions a:hover {
    background: var(--bfa-yellow);
}

.provider-elearnFirstAid .actions a:hover {
    background: var(--bfa-red);
}

.provider-elearnFirstAid svg #shirt {
    fill: var(--bfa-red);
}

.provider-elearnFirstAid svg #collar .st5 {
    fill: #9a191b
}

.provider-elearnFirstAid svg #TLTLogo .st6 {
    fill: none;
}

.provider-elearnFirstAid svg #BFALogo .st7 {
    fill: #FFFFFF;
}

.home-page .logo.using-custom {
    max-height: 100px !important;
}

.home-page .logo.using-custom > img {
    max-height: 100px !important;
}


.qualification-details .tln .label {
    display: inline-block;
    width: 160px;
}

.qualification-details .e-cert {
    margin-top: 5px;
    font-size: 14px;
}

.qualification-details .e-cert a {
    color: #07435f;
}

.qualification-details .e-cert a:hover {
    color: #009749;
}

/* IE11 hacks */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .portal-content .row .section {
        width: 100%;
    }

    .popup > div,
    .popup.prerequisites-popup > div {
        left: auto;
        right: auto;
        top: auto;
    }

    .module-icon img {
        height: 120px;
    }

    svg#prev-button, svg#next-button {
        height: 40px;
    }

    .popup.confirm-logout {
        height: 100vh;
    }

    svg#lilly .st0 {
        fill: #42210B;
    }

    svg#lilly .st1 {
        fill: #683914;
    }

    svg#lilly .st2 {
        fill: #72421F;
    }

    svg#lilly .st3 {
        fill: #F2C8BF;
    }

    svg#lilly .st4 {
        fill: #009749;
    }

    svg#lilly .st5 {
        fill: #06672A;
    }

    svg#lilly .st6 {
        fill: #FFFFFF;
    }

    svg#lilly .st7 {
        fill: none;
    }

    .pop-up svg#tilly, .pop-up svg#lilly, .pop-up svg#tom, .pop-up svg#tiger {
        width: 300px;
        height: 690px;
    }

    .ie-message {
        display: block;
        padding: 0.5rem 1rem;
        background: #07435f;
        color: #FFF;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .ie-message a,
    .ie-message a:visited,
    .ie-message a:hover {
        color: #FFFFFF;
        text-decoration: underline;
    }
}
