/*
Theme Name: DTL Accelerator
Description: Custom WordPress theme that allows users to complete lessons and track their progress among different cohorts.
Author: Radley Sustaire and Ebrahim Hasan, Alchemy and Aim
Author URI: https://alchemyandaim.com
Version: 1.1.3
*/

/*

Fonts:

1. Gotham
font-family: "Gotham A", "Gotham B", sans-serif;
	Used for body text
	Imported from cloud.typography.com

2. Georgia
font-family: Georgia, serif;
	Used for headings
	Not imported, use native font

3. Basis Grotesque Pro
font-family: "Basis Grotesque Pro", Helvetica, Arial, sans-serif;
    Used on the login page
    FONT KIT CURRENTLY NOT INCLUDED
 */

.visually-hidden {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

/* Reset */
html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

ol, ul {
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6, p {
    padding: 0;
    overflow-wrap: break-word;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

/* Global */
body {
    margin: 0;
    padding: 0;

    font-family: "Gotham A", "Gotham B", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.55;
    color: #110d0a;

    background-color: #f5f5f0;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media ( min-width: 400px ) and ( max-width: 1399.9px ) {
    body {
        font-size: calc(16px + (20 - 16) * (100vw - 400px) / (1400 - 400)); /* from bb */
    }
}

@media ( min-width: 1400px ) {
    body {
        font-size: 20px; /* from bb */
    }
}

a {
    color: #110d0a;
    text-decoration: underline;
}

/* WordPress Classes */
img.alignright {
    margin-left: auto;
}

img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, serif;
    line-height: 1.2;
    font-weight: 400;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    text-decoration-thickness: 2px;
}

h1, .h1 {
    font-size: 55px;
}

h2, .h2 {
    font-size: 36px;
}

h3, .h3 {
    font-size: 28px;
}

h4, .h4 {
    font-size: 20px;
}

h5, .h5 {
    font-size: 18px;
}

h6, .h6 {
    font-size: 16px;
}

@media ( max-width: 1400px ) {
    h1, .h1 {
        font-size: 40px;
    }

    h2, .h2 {
        font-size: 36px;
    }

    h3, .h3 {
        font-size: 28px;
    }

    h4, .h4 {
        font-size: 20px;
    }

    h5, .h5 {
        font-size: 18px;
    }

    h6, .h6 {
        font-size: 16px;
    }
}


/* Editor styles - duplicate this in editor.css and blocks.css (from editor.php) */
.uppercase {
    text-transform: uppercase;
}

.lowercase {
    text-transform: lowercase;
}

.weight-light {
    font-weight: 300;
}

.weight-regular {
    font-weight: 400;
}

.weight-medium {
    font-weight: 500;
}

.weight-bold {
    font-weight: 700;
}

.text-color-dtl-teal {
    color: #1d6874;
}

.text-color-dark-blue {
    color: #243040;
}

.text-color-darker-blue {
    color: #1f2d3d;
}

.text-color-white {
    color: #ffffff;
}

.text-color-lighter-gray {
    color: #f5f5f0;
}

.text-color-light-gray {
    color: #ecece3;
}

.text-color-gray-a {
    color: #d9d9d9;
}

.text-color-gray-b {
    color: #cecece;
}

.text-color-dark-gray-b {
    color: #111111;
}

.text-color-dark-gray-b {
    color: #110d0a;
}

.text-color-black {
    color: #000000;
}

.font-gotham {
    font-family: "Gotham A", "Gotham B", sans-serif;
}

.font-georgia {
    font-family: Georgia, serif;
}

.is-style-heading-section-title,
h1.is-style-heading-section-title,
h2.is-style-heading-section-title,
h3.is-style-heading-section-title,
h4.is-style-heading-section-title,
h5.is-style-heading-section-title,
h6.is-style-heading-section-title {
    font-family: "Gotham A", "Gotham B", sans-serif;
    font-size: 18px;
    letter-spacing: 0.1em;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
}

/* End of editor styles */

/* Utility classes */
.trim-margin > :first-child {
    margin-top: 0;
}

.trim-margin > :last-child {
    margin-bottom: 0;
}

/* Form fields */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="time"],
input[type="month"],
textarea {
    border: 1px solid #cecece;
    padding: 12px 16px 11px;
    line-height: 1.15;
    border-radius: 100px;
}


/* Structure */
.block-container.type-default {
    /* margin-top: 45px; */
    /* margin-bottom: 60px; */
}

.block-container > *:not(.alignfull):not(.general-content),
.inside {
    margin-left: auto;
    margin-right: auto;

    padding-left: 36px;
    padding-right: 36px;

    max-width: 1460px; /* 1400px to match figma design, 1460px to match live site */
}

@media ( max-width: 767.9px ) {
    .block-container > *:not(.alignfull):not(.general-content),
    .inside {
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* Header */
.header-bar.sticky {
    position: sticky;
    top: 0;
    z-index: 9;
}

/* Active header (white) */

body.menu-open {
    overflow-y: scroll;
}

body.menu-open .header-bar {
    background: #fff;
}

body.menu-open .menu-icon span {
    background: #110d0a !important;
}

body.menu-open .mobile-menu .menu > li > a {
    color: #110d0a !important;
}

body.menu-open .header-bar a {
    color: #110d0a !important;
}

body.menu-open .header-bar svg {
    color: #110d0a !important;
}

@media ( min-width: 599.9px ) {
    body:not(.not-scrolled) .menu-icon span {
        background: #110d0a !important;
    }

    body:not(.not-scrolled) .header-bar a,
    .header-bar:has(.menu li:hover) a {
        color: #110d0a !important;
    }

    body:not(.not-scrolled) .header-bar,
    .header-bar:has(.menu li:hover) {
        background: #fff;
        box-shadow: 0 2px 1px -1px gray;
    }

    body:not(.not-scrolled) .header-logo svg,
    .header-bar:has(.menu li:hover) svg {
        color: #110d0a !important;
    }

    body:not(.not-scrolled) .header-bar img,
    .header-bar:has(.menu li:hover) img {
        filter: none !important;
    }
}

.header-grid {
    display: grid;
    /*grid-template-columns: 1fr 4fr 1fr;*/
    grid-template-columns: 1fr minmax(auto, 1fr) 1fr;
    align-items: center;
    padding: 36px 0 22px;
}

/* Menus (Shared) */
.menu,
.menu ul,
.menu li {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu {
    font-size: 15px;
    line-height: 1.3;

}

.menu li {

}

.menu li a {
    display: block;
    text-decoration: none;
    color: #110d0a;
    cursor: pointer;
}

.menu li:hover > a {
    text-decoration: underline;
}

.menu .sub-menu {

}

/* Menu item with custom class "line-above", used for "Explore all books" */
.menu li.line-above {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #000;
}

/* Header menu */
.header-menu {
}

.header-menu a {
    font-weight: 500;
    padding: 5px 12px;
}

.header-menu > .menu {
    justify-content: center;
}

.header-menu > .menu > li.menu-item-has-children {
    position: relative;
}

.header-menu .sub-menu {
    position: absolute;
    z-index: 10;
    padding: 14px 24px 20px;
    display: none;
    background: #fff;
    border-radius: 0 0 5px 5px;
    -webkit-box-shadow: 0 40px 30px rgba(0, 0, 0, .1);
    box-shadow: 0 40px 30px rgba(0, 0, 0, .1);
    white-space: nowrap;
}

.header-menu li:hover > .sub-menu {
    /* Expanded */
    display: block;
}

.header-menu .sub-menu a {
    padding: 8px 15px;
}

/* Header: Logo */
.header-logo svg {
    max-width: 230px;
}

.header-logo a {
    color: inherit;
}


/* Header: Controls */
.header-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.header-search-button svg {
    color: #110d0a;
    height: 23px;
    width: 23px;
}

.menu-icon span {
    display: block;
    width: 25px;
    height: 2px;
    background: #000;
    margin: 0 0 2px;
}

/* Mobile menu */
.menu-icon,
.mobile-menu {
    display: none;
}

.mobile-menu a {
    padding: 5px;
}

.mobile-menu {
    background: #ffffff;
}

.mobile-menu .menu {
    margin: 0 36px;
}

.mobile-menu .menu > li {
    border-bottom: 1px solid #cfcfce;
}

.mobile-menu .menu > li > a {
    position: relative;
    font-family: Georgia, serif;
    font-size: 20px;
    padding: 19px 0 14px;
}

.mobile-menu .menu > li.menu-item-has-children > a::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='currentColor' d='M9.70711 0.292893C10.0976 0.683418 10.0976 1.31658 9.70711 1.70711L5.70711 5.70711C5.31658 6.09763 4.68342 6.09763 4.29289 5.70711L0.292893 1.70711C-0.0976315 1.31658 -0.0976315 0.683417 0.292893 0.292893C0.683417 -0.0976315 1.31658 -0.0976315 1.70711 0.292893L5 3.58579L8.29289 0.292893C8.68342 -0.0976312 9.31658 -0.0976311 9.70711 0.292893Z'%3E%3C/path%3E%3C/svg%3E");
    position: absolute;
    right: 0;
    top: 50%;
    width: 10px;
    height: 6px;
    margin-top: -14px;
}

.mobile-menu .menu > li.menu-item-has-children.sub-menu-open > a::before {
    margin-top: 14px;
    transform: rotate(180deg);
}

.mobile-menu .menu .sub-menu {
    display: none;
    font-size: 16px;
}

.mobile-menu .menu > li.menu-item-has-children.sub-menu-open > .sub-menu {
    display: block;
}

.mobile-menu .sub-menu a {
    padding: 9px 0;
}

@media ( max-width: 1023.9px ) {
    .menu-icon {
        display: block;
    }

    body.menu-open .mobile-menu {
        display: block;
    }

    body.menu-open .hero,
    body.menu-open .site-content,
    body.menu-open .site-footer {
        display: none;
    }

    .header-grid {
        grid-template-columns: auto auto;
    }

    .header-nav {
        display: none;
    }
}

/* Menu icon */
.menu-icon {
    height: 16px;
    width: 28px;
    position: relative
}

.menu-icon span:nth-child(1),
.menu-icon span:nth-child(2),
.menu-icon span:nth-child(3),
.menu-icon span:nth-child(4) {
    position: absolute;
    left: 0;

    display: block;
    height: 2px;
    width: 100%;

    opacity: 1;
    background: #110d0a;
    transform: rotate(0deg);
    transition: 250ms ease-in-out;
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2),
.menu-icon span:nth-child(3) {
    top: 7px;
}

.menu-icon span:nth-child(4) {
    top: 14px;
}

body.menu-open .menu-icon span:nth-child(1) {
    top: 7px;
    width: 0%;
    left: 50%
}

body.menu-open .menu-icon span:nth-child(2) {
    transform: rotate(45deg)
}

body.menu-open .menu-icon span:nth-child(3) {
    transform: rotate(-45deg)
}

body.menu-open .menu-icon span:nth-child(4) {
    top: 7px;
    width: 0%;
    left: 50%
}

/* Footer menus */
.footer-menu .menu {
    font-size: 13.5px;
}

.footer-menu a {
    padding: 4px 0;
}

.footer-terms .menu {
    gap: 14px;
    grid-column: 1 / 4;
}

/* Horizontal menus (Header and footer terms/policy) */
.menu-horizontal > .menu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}


/* Footer */
.site-footer {
    background: #ecece3;
    padding-top: 60px;
    padding-bottom: 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 8fr 5fr 5fr 8fr;
    gap: 100px 10px;
}

.site-footer h3 {
    font-family: 'Gotham A', 'Gotham B';
    font-weight: 500;
    font-size: 12px;
    margin: 17px 0 32px 0;
    letter-spacing: .14em;
    text-transform: uppercase;
}


@media ( min-width: 1024px ) {
    .footer-terms {
        display: grid;
        grid-template-columns: 8fr 5fr;
        grid-column: 1 / 3;
    }
}

@media ( max-width: 1023.9px ) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 2fr;
        gap: 60px 36px;
    }

    .footer-logo {
        grid-row: 1;
        grid-column: 1 / 4;
    }

    .footer-terms {
        display: flex;
        flex-direction: column;
    }

    .footer-copyright {
        order: 2;
    }
}

@media ( max-width: 599.9px ) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px 36px;
    }

    .footer-logo,
    .footer-newsletter {
        grid-column: 1 / 3;
    }
}

body.has-sticky-header {
    opacity: 0.5;
}

/* Footer: Logo */
.footer-logo {
    font-size: 13.5px;
}

.footer-logo svg {
    max-width: 230px;
    width: auto;
    height: auto;
}

.footer-logo svg + p {
    margin-top: 42px;
}

/* Footer: Follow icons */
.footer-follow {
    display: grid;
    grid-template-columns: auto 1fr;
}

.follow-links,
.follow-links li {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.follow-links {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.follow-links svg {
    width: 20px;
    height: 20px;
    color: #000;
}

.footer-follow h3 {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 26px;
}

.follow-links {
    align-items: center;
    gap: 8px;
    margin-left: 8px;
}

.follow-links a {
    height: 26px;
    width: 26px;
    align-items: center;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    transition: background-color 0.1s;
    font-size: 13px;
    color: #fff;
    background: #110d0a;
}

.follow-links a svg {
    color: #fff;
}

.follow-links a:hover {
    background-color: #686661;
}

/* Footer: Copyright / Terms bar */
.footer-copyright,
.footer-terms,
.footer-terms .menu {
    font-size: 12px;
}

section.white-bg {
    background: white;
}

section.light-beige-bg {
    background: #F5F5F0;
}

section.dark-beige-bg {
    background: #ECECE3;
}

/* Lessons */
.single-lesson #form-container .container {
    padding-top: 66px;
    padding-bottom: 56px;
}

.single-lesson #lesson-description .container {
    padding-bottom: 0;
    padding-top: 70px;
}

.lesson-complete-message {
    text-align: center;
}

/* Hero - Adjustments to header/mobile nav */
body:has(.hero.nav-light):not(.scrolled-down):not(.menu-open) .header-logo svg,
body:has(.hero.nav-light):not(.scrolled-down):not(.menu-open) .header-menu li a,
body:has(.hero.nav-light):not(.scrolled-down):not(.menu-open) .header-search-button svg {
    color: #fff;
}

body:has(.hero.nav-light):not(.scrolled-down):not(.menu-open) .header-logo img {
    filter: saturate(0) brightness(255); /* make the logo white, regardless of color */
}

@media ( max-width: 599.9px ) {
    body:has(.hero.nav-light):not(.menu-open) .header-logo svg,
    body:has(.hero.nav-light):not(.menu-open) .header-menu li a,
    body:has(.hero.nav-light):not(.menu-open) .header-search-button svg {
        color: #fff;
    }
}

body:has(.hero.nav-light) .menu-icon span {
    background: #fff;
}

/* Hero section */
.hero {
    min-height: min(60vh, 500px); /*aspect-ratio: 3.01/1;*/

    display: flex;
    color: white;
}

.hero,
.hero-mobile {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.hero {
    position: relative;
    padding-top: 87px;
}

.hero-mobile {
    display: none;
    top: -87px;

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

/* Option 1 */
/*
.hero {
    margin-top: -120px;
}
.hero-mobile {
    margin-top: -120px;
}
*/
/* End: Option 1 */

/* Option 2 */
body:has(.hero) .header-bar {
    position: absolute;
    left: 0;
    right: 0;
}

@media ( max-width: 599.9px ) {
    body:has(.hero).menu-open .header-bar.sticky {
        position: relative;
    }

    body.admin-bar:has(.hero):not(.menu-open) .header-bar,
    body.admin-bar:has(.hero):not(.menu-open) .mobile-menu {
        margin-top: 46px;
    }
}

@media ( min-width: 600px ) {
    body:has(.hero) .header-bar {
        position: fixed;
    }

    body:has(.hero).menu-open .header-bar.sticky {
        position: relative;
    }

    body.admin-bar:has(.hero):not(.menu-open) .header-bar,
    body.admin-bar:has(.hero):not(.menu-open) .mobile-menu {
        margin-top: 32px;
    }
}

/* End: Option 2 */

.hero .hero-content {
    width: 100%;
    margin: auto;
    text-align: center;
}

.hero-content img {
    width: 100%;
    max-width: 565px;
}

.hero h1 {
    margin: auto;
    font-family: Georgia, serif;
    font-size: 60px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: -0.6px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


@media screen and (max-width: 768px) {
    .hero-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero h1 {
        font-size: 40px !important;
    }
}

/* Hero - Mobile background image (if provided) */
@media screen and (max-width: 768px) {
    .hero.has-mobile-image {
        background-image: none !important;

        /*
        display: block !important;
        text-align: center !important;
        color: black !important;
        */

        position: relative;
        overflow: hidden;
        padding-top: 0;
    }

    .hero.has-mobile-image .hero-mobile {
        z-index: 5;
        display: block !important;
    }

    .hero.has-mobile-image .hero-content {
        position: relative;
        z-index: 10;
    }
}

/*
Buttons
*/


/*
Outline Buttons
Also see theme.json -> styles > elements > button
*/
.button,
.wp-block-button .wp-block-button__link {
    display: inline-flex;
    justify-content: center;
    cursor: pointer;

    font-size: 17px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.17px;

    color: #110d0a;
    background-color: transparent;
    border: 1px solid #110d0a;

    padding: 18px 36px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.1s linear;
}

.button:hover,
.wp-block-button .wp-block-button__link:hover {
    color: #ffffff;
    background-color: #110d0a;
    border: 1px solid #110d0a;
}

/* Solid buttons */
.button.button-solid,
.wp-block-button.is-style-button-solid .wp-block-button__link {
    color: #ffffff;
    background-color: #110d0a;
    border: 1px solid #110d0a;
}

.button.button-solid:hover,
.wp-block-button.is-style-button-solid .wp-block-button__link:hover {
    color: #ffffff;
    background-color: #1d6874;
    border: 1px solid #1d6874;
}

/* Centered buttons with a min width */
.back-to-dashboard .button,
.gform_footer .button {
    min-width: 330px;
}

/* Back to Dashboard section */
section.back-to-dashboard {
    text-align: center;
    padding-top: 95px;
    padding-bottom: 95px;
}

section.back-to-dashboard.auto-bg {
    padding-top: 0;
}

@media screen and (max-width: 768px) {
    section.back-to-dashboard {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    section.back-to-dashboard.auto-bg {
        padding-top: 0;
    }
}

/*
Automatic background color for back to dashboard button
based on the color of the last section in the lesson content
*/
.lesson-container:has(.block-container > .white-bg:last-child) + .back-to-dashboard-button > .back-to-dashboard.auto-bg,
.lesson-container:has(.block-container > .has-white-background-color:last-child) + .back-to-dashboard-button > .back-to-dashboard.auto-bg {
    background: white;
}
.lesson-container:has(.block-container > .light-beige-bg:last-child) + .back-to-dashboard-button > .back-to-dashboard.auto-bg,
.lesson-container:has(.block-container > .has-lighter-gray-background-color:last-child) + .back-to-dashboard-button > .back-to-dashboard.auto-bg {
    background: #F5F5F0;
}
.lesson-container:has(.block-container > .dark-beige-bg:last-child) + .back-to-dashboard-button > .back-to-dashboard.auto-bg,
.lesson-container:has(.block-container > .has-light-gray-background-color:last-child) + .back-to-dashboard-button > .back-to-dashboard.auto-bg {
    background: #ECECE3;
}
.lesson-container:has(.block-container > .has-dark-gray-background-color:last-child) + .back-to-dashboard-button > .back-to-dashboard.auto-bg {
    background: #110d0a;
}
.lesson-container:has(.block-container > .has-black-background-color:last-child) + .back-to-dashboard-button > .back-to-dashboard.auto-bg {
    background: #000000;
}
.lesson-container:has(.block-container > .has-dtl-teal-background-color:last-child) + .back-to-dashboard-button > .back-to-dashboard.auto-bg {
    background: #1d6874;
}
.lesson-container:has(.block-container > .has-dark-blue-background-color:last-child) + .back-to-dashboard-button > .back-to-dashboard.auto-bg {
    background: #243040;
}
.lesson-container:has(.block-container > .has-darker-blue-background-color:last-child) + .back-to-dashboard-button > .back-to-dashboard.auto-bg {
    background: #1f2d3d;
}
.lesson-container:has(.block-container > .has-gray-a-background-color:last-child) + .back-to-dashboard-button > .back-to-dashboard.auto-bg {
    background: #d9d9d9;
}
.lesson-container:has(.block-container > .has-gray-b-background-color:last-child) + .back-to-dashboard-button > .back-to-dashboard.auto-bg {
    background: #cecece;
}
.lesson-container:has(.block-container > .has-dark-gray-a-background-color:last-child) + .back-to-dashboard-button > .back-to-dashboard.auto-bg {
    background: #111111;
}
.lesson-container:has(.block-container > .has-dark-gray-b-background-color:last-child) + .back-to-dashboard-button > .back-to-dashboard.auto-bg {
    background: #110d0a;
}


/* Login page */
body.page-sign-in {
    text-align: center;
}

body.page-sign-in .site-content {
    margin-top: 140px;
}

body.page-sign-in .site-content h1 {
    margin: 0 0 12px;
    font-family: basis grotesque pro, Helvetica, Arial, sans-serif; /* warning: Basis font kit is not included */
    font-weight: 700;
    font-size: 14px;
    line-height: 120%;
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #110d0a;
}

body.page-sign-in #loginform {
    margin: 0 auto 140px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    width: 95%;
}

body.page-sign-in #loginform .login-username,
body.page-sign-in #loginform .login-password {
    display: flex;
    flex-direction: column-reverse;
    text-align: left;
}

body.page-sign-in #loginform input[type=text],
body.page-sign-in #loginform input[type=password] {
    width: 100%;
    background-color: transparent !important;
    border: unset !important;
    border-bottom: 1px solid #92928e !important;
    border-radius: 0;
    padding: 0 5px 5px;
    font-family: basis grotesque pro, Helvetica, Arial, sans-serif; /* warning: Basis font kit is not included */
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 150%;
    letter-spacing: -.01em;
    color: #6e6e6c !important;
}

body.page-sign-in #loginform input:not([type=radio]):not([type=checkbox]):-webkit-autofill,
body.page-sign-in #loginform textarea:-webkit-autofill,
body.page-sign-in #loginform select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #ecece3 inset;
    border-bottom: 1px solid #92928e;
    -webkit-text-fill-color: #6e6e6c;
    color: #6e6e6c;
}

body.page-sign-in #loginform label {
    display: block;
    border-bottom: 1px solid transparent;
    color: #110d0a;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    opacity: 0.5;
}

body.page-sign-in #loginform .button {
    min-width: unset;
    padding-left: 30px;
    padding-right: 30px;
}

/* Border class applied to inner container */
section.include-border .container {
    border-bottom: 1px solid;
    padding-bottom: 40px;
}


/* FancyBox */
.fancybox-iframe {
    background: black;
}


.fancybox-content {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;

    position: relative;
    padding-top: 44.70625% !important;
    height: auto !important;
}

.fancybox-slide {
    height: 100%;
}

.fancybox-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


figure.wp-block-image:first-child:last-child {
    margin-top: 0;
    margin-bottom: 0;
}

/* Block styles */

/* Ability to reverse order of columns on mobile (782px or lower) */
@media (max-width: 782px) {
    .mobile-reverse-order {
        flex-direction: column-reverse;
    }
}

/* Customizable block gaps for rows, columns, groups, etc */
.gap-none,
.editor-styles-wrapper .gap-none {
    gap: min(0px, 0vw);
}

.gap-8,
.editor-styles-wrapper .gap-8 {
    gap: min(8px, 0.4166666667vw);
}


.gap-16,
.editor-styles-wrapper .gap-16 {
    gap: min(16px, 0.8333333333vw);
}

.gap-32,
.editor-styles-wrapper .gap-32 {
    gap: min(32px, 1.6666666667vw);
}

.gap-64,
.editor-styles-wrapper .gap-64 {
    gap: min(64px, 3.3333333333vw);
}

.gap-96,
.editor-styles-wrapper .gap-96 {
    gap: min(96px, 5vw);
}

@media (max-width: 782px) {
    .gap-32,
    .editor-styles-wrapper .gap-32 {
        gap: 16px;
    }

    .gap-60,
    .editor-styles-wrapper .gap-60 {
        gap: 30px;
    }

    .gap-96,
    .editor-styles-wrapper .gap-96 {
        gap: 48px;
    }
}

@media (max-width: 782px) {
    .mobile-gap-none,
    .editor-styles-wrapper .mobile-gap-none {
        gap: 0;
    }

    .mobile-gap-8,
    .editor-styles-wrapper .mobile-gap-8 {
        gap: 8px;
    }

    .mobile-gap-16,
    .editor-styles-wrapper .mobile-gap-16 {
        gap: 16px;
    }

    .mobile-gap-32,
    .editor-styles-wrapper .mobile-gap-32 {
        gap: 32px;
    }

    .mobile-gap-64,
    .editor-styles-wrapper .mobile-gap-64 {
        gap: 64px;
    }

    .mobile-gap-96,
    .editor-styles-wrapper .mobile-gap-96 {
        gap: 96px;
    }
}

/* Vertical margins */
.vertical-margin-none {
    margin-top: 0;
    margin-bottom: 0;
}

.vertical-margin-x-small {
    margin-top: 16px;
    margin-bottom: 16px;
}

.vertical-margin-small {
    margin-top: 32px;
    margin-bottom: 32px;
}

.vertical-margin-medium {
    margin-top: 64px;
    margin-bottom: 64px;
}

.vertical-margin-large {
    margin-top: 96px;
    margin-bottom: 96px;
}

.vertical-margin-huge {
    margin-top: 128px;
    margin-bottom: 128px;
}

.vertical-margin-none > :first-child,
.vertical-margin-x-small > :first-child,
.vertical-margin-small > :first-child,
.vertical-margin-medium > :first-child,
.vertical-margin-large > :first-child,
.vertical-margin-huge > :first-child {
    margin-top: 0;
}

.vertical-margin-none > :last-child,
.vertical-margin-x-small > :last-child,
.vertical-margin-small > :last-child,
.vertical-margin-medium > :last-child,
.vertical-margin-large > :last-child,
.vertical-margin-huge > :last-child {
    margin-bottom: 0;
}

/* Container styles */
.container-style-section {
    padding-top: 96px;
    padding-bottom: 96px;
}

.container-style-section > :first-child {
    margin-top: 0;
}

.container-style-section > :last-child {
    margin-top: 0;
}

/* Content justification */
.is-content-justification-right {
    display: flex;
    align-items: flex-end;
}

.is-content-justification-left {
    display: flex;
    align-items: flex-start;
}

.is-content-justification-center {
    display: flex;
    align-items: center;
}

/* End: Block styles */

/* Start: two-logo-row -- Custom class for group/row block  */
@media ( min-width: 782px ) {
    .wp-block-group.two-logo-row {
        display: grid;
        grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr);
        width: fit-content;
        gap: 0;
    }

    .wp-block-group.two-logo-row > :nth-child(1) {
        border-right: 1px solid #B1B1B1;
        padding-right: 35px;
        text-align: right;
    }

    .wp-block-group.two-logo-row > :nth-child(2) {
        padding-left: 35px;
        text-align: left;
    }
}

@media ( max-width: 781.9px ) {
    .wp-block-group.two-logo-row {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .wp-block-group.two-logo-row > :nth-child(1) {
        position: relative;
        padding-bottom: 35px;
        text-align: center;
    }

    .wp-block-group.two-logo-row > :nth-child(2) {
        padding-top: 35px;
        text-align: center;
    }

    .wp-block-group.two-logo-row > :nth-child(1)::after {
        content: '';
        display: block;
        position: absolute;
        top: 100%;
        left: 25%;
        width: 50%;
        border-bottom: 1px solid #B1B1B1;
    }
}

/* End: two-logo-row -- Custom class for group/row block  */

/* White header */
.is-style-heading-white-title {
    color: #fff !important;
    text-align: center;
    font-family: Georgia, sans-serif;
    font-style: italic;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-shadow: 3px 1px 6px rgba(0, 0, 0, 27%);
}

/* Cover image (ideally used with white header as overlaying h2, etc) */
.wp-block-cover {
    width: 100%;
    min-height: 0;
}

.wp-block-cover,
.wp-block-cover > img {
    border-radius: 7px;
}

/* Start: Lesson cards */
.lesson-card {
}

.lesson-card a {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;

    max-width: 350px;

    border-radius: 7px;
    overflow: hidden;
    text-align: center;
    color: #FFF;
    height: 100%;
}

.lesson-card a img {
    width: 100%;
    height: auto;
}

@supports ( object-fit: cover ) {
    .lesson-card a img {
        height: 100%;
        object-fit: cover;
    }
}

.lesson-card .lesson-card-content,
.lesson-card a img {
    grid-row: 1;
    grid-column: 1;
}

.lesson-card .lesson-card-content {
    position: relative;
    padding: 55px 10px;
    z-index: 2;

    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-content: center;

    color: #FFF;
}

.lesson-card-content .lesson-text,
.lesson-card-content .open-date {
    font-family: Gotham, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.lesson-card-content .lesson-title {
    margin: 0;
    color: #FFF;
    text-align: center;
    text-shadow: 3px 1px 6px rgba(0, 0, 0, 0.27);
    font-family: Georgia, serif;
    font-size: 32px;
    font-style: italic;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.165px;
}

/* Align last single item at 100% width */
.lesson-grid.lesson-grid--span-full .lesson-item:last-child .lesson-card-content {
    padding: 30px 10px;
}

.lesson-grid.lesson-grid--span-full .lesson-item:last-child {
    flex-basis: 100%;
}

.lesson-grid.lesson-grid--span-full .lesson-item:last-child,
.lesson-grid.lesson-grid--span-full .lesson-item:last-child a {
    max-width: none;
}

/* Align last two items at 50% width */
.lesson-grid.lesson-grid--span-half .lesson-item:nth-last-child(1) .lesson-card-content,
.lesson-grid.lesson-grid--span-half .lesson-item:nth-last-child(2) .lesson-card-content {
    padding: 30px 10px;
}

.lesson-grid.lesson-grid--span-half .lesson-item:nth-last-child(1),
.lesson-grid.lesson-grid--span-half .lesson-item:nth-last-child(2) {
    flex-basis: calc(50% - 30px);
}

.lesson-grid.lesson-grid--span-half .lesson-item:nth-last-child(1),
.lesson-grid.lesson-grid--span-half .lesson-item:nth-last-child(2),
.lesson-grid.lesson-grid--span-half .lesson-item:nth-last-child(1) a,
.lesson-grid.lesson-grid--span-half .lesson-item:nth-last-child(2) a {
    max-width: none;
}

/* End: Lesson Cards */

/* Lesson availability, driven by DTLA Lessons plugin */
.lesson-item.not-available {
    position: relative;
}

.lesson-item.not-available::before {
    content: '';
    display: block;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 7px;
    background-image: linear-gradient(180deg, rgba(61, 125, 134, 1.00) 0%, rgba(61, 125, 134, 0.00) 100%);
    background-size: 100% 100%;
    background-position: top center;
    transition: background-size 0.15s linear;
}

.lesson-item.not-available::after {
    content: '';
    display: block;
    position: absolute;
    z-index: 2;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 30px;
    background: center no-repeat;
    background-image: url(assets/images/lock.svg);
    background-size: contain;
}

.lesson-item.not-available a {
    text-decoration: none;
    cursor: default;
}

.lesson-item.is-available .open-date {
    display: none;
}

/* End: lesson availability */

/* Notices from DTLA Lessons plugin */
.dtlal-notices {
    background: #fff;
    padding: 1px 0;
}

.dtlal-notices .notice {
    max-width: 1178px;
    margin: 20px auto;

    background: #f5f5f0;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 12px;
}

.dtlal-notices .notice.notice-success {
    background: #407e3e;
    color: #fff;
}

.dtlal-notices .notice.notice-error {
    background: #9b3726;
    color: #fff;
}

.dtlal-notices .notice-content {
}

.dtlal-notices .notice-content > :first-child {
    margin-top: 0;
}

.dtlal-notices .notice-content > :last-child {
    margin-bottom: 0;
}

/* Dismissible */
.dtlal-notices .notice.is-dismissible {
    position: relative;
    padding-right: 52px;
}

.dtlal-notices .notice.is-dismissible .notice-dismiss {
    position: absolute;
    right: 20px;
    top: 9px;
    background: transparent;
    border: 1px solid #110d0a;
    height: 30px;
    width: 30px;
    border-radius: 4px;
    cursor: pointer;
}

.dtlal-notices .notice.is-dismissible .notice-dismiss:hover {
    background: #000000;
    border-color: #110d0a;
    color: #fff;
}
/* End: Notices */

/* Header Adjustments */
.header-bar .header-grid {
    padding: 14px 0;
}

@media (min-width: 1024px) {
    .header-bar .header-grid {
        display: unset;
        display: flex;
    }

    .header-bar .header-grid .header-menu > .menu {
        justify-content: left;
    }

    .header-bar .header-grid .header-nav {
        margin-left: auto;
        margin-right: auto;
    }
}

.header-bar .header-grid .header-logo img {
    width: 60px;
}

/* End Header Adjustments */

h2, h4 {
    font-size: 18px !important;
    line-height: 21.6px !important;
    letter-spacing: 1.8px !important;
    font-weight: 500;
    text-transform: uppercase;
    font-family: 'Gotham A', 'Gotham B';
}

.general-content iframe {
    max-width: 1030px;
    margin: 0 auto;
}

form .gfield.header-checkbox .gfield_checkbox label.gform-field-label {
    display: inline;
}

form .gfield.header-checkbox {
    background-color: white !important;
    top: -11px;
    margin-bottom: -11px !important;
}

.single-lesson .gform_wrapper {
    background-color: #ecece3 !important;
    max-width: 100%;
    padding: 0 !important;
}

.single-lesson .section-block .gform_wrapper {
    background: none !important;
}

.single-lesson .gform_wrapper .gform_footer {
    margin: 0 !important;
    padding: 0 !important;
}

.single-lesson .gform_wrapper .gform_footer input[type="submit"] {
    margin-bottom: 60px !important;
}

.single-lesson .block-container section {
    max-width: 100% !important;
}

.single-lesson .block-container section.video-block {
    padding: 0px 36px 60px !important;
}

.single-lesson .block-container section.video-block h2 {
    padding-top: 60px
}

.video-block .container {
    margin-bottom: 0;
}

.gfield.header-checkbox {
    margin-bottom: 0 !important;
}

.assessment-form {
    width: 95%;
}

.cohort-field.insert-cohort-announcements {
    text-align: center;
    padding-top: 68px;
    padding-bottom: 57px;
    background: #ECECE3;
    margin-bottom: 60px
}

.cohort-field.insert-cohort-announcements .announcements {
    text-align: left;
}

.cohort-field.insert-cohort-announcements .announcements .announcement {
    position: relative;
}

.cohort-field .announcements .announcement:after {
    position: absolute;
    bottom: 0;
    content: ' ';
    width: calc(100vw - 70px);
    border-bottom: 1px solid #CECECE;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1360px;
}

.cohort-field .announcements .announcement:last-of-type:after {
    display: none;
}

.cohort-field .announcements h2 {
    margin-top: 0;
    color: #000;
    text-align: center;
    font-family: 'Gotham A', 'Gotham B';
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 35px;
}

.cohort-field .announcements .announcement .announcement-content p:last-child {
    margin-bottom: 10px;
}

.cohort-field .announcements .announcement:first-child {
    padding-top: 0;
}

.cohort-field .announcements .announcement {
    padding-top: 48px;
    padding-bottom: 40px;
    width: 90%;
    max-width: 1167px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cohort-field .announcements .announcement:last-child {
    padding-bottom: 0;
}

.cohort-field .announcements .announcement .announcement-date {
    font-size: 13px;
    font-style: normal;
    letter-spacing: -0.13px;
    line-height: 150%;
    font-weight: 300;
    font-family: 'Gotham A', 'Gotham B';
    color: #272727;
    margin-bottom: 0;
}

.cohort-field .announcements .announcement .announcement-content p {
    text-wrap: initial;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 172%;
    letter-spacing: -0.4px;
}

.cohort-field .announcements .announcement .announcement-content p:first-of-type {
    margin-top: 0;
}

.cohort-field .announcements .announcement .announcement-content p:last-of-type {
    margin-bottom: 0;
}

.cohort-field.insert-cohort-bottom-message {
    background: #ffffff;
    padding-top: 68px;
    padding-bottom: 57px;
    margin-bottom: 00px
}

.assessment-form.gform_confirmation_wrapper {
    padding-top: 60px;
    padding-bottom: 60px;
    width: 100%;
}

.lesson-grid h2.lesson-title {
    letter-spacing: 0 !important;
    font-size: 32px !important;
    line-height: 1.2em !important;
}

.lesson-card-content .lesson-text, .lesson-card-content .open-date {
    font-family: 'gotham A', 'gotham B';
    font-size: 15px !important;
}

.lesson-grid > .lesson-item a:hover {
    text-decoration: none !important;
}

.lesson-card .lesson-card-content {
    gap: 25px;
}

.gform_confirmation_message {
    background-color: white !important;
    text-align: center;
    background: white;
    position: relative;
    padding-top: 0;
    padding-bottom: 0;
    width: calc(100vw);
    margin-left: calc(-50vw + 50%);
}

.gform_confirmation_message h2 {
    margin-top: 0;
}

section.resources .container .resource-group {
    margin-bottom: 0;
}

.resource img {
    width: auto;
    max-height: 390px;
}

.lesson-grid .lesson-item img {
    transform: scale(1);
    transition: transform 0.7s;
}

.lesson-card.is-available:hover img {
    transform: scale(1.2);
    transition-duration: 0.7s;
}


.lesson-complete-message {
    background: white;
    padding-top: 60px;
    padding-bottom: 60px;
    max-width: 100% !important;
}

.lesson-complete-message h2 {
    margin-bottom: 40px;
    margin-top: 0;
}

.sso_login_buttons a {
    display: block;
    max-width:240px;
    margin:0 auto;
    text-align:center;
    
    justify-content: center;

    font-size: 17px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.17px;

    color: #110d0a;
    background-color: transparent;
    border: 1px solid #110d0a;

    padding: 18px 36px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.1s linear;
}

#loginform label {
    display:block;
}

#loginform input[type=text],
#loginform input[type=password],
#loginform input[type=submit] {
    display:block;
    width:100%;
}

/* Quiz Attempts plugin */
.quiz-result-message {
    text-align: center;
}