/*
  GLOBALS
*/

@media only screen
  and (min-device-width: 200px)
  and (max-device-width: 800px) {
    #second-services-column {
      margin-left: 10px;
    }
}

.clientScene__container {
  display: flex;
  height: 80%;
  width: 85%;
  max-width: 1440px;
  flex-direction: row;
}
.clientScene__container__aboutUs {
  flex: 3 3 37.5%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: thin solid white;
  padding: 0 60px;
}
.clientScene__container__aboutUs > p {
  font-size: 20px;
  line-height: 40px;
  color: white;
  /* hyphens: auto;
  -webkit-hyphens: auto; */
  margin: 0;
}
.clientScene__container__aboutUs__specialty {
  display: flex;
}
.clientScene__container__aboutUs__specialty-row {
  white-space: nowrap;
  flex: 1 1 50%;
}
.clientScene__container__aboutUs__specialty-row > p {
  font-size: 20px;
  color: #c6a968;
  margin: 0;
  display: table;
  line-height: 36px;
}
.clientScene__container__aboutUs .logo {
  width: 135px;
  height: 38px;
}
.clientScene__container__logos {
  flex: 5 5 62.5%;
  padding: 0 0 0 60px;
  border-left: thin solid white;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
}
.clientScene__container__logos img {
  width: 100%;
  height: 100%;
}
.clientScene__container__logos .photo-grid-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 160px;
  height: 80px;
}

@media (max-width: 1700px) {
  .clientScene__container {
    width: 90%;
  }
  .clientScene__container__aboutUs > p {
    line-height: 38px;
  }
}

@media (max-width: 1500px) {
  .clientScene__container {
    height: 75%;
  }
  .clientScene__container__aboutUs {
    padding: 0 30px;
  }
  .clientScene__container__aboutUs > p {
    line-height: 30px;
    font-size: 19px;
  }
  .clientScene__container__aboutUs__specialty-row p {
    font-size: 19px;
    line-height: 35px;
  }
  .clientScene__container__logos {
    padding: 0 0 0 30px;
  }

}

@media (max-width: 1100px) {
  .clientScene__container {
    height: 74%;
    min-height: 540px;
  }
  .clientScene__container__aboutUs {
    padding: 0 20px;
  }
  .clientScene__container__aboutUs > p {
    font-size: 17.5px;
    line-height: 26px;
  }
  .clientScene__container__aboutUs__specialty-row {
    flex: 5;
  }
  .clientScene__container__aboutUs__specialty-row:first-child {
    padding-right: 5%;
    flex: 2;
  }
  .clientScene__container__aboutUs__specialty-row > p {
    line-height: 33px;
    font-size: 17px;
  }
   .clientScene__container .photo-grid-item {
    width: 115px;
  }
}

@media (max-width: 777px) {
  .clientScene__container .photo-grid-item {
    width: 86px;
  }
  .clientScene__container__logos {
    padding: 0 0 0 15px;
}
}

@media (max-width: 666px) {
  .clientScene__container {
    height: auto;
    min-height: 503px;
  }

  .clientScene__container__logos {
    padding: 0 0 0 10px;
  }

  .clientScene__container__aboutUs {
    padding: 0 15px 0 0;
    border-left: none;
    justify-content: flex-start;
  }
  .clientScene__container__aboutUs > p {
    line-height: 32px;
    flex: 1;
  }

  .clientScene__container .photo-grid-item {
    width: 85px;
    height: 40px;
  }

  .clientScene__container__aboutUs .logo {
    position: absolute;
    transform: translateY(-150%);
  }

  .clientScene__container__aboutUs__specialty {
    position: absolute;
    transform: translateY(800%);
    width: 100%;
    flex-direction: column;
    display: flex;
  }
  .clientScene__container__aboutUs__specialty-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .clientScene__container__aboutUs__specialty-row > p {
    padding: 0;
    flex: unset;
  }
  .clientScene__container__aboutUs__specialty-row:first-child {
    padding-right: 0;
    flex: unset;
  }
}

@media (max-width: 530px), (max-height: 750px) {
  .clientSceneOverlayClient {
    align-items: flex-start;
    padding-top: 90px;
    height: auto;
  }
  #second-services-column {
    margin-left: 15px;
  }
  .hamburgerbutton {
    left: 24px;
    top: 24px;
  }
  .clientScene__container {
    height: auto;
    width: calc(100% - 50px);
    flex-direction: column;
  }
  .clientScene__container > div {
    flex: unset;
  }
  .clientScene__container__aboutUs {
    padding: 0px 40px 0px 40px;
    margin-bottom: 50px;
    border-left: none;
  }
  .clientScene__container__aboutUs > p {
    font-size: 20px;
    line-height: 30px;
    padding-bottom: 20px;
  }
  .clientScene__container__aboutUs__specialty {
    line-height: 40px;
    font-size: 20px;
    position: relative;
    transform: none;
    flex-direction: row;
  }
  .clientScene__container__aboutUs__specialty-row {
    display: inline-block;
  }
  .clientScene__container__aboutUs__specialty-row:first-child {
    padding-right: 5%;
    flex: 0;
  }
  .clientScene__container__aboutUs__specialty-row > p {
    position: relative;
    width: auto;
    flex-direction: row;
    transform: none;
  }
  .clientScene__container__aboutUs .logo {
    order: -1;
    margin-bottom: 35px;
    position: relative;
    transform: none;
  }
  .clientScene__container__logos {
    padding-left: 0px;
    padding-top: 30px;
    padding-bottom: 30px;
    border-left: none;
    border-top: thin solid white;
  }
}

@media (max-width: 375px) {
  .clientScene__container__aboutUs > p {
    line-height: 35px;
  }
  .clientScene__container__aboutUs__specialty {
    justify-content: space-between;
  }
  .clientScene__container__aboutUs__specialty-row,
  .clientScene__container__aboutUs__specialty-row:first-child {
    flex: unset;
    padding: 0;
  }
  .clientScene__container__aboutUs__specialty-row > p,
  .clientScene__container__aboutUs__specialty-row:first-child > p {
    font-size: 17px;
    line-height: 45px;
  }
  .clientScene__container .photo-grid-item {
    width: 100px;
  }
}

/* Portrait IPAD */
@media only screen
  and (min-device-width: 768px)
  and (max-device-width: 1024px)
  and (orientation: portrait)
  and (-webkit-min-device-pixel-ratio: 1) {
    .hamburgerbutton {
      left: 38px;
    }

    .clientScene__container .photo-grid-item {
      width: 119px;
      height: 97px;
    }

    .clientScene__container__aboutUs {
      justify-content: baseline;

    }
    .clientScene__container__aboutUs > p {
      margin-bottom: 25px;
    }

    .clientScene__container__aboutUs .logo {
      margin-top: 147px;
    }

    .clientScene__container__aboutUs__specialty-row:right {
      margin-left: 5px;
    }
}

/* Landscape IPAD */
@media only screen
  and (min-device-width: 768px)
  and (max-device-width: 1024px)
  and (orientation: landscape)
  and (-webkit-min-device-pixel-ratio: 1) {
    .clientScene__container__aboutUs__specialty-row:nth-child(2) {
      margin-left: 20px !important;
    }

    .clientScene__container .photo-grid-item {
      width: 130px !important;
      height: 100px !important;
    }
}

/* ----------- iPad Pro 12.9" ----------- */

/* Portrait */
/* Declare the same value for min- and max-width to avoid colliding with desktops */
/* Source: https://medium.com/connect-the-dots/css-media-queries-for-ipad-pro-8cad10e17106*/
@media only screen
  and (min-device-width: 1024px)
  and (max-device-width: 1024px)
  and (orientation: portrait)
  and (-webkit-min-device-pixel-ratio: 2) {
    .clientScene__container__aboutUs__specialty-row {
      margin-top: 18px;
    }

    .clientScene__container .photo-grid-item {
      width: 158px;
    }

    .clientScene__container__aboutUs > p {
      font-size: 25px;
    }

    .clientScene__container__aboutUs__specialty-row p {
      font-size: 24px;
    }

    .clientScene__container__aboutUs .logo {
      width: 160px;
      height: 65px;
      margin-top: 400px;
    }

    .clientScene__container__aboutUs {
      flex: 3 3 43.5%;
    }
}

/* Landscape */
/* Declare the same value for min- and max-width to avoid colliding with desktops */
/* Source: https://medium.com/connect-the-dots/css-media-queries-for-ipad-pro-8cad10e17106*/
@media only screen
  and (min-device-width: 1366px)
  and (max-device-width: 1366px)
  and (orientation: landscape)
  and (-webkit-min-device-pixel-ratio: 2) {
    .clientScene__container__aboutUs {
      justify-content: baseline;
    }

    .clientScene__container__aboutUs > p {
      margin-bottom: 30px;
      font-size: 25px;
    }

    .clientScene__container__aboutUs__specialty-row p {
      font-size: 25px;
    }

    .clientScene__container__aboutUs .logo {
      width: 160px;
      height: 65px;
      margin-top: 190px;
    }
}

/* ----------- iPhone X ----------- */

/* Portrait */
@media only screen
  and (min-device-width: 375px)
  and (max-device-width: 812px)
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: portrait) {
    .clientScene__container__aboutUs {
      padding: 0px 30px 0px 30px;
      margin-bottom: 25px;
    }
}


/* ----------- iPhone 6+, 7+ and 8+ ----------- */

/* Portrait and Landscape */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 736px)
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape){
    #second-services-column {
      margin-left: 15px;
    }
}

/* Portrait */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 736px)
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: portrait) {
    .clientScene__container__aboutUs {
      padding: 0px 25px 0px 25px;
      msargin-bottom: 25px;
    }
}

/* ----------- iPhone 6, 7 and 8 ----------- */

/* PORTRAIT AND LANDSCAPE */
@media only screen
and (min-device-width : 375px)
and (max-device-width : 667px) {
  #second-services-column {
    margin-left: 10px;
  }
}

/* PORTRAIT */
@media only screen
and (min-device-width : 375px)
and (max-device-width : 667px)
and (orientation : portrait) {
  .clientScene__container__aboutUs {
    padding: 0px 20px 0px 20px;
    margin-bottom: 30px;
  }
}

/* ----------- Non-Retina Screens ----------- */
@media screen
  and (min-device-width: 1200px)
  and (max-device-width: 1600px)
  and (-webkit-min-device-pixel-ratio: 1) {
    #second-services-column {
      margin-left: 15px !important;
    }
}

/* ----------- Retina Screens ----------- */
@media screen
  and (min-device-width: 1200px)
  and (max-device-width: 1600px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (min-resolution: 192dpi) {
    #second-services-column {
      margin-left: 15px !important;
    }
}


/* ----------- Galaxy S4, S5 and Note 3 ----------- */

/* Portrait and Landscape */
@media screen
  and (device-width: 320px)
  and (device-height: 640px)
  and (-webkit-device-pixel-ratio: 3) {

}

/* Portrait */
@media screen
  and (device-width: 320px)
  and (device-height: 640px)
  and (-webkit-device-pixel-ratio: 3)
  and (orientation: portrait) {
    .clientScene__container__aboutUs {
      padding: 0px 25px 0px 25px;
      margin-bottom: 30px;
    }
}

/* Landscape */
@media screen
  and (device-width: 320px)
  and (device-height: 640px)
  and (-webkit-device-pixel-ratio: 3)
  and (orientation: landscape) {

}
