/* CLEAROUTE FONTS */
@font-face {
    font-family: "Avenir-Black";
    src:url("/fonts/Avenir/c78eb7af-a1c8-4892-974b-52379646fef4.woff2") format("woff2"),url("/fonts/Avenir/75b36c58-2a02-4057-a537-09af0832ae46.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Avenir-Heavy";
    src:url("/fonts/Avenir/0d51f252-d47b-421f-8ffe-eb417dce1b53.woff2") format("woff2"),url("/fonts/Avenir/b34d406c-b12e-4b82-892e-1bfab6517cce.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Avenir-Medium";
    src:url("/fonts/Avenir/17b90ef5-b63f-457b-a981-503bb7afe3c0.woff2") format("woff2"),url("/fonts/Avenir/c9aeeabd-dd65-491d-b4be-3e0db9ae47a0.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Avenir-Roman";
    src:url("/fonts/Avenir/b290e775-e0f9-4980-914b-a4c32a5e3e36.woff2") format("woff2"),url("/fonts/Avenir/4b978f72-bb48-46c3-909a-2a8cd2f8819c.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}
/* END CLEAROUTE FONTS */

.modal.show .modal-dialog {
    -webkit-transform: translate(0,-50%);
    -o-transform: translate(0,-50%);
    transform: translate(0,-50%);
    top: 50%;
    margin: 0 auto;
}
.modal span#userEmail-info,
.modal span#userEmail-info2 {
    color: red;
    margin-bottom: 0.5em;
    display: block;
    font-size: 14px;
}
.modal input#userEmail,
.modal input#userEmail2 {
    background: #f9f9f9 !important;
    border: 1px solid #eee;
    width: 100%;
    margin-bottom: 1em;
    border-radius: 3px;
  padding: 0.5em;
}
.cookie-banner {
  position: fixed;
  bottom: 0px;
  left: 0px;
  width: 100%;
  z-index: 999;
  border-radius: 0px;
  display: none;
}
.footer-wrap {
    background: #f3f3f3;
}
a {
  color: #336699
}
.sub-content {
    max-width: 1250px;
    margin: 0 auto 3em;
    padding: 1.5em 1.5em 0 1.5em;
}
.sub-content h4 {
    margin: 1.5em 0 .5em;
    color:#336699
}
.scroll {
    color: #fff;
    margin-top: 100px
}
#toTopBtn {
    position: fixed;
    bottom: 26px;
    right: 39px;
    z-index: 98;
    padding: 21px;
    background-color: hsla(5, 76%, 62%, .8);
  border-radius: 5px;
}
.js .cd-top--fade-out {
    opacity: .5
}
.js .cd-top--is-visible {
    visibility: visible;
    opacity: 1
}
.js .cd-top {
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s, visibility .3s, background-color .3s
}
.cd-top {
    position: fixed;
    bottom: 20px;
    bottom: var(--cd-back-to-top-margin);
    right: 20px;
    right: var(--cd-back-to-top-margin);
    display: inline-block;
    height: 40px;
    height: var(--cd-back-to-top-size);
    width: 40px;
    width: var(--cd-back-to-top-size);
    box-shadow: 0 0 10px rgba(0, 0, 0, .05) !important;
    background: url(https://res.cloudinary.com/dxfq3iotg/image/upload/v1571057658/cd-top-arrow.svg) no-repeat center 50%;
    background-color: hsla(5, 76%, 62%, .8);
    background-color: hsla(var(--cd-color-3-h), var(--cd-color-3-s), var(--cd-color-3-l), 0.8)
}







.header {
  max-width: 1250px;
  margin: auto;
}
.blue-curve {
    background: url(/images/banner-img2.png) no-repeat center bottom;
    background-size: contain;
    max-width: 100% !important;
    padding-bottom: 5em !important;
}
img.red-curve {
    width: 100%;
}
.container-fluid {
    padding: 0;
}
html, body {
  overflow-x: hidden;
}
body {
  position: relative;
  font-family: 'Roboto', sans-serif !important
}
body {
  font-family: "Helvetica",Verdana,Arial,sans-serif
}
a.nav-link {
    color: #336699 !important;
}
ul.nav {
    padding: 15px;
}
.btn.active {
  color: #FFF !important;
}
a.btn {
    padding: .8rem 1rem;
  margin: 0.2em;
  color: #FFF !important;
  text-transform: uppercase;
}
.btn-danger {
    background-color: #CC0133;
    border-color: #CC0133;
}
.btn-danger:hover {
    background-color: #B2022B;
    border-color: #B2022B;
}
.btn-primary {
    background-color: #336699;
    border-color: #336699;
}
.row.icon-list {
    max-width: 1250px !important;
    margin: auto;
}
.red-txt {
    color: #cc0133;
}
.blue-txt {
  color: #336699
}
.row.icon-list img {
    max-width: 60px;
}
.row.icon-list ul {
    padding:0;
}
.row.icon-list li {
    list-style: none;
}
.row.icon-list td {
    padding-bottom: 0.5em;
}
.icon-list .col-md-6.first {
    border-right: 1px solid #DDD;
}
.icon-list .col-md-6 {
    padding: 0 60px;
}
.red-grad {
  background:linear-gradient(360deg, #cc0033 50%, #6e0516 100%);
  color: #FFF;
  padding: 45px 30px 35px
}
.blue-grad {
  background:linear-gradient(360deg, #336699 50%, #123C52 100%);
  color: #FFF;
  padding: 45px 30px 35px
}
.row.red-grad h2, .row.blue-grad h2 {
    font-size: 60px;
}
.list-header {
    padding: 3em 1em;
    max-width: 900px;
    margin: auto;
}
.row.footer {
    background: #f3f3f3;
    text-align: center;
    padding-bottom: 45px;
    max-width: 1250px;
    margin: auto;
}
.footer img {
    max-width: 200px;
}
.footer .col-md-3 {
    padding: 45px;
}
.footer small a {
    margin: 0 0.5em;
}
/* 24 inch iMac ----------- */
@media only screen and (min-width : 1600px) {
.hero .col-md-6.last {
    padding: 13em 2em;
}
}
/* 27 inch iMac ----------- */
@media only screen and (min-width : 2400px) {
.hero .col-md-6.last {
    padding: 24em 2em;
}
}
@media (max-width: 768px) {
.icon-list .col-md-6 {
    padding: 0 30px;
}
.container-fluid {
    padding: 0;
}
.row.icon-list td {
    padding: 0.5em 0;
}
}
@media (max-width: 480px) {
ul.nav {
    padding: 15px 15px 15px 5px;
}
.container-fluid {
    padding-right: 0;
    padding-left: 0;
}
.row.red-grad h2, .row.blue-grad h2 {
    font-size: 32px;
}
a.btn {
    width: 100%;
}
.row.hero {
    background-position: left center;
    padding: 0;
}
.icon-list .col-md-6 {
    padding: 0 15px;
  font-size: 14px
}
.row.icon-list img {
    max-width: 35px;
}
.row.icon-list td {
    padding: 0.5em 0;
}
.row.icon-list h4 {
    font-size: 21px;
    margin: 0 0 1em;
}
.icon-list .col-md-6.second {
    padding-top: 2em;
}
.blue-curve {
    background-size: contain;
}
img.red-curve {
    width: 102%;
  margin-left: -0.1em
}
}

/* CLEAROUTE STYLING */

/* HEADER */
.header__wrapper {
    background-color: white;
    position: relative;
    z-index: 9999;
    width: 100%;
}

.header .nav {
    align-items: center;
    padding-top: 10px;
    padding-bottom: 4px;
}

.header .navbar-brand img {
    height: 30px;
    width: auto;
}

.header .nav-link {
    padding-top: 0;
    padding-bottom: 0;
}

.header .nav-link small {
    font-family: Avenir-Roman;
    color: #888888;
    text-transform: uppercase;
}

.header .nav-link:hover small {
    text-decoration: underline;
}
/* END HEADER */

/* HERO */
.hero {
    display: grid;
    max-width: 1440px;
    margin: 0 auto;
    line-height: normal;
}

@media (min-width: 768px) {
    .hero {
        grid-template-columns: 1fr 1fr;
    }
}


.hero .image {
    grid-area: 1 / 1;
    display: grid;
    background: url('/images/hero-bg.webp') top no-repeat;
    background-size: clamp(539px, 73.5vw + 252px, 817px);
}

.hero .doctor {
    min-height: clamp(200px, 26.4vw + 97px, 300px);
    background: url('/images/hero-luke.webp') top no-repeat;
    background-size: clamp(224px, 30.7vw + 104px, 340px);
}

.hero .image img {
    max-width: 100%;
    height: 100%;
    max-height: 700px;
    object-fit: cover;
    object-position: top;
}
.hero small {
    grid-area: 1 / 1;
    display: block;
    margin: auto 30px 0.5rem auto;
    font-family: Avenir-Roman;
    /* font-size: clamp(12px, 0.4rem + 1vw, 16px);
    color: white;
    text-shadow: 0 0 4px rgb(0,0,0); */
    font-size: clamp(7px, 0.3rem + 0.7vw, 14px);
    color: #58595B;
    text-shadow: 0 0 1px white, 0 0 1px white, 0 0 1px white, 0 0 1px white;
}

@media (min-width: 1024px) {
    .hero small {
        margin: auto auto 1rem 30px;
    }
}


.hero .content {
    padding: 0 30px;
}

@media (min-width: 1024px) {
    .hero .content {
        display: grid;
        /* grid-template-columns: 1fr auto; */
        grid-template-areas:
            'h1 h1'
            'copy copy'
            'buttons buttons'
            'legal logo';
        grid-column-gap: 1rem;
        padding: 0 70px 0 60px;
    }
}

.hero h1 {
    grid-area: h1;
    margin-top: .5em;
    margin-left: -0.1ch;
    font-family: Avenir-Medium;
    font-size: clamp(52px, 2.6rem + 2.7vw, 80px);
    color: #d1212f;
}

@media (min-width: 1024px) {
    .hero h1 {
        margin-top: 4rem;
    }
}


.hero .copy {
    grid-area: copy;
    font-family: Avenir-Roman;
    font-size: clamp(20px, 1rem + 1.1vw, 32px);
    color: #d1212f;
}

.hero .copy strong {
  font-family: Avenir-Black;
  font-size: clamp(18px, 0.9rem + 0.9vw, 28px);
  color: #1f7cac;
}

.hero .buttons {
    grid-area: buttons;
    display: grid;
    grid-template-columns: repeat(auto-fit, 250px);
    grid-row-gap: 1rem;
    margin-bottom: 1rem;
}

.hero .buttons a {
    font-family: Avenir-Heavy;
    font-size: 15px;
    text-transform: uppercase;
    text-align: center;
    color: white;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    text-decoration: underline;
}

.hero .buttons a:hover,
.hero .buttons a:focus {
    transform: scale(0.95);
    text-decoration: none;
}

.hero .buttons a:first-child {
    display: inline-block;
    background-color: #d1212f;
    clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
    margin-right: -10px;
    padding: 8px 20px;
}

.hero .buttons a:first-child:hover,
.hero .buttons a:first-child:focus {
    background-color: white;
    color: #d1212f;
}

.hero .buttons a:last-child {
    display: inline-block;
    background-color: #1f7cac;
    clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
    padding: 8px 40px;
}

.hero .buttons a:last-child:hover,
.hero .buttons a:last-child:focus {
    background-color: white;
    color: #1f7cac;
}

.hero .legal {
    grid-area: legal;
    font-family: Avenir-Roman;
    font-size: 12px;
    color: #58595B;
}

.hero .legal p {
    margin: 1rem 0;
}

.hero .logo {
    grid-area: logo;
    display: grid;
    justify-content: flex-end;
    margin: 1rem 0;
}

.hero .logo img {
    width: clamp(200px, 148px + 13vw, 250px);
    max-width: 100%;
}
/* END HERO */

/* BANNER */
.banner-left, .banner-right {
    padding: 50px 8%;
    text-align: center;
}

.banner-left {
    background-color: #d1212f;
    clip-path: polygon(0 0, 95% 0, 90% 100%, 0 100%);
}

.banner-right {
    background-color: #1f7cac;
    clip-path: polygon(5% 0, 100% 0, 100% 100%, 10% 100%);
}

.banner-left h2, .banner-right h2 {
    font-family: Avenir-Medium;
    margin: 0;
    color: white;
    font-size: 60px;
    font-weight: 500;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .banner-left, .banner-right {
        padding: 40px 8%;
    }

    .banner-left h2, .banner-right h2 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .banner-left, .banner-right {
        padding: 30px 8%;
    }

    .banner-left h2, .banner-right h2 {
        font-size: 32px;
    }
}
/* END BANNER */

/* END CLEAROUTE STYLING */
