/*
Theme Name:   idri
Description:  Twenty Twenty Child Theme
Author:       James Adam Connor
Template:     twentytwenty
Text Domain:  idri
*/

/* Global */
body {
  background-color: #fff;
  font-weight: 400;
  font-family: 'Source Sans Pro', sans-serif;
}
ul {
  margin: 0;
}
.row {
}
.first {
  margin-top: 170px;
}
.top-row {
  margin: 100px 0 50px 0;
}
.container {
  width: calc(100% - 280px);
  margin: auto;
}
.intro {
  display: flex;
  flex-wrap: wrap;
}
.content-column {
  padding: 100px 0;
  width: 50%;
  background-image: linear-gradient(#018AA0, #2FC0D3);
  color: #fff;
  line-height: 1.2;
  font-size: 21px;
  font-weight: 400;
}
.content-image {
  background-position: center;
  background-size: cover;
}
.content-wrapper-left {
  margin: 0 50px 0 140px;
}
.content-wrapper-right {
  margin: 0 140px 0 50px;
}
.content-link button {
  background-color: rgba(255, 255, 255, 0.0) !important;
  border: 1px solid #fff;
  border-radius: 5px;
  padding: 10px;
  letter-spacing: 2px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
#pipeline {
  margin-top: 50px;
  margin-bottom: 50px;
  padding: 50px 0;
  position: relative;
}
.row-heading {
  margin-bottom: 30px;
}
.row-heading-centered {
  display: flex;
  margin-bottom: 60px;
}
.row-heading-subtitle {
  text-align: center;
  font-size: 18px;
  margin-bottom: 60px;
}
.row-heading div {
  margin: auto;
  font-weight: 200;
  color: #3C4141;
  font-size: 42px;
  border-bottom: 1px solid #30C1D4;
  padding: 15px 0;
}
.row-heading-centered div {
  margin: auto;
  font-weight: 200;
  color: #3C4141;
  font-size: 42px;
  border-bottom: 1px solid #30C1D4;
  padding-bottom: 10px;
}
.row-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  color: #3C4141;
  text-align: center;
}
.pipeline-arrow {
  position: absolute;
  top: calc(50% - 20px);
  width: 40px;
  height: 40px;
  background-image: linear-gradient(to right, white, white, #A5D32E);
  -webkit-clip-path: polygon(50% 0, 100% 50%, 50% 100%, 30% 100%, 80% 50%, 30% 0);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 30% 100%, 80% 50%, 30% 0);
}
#arrow-0 {
  left: 30%;
}
#arrow-1 {
  left: 66%;
}
.pipeline-shape {
  z-index: -1;
  position: absolute;
  top: 0;
  height: 100%;
  width: 16%;
  background-image: linear-gradient(to right, white, #e8e8e8);
  clip-path: polygon(10% 0%, 100% 50%, 10% 100%, 0% 100%, 0% 50%, 0% 0%);
  -webkit-clip-path: polygon(10% 0%, 100% 50%, 10% 100%, 0% 100%, 0% 50%, 0% 0%);
  border-radius: 0 10px 0 0 0 0;
}
#shape-1 {
  left: 36%;
}
#shape-2 {
  left: 70%;
}
.row-column {
  position: relative;
  width: 25%;
}
.column-heading {
  font-weight: 600;
  color: #2FC0D3;
  letter-spacing: 2.5px;
  font-size: 21px;
  margin-bottom: 15px;
}
.column-text {
  color: #3C4141;
  line-height: 1.5;
  font-size: 18px;
}
.alt-cont {
  padding: 100px 0;
}
.alt-cont div {
  margin-left: 0;
}
.alt-head {
}
.alt-head div {
  font-size: 28px;
  font-weight: bold;
  border-bottom: 1px solid #A5D32E;
}
#rnd-cont {
  padding: 100px 0 0;
}
#product-cont, #manufacturing-cont {
  padding: 0;
}
#manufacturing-cont {
  margin-bottom: 100px;
}
#not-found-err {
  margin-top: 130px;
}
.accordion {
  cursor: pointer;
}
.accordion-button  {
  float: right;
  font-size: 21px;
  letter-spacing: 2px;
  color: #A5D32E;
  margin: 5px 0;
}
.accordion-button  i {
  font-size: 28px;
  vertical-align: middle;
}
.accordion-columns {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.accordion-spacer {
  width: 100%;
  height: 30px;
}
.column-callout {
  width: 100%;
  display: flex;
  margin: 35px 0;
}
#product-callout-container {
  margin: auto;
  background-image: linear-gradient(#1e7d8a, #30C1D4);
  color: #fff;
  border-radius: 10px;
  padding: 20px 100px;
  font-size: 21px;
}
#product-callout-container p {
  margin: 0;
}
#product-callout-container a {
  text-decoration: none;
  color: #fff;
}
.expanded div {
  border-top: 1px solid #A5D32E;
}
.alt-columns {
  text-align: left;
}
.alt-col-head {
  color: #3C4141;
}
#role-cont {
  padding: 100px 0;
}
.lead-in-row {
  padding: 100px 20% 0;
  text-align: center;
  font-size: 48px;
  color: #30C1D4;
  font-weight: 300;
}
.lead-in-row p {
  margin: 0;
  line-height: 1.3;
}
#role-columns {
  justify-content: center;
}
.role-column {
  width: 30%;
}
.role-graphic {
  text-align: center;
  margin-bottom: 50px;
}
.role-graphic-wrap {
  width: 250px;
  height: 250px;
  margin: auto;
}
.role-graphic-wrap div {
  width: 100%;
  height: 100%;
}
#middle-graphic-column {
  width: 20%;
  display: flex;
  align-items: center;
  height: 250px;
}
#middle-graphic-wrapper {
}
#middle-graphic-wrapper-mobile {
  display: none;
}
#callout-row {
  padding: 100px 0;
}
#callout-container {
  height: 500px;
}
#formulations-cont {
  padding: 100px 0;
}
.formulations-column {
  margin: auto;
}
#formulations-graphic-mobile {
  display: none;
}
.gray-row {
  background-color: #ECECEC;
}
.news-row {
  background-image: url(/wp-content/uploads/2020/03/NewsBKGD.jpg);
  background-position: center;
  background-size: cover;
}
.leadership-row {
  background-image: url(/wp-content/uploads/2020/03/LeaderShipBKGD.jpg);
  background-position: center;
  background-size: cover;
}
.bio-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.bio-modal-content {
  border-radius: 10px;
  font-size: 15px;
  line-height: 20px;
  color: #fff;
  background-image: linear-gradient(#018AA0, #2FC0D3);
  position: fixed;
  top: 50%;
  left: 50%;
  /* bring your own prefixes */
  transform: translate(-50%, -50%);
  padding: 20px;
  width: 80%; /* Could be more or less, depending on screen size */
}
#bio-modal-name, #bio-modal-title {
  font-size: 21px;
  line-height: 1.5;
}
#bio-modal-title {
  font-weight: 300;
}
#bio-modal-bio {
  margin-top: 10px;
  font-size: 18px;
  text-align: left;
}
#bio-modal-bio a {
  color: #fff;
}
.close {
  float: right;
  cursor: pointer;
}
.gray-cont  {
  padding: 100px 0;
}
.gray-cont .row-columns {
  margin-left: 0;
}
.gray-head div {
  margin-left: 0;
  font-size: 28px;
  font-weight: bold;
  border-bottom: 1px solid #30C1D4;
}
.gray-col-head {
  color: #3C4141;
}
.bio-item {
  cursor: pointer;
  margin-bottom: 20px;
}
.bio-name {
  font-weight: 600px;
  color: #30C1D4;
  font-size: 21px;
}
.bio-bio {
  display: none;
}
.alt-gray-row {
  background-color: #F5F6F6;
}
.news-column {
  width: 45%;
}
.news-item {
  margin-bottom: 20px;
}
.news-title {
  font-weight: 600px;
  font-size: 21px;
  margin-bottom: 5px;
}
.news-title p {
  line-height: 1.3;
  margin-bottom: 0;
}
.news-title a {
  color: #30C1D4;
  text-decoration: none;
}
#callout-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background-position: center;
  background-position-y: 25%;
  background-size: cover;
  padding: 100px 150px;
}
#callout-copy {
  display: flex;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  height: 100%;
  background-image: linear-gradient(#018AA0, #2FC0D3);
  color: #fff;
  border-radius: 10px;
}
#callout-heading {
  display: flex;
  width: 100%
}
#callout-heading div {
  margin: auto;
  font-weight: 300;
  font-size: 35px;
  padding-bottom: 10px;
  border-bottom: 1px solid #fff;
  margin-bottom: 20px;
}
#callout-text {
  text-align: center;
  font-size: 21px;
  width: 80%;
}
#callout-text p {
  margin-bottom: 0;
}
#callout-button {
  width: 100%;
}
#callout-button button {
  background-color: rgba(255, 255, 255, 0.0) !important;
  border: 1px solid #fff;
  border-radius: 5px;
  padding: 10px;
  letter-spacing: 2px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* Header */
.nav {
  position: fixed;
  z-index: 9999;
  width: 100%;
  height: 110px;
  top: 0px;
  background-color: rgba(0, 0, 0, 0.6);
  -webkit-transition: all 0.25s ease-out;
  -moz-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
}
div#header.nav-down, div#header.nav-down {
  top: 0;
}
.nav-up {
  top: -160px;
}
.nav-down {
  top: 0px;
}
#nav-logo {
  display: inline-block;
  margin-top: 29px;
  position: relative;
}
.logo-wrapper {
  width: 250px;
  height: auto;
}
#nav-menu {
  width: 50%;
  float: right;
  display: flex;
  margin-top: 47px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 2px;
  justify-content: space-between;
}
#alert-banner {
  color: #3C4141;
  margin-top: 21px;
  padding: 10px 0;
  background-color: #9BCB3C;
  text-align: center;
}
#alert-banner a {
  color: #3C4141;
  text-decoration: none;
}
.nav-button a {
  text-decoration: none;
  color: #fff;
}
#hamburger {
  visibility: hidden;
  cursor: pointer;
  float: right;
  position: absolute;
  right: 25px;
  top: 70px;
}
.line {
  width: 30px;
  height: 2.5px;
  margin: 3px 0;
  background-color: #fff;
  width: 30px;
  height: 2px;
  margin: 3px 0;
}
#mobile-menu {
  display: none;
}

/* Slider */
.slider-gradient {

}
.slider-copy-container {
  width: 40% !important;
  left: 120px !important;
}
.slider-copy {
  font-family: 'Source Sans Pro', sans-serif;
  color: #3C4141;
  background-color: rgba(255,255,255,.7);
  padding: 20px;
  border-radius: 10px;
}
.slider-heading {
  font-size: 40px;
  margin-bottom: 15px;
}
.slider-text {
  line-height: 1.5;
  font-size: 20px;
  margin-bottom: 25px;
}
.slider-button-wrapper {
  width: 80px;
  font-weight: bold;
  letter-spacing: 1.5px;
  font-size: 21px;
  color: #fff;
  background-color: #9BCB3C;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
}
.slider-button-wrapper button:hover {
  text-decoration: none;
}

/* Trials */
#trials-lead-in {
  margin-top: 110px;
  padding: 100px 16% 0;
}
.trials-info {
  margin-top: 50px;
  margin-bottom: 50px;
  padding: 50px 0;
  position: relative;
}
.trials-info-copy {
  font-size: 23px;
  text-align: center;
  padding: 0 16%;
  color: #3C4141;
}
#info-4-copy {
  font-size: 23px;
  text-align: center;
  padding: 0;
}
#trials-info-columns {
  text-align: left;
}
.trials-info-column {
  width: 50%;
}
.trials-info-column .column-heading {
  color: #3C4141;
}
.trials-info-column {
  width: 47%;
}
.trials-info-column-6 {
  width: 30%;
}
.trials-info-column-6 a {
  color: #30C1D4;
  text-decoration: none;
}
.trials-bio-name {
  font-weight: 600px;
  color: #30C1D4;
  font-size: 25px;
}
#trials-info-disc {
  border-top: 1px solid #30C1D4;
  border-bottom: 1px solid #30C1D4;
}
.column a {
  color: #3C4141;
}
.column a {
  color: #30C1D4;
  text-decoration: none;
}
.sponsor {
  margin: auto;
}
#trials-sponsors-columns {
  align-items: center;
}
#info-7-copy {
  border-bottom: 1px solid #30C1D4;
  padding: 0 0 40px 0;
  margin-bottom: 50px;
}
@media (max-width: 768px) {
  #trials-lead-in {
    padding: 100px 0;
  }
  .trials-info-copy {
    font-size: 23px;
    text-align: center;
    padding: 0;
  }
  .trials-info-column {
    width: 100%;
    margin-bottom: 50px;
    text-align: left;
  }
  .trials-info-column-6 {
    width: 100%;
  }
}
/* Footer */
footer {
  background-color: #505454;
}
#footer-container {
  color: #fff;
  display: flex;
  flex-wrap: wrap;
}
#footer-container a {
  text-decoration: none;
  color: #fff;
}
.footer-wrapper {
  font-size: 14px;
  width: 100%;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
}
.footer-item {
  font-size: 14px;
}
#phone-fax-email {
  display: flex;
  flex-grow: 2;
  margin-left: 140px;
  padding: 100px 0;
}
#address {
  flex-grow: 1;
  padding: 100px 0;
}
#phone-fax-cats {
  color: #C4DA48;
  letter-spacing: 2px;
  margin-right: 25px;
  font-size: 10px;
}
#phone-fax-cats div {
  padding: 3px 0;
}
#footer-secondary {
  padding: 100px 0;
  flex-grow: 1;
  display: flex;
  background-color: #3C4141;
  justify-content: space-between;
}
#footer-secondary a {
  cursor: pointer;
}
#sec-wrapper div {
  margin-left: 80px;
  opacity: .7;
}
#priv-wrapper div {
  cursor: pointer;
  margin-right: 140px;
  opacity: .5;
}
#footer-copyright {
  background-color: #252B2C;
  width: 100%;
  padding: 50px 0;
}
#copyright {
  color: #A5D32E;
}
#receivership-notice {
  margin-bottom: 75px;
}

/* About */
#about-section-one-heading {
  display: flex;
  margin-bottom: 100px;
}
#about-section-one-heading div {
  margin: auto;
  color: #3C4141;
  font-size: 30px;
  font-weight: lighter;
  border-bottom: 1px solid #30C1D4;
  padding-bottom: 10px;
}
.about-section-one-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.about-section-one-column {
  width: calc(50% - 50px);
  margin-bottom: 100px;
}
.about-section-one-column .column-subhead {
  color: #30C1D4;
  font-weight: bold;
  letter-spacing: 2px;
  margin: 40px 0 20px;
}
#about-section-two-row {
  background-color: #30C1D4;
  color: #fff;
  padding: 100px 0;
}
#about-section-two-heading {
  display: flex;
  margin-bottom: 50px;
}
#about-section-two-heading div {
  margin: auto;
  font-size: 30px;
  font-weight: lighter;
  border-bottom: 1px solid #fff;
  padding-bottom: 10px;
}
#about-section-two-text {
  margin: 0 100px;
  text-align: center;
}
#bio-section-heading {
  display: flex;
  margin-bottom: 50px;
}
#bio-section-heading div {
  margin: auto;
  color: #3C4141;
  font-size: 30px;
  font-weight: lighter;
  border-bottom: 1px solid #30C1D4;
  padding-bottom: 10px;
}
.bio-section-subhead {
  text-align: center;
  color: #30C1D4;
  font-weight: bold;
  letter-spacing: 2px;
  margin: 40px 0 20px;
}
#team-wrapper {
  display: flex;
  flex-wrap: wrap;
}
.team-member {
  width: calc(33% - 150px);
  margin-bottom: 30px;
  color: #3C4141;
  font-size: 15px;
}
.team-member:not(:first-of-type) {
  margin-left: 5%; /* All after first in section have left margin, duh */
}
.member-name {
  font-weight: bold;
}

/* Responsivity (I make up words) */
@media (max-width: 1440px) {
  .container {
    width: calc(100% - 200px);
  }
  .slider-copy-container {
    left: 80px !important;
  }
  .content-wrapper-left {
    margin: 0 50px 0 100px;
  }
  .content-wrapper-right {
    margin: 0 100px 0 50px;
  }
  #phone-fax-email {
    margin-left: 100px;
  }
}
@media (max-width: 1152px) {
  .container {
    width: calc(100% - 100px);
  }
  #nav-container {
    text-align: center;
  }
  #formulations-graphic {
    display: none;
  }
  #formulations-graphic-mobile {
    display: block;
  }
  .role-column {
    padding: 0;
    width: calc(100% - 100px);
    margin: 0 auto 30px;
  }
  .role-graphic-wrap {
    width: 350px;
    height: auto;
  }
  #middle-graphic-column {
    height: auto;
    display: flex;
    justify-content: center;
    width: 100%;
  }
  #middle-graphic-wrapper {
    display: none;
  }
  #middle-graphic-wrapper-mobile {
    display: block;
    margin-bottom: 60px;
    height: 300px;
    width: auto;
  }
  #middle-graphic-wrapper-mobile img {
    height: 100%;
    width: auto;
  }
}
@media (max-width: 768px) {
  .container {
    width: calc(100% - 50px);
  }
  #nav-menu {
    display: none;
  }
  .slider-copy-container {
    left: 25px !important;
    width: calc(100% - 50px) !important;
  }
  .content-column {
    width: 100%;
  }
  .content-wrapper-left, .content-wrapper-right {
    margin: auto;
    width: calc(100% - 50px);
  }
  .row-heading-centered div {
    text-align: center;
  }
  .pipeline-arrow {
    height: 40px;
    width: 40px;
    background: rgba(196, 218, 72, .5);
    background-image: linear-gradient(to bottom, white, white, #A5D32E);
    clip-path: polygon(100% 30%, 100% 50%, 50% 100%, 0 50%, 0 30%, 50% 80%);
    -webkit-clip-path: polygon(100% 30%, 100% 50%, 50% 100%, 0 50%, 0 30%, 50% 80%);
  }
  #arrow-0 {
    top: 33%;
    left: calc(50% - 20px);
  }
  #arrow-1 {
    top: 65%;
    left: calc(50% - 20px);
  }
  #pipeline {
    padding: 0;
  }
  .pipeline-shape {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    height: 30%;
    width: 100%;
    background-image: linear-gradient(to bottom, white, white, #e8e8e8);
    clip-path: polygon(100% 0, 100% 40%, 50% 100%, 0 40%, 0 0, 50% 0);
    -webkit-clip-path: polygon(100% 0, 100% 40%, 50% 100%, 0 40%, 0 0, 50% 0);
    border-radius: 0 10px 0 0 0 0;
  }
  #product-callout-container {
    text-align: center;
    padding: 20px;
  }
  #shape-1 {
    top: 30%;
    left: 0;
  }
  #shape-2 {
    z-index: -2;
    top: 55%;
    left: 0;
  }
  #callout-container {
    padding: 0 0 50px 0;
  }
  #callout-copy {
    width: 90%;
  }
  .lead-in-row {
    padding: 0;
    width: calc(100% - 50px);
    margin: 0 auto 50px;
    font-size: 28px;
  }
  #role-cont, #rnd-cont {
    padding: 0;
  }
  .role-column {
    padding: 0;
    width: calc(100% - 50px);
    margin: 0 auto 30px;
  }
  .role-graphic-wrap {
    width: 250px;
    height: auto;
  }
  .alt-head div {
    font-size: 21px;
  }
  .accordion-button {
    font-size: 14px;
  }
  .accordion-button i {
    font-size: 14px;
  }
  #callout-bg {
    padding: 20px;
  }
  #callout-copy {
    width: 100%;
  }
  #footer-secondary {
    flex-wrap: wrap;
    padding: 25px 0;
  }
  #sec-wrapper, #priv-wrapper {
    padding: 50px 0;
    width: 50%;
  }
  #sec-wrapper div {
    margin-left: 0;
    text-align: center;
  }
  #phone-fax-email {
    padding: 50px 0 25px;
    width: 100%;
  }
  #address {
    padding: 25px 0 50px;
    width: 100%;
  }
  #receivership-notice, #copyright-div {
    text-align: center;
  }
  .row-column {
    margin-bottom: 50px;
    width: 100%;
  }
  .about-section-one-column {
    width: 100%;
  }
  #about-section-two-text {
    margin: 0;
  }
  .team-member {
    width: 100%;
  }
  .team-member:not(:first-of-type) {
    margin: 0px;
  }
  #phone-fax-email, #address, #priv-con-car {
    margin: auto;
    display: flex;
    justify-content: center;
    text-align: center;
  }
  #priv-wrapper div {
    margin: 0;
    text-align: center;
  }
  #footer-copyright {
    margin: auto;
  }
  .bio-modal-content {
    overflow: scroll;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0px;
  }
  #bio-modal-name, #bio-modal-title {
    font-size: 18px;
  }
  #bio-modal-bio {
    font-size: 15px;
  }
}

/* News Page */
#news-container {
  margin-top: 100px;
}
