.container.container-medium {
  padding-top: 100px;
}

.section1 .ratio {
  width: 380px;
  height: 380px;
}

.section2 .title-block__title {
  margin-bottom: 60px;
}

.section2 .img {
  position: relative;
  z-index: 10;
  background-color: #111;
}

.section2 .text h4 {
  font-size: 28px;
  margin-bottom: 10px;
}

.section2 .text h4:not(:first-child) {
  margin-top: 40px;
}

.section2 .text p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 2;
}

.section4 .media-grid:before {
  display: none;
}

.section4 .list {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, 1fr);

  grid-template-columns: 1fr 1fr 1fr 1fr;

}

/* .section4 .list .item{
    grid-area: smallImg;

} */
.section4 .list .item:nth-child(5) {
  grid-area: bigImg;
}

.bg-secondary {
  /* background-color: #efefef !important;
  filter: invert(100%); */
  background-color: #101010 !important;
}

.nav-tabs--dark .nav-tabs__item-btn {
  color: #e2e2e2;
  opacity: .5;
}

.nav-tabs--dark .is-active .nav-tabs__item-btn,
.nav-tabs--dark .nav-tabs__item-btn:hover {
  color: #e2e2e2;
  opacity: 1;
}

.form-label {
  color: #e2e2e2;
}

.bg-secondary .form-label:not(.form-label--relative):after,
.bg-secondary .form-label:not(.form-label--relative):before,
.text-primary.form-label:not(.form-label--relative):after,
.text-primary.form-label:not(.form-label--relative):before {
  background-color: #e2e2e2;
}

.bg-secondary .form-control,
.bg-secondary .form-select,
.form-select--primary {
  border-color: #e2e2e2;
}

.btn-primary {
  color: #e2e2e2;
  background-color: transparent;
  /* background-color: #e2e2e2; */
  border: 1px solid #e2e2e2;
}

.btn-primary:hover {
  background-color: #e2e2e2;
  color: #101010;
}

.form-select {
  color: #e2e2e2;
  /* -webkit-appearance:none;
  -moz-appearance: none;
  appearance: none; */
  --bs-form-select-bg-img: url(/static/images/bottom.svg)
}

.form-control:focus,
.form-control {
  color: #e2e2e2;
}

.section5.content-block[class*=bg-] {
  padding: 0;
}

.media-grid:nth-of-type(odd)>.media-grid__item:nth-child(4),
.media-grid:nth-of-type(odd)>.media-grid__item:nth-child(3),
.media-grid:nth-of-type(odd)>.media-grid__item:nth-child(2),
.media-grid:nth-of-type(odd)>.media-grid__item:first-child {
  width: 382px;
}

.media-grid .media-grid__item img {
  width: 100%;
}

.review__content-quote {
  font-size: 1.25rem;
  line-height: 2rem;
}

.section1 .eMail {
  margin-top: 10px;
  margin-left: 80px;
  text-transform: uppercase;
}

@media screen and (max-width: 1792px) {

  .media-grid:nth-of-type(odd)>.media-grid__item:nth-child(5),
  .media-grid:nth-of-type(odd)>.media-grid__item:nth-child(4),
  .media-grid:nth-of-type(odd)>.media-grid__item:nth-child(3),
  .media-grid:nth-of-type(odd)>.media-grid__item:nth-child(2),
  .media-grid:nth-of-type(odd)>.media-grid__item:first-child,
  .media-grid:nth-of-type(odd)>.media-grid__item:nth-child(4),
  .media-grid:nth-of-type(odd)>.media-grid__item:nth-child(3),
  .media-grid:nth-of-type(odd)>.media-grid__item:nth-child(2),
  .media-grid:nth-of-type(odd)>.media-grid__item:first-child {
    width: fit-content;
  }
.media-grid:nth-of-type(odd)>.media-grid__item:nth-child(4), .media-grid:nth-of-type(odd)>.media-grid__item:nth-child(3), .media-grid:nth-of-type(odd)>.media-grid__item:nth-child(2), .media-grid:nth-of-type(odd)>.media-grid__item:first-child{
  max-width: 382px;
}
.media-grid:nth-of-type(odd)>.media-grid__item:nth-child(5){
  max-width: 788px;
}
  .media-grid .media-grid__item .img,
  .media-grid .media-grid__item img {
    height: 100%;
  }
}

@media screen and (max-width: 1440px) {
  .section3 .gy-base .col-md-5 {
    width: 50%;
  }
}

@media screen and (max-width: 1024px) {
  .review .row {
    flex-direction: column;
  }

  .review:before {
    left: 0;
  }

  .review__border {
    left: 0;
  }

  .review__img {
    margin-left: auto;
    margin-right: auto;
  }

  .review__content-quote {
    text-align: left;
  }

  .section1 .ratio {
    width: 90%;
    height: auto;
  }

  .section1 .ratio picture img,
  .section1 .ratio picture {
    position: static;
  }

  .ratio:before {
    padding-top: 0;
  }

  .col-md-auto {
    width: 100%;
  }

  .review__content {
    padding: 2.5rem 5%;
  }

  .review__content-info:before {
    top: .825rem;
    width: 1.8125rem;
    left: -3rem;

  }

  .review__content-info {
    margin-left: 3rem;
  }

  .section1 .eMail {
    margin-left: 48px;
  }

  .container.container-medium {
    padding-top: 50px;
  }

  .outline-box-right {
    margin-left: 0;
  }

  .outline-box-right {
    padding-right: 0;
    width: 100%;
  }

  .outline-box-right:before {
    width: 100%;
  }

  .outline-box-right .col-md-5 {
    width: 100%;
  }

  .offset-md-1 {
    margin-left: 0;
    padding: 0 5%;
  }

  .ratio>picture,
  .ratio>picture>img {
    position: static;
  }

  .ratio {
    position: relative;
    z-index: 2;
    width: 100%;
  }

  .outline-box-right:before {
    left: 0;
  }

  .section2 .img {
    width: 100%;
    background-color: transparent;
  }
  .section2 .img img{
    background-color: #000;
  }
  .section2 .text h4 {
    font-size: 24px;
  }

  .section3 .ps-md-5{
    padding-left: 0 !important;
  }
  
  .section3 .gy-base{
    flex-direction: column-reverse;
    margin: 0;
  }
  .section3 .gy-base .col-md-5{
    width: 100%;
    padding: 0;
  }
  .section3 .gy-base .col-md-5:first-child{
    margin-bottom: 20px;
  }

  .content-block+.content-block{
    margin-top: 3.75rem;
  }
    /* .section2{
    margin-top: 3.75rem !important;
  } */
  .wysiwyg p,
  .outline-box-right .text p,
  .section1 .eMail,
  .review__content-author,
  .review__content-quote,
  .title-block .row .col .title-block__pre-title{
    font-size: 14px;
    line-height: 2;
  }
  .gradient-img:after{
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .review:before {
    top: 40vw;
  }



  .section1 .eMail,
  .review__content-info {
    text-align: left;
  }

  .review__content-info:before {
    left: -2rem;
    top: 1.625rem;
  }

  .section1 .eMail {
    margin-left: 46px;
  }

  .review__border-icon {
    height: 1.5rem;
    width: 3rem;
  }

  .section2 .text h4 {
    font-size: 20px;
  }
}

@media screen and (max-width: 540px) {
  /* .review:before {
    display: none;
  }

  .review__border {
    display: none;
  } */

  /* .section1 .ratio {
    width: 100%;
  }

  .review__content {
    padding: 2.5rem 0;
  } */

  /* .outline-box-right:before {
    border: none;
  } */

  /* .outline-box-right .col-md-5 {
    padding: 0;
  }

  .section2 .img {
    padding: 0;
  } */
}