body {
    font-family: 'Open Sans', sans-serif;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: #7E7E7E;
    line-height: 24px;
    overflow-x: hidden;
}

html,
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}




/* Transitional Effects */

#header,
.header-contact,
#private-patients ul li i,
.contact-form input,
.contact-form textarea {
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

#header h1,
#header h1 img,
#header nav ul a:after,
#header nav ul a:hover:after,
#header nav ul a:focus:after {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
}




/* Base */

.header-container-1000 {
    position: relative;
    max-width: 1000px;
    width: 98%;
    height: 100%;
    margin: 0 auto;
}

.container-1000 {
    position: relative;
    max-width: 1000px;
    width: 98%;
    height: 100%;
    margin: 0 auto;
    padding: 100px 15px;
}

.container-1400 {
    position: relative;
    max-width: 1400px;
    width: 98%;
    height: 100%;
    margin: 0 auto;
    padding: 100px 15px;
}

.footer-container-1000 {
    position: relative;
    max-width: 1000px;
    width: 98%;
    height: 100%;
    margin: 0 auto;
    padding: 30px 15px;
}

section header {
    border-bottom: 2px solid #57c9eb;
    margin-bottom: 50px;
    padding-bottom: 15px;
}

section header h2 {
    font-family: 'Merriweather', serif;
    color: #00acef;
    font-size: 40px;
    margin: 0;
    font-weight: 100;
    text-align: center;
}

aside img {
    display: block;
    width: 100%;
}




/* SCROLL BAR */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.380);
    background: #fff;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #00acef;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.10);
}




/* CONTINUE BUTTONS */

.find-out-more {
    display: block;
    width: 160px;
    text-align: center;
    position: relative;
    margin: 40px auto 30px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 200;
    text-decoration: none;
    line-height: 24px;
    font-size: 18px;
    font-weight: 700;
}

.get-in-touch {
    display: block;
    width: 140px;
    text-align: center;
    position: relative;
    margin: 40px auto 30px;
    text-transform: uppercase;
    color: #00acef;
    font-weight: 200;
    text-decoration: none;
    line-height: 24px;
    font-size: 18px;
}

.get-in-touch .fa-chevron-down,
.find-out-more .fa-chevron-down {
    clear: both;
    font-size: 34px;
    display: block;
    -moz-animation: arrow-bounce 2s infinite;
    -webkit-animation: arrow-bounce 2s infinite;
    animation: arrow-bounce 2s infinite;
}

.find-out-more .fa-chevron-down {
    color: #fff;
}

.get-in-touch .fa-chevron-down {
    color: #00acef;
}


@keyframes arrow-bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        -moz-transform: translateY(0px);
        -ms-transform: translateY(0px);
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
    }

    40% {
        -moz-transform: translateY(-15px);
        -ms-transform: translateY(-15px);
        -webkit-transform: translateY(-15px);
        transform: translateY(-15px);
    }

    60% {
        -moz-transform: translateY(-7.5px);
        -ms-transform: translateY(-7.5px);
        -webkit-transform: translateY(-7.5px);
        transform: translateY(-7.5px);
    }
}




/* HEADER */

#header {
    position: fixed;
    width: 100%;
    height: 90px;
    z-index: 999;
}

#header h1 {
    float: left;
    padding: 5px 10px;
    margin: 0;
    position: relative;
    top: 20px;
    max-width: 420px;
    min-width: 210px;
    width: 44%;
}

#header h1 img {
    width: 100%;
    max-width: 400px;
}

#header h1 .main-logo {
    display: block;
}

#header h1 .sub-logo {
    display: none;
}

#header a {
    color: #00acef;
    font-weight: 500;
}

#header a:hover {
    color: #fff;
}

#header.header-scroll {
    position: fixed;
    width: 100%;
    color: #fff;
    background: #fff;
    z-index: 999;
    border-bottom: 3px solid #00acef;
}

#header.header-scroll a {
    color: #7E7E7E;
}

#header.header-scroll h1 {
    max-width: 230px;
    top: 0;
    height: 80px;
    padding-top: 8px;
}

#header.header-scroll .main-logo {
    display: none;
}

#header.header-scroll .sub-logo {
    display: block;
}




/* NAV */

.menu-button {
    display: none;
}

#header nav {
    float: right;
    width: 450px;
}

#header.header-scroll nav {
    display: block;
}

#header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: right;
}

#header nav ul li {
    display: inline-block;
    margin: 0 5px;
    position: relative;
    height: 90px;
}

#header nav ul li a {
    text-decoration: none;
    display: block;
    padding: 43px 5px 0;
}

#header nav ul a:after,
#header nav ul a:hover:after,
#header nav ul a:focus:after {
    content: '';
    height: 0;
    width: 100%;
    position: absolute;
    right: 0;
    top: 0;
    background: #00acef;
    z-index: -1;
}

#header.header-scroll .active a,
#header.header-scroll a:hover {
    color: #fff;
}

#header nav ul>.active>a:after,
#header nav ul>.active>a:hover:after,
#header nav ul>.active>a:focus:after,
#header nav ul a:hover:after {
    width: 100%;
    height: 100%;
}




/* BANNER */

#header-banner {
    height: calc(100vh + 5px);
    border-bottom: 5px solid #f9f9f9;
    position: relative;
}

#header-banner .banner-content {
    position: relative;
    text-align: center;
    top: 30%;
    display: block;
    max-width: 600px;
    width: 100%;
    float: right;
    line-height: 40px;
    text-transform: uppercase;
}

.banner-content span {
    font-weight: 700;
    margin: 20px 0;
    display: block;
    font-size: 20px;
    color: rgb(6, 143, 196);
}

.header-contact {
    display: block;
    background: rgb(0, 172, 239);
    color: #fff;
    max-width: 280px;
    margin: 0 auto;
    text-decoration: none;
    font-size: 20px;
    padding: 10px 15px;
    border-radius: 5px;
}

.header-contact:hover {
    background: rgb(79, 178, 208);
    text-decoration: none;
    padding: 13px 18px;
}

.header-tel {
    color: #5c87b7;
    text-decoration: none;
    font-size: 60px;
    font-weight: 700;
    display: block;
}




/* HEADER HEADLINE */

#header-banner header {
    position: absolute;
    bottom: 0;
    margin: 0;
    border: 0;
    width: 100%;
    padding: 0;
}

#header-banner header h2 {
    margin: 0;
    border: 0;
    width: 100%;
    padding: 0;
    background: rgba(255, 255, 255, 0.85);
    padding: 40px 20px 40px 20px;
    line-height: 50px;
    font-weight: 400;
}

#header-banner .header-invisalign h2 {
    padding: 15px 20px 40px 20px;
}

#header-banner header h2 img {
    max-width: 270px;
    display: inline-block;
    position: relative;
    top: 19px;
}




/* ABOUT */

#about .container-1000 {
    padding-bottom: 0;
}

#about header {
    width: 80%;
}

#about header h2 {
    padding-left: 20px;
    text-align: left;
}

#about p {
    width: 56%;
}

#about aside {
    position: absolute;
    right: 0;
    max-width: 420px;
    width: 46%;
    bottom: 0;
}




/* PRIVATE PATIENTS HEADLINE */

#private-patients-intro {
    border-top: 3px solid #f9f9f9;
    text-align: center;
    background: rgba(7, 108, 147, 0.5);
}

#private-patients-intro header {
    border: 0;
}

#private-patients-intro header hgroup * {
    margin: 0;
}

#private-patients-intro h2 {
    color: #fff;
    font-size: 25px;
    font-weight: 700;
    padding-bottom: 20px;
    line-height: 30px;
}

#private-patients-intro h3 {
    color: #fff;
    font-size: 50px;
    font-weight: 700;
    padding-bottom: 40px;
    border-bottom: 1px solid #fff;
}

#private-patients-intro h4 {
    color: #fff;
    font-size: 25px;
    padding: 30px 0 15px 0;
    line-height: 30px;
}

#private-patients-intro h5 {
    color: #fff;
    font-size: 18px;
}




/* PRIVATE PATIENTS MAIN */

#private-patients {
    background: rgba(20, 89, 116, 0.8);
    color: #fff;
    text-align: center;
}

#private-patients ul {
    padding: 0;
    margin: 50px 0;
    position: relative;
}

#private-patients ul li {
    list-style: none;
    display: inline-block;
    vertical-align: top;
    width: 22%;
    margin: 0 1%;
}

#private-patients ul li i {
    list-style: none;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    width: 130px;
    height: 130px;
    vertical-align: top;
    font-size: 40px;
    background: rgba(255, 255, 255, 0.15);
    line-height: 120px;
}

#private-patients ul li:hover i {
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 30px;
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    color: #fafafa;
}

#private-patients ul li article {
    display: table;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    width: 100%;
    margin-top: 20px;
    border-radius: 10px;
    padding: 5px 10px;
}

#private-patients ul li article p {
    display: table-cell;
    vertical-align: middle;
}

#private-patients-intro a,
#private-patients a {
    background: rgba(255, 171, 0, 0.80);
    display: block;
    color: #fff;
    text-align: center;
    padding: 15px 10px;
    border-radius: 5px;
    width: 220px;
    margin: 0 auto;
    text-decoration: none;
    text-transform: uppercase;
}

#private-patients-intro a:hover,
#private-patients a:hover {
    background: rgba(255, 171, 0, 0.90);
}




/* DENPLAN */

#denplan header {
    display: none;
}

#denplan .container-1000 div,
#denplan aside {
    width: 48.5%;
    display: inline-block;
    vertical-align: middle;
}

#denplan .container-1000 div {
    margin-right: 1%;
}




/* PREVENTATIVE */

#preventative-dentistry {
    background: rgba(7, 108, 147, 0.1);
}

.container-50 {
    position: relative;
    max-width: 1000px;
    height: 100%;
    margin: 0 0 0 30%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 30px 20px 20px 30px;
    color: #000;
}




/* NOTICE */

#notice {}

.notice-white {
    background: #fff;
}

.notice-blue {
    background: #00acef;
}

#notice .container-1000 {
    padding: 60px 0;
    text-align: center;
}

#notice header,
#notice header * {
    border: 0;
    margin: 0;
    padding: 0;
}

.notice-white header h2 {
    color: #00acef;
    font-size: 30px;
    font-weight: 700;
    line-height: 35px;
}

.notice-white header h3 {
    color: rgba(249, 249, 249, 0.75);
    font-size: 18px;
    font-weight: 700;
    margin-top: 10px;
}

.notice-blue header h2 {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    line-height: 30px;
}

.notice-blue header h3 {
    color: rgba(249, 249, 249, 0.75);
    font-size: 18px;
    font-weight: 700;
    margin-top: 10px!important;
}




/* CONTACT */

#contact {
    background: rgba(243, 243, 243, 0.67);
}

#contact header {
    border-bottom: 2px solid #7E7E7E;
}

#contact h2 {
    color: #7E7E7E;
}

.contact-form {
    width: 100%;
    display: inline-block;
    margin: 0;
    vertical-align: top;
    text-align: center;
}

.contact-form ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-form li {
    position: relative;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    height: 50px;
    padding: 7px 10px 7px 45px;
    margin: 0 0 11px 0!important;
    border: 0;
    border-bottom: 1px solid #7E7E7E;
    font-family: inherit;
    background-color: transparent !important;
    color: #000;
    font-size: 14px;
}

.contact-form textarea {
    padding-top: 10px;
    height: 150px;
    overflow: hidden;
}

.contact-form input:hover,
.contact-form input:active,
.contact-form input:focus {
    padding: 7px 2% 7px 14%;
}

.contact-form textarea:hover,
.contact-form textarea:active,
.contact-form textarea:focus {
    padding: 10px 2% 10px 14%;
}

.contact-form input:hover,
.contact-form input:active,
.contact-form input:focus {
    outline: none!important;
}

.contact-form li i {
    position: absolute;
    left: 10px;
    top: 15px;
    font-size: 18px;
    color: #7E7E7E !important;
}

.contact-form .submit {
    font-size: 15px;
    text-transform: uppercase;
    background: rgba(87, 201, 235, 0.5) !important;
    color: #fff;
    width: 100%;
    border: none;
    padding: 0;
}

::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: rgba(0, 0, 0, 0.7);
}

::-moz-placeholder {
    /* Firefox 19+ */
    color: rgba(0, 0, 0, 0.7);
}

:-ms-input-placeholder {
    /* IE 10+ */
    color: rgba(0, 0, 0, 0.7);
}

:-moz-placeholder {
    /* Firefox 18- */
    color: rgba(0, 0, 0, 0.7);
}

.contact-form .submit:hover {
    padding: 0;
    background: rgb(0, 172, 239) !important;
    border: 3px solid rgba(255, 255, 255, 0.35) !important;
    border: 0;
    font-size: 16px;
}

.contact-form .submit:hover {
    cursor: pointer;
}


.contact-links {
    padding: 0;
    text-align: center;
}

.contact-links li {
    list-style: none;
    display: inline-block;
    font-weight: 700;
    color: #7E7E7E;
    text-transform: uppercase;
    max-width: 275px;
    width: 100%;
    margin: 0 1%;
}

.contact-links li a {
    display: block;
    background: #00acef;
    padding: 20px;
    color: #fff;
    text-decoration: none;
    margin: 20px auto;
    font-size: 25px;
}












/* MAP */

#map {
    border-top: 3px solid #00acef;
    border-bottom: 3px solid #00acef;
}

#map iframe {
    height: 400px;
    width: 100%;
    display: block;
}

#map .overlay {
    background: rgba(87, 201, 235, 0.1);
    position: relative;
    width: 100%;
    height: 400px;
    top: 400px;
    margin-top: -400px;
}




/* FOOTER */

#footer {
    width: 100%;
    background: #F2F3EE;
    text-align: center;
}

#footer img {
    width: 250px;
    background: #fff;
    padding: 10px 15px;
}

#footer p {
    margin: 10px 0 0 0;
}

#footer a,
#footer a:active,
#footer a:visited {
    width: 100%;
    background: #F0F0F0;
    color: #7E7E7E;
}

.footer-link {
    display: block;
    text-decoration: none;
    color: #00acef!important;
    font-size: 18px;
}


.gdpr p {
    font-size: 12px;
    margin: 10px 0;
    line-height: 18px;
}

.gdpr input[type="checkbox"] {
    width: 14px !important;
    margin-left: 10px !important;
    height: 14px !important;
    border: none;
    padding: 0;
    -moz-appearance: checkbox;
    appearance: checkbox;
    -webkit-appearance: checkbox;
    margin: 0;
    margin-left: 0px;
}

.gdpr-small {
    font-size: 11px;
    text-align: center;
    clear: both;
}


.ddl-cookies-happy {
    background-color: #5c87b6 !important;
}

#ddl-cookies-header {
    background-color: #00acee !important;
}








@media (max-width: 940px) {

    /* RESPONSIVE NAV */
    #header nav {
        float: none;
        width: 100%;
    }

    #header nav ul {
        -webkit-transition: none;
        -moz-transition: none;
        -ms-transition: none;
        transition: none;
        -webkit-transform-style: preserve-3d;
        overflow: hidden;
        margin: 0 auto;
        padding-top: 25px;
        width: 100%;
        max-height: 0;
    }

    #header.header-scroll nav ul {
        padding-top: 0px;
    }

    #header nav ul.opacity {
        opacity: 0;
    }

    #header nav ul.flexnav-show {
        max-height: 2000px;
        opacity: 1;
        -webkit-transition: all .5s ease-in-out;
        -moz-transition: all .5s ease-in-out;
        -ms-transition: all .5s ease-in-out;
        transition: all .5s ease-in-out;
    }

    #header nav ul.one-page {
        position: fixed;
        top: 50px;
        right: 5%;
        max-width: 200px;
    }

    #header nav ul li {
        position: relative;
        overflow: hidden;
        width: 100%;
        height: auto;
        margin: 0;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.9);
    }

    #header nav ul li a {
        position: relative;
        display: block;
        padding: 10px 20px 10px 0;
        z-index: 2;
        overflow: hidden;
        color: #fff!important;
        background: rgb(38, 186, 243);
    }

    #header nav ul li:last-child {
        border-bottom: 0px solid rgba(255, 255, 255, 0.7);
    }

    #header nav ul li ul {
        width: 100%;
    }

    #header nav ul li ul li {
        font-size: 100%;
        position: relative;
        overflow: hidden;
    }

    #header nav ul li ul.flexnav-show li {
        overflow: visible;
    }

    #header nav ul li ul li a {
        display: block;
        background: #b2b2af;
    }

    #header nav ul ul li ul li a {
        background: #bfbfbc;
    }

    #header nav ul ul li ul li ul li a {
        background: #cbcbc9;
    }

    #header nav ul .touch-button {
        position: absolute;
        z-index: 999;
        top: 0;
        right: 0;
        width: 50px;
        height: 50px;
        display: inline-block;
        background: #acaca1;
        background: rgba(0, 0, 0, 0.075);
        text-align: center;
    }

    #header nav ul .touch-button:hover {
        cursor: pointer;
    }

    #header nav ul .touch-button .navicon {
        position: relative;
        top: 1.4em;
        font-size: 12px;
        color: #666;
    }

    .menu-button {
        position: fixed;
        font-size: 15px;
        display: block;
        padding: 1em;
        background: #00acef;
        color: #fff;
        cursor: pointer;
        right: 10px;
        top: 10px;
        width: 50px;
        height: 50px;
        text-align: center;
        border-radius: 5px;
    }

    .menu-button.one-page {
        position: fixed;
        top: 0;
        right: 5%;
        padding-right: 45px;
    }

    .menu-button .touch-button {
        display: none;
    }

    .menu-button .touch-button .navicon {
        font-size: 16px;
        position: relative;
        top: 1em;
        color: #666;
    }
    /* RESPONSIVE NAV - END */
    .header-contact {
        max-width: 250px;
        font-size: 18px;
        padding: 10px 12px;
    }

    .header-contact:hover {
        padding: 9px 11px;
    }

    .header-tel {
        font-size: 45px;
    }

    .banner-content span {
        margin: 5px 0;
        font-size: 18px;
    }

    #header-banner header h2 {
        padding: 10px 10px 10px 10px;
        line-height: 40px;
        font-size: 28px;
    }

    #header-banner .header-invisalign h2 {
        padding: 10px 10px 30px 10px;
        line-height: 40px;
        font-size: 28px;
    }

    #header-banner header h2 img {
        max-width: 210px;
        top: 17px;
    }

    #about header {
        width: 100%;
    }

    #about header h2 {
        padding: 0;
        text-align: center;
        line-height: 30px;
    }


    .find-out-more,
    .get-in-touch,
    .apply-today {
        margin: 30px auto 80px;
        line-height: 20px;
        font-size: 16px;
    }

    .get-in-touch .fa-chevron-down,
    .apply-today .fa-chevron-down,
    .find-out-more .fa-chevron-down {
        font-size: 25px;
    }
}


@media all and (max-width: 800px) {

    #private-patients ul li {
        width: 47%;
        margin: 20px 1%;
    }
}


@media all and (max-width: 765px) {

    #about aside {
        display: none;
    }

    #about p {
        width: 100%;
    }
}


@media (max-width: 690px) {

    #private-patients-intro h3 {
        font-size: 35px;
        line-height: 35px;
    }
}

@media (max-width: 650px) {
    body {
        font-size: 13px;
        line-height: 20px;
    }

    section header h2 {
        font-size: 30px;
    }

    #map iframe {
        height: 250px;
    }

    #map .overlay {
        height: 250px;
        top: 250px;
        margin-top: -250px;
    }

    .find-out-more,
    .get-in-touch,
    .apply-today {
        margin: 30px auto 70px;
        line-height: 20px;
        font-size: 16px;
    }

    .notice-white header h2 {
        font-size: 20px;
        line-height: 30px;
    }

    #denplan .container-1000 div,
    #denplan aside {
        width: 100%;
        display: block;
        text-align: center;
    }

    #denplan .container-1000 div {
        margin-right: 0%;
    }

    #denplan aside {
        max-width: 300px;
        margin: 0 auto;
        padding-top: 50px;
    }

    .container-50 {
        margin: 0 auto;
        text-align: center;
    }

    .notice-blue header h2 {
        font-size: 25px;
        line-height: 25px;
    }
}


@media (max-width: 500px) {

    #header-banner .banner-content {
        top: 15%;
    }

    .header-contact {
        font-size: 16px;
        padding: 8px 10px;
    }

    .header-contact:hover {
        padding: 8px 10px;
    }

    .header-tel {
        font-size: 40px;
    }

    .banner-content span {
        font-size: 16px;
    }

    #header-banner header h2 {
        padding: 10px 10px 10px 10px;
        line-height: 40px;
        font-size: 24px;
    }

    #header-banner .header-invisalign h2 {
        padding: 10px 10px 20px 10px;
        line-height: 40px;
        font-size: 24px;
    }

    #header-banner .header-invisalign h2 img {
        max-width: 170px;
        top: 12px;
    }

    #private-patients ul li i {
        width: 100px;
        height: 100px;
        font-size: 35px;
        line-height: 90px;
    }

    #private-patients ul li:hover i {
        font-size: 25px;
    }
}


@media (max-width: 350px) {
    section header h2 {
        font-size: 25px;
        line-height: 25px;
    }
}