/**
 * Course Survey & Filtered Search Styles
 */

@font-face {
  font-family: 'leafy';
  src: url('../fonts/leafy.woff2') format('woff2'),
       url('../fonts/leafy.woff') format('woff'),
       url('../fonts/leafy.ttf')  format('truetype');
}

:root {
    --stokesfc-blue: #022e5f;
    --surveyPosition: 0;
    --course-survey-window-size: 100vh;
}

html,
body {
    font-size: 10px !important;
}


@media screen and (min-width: 375px) and (max-width: 413px) {
	html,
	body {
		font-size: 14px !important;
	}
}

@media screen and (min-width: 375px) and (max-height: 553px) {
	html,
	body {
		font-size: 12px !important;
	}
}

/* @media screen and (min-width: 414px) {
	html,
	body {
		font-size: 14px !important;
	}
} */

@media screen and (max-width: 1600px) and (min-width: 414px) {
	html,
	body {
		font-size: calc(14px + 7 * ( 100vw - 320px ) / 1600 ) !important;
	}
}

@media screen and (min-width: 901px) and (max-width: 1300px) and (min-height: 500px) and (max-height: 780px) {
	html,
	body {
		font-size: 12px !important;
	}
}

@media screen and (min-width: 1600px) {
	html,
    body {
		font-size: 21px !important;
	}
}

body.find-your-course {
    background-image: url('../image/background-20.png'), linear-gradient(90deg, #55027D, #ef0b74);
    background-size: contain;
    overflow: initial;
}

.find-your-course #body {
    overflow: hidden;
}

.course-survey {

    /* slider */
    display: flex;
    flex-direction: column;
    flex-direction: row;
    /* overflow-x: hidden; */

    transform: translateX(var(--surveyPosition));
    transition: transform 300ms ease-in-out;
}

.course-survey * {
    box-sizing: border-box;
}

.course-survey--section {
    flex-shrink: 0;
    /* height: 100vh; */
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    height: var(--course-survey-window-size);
}

.course-survey--section-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    max-width: 1400px;
    padding-top: 75px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.course-survey--panel-conversational {
    margin-bottom: 1rem;
}

.course-survey--choices {
    margin-bottom: 1rem;
}

.course-survey--section p,
.course-survey--section h1,
.course-survey--section h2,
.course-survey--section h3,
.course-survey--section h4,
.course-survey--section span {
    color: #fff;
}

.course-survey .facetwp-facet {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 0;
}

.course-survey .facetwp-counter {
    display: none;
}

.course-survey .facetwp-checkbox {
    background: none;
    background-size: unset;
    background-color: #fff;
    border: 3px solid var(--stokesfc-blue);
    border-radius: 1px;
    color: var(--stokesfc-blue);
    flex-basis: calc( 50% - .5rem );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    margin-right: 1rem;
    padding: .75rem .25rem;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    font-weight: 900;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.course-survey .facetwp-checkbox:nth-of-type(3n) {
    margin-right: 1rem;
}

.course-survey .facetwp-checkbox:nth-of-type(2n) {
    margin-right: 0;
}

.course-survey .facetwp-checkbox > span {
    color: var(--stokesfc-blue);
}

.course-survey .facetwp-checkbox span.choice-level {
    font-size: .75rem;
}

.course-survey .facetwp-checkbox.checked,
.course-survey .facetwp-checkbox:hover,
.course-survey .facetwp-checkbox.checked > span,
.course-survey .facetwp-checkbox:hover > span {
    background-image: none;
    background-color: var(--stokesfc-blue);
    color: #fff;
}


.course-survey--button,
.course-survey--button:hover {
    background-color: transparent;
    background-size: contain;
    background-repeat: no-repeat;
    box-shadow: none;
}

.course-survey--button {
    font-size: 1rem;
    transform: translate3d(0px, 0px, 0px);
    transition: translate3d 300ms cubic-bezier(0.22, 0.61, 0.36, 1);
    min-width: 9.8rem;
    height: 3rem;
    color: #fff;
    border-style: none;
}

.course-survey--button:hover {
    transform: translate3d(0px, -2px, 0px);
    transition: translate3d 300ms cubic-bezier(0.55, 0.09, 0.68, 0.53);
}

.course-survey--navigation {
    display: flex;
    justify-content: center;
}

.course-survey--previous {
    background-image: url('../image/survey-navigation-previous.svg');
    text-align: right;
    margin-right: 1rem;
}

.course-survey--next {
    background-image: url('../image/survey-navigation-next.svg');
    text-align: left;
    padding-left: 3rem;
}

.course-survey--panel-intro-heading {
    font-family: 'leafy';
    font-weight: 400;
    font-size: 3rem;
    margin-bottom: 1.25rem;
    transform: rotate(-2deg);
}

.course-survey--step-counter {
    display: flex;
    font-size: 3rem;
    font-weight: 300;
    /* align-self: flex-start; */
    margin-right: .75rem;
    align-items: center;
}

.course-survey--step-counter--subset {
    font-size: 5rem;
    line-height: 1;
    font-weight: 700;
    align-self: flex-start;
}

.course-survey--step-counter--of {
    padding-top: .65rem;
    padding-left: .125rem;
    line-height: 1;
    font-size: 2rem;
}

.course-survey--panel-main-heading {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.course-survey--panel-question-heading {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    margin-bottom: .5rem;
}

.course-survey--panel-description-text {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.3;
}

@media screen and (min-width: 375px) {
    .course-survey--section-inner {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media screen and (max-height: 736px) and (max-width: 414px) {
    .survey-introduction .course-survey--section-inner {
        padding-top: 50px;
    }

    .course-survey--question .course-survey--panel-intro-heading {
        display: none;
    }

    .course-survey--question .course-survey--panel-main-heading {
        margin-bottom: 0;
    }

    .course-survey--question .course-survey--panel-description-text {
        margin-bottom: 0;
    }
}

@media screen and (min-width: 901px) {

    .course-survey--navigation {
        justify-content: flex-end;
    }

    .course-survey--section:not(.facetwp-template) .course-survey--choices {
        padding-top: 55px;
    }

    .course-survey--section-inner {
        flex-direction: row;
        justify-content: space-between;
        padding-top: 0;
        height: auto;
        /* padding-top: 200px; */
    }

    .facetwp-template .course-survey--section-inner {
        padding-top: 110px;
    }

    .course-survey--panel-conversational {
        flex-basis: 40%;
        /* flex-shrink: 0; */
        margin-bottom: 0;
    }

    .course-survey--panel-choice-interaction {
        flex-basis: calc( 60% - 3rem );
        /* flex-shrink: 0; */
    }

    .course-survey--panel-question-heading {
        flex-direction: column;
        margin-bottom: 0;
        /* align-items: unset; */
    }

    .course-survey--panel-main-heading {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }

    .survey-introduction .course-survey--panel-main-heading {
        font-size: 4rem;
    }

    .facetwp-template .course-survey--panel-main-heading {
        font-size: 3rem;

    }

    .course-survey--panel-intro-heading {
        font-size: 3.75rem;
        margin-bottom: 2rem;
    }

    .course-survey--step-counter {
        display: block;
        margin-right: 0;
    }

    .course-survey--step-counter--of {
        vertical-align: super;
        padding-top: 0;
        padding-left: 0;
        line-height: 1;
        font-size: inherit;
    }

    .course-survey .facetwp-checkbox {
        border: 7px solid var(--stokesfc-blue);
        flex-basis: calc( 33.3333% - 1.3333rem );
        margin-bottom: 1.5rem;
        margin-right: 2rem;
        padding: 1rem;
    }

    .course-survey .facetwp-checkbox:nth-of-type(2n) {
        margin-right: 2rem;
    }

    .course-survey .facetwp-checkbox:nth-of-type(3n) {
        margin-right: 0;
    }

    .course-survey--button {
        min-width: 10rem;
        height: 3rem;
    }
}

@media screen and (min-width: 901px) and (max-width: 1300px) and (min-height: 500px) and (max-height: 780px) {
    .course-survey--section-inner {
		padding-top: 4%;
	}
}

@media screen and (min-width: 1400px ) {
    .course-survey--section-inner {
        padding-left: 0;
        padding-right: 0;
    }
}

/**
 * Step - Survey Introduction
 */

.survey-introduction .course-survey--section-inner {
    /* align-items: stretch; */
}

.survey-introduction .course-survey--panel {
    display: flex;
    align-items: center;
    flex-basis: 50%;
}

.survey-introduction .course-survey--panel-main-heading {
    /* margin-bottom: 1.25rem; */
}

.survey-introduction .course-survey--panel-choice-interaction {
    position: relative;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.survey-introduction .course-survey--panel-background {
    position: absolute;
    top: -1rem;
    right: 0;
    /* bottom: 0; */
    left: 0;
    display: flex;
    /* align-items: center; */
}

.survey-introduction .course-survey--panel-background span {
    opacity: 0.2;
    font-size: 7.5rem;
    font-weight: 700;
    line-height: .9;
    color: transparent;
    text-align: center;
    -webkit-text-stroke: 2px rgba(255,255,255);
}

.survey-introduction .course-survey--next {
    position: static;
    z-index: 1;
    background-image: url('../image/survey-navigation-start.svg');
    color: var(--stokesfc-blue);
    min-width: 13.25rem;
    min-height: 13.25rem;
    font-weight: 900;
    font-size: 1.75rem;
    padding-left: 1.5rem;
    transition: none;
}

@media screen and (max-width: 375px) and (max-height: 667px) {
    .survey-introduction .course-survey--section-inner {
        padding-top: 40px;
    }

    .survey-introduction .course-survey--panel-background span {
        display: none;
    }
}

@media screen and (max-width: 414px) and (max-height: 737px) {
    .survey-introduction .course-survey--section-inner {
        padding-top: 50px;
    }

    .survey-introduction .course-survey--panel-conversational {
        text-align: center;
    }
}

@media screen and (min-height: 736px ) and (max-height: 813px ) {
    .survey-introduction .course-survey--panel {
        flex-basis: 40%;
    }
}


@media screen and (min-width: 901px ) {
    .survey-introduction .course-survey--section-inner {
        padding-top: 110px;
    }

    .survey-introduction .course-survey--panel-choice-interaction {
        justify-content: flex-end;
        flex-basis: calc( 60% - 3rem );
        margin-bottom: 0;
    }

    .survey-introduction .course-survey--panel-choice-interaction .course-survey--panel-inner {
       align-self: center;
    }

    .survey-introduction .course-survey--panel-conversational {
        flex-basis: 40%;
        /* align-items: flex-start; */
        /* padding-top: 8%; */
    }

    .survey-introduction .course-survey--panel-background span {
        font-size: 12.5rem;
        -webkit-text-stroke: 7px rgba(255,255,255);
    }
}

/**
 * Survey Results
 */

.survey-results .facetwp-template {
    height: auto;
}

.course-survey-alternative-suggestions h4 {
    text-transform: initial;
}

.course-survey-alternative-suggestions .course-survey--navigation {
    justify-content: space-evenly;
}

.facetwp-template.course-survey--section .course-survey--choices {
    display: flex;
    flex-wrap: wrap;
}

.facetwp-template.course-survey--section .course-survey--choices a {
    flex-basis: 50%;
    padding: .75rem .75rem .25rem;
    text-align: center;
}

.facetwp-template.course-survey--section .course-survey--choices img {
    margin-bottom: .5rem;
    /* background-color: white; */
}

.facetwp-template.course-survey--section .course-survey--choices h3 {
    text-align: center;
    font-size: 1.125em;
}

.facetwp-template.course-survey--section .course-survey--choices h3 > span {
    display: block;
    font-size: .9rem;
}

.course-survey--button.course-survey--view-all {
    margin-right: 2rem;
    line-height: 3rem;
}

a.course-survey--view-all:hover {
    color: #fff;
}

.course-survey--view-all,
.course-survey--view-course {
    background-image: url('../image/survey-navigation-button.svg');
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
}

.course-survey--reset {
    background-image: url('../image/survey-navigation-reset.svg');
    text-align: left;
    padding-left: 1rem;
}

.course-survey-alternative-suggestions {
    padding-top: 1rem;
    padding-bottom: 2rem;
    text-align: center;
}

.course-survey-alternative-suggestions ul,
.course-survey-alternative-suggestions ul a {
    color: #fff;
}

.course-survey-alternative-suggestions ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.course-survey-alternative-suggestions--desktop a {
    text-decoration: underline;
}

@media screen and (min-width: 901px) {
    .facetwp-template.course-survey--section .course-survey--choices a {
        flex-basis: 33.3333%;
        padding: 1rem 1rem .25rem;
    }

    .course-survey-alternative-suggestions {
        padding-top: 0;
        padding-bottom: 0;
        text-align: left;
    }
}

/**
 * Site Header - Overrides just for survey
 */
.sfc-extension-mobile-logo, 
.sfc-extension .default-mobile-logo {
    display: none;
}

.sfc-extension .sfc-extension-mobile-logo {
    display: block;
} 

@media screen and (max-width: 900px) {
    .sfc-extension.mobile_menu_active .header-icons a {
        color: #ffffff;
    }
}

.sfc-extension #headerwrap,
.sfc-extension.fixed-header-enabled #headerwrap {
    max-width: 100vw;
    position: fixed;
    background-color: transparent;
    padding: 1rem;
}

.sfc-extension.fixed-header-on #headerwrap {
    background-image: url('../image/background-20.png'), linear-gradient(90deg, #55027D, #ef0b74);
    background-size: contain;
}

.sfc-extension #headerwrap .sfc-extension {
    font-size: .75rem;
    transition: none;
}

.sfc-extension #headerwrap .header-widget-inner .widget {
    font-size: 1rem;
    margin: 0;
    display: block;
}

.sfc-extension #headerwrap .header-widget-full .top-menu .ui.nav > li > a {
    color: #fff;
}

.sfc-extension #headerwrap .header-widget-full .top-menu .ui.nav li:last-of-type a {
    padding-right: 0;
}

.sfc-extension #headerwrap module-menu.mobile-menu-slide.wow {
    visibility: visible;
}

.sfc-extension #main-nav > li:last-of-type > a {
    margin-right: 0;
}

.sfc-extension .header-widget-full {
    max-height: 45px;
}

.sfc-extension .header-widget {
    padding: 0;
}

.course-survey-alternative-suggestions--desktop {
    display: none;
}

@media screen and (min-width: 901px) {

    .sfc-extension #headerwrap .header-bar {
        transform: translate3d(0px, -10px, 0px);
    }

    .course-survey-alternative-suggestions .course-survey--navigation {
        justify-content: flex-start;
    }

    .course-survey-alternative-suggestions--mobile {
        display: none;
    }

    .course-survey-alternative-suggestions--desktop {
        display: block;
    }

    .sfc-extension #headerwrap .header-widget-inner,
    .sfc-extension #headerwrap .module_row>.row_inner,
    .sfc-extension #header {
        max-width: 1400px;
        width: 100%;
    }

    .sfc-extension #header {
        align-items: center !important;
    }

    .sfc-extension #main-nav li a {
        background-color: #fff;
        border-radius: 1px;
    }

    .sfc-extension #main-nav li a:hover {
        background-color: #009ed4;
    }
}

/**
 * Course Search
 */
.course-search-archive * {
    box-sizing: border-box;
}

.course-search-archive #body {
    padding-top: 70px;
    padding-bottom: 3rem;
    display: flex;
    justify-content: center;
}

.course-search-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1500px;
}

.course-search-header {
    flex-basis: 100%;
    padding: 1rem;
}

.course-search-header h1 {
    font-weight: 900;
    padding-bottom: 1.25rem;
    color: var(--stokesfc-blue);
    border-bottom: 1px solid #d93382;
    margin-bottom: 1.75rem
}

.course-search-header p {
    max-width: 600px;
    margin-bottom: 0;
}

.course-search-archive #headerwrap,
.podcasts #headerwrap {
    background-image: url( '../image/course-search-header-background.jpg' );
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.course-search {
    flex-basis: 100%;
    order: 2;
}

.course-search--table {
    border-collapse: collapse;
    width: 100%;
}

.course-search--table th {
    text-align: left;
    padding-bottom: .25rem;
}

.course-search--table th:first-of-type {
    width: 40%;
}

.course-search--table th:nth-of-type(2n) {
    width: 45%;
}

.course-search--table th:last-of-type {
    width: 15%;
}

.course-search--table th span {
    position: relative;
    display: inline-block;
    padding: .5rem;
    color: #fff;
    background-color: #d93382;
    font-weight: 900;
    font-size: .75rem;
    text-transform: uppercase;
}

.course-search--table td {
    padding: .5rem;
    border-bottom: 1px solid #999;
}

.course-search--course-name {
    font-weight: 700;
}

.course-search--course-name a {
    color: var(--stokesfc-blue);
}

.course-search .facetwp-facet-course_search_pagination {
    padding-top: 1rem;
    display: flex;
    margin-bottom: 0;
}

.course-search-filter,
.course-search {
    padding: 1rem;
}

.course-search-filter {
    /* display: none; */
    order: 1;
    flex-basis: 100%;
}

.course-search-filter .facetwp-input-wrap {
    width: 100%;
}

.course-search-filter .facetwp-type-search {
    margin-bottom: 1rem;
}

.course-search-filter .facetwp-icon {
    right: .5rem;
}

.course-search-filter > h2 {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--stokesfc-blue);
}

.course-search-filter .facetwp-counter {
    display: none;
}

.course-search-filter .facetwp-checkbox {
    padding-left: 1.5rem;
    margin-bottom: .375rem;
}

.course-search-filter-groups {
    display: flex;
}

.course-search-filter-group {
    flex-basis: calc( 50% - .5rem );
    border-bottom: 1px solid var(--stokesfc-blue);
    margin-bottom: 1rem;
}

.course-search-filter-group:not(:last-of-type) {
    margin-right: 1rem;
}

.course-search-filter-group-header {
    display: flex;
    justify-content: space-between;
}

.course-search-filter-group-header h3 {
    font-weight: 900;
    text-transform: capitalize;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.course-search-filter-group span {
    transform: rotate(180deg);
    transform-origin: bottom;
    width: 15px;
    height: 10px;
    color: var(--stokesfc-blue);
}

.course-search-filter-group.show span {
    transform: rotate(0deg);
    transform-origin: 0px;
}

.course-search-filter-group.show .facetwp-facet {
    display: block;
}

.course-search-filter-group .facetwp-facet {
    margin-bottom: 1rem;
    display: none;
}

@media screen and (min-width: 680px) and (max-width: 1279px) {
    .course-search-archive #body {
        padding-top: 130px;
    }
}

@media screen and (min-width: 1280px) {

    .course-search-archive #body {
        padding-top: 200px;
    }

    .course-search-header {
        margin-bottom: 1rem;
    }

    .course-search {
        flex-basis: 75%;
        order: 2;
    }

    .course-search-filter {
        flex-basis: 25%;
    }

    .course-search--table th span {
        font-size: 1.25rem;
    }

    .course-search--table th:nth-of-type(2n) {
        width: 35%;
    }

    .course-search--table th:last-of-type {
        width: 25%;
    }

    .course-search-filter-groups {
        flex-direction: column;
    }

    .course-search-filter-group:not(:last-of-type) {
        margin-right: 0;
    }
}

/**
 * 
 */
.sfcc-extension-container {
    padding-top: 100px;
    padding-bottom: 3rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    justify-content: space-between;
}

.sfcc-extension-container--header {
    /* flex-basis: 100%; */
    margin-bottom: 1rem;
    /* display: flex; */
}

.sfcc-extension-aside .module_row>.row_inner {
    width: auto;
    margin: 0;
    max-width: 100%;
}

@media screen and (min-width: 700px) {
    .sfcc-extension-container {
        padding-top: 200px;
    }
    
    .sfcc-extension-main {
        padding: 1rem;
        flex-basis: 60%;
    }

    .sfcc-extension-aside {
        flex-basis: 35%;
    }

    .podcasts .sfcc-extension-main {
        order: 0;
    }
}