body {
    font-family: 'bio-sans', sans-serif;
}

.logo {
    width: 400px;
    height: auto;
}

@media screen and (max-width: 768px) {
    .logo {
        width: 250px;
        height: auto;
    }
}

.navbar-nav {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-einstein {
    font-family: 'bio-sans', sans-serif;
    display: flex;
    height: 210px;
}

.navbar-einstein .navbar-nav .nav-link {
    letter-spacing: 3px;
    color: #000;
    font-weight: bold;
}

.navbar-einstein .navbar-nav .nav-link:hover {
    color: #000;
}

.navbar-nav {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.navbar-einstein li.dropdown.show > a.nav-link,
.navbar-einstein li > a.nav-link:hover {
    text-decoration: underline;
    text-decoration-color: #E1523D;
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
    top: 0;
    z-index: 2;
    background: #fff;
    border-radius: 0;
    border: 0;
    padding-top: 210px;
}

.navbar-expand-lg .navbar-nav .dropdown-menu:before {
    content: '';
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%), url(img/EINSTEIN_WEB_DROP_DOWN.png);
    height: 100%;
    width: calc(100% - 300px);
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
    background-repeat: no-repeat;
    background-size: cover;
}

.yamm-fw .dropdown-menu .dropdown-item {
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

.yamm-fw .dropdown-menu .dropdown-item:not(:last-of-type) {
    border-bottom: 1px solid gray;
}

.dropdown-item.active,
.dropdown-item:active,
.dropdown-item:focus,
.dropdown-item:hover {
    background-color: #F84209;
    color: #fff;
}

a.navbar-brand {
    z-index: 3;
}

a.dropdown-toggle {
    z-index: 3;
}

.nav-item.dropdown {
    display: flex;
}

.yamm .dropdown-menu {
    z-index: -1;
}


.dropdown-toggle::after {
    display: none;
}

.cta {
    min-height: 200px;
    background: rgb(0, 115, 152);
    background: linear-gradient(90deg, rgba(34, 61, 185, 1) 0%, rgba(20, 90, 183, 1) 100%);
    display: flex;
    justify-content: center;
    /* box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    padding: 3rem 0 0;
}

.cta h1 {
    margin-bottom: 2rem;
}

.cta p {
    font-family: 'cy', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

@media screen and (max-width: 768px) {
    .cta {
        padding-bottom: 2rem;
    }
}

#trends .row {
    min-height: 300px;
}

#trends .col-md-4:first-of-type {
    background-image: url('img/EINSTEIN_BIKE.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#trends .col-md-4:nth-of-type(2) {
    background-image: url('img/EINSTEIN_COUPLE.png');
    background-position: center;
    background-repeat: no-repeat;
}

#trends .col-md-4:last-of-type {
    background-image: url('img/EINSTEIN_BENCH.png');
    background-position: right;
    background-repeat: no-repeat;
}

@media screen and (max-width: 768px) {
    #trends .col-md-4 {
        height: 300px;
        width: 100%;
    }
}


@media screen and (max-width: 768px) {
    #trends {
        background-size: cover;
        min-height: 100px;
    }

    .cta p {
        font-size: 1.2rem;
    }

    #trends p {
        padding-left: 0;
    }

    #trends .col-md-4:nth-of-type(2) p {
        padding-left: 0;
    }
}

.display-3 {
    font-family: 'bio-sans', sans-serif;
    font-weight: bold;
    line-height: 100%;
    margin-bottom: 1rem;
}

.display-4 {
    font-family: 'bio-sans', sans-serif;
    font-weight: bold;
    line-height: 100%;
    margin-bottom: 1rem;
}

@media screen and (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
}

.bg-gray {
    background-color: #E8E8E8;
}

.bottom-triangle {
    width: 0;
    height: 0;
    border-top: 100px solid #E8E8E8;
    border-left: 100vw solid transparent;
}

.blob {
    background-image: url(img/EINSTEIN_SHAPE1.png);
    background-size: contain;
    background-repeat: no-repeat;
    min-height: 400px;
    height: 500px;
    display: flex;
    background-position: center;
}

.blob p {
    margin: auto;
    color: #fff;
    font-family: 'atrament-web', sans-serif;
    font-size: 1.4rem;
    padding: 0 2.2rem 0 0rem;
    max-width: 70%;
}

.blob-container {
    margin-top: auto;
    position: absolute;
    bottom: -50%;
    left: 0;
}

@media screen and (max-width: 768px) {
    .blob-container {
        position: relative;
        bottom: 0;
        left: 0;
    }
}

@media screen and (max-width: 1090px) {
    .blob p {
        padding: 3rem 1rem 0 4rem;
        max-width: 80%;
    }
}

@media screen and (max-width: 996px) {
    .blob p {
        max-width: 80%;
    }
}

@media screen and (max-width: 769px) {
    .blob {
        background-position: center;
        background-size: contain;
        height: 300px;
    }

    .blob p {
        max-width: 90%;
        padding: 0 3.4rem 0 1rem;
        font-size: 1rem;
        line-height: 100%;

    }
}

@media only screen and (min-device-width : 769px) and (max-device-width : 1024px) and (orientation : portrait) {
    .blob-container {
        bottom: -25%;
    }

    .blob {
        background-position: center;
        background-size: contain;
        height: 400px;
    }

    .blob p {
        max-width: 75%;
        padding: 1rem;
        font-size: 1.12rem;
    }

}

@media screen and (max-width: 320px) {
    .blob p {
        max-width: 90%;
        padding-left: 2.8rem;
        font-size: 1rem;
    }
}

.blob p span {
    font-size: 1.2rem;
    line-height: 100%;
    text-transform: uppercase;
    font-weight: bold;
}

.bio-sans {
    font-family: 'bio-sans', sans-serif;
}

.learn-more {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'cy', sans-serif;
}

.overflow-hidden {
    overflow: hidden;
}

a.learn-more {
    color: #000;
    letter-spacing: inherit;
    transition: letter-spacing 0.3s linear;
}

a.learn-more:hover {
    color: #000;
    text-decoration: none;
    letter-spacing: 4px;
    transition: letter-spacing 0.3s linear;
}

.gradient {
    background: -webkit-linear-gradient(90deg, rgba(0, 28, 73, 0.9) 0%, rgba(0, 56, 150, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: brightness(2);
    display: inline;
}

footer {
    background-color: #194ba8;
    color: #fff;
    margin-bottom: 2rem;
    font-family: 'cy', sans-serif;
}

footer h3 {
    text-transform: uppercase;
    font-family: 'bio-sans', sans-serif;
}

footer a {
    text-decoration: underline;
    color: #fff;
}

footer a:hover {
    color: #fff;
}

.date {
    background-color: #F84209;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 10px;
    margin-top: 5px;
    font-family: 'atrament-web', sans-serif;
}

.date .number {
    font-size: 2rem;
    line-height: 90%;
    margin-bottom: 0;
}

.date .month {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 0;
    letter-spacing: 2px;
}

#newsletter input {
    width: 100%;
    border-radius: 0;
}

.btn-einstein {
    background-color: #F84209;
    border-radius: 0;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
}

.btn-einstein-secondary {
    background-color: #194ba8;
    border-radius: 0;
    color: #fff;
    text-transform: uppercase;
}

footer .footer-content:not(:last-of-type) {
    border-right: 5px solid;
    border-image: repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px) 20;
}

footer .copyright {
    border-top: 5px solid;
    border-image: repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px) 20;
    font-family: 'Myriad Pro', sans-serif;
}

footer .social i {
    color: #25c5ec;
    font-size: 3rem;
    margin-right: 1rem;
}

@media screen and (max-width: 768px) {
    footer .footer-content:not(:last-of-type) {
        border: 0;
    }

    footer .copyright {
        border: 0;
    }
}

.services-bg {
    overflow-x: hidden;
}

.services-bg:before {
    content: "";
    width: 100vw;
    height: 157vh;
    z-index: -1;
    position: absolute;
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 1)), url(img/EINSTEIN_SERVICES_01.png) no-repeat right bottom;
    background-size: cover;
}

@media screen and (max-width: 768px) {
    .services-bg:before {
        background-position: center bottom;
    }
}

h1.gradient.cy {
    margin-top: 3rem;
    font-weight: bold;
    font-family: 'cy', sans-serif;
    mix-blend-mode: color-burn;
}

@media screen and (max-width:768px) {
    h1.gradient.cy.display-3 {
        font-size: 2.4rem;
    }
}

#services {
    background: rgb(228, 238, 255);
    background: linear-gradient(180deg, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%), url(img/EINSTEIN_BG.png);
}

.blob-big:after {
    content: '';
    background: url(img/EINSTEIN_SHAPE2.png) no-repeat;
    background-size: 60%;
    z-index: 1;
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    display: block;
    background-position: 44%;
}

#services .blob-padding {
    padding-left: 3rem;
}

@media screen and (max-width: 768px) {
    .blob-big:after {
        background-size: cover;
        background-position: center;
    }

    #services .blob-padding {
        padding-left: 0;
        padding-top: 2rem;
    }
}

.blob-big .row {
    z-index: 2;
    position: relative;
}

.einstein {
    background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.3)), url(img/EINSTEIN_BG.png);
}

p.subheader {
    font-family: 'bio-sans', sans-serif;
    color: #fff;
    font-weight: bold;
    font-size: 1.4rem;
    margin-bottom: 2rem;
    line-height: 100%;
}

@media screen and (max-width: 768px) {
    p.subheader {
        margin-bottom: 1rem;
    }
}

.cy {
    font-family: 'cy', sans-serif;
}

.light-blue {
    color: #25c5ec;
}

.display-4.cy {
    font-size: 1.8rem;
    font-weight: normal;
}

#location-nav,
#services-nav {
    box-shadow: 0 0 4px rgba(50, 50, 50, .25);
    background: #fff;
    z-index: 999;
    margin-bottom: 30px;
    padding: 15px 0 0 0;
}

.nav-pills {
    width: 100%;
    margin-top: 10px;
}

.nav-pills .nav-item {
    width: 100%;
}

.nav-pills .nav-link,
li.level2 a,
.nav-pills span {
    width: 100%;
    background-color: #fff;
    display: block;
    border-radius: 0;
    font-weight: 400;
    position: relative;
    color: #333;
    padding: 20px 15px;
    width: 100%;
    padding-right: 55px;
    background: 0 0;
    border-radius: 0;
    padding-left: 25px;
    transition: padding-left .6s;
}

.nav-pills li.nav-item a.nav-link:hover,
li.level2 a:hover {
    background-color: #F84209;
    color: #fff;
    padding-left: 35px;
    text-decoration: none;
    font-weight: 500;
}

.level2 .level2 {
    width: 100%;
}

#services-nav h3 {
    font-weight: 500;
    color: #333;
    border-bottom: none;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 25px;
}

#services-nav h3 a {
    color: #333;
}

.nav-pills .nav-item:after,
li.level2:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    content: "\f105";
    position: absolute;
    right: 15px;
    top: 5px;
    padding: 15px;
}

.nav-pills .nav-item:hover:after,
li.level2:hover:after {
    color: rgba(255, 255, 255, 0.8);
}


.hero {
    height: 46vh;
}

#side-nav {
    margin-top: -125px;
}


@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
    #side-nav {
        margin-top: -140px;
    }
}

.services-bg:before {
    background-position: center;
    height: 69%;
}

ul li.hasChildren.level1.active ul.level2.nav.nav-pills {
    display: block;
}

ul li.hasChildren.level1:not(.active) ul.level2.nav.nav-pills {
    display: none;
}

.nav-pills > li {
    float: left;
}

.nav > li {
    position: relative;
    display: block;
}

.large-nav {
    width: 100%;
}

.mobile-nav {
    display: none;
}

@media screen and (max-width: 992px) {

    .large-nav {
        display: none;
    }

    .mobile-nav {
        height: 100%;
        width: 100vw;
        margin-top: -1px;
        display: block;
    }

    .navbar-light .navbar-toggler {
        margin-right: 15px;
    }

    .mobile-nav .accordion {
        z-index: 3;
        position: relative;
    }

    .yamm .collapse {
        position: initial !important;
    }

    .navbar.container-fluid {
        padding-left: 0;
        padding-right: 0;
    }

    .accordion .card {
        border-radius: 0;
        border: 0;
    }

    #side-nav {
        margin-bottom: 2rem;
    }
}


/*
*
* ==========================================
* CUSTOM UTIL CLASSES
* ==========================================
*
*/
/* Horizontal line */
.collapsible-link::before {
    content: '';
    width: 14px;
    height: 2px;
    background: #333;
    position: absolute;
    top: calc(50% - 1px);
    right: 1rem;
    display: block;
    transition: all 0.3s;
}

/* Vertical line */
.collapsible-link::after {
    content: '';
    width: 2px;
    height: 14px;
    background: #333;
    position: absolute;
    top: calc(50% - 7px);
    right: calc(1rem + 6px);
    display: block;
    transition: all 0.3s;
}

.collapsible-link[aria-expanded='true']::after {
    transform: rotate(90deg) translateX(-1px);
}

.collapsible-link[aria-expanded='true']::before {
    transform: rotate(180deg);
}

.card-body .dropdown-item:not(:last-of-type) {
    border-bottom: 1px solid gray;
}

.card-body .dropdown-item {
    display: flex;
    justify-content: space-between;
}

.blue-text {
    color: #194ba8;
}

.blue-einstein {
    background: linear-gradient(rgba(255, 255, 255, 0.2) 90%, rgba(255, 255, 255, 1)), url(./img/EINSTEIN_CONTACT_f.png) no-repeat bottom;
    background-size: cover;
}

.blue-einstein h1 {
    font-size: 5rem;
    font-weight: bold;
    font-family: 'bio-sans', sans-serif;
    margin-top: 2rem;
}

@media screen and (max-width: 768px) {
    .blue-einstein h1 {
        font-size: 3rem;
    }

    .blue-einstein {
        background-position: bottom;
    }
}

.contact-form {
    color: #fff;
    background-color: #194ba8;
    padding: 1rem;
    font-family: 'cy', sans-serif;
}

.contact-form h3 {
    font-size: 2.4rem;
    color: #fff;
}

.form-header {
    font-size: 2rem;
    text-transform: uppercase;
}

.form-control {
    border-radius: 0;
    margin-bottom: 1rem;
    background-clip: inherit;
}

#contact #side-nav {
    margin-top: -70px;
}

button.btn.btn-einstein-secondary:hover {
    color: #fff;
}

.blob.testimonial p {
    display: flex;
    flex-direction: column;
    padding-right: 5rem;
    width: 65%;
}

#side-nav .blob p span {
    display: block;
}

#side-nav .blob-container {
    width: 500px;
    bottom: 10%;
    left: -40%;
}

.testimonials p {
    background: #194ba8;
    padding: 1rem;
    color: #fff;
    margin: 1.2rem 0;
    box-shadow: 4px 5px rgba(160, 150, 255, 0.4);
    font-size: 1.2rem;
}

.testimonials p .gradient {
    font-weight: bold;
}


@media screen and (max-width: 768px) {
    #side-nav .blob-container {
        width: 100%;
        bottom: 0;
        left: 0;
    }
    
    .testimonials p {
        font-size: 1rem;
        margin: 0.7rem 0;
    }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
    #side-nav .blob-container {
        position: absolute;
        bottom: 25%;
        width: 150%;
        left: -10%;
    }
}


/* Constant Contact Form */
div.ctct-form-embed div.ctct-form-defaults {
    padding: inherit !important;
}

div.ctct-form-embed div.ctct-form-defaults p.ctct-form-text,
div.ctct-form-embed div.ctct-form-defaults p.ctct-gdpr-text {
    font-family: 'cy', sans-serif !important;
}

div.ctct-form-embed div.ctct-form-defaults h2.ctct-form-header {
    text-transform: uppercase;
    font-family: 'bio-sans', sans-serif !important;
    font-weight: normal !important;
    font-size: 1.75rem !important;
    margin-bottom: .5rem !important;
}

.ctct-form-embed.form_0 .ctct-form-custom .ctct-form-button {
    text-transform: uppercase !important;
    font-family: 'cy', sans-serif !important;
    font-weight: bold !important;
}
