.site-header {
  display: flex;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 32px;
  z-index: 2;
  position: relative;
}

.page-template-form-page .header-bg {
  position: absolute;
  top: -33px;
}

.site-branding a img {
  width: 100%;
  height: auto;
  max-width: 226px;
}

.site-branding a {
  display: block;
  position: relative;
  z-index: 2;
}

.page-template-text-page .site-header {
  padding-top: 30px;
}

@media screen and (min-width: 1801px) {
  .page-template-form-page .header-bg {
    width: 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .page-template-form-page .header-bg {
    height: 126px;
    top: -5px;
  }

  .site-branding a img {
    max-width: 186px;
  }

  .site-header {
    padding-top: 30px;
  }
}

@media screen and (min-width: 501px) {
  .page-template-form-page .header-bg {
    display: block !important;
  }
}

@media screen and (max-width: 500px) {
  .page-template-form-page .mobile-header-bg {
    position: absolute;
    display: block !important;
    height: 126px;
    top: -5px;
    margin-right: -34px;
    margin-left: -34px;
  }
}
