/**** Reset ****/
* {
    font-size: 0;
    list-style: none;
    margin: 0;
    outline: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
}

article, aside, details, figcaption, figure, footer, header,
hgroup, main, nav, section, summary {
  display: block;
}

img {
    max-width: 100%;
    max-height: 100%;
}

/**** Animations ****/

/**** fade ****/
@-webkit-keyframes fadein {
    from { opacity: 0; }
      to { opacity: 1; }
}

@keyframes fadein {
    from { opacity: 0; }
      to { opacity: 1; }
}

/**** Temporary Overlay ****/
.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background: rgba(200, 200, 200, .8);
  top: 0;
  left: 0;
  text-align: center;
}

.overlay .popup {
  width: 520px; 
  border-radius: 15px;
  max-width: calc(100% - 40px);
  max-height: calc(100% - 40px);
  overflow: auto;
  padding: 20px;
  position: relative;
  background: #fff;
  box-shadow: 0 0 4px 1px #000;
  margin: auto;
  text-align: center;
  z-index: 1001;
  top: 20px;
}

.popup div.close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}  

.popup p.close {
  display: inline-block;
  cursor: pointer;
  border-bottom: 1px solid #000;
}

@media screen and (max-width: 500px) {
    .popup {
      top: 0;
      max-width: 100%;
      max-height: 100%;
    }
  }

/**** Base ****/

html {
    font-family: "Karla", sans-serif;
    color: #111;
    background: #222;
}

.limit, #page {
  width: 100%;
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.limit { max-width: 1200px !important; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Comfortaa", sans-serif;
  font-weight: normal;
  color: #111;
  margin: 5px auto; 
  line-height: 1.25;
}

p, span, li, em, strong, a, th, td, optgroup { font-size: 18px; }
label, input, textarea, select, option { font-size: 16px; }
p {line-height: 1.5;}

hr { border: none; border-bottom: 1px solid #000;margin: 50px 0;}

h1 { font-size: 26px; }
#page h1, .header {  
  margin: 40px 0 20px;
  text-align: center;
  border-bottom: solid #000 1px;
  padding-bottom: 10px;
}

h2 { font-size: 22px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }

p { margin-bottom: 20px; text-align: left; }
p:last-child { margin-bottom: 0; }
a { color: #000; font-weight: bold; transition: all .4s linear; }
a:hover { opacity: .75; }
p a, .underline { border-bottom: 1px solid #000; padding-bottom: 2px; }
a.clean { border: none; font-weight: normal; }

.flex { display: flex; }
.item { flex: 1; margin: 10px;}
.item.bias { flex: 2; }
.item:first-child { margin-left: 0; }
.item:last-child { margin-right: 0; }
.flex.auto .item { flex: auto; }
.break { flex-basis: 100%; height: 0; }

.slim { max-width: 800px !important; }

.teal { color: #2790da; }
.violet { color: #5c2990; }
.pink { color: #cd1d79; }

/**** Header ****/
header { display: flex; align-items: center; text-align: center; padding: 4px;}
header .item { margin: 0;}

header .logo { display: inline-block; }
header .logo img { max-height: 50px; }

.phone { display: none; }

nav { flex: 4 !important; max-width: 1000px; }

header .item:last-child a { padding: 10px 20px; white-space: nowrap; }
header .item:last-child a:hover { color: #fff; }

nav ul { display: flex; align-items: center;}

nav ul li {
    position: relative;
    flex: auto;
}

header a { color: #fff;  font-weight: normal; }
header a:hover {opacity: 1; color: #0076bc; }

nav li a {
  font-family: "Comfortaa", sans-serif;
  font-size: 16px;
  display: block;
  text-align: left;
  padding: 10px;
  cursor: pointer;
  text-align: center;
}

.submenu {
  display: none;
  position: absolute;
  transition: all .4s linear;
  background: #363636;
  top: 30px;
  width: auto;
  box-shadow: 0 10px 20px #000;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  min-width: 200px;
}

.submenu a { white-space: nowrap; text-align: left; }


header nav li:hover .submenu {
  display: block;
    animation: fadein .4s;
}

.mobile-open {
    font-size: 24px;
    display: none;
    width: 100%;
    background: #222;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #000;
    color: #fff;
}

.mobile-drop {
    display: none;
    padding: 11px 5px;
    border-left: 1px solid #000;
    cursor: pointer;
    width: 50px;
    background: #444;
    transition: all .4s linear;
    text-align: center;
    color: #fff;
}

.mobile-drop span {
  transition: all .4s linear;
  transform: rotate(180deg);
  display: block;    
  font-size: 30px;
  line-height: 1;
}

.mobile-drop span.rotated {
    transform: rotate(0deg);
}

.mobile-drop:hover {
    background: #555;
}

/**** Home ****/
.welcome {
  padding: 100px 10px;
  background: url("/img/home-banner.jpg") no-repeat center center;
  background-size: cover;
}

.welcome .message {
  text-align: center;
  border: solid 5px rgba(0, 0, 0, .5);
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 10px 20px #000;
  width: 600px;
  max-width: 90%;
  padding: 20px 10px;
  margin: 0 auto;
}

.welcome h1 { font-size: 35px; }
.welcome h2 { margin: 20px 0; font-size: 30px; }

.ribbon-base {
  position: relative;
  z-index: 1;
}
.ribbon {
  font-size: 22px;
  /* This ribbon is based on a 16px font side and a 24px vertical rhythm. I've used em's to position each element for scalability. If you want to use a different font size you may have to play with the position of the ribbon elements */

  width: calc(100% - 100px);

  position: relative;
  background: linear-gradient(to right, #BF953F, #FCF6BA, #e9c26f, #FBF5B7, #AA771C);
  color: #fff;
  text-align: center;
  padding: 10px;
  margin: -10px auto 10px; /* Based on 24px vertical rhythm. 48px bottom margin - normally 24 but the ribbon 'graphics' take up 24px themselves so we double it. */
}

.ribbon:before, .ribbon:after {
  content: "";
  position: absolute;
  display: block;
  bottom: -1em;
  border: 1.5em solid #9d782c;
  z-index: -1;
}
.ribbon:before {
  left: -2em;
  border-right-width: 1.5em;
  border-left-color: transparent;
}
.ribbon:after {
  right: -2em;
  border-left-width: 1.5em;
  border-right-color: transparent;
}

.ribbon .ribbon-content { font-size: inherit; }
.ribbon .ribbon-content:before, .ribbon .ribbon-content:after {
  content: "";
  position: absolute;
  display: block;
  border-style: solid;
  border-color: #7a5508 transparent transparent transparent;
  bottom: -1em;
}
.ribbon .ribbon-content:before {
  left: 0;
  border-width: 1em 0 0 1em;
}
.ribbon .ribbon-content:after {
  right: 0;
  border-width: 1em 1em 0 0;
}

/**** Main ****/

main { 
  background-color: #c6d7d7;
  background-image: url("/img/background.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100%;
  padding-bottom: 50px;
}

main ul, main ol { padding-left: 30px; margin-bottom: 20px; text-align: left; }
main ul li { list-style: disc; line-height: 1.5; }
main ol li { list-style: decimal; line-height: 1.5; }

ul.columns { columns: 2; }
ul.columns li { padding-right: 30px; }

p:after {
  content: "";
  clear: both;
  display: table;
}

#banner { 
  width: 100%; 
  min-height: 200px;
  object-fit: cover;
}


.breeze {
  background-size: 100%;
  background-position: center;
  background-color: rgba(255, 255, 255, .25);
  transition: background-image 1s linear, background-size 5s ease-in-out, background-position 5s ease-in-out;
}

.breeze img {
  display: none;
}

.pitch {
  padding: 130px 20px;
  text-align: center;
  background-color: rgba(0, 0, 0, .5);
}

.pitch h1, .pitch h2 { text-shadow: 2px 2px 10px #000, -2px -2px 10px #000; color: #fff; margin-bottom: 20px; }

.pitch a.button {
  display: block;
  width: 320px;
  margin: 10px auto;
}

/**** PMC ****/
main.pmc { background: #fff; }

.pmc-logo {
  max-width: 400px;
  width: 100%;
}

.pmc-menu {
  margin: 20px 0;
  display: flex;
  align-items: flex-end;
}

.pmc-menu a {
  padding: 8px;
  border-bottom: solid 2px #000;
  transition: all .2s ease-in-out;
  flex: auto;
}

.pmc-menu a:hover, .pmc-menu a.active {
  border-bottom: solid 2px #29abe2;
  color: #29abe2;
}

.pmc .tiles a { max-width: 200px; }

.pmc .social { filter: invert(1); vertical-align: middle; height: 50px;}

/*.teal { color: #2790da; }
.violet { color: #5c2990; }
.pink { color: #cd1d79; }*/

.pmc h2 { color: #cd1d79; }
.pmc h3 { color: #5c2990; }

.pmc .toggle { background: #eee; }
.pmc .toggle.open, .pmc .toggle:hover { background: #ddd; }
.pmc .collapse { background: #eee; }

.badges img {
  width: 200px;
  vertical-align: middle;
}

.pmc-banner {
  padding: 10px;
  text-align: center;
  background: #662b95;
  color: #fff;
  border-radius: 10px;
}

/**** Footer ****/
footer {
    padding: 20px;
    text-align: center;
    margin: 0 auto;
    color: #fff;
}

footer p, footer p a, footer p em { font-size: 14px; }

footer p a { border: none; color: #fff; font-weight: normal; }

footer a:hover { color: #0076bc; opacity: 1;}

.links { margin: 40px auto; }
.links a {
  display: inline-block;
  height: 30px;
  border: none;
}

.links .button { margin: 0 20px 0 0;}

footer h4 { color: #fff; }

footer .flex .item, footer .flex .item p { text-align: center; }
footer .flex .item:first-child, footer .flex .item:first-child p { text-align: left; }
footer .flex .item:last-child, footer .flex .item:last-child p { text-align: right; }

.social { margin-right: 20px; height: 30px; display: inline-block; }

/**** Misc ****/
.forms-table { border-collapse: collapse; margin: 20px auto; }
.forms-table td, .forms-table th { padding: 5px; }
.forms-table th { background: #000; color: #fff; }
.forms-table tr { transition: .2s ease-in-out; }
.forms-table tr:nth-child(even) { background: #eee; }
.forms-table tr:nth-child(odd) { background: #e0e0e0; }
.forms-table tr:hover { background: #e1eef5; }
.forms-table a { font-size: 12px; margin-top: 10px; display: inline-block; }
.forms-table a:last-child {  border-bottom: solid 1px #000; }
.forms-table a.button { font-size: 14px; white-space: nowrap; padding: 10px 20px; }
.forms-table td:last-child { text-align: center; }
.forms-table a:first-child:not(.button) { font-size: 16px; margin: 20px; }


.references p, .references a, .references li, .references em { font-size: 14px; }

button, a.button {
  background: #0076bc;
  color: #fff;
  padding: 10px 30px;
  transition: all .4s linear;
  box-shadow: 0 0 5px #000;
  font-weight: normal;
  border: none;
  cursor: pointer;
  text-align: center;
  display: inline-block;
  font-size: 16px;
  font-family: "Comfortaa", sans-serif;
  border-radius: 25px;
}

aside {
  display: inline-block;
  vertical-align: top;
  width: 300px;
}

aside button, aside a.button { width: 100%; }
aside a.button { margin-top: 10px; }

.dynamic {
  display: inline-block;  
  vertical-align: top;
  width: calc(100% - 300px);
  padding-left: 40px;
}

.dynamic.first {
  padding-right: 20px; 
  padding-left: 0; 
  margin-right: 20px; 
  border-right: solid 1px #000;
  width: calc(100% - 320px);
}

.alt {
  background: #eee;
  padding: 20px;
}

.inline {
    display: inline-block;
    vertical-align: top;
    margin: 0 20px 20px 0;
}

.left, .right, .fixed, .fill {
    display: inline-block;
    vertical-align: top;
    width: 50%;
}

.left { padding-right: 25px; }
.right { padding-left: 25px; }

.fixed {
  width: 300px;
  padding-right: 10px;
  max-width: 50%;
}

.frame.fixed { padding-right: 0; }

.fill {
  width: calc(100% - 300px);
  min-width: 50%;
  padding-left: 20px;
  text-align: left;
}

.toggle { 
    cursor: pointer;
    transition: all .4s linear;
    margin: 10px 0 0;
    padding: 10px 20px 10px 50px;
    background: #fff;
    vertical-align: middle;
    position: relative;
}


.toggle:before {
    content: "+";
    font-size: 18px;
    width: 20px;
    height: 20px;
    text-align: center;
    background: #0076bc;
    color: #fff;
    box-shadow: 0 0 4px #333;
    border-radius: 5px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    margin: auto;
}

.toggle:hover { background: #eee; }

.toggle.open { background: #eee; }

.toggle.open:before{ content: "-"; }

.collapse { display: none; background: #fff; padding: 20px;}

.third { width: 33%; }
.two-thirds { width: 66%; }
.quarter { width: 25%;}
.quarter-fill { width: 75%; }
.shade { background: #fff; padding: 20px; border-radius: 20px; }
.shade img { border-radius: 10px; }

.video {
    position:relative;
    height:302px;
    max-width:540px;
    overflow:hidden;
    margin-bottom:1.677em;
}

.video iframe {width: 100%; height: 100%;}

.center { text-align: center; }
.no-margin { margin: 0; }


.float-left {
  float: left;
  margin: 0 20px 20px 0;
  max-width: 50%;
  width: 300px;
}

.image-right {
  float: right;
  margin-left: 20px;
  max-width: 50%;
  width: 350px;
}

.image-left {
  float: left;
  margin-right: 20px;
  max-width: 50%;
  width: 200px;
}

.tiles a {
  display: inline-block;
  vertical-align: top;
  margin: 0 20px 20px 0;
  text-align: center;
  max-width: 100px;
  transition: opacity .4s linear;
}

.tiles a h3 { font-size: 14px; }

.tiles a img {
  border-radius: 10px;
  box-shadow: 0px 0px 10px #333;
}

.tiles.large a { max-width: 300px; }
.tiles.large a h3 { font-size: 18px; }


.rainbow {
  background-image: linear-gradient(45deg, red, orange, yellow, green, blue, indigo, violet, pink);
  background-clip: text;
  text-shadow: #666 1px 1px;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 600px;
}

img.frame {
  border-radius: 20px;
  box-shadow: 0px 0px 10px 1px #333;
}

.filter {
  padding: 20px;
  box-shadow: 0 0 10px #333;
  border-radius: 20px;
  background: #eee;
  margin-bottom: 50px;
}

.filter label { 
  font-weight: bold; 
  display: block; 
  margin-bottom: 10px;
  font-family: "Comfortaa", sans-serif;
}

.filter select { 
  padding: 10px 4px;
  cursor: pointer;
  border: solid 1px #333;
  border-radius: 10px;
  font-family: "Karla", sans-serif;
  width: 100%;
}

.mobile-only, .small-only { display: none; }

.icons a {
  display: inline-block;
  max-width: 150px;
  margin: 20px;
  vertical-align: top;
}

.half { display: inline-block; vertical-align: top; width: 50%; padding-right: 5px; }
.half + .half { padding: 0 0 0 5px; }
@media screen and (max-width: 600px) { .half { display: block; width: 100%; padding: 0; margin: 10px auto; } }

/**** Blog ****/
.blog-list a {
  display: block;
  margin: 20px auto;
  background: #fff;
  font-weight: normal;
  max-width: 1000px;
  box-shadow: 0 0 10px #000;
  border-radius: 10px;
  overflow: hidden;
}

.blog-list a img {
  object-fit: cover;
  height: 450px;
  max-width: 400px;
  display: inline-block;
  vertical-align: top;
}

.blog-list a .info {
  display: inline-block;
  padding: 30px;
  vertical-align: top;
  width: calc(100% - 405px); 
  text-align: left;
}

.blog-list a p { font-size: 16px; }

.justify p { text-align: justify; }

blockquote {
  background: rgba(255,255,255,.75);
  border-left: 10px solid #0076bc;
  margin: 20px auto;
  padding: 30px;
  max-width: 800px;
  quotes: "\201C""\201D""\2018""\2019";
  font-family: "Comfortaa", sans-serif;
  font-size: 20px;
  font-style: italic;
  line-height: 2;
}

blockquote:before {
  color: #aaa;
  content: open-quote;
  font-size: 50px;
  line-height: 10px;
  margin-right: 10px;
  vertical-align: -.4em;
}

blockquote:after {
  color: #aaa;
  content: close-quote;
  font-size: 50px;
  line-height: 10px;
  vertical-align: -.4em;
}

/**** Responsive ****/
@media screen and (max-width: 1000px) {

    p, span, li, em, strong, a, th, td { font-size: 16px; }

    h1 { font-size: 24px; }

    .pitch {padding: 15px 20px;}
    .pitch h1 { font-size: 30px; }
    .pitch h2 { font-size: 25px; }
    .dynamic, aside {
        display: block;
        padding: 10px 0 !important;
        width: 100% !important;
        border: none !important;
    }

    header .mobile-open {
        display: block;
        background: #444;
    }

    header { display: block; padding: 10px 0 0 0; }
    header .item { display: block; }


    header nav.item {
        display: none;
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: none;
        flex: none;
    }

    header nav > ul { display: block; }

    header nav ul li  {
        display: block;
        border-bottom: 1px solid #000;
        font-size: 0;
    }

    header nav li a {
        display: block;
        background: #444;
        text-align: left !important;
        height: 52px;
        padding: 0 0 0 20px;
        line-height: 50px;
    }

    header nav li a:hover {
        background: #555;
    }

    .mobile-open {display: block;}

    .pre-drop {
        display: inline-block;
        width: calc(100% - 50px);
        vertical-align: top;
    }

    .mobile-drop {
        display: inline-block;
    }

    .submenu {
        position: initial;
        width: 100%;
        transition: none;
        box-shadow: none;
        transform: none;
    }

    .submenu a { border-top: solid 1px #000; padding-left: 40px;}

    header nav li:hover .submenu, header nav li:focus .submenu {
        display: none;
    }

    .mobile-only { display: block; }
    .no-mobile { display: none !important; }

    .logo { vertical-align: middle; text-align: left; width: 50%; }
    .phone {
      width: 50%;
      text-align: right;
      display: inline-block;
      vertical-align: middle;
      padding: 10px 0;
    }

    header .item:first-child { padding: 0 20px; }

    .ribbon { font-size: 18px; }
    .flex { display: block; }
    .flex .item { display: inline-block; max-width: 100px; margin: 0 20px 20px 0; vertical-align: top; }

    footer .flex .item {
      display: block;
      text-align: center !important;
      margin: auto 20px;
      max-width: none;
      margin-bottom: 50px;
    }

    footer .flex .item p { text-align: center !important; }

    .tiles.large a { max-width: 250px; }

    .shade {
      background: none;
      text-align: center;
      padding: 0 !important;
    }

    .shade p { text-align: center; }

    .shade img { max-width: 300px; margin: 0 auto; }

    .social { margin: 20px; }

    .filter .item {
      max-width: none;
    }

    .blog-list h2 { text-align: left; }
    .blog-list a img {
      max-width: 200px;
      max-height: 350px;
    }

    .blog-list a .info {
      padding: 10px;
      width: calc(100% - 205px); 
    }
}

@media screen and (max-width: 600px) {
  .forms-table a.button { font-size: 10px; }
  .forms-table a:not(.button) {font-size: 8px; }
  .forms-table td, .forms-table th {font-size: 12px; }

  .pitch a.button {
    font-size: 12px;
    width: 100%;
    margin: 5px auto; 
  }


    p, span, li, em, strong, a, th, td { font-size: 14px; }


    .pitch {padding: 10px 5px;}
    .pitch h1 { font-size: 12px; margin-bottom: 5px; }
    .pitch h2 { font-size: 12px; margin-bottom: 5px; }

    h1 { font-size: 22px; }
    h2 { font-size: 20px; }
    h3 { font-size: 18px; }
    h4 { font-size: 16px; }

    .left, .right, .fixed, .fill {
        display: block;
        margin: 20px auto;
        width: 100%;
        padding: 0;
    }

    ul.columns { columns: 1; }
    ul.columsn li { padding-right: 0; }

    .ribbon {
      font-size: 11px;
      margin: 30px auto 0;
      padding: 4px;
      width: calc(100% - 50px);
    }

    footer .links a {
        display: block;
        margin: 20px 10px;
        padding: 0;
        border: none;
    }

    .image-left, .image-right {
      float: none;
      display: block;
      text-align: center;
      margin: 0 auto 20px;
    }

    .button { width: 100%; }

      .left, .right {
        padding: 0;
        display: block;
        margin: 20px auto;
        width: 100%;
    }

    .filter .item {
      display: block;
      margin: 0 0 20px 0;
      max-width: none;
    }

    .tiles { text-align: center; }

    .tiles.large a { max-width: 150px; }

    select  { font-size: 14px; }

    .icons a { max-width: 98px; }

    .icons a h3 { font-size: 12px; }

    .small-only { display: block; }
    .no-small { display: none !important; }

    .blog-list a img {
      width: 100%;
      max-width: none;
      max-height: 200px;
      display: block;
    }

    .blog-list a .info {
      display: block;
      width: 100%;
    }
}

/**** Cognito Form ****/
@keyframes rotate {
    from {
        transform: rotateZ(0deg)
    }

    to {
        transform: rotateZ(360deg)
    }
}

.cog-header__text { width: 100%; }

.cognito {
    font-size: 18px;
    line-height: 1;
    padding: 10px;
    background: rgba(255,255,255,.75);
    border-radius: 20px;
    box-shadow: 0px 0px 10px 1px #333;
}

.cognito * { font-size: 16px; }
.c-forms-form-title { font-size: 30px; }

.cognito .loader img {
    animation: rotate 1s infinite linear;
}

.cognito .loader {
    text-align: center;
}

.cognito form + div {
    visibility: hidden;
    height: 0;
}

.cognito input, .cognito select, .cognito textarea, .cognito label option {
    padding: 4px;
}

.cognito button {
    font-size: 29px;
    border-radius: 0px !important;
    border: none !important;
    float: none !important;
    width: 100% !important;
    background: #555 !important;
    margin: 10px 0 !important;
    color: #fff !important;
    font-size: 20px !important;
    padding: 12px !important;
    transition: all .4s ease-in-out;
}

.cognito button:hover, .cognito button:focus, .cognito button:active {
    background: #777 !important;
}

.cognito .c-action {
    float: none;
}

.cognito button.loading {
    background: #555 url("/src/loading-light.svg") 20px center / 20px 20px no-repeat !important;
}

.cognito .c-forms-confirmation-message {
    background: #9dff9c;
    border: solid 1px #298f28;
    padding: 8px;
    border-radius: 10px;
}

.cognito [data-field="ClinicianEmail"] { display: none; }