/* base */
body {
  --header-height: 74px;
}

.dialog-off-canvas-main-canvas,
.dialog-off-canvas-main-canvas>section,
html,
body,
body.headerFixed .header-wrapper {
  height: auto !important;
}

.headerFixedInitial .header-wrapper {
  z-index: 3;
}

body,
html,
#page {
  position: unset !important;
}

.front .dialog-off-canvas-main-canvas,
.front .dialog-off-canvas-main-canvas>section {
  overflow: unset !important;
}

.dialog-off-canvas-main-canvas {
  height: auto !important;
}

.page-section {
  --content-max: 1060px;
  --vertical-padding: 80px;
  --horizontal-padding: 100px;
  --inner-height: auto;
}

.page-section .page-section-inner {
  padding: var(--vertical-padding) var(--horizontal-padding);
  height: var(--inner-height);
  display: flex;
  justify-content: center;
}

.page-section .page-section-content {
  width: 100%;
  max-width: var(--content-max);
}

.page-section-inner.withbg-img {
  background: none no-repeat center center transparent;
  background-size: cover;
}

/* title */

.page-section-title {
  color: #003366;
  font-size: 60px;
  font-weight: 300;
  margin: 0 0 40px 0;
}

.page-section-title strong {
  font-weight: 900;
}

.page-section-title-2-wrap h2,
.page-section-title-2 {
  font-family: "Effra";
  font-size: 30px;
  font-weight: 300;
  text-align: center;
  color: #221f20;
  line-height: 18px;
  padding-top: 0px;
  max-width: 572px;
  margin: 0 auto;
  line-height: 38px;
}

.page-body-text-wrap p,
.page-body-text {
  font-family: "Effra";
  font-weight: 300;
  color: #221f20;
  font-size: 28px;
  line-height: 32px;
  text-align: center;
}

/* counter */
.counter {
  font-size: 47px;
}

/* pattern-field */

.pattern-field {
  position: relative;
  padding: 50px 0;
}

.pattern-field:before,
.pattern-field:after {
  content: "";
  background: url(img/pattern.jpg) no-repeat center center transparent;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 194px;
  height: 18px;
  display: block;
}

.pattern-field:before {
  top: 0;
}

.pattern-field:after {
  bottom: 0;
}


@media (max-width: 1024px) and (min-width: 767px) {
  .front .header {
    max-height: 74px;
  }
}

/* @media only screen and (max-width: 1024px) {
  body {
    --header-height: 92px;
  }

} */

@media only screen and (max-width: 991px) {
  .page-section {
    --vertical-padding: 40px;
    --horizontal-padding: 30px;
  }

  .page-section-title {
    font-size: 34px;
    margin: 0 0 30px 0;
  }

  .page-body-text-wrap p,
  .page-body-text {
    font-size: 26px;
    line-height: 32px;
  }
}

@media only screen and (max-width: 767px) {
  .page-section {
    --horizontal-padding: 20px;
  }

  .page-section-title {
    font-size: 28px;
    margin: 0 0 20px 0;
  }

  .page-section-title-2-wrap h2,
  .page-section-title-2 {
    font-size: 24px;
    line-height: 30px;
  }

  .page-body-text-wrap p,
  .page-body-text {
    font-size: 20px;
    line-height: 24px;
  }

  .counter {
    font-size: 38px;
  }

}
