@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,700&display=swap");

:root {
  --blue: #587ABC;
  --orange: #FF6600;
  --dark-gray: #3D3935;
  --light-gray: #F5F5F5;
  --hover-gray:#E3E3E3;
}
strong { font-weight: 600 !important; }
.word-wrap { word-wrap: break-word;}
.no-wrap { white-space: nowrap; }
/* HERO */
.hero {
  display: flex;
  flex-direction: row;
  width: 100%;
  background-image: url(../images/hcp-hero-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  justify-content: center;
}
.hero.mobile {
  display: none;
}
.hero__text {
  flex-basis: 55%;
  background: rgba(255,255,255,0.7);
  padding: 100px 3% 75px 11%; 
}
.hero__text p a {
  color: var(--orange);
  text-decoration: none;
}

.hero__logo {
  flex-basis: 45%;
  align-self: center;
  display: flex;
  opacity: .75;
  justify-content: center;
}
.hero__logo svg { 
  width: 40%;
}
.hero__text h1 {
  color: var(--blue);
  font-size: 64px;
}
.hero__text h2.orange-text {
  color: var(--orange);
  text-align:center;
  margin:20px 0;
}
.hero__text p {
  color:var(--dark-gray);
}

a {
  color: var(--orange); }

/* MAIN CONTENT */
.main-content {
  display: flex;
  flex-direction: column;
}
/* TEST AND TREAT */
#TestTreat {
  display: flex;
  flex-direction: column;
  padding: 100px 0 0 0;
  color: var(--dark-gray);
  align-items: center;
}
#TestTreat .test-treat-container {
    max-width: 80%;
    display: flex;
    flex-direction: column;
}

#TestTreat .test-treat-container .img-wrapper {
  align-self: center;
  display: flex;
  flex-direction: row;
}
#TestTreat .test-treat-container img {
    max-width: 100%;
    align-self:center;
}
#TestTreat .test-treat-container .img-wrapper > div {
  margin-top: 5%;
}
#TestTreat .test-treat-text {
  width: 55%;
  background-color: rgba(255,255,255,0.7);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 100px 3% 100px 11%; 
}
#TestTreat .test-treat-bg {
    margin-top: 30px;
    background-image: url(../images/dr-wang-bg.png);
}
#TestTreat .test-treat-bg.mobile {
  display: none;
}
/* SHARE */
#Share {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 0 50px 0;
}

#Share .share-container {
    width: 80%;
}
.share-container .share-cards-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.share-container .share-cards-block .share-card {
    display: flex;
    flex-direction: column;
    align-items:center;
    align-content: center;
}
.share-container .share-cards-block > div:nth-of-type(2) {
    margin: 0 10px;
}
.share-card .share-card-image {
    max-width:100%;
    flex-basis: 30%;
    margin-bottom: 10px;
}
.share-card .share-card-image img {
    width: 100%;
}
.share-container .share-button {
    z-index: 10;
}
.share-container .share-popout {
    transition: left .25s ease-in-out, width .5s ease-in-out;
    overflow: hidden;
    position: relative;
    top: -35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 60px;
    max-height: 30px;
}
span.section-link {
  color: var(--orange);
  cursor: pointer;
}
.share-container .share-popout.active {
    animation: shareSlideForward .45s forwards cubic-bezier(.02,.94,.5,1.59);
}
.share-container .share-popout.inactive {
    animation: shareSlideBackward .35s forwards cubic-bezier(.76,-0.47,1,.46);
}
.share-container .share-popout a {
  color: var(--dark-gray);
  transition: color .25s;
  font-size: 11px;
}
.share-container .share-popout a:hover {
  color: var(--orange);
}
@keyframes shareSlideForward {
    0% {
        left: 0;
        width: 60px;
    }
    100% {
        left:100px;
        width: 80px;
    }
}
@keyframes shareSlideBackward {
    from {
      left:100px;
      width: 80px;
    }
    to {
      left: 0;
      width: 60px;
    }
}
.facebook-share {
    cursor: pointer;
}
.twitter-share-button, .facebook-share {
    cursor: pointer;
}
.twitter-share-button:hover, .facebook-share:hover {
    text-decoration: none;
}
.twitter-share-button img, .facebook-share img {
    height: 40px;
    width: 40px;
}

/* BACKGROUND */
#Background {
  background-color: var(--dark-gray);
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#Background .background-container {
  width: 80%;
}
#Background .background-container ul {
    padding-left: 18px;
}
#Background .background-container h5 {
    font-size: 21px;
    font-weight: 600;
}
.references {
    margin-top: 20px;
    margin-left: 12px;
}
.references ol {
  padding-left: 0;
}
.references ol li {
  font-size: 10px;
  color: white;
}
@media screen and (min-width: 1450px) {
  #TestTreat .test-treat-bg {
    background-image:url(../images/dr-wang-bg-wide.png);
    background-size: 120%;
    background-position-y: -30px;
    background-position-x: 50%;
    background-repeat: no-repeat;
  }
}
@media screen and (min-width: 1850px) {
  #TestTreat .test-treat-bg {
    background-position-y: -50px;
  }
}
/* @media screen and (min-width: 1250px) {
  #TestTreat .test-treat-bg {
    background-position-x: 90%;
  }
} */
@media screen and (max-width: 1150px) {
    .hero__text h1 {
      font-size: 40px;
    }
    #TestTreat .test-treat-bg {
      background-position-x: 50%;
    }
  }
/* TABLET STYLES */
@media screen and (max-width: 800px) {
  /* HERO */
  .hero.desktop { display: none;}
  .hero.mobile { 
    display: flex; 
    background:white;
    flex-direction: column;
  }
  .hero .mobile-background {
    padding-top: 20px;
    width: 100%;
    background-image: url(../images/hcp-hero-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
  }
  .hero .mobile-background .hero__text-top {
    background: rgba(255,255,255,0.7);
    padding: 20px;
    text-align: center;
  }
  .hero .mobile-background .hero__logo {
    justify-content: center;
    width: 90%;
    margin-top:100px;
    margin-bottom: 50px;
  }
  .hero .mobile-background .hero__logo img {
    max-height: 180px;
  }
  .hero.mobile .hero__text {
    background: white;
    padding: 20px 10px 40px 10px;
  }
  .hero.mobile .hero__text .cta-button {
    margin-bottom:15px;
  }

  /* test-treat */
  #TestTreat .test-treat-container {
      width: 80%;
  }
  #TestTreat .test-treat-bg {
    background-image: none;
    min-height: 500px;
    display: flex;
    flex-direction: column;
  }
  #TestTreat .test-treat-bg.mobile .mobile-background {
    background-image: url(../images/dr-wang-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: 80%;
    min-height: 500px;
  }
  #TestTreat .test-treat-bg.desktop {
    display: none;
  }
  #TestTreat .test-treat-bg.mobile {
    display: flex;
  }
  #TestTreat .test-treat-text {
    width: 95%;
    padding: 0 inherit;
    margin: auto;
    padding: 20px;
    margin-top: -190px;
    background-color: rgba(255,255,255,0.8);
    box-shadow: 0 0 10px rgba(50,50,50,.1);
    margin-bottom: 10px;
  }
  #TestTreat .test-treat-text h1 {
    font-size:28px;
  }
  #TestTreat .test-treat-text h3 {
    font-size:18px;
  }
  #TestTreat .test-treat-text .cta-button {
    align-self: center;
    margin: 10px;
  }

  /* SHARE */
  #Share .share-container {
      width: 100%;
  }
  #Share .share-container > h1, #Share .share-container > p {
      padding: 0 5%;
  }
  .share-container .share-cards-block {
      flex-direction: column;
  }
  .share-container .share-cards-block > div:nth-of-type(2) {
      margin: 0;
  }

  /* R/R AML BACKGROUND */
  #Background {
      padding-bottom: 50px;
  }
  #Background .background-container {
    width: 95%;
  }
}

/* MOBILE STYLES */
@media screen and (max-width: 550px) {
  #TestTreat .test-treat-bg {
    background-image: none;
    min-height: 500px;
    display: flex;
    flex-direction: column;
  }
  #TestTreat .test-treat-bg.mobile .mobile-background {
    background-image: url(../images/dr-wang-mobile-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: -100px;
    min-height: 500px;
  }
    .hero .mobile-background {
    background-image: url(../images/hcp-hero-mobile-bg.png);
    background-size: cover;
  }
  .hero .mobile-background .hero__text-top h1 { font-size: 28px;}
  .hero .mobile-background .hero__text-top h2 { font-size: 16px;}
  
}
@media screen and (max-width: 375px) {
  #TestTreat .test-treat-bg.mobile .mobile-background {
    background-position-y: 0;
  }
    .hero .mobile-background {
        background-position-x: -100px;
    }
    .hero .mobile-background .hero__logo {
        margin-top: 100px;
    }
}