@charset "UTF-8";
/* CSS Document */

/* ----------- NORMALIZER ----------- */
* {
    -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
      margin: 0;
    padding: 0;
}


/* ----------- Reset Styles ----------- */

html {
    color: #4A4A4A;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    margin-top: 77px !important;
}

p {
    color: #4A4A4A;
    font-size: 16px;
    line-height: 1.5em;
}

a {
    color: #307FE2;
    text-decoration: none;
    -webkit-transition: all 0.1s ease-in 0s;
    -moz-transition: all 0.1s ease-in 0s;
    transition: all 0.1s ease-in 0s;
}
    
    a:visited {
        color: #307FE2;
    }

    a:hover {
        color: #0A4BB8;
        text-decoration: underline;
    }

    a:active {
        color: #0A4BB8;
        text-decoration: underline;
    }

/* ----------- CTA Styles ----------- */

.green-cta {
    background-color: #43B02A;
    border-radius: 0px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: 'Roboto Slab', serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    margin: 0 18px 0 0;
    padding: 6px 0;
    width: 154px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}
    
    .green-cta:visited {
        background-color: #43B02A;
        color: #fff;
    }

    .green-cta:hover {
        background-color: #177B00;
        color: #fff;
        font-weight: 400;
        text-decoration: none;
    }

    .green-cta:active {
        background-color: #177B00;
        color: #fff;
        text-decoration: none;
    }

.cta-arrow {
    display: inline-block;
    height: 8px;
    margin-left: 6px;
    width: 16px;
    transition: transform 0.6s;
      transform-style: preserve-3d;
}    

.open .cta-arrow {
    transform: rotateX(180deg);
}

.blue-cta {
    background-color: #307FE2;
    border-radius: 0px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: 'Roboto Slab', serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    margin: 0 18px 0 0;
    padding: 6px 0;
    width: 154px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

    .blue-cta:visited {
        background-color: #307FE2;
        color: #fff;
    }

    .blue-cta:hover {
        background-color: #0A4BB8;
        color: #fff;
        font-weight: 400;
        text-decoration: none;
    }

    .blue-cta:active {
        background-color: #0A4BB8;
        color: #fff;
        text-decoration: none;
    }


/* ----------- Primary Navigation Styles ----------- */

.navbar-cerca {
    background-color: #fff;
    height: 77px;
    left: 0;
    padding: 0 15px;
    position: fixed;
    top: 0;
    width: 100%;
    transition: .2s;
    z-index: 10;
}

    /* Logo */

    .logo-container {
        height: 41px;
        margin: 18px 0;
        width: 200px;
        transition: .2s;
    }

    .logo {
        display: block;
        height: 41px;
        width: 140px;
        transition: .2s;
    }

    .logo-img {
        height: 41px;
        width: auto;
        transition: .2s;
    }

    .icon-img {
        display: none;
        height: 41px;
        width: auto;
        transition: .2s;
    }

    /* Primary Nav */

    .primary-nav {
        list-style: none;
        margin: 0;
    }

    .primary-nav-item {
        position: relative;
        margin: 0;
    }

    .primary-nav-link {
        color: #58595B;
        display: block;
        font-family: 'Roboto Slab', serif;
        font-size: 20px;
        font-weight: 400;
        padding: 26.5px 20px;
    }
        .primary-nav-link:visited {
            color: #58595B;
        }

        .primary-nav-link:hover {
            background-color: #307FE2;
            color: #fff;
            font-weight: 400;
            text-decoration: none;
        }

        .primary-nav-link:active {
            background-color: #307FE2;
            color: #fff;
            text-decoration: none;
        }

        .primary-nav-item:hover > .primary-nav-link {
            background-color: #307FE2;
            color: #fff;
            font-weight: 400;
            text-decoration: none;
        }

    /* Subnav */

    .subnav {
        background-color: #307FE2;
        border: 16px solid #fff;
        border-radius: 0px;
        box-shadow: 0px 0px 6px rgba(34, 34, 34, .6);
        color: #fff;
        display: none;
        left: 50%;
        list-style: none;
        margin-left: -185px;
        padding: 24px 0;
        position: absolute;
        width: 370px;
    }

        .subnav:before {
            content: "";
            border-left: 15px solid transparent;
            border-right: 15px solid transparent;
            border-bottom: 15px solid #fff;
            height: 0;
            left: 46%;
            position: absolute;
            top: -30px;
            width: 0;
        }

    .primary-nav-item:hover .subnav {
        display: block;
    }

    .subnav-item {
        padding: 8px 0;
    }

    .subnav-link {
        color: #fff;
        display: block;
        font-family: 'Roboto Slab', serif;
        font-size: 18px;
        font-weight: 300;
        padding: 8px 20px;
    }

        .subnav-link:visited {
            color: #fff;
            text-decoration: none;
        }

        .subnav-link:hover {
            color: #fff;
            background-color: #74a3e5;
            font-weight: 300;
        }

    /* Nav Sign In and Logn In CTAs */

    .educator-login-menu {
        position: relative;
    }

    .nav-cta-btns {
        padding-top: 4px;
    }

    .educator-login-subnav {
        background-color: #fff;
        border: 16px solid #fff;
        border-radius: 0px;
        box-shadow: 0px 0px 6px rgba(34, 34, 34, .6);
        display: none;
        position: absolute;
        bottom: -140px;
        left: 0;
        width: 154px;
        transition: transform 0.6s;
          transform-style: preserve-3d;
    }

        .educator-login-subnav:before {
            content: "";
            border-left: 15px solid transparent;
            border-right: 15px solid transparent;
            border-bottom: 15px solid #fff;
            height: 0;
            left: 38%;
            position: absolute;
            top: -30px;
            width: 0;
            z-index: 5;
        }

        .educator-login-subnav:after {
            content: "";
            border-left: 15px solid transparent;
            border-right: 15px solid transparent;
            border-bottom: 15px solid #ccc;
            height: 0;
            left: 38%;
            position: absolute;
            top: -31px;
            width: 0;
        }

    .educator-subnav-link {
        background-color: #43B02A;
        border-radius: 0px;
        color: #fff;
        cursor: pointer;
        display: block;
        font-family: 'Roboto Slab', serif;
        font-size: 18px;
        font-weight: 400;
        line-height: 22px;
        margin: 0 18px 0 0;
        padding: 8px 0;
        width: 100%;
        text-align: center;
        text-decoration: none;
    }

        .educator-subnav-link:visited {
            background-color: #43B02A;
            color: #fff;
            text-decoration: none;
        }

        .educator-subnav-link:hover {
            background-color: #177B00;
            color: #fff;
            font-weight: 400;
            text-decoration: none;
        }

        .educator-subnav-link:active {
            background-color: #177B00;
            color: #fff;
            text-decoration: none;
        }

    .open .educator-login-subnav {
        display: block;
    }

    /* Small Nav */

    .small .navbar-cerca {
        box-shadow: 0 0 4px 0 rgba(0,0,0,0.19);
        height: 50px;
    }

    .small .logo-container {
        height: 28px;
        margin: 11px 0;
    }

    .small .logo {
        height: 28px;
    }

    .small .logo-img {
        height: 28px;
    }

    .small .icon-img {
        height: 28px;
    }

    .small .primary-nav-item {
        margin: 0;
    }

    .small .primary-nav-link {
        padding: 13px 20px;
    }

    .small .nav-cta-btns {
        padding: 0;
    }

.mobile-menu {
    display: none;
}


/* ----------- Global Styles ----------- */

.column-8 {
    width: 66%;
}

.column-6 {
    padding: 0 15px;
    width: 50%;
}

.column-4 {
    width: 34%;
}

.flex-center {
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: relative;
}

.flex-stretch {
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
}

.flex-stretch-top {
    align-items: flex-start;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
}

.flex-left {
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    position: relative;
}

.flex-right {
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    position: relative;
}

.inner-wrapper {
    margin: 0 auto;
    max-width: 1170px;
    padding: 0 15px;
}

.inner-wrapper-wide {
    margin: 0 auto;
    width: 94%;
}

.margin-bottom-8 {
    margin-bottom: 8px;
}

/* ----------- Media Queries ----------- */

@media screen and (max-width: 992px) {
    .inner-wrapper {
        max-width: 970px;
    }

    .logo-container {
        width: 140px;
    }
}

@media screen and (max-width: 899px) {
    .inner-wrapper-wide {
        width: 100%;
    }

    .navbar-cerca {
        padding: 0;
    }

    .navbar-cerca .primary-nav {
        display: block;
    }

    .mobile-menu {
        cursor: pointer;
        display: block;
        margin-right: 15px;
        padding: 4px 0 0 0;
    }

    .logo-container {
        margin-left: 15px;
    }

    .top-menu-container {
        background-color: #307FE2;
        box-shadow: 0px 0px 6px rgba(34, 34, 34, .6);
        display: none;
        height: 100vh;
        padding: 32px 20%;
        position: absolute;
        text-align: center;
        top: 77px;
        width: 170%;
    }

    .small .top-menu-container {
        top: 50px;
    }

    .small .logo-container {
        margin: 11px 0 11px 15px;
    }

    .small .primary-nav-link {
        padding: 25px 20px;
    }

    .mobile .top-menu-container {
        display: block;
    }

    .primary-nav-link {
        color: #fff;
    }

    .primary-nav-link:visited {
        color: #fff;
    }

    .primary-nav-link:hover {
        color: #fff;
        background-color: #74a3e5;
        font-weight: 400;
    }

    .primary-nav-link:active {
        color: #fff;
        background-color: #74a3e5;
    }

    .primary-nav-item:hover > .primary-nav-link {
        color: #fff;
        background-color: none;
    }

    .subnav {
        border: 0;
        box-shadow: 0 0 0 transparent;
        display: block;
        left: 0;
        margin: 0 auto;
        padding: 0;
        position: relative;
        width: 100%;
    }

    .subnav:before {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .inner-wrapper {
        max-width: 750px;
    }
}

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

    .top-menu-container {
        width: 190%;
    }

    .logo-img {
        display: none;
    }

    .icon-img {
        display: block;
    }

    .green-cta, .blue-cta {
        font-size: 13px;
        margin: 0 12px 0 0;
        width: 110px;
    }
}