:root {
    /* Neutral placeholder brand palette. Replace these greys with the
       client's brand colours before launch. */
    --brand-primary: #6b6b6b;
    --brand-primary-hover: #565656;
    --brand-secondary: #9a9a9a;
    --brand-secondary-hover: #808080;
    --brand-pale: #e2e2e2;
    --brand-pale-alt: #eeeeee;
    --brand-muted: #bcbcbc;
    --brand-muted-text: #7d7d7d;

    /* Marcus Child web-brand foundations. */
    --mco-charcoal: #121315;
    --mco-blue: #0473a0;
    --mco-purple: #470042;
    --mco-orange: #c03a15;
    --mco-green-yellow: #aea105;
    --mco-brown: #805b48;
    --mco-paper: #f7f3eb;
    --mco-paper-soft: #eee7dc;
    --mco-white: #ffffff;
    --mco-rule: rgba(18, 19, 21, 0.16);
    --mco-shadow: rgba(18, 19, 21, 0.14);
    --mco-header-blue: var(--mco-blue);

    --mco-font-display: "Anton", "Arial Narrow", Arial, sans-serif;
    --mco-font-heading: "EB Garamond", Georgia, serif;
    --mco-font-body: "Lato", Arial, sans-serif;
    --mco-font-handwritten: "Patrick Hand", "Comic Sans MS", cursive;
}

/*
 * A warm, lightly textured paper canvas. The texture asset is transparent so
 * the surface colour remains independently adjustable.
 */
body {
    background-color: var(--mco-paper);
    background-image: url("../images/paper-texture.svg?v=4");
    background-repeat: repeat;
    background-size: 320px 320px;
}

body #page.site,
body #page.site #content.site-content {
    background-color: transparent;
}

/*
 * Extend the existing blue header with a shallow irregular lower edge. This is
 * decorative only and does not change the header's content height.
 */
#masthead.site-header {
    background-color: var(--mco-header-blue);
    overflow: visible;
    border-bottom: 0;
    box-shadow: none;
}

#masthead.site-header::after {
    content: "";
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: -11px;
    left: 0;
    height: 12px;
    background-color: transparent;
    background-image: url("../images/header-rough-edge.svg?v=2");
    background-repeat: repeat-x;
    background-position: left top;
    background-size: 480px 12px;
    filter: drop-shadow(0 4px 4px rgba(18, 19, 21, 0.16));
    pointer-events: none;
}

.button {
    padding: 1rem
}

.character-photo {
    position: relative;
    overflow: hidden;
}
.character-photo img {
    z-index: 10;
    position: relative;
    width: 150%;
    max-width: 150%;
    top: 50%;
    transform: translate(-12.5%, -50%);
}
.blurred-bg {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    filter: blur(32px);
    -webkit-filter: blur(32px);
}
.mobile-phone {
    color: #333;
    font-family: var(--mco-font-body);
    background-image: url("../images/mobile-phone.png");
    background-repeat: no-repeat;
    width: 302px;
    height: 565px;
    position: relative;
    font-size: 0.7em;
    display: block;
    margin: 1rem auto 3rem;
}
.mobile-phone .mobile-phone-photo {
    position: absolute;
    width: 10%;
    border-radius: 50%;
    top: 12.5%;
    left: 21%;
}
.mobile-phone p {
    line-height: 1.2em;
}
.mobile-phone-message {
    position: absolute;
    background-color: #EBECEC;
    width: 70%;
    top: 28%;
    left: 22%;
    height: 42%;
    overflow: hidden;
}
.mobile-phone .mobile-phone-sender {
    color: #FFF;
    font-weight: bold;
    position: absolute;
    left: 32.5%;
    top: 12.8%
}
.mobile-phone-mask {
    width: 100%;
    height: 100%;
    background-image: url("../images/mobile-phone-mask.png");
    background-size: cover;
    background-repeat: no-repeat;
}
.mobile-phone-mask {
    position: absolute;
    background-size: 100% 50% !important;
    background-position: bottom;
}
.mobile-phone .mobile-phone-button {
    font-size: 1.3em;
    position: absolute;
    bottom: 0;
    left: 15%
}
.mobile-phone-container {
    width: 100%;
    float: left;
}
.full-message-container {
    width: 60%;
    float: left;
    display: none;
}
.full-message {
    background-color: var(--brand-secondary);
    padding: 3rem 3rem 2rem;
    font-weight: 600;
    margin: 2rem;
    position: relative;
    color: #FFF;
}
.full-message:before {
    display: block;
    content: "";
    width: 0;
    height: 0;
    border-top: 3rem solid transparent;
    border-bottom: 3rem solid transparent;
    border-right: 4rem solid var(--brand-secondary);
    position: absolute;
    left: -4rem;
    top: calc(50% - 4rem);
}
.full-message-photo {
    margin: -6em auto 2rem;
    display: block;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
}
.text-message-container.open .mobile-phone .mobile-phone-button {
    display: none;
}
.full-message .close-button {
    color: #FFF;
}

.email-message-header {
    width: 100%;
    position: relative;
}
.email-message {
    width: 100%;
    font-family: var(--mco-font-body);
    font-size: 0.9em;
    color: #333;
    margin-bottom: 2rem;
}
.email-message .email-message-header {
    width: 100%;
    position: relative;
}
.email-message .email-photo {
    position: absolute;
    border-radius: 50%;
    width: 4rem;
    left: 10%;
    top: 28%
}
.email-message .email-photo {
    position: absolute;
    border-radius: 50%;
    left: 11%;
    top: 32%;
    height: 28%;
    width: auto;
}
.email-message-header .email-message-email {
    position: absolute;
    top: 38%;
    left: 18%;
}
.email-message-header .email-message-subject {
    position: absolute;
    color: #333;
    top: 70%;
    left: 15%;
}
.email-message-content-container {
    background-color: #FFF;
    margin-top: -1rem;
    overflow: hidden;
}
.email-message-content-container .email-message-content {
    padding: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-left: solid 1px #CCC;
    border-right: solid 1px #CCC;

}

.course-index-banner {
    background-color: var(--brand-secondary);
}



.course-index-banner .container {
    padding: 0;
    background-image: url('../images/course-index-banner.png');
    color: #FFF;
    background-size: 100% auto;
    background-repeat: no-repeat;
}


.course-index-banner-image img {
    object-fit:contain;
    object-position: top center;
    height: 380px;
}

.course-index-banner-image {
    text-align: center;
    height: 380px;
    overflow: hidden;
}

.course-index-banner-content {
    margin-left: -4rem;
    max-width: 400px;
    font-weight: 600;
}

.course-index-banner-content h1 {
    color: #FFF;
    font-size: 2.5em;
}

header#masthead .header-divider {
    border-left: solid 2px #aea105;
}

header .user-link img {
    max-width: 54px;
    border: solid 3px #aea105;
}

.smexpert-header-icon {
    height: 1.75rem;
}

.bb-template-v2 .site-header .user-wrap.menu-item-has-children .user-link .user-name {
    font-size: 1.1em;
}

.bb-template-v2 .site-header .user-wrap.menu-item-has-children .user-link .user-name:after {
    content: "\e826";
    font-family: "bb-icons";
    color: #aea105;
    font-weight: 400;
    font-size: 1.4em;
    margin: 0 0.35rem;
}

.bb-template-v2 .site-header .user-wrap.menu-item-has-children.selected > .user-link::before, .bb-template-v2 .site-header .user-wrap.menu-item-has-children:hover > .user-link::before {
	background-color: rgba(0,0,0,.25)!important;
}

.bb-template-v2 .site-header .user-wrap.menu-item-has-children .sub-menu .user-link .user-name:after {
    display: none;
}


.footer-logo-wrap {
    margin-bottom: 0;
}

footer.footer-bottom {
    background-color: #1A1A1A;
    color: #FFF;
}

#subfooter.mco-subfooter {
    background-color: #1A1A1A;
  margin-left: inherit;
  margin-right: inherit;
}

/*
 * Give the footer the same restrained cut-paper character as the header.
 * The edge sits outside the footer's layout box, so it does not affect
 * content height or create a gap above the footer.
 */
footer.mco-footer {
    position: relative;
    z-index: 1;
    overflow: visible;
    border-top: 0;
    background-color: var(--mco-charcoal);
}

footer.mco-footer::before {
    content: "";
    position: absolute;
    z-index: 2;
    right: 0;
    top: -11px;
    left: 0;
    height: 12px;
    background: transparent url("../images/footer-rough-edge.svg?v=1") repeat-x left top / 480px 12px;
    pointer-events: none;
}

footer.mco-footer + #subfooter.mco-subfooter {
    border-top: 0;
}

.bb-footer .footer-socials i {
    font-size: 30px;
    font-weight: 300;
}

.bb-footer .footer-socials a {
    color: var(--brand-secondary);
    border: solid 1px var(--brand-secondary);
    padding: .5rem;
    background-color: transparent;
}

.bb-footer .footer-socials a:hover {
    color: #FFF;
}

.bb-template-v2 #message-threads .bp-message-link, .notification-list.list-view li.bs-item-wrap:last-child, .bs-item-list.list-view li.bs-item-wrap:first-child {
    border-radius: 0;
}

.bb-template-v2 #message-threads .current > a, .bs-item-list.list-view li.bs-item-wrap:first-child {
    background: var(--brand-primary);
}

.bb-template-v2 #message-threads .current > a:hover {
    background: #525252;
}

.bb-template-v2 #message-threads .current > a .thread-to, .bb-template-v2 #message-threads .current > a .thread-subject, .bs-item-list.list-view li.bs-item-wrap:first-child .bb-sort-by-date {
    color: #FFF;
}

.bb-template-v2 #cover-image-container, .bp-profile-wrapper.need-separator .group-separator-block, .bb-template-v2 #buddypress .bb-bp-settings-content, .bs-item-list.list-view .bs-item-wrap, .messages-wrapper {
    border-radius: 0;
    border: none;
    box-shadow: 0 0 15px rgba(0,0,0,.25);
}

.bb-template-v2 .buddypress-wrap .bp-settings-container .bp-navs a {
    border-radius: 0;
}

#main.course-index-main {
    position: relative;
}

.course-index-widgets {
    position: absolute;
    top: 4.9rem;
    right: 0;
    width: 100%;
    left: 0;
    z-index: 0;
}

section.course-index-section .container .course-index-section-courses {
    position: relative;
    z-index: 1
}



.smexpert-course-item-top {
    height: 325px;
}

.smexpert-resource-item .smexpert-course-item-top {
    height: 175px;
}

.smexpert-course-item-top .ld-status {
    top: 2rem;
    background-color: #FFF;
    padding: 1rem 1.5rem;
    color: var(--brand-primary);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    text-transform: inherit;
    font-size: 1em;
    font-weight: bold;
}

.smexpert-course-item-bottom-left {
    width: 50%;
    box-sizing: border-box;
    padding-left: 1rem;
}

.smexpert-course-item-bottom-right {
    box-sizing: border-box;
    padding-right: 1rem;
}

.smexpert-course-item-bottom-left a.button {
    width: auto;
    padding: 1rem 1.25rem;
}

.smexpert-course-item-bottom-left h3 {
    font-weight: bold;
    color: #1A1A1A;
    font-size: 1.5em;
    margin-bottom: 1rem;
}


.ld-progress-bar {
    height: 12px;
    background: #FFF;
    border-radius: 5px;
}

.ld-progress-bar .ld-progress-bar-percentage {
    background: var(--brand-primary);
    height: 9px;
}

.smexpert-course-item-bottom-right .course-lesson-count {
    color: #000;
    font-weight: 600;
}

.smexpert-course-item-bottom-right .ld-progress-stats {
    color: #000;
}

.smexpert-course-item, .widget {
    border: none!important;
    box-shadow: 0 0 15px rgba(0,0,0,.25);
}

section.course-index-section {
    padding: 3rem 0;
}

.bg-lightgrey {
    background-color: #D9D9D9;
}

.widget, .bb-template-v2 .widget, .bb-template-v2 #message-threads .bp-message-link, .notification-list.list-view li.bs-item-wrap:last-child, .bs-item-list.list-view li.bs-item-wrap:first-child, .bb-template-v2 #cover-image-container, .bp-profile-wrapper.need-separator .group-separator-block, .bb-template-v2 #buddypress .bb-bp-settings-content, .bs-item-list.list-view .bs-item-wrap, .messages-wrapper, .bb-template-v2 .buddypress-wrap .bp-settings-container .bp-navs a {
    border-radius: 0;
}

.smexpert-course-item {
    background-color: #FFF;
}

.smexpert-course-item.smexpert-short-course-item .smexpert-course-item-bottom-left {
    width: 100%;
}

.smexpert-short-courses .smexpert-course-item-top {
    height: 245px;
}

.smexpert-course-item-top img, .smexpert-course-item.smexpert-resource-item .smexpert-course-item-top img {
    opacity: 1;
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    object-position: center;
}

.smexpert-course-item.smexpert-resource-item .smexpert-course-item-bottom {
    padding: 0;
    background-color: transparent;
}

.smexpert-course-item.smexpert-resource-item {
    background-color: #525252;
    font-size: 0.92em;
}

.smexpert-course-item.smexpert-resource-item:hover {
    background-color: #333;
}

.smexpert-course-item.smexpert-resource-item .smexpert-course-item-bottom a {
    padding: 1rem;
    display: block;
    background-color: transparent;
    color: #FFF;
}

.smexpert-course-item.smexpert-resource-item .smexpert-course-item-bottom a:hover {
    background-color: transparent;
}


.widget.smexpert-my-groups-widget {
    background-color: #525252;
    color: #FFF;
    margin-top: 2.05rem;
}

.smexpert-groups-items, .smexpert-notifications-items, .smexpert-cohort-items {
    border-left: none;
    padding: 0;
}

#main .widget.smexpert-my-groups-widget h2, #main .widget.smexpert-my-groups-widget a {
    color: #FFF;
}

.widget.smexpert-my-groups-widget a:hover {
    color: #EEE;
}

#main .widget.smexpert-my-groups-widget .round {
    border-radius: 0;
}

.widget.lined-title .widget-title {
    width: 100%;
    position: relative;
}

.widget.lined-title .widget-title img {
    float: right;
    padding-left: 1rem;
    margin-right: 0;
    margin-top: 0.25rem;
}

.widget.lined-title .widget-title .widget-title-text {
    padding-right: 1rem;
}

.smexpert-notifications-shortcode-item-container img, .smexpert-groups-item img {
    width: 42px;
}

.smexpert-my-groups-widget {
    margin-bottom: 0;
}

#sidebar-client-dashboard, #smexpert-additional-course-actions-my-actions {
    padding: 1rem;
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

#sidebar-client-dashboard:hover, #smexpert-additional-course-actions-my-actions:hover {
    background-color: var(--brand-primary-hover);
    border-color: var(--brand-primary-hover);
}

.bb-course-banner-inner {
    padding-bottom: 70px;
}

.bb-single-course-sidebar {
    padding-top: 2.9rem;
}

.smexpert-tab-content {
    border: none;
    border-radius: 0;
    background-color: #FFF;
    box-shadow: 0 0 15px rgba(0,0,0,.25);
}

ul#smexpert-tabs-nav li {
    border-radius: 0;
    clip-path: polygon(0 0, 80% 0%, 100% 100%, 0% 100%);
    padding: 0.75rem 4rem 1.75rem 3rem;
    margin-right: -3rem;
    background: rgb(15,5,27);
    background: linear-gradient(56deg, rgba(15,15,15,1) 0%, rgba(82,82,82,1) 36%, rgba(82,82,82,1) 100%);
    border: none;
}

ul#smexpert-tabs-nav li.active {
    background: var(--brand-primary);
}

ul#smexpert-tabs-nav li:nth-child(1).active {
    z-index: 10;
}

ul#smexpert-tabs-nav li:nth-child(2).active {
    z-index: 9;
}

ul#smexpert-tabs-nav li:nth-child(3).active {
    z-index: 8;
}

ul#smexpert-tabs-nav li:nth-child(4).active {
    z-index: 7;
}

.bb-single-course-sidebar .bb-course-volume-list {
    padding: 0;
}

.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview {
    background: #525252;
    border-radius: 0;
}

.learndash-wrapper .ld-item-list .ld-item-list-item.ld-expanded {
    box-shadow: 0 0 15px rgba(0,0,0,.25);
}

.learndash-wrapper .ld-item-list .ld-item-list-item.ld-expanded .ld-item-list-item-preview {
    background: var(--brand-secondary);
}

.learndash-wrapper .ld-item-list .ld-item-list-item.ld-item-lesson-item .ld-item-list-item-preview:hover .ld-item-name .ld-item-title .ld-item-components span {
    color: #FFF;
}

.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview:hover a.ld-item-name .ld-item-title, .learndash-wrapper .ld-item-list .ld-item-list-item a.ld-item-name, .learndash-wrapper .ld-item-list-item.ld-item-lesson-item .ld-item-list-item-preview .ld-icon-arrow-down, .learndash-wrapper .ld-item-list-item.ld-item-lesson-item .ld-item-name .ld-item-title .ld-item-components span {
    color: #FFF;
}

.learndash-wrapper .ld-status-icon.ld-status-complete {
    background-color: var(--brand-primary);
}

.learndash-wrapper .ld-lesson-list.ld-item-list .ld-item-list-item .ld-table-list {
    margin: 2rem;
}

.learndash-wrapper .ld-expand-button.ld-expanded .ld-icon {
    transform: rotate(90deg) !important;
}

.learndash-wrapper .ld-table-list .ld-table-list-header .ld-table-list-lesson-details {
    color: #000;
}

.learndash-wrapper .ld-item-list .ld-section-heading .ld-expand-button, .learndash-wrapper .ld-item-list .ld-section-heading .ld-expand-button:hover {
    background-color: transparent;
    color: #000;
    border: none;
    font-size: .9em;
}

.learndash-wrapper .ld-item-list .ld-section-heading .ld-expand-button .ld-icon {
    order: 1 !important;
    color: #000 !important;
}

.lms-topic-sidebar-course-navigation .ld-course-navigation {
    border-radius: 0;
}

.learndash-theme.single-sfwd-courses .ld-progress.ld-progress-inline .ld-progress-bar, .single-item.groups.courses .ld-progress.ld-progress-inline .ld-progress-bar, .learndash-wrapper .ld-progress .ld-progress-bar {
    height: 10px;
    background: transparent;
}

.learndash-theme.single-sfwd-courses .ld-progress .ld-progress-bar .ld-progress-bar-percentage, .single-item.groups.courses .ld-progress .ld-progress-bar .ld-progress-bar-percentage, .learndash-wrapper .ld-progress .ld-progress-bar .ld-progress-bar-percentage {
    height: 8px;
    background-color: var(--brand-primary);
}

.bb-course-preview-wrap {
    border-radius: 0;
}

.bb-course-preview-content, .lms-topic-sidebar-course-navigation-contents {
    background-color: #1A1A1A;
    color: #FFF;
}

.bb-template-v2 .bb-single-course-sidebar h4 {
    color: #FFF;
    font-size: 1.1em;
}

.bb-single-course-sidebar .bb-button-wrap .learndash_join_button {
    margin-top: -3.5rem;
    z-index: 1;
    position: relative
}

.lms-topic-sidebar-course-navigation .ld-course-navigation .course-entry-title {
    color: #FFF;
    font-size: 1.3em;
}

.bb-single-course-sidebar .bb-button-wrap .learndash_join_button a.button {
    background-color: var(--brand-secondary);
    border-color: var(--brand-secondary);
}

.bb-single-course-sidebar .bb-button-wrap .learndash_join_button a.button:hover {
    background-color: var(--brand-secondary-hover);
    border-color: var(--brand-secondary-hover);
}

.bb-ld-sticky-sidebar .bb-course-preview-content {
    padding: 1rem 30px 0.1rem;
}

.lms-topic-sidebar-progress .course-progress-wrap {
    margin: 0;
    border-bottom: 0;
}

.lms-topic-sidebar-progress .course-completion-rate {
    margin-top: 0;
}

.learndash-wrapper .bb-ld-info-bar .ld-breadcrumbs .ld-breadcrumbs-segments span::after {
    font-weight: 300;
}

.learndash-wrapper .ld-status {
    border-radius: 0;
}

.learndash-wrapper .bb-ld-status .ld-status.ld-status-progress {
    padding: 0 1rem;
}

#learndash-page-content .sfwd-course-nav .learndash_next_prev_link a {
    background-color: #000;
}

#learndash-page-content .sfwd-course-nav .learndash_next_prev_link a.next-link {
    background-color: var(--brand-primary);
}

#learndash-page-content .sfwd-course-nav .learndash_next_prev_link a:hover {
    background-color: var(--brand-primary-hover);
}

.learndash_next_prev_link a.prev-link::before {
    content: "\e85f";
}

.learndash_next_prev_link a.next-link::after {
    content: "\e860";
}

.learndash-wrapper .bb-ld-info-bar .ld-breadcrumbs {
    border-bottom: 2px solid var(--brand-primary);
}

.learndash-wrapper .bb-ld-status .ld-status.ld-status-complete {
    background-color: var(--brand-primary);
}


.smexpert-content-style {
    background-color: #D9D9D9;
}

.smexpert-content-style-icon .smexpert-content-style-icon-container {
    background-color: #525252;
}

.comment-respond {
    background: #D9D9D9;
    border-radius: 0;
    border: none;
    box-shadow: 0 0 15px rgba(0,0,0,.1);
}

input, select, textarea {
    border-radius: 0;
}

li.comment .comment-body .comment-content-wrap {
    background-color: var(--brand-secondary);
}

li.comment .comment-body .comment-content-wrap .comment-text {
    color: #1a1a1a;
}



li.comment .comment-body .comment-content-wrap::after {
    box-shadow: none;
    border-color: transparent transparent var(--brand-secondary) var(--brand-secondary);
}

.comment-list {
    padding: 2rem;
    border: none;
    box-shadow: 0 0 15px rgba(0,0,0,.25);
}

.comment-footer {
    color: #1a1a1a;
}

.comment-footer a:not(.bb-bookmark) {
    color: var(--brand-primary);
}

.comment-footer a:not(.bb-bookmark):hover {
    color: var(--brand-primary-hover);
}

li.comment .children {
    border-left: solid 3px var(--brand-primary);
}

#commentform #submit {
    background-color: var(--brand-primary);
    border-radius: 0;
    padding: .5rem 2rem;
    line-height: inherit;
    height: auto;
}

#commentform #submit:hover {
    background-color: var(--brand-primary-hover);
}

.bb-lessons-list .lms-lesson-item .bb-lesson-head {
    background-color: var(--brand-secondary);
    color: #FFF;
}

.bb-lessons-list  .lms-lesson-item .bb-lesson-head:hover {
    background-color: var(--brand-secondary-hover);
    color: #FFF;
}

.bb-lessons-list .lms-lesson-turnover.lms-lesson-item .bb-lesson-head {
    background-color: #525252;
    color: #FFF;
}

.bb-lessons-list .lms-lesson-turnover.lms-lesson-item .bb-lesson-head:hover {
    background-color: #333;
    color: #FFF;
}

.lms-topic-sidebar-wrapper .lms-lessions-list > ol > li a.bb-lesson-head, .lms-toggle-lesson i, .bb-lesson-head .bb-lesson-topics-count {
    color: #FFF!important;
}

.lms-topic-sidebar-course-navigation .ld-course-navigation {
    margin: 15px 15px;
}

.lms-topic-sidebar-wrapper .lms-lessions-list ol.bb-type-list {
    border-left: solid 2px #525252;
}

.lms-topic-sidebar-wrapper .bb-lms-title-wrap {
    padding: 12px 15px 12px 20px;
}

.notification-wrap span.count {
    background-color: var(--brand-secondary) !important;
}

.smexpert-content-style.smexpert-content-style-introductionperson .smexpert-content-style-icon .smexpert-content-style-icon-container {
    overflow: hidden;
}

.smexpert-content-style-courseleader .smexpert-content-style-icon-container, .smexpert-content-style.smexpert-content-style-introductionperson .smexpert-content-style-icon .smexpert-content-style-icon-container {
    overflow: hidden;
    position: relative;
    padding: 0
}

.full-message .close-button {
    background-color: transparent;
    border: none;
    font-size: 2em;
    position: absolute;
    top: 0;
    right: 0;
}

.smexpert-accordion-content {
    border: solid 1px #CCC;
    margin-top: -1rem;
}

.callout.dyk {
    border: none;
    box-shadow: -3px 3px 3px #999;
    padding: 2rem 4rem;
    text-align: center;
    background-color: #FFF;
}
.callout.dyk .dyk-button {
    margin-top: 2rem;
}
.dyk-answer {
    display: none;
}

.didyouknow-wrapper br {
    display: none;
}

.button.download-btn.large {
    padding: 1rem;
    margin: auto;
    display: block;
    max-width: 350px;
}

.b2bregform-template-default .split-overlay {
    background-color: #000;
    opacity: 0.8;
}

.b2bregform-template-default .b2bregform-logo {
    background-color: #FFF;
    padding: 1rem;
    display: inline-block;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0,0,0,.25)
}


.b2bregform-template-default .b2bregform-logo #site-logo {
    padding-right: 0
}

.smexpert-certificate-link .smexpert-cert-icon {
    height: 4.5rem;
    background-color: transparent;
    border: none;
    border-radius: 0;
}

.smexpert-certificate-link .smexpert-cert-icon img {
    width: 100%;
    position: relative;
}

.learndash-wrapper .ld-alert.ld-alert-certificate.ld-alert-success {
    color: #333;
    background-color: var(--brand-pale);
    font-size: 1.1em;
    border-radius: 0;
}

.learndash-wrapper .ld-alert.ld-alert-certificate.ld-alert-success .ld-button .bb-icon-l {
    display: none;
}

.smexpert-certificate-link a.ld-button {
    background-color: var(--brand-primary)!important;
    border-radius: 0;
}

.smexpert-certificate-link a.ld-button:hover {
    background-color: var(--brand-primary-hover)!important;
}

.smexpert-content-style.smexpert-content-style-instruction {
    background-color: var(--brand-secondary);
    color: #FFF;
}

.smexpert-content-style.smexpert-content-style-instruction .smexpert-content-style-icon-container {
    background-color: var(--brand-primary)
}

.smexpert-content-style-glossary ul {
    list-style: none;
    margin: 0;
}

.smexpert-content-style-glossary ul li {
    display: inline;
}

.smexpert-content-style.smexpert-content-style-notepad .smexpert-reflective-field {
    padding: 0;
}

.smexpert-content-style.smexpert-content-style-survey {
    background-color: var(--brand-pale);
}

.smexpert-content-style.smexpert-content-style-survey .smexpert-content-style-icon-container {
    background-color: var(--brand-primary);
}

.smexpert-content-style.smexpert-content-style-survey .small {
    color: var(--brand-muted-text);
}

.smexpert-content-style.smexpert-content-style-survey .quickscale input[type="radio"]:checked + label {
    background: var(--brand-primary) !important;
}

.quickscale ul li label {
    background: var(--brand-muted);
}


.quickscale ul li:nth-child(2n) label {
    background: var(--brand-pale-alt);
}

.learndash-wrapper .ld-item-list .ld-item-list-item.learndash-not-available .ld-item-list-item-preview, .learndash-wrapper .ld-item-list .ld-item-list-item.ld-expanded.learndash-not-available .ld-item-list-item-preview {
    background-color: #CCC;
    color: #AAA;
    border-color: #AAA!important;
}

.ld-item-lesson-item.learndash-not-available.ld-expanded .ld-item-list-item-expanded {
    border-color: #AAA!important;
}

.learndash-wrapper .ld-item-list .ld-item-list-item.learndash-not-available .ld-item-list-item-preview a, .learndash-wrapper .ld-item-list-item.ld-item-lesson-item.learndash-not-available .ld-item-list-item-preview .ld-icon-arrow-down, .learndash-wrapper .ld-item-list .ld-item-list-item.learndash-not-available .ld-item-title .ld-item-components span {
    color: #999 !important;
}

.learndash-wrapper .ld-status-waiting {
    background-color: var(--brand-primary)!important;
    border: none!important;
}

.learndash-footer-nav {
    border-top: 2px solid var(--brand-primary);
}

.learndash-footer-nav .sfwd-course-nav {
    padding: 1rem 0;
}

.mm-course-type-indicator {
    width: 100px;
    height: 100px;
    display: block;
    position: absolute;
    z-index: 10;
    background-color: #FFF;
    border-radius: 50%;
    top: 20px;
    left: 20px;
    box-shadow: 3px 3px 3px rgba(0,0,0,.25);
    overflow: hidden;
}

.smexpert-course-item-top a:hover .mm-course-type-indicator img {
    opacity: 1;
}

.learndash-footer-nav .smexpert-popup-button {
    margin-top: 1rem
}

.smexpert-notepad .bb-icon-rf {
    color: var(--brand-primary);
    font-size: 1.5em;
    vertical-align: middle;
    margin-right: 1rem;
}

.saved_notes {
    color: var(--brand-primary);
}

.smexpert-popup-button {
    padding: 0.5rem 1rem 0.75rem;
}


.smexpert-popup-button .bb-icon-book {
    font-size: 1.4em;
}


@media screen and (min-width: 800px) {
    .widget-area:not(.widget-area-secondary) {
        -ms-flex: 0 1 clamp(280px, 32vw, 400px);
        flex: 0 1 clamp(280px, 32vw, 400px);
        max-width: clamp(280px, 32vw, 400px);
    }

    .course-index-banner-content {
        margin-left: 0;
    }
}

@media screen and (max-width: 1100px) {

    .course-index-banner {
        padding: 1rem;
    }

    .course-index-banner .container {
        padding: 2rem 0;
    }

    .course-index-banner-content {
        margin-left: 0;
    }

    .course-index-section-courses {
        padding: 0 clamp(1.25rem, 4vw, 3rem) !important;
    }

}

@media screen and (max-width: 543px) {

    .course-index-banner h1 {
        font-size: 2em;
    }

    .course-index-widgets {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }

    .smexpert-course-item-top {
        height: 9rem;
    }

    .smexpert-short-courses .smexpert-course-item-top {
        height: 10rem;
    }

    ul#smexpert-tabs-nav li {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        margin: 0 !important;
        clip-path: none !important;
        width: 100%;
    }

    .course-index-banner-content {
        margin-left: 0;
        padding-top: 2rem;
    }

    .course-index-banner-image {
        display: none;
    }

    li.comment ol.children {
        margin-left: 0;
        padding-left: 2rem;
    }

    .mm-course-type-indicator {
        width: 50px;
        height: 50px;
    }

    .email-message-header .email-message-email
    {
        top: 29%;
        font-size: 0.7em
    }

    .email-message-header .email-message-subject
    {
        top: 60%;
        font-size: 0.7em
    }

    .text-message-container.open .mobile-phone {
        display: none;
    }


    .text-message-container.open .full-message-container {
        width: 100%;
    }


    .text-message-container.open .full-message-container .full-message {
        margin: 3rem 0 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .text-message-container.open .full-message-container .full-message::before {
        display: none;
    }

}
