#emergency-banner {
  height: 70px;
  background-color: #043351;
  color: white;
  text-align: center;
  vertical-align: middle;
  /* line-height: 35px; */
  line-height: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
  font-family: 'Source Sans Pro Regular';
}

#emergency-banner p{
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 15px;
}

#portfolio-banner {
  width: 100%;
  height: auto;
}

#portfolio-button-area {
  /* height: 262px - 99px; */
  height: auto;

  margin: 0px;
  justify-content: center;
  align-items: center;
}

#portfolio-button {
  width: 271px;
  height: 64px;
  border-radius: 4px;
  border: solid 2px #0096d4;

 font-family: 'Source Sans Pro Regular';
 font-size: 18px;
 font-style: normal;
 font-stretch: normal;
 line-height: normal;
 letter-spacing: 0.45px;
 text-align: center;
 color: #0096d4;


 margin-left: calc(50% - 135.5px);
 margin-top: 99px;
 margin-bottom: 120px;
}

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

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

#portfolio-companies-area {
  width: 100%;
  /* height: 468px; */
  height: auto;
  display:inline;
  /* z-index: 1; */
}

#companies-grid {
  display: grid;
  grid-template-columns: auto auto auto auto;
  grid-template-rows: auto auto auto auto auto;
  /* grid-gap: 50px; */
  padding: 100px;
  padding-bottom: 0px;
  padding-top: 0px;
  margin: 0px;
  margin-top: -250px !important;
  justify-content: center;
  align-items: center;
  /* z-index: 0; */
  position: relative;

  /* Added 3/2 */
  box-sizing: initial;
}

.container {
  width: 292px;
  height: 243px;
  border: solid 1px rgba(222, 222, 222, 0.5);
  background-color: white;
}

.container .back-company {
  transform: translateY(5%);
  transition-timing-function: ease-in;
  transition: 0.25s;
}
.container.alert-is-shown .back-company {
  transition: 0.2s;
  transition-timing-function: ease-out;

  transform: translateY(0);
  opacity: 1;
}

div.front-company {
  width: 292px;
  height: 243px;
}

.front-company img{
  padding: 0px;
  height: 200px;
  width: 200px;
  margin-left: 46px;
  margin-top: 22px;
  /* padding-left: 46px Change made - 2/28;
  padding-top: 22px; */
}

.front-company {
  position: absolute;
  /* padding-left: 3.5%;
  padding-top: 6%; */
}

.front-company img {
  /* z-index: 99; */

}

.back-company {
  width: 292px;
  height: 243px;
  opacity: 0;
  position: absolute;
  /* z-index: 1; */
}

.back-company p{
  text-align: left;
  padding-left: 24px;
  padding-right: 25px;
  display: inline-block;

  /* width: 243px; */
  height: 118px;
  font-family: 'Source Sans Pro Light';
  font-size: 16px;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.5;
  letter-spacing: 0.4px;
  color: #ffffff;
}

.back-company-image {
  float:left;
  width: 50%;
  /* padding-right: 2em;
  padding-top: 1.25em;
  padding-left: 2em;
  padding-bottom: 0.5em; */
}

.back-company-image {
  float:left;
  width: 50%;
  /* width: 35%; Change made - 2/28*/
  /* padding-left: 24px; */
}

img.back-company-image {
  /* height: 110px; */
  height: 90px;
  padding-bottom: 20px;
  object-fit: contain;
}

.arrow {
  float:right;
  padding-right: 2em;
  padding-top: 2.5em;
  padding-left: 0px;
  padding-bottom: 0.5em;
}

p.company-description {
  margin-top: -15px;
  margin-bottom: 0px;
  height: 101px;
}

#main-video {
    width: 100%;
    /* height: 734px; */
    height: 75%;
    position: relative;
}

.gradient {
  /* mix-blend-mode: multiply;
  background-image: linear-gradient(to bottom, #000000 20%, rgba(0, 0, 0, 0));
  object-fit: cover;
  position: relative;
  z-index: 2; */

  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 75%;
  content: ' ';
  z-index: 2;
  background-image: linear-gradient(to bottom, #616161, rgba(0, 0, 0, 0));
  mix-blend-mode: multiply;
}

#main-video-overlay {

  height: 120px;
  margin-left: 9.56%;
  margin-right: 9.45%;
  width: calc(100% - 9.56% - 9.45%);
  /* margin-top: 82px; */
  margin-top: 130px;
  margin-bottom: 81px;
  position: absolute;
  top: 25%;
  /* z-index: 1; */
  /* font-size: 60px; */
  font-size: 50px;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #ffffff;
  font-family: 'Source Serif Pro Semibold';
  z-index: 3;
}

#main-video-overlay p {
  vertical-align: bottom;
}

#video-background { /* class name used in javascript too */
    width: 100%; /* width needs to be set to 100% */
    height: 100%; /* height needs to be set to 100% */
    left: 0;
}

#team-banner {
  width: 100%;
  /* height: 21.75em; */
  height: auto;
  display: inline-block;
  background-color: #00324f;
  padding-bottom: 60px;
}

#left-column-content {
  /* width: calc(50% - 8.5625em - 136px); */
  /* width: calc(100% - 8.5625em - 26px); */
  /* margin-left: 8.5625em; */
  margin-top: 4.6875em;
  margin-right: 136px;
  float: left;

  margin-left: 9.44%;
  width: calc(50% - 9.44% - 136px);
}

#right-column-content {
  /* width: calc(50% - 6.375em - 1.125em); */
  margin-top: 10.4375em;
  /* margin-right: 6.375em; */
  margin-left: 1.125em;
  float: right;

  margin-right: 9.44%;
  width: calc(50% - 9.44% - 1.125em);
}

#team-banner-title {
  width: 100%;
  /* height: 20px; */
  height: auto;
  opacity: 0.4;
  font-family: 'Source Sans Pro Semibold';
  font-size: 20px;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: 3.75px;
  color: #fefefe;
  margin: 0px;
}

#team-banner-subtext {
  width: 100%;
  height: auto;
  font-family: 'Source Serif Pro Regular';
  font-size: 40px;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #f5f5f5;
  margin: 0px;
  padding-top: 34px;
}

#team-banner-description {
  height: auto;
  width: 100%;
  font-family: 'Source Sans Pro Light';
  font-size: 16px;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.63;
  letter-spacing: 0.2px;
  color: #ffffff;
  margin: 0px;
  margin-left: 0px;
  padding-bottom: 22px;
}

#team-button {
  width: 100%;
  height: auto;
  font-family: 'Source Sans Pro Regular';
  font-size: 18px;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: 0.45px;
  color: #0096d4;
  text-decoration: none;
  margin: 0px;

  /* padding-top: 34px; */
  display: block;
}

#news-banner {
  /* height: 56.4375em; */
  background-color: #f5f5f5;
  /* display: none; */
}

#quote-banner {
  height: auto;
  /* background-color: #f5f5f5; */
  background-color: #ffffff; /* Needs to be this when the News section gets added */
  overflow: auto;
}

#quote-image {
  padding-top: 6.5em;
  /* padding-left: 8.375em; */
  padding-right: 2em;
  float: left;
  /* width: calc(40% - 8.375em - 2em); */
  height: auto;

  padding-left: 9.44%;
  width: calc(40% - 9.44% - 2em);
}

#quote-body {
  /* width: calc(60% - 3.125em - 136px); */
  float: right;
  padding-top: 6.5em;
  padding-left: 3.125em;
  /* padding-right: 2em; */
  /* padding-right: 136px; */
  height: auto;
  padding-bottom: 40px;
  height: auto;

  padding-right: 9.44%;
  width: calc(60% - 3.125em - 9.44%);
}

#name {
  /* width: 35%; */
  width: auto;
  float: left;
  height: 20px;
  opacity: 0.4;
  font-family: 'Source Sans Pro SemiBold';
  font-size: 20px;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: 3.75px;
  color: #4f5965;
  margin-left: 30px;
}

div#name {
  margin-right: 22px;
}

#name-box {
  width: 100%;
  float: right;
  height: 20px;
  margin-top: 10px;
}

#box {
  height: 8px;
  /* width: 80%; */
  opacity: 0.05;
  background-color: #4f5965;
  /* margin-left: 0px; */
}

#quote-text {
  width: 93%;
  height: auto;
  font-family: 'Source Serif Pro Semibold';
  font-size: 30px;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #171738;
  margin-top: 38px;
  margin-bottom: 31px;
  margin-right: 50px;
  margin-left: 30px;
}

#quote-text span {
  border-bottom: 12px solid rgba(0, 150, 212, 0.3);
  line-height: 0.75;
  display: inline-block;
  display: inline-block;
}

img#ceo-image {
  border-radius: 50%;
  height: 348px;
  width: 348px;
}

#company-name {
  width: auto;
  float: right;
  height: 20px;
  opacity: 0.4;
  font-family: 'Source Sans Pro SemiBold';
  font-size: 20px;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: 3.75px;
  color: #4f5965;

  margin-left: 22px;
}

#company-name-box {
  /* width: calc(62% - 30px); */
  float: left;
  height: 20px;
  margin-top: 10px;
  margin-left: 30px;
}

#company-box {
  height: 8px;
  width: 100%;
  opacity: 0.05;
  background-color: #4f5965;
  margin-right: 12px;
}

#careers-banner {
  height: auto;
  background-color: #f5f5f5;
  display: inline-block;
}

#career-content {
  float: left;
  /* height: 38.875em - 7.3125em; */
  height: auto;
  /* margin-left: 8.375em; */
  /* margin-top: 7.3125em; */
  margin-top: 4.6875em;
  /* margin-right: 2.0625em; */
  /* width: calc(50% - 136px); */

  margin-left: 9.44%;
  width: calc(50% - 9.44%);
}

#career-content-title {
  opacity: 0.4;
  font-family: 'Source Sans Pro Semibold';
  font-size: 20px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: 3.75px;
  color: #4f5965;
  margin: 0px;
}

#career-content-description {
  /* width: 551px; */
  width: auto;
  font-family: 'Source Serif Pro Regular';
  font-size: 24px;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.42;
  letter-spacing: normal;
  color: #171738;
  margin-top: 30px;
  margin-bottom: 8px;

  margin-right: 29px;
}

#career-content-email {
  width: 550px;
  font-family: 'Source Sans Pro Light';
  font-size: 16px;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.63;
  letter-spacing: 0.2px;
  color: #171738;
  margin: 0px;
}

#career-email {
  font-family: 'Source Sans Pro SemiBold';
  font-size: 16px;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.63;
  letter-spacing: 0.2px;
  color: #171738;
}

#career-button {
  width: 249px;
  height: 64px;
  border-radius: 8px;
  border: solid 2px #0096d4;

 font-family: 'Source Sans Pro Regular';
 font-size: 18px;
 font-style: normal;
 font-stretch: normal;
 line-height: normal;
 letter-spacing: 0.45px;
 text-align: center;
 color: #0096d4;
 margin-top: 40px;
}

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

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

#career-visual {
  width: 50%;
  float: right;
  /* height: 38.875em; */
  height: auto;

  display:flex;
  align-items:center;
  justify-content:center;
  max-width: 1000%;
}

#career-pic {
  width: 1000%;
  max-height: 100%;
  max-width: 100%;
}

#career-pic-middle {
  display: none;
}




.slideshow-container {
    /* max-width: 1000px; */
    position: relative;
    /* margin: auto */
}

.mySlides {
    display: none;
    height: auto;
    /* border: solid 1px black; */
    width: 100%;
    /* background-color: #f5f5f5; */

}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: #222428;
    font-weight: bold;
    font-size: 30px;
    transition: .6s ease;
    border-radius: 0 3px 3px 0
}

.next {
    right: -50px;
    border-radius: 3px 3px 3px 3px
}

.prev {
    left: -50px;
    border-radius: 3px 3px 3px 3px
}

.prev:hover,
.next:hover {
    color: #f2f2f2;
    background-color: rgba(0, 0, 0, 0.8)
}

.text {
    color: #f2f2f2;
    font-size: 15px;
    padding-top: 12px;
    padding-bottom: 12px;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    background-color: #222428
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color .6s ease;
    margin-left: 25px;
}

.active,
.dot:hover {
    background-color: #0096d4;
}

div#quote-company {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  height: 40px;
}

div#quote-ceo-name {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  height: 20px;
}

#mobile-name {
  display: none;
}

/* Mobile Optimization */


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

  #main-video {
      width: 100%;
      height: 100%;
      position: relative;
  }

  /* News Section */
  #news-banner-grid {
    grid-template-columns: 31.5% 31.5% 31.5%;
  }

  /* Portfolio Section */

  #companies-grid {
    grid-template-columns: auto;
    grid-template-rows: auto auto auto auto auto auto auto auto;
    margin-top: -50px !important;
  }

  .back-company-image {
    float:left;
    width: 50%;
  }

  img.back-company-image {
    height: 90px;
    padding-bottom: 20px;
    object-fit: contain;
  }

  .arrow {
    padding-top: 2em;
  }

  #portfolio-button {
    margin-top: 69px;
    margin-bottom: 99px;
  }

  /* Quote Section */

  #quote-banner {
    height: auto;
    overflow:hidden;
    /* background-color: #f5f5f5; */
  }

  div#quote-image {
    float: none;
    width: 100%;
    padding-top: 50px;
    /* padding-left: 0px; */
    text-align: center;
    padding-left: 9.44%;
    padding-right: 9.44%;
  }

  #quote-body {
    float: none;
    width: 100%;
    padding-left: 0px;
    padding-top: 2.5em;
    padding-bottom: 0px;
  }

  #quote-name {
    height: 18px;
    display: inline-block;
    width: 100%;
  }

  #name {
    font-size: 18px;
    width: 92%;
    margin-left: 0px;
  }

  #name-box {
    display: none;
  }

  #quote-text {
    font-size: 20px;
    /* margin-left: 8%;
    margin-right: 5%; */
    margin-top: 15px;
    margin-bottom: 15px;
    /* width: 87%; */
    display: inline-block;
    line-height: normal;

    margin-left: 9.44%;
    margin-right: 9.44%;
    width: 81.12%;
  }

  #quote-company {
    height: 18px;
    display: inline-block;
    width: 100%;
  }

  div#quote-company {
    height: 50px;
    grid-template-columns: auto;
    grid-template-rows: auto auto auto;
  }

  #company-name {
    /* width: 84%; */
    font-size: 16px;
    /* margin-left: 8%;
    margin-right: 8%; */
    margin-bottom: 36px;
    margin-top: 5px;
    display: inline-block;
    color: #4f5965;
    font-family: 'Source Sans Pro Semibold';
    letter-spacing: 0.4px;
    opacity: 1;

    margin-left: 9.44%;
    /* margin-right: 0px;
    width: 100%; */
  }

  #mobile-name {
    width: 100%;
    font-size: 16px;
    /* margin-left: 8%;
    margin-right: 8%; */
    margin-bottom: 0px;
    margin-top: 5px;
    display: block;
    color: #4f5965;
    font-family: 'Source Sans Pro Semibold';
    margin-left: 9.44%;
  }

  div#quote-ceo-name {
    /* width: 84%;
    margin-left: 8%;
    margin-right: 8%;
    display: inline-block;
    height: 20px; */
    display: none;
  }

  #company-name-box {
    float: none;
    width: 100%;
    height: 20px;
    /* display: inline-block; */
    display: none;
  }

  #company-box {
    display: none;
  }

  /* Team Section */

  #team-banner {
    height: auto;
  }

  #left-column-content {
    /* width: 84%;
    margin-left: 8%;
    margin-right: 8%; */

    width: 81.12%;
    margin-left: 9.44%;
    margin-right: 9.44%;
  }

  #team-banner-subtext {
    width: 100%;
    font-size: 30px;
    height: auto;
  }

  #right-column-content {
    /* width: 84%;
    margin-left: 8%;
    margin-right: 8%; */
    margin-top: 25px;

    width: 81.12%;
    margin-left: 9.44%;
    margin-right: 9.44%;
  }

  #team-banner-description {
    width: 100%;
    height: auto;
  }

  /* Career Section */

  #careers-banner {
    height: auto;
  }

  #career-content {
    /* width: 84%;
    margin-left: 8%;
    margin-right: 8%; */
    margin-top: 75px;

    width: 81.12%;
    margin-left: 9.44%;
    margin-right: 9.44%;
  }

  #career-content-title, #career-content-description, #career-content-email {
    width: 100%;
  }

  #career-button {
    margin-top: 20px;
    margin-bottom: 40px;
  }

  #career-visual {
    display: none;
  }

  #career-pic-middle {
    margin-top: 15px;
    margin-bottom: 15px;
    display: inline-block;
    width: 100%;
  }

}

/* Tablet Optimization */

@media only screen and (min-width: 1025px) and (max-width: 1250px) {

  #career-content {
    margin-top: 2.6875em;
  }

  #career-button {
    margin-top: 20px;
  }
  #career-content-description{
    font-size: 18px;
  }

}

@media only screen and (min-width: 600px) and (max-width: 1200px) {
  #companies-grid {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto auto auto;
    margin-top: -75px !important;
  }
}

@media only screen and (min-width: 600px) and (max-width: 699px) {
  #main-video-overlay {
    top: 20%;
    font-size: 40px;
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 82px;
  }
}

@media only screen and (min-width: 700px) and (max-width: 899px) {
  #main-video-overlay {
    top: 30%;
    font-size: 40px;
    margin-left: 100px;
    margin-right: 100px;
    width: calc(100% - 200px);
    margin-top: 82px;
  }
}

@media only screen and (min-width: 900px) and (max-width: 1024px) {
  #main-video-overlay {
    top: 40%;
    font-size: 50px;
    margin-top: 82px;
  }
}

@media only screen and (min-width: 1025px) and (max-width: 1200px) {
  #main-video-overlay {
    top: 40%;
    font-size: 60px;
    margin-top: 82px;
  }
}

@media only screen and (max-width: 599px) {
  /* News Section */
  #news-banner-grid {
    grid-template-columns: 100%;
  }

  #quote-body {
    padding-top: 19px;
  }

  #quote-image img{
    /* height: 104px;
    width: 104px; */
    height: 175px;
    width: 175px;
  }

  #quote-text {
    font-size: 16px;
  }

  #name {
    color: #4f5965;
    font-size: 16px;
  }

  #company-name {
    color: #4f5965;
    font-size: 16px;
    height: auto;
  }

  div#company-name-box {
    height: 0px;
  }

  #main-video-overlay {
    top: 0;
    font-size: 24px;
    margin-left: 25px;
    margin-right: 25px;
    width: calc(100% - 50px);
    margin-top: 82px;
  }

  #emergency-banner {
    height: 50px;
    /* line-height: 25px; */
    line-height: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  #emergency-banner p{
    font-size: 10px;
  }
}
