html,body{
  height:100%;
}

#company-overview {
  width: 100%;
  /* height: 645px; */
  height: auto;
  overflow: hidden;
  background-color: #4257b2;
}

#company-overview-content {
  width: calc(47% - 9.44%);
  padding-left: 9.44%;
  float: left;

  /* Added 3/3 */
  padding-bottom: 20px;
}

#company-name {
  /* padding-top: 2.3125em; */
  margin: 0px;
  /* height: 130px; */
  /* height: auto; */
  color: white;
  font-size: 60px;
  font-family: 'Source Sans Pro Bold';
  margin-bottom: 15px;

  /* Changed 3/3 */
  padding-top: 1.3125em;
}

#company-name-with-logo {
  padding-top: 5em;
  margin: 0px;
  /* height: 200px; */
  /* color: white;
  font-size: 60px;
  font-family: 'Source Sans Pro Bold';
  margin-bottom: 15px; */

  height: 250px;
  max-width: 250px;
}

.company-name-with-logo-description {
  margin-top: 0px;
}

#company-description {
  width: 90%;
  height: auto;
  font-family: 'Source Sans Pro Regular';
  font-size: 24px;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.42;
  letter-spacing: normal;
  color: #ffffff;
  padding-bottom: 30px;
  margin-bottom: 0px;
  margin-top: -20px;
}

#company-overview-buttons {
  width: auto;
  height: auto;
  display: inline-block;
}

#company-button-left {
  /* width: 146px;
  height: 64px; */
  border-radius: 4px;
  border: solid 2px #fefefe;

  font-family: 'Source Sans Pro SemiBold';
  font-size: 16px;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: 0.45px;
  text-align: center;
  color: #fefefe;

  float: left;

  padding-left: 24px;
  padding-right: 24px;
  margin-right: 16px;
}

/* #company-button-left p {
  margin-left: 5px;
  margin-right: 5px;
} */

#company-button-right {
  /* width: 164px;
  height: 64px; */
  border-radius: 4px;
  border: solid 2px #fefefe;

  font-family: 'Source Sans Pro SemiBold';
  font-size: 16px;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: 0.45px;
  text-align: center;
  color: #fefefe;

  float: right;

  padding-left: 24px;
  padding-right: 24px;
}

#company-button-text {
  text-decoration: none;
  color: #0096d4;
}

#company-button p{
  margin-top: 20px;
  margin-bottom: 17px;
  margin-left: 24px;
  margin-right: 24px;
}

.middle > * {
  vertical-align: middle;
}

#company-overview-visual-content  {
  width: calc(55% - 16px);
  white-space: nowrap;
  float: right;
  /* padding-top: 150px; */
  height: 645px;

  /* display: grid;
  grid-template-columns: auto 136px; */
  justify-content: center;
  z-index: 1;

  /* Added 3/5 */
  padding-right: 9.44%;

  /* Added 3/5 */
  position: relative;
  top: 0;
  left: 0;
}

#play-icon {
  z-index: 2;
  /* margin-left: calc(-50% + 30px); */

  /* Added 3/5 */
  position: absolute;
  top: 42%;
  left: 36%;
}

/* #play-icon-securly {
  z-index: 2;
  margin-left: calc(-50% + 30px);
} */

#company-image-video {
  /* box-shadow: 0 12px 12px 0 rgba(79, 89, 101, 0.8); */
  /* background-color: #d8d8d8; */
  /* Removed 3/3 */
  /* width: 80%; */
  /* max-height: 645px; */
  max-height: 80%;
}

#company-image-video.vertical {
  /* box-shadow: 0 12px 12px 0 rgba(79, 89, 101, 0.8); */
  /* background-color: #d8d8d8; */
  /* width: 80%; */
  /* max-height: 645px; */
  width: auto;
  max-height: 400px;
  /* padding-top: 125px; */
}

#dummy-company-image {
  height: 645px;
  width: 1px;
}

img#company-image-video {
  /* padding-top: 125px; */
  margin-top: auto;
  margin-bottom: auto;
  width: 100%;

  /* Added 3/5 */
  position: relative;
  top: 0;
  left: 0;
}

#bot-div {
  display: inline-block;
  padding-left: 9.44%;
  padding-right: 9.44%;
}

#company-metadata-column {
  float: left;
  /* width: 30%; */
}

.company-metadata-grid {
  width: 100%;

  /* Removed 3/3 */
  /* width: 60%; */
  float: right;
  /* float: left; */
  height: auto;
  /* background-color: #f5f5f5; */

  display: grid;
  /* display: inline-block; */
  grid-template-columns: auto;
  grid-template-rows: auto auto auto auto ;
  grid-gap: 20px;
  /* padding-left: 10.5%; */
  /* padding-right: 14.5%; */
  margin-top: 0px;
  margin-bottom: 0px;
  margin-right: 0px;
  justify-content: left;
  align-items: left;
  max-width: 265px;
}

.grid-tile {
  height: auto;
  width: 100%;
}

.data-title {
  width: 100%;
  height: auto;
  opacity: 0.4;
  font-family: 'Source Sans Pro Bold';
  font-size: 16px;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: 3.75px;
  color: #4f5965;
  text-transform: uppercase;
  margin: 0px;
  padding-bottom: 3px;
}

.data-value {
  width: 100%;
  height: 22px;
  font-family: 'Source Serif Pro SemiBold';
  font-size: 16px;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: 0.83px;
  color: #00324f;
  margin: 0px;
  margin-bottom: 10px;
}


#company-summary {
  width: 70%;
  height: auto;
  float: right;
}

#company-quote {
  /* margin-left: 23%; */
  /* Removed on 3/3 */
  /* margin-right: 22%; */
  margin-left: 15px;
  /* margin-top: -30px; */
  margin-bottom: 0px;
  margin-top: 0px;
  height: auto;
  font-family: 'Source Serif Pro Regular';
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #171738;
  display: inline-block;
  font-size: 24px;
  padding-bottom: 19px;
  padding-top: 0px;
}

#company-quote-author {
  margin: 0px;
  /* margin-right: 22%; */
  margin-left: 15px;

  font-family: 'Source Sans Pro Regular';
  font-size: 16px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: 2px;
  color: #4f5965;
}

#company-quote-author-title {
  margin: 0px;
  /* Removed 3/3 */
  /* margin-right: 22%; */
  margin-left: 15px;

  font-family: 'Source Sans Pro Regular';
  font-size: 16px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: 2px;
  color: rgba(79, 89, 101, 0.4);
  padding-bottom: 67px;
}

#company-summary-text {
  margin: 0px;
  /* Removed 3/3 */
  /* margin-right: 22%; */
  margin-left: 15px;

  font-family: 'Source Sans Pro Regular';
  font-size: 16px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.63;
  letter-spacing: 0.2px;
  color: #171738;

  margin-bottom: 16px;
  min-width: 400px;
  word-wrap: anywhere;
}

#company-overview-buttons-phone {
  display: none;
}

#top-div {
  height: 115px;
}

#bottom-div {
  height: 114px;
}

/* #company-overview-phone {
  display: none;
} */

/* The Overlay (background) */
.overlay-video {
  height: 100%;
  width: 100%;
  display: none;
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  background-color: rgb(4,51,81);
  background-color: rgba(4,51,81, 0.975);
}

/* Position the content inside the overlay */
.overlay-content-video {
  position: relative;
  top: 10%; /* 25% from the top */
  width: 100%; /* 100% width */
  text-align: center; /* Centered text/links */
  margin-top: 10px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay-video a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block; /* Display block instead of inline */
  transition: 0.3s; /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
/* .overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
} */

/* Position the close button (top right corner) */
.overlay-video .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

div#company-image-video {
  padding-top: 150px;
}

iframe.ytplayer {
  align-items: center;
  align-content: center;
  width: 600px;
  height: 340px;
  display: inline;
  border: none;
}

video.ytplayer {
  align-items: center;
  align-content: center;
  width: 600px;
  height: 340px;
  display: inline;
  border: none;
}

.ytplayer {
  pointer-events: none;
}

#awesome-overlay-video {
  width:90%;
  height:calc(100vh - 150px);
  border: none;
}

/* Tablet Optimization */

/* @media only screen and (min-width: 600px) and (max-width: 1024px) {
  .grid-tile {
    margin-left: 30px;
  }
} */

/* Mobile Optimization */

/* Phone */
@media only screen and (max-width: 1112px) {
  html, body {
    overflow-x:hidden
  }

  #company-overview {
    height: auto;
  }

  #company-overview-content {
    width: 85%;
    /* padding-left: 50px; */
    float: none;
    height: auto;
    /* Added 3/3 */
    padding-bottom: 0px;
  }

  #company-name {
    padding-top: 1em;
    font-size: 50px;
  }

  #company-name-with-logo {
    padding-top: 1em;
    height: 200px;
  }

  #company-description {
    font-size: 20px;
    width: 100%;
  }

  #company-overview-buttons {
    display: none;
  }

  #company-overview-buttons-phone {
    display: inline-block;
    /* width: 290px; */
    height: 90px;
    /* margin-left: 50px; */
    margin-left: 9.44%;
    margin-top: 25px;
  }

  #company-button-left-phone {
    width: auto;
    height: auto;
    font-size: 16px;

    border-radius: 4px;
    border: solid 2px #fefefe;

    font-family: 'Source Sans Pro SemiBold';
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: 0.45px;
    text-align: center;
    color: #fefefe;

    float: left;
    padding-left: 16px;
    padding-right: 16px;
    margin-right: 16px;
  }

  #company-button-right-phone {
    width: auto;
    height: auto;
    font-size: 16px;

    border-radius: 4px;
    border: solid 2px #fefefe;

    font-family: 'Source Sans Pro SemiBold';
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: 0.45px;
    text-align: center;
    color: #fefefe;

    float: right;
    padding-left: 16px;
    padding-right: 16px;
  }

  #company-overview-visual-content {
    /* width: 85%; */
    float: none;
    /* height: 400px; */
    padding-top: 0px;
    /* height: auto; */
    /* height: 0px; */
    height: 160px;
    /* Removed 3/3 */
    /* display: inline-grid; */
    justify-content: left;
    grid-template-columns: auto;
    position: relative;

    width: 100%;

    /* Added 3/5 */
    display: inline-flex;
    margin-left: 9.44%;

    /* display: inline-flex; */
  }

  #play-icon {
    /* z-index: 2; */
    /* margin-left: 50%;
    padding-top: 17%; */
    /* position: absolute;
    left: 0; */

    /* Added 3/5 */
    /* margin-left: 27%;
    padding-top: 13%; */

    /* Added 3/5 */
    top: 60%;
    left: 34%;
  }

  /* #play-icon-securly {
    z-index: 2;
    margin-left: 225px;
    padding-top: 75px;
    position: absolute;
    left: 0;
  } */

  /* div#company-overview-visual-content.middle {
    height: 375px;
  } */

  #dummy-company-image {
    /* height: 645px; */
    height: 0px;
    display: inline;
  }

  img#company-image-video{
    align-items: center;
    align-content: center;
    /* width: 100%; */
    /* margin-left: 50px; */
    /* margin-left: 28.44%; */
    display: inline;
    margin-bottom: 20px;
    /* margin-top: -10px; */
    padding-top: 0px;
    max-height: none;
    /* max-width: 70%; */

    /* width: 81.12%; */
    /* padding-left: 9.44%; */
    padding-right: 9.44%;

  }

  div#company-image-video {
    padding-top: 0px;
    height: 165px;
    /* Removed 3/3 */
    /* width: 355px; */
  }

  body.vp-center {
    justify-content: left;
  }

  iframe.ytplayer {
    /* margin-left: 50px; */
    /* margin-left: 9.44%; */
    border: none;
  }

  video.ytplayer {
    margin-left: 50px;
    border: none;
  }

  #top-div {
    height: 60px;
  }

  .company-metadata-grid {
    /* width: 90%; */

    /* Added on 3/3 */
    width: 100%;
  }

  .data-title {
    font-size: 14px;
    display: inline-block;
    height: auto;
    letter-spacing: 1px;
    padding-bottom: 5px;
  }

  .data-value {
    font-size: 14px;
    height: auto;
    max-width: 215px;
  }

  #company-summary {
    width: 60%;
    height: auto;
    float: right;
  }

  #company-quote {
    /* Removed on 3/3 */
    /* margin-right: 10%; */
    font-size: 18px;
    padding-bottom: 15px;
  }

  #company-quote-author {
    /* margin-right: 10%; */
    font-size: 16px;
    color: #4f5965;
  }

  #company-quote-author-title {
    /* margin-right: 10%; */
    font-size: 16px;
    padding-bottom: 60px;
    color: #4f5965;
  }

  #company-summary-text {
    /* margin-right: 10%; */
    font-size: 16px;
  }

  #bottom-div {
    height: 59px;
  }

  iframe.ytplayer {
    width: auto;
    height: 165px;
    text-align: left;
    justify-content: left;
    align-items: flex-start;
    align-content: flex-start;
  }

}

@media only screen and (min-width: 800px) and (max-width: 1111px) {

  #play-icon {
    top: 108%;
    left: 36%;
  }
}

@media only screen and (max-width: 799px) {

  #play-icon {
    top: 83%;
    left: 36%;
  }

  #company-summary {
    width: 55%;
    height: auto;
    float: right;
  }

  #company-metadata-column {
    width: 30%;
  }

  #company-summary-text {
    min-width: 0px;
  }

  #dummy-company-image {
    height: 0px;
  }

  .company-metadata-grid {
    max-width: 200px;
  }

}

@media only screen and (min-width: 421px) and (max-width: 550px) {

  #play-icon {
    top: 35%;
    left: 29%;
  }

}

@media only screen and (max-width: 420px) {

  #company-metadata-column {
    width: 100%;
  }

  .company-metadata-grid {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto auto;
    /* margin-left: 14px;
    margin-right: 14px; */
    margin-bottom: 54px;
    float: none;
  }

  .grid-tile {
    /* width: 150px; */
  }

  #company-summary {
    width: 100%;
    float: none;
    /* margin-left: 14px; */
    /* margin-right: 14px; */
  }

  /* #company-name-with-logo {
    padding-top: 1em;
  } */

  #company-quote {
    margin-left: 0;
  }

  #company-quote-author {
    margin-left: 0;
  }

  #company-quote-author-title {
    margin-left: 0;
  }
  #company-summary-text {
    margin-left: 0;
    display: inline-block;
  }

  #company-overview-content {
    /* padding-left: 14px; */
    /* width: 95%; */

    padding-right: 9.44%;
    width: 100%;
  }

  img#company-image-video {
    /* margin-left: 14px; */
    width: 90%;
  }

  /* #company-overview-buttons-phone {
    margin-left: 14px;
  } */

  /* iframe.ytplayer {
    margin-left: 14px;
  } */

  .overlay-video .closebtn {
    position: absolute;
    top: 20px;
    right: 2%;
    font-size: 30px;
  }

  #play-icon {
    z-index: 2;
    /* margin-left: 35%;
    padding-top: 11%;
    position: absolute;
    left: 0; */

    left: 23%;
    top: 17%;
  }

  /* #play-icon-securly {
    z-index: 2;
    margin-left: 110px;
    padding-top: 25px;
    position: absolute;
    left: 0;
} */

}

@media only screen and (max-width: 320px) {

  /* #company-name-with-logo {
    padding-top: 1em;
  } */

  #company-overview-content {
    padding-left: 20px;
  }

  img#company-image-video{
    margin-left: 20px;
  }

  iframe#company-image-video{
    margin-left: 20px;
  }

  #company-overview-buttons-phone {
    margin-left: 20px;
  }

  .data-title {
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .data-value {
    font-size: 12px;
  }

}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  /* .grid-tile {
    margin-left: 30px;
  } */

  .data-title {
    font-size: 20px;
    display: inline-block;
    height: auto;
    letter-spacing: 1px;
    padding-bottom: 5px;
  }

  .data-value {
    font-size: 20px;
    height: auto;
  }

  #company-quote {
    font-size: 24px;
  }

  #company-quote-author {
    font-size: 20px;
  }

  #company-quote-author-title {
    font-size: 20px;
  }

  #company-summary-text {
    font-size: 20px;
  }
}

@media only screen and (min-width: 2300px) and (max-width: 3000px) {
  #company-image-video {
    width: 65%;
  }
}
