body {
    margin: 0;
    padding: 0;
    font-family: Cabin, Arial, Helvetica, sans-serif;
    color: #424242;
    line-height: 30px;
}

header {
    max-width: 1170px;
    margin: 0 auto;
}

h1, h2 {
    width: 100%;
}

h1 {
    font-size: 2em;
}

h2 {
    line-height: 1.5;
}

header h1 {
    float: left;
    background-image: url("../images/heinit_logo.png");
    text-indent: -99999px;
    width: 200px;
    height: 95px;
    background-size: cover;
}


nav {
    float: right;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    float: left;
    margin-right: 60px;
    margin-top: 60px;
    font-weight: bold;
}

nav ul li a {
    text-decoration: none;
    color: #4b4b4b;
}

nav ul li a:hover {
    color: #0b9bd8;
}

footer {
    width: 100%;
    display: flex;
    clear: both;
    background: #092A48;;
    color: #FFFFFF;
    padding: 20px 10px;
    box-sizing: border-box;
}

#introSection {
    background-image: url("../images/banner.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 150px;
    padding-right: 0px;
    padding-bottom: 120px;
    padding-left: 100px;
    color: #FFFFFF;
    clear: both;
    position: relative;
}

#introSection.secondary {
    background-image: url("../images/banner-secondary.jpg");
}

.image-tint {
    width: 100%;
    height: 100%;
    background: #000000;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.5;
    z-index: 1;
}

#introInfo {
    max-width: 1170px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

#introSection h2 {
    font-size: 42px;
    color: #FFFFFF;
    margin: 0;
    letter-spacing: 10px;
}

#introSection h2 span {
    display: block;
    color: #ffebb9;
}

#introSection.secondary h2 {
    text-transform: uppercase;
}

.intro-buttons {
    display: block;
    clear: both;
    width: 100%;
    height: 52px;
    margin: 10px 0;
}

.home-intro-paragraph {
    float: left;
    width: 100%;
}

.appointment-button {
    width: 20%;
    background: #0b9bd8;
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 6px;
    text-align: center;
    padding: 10px;
    margin-right: 20px;
    float: left;
    min-width: 160px;
}

.appointment-button:hover {
    background: #002f58;
    transition: background 0.3s linear;
}

#homeInfo {
    width: 70%;
    margin: 0 auto 40px;
}

#aboutInfo, #privacyInfo {
    width: 85%;
    margin: 0 auto 40px;
}

#landingInfo {
    width: 100%;
    margin: 0 auto;
    clear: both;
}

#privacyInfo h3, #privacyInfo h4, #privacyInfo p {
    width: 100%;
    margin: 5px;
    line-height: 25px;
}

#privacyInfo h3 {
    color: #185fa0;
    margin-top: 10px;
    border-bottom: solid 1px #e0e0e0;
}

#privacyInfo h4 {
    font-size: 1.1em;
}

#privacyInfo a {
    text-decoration: none;
    color: #0b9bd8;
}

#privacyInfo a:hover {
    text-decoration: underline;
}

.layout-row {
    max-width: 1170px;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    /* flex: 1 0 auto; */
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    align-content: stretch;
    position: relative;
}

.layout-row.landing {
    width: 70%;
}

.layout-row h1 {
    text-align: center;
    margin: 30px 0 20px 0;
    color: #155996;
    text-transform: uppercase;
}

.layout-row .home-intro {
    text-align: center;
}

.info-cards {
    padding: 10px;
    width: 48%;
    margin: 15px 0;
    float: left;
    box-shadow: 2px 2px 15px 2px #dedede;
    box-sizing: border-box;
    display: flex;
    flex: 1 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
    text-align: center;
}

.info-cards.left {
    margin-right: 2%;
}

.info-cards.grey {
    background: #d6d6d6;
    text-align: left;
    padding: 0 0 20px 0;
    display: block;
}

.info-cards.grey h2 {
    font-size: 1.1em;
    margin: 0 0 20px 0;
    background: #3c3c3c;
    padding: 10px;
    box-sizing: border-box;
    color: #FFFFFF;
    border-bottom: solid 1px #1d1c1c;
}

.info-cards.grey p {
    margin: 0 0 10px 0;
    padding: 0 10px;
    line-height: 25px;
    box-sizing: border-box;
}

.info-cards.grey ul {
    margin: 0 0 10px 0;
    line-height: 25px;
    box-sizing: border-box;
    padding: 0 20px 0 30px;
}

.info-cards h3 {
    width: 100%;
    margin: 0;
}

.info-cards.grey h3 {
    margin: 5px 0 0 0;
    font-size: 1em;
    padding: 0 10px;
    box-sizing: border-box;
}

.info-cards p {
    margin: 0 0 10px 0;
    width: 100%;
}

.info-cards a {
    display: block;
    clear: both;
}

.info-cards img {
    margin: 15px auto 20px;
}

.info-cards ul {
    margin: 0;
}

#footerContainer {
    max-width: 1170px;
    margin: 0 auto;
    width: 70%;
}

.centered {
    text-align: center;
}

.center-element {
    margin: 0 auto;
}

.left-float {
    float: left;
}

.about-image {
    width: 50%;
    box-sizing: border-box;
}

.about-image img {
    width: 100%;
}

.about-intro {
    width: 50%;
    box-sizing: border-box;
    padding: 0 0 0 5%;
}

.about-intro h2 {
    margin-top: 0px;
}

.full-width {
    background: #e0e0e0;
    margin-top: 50px;
    color: #000000;
}

.full-width h1 {
    text-align: center;
    margin: 30px 0 40px;
    float: left;
}

.team-member {
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 3px;
}

.team-member h3 {
    font-size: 1.5em;
    margin: 20px 0 0 0;
}

.team-member img {
    width: 70%;
}

.team-member p {
    margin: 5px auto 0;
    font-size: 0.8em;
    width: 90%;
}

.what-we-do {
    margin: 20px auto 40px auto;
    width: 90%;
}

.selection-header {
    display: block;
    clear: both;
    width: 100%;
    background-color: rgba(30, 67, 92, 0.41);
    margin: 9em 0 4em;
}

.selection-header h2 {
    color: #FFFFFF;
    text-align: center;
    font-size: 3em;
    margin: 0;
}

.provider-selection-button {
    background-color: rgb(72, 199, 236);
    padding: 15px 20px;
    text-decoration: none;
    color: #FFFFFF;
    font-size: 1.5em;
    display: block;
    width: 95%;
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 400px;
    height: 100%;
}

.top-toolbar {
    background: #092A48;
    color: #FFFFFF;
    display: flex;
}

.toolbar-wrapper {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
}

.top-toolbar a {
    color: #FFFFFF;
    text-decoration: none;
}

.toolbar-section {
    float: left;
    width: 33%;
    box-sizing: border-box;
    padding: 3px 0;
    font-size: 0.8em;
}

.email-icon {
    background-image: url("../images/email_icon.png");
    background-size: contain;
    width: 15px;
    height: 15px;
    float: left;
    background-repeat: no-repeat;
    margin: 6px 5% 0 10%;
}

.phone-icon {
    background-image: url("../images/phone_icon.png");
    background-size: contain;
    width: 15px;
    height: 15px;
    float: left;
    background-repeat: no-repeat;
    margin: 6px 5% 0 10%;
}

.social-icon {
    font-size: 0px;
    text-indent: -9999999px;
    float: right;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 8px 4% 5px;
    width: 15px;
    height: 15px;
}

#introSection .social-icon {
    float: left;
}

.social-icon.facebook {
    background-image: url("../images/fb_icon.png");
}

.social-icon.whatsapp {
    background-image: url("../images/wa_icon.png");
}

.social-icon.instagram {
    background-image: url("../images/insta_icon.png");
}

.social-icon.linkedin {
    background-image: url("../images/linkedin_icon.png");
}

.intro-social {
    margin-top: 20px;
}

.intro-social .social-icon {
    width: 15px;
    height: 15px;
    margin: 5px 20px;
}

#landingWrapper {
    background-image: url("../images/landing.jpg");
    background-attachment: fixed;
    background-position-x: center;
    background-position-y: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.logo-background {
    background: #FFFFFF;
    width: 100%;
    display: flex;
}

.button-wrapper {
    display: block;
    clear: both;
    width: 100%;
    text-align: center;
    max-width: 830px;
    margin: 0 auto 10em auto;
}

.button-wrapper div {
    width: 50%;
    float: left;
    height: 100%;
}

#footerLogo, #footerContact {
    width: 50%;
    float: left;
    font-size: 0.9em;
    font-family: Arial, Helvetica, sans-serif;
}

#footerLogo {
    margin-top: 10px;
}

#footerContact {
    box-sizing: border-box;
    padding-left: 10%;
}

#footerLogo img {
    width: 90%;
    max-width: 230px;
}

#footerContact h2 {
    margin: 0;
    font-size: 1.3em;
}

#footerContact p {
    margin: 0;
}

#footerContact a {
    color: #5ba2d4;
    text-decoration: none;
}

.services-button {
    width: 220px;
    background: #0b9bd8;
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 6px;
    text-align: center;
    padding: 10px;
    margin: 30px auto 0;
}

.services-button:hover {
    background: #002f58;
    transition: background 0.3s linear;
}

#mobileNav {
    display: none;
    width: 50%;
    background: #e0e0e0;
    padding: 0 0 0 10%;
    box-sizing: border-box;
    position: absolute;
    top: 74px;
    right: 0;
    z-index: 3;
    height: 100%;
    border-radius: 10px 0 0 0;
}

#mobileNav.showMobileMenu {
    display: block;
}

#mobileNav ul li {
    float: none;
    border-bottom: solid 1px #8e8e8e;
    margin-top: 30px;
    margin-right: 20px;
    padding-bottom: 10px;
}

.hamburger {
    position: absolute;
    top: 30px;
    right: 30px;
    background: url("../images/menu.png");
    width: 50px;
    height: 50px;
    text-indent: -99999px;
    font-size: 0px;
    background-size: contain;
    display: none;
}

.hamburger.open {
    background-color: #e0e0e0;
    border-radius: 10px 10px 0 0;
}

.mobile-header-image {
    width: 100%;
    display: none;
}

.mobile-intro-buttons {
    display: none;
}

.form-row {
    width: 100%;
    margin: 20px 0;
    clear: both;
}

.form-row-short {
    width: 33%;
    margin: 20px 0;
    float: left;
    box-sizing: border-box;
    padding: 0 10px 0 0;
}

.form-row-short.last {
    padding-right: 0;
}

.form-row input[type="text"], .form-row-short input[type="text"], .form-row-short input[type="email"], .form-row select {
    padding: 10px 10px;
    border: solid 1px #ababab;
    border-radius: 4px;
    width: 100%;
}

.form-row-short input[type="text"].last {
    margin-right: 0;
}

.form-row label {
    clear: both;
    display: block;
}

.form-row textarea {
    width: 100%;
    height: 200px;
    border-radius: 4px;
    border: solid 1px #ababab;
    padding: 10px;
    font-family: Arial, Helvetica, sans-serif;
}

.form-wrapper {
    float: left;
    width: 60%;
}

.form-wrapper.center-element {
    width: 80%;
}

.form-button {
    float: right;
    width: 200px;
    height: 40px;
    color: #FFFFFF;
    background: #0b9bd8;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.form-button:hover {
    background: #002f58;
    transition: background 0.3s linear;
}


.contact-info {
    float: left;
    width: 40%;
    box-sizing: border-box;
    padding: 40px 0 0 6%;
}

.contact-info p a {
    text-decoration: none;
    color: #0b9bd8;
}

.contact-info p a:hover {
    text-decoration: underline;
}

.formFilter {
	display: none;
}

.messageSuccess {
    width: 100%;
    background: #bff9bf;
    padding: 20px;
    box-sizing: border-box;
    color: #049404;
    border: solid 1px green;
}

.contact-icons {
    background-size: contain;
    float: left;
    background-repeat: no-repeat;
    margin-top: 7px;
    margin-right: 10px;
    width: 20px;
    height: 17px;
}

.contact-icons.mail {
    background-image: url(../images/email_icon.png);
}

.contact-icons.phone {
    background-image: url(../images/phone_icon.png);
}

.contact-icons.hours {
    background-image: url(../images/clock_icon.png);
}

.contact-icons.location {
    background-image: url(../images/location_icon.png);
    width: 25px;
    height: 22px;
    margin-top: 5px;
}

.privacy-policy {
    width: 100%;
    text-align: center;
    font-size: 0.8em;
    float: left;
    background-color: #092a48;
    color: #FFFFFF;
}

.privacy-policy a {
    color: #5ba2d4;
    text-decoration: none;
}

#privacyInfo p.last-updated {
    margin-top: 30px;
}

/* Media Queries below this point */

@media only screen and (min-width: 1073px) {
    #mobileNav.showMobileMenu {
        display: none;
    }
}

@media only screen and (max-width: 1072px) {
    .top-toolbar {
        display: none;
    }

    #desktopNav {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

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

    header h1 {
        width: 150px;
        height: 75px;
    }

    .selection-header {
        margin: 5em 0 4em;
    }

    .selection-header h2 {
        font-size: 2.2em;
    }

    .button-wrapper div {
        width: 100%;
        height: auto;
        margin-bottom: 30px;
    }

    .provider-selection-button {
        height: auto;
    }

    #footerContact h2 {
        font-size: 1.2em;
    }

    #introSection {
        padding-left: 5%;
    }

    .info-cards {
        width: 100%;
    }

    .team-member h3 {
        font-size: 1.1em;
    }

    .about-image {
        width: 100%;
    }

    .about-intro {
        width: 100%;
        margin-top: 20px;
        padding: 0;
    }

    .form-row-short {
        width: 100%;
        margin: 10px 0;
        padding: 0;
    }

    .contact-info {
        padding: 30px 0 0 4%;
    }
}

@media only screen and (max-width: 650px) {
    .appointment-button {
        float: none;
        margin-bottom: 15px;
    }

    .intro-buttons {
        height: auto;
    }
}

@media only screen and (max-width: 470px) {
    #landingWrapper {
        background-image: none;
    }

    .layout-row.landing {
        width: 100%;
    }

    .selection-header {
        margin: 0 0 2em;
        background-color: rgba(30, 67, 92, 1);
    }

    .selection-header h2 {
        font-size: 1.5em;
        padding: 10px 0;
    }

    .button-wrapper {
        margin: 0 auto 3em auto;
    }

    #footerLogo, #footerContact {
        width: 100%;
        text-align: center;
    }

    #footerContact {
        padding: 0;
        margin-top: 30px;
    }

    #introSection {
        display: none;
    }

    #homeInfo {
        width: 90%;
    }

    .mobile-header-image {
        display: block;
    }

    .mobile-intro-buttons {
        display: block;
        width: 100%;
        float: left;
    }

    .appointment-button {
        margin-right: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .team-member {
        width: 100%;
    }

    .contact-info {
        width: 100%;
        padding: 30px 0 0 4%;
        border-top: solid 1px #cecece;
        margin-top: 30px;
        text-align: left;
    }

    .contact-info .appointment-button {
        margin: 0 auto;
    }

    .form-wrapper {
        width: 100%;
    }

    .form-row {
        text-align: center;
    }

    .form-button {
        float: none;
    }

    .form-row textarea {
        margin-top: 12px;
    }
}