:root {
  --hgd-blue: #315670;
  --hgd-accent: #2d4387;
  --hgd-nav: #4d4d4d;
  --hgd-paper: #fbfbfb;
  --hgd-footer: #111820;
  --hgd-width: 1140px;
}

html {
  min-width: 320px;
  background: #355f76;
}

body.site {
  margin: 0;
  color: #656565;
  background:
    linear-gradient(180deg, #5d95d5 0, #5285bd 420px, #355f76 920px)
    fixed;
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.55;
}

a {
  color: var(--hgd-blue);
}

.container-header {
  display: block;
  max-width: var(--hgd-width);
  min-height: 151px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.container-header .grid-child {
  width: 100%;
  max-width: none;
  padding: 0;
}

.container-header .navbar-brand {
  display: flex;
  min-height: 151px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 45px;
}

.container-header .brand-logo {
  display: block;
  width: 100%;
  max-width: 1050px;
}

.container-header .brand-logo img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.container-header .container-nav {
  position: relative;
  z-index: 20;
  display: block;
  min-height: 60px;
  margin: 0;
  padding: 0;
  background: #fff;
  border-radius: 7px 7px 0 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.container-header .mod-menu {
  display: flex;
  width: 100%;
  min-height: 60px;
  margin: 0;
  padding: 0;
  align-items: stretch;
}

.container-header .mod-menu > li {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  border-right: 1px solid #dedede;
}

.container-header .mod-menu > li:last-child {
  border-right: 0;
}

.container-header .mod-menu > li > a {
  display: flex;
  width: 100%;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  color: var(--hgd-nav);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease;
}

.container-header .mod-menu > li.current > a,
.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus-visible {
  color: #1f3443;
  background: #eceff1;
}

.hgd-menu-toggle {
  display: none;
}

.site-grid {
  display: block;
  width: min(100%, var(--hgd-width));
  margin: 0 auto;
}

.container-banner {
  width: 100%;
  max-width: none;
  margin: 0;
}

.jf-slideshow {
  width: 100%;
  height: 400px;
}

.jf-slideshow .carousel-inner,
.jf-slideshow .carousel-item,
.jf-slideshow .carousel-img {
  height: 100%;
}

.jf-slideshow .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jf-slideshow .carousel-control-prev,
.jf-slideshow .carousel-control-next {
  opacity: 0.78;
}

.jf-slideshow .carousel-control-prev {
  justify-content: flex-start;
}

.jf-slideshow .carousel-control-next {
  justify-content: flex-end;
}

.container-component {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: var(--hgd-paper);
  border-radius: 0 0 6px 6px;
}

.container-component main {
  margin: 0;
}

.com-content-article {
  overflow: hidden;
}

.com-content-article > .page-header,
.com-content-article > .article-info,
.com-content-article > .pagenavigation,
.com-content-article > nav.pagenavigation,
.hgd-hero-gallery {
  display: none !important;
}

.com-content-article__body {
  min-height: 260px;
  padding: 54px 36px 62px;
}

.com-content-article__body > :first-child {
  margin-top: 0;
}

.com-content-article__body h1,
.com-content-article__body h2,
.com-content-article__body h3,
.com-content-article__body h4 {
  font-family: Arial, sans-serif;
  letter-spacing: 0;
}

.com-content-article__body h1 {
  color: #595959;
  font-size: 28px;
}

.com-content-article__body h2 {
  color: #595959;
  font-size: 22px;
}

.itemid-101 .com-content-article__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 34px 36px;
  padding-top: 58px;
}

.itemid-101 .com-content-article__body > h2 {
  grid-column: 1 / -1;
  margin: 0 0 30px;
  color: var(--hgd-accent) !important;
  font-size: 27px;
  text-align: center;
  text-transform: uppercase;
}

.hgd-services-original {
  min-width: 0;
}

.hgd-services-original h4 {
  margin: 0 0 16px;
  color: #656565;
  font-size: 13px;
  font-weight: 400;
}

.hgd-home-partner > h2 {
  display: none;
}

.hgd-partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.hgd-partner-logo-grid a {
  display: flex;
  min-height: 126px;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #fff;
  border: 4px solid #e3e3e3;
}

.hgd-partner-logo-grid img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 94px;
}

.hgd-page-intro {
  display: none;
}

.hgd-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 8px 0 18px;
}

.hgd-gallery a {
  display: block;
  min-width: 0;
  aspect-ratio: 1.45 / 1;
  overflow: hidden;
  background: #e7eaec;
  outline-offset: 2px;
}

.hgd-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 160ms ease;
}

.hgd-gallery a:hover img,
.hgd-gallery a:focus-visible img {
  opacity: 0.78;
}

.hgd-gallery-certificates a {
  aspect-ratio: 0.72 / 1;
  background: #fff;
}

.hgd-gallery-certificates img {
  object-fit: contain;
}

.hgd-partner-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}

.hgd-partner-detail {
  min-width: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid #e2e2e2;
}

.hgd-partner-detail img {
  max-width: 100%;
  height: auto;
}

.container-footer {
  margin-top: 60px;
  color: #666;
  background: var(--hgd-footer);
  box-shadow: none;
}

.container-footer .grid-child {
  display: block;
  max-width: var(--hgd-width);
  padding: 70px 20px 48px;
}

.container-footer .mod-custom {
  width: 100%;
}

.container-footer h3 {
  color: #666;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
}

.container-footer h2 {
  color: #606060;
  font-size: 27px;
  line-height: 1.4;
  text-transform: uppercase;
}

.container-footer a {
  color: #315670;
}

.hgd-footer-nav {
  width: 100%;
  margin: 26px 0 0;
  padding: 13px max(16px, calc((100% - var(--hgd-width)) / 2));
  background: #33393e;
}

.hgd-footer-nav ul {
  display: flex;
  max-width: var(--hgd-width);
  margin: 0 auto;
  padding: 0;
  gap: 30px;
  list-style: none;
}

.hgd-footer-nav a {
  color: #aaa;
  font-size: 12px;
  text-decoration: none;
  text-transform: none;
}

.hgd-copyright {
  max-width: var(--hgd-width);
  margin: 0 auto;
  padding: 14px 10px 24px;
  color: #444;
  font-size: 11px;
  text-transform: uppercase;
}

.hgd-cookie {
  position: fixed;
  z-index: 10000;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 28px;
  align-items: center;
  padding: 11px max(16px, calc((100% - 1296px) / 2));
  color: #fff;
  background: rgba(158, 160, 162, 0.96);
  font-size: 12px;
  line-height: 1.35;
}

.hgd-cookie p {
  margin: 0;
}

.hgd-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.hgd-cookie button,
.hgd-cookie a {
  min-height: 38px;
  padding: 8px 12px;
  color: #fff;
  background: #333;
  border: 0;
  border-radius: 0;
  font: inherit;
  text-decoration: none;
}

.hgd-cookie button:hover,
.hgd-cookie button:focus-visible,
.hgd-cookie a:hover,
.hgd-cookie a:focus-visible {
  background: #111;
}

.hgd-lightbox {
  position: fixed;
  z-index: 11000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 52px 72px;
  background: rgba(0, 0, 0, 0.9);
}

.hgd-lightbox[hidden] {
  display: none;
}

.hgd-lightbox__figure {
  display: grid;
  max-width: min(1120px, 100%);
  max-height: 100%;
  margin: 0;
  place-items: center;
}

.hgd-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 104px);
  object-fit: contain;
}

.hgd-lightbox__close,
.hgd-lightbox__prev,
.hgd-lightbox__next {
  position: fixed;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  background: rgba(20, 20, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  font-size: 30px;
  line-height: 1;
}

.hgd-lightbox__close {
  top: 12px;
  right: 12px;
}

.hgd-lightbox__prev {
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
}

.hgd-lightbox__next {
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
}

.hgd-lightbox__close:hover,
.hgd-lightbox__prev:hover,
.hgd-lightbox__next:hover,
.hgd-lightbox__close:focus-visible,
.hgd-lightbox__prev:focus-visible,
.hgd-lightbox__next:focus-visible {
  background: #111;
}

body.hgd-lock {
  overflow: hidden;
}

@media (min-width: 1400px) {
  .container-header,
  .site-grid {
    width: var(--hgd-width);
  }
}

@media (max-width: 1399.98px) {
  .container-header,
  .site-grid {
    width: min(100%, var(--hgd-width));
  }
}

@media (max-width: 1199.98px) {
  .container-header {
    min-height: 132px;
  }

  .container-header .navbar-brand {
    min-height: 132px;
    padding: 30px 36px 24px;
  }

  .container-header .container-nav {
    position: absolute;
    top: 6px;
    right: 8px;
    width: auto;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .hgd-menu-toggle {
    display: inline-flex;
    min-width: 70px;
    height: 38px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 10px;
    color: #fff;
    background: #18232b;
    border: 0;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .hgd-menu-toggle__icon,
  .hgd-menu-toggle__icon::before,
  .hgd-menu-toggle__icon::after {
    display: block;
    width: 17px;
    height: 2px;
    background: currentColor;
  }

  .hgd-menu-toggle__icon {
    position: relative;
  }

  .hgd-menu-toggle__icon::before,
  .hgd-menu-toggle__icon::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .hgd-menu-toggle__icon::before {
    top: -5px;
  }

  .hgd-menu-toggle__icon::after {
    top: 5px;
  }

  .container-header .mod-menu {
    position: absolute;
    top: 44px;
    right: 0;
    display: none;
    width: min(330px, calc(100vw - 16px));
    min-height: 0;
    padding: 4px 0;
    background: #27343d;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  }

  .container-header .mod-menu.is-open {
    display: block;
  }

  .container-header .mod-menu > li {
    display: block;
    border: 0;
  }

  .container-header .mod-menu > li > a {
    min-height: 44px;
    justify-content: flex-start;
    padding: 0 18px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 13px;
  }

  .container-header .mod-menu > li.current > a,
  .container-header .mod-menu > li.active > a,
  .container-header .mod-menu > li > a:hover,
  .container-header .mod-menu > li > a:focus-visible {
    color: #fff;
    background: #1a252c;
  }

  .site-grid {
    margin-top: 0;
  }

  .jf-slideshow {
    height: 35.0877vw !important;
    min-height: 150px;
    max-height: 400px;
  }
}

@media (max-width: 991.98px) {
  .com-content-article__body {
    padding: 44px 28px 54px;
  }

  .itemid-101 .com-content-article__body {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
  }

  .hgd-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hgd-partner-logo-grid a {
    min-height: 112px;
  }
}

@media (max-width: 767.98px) {
  .container-header .navbar-brand {
    padding-right: 24px;
    padding-left: 24px;
  }

  .jf-slideshow {
    min-height: 112px;
  }

  .itemid-101 .com-content-article__body {
    display: block;
    padding-top: 36px;
  }

  .itemid-101 .com-content-article__body > h2 {
    max-width: 520px;
    margin: 0 auto 36px;
    font-size: 25px;
    line-height: 1.2;
  }

  .hgd-services-original {
    margin-bottom: 30px;
  }

  .hgd-partner-logo-grid {
    width: min(100%, 360px);
    margin: 0 auto;
  }

  .hgd-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hgd-partner-details {
    grid-template-columns: 1fr;
  }

  .container-footer .grid-child {
    padding-top: 58px;
  }

  .hgd-footer-nav ul {
    flex-wrap: wrap;
    gap: 8px 24px;
  }

  .hgd-cookie {
    grid-template-columns: 1fr;
  }

  .hgd-cookie__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  body.site {
    font-size: 12px;
  }

  .container-header {
    min-height: 132px;
  }

  .container-header .navbar-brand {
    min-height: 132px;
    padding: 36px 10px 24px;
  }

  .jf-slideshow {
    min-height: 0;
    height: 35.0877vw !important;
  }

  .com-content-article__body {
    padding: 34px 20px 44px;
  }

  .itemid-101 .com-content-article__body > h2 {
    width: min(100%, 260px);
    font-size: 24px;
  }

  .hgd-services-original h4 {
    margin-bottom: 13px;
  }

  .hgd-partner-logo-grid {
    grid-template-columns: 120px;
    width: 120px;
    gap: 4px;
  }

  .hgd-partner-logo-grid a {
    min-height: 82px;
    padding: 8px;
    border-width: 3px;
  }

  .hgd-partner-logo-grid img {
    max-height: 64px;
  }

  .hgd-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .container-footer {
    margin-top: 34px;
  }

  .container-footer h2 {
    font-size: 23px;
  }

  .hgd-cookie {
    gap: 8px;
    padding: 8px 10px;
    font-size: 10px;
  }

  .hgd-cookie__actions {
    gap: 4px;
  }

  .hgd-cookie button,
  .hgd-cookie a {
    min-height: 34px;
    padding: 7px 9px;
  }

  .hgd-lightbox {
    padding: 52px 14px;
  }

  .hgd-lightbox__prev,
  .hgd-lightbox__next {
    top: auto;
    bottom: 10px;
    transform: none;
  }
}
