.region-top {
  background-color: #525866;
  display: flex;
  flex-grow: 1;
  justify-content: space-between;
  font-size: 1rem;

  > div {
    a {
      color: white;
      text-decoration: none;

      &:hover {
        text-decoration: underline;
      }
    }
     i {
        color: white;
     }
  }

  & .nav {
    display: flex;
    flex-direction: row;
  }

  & .field--name-body {
    display: flex;
    gap: 1rem;
  }
}

#block-gbd-2025-nyelvvalaszto {
  ul:not(.contextual-links) {
    list-style: none;
    display: flex;
    margin-bottom: 0;
    }

    li a {
      background-size: cover;
      display: block;
      text-indent: -9999em;
      height: 23px;
      width: 30px;
      margin: .5rem 1rem;
      }
      a[hreflang=hu] {
        background-image: url("../img/fl_hun.png");
      }
      a[hreflang=en] {
        background-image: url("../img/fl_eng.png");
      }
}

/* sticky: görgetéskor fent marad, de helyet foglal, így a tartalmat nem kell kézzel a fejléc alá tolni */
.top {
  position: sticky;
  top: 0;
  z-index: 11;
}

header {
  position: sticky;
  top: 45px;
  z-index: 10;
}

nav.site-nav {
  background-color: white;
  padding-bottom: 0;
}

.region-front3 {
  display: flex;
}

#block-gbd-2025-amiertminketvalasztanak {
  padding-right: 1rem;
}

#search-block-form {
  margin-bottom: 1rem;
}
main {
  padding-top: 1rem;
}

#block-gbd-2025-kiemeltteruletek{
  padding-top: 2rem;
}

.gbd-footer  {
  padding: 2rem 1rem 0 1rem;
  .region-footer {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    background-color: var(--gbd_primary);
    padding: 1rem;
  }

  .region-bottom2 {
    display: flex;
    justify-content: space-between;
  }
}

.node--type-personel.node--view-mode-full {
  .node__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 2rem 0;
  }
}

.personel_right {
  padding: 0 1rem;
}

#block-gbd-2025-topinfo .field--name-body {
  display: flex;
  flex-direction: row;
  padding: .5rem;
   p {
     margin-bottom: 0;
   }
}

.footer_wrapper {
  background-color: var(--gbd_primary);
}

footer {
  padding: 0;
  .region-footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap:1rem;
    padding: 2rem;
  }
}

.node--type-service {
  .media--type-image {
    float: left;
  }
}

.region-bottom2 {
  display: flex;
  justify-content: space-between;
  .block-gbd-2025-footerinfo {
    margin-right: 5rem;
  }

  > * {
    font-size: .8rem;
    a {
      text-decoration: none;
    }
  }
}

/*  front */
.front-section {
  padding: 2rem 0;
}

.front3 {
  background-color: var(--gbd_primary);
  padding: 1rem;
}

.ti-widget {
  margin:2rem 0;
}

#block-gbd-2025-miertvalasszonminket {
  padding: 1rem;
}

.bottom2 {
  background-color: var(--gbd_shade);
  padding: .5rem 2rem;
}

#webform-submission-hagyjon-uzenetet-node-3-add-form {
  width: 50%;
  position: absolute;
  right: 0;
  z-index: 9;
  background: var(--gbd_primary);
  padding: 1rem;

  #edit-container-big {
    display: flex;

    > * {
      margin: 0 .5rem;
    }
    .form-item {
      margin: .5rem ;
    }
  }
}

.page-node-3 {
  article .field--name-body {
    div {
      width:50%;
    }
  }
}

.hero {
  background-image: url(../img/hero-mosoly-gbdental.jpg);
  width: 100%;
  height: 650px;
  background-size: cover;
  padding: 3rem 4rem;
  background-position: bottom;
}

h1 {
  text-align: center;
}

#block-gbd-2025-fontoslinkek a,
#block-gbd-2025-kapcsolat a,
#block-gbd-2025-lablec a,
.bottom1, .bottom2 a {
  color: #fff;
  text-decoration: none;

  &:hover {
    text-decoration: underline;
  }
}
.views-field-title a {
    text-decoration: none;
}
.bottom1, .bottom2 {
  color: #fff;
  a {
    color: var(--gbd_primary);
    text-decoration: none;

    &:hover {
      text-decoration: underline;
    }
  }
}

.path-csapatunk .idopont {
  display: none;
}

h5#block-gbd-2025-fontoslinkek-menu {
  font-size:2rem;
}
