#portfolio-banner {
  /* background-color: white; */
  height: auto;
  /* padding-bottom: 1em; */

  /* Added 3/3 */
  overflow: auto;

  /* Added 3/25 */
   background-color: #043351;
   padding-bottom: 3em;
}

#portfolio-overall {
  padding-bottom: 1em;
}

#portfolio-banner-text {
  color: #14152B;
  /* width: 41%; */
  margin: 0px;
  /* padding-left: 7em; */
  padding-top: 6em;
  float: left;

  /* Added 3/3 */
  width: 50%;
  padding-left: 9.44%;
  /* padding-right: 9.44%; */

  padding-right: 6.44%;

}

#portfolio-banner-text h1 {
  /* font-family: "Barlow", serif; */
  /* font-size: 55px; */
  /* font-weight: normal; */
  margin: 0px;
  padding-bottom: 25px;

  font-family: 'Source Serif Pro Semibold';
  line-height: normal;
  letter-spacing: normal;
  /* color: #171738; */
  color: #fefefe;
  font-size: 56px;
}

#portfolio-banner-text p {
  /* font-family: "Barlow", sans-serif; */
  /* font-size: 15px; */
  /* font-weight: lighter; */
  margin: 0px;
  /* line-height: 1.75; */


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

#portfolio-banner-img {
  float: right;
  /* width: 40%; */
  /* padding-right: 136px; */
  padding-top: 50px;
  /* padding-bottom: 200px; */
  /* background-color: #f5f5f5; */

  /* Added 3/3 */
  width: 50%;
  padding-right: 9.44%;

}

#portfolio-banner-img img{
  width: 100%;
  display: inline-block;
}

#companies-grid {
  display: grid;
  grid-template-columns: auto auto auto auto;
  grid-template-rows: auto auto auto auto auto;
  /* grid-gap: 50px; */
  padding: 100px;
  margin: 0px;
  align-items: center;
  width: 1168px;
}

.number18 {
  grid-column-start: 2;
}

#blocker{
      position:fixed;
      width:100%;
      height:100%;
      left:0;
      top:0;
      right:0;
      bottom:0;
      z-index:9999;
 }

 .company-link {
   text-decoration: none;
 }

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

.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;
  /* padding-left: 46px;
  padding-top: 22px; */
  margin-left: 46px;
  margin-top: 22px;
}

.front-company {
  position: absolute;
}

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

.back-company p{
  text-align: left;
  /* padding-left: 2em; */
  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;
}

img.back-company-image {
  height: 110px;
  object-fit: contain;
}

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

.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;
}

p.exit {
  /* margin-top: 0px; */
  margin-bottom: 0px;
  height: 24px;
  width: 292px;
  /* padding-left: 0px; */
  justify-content: center;
  align-content: center;

  font-family: 'Source Sans Pro Light';
  /* font-size: 16px; */
  font-style: normal;
  font-stretch: normal;
  line-height: 1.5;
  letter-spacing: 0.4px;
  text-align: center;
  /* color: #ffffff; */

  margin-top: -35px;
  padding-left: 25px;
  padding-right: 25px;
  color: black;
}

.exit span {
  font-family: 'Source Sans Pro Regular';
}

@media only screen and (min-width: 2305px) and (max-width: 2560px) {
  #portfolio-banner-text {
    padding-left: 15em;
  }

  #companies-grid {
    padding-top: 100px;
    padding-left: 27%;
    padding-right: 27%;
    padding-bottom: 200px;
    grid-gap: 0px;
  }

  #portfolio-banner {
    background-color: #white;
    height: auto;
    display: inline-block;
    width: 100%;
  }

  #portfolio-banner-img {
    width: 35%;
    padding-bottom: 0px;
  }
}

@media only screen and (min-width: 2304px) and (max-width: 2304px) {
  #portfolio-banner-text {
    padding-left: 13em;
  }

  #companies-grid {
    padding-top: 100px;
    padding-left: 24.5%;
    padding-right: 24.5%;
    padding-bottom: 200px;
    grid-gap: 0px;
  }

  #portfolio-banner {
    background-color: #white;
    height: auto;
    display: inline-block;
    width: 100%;
  }

  #portfolio-banner-img {
    width: 35%;
    padding-bottom: 0px;
  }
}

@media only screen and (max-width: 2303px) {
  #companies-grid {
    padding-top: 150px;
    padding-left: 18.5%;
    padding-right: 18.5%;
    padding-bottom: 200px;
    grid-gap: 0px;
  }
}

@media only screen and (max-width: 1680px) {
  #companies-grid {
    padding-top: 100px;
    padding-left: 14%;
    padding-right: 14%;
    padding-bottom: 200px;
    grid-gap: 0px;
  }
}

@media only screen and (max-width: 1600px) {
  #portfolio-banner-img {
    padding-top: 60px;
    /* padding-bottom: 190px; */
  }
}

@media only screen and (max-width: 1440px) {
  #companies-grid {
    padding-top: 100px;
    padding-left: 9%;
    padding-right: 9%;
    padding-bottom: 200px;
    grid-gap: 0px;
  }

  #portfolio-banner-img {
    padding-top: 90px;
    /* padding-bottom: 160px; */
  }
}

@media only screen and (max-width: 1366px) {
  #companies-grid {
    padding-top: 100px;
    padding-left: 7%;
    padding-right: 7%;
    padding-bottom: 200px;
    grid-gap: 0px;
  }

  #portfolio-banner-img {
    padding-top: 100px;
    /* padding-bottom: 150px; */
  }
}


@media only screen and (max-width: 1280px) {
  #companies-grid {
    padding-top: 100px;
    padding-left: 4.25%;
    padding-right: 4.25%;
    padding-bottom: 200px;
    grid-gap: 0px;
  }
}

#portfolio-banner-img {
  padding-top: 100px;
  /* padding-bottom: 200px; */
  /* width: 35%; */
  /* width: 59%; */
}

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

  html, body {
    overflow-x:hidden
  }

  #companies-grid {
    grid-template-columns: auto auto;
    grid-gap: 0px;
    justify-content: center;
    /* width: 584px; */

    /* Added 3/3 */
    width: auto;
  }

  #portfolio-banner-text {
    /* width: 70%; */
    /* Added 3/2 */
    width: 100%;
    /* padding-left: 10%;
    padding-right: 20%; */
    padding-top: 50px;
    padding-bottom: 10px;
    /* background-color: #f5f5f5; */
  }

  #portfolio-banner-img {
    float: none;
    height: auto;
    /* width: 90%; */
    /* Added 3/2 */
    width: 100%;
    padding-right: 0px;
    padding-top: 0px;
    display: inline-block;
    /* padding-left: 10%; */
    /* background-color: #f5f5f5; */
    padding-bottom: 0px;

    padding-left: 9.44%;
  }

  #portfolio-banner-img img{
    width: 70%;
    display: inline-block;
    padding-top: 25px;
    padding-bottom: 25px;
  }
}

@media only screen and (max-width: 800px) {
  #portfolio-banner-text {
    /* width: 80%; */
    /* Added 3/2 */
    width: 100%;
    /* padding-left: 10%;
    padding-right: 10%; */
    padding-top: 50px;
    padding-bottom: 10px;
    /* background-color: #f5f5f5; */
  }
}

@media only screen and (max-width: 600px) {
  #portfolio-banner-img img{
    width: 95%;
  }
}

@media only screen and (max-width: 500px) {
  #companies-grid {
    grid-template-columns: auto;
    padding: 25px;
    justify-content: center;
  }

  #portfolio-banner-text {
    /* width: 80%; */
    /* padding-left: 10%;
    padding-right: 10%; */
    padding-top: 50px;
    padding-bottom: 10px;
    /* background-color: #f5f5f5; */
  }

  #portfolio-banner-text h1 {
    font-size: 35px;
    height: auto;
  }

  #portfolio-banner-text p {
    font-size: 15px;
    height: auto;
  }

  #portfolio-banner-img {
    /* background-color: #f5f5f5; */
    height: auto;
    width: 100%;
    /* padding-right: 0px; */
    padding-top: 0px;
    /* padding-left: 0px; */
    padding-bottom: 0px;

    padding-left: 9.44%;
    padding-right: 9.44%;
  }

  #portfolio-banner-img img{
    height: 200px;
    padding-left: 10px;
  }

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

  img.back-company-image {
    height: 90px;
  }

  .arrow {
    padding-top: 2em;
  }

}
