@font-face {
    font-family: 'Avenir Heavy';
    src: url("/static/studio/redfid-theme/fonts/Avenir-Heavy.1950c9e43b17.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir Regular';
    src: url("/static/studio/redfid-theme/fonts/Avenir-Regular.77ce85fec67e.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: white !important;
}

@media screen and (min-width: 992px) {

    .courses-container {
        max-width: 940px !important;
        margin: 0px auto 10px auto !important;
        padding-top: 0 !important;
    }

    .header-logo a .logo {
        height: 60px !important;
    }

}

header#header {
    height: 89px;
}

.header-bar {
    height: 17px;
    background-color: #40b4ba !important;
}

.header-container {
    max-width: 940px;
    display: flex;
    margin: auto;
    justify-content: space-between;
    padding: 0 20px;
    height: 72px;
    align-items: center;
}

.header-navigation-container {
    display: flex;
    align-items: center;
}

.header-navigation-link {
    text-decoration: none !important;
    font-weight: bold !important;
    font-family: 'Avenir Regular' !important;
    font-size: 15.2px;
    background-color: white !important;
    color: #40b4ba !important;
    padding: 0 30px;
}

.header-navigation-link p {
    padding: 5px 0;
}

.header-navigation-link:hover {
    text-decoration: none !important;
    color: white !important;
    background-color: #40b4ba !important;
}

.header-navigation-link-active {
    text-decoration: none !important;
    font-weight: bold !important;
    font-family: 'Avenir Regular' !important;
    font-size: 15.2px;
    background-color: #40b4ba !important;
    color: white !important;
    padding: 0 30px;
}

.header-navigation-link-active p {
    padding: 5px 0;
}

.header-logo {
    height: 60px;
    width: auto;
}

.header-login-container {
    display: flex;
    align-items: center;
    font-size: 0.9em;
}

.login-button {
    background-color: #40b4ba !important;
    color: white !important;
    border: none !important;
    padding: 8px 15px !important;
    font-weight: bold !important;
    font-size: 1em !important;
    margin: 0 20px !important;
    text-decoration: none !important;
    border-radius: 5px !important;
}

.register-button {
    color: #40b4ba !important;
    font-weight: bold !important;
    text-decoration: none !important;
    margin-right: 15px;
    font-family: "Avenir Regular" !important;
}

.header-trigger {
    display: none;
    cursor: pointer;
    font-size: 20px;
    padding: 5px;
    margin: 10px;
    color: #646464
}

.header-navigation-container-mobile {
    display: none;
    z-index: 10000;
    position: absolute;
    width: 100%;
    top: 89px;
    left: 0;
    background-color: #fff;
    box-shadow: 0px 6px 4px -4px #cccccc;
    transition: all 0.3s ease;
}

.header-user-container-mobile {
    display: none;
    position: absolute;
    z-index: 10000;
    width: fit-content;
    top: 89px;
    right: calc(50% - 470px);
    background-color: #fff;
    border: 1px solid #ccc;
    transition: all 0.3s ease;
}

@media screen and (min-width: 921px) {

    .header-navigation-container-mobile {
        display: none !important;
    }

    .header-navigation-logo-mobile {
        display: none !important;

    }

    .hide-on-desktop {
        display: none !important;
    }

    .footer-bar {
        height: 40px;
        background-color: #eb947e;
        margin-bottom: 20px;
    }

    .footer-text-1 {
        color: #646464;
        font-size: 0.85em !important;
        padding: 0 20px;
        max-width: 940px !important;
        text-align: center !important;
        margin: 0px auto;
        line-height: 20px;
    }

    .footer-text-2 {
        color: #40b4ba !important;
        text-decoration: none !important;
        font-size: 0.85em !important;
        padding: 0 10px;
        max-width: 940px !important;
        text-align: center !important;
        margin: 8px auto;
        display: block;
        width: fit-content;
    }

    .footer-text-3 {
        color: #646464;
        font-size: 0.85em !important;
        padding: 0 20px;
        max-width: 940px !important;
        text-align: center !important;
        margin: 0px auto 10px auto;
    }

}

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

    .header-navigation-link,
    .header-navigation-link-active,
    .header-login-container {
        display: none;
    }

    .header-navigation-container {
        display: none;
    }

    .header-navigation-logo {
        display: none;
    }

    .header-navigation-container-mobile {
        display: none;
    }

    .header-trigger {
        display: grid;
        place-items: center;
    }

    .footer-bar {
        height: 20px;
        background-color: #eb947e;
        margin-bottom: 20px;
    }

    .footer-text-1 {
        color: #646464;
        padding: 0 20px;
        max-width: 940px !important;
        text-align: center !important;
        margin: 0px auto;
        line-height: 20px;
    }

    .footer-text-2 {
        color: #40b4ba !important;
        text-decoration: none !important;
        padding: 0 10px;
        max-width: 940px !important;
        text-align: center !important;
        margin: 8px auto;
        display: block;
        width: fit-content;
    }

    .footer-text-3 {
        color: #646464;
        padding: 0 20px;
        max-width: 940px !important;
        text-align: center !important;
        margin: 0px auto 10px auto;
    }

    .footer-container {
        display: none;
    }

    .footer-container-mobile {
        display: block !important;
    }

    footer {
        font-size: 0.7em;
    }

    .footer-bar {
        height: 20px;
    }

    .footer-logos-container-1 {
        max-width: 90%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        margin: auto;
        gap: 20px;
    }

    .footer-logos-container-2 {
        max-width: 90%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        margin: 50px auto;
        gap: 15px;
    }

    .footer-logos-container-1 img {
        flex: 1;
        max-width: 25%;
        margin: 0;
        padding: 0;
    }

    .footer-logos-container-2 img {
        flex: 1;
        max-width: 20%;
        margin: 0;
        padding: 0;
    }
}

.header-navigation-link-mobile {
    width: 100% !important;
    display: inline-block !important;
    font-weight: bold !important;
    text-decoration: none !important;
    background-color: white;
    color: #40b4ba !important;
    padding: 21px 30px;
    font-family: 'Avenir Regular' !important;
}

.header-navigation-link-mobile:hover {
    background-color: #40b4ba !important;
    color: white !important;
}

.header-navigation-link-mobile-active {
    width: 100% !important;
    display: inline-block !important;
    text-decoration: none !important;
    font-weight: bold !important;
    background-color: #40b4ba !important;
    color: white !important;
    padding: 21px 30px !important;
    font-family: 'Avenir Regular' !important;
}

.header-usericon {
    width: 40px;
    border-radius: 50%;
}

.toggle-user-menu {
    cursor: pointer;
}

.header-navigation-logo {
    align-items: center;
    display: flex;
}

.new-course-button {
    background-color: #eb947e !important;
    border: #eb947e !important;
    padding: 10px !important;
}

.button-new {
    background-color: #eb947e !important;
    border: #eb947e !important;
    color: white !important;
}

.button-reindex {
    background-color: #40b4ba !important;
    border: #40b4ba !important;
    color: white !important;
}

.button-toggle-expand-collapse {
    background-color: #40b4ba !important;
    border: #40b4ba !important;
    color: white !important;
}

.view-live-button {
    background-color: #40b4ba !important;
    border: #40b4ba !important;
    color: white !important;
}

.button-view {
    background-color: #40b4ba !important;
    border: #40b4ba !important;
    color: white !important;
}

.button-preview {
    background-color: #40b4ba !important;
    border: #40b4ba !important;
    color: white !important;
}

.outline-complex .outline-subsection.is-live {
    border-left-color: #40b4ba !important;
}

.page-header {
    font-family: 'Avenir Regular' !important;
    color: #646464 !important;
    font-size: 2em !important;
}

.studio-home {
    text-align: center;
    margin-top: 40px;
}

.studio-home-title {
    font-size: 1.6em;
    margin-bottom: 20px;
    font-family: "Avenir Heavy" !important;
    color: #646464;
    font-weight: bold;
}

.studio-home-subtitle {
    font-size: 1.2em;
    font-weight: bold;
    font-family: "Avenir Regular" !important;
    margin-bottom: 20px;
    color: #646464;
}

.studio-home-goback {
    font-size: 1em;
    cursor: pointer;
    margin-bottom: 600px !important;
}

.studio-home-goback a {
    color: #40b4ba;
    text-decoration: none;
}

.studio-home-goback a:hover {
    text-decoration: none !important;
}

.eol-footer-container {
    font-family: 'Avenir Regular';
    margin-right: auto;
    margin-left: auto;
}

.footer {
    text-align: center;
    font-size: 0.8em;
    margin-bottom: 10px;
    font-family: Avenir Regular;
}

.footer-container {
    max-width: 940px;
    padding: 0 20px;
    margin: auto;
}

.footer-container-mobile {
    display: none;
}

.footer-line {
    height: 1px;
    margin-top: 10px !important;
    margin-bottom: 20px !important;
    border-top: 1px solid #dddddd;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
}

.footer-bar {
    height: 40px;
    background-color: #eb947e;
    margin-bottom: 20px;
}


.footer-copyright {
    margin: 5px 10px;
    font-size: 1.1em !important;
    color: #646464;
    text-align: center;
}

.footer-logos-container {
    width: 100%;
    max-width: 940px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px auto;
}

.footer-logos-container img {
    max-width: 13%;
    max-height: 70px;
    max-height: 60px;
}