.section2 .decor-border:before {
  display: none;
}

.section2 .decor-border {
  margin-left: 0;
}

.section2 .text {
  margin: 30px 0;
}

.section2 .decor-border .wysiwyg p:before {
  background-color: #797979;
  content: "";
  height: .0625rem;
  left: 0;
  position: absolute;
  top: .925rem;
  width: 5rem;
}

.section2 .decor-border .wysiwyg p {
  padding-left: calc(5rem + 50px);
  position: relative;
}

.media-grid:before {
  display: none;
}

.section4 .media-grid:nth-of-type(odd) {
  grid-template-areas: "bigImg bigImg smallImg1 smallImg2""bigImg bigImg smallImg3 smallImg4" !important
}

.section4 .media-grid:nth-of-type(2n) {
  grid-template-areas: "smallImg1 smallImg2 bigImg bigImg"
    "smallImg3 smallImg4 bigImg bigImg" !important;
}

.lg-container .lg-outer.lg-grab img.lg-object {
  max-width: 80vw;
  max-height: 100%;
  object-fit: contain;
}

.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%;
}


@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: 1680px) {
  .section1 h2 {
    font-size: 42px;
  }

  .section1 .offset-md-1 {
    margin-left: 2.333333%;
    margin-top: 0 !important;
  }

  .section1 .col-md-5 {
    flex: 0 0 auto;
    width: 46.666667%;
  }

  .section1 .outline-box-right {
    padding-right: 4.333333%;
  }
}

@media screen and (max-width: 1024px) {
  .section1 .outline-box-right {
    flex-direction: column;
  }

  .outline-box-right:before {
    width: 100%;
  }

  .section1 .outline-box-right {
    padding: 30px;
  }

  .section1 .col-md-6 {
    width: 100%;
    padding: 0;
    margin-bottom: 30px;
  }

  .section1 .col-md-5 {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
  }

  .section1 h2 {
    font-size: 28px;
  }

  .section1 .h5 {
    font-size: 12px;
  }

  .section1 .wysiwyg p {
    font-size: 14px;
    line-height: 2;
  }

  .section1 .outline-box-right {
    margin-left: 0;
    width: 100%;
  }

  .section1 .title-block {
    margin-bottom: 20px;
  }

  .section1 .outline-box-right {
    margin-right: 0;
  }

  .section2 .decor-border .wysiwyg p:before {
    width: 2rem;
  }

  .section2 .decor-border .wysiwyg p {
    padding-left: calc(2rem + 20px);
  }

  .section2 .decor-border .wysiwyg p:before {
    top: 1.025rem;
  }

  .section2 .decor-border .wysiwyg p {
    font-size: 14px;
    line-height: 2;
  }

  .section2 .decor-border .wysiwyg p strong {
    font-size: 16px;
  }

  .section2 h2 {
    font-size: 36px;
  }

  .section5 .row {
    flex-direction: column;
  }

  .section5 .row .col-md-6 {
    width: 100%;
  }

  .section5 .title-block h2 {
    font-size: 36px;
  }

  .section5 .bg-secondary {
    padding-left: 2.1875rem;
    padding-right: 2.1875rem;
  }

}

@media screen and (max-width: 767px) {
  .outline-box-right:before {
    left: 0;
    top: 0;
    height: 100%;
  }

  .section1 .outline-box-right {
    padding: 20px;
  }

  .section1 h2 {
    font-size: 24px;
  }

  .section2 .decor-border .wysiwyg p:before {
    width: 1rem;
  }

  .section2 .decor-border .wysiwyg p {
    padding-left: calc(1rem + 10px);
  }

  .section2 h2 {
    font-size: 28px;
  }

  .vertical-gutter {
    grid-gap: 10px;
  }

  .section4 .media-grid:nth-of-type(odd) {
    grid-template-areas:
      "bigImg bigImg"
      "smallImg1 smallImg2"
      "smallImg3 smallImg4"
       !important;
    grid-template-columns: 1fr 1fr;
  }

  .section5 .bg-secondary {
    padding-left: 1.5625rem;
    padding-right: 1.5625rem;
  }
  .section5 .title-block h2{
    font-size: 28px;
  }
}