/* Original palette and supplied class structure; modular responsive additions. */
:root {
    --primary: #ffd30f;
    --secondary: #fff0e6;
    --light: #f8f8f9;
    --dark: #001d23
}

.cms-header {
    background: var(--dark);
    color: white
}

.top-bar {
    padding: 10px 0;
    border-bottom: 1px solid #ffffff12
}

.top-bar small {
    font-size: 12px
}

.cms-language {
    color: white;
    margin-left: 10px;
    padding: 2px 4px
}

.active-lang {
    border: 2px solid #ffd30f;
    box-shadow: 0 0 6px #ffd30f66;
    border-radius: 4px
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 12px;
    padding-bottom: 12px
}

.navbar-brand img {
    max-height: 48px;
    max-width: 180px
}

.navbar-nav {
    display: flex;
    gap: 24px;
    align-items: center
}

.nav-link {
    color: white;
    background: none;
    border: 0;
    padding: 15px 0;
    font-weight: 500;
    white-space: nowrap
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary)
}

.dropdown {
    position: relative
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: white;
    box-shadow: 0 8px 25px #0002;
    z-index: 30;
    border-radius: 4px;
    padding: 8px 0
}

.dropdown-item {
    display: block;
    color: var(--dark);
    padding: 8px 18px
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.open .dropdown-menu {
    display: block
}

.dropdown-item:hover {
    background: #fff0e6
}

.cms-mobile-toggle {
    display: none
}

.page-header {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background-size: cover
}

 

.cms-grid {
    display: grid;
    grid-template-columns: repeat(var(--columns, 3), minmax(0, 1fr));
    gap: 24px
}

.cms-gallery {
    column-count: var(--columns, 3);
    column-gap: 24px
}

.cms-gallery-item {
    break-inside: avoid
}

.cms-gallery-button {
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    background: none
}

.cms-image-right {
    flex-direction: row-reverse
}

.cms-overlay {
    width: 200px;
    height: 200px;
    right: -40px
}

.cms-overlay img {
    width: 180px;
    height: 180px;
    object-fit: contain
}

.cms-zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    border: 0;
    background: #ffffffe6;
    border-radius: 50px;
    padding: 10px 16px;
    color: #004199;
    font-weight: 700;
    z-index: 2
}

.team-item .team-text {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.team-item img {
    display: block
}

.team-text h3 {
    overflow-wrap: anywhere
}

.service-item {
    box-shadow: 0 0 45px #0000000f
}

.footer .btn-link {
    display: block;
    text-align: left;
    color: #ffffff80;
    margin-bottom: 5px
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid #ffffff1a;
    font-size: 15px
}

.footer .copyright a {
    color: #fff0e6
}

.footer img {
    object-fit: contain
}

.cms-admin-link {
    display: block;
    text-align: center;
    font-size: 12px;
    padding: 10px;
    color: #666
}

#cms-lightbox {
    max-width: 96vw;
    max-height: 96vh;
    border: 0;
    padding: 36px 12px 12px;
    background: #001d23
}

#cms-lightbox::backdrop {
    background: #000d
}

#cms-lightbox img {
    max-width: 90vw;
    max-height: 84vh;
    object-fit: contain
}

#cms-lightbox-close {
    position: absolute;
    right: 6px;
    top: 0;
    color: white;
    background: none;
    border: 0;
    font-size: 30px
}

@media(max-width:1100px) {
    .navbar-nav {
        gap: 12px
    }

    .nav-link {
        font-size: 14px
    }
}

@media(max-width:991px) {
    .cms-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .cms-gallery {
        column-count: 2
    }

    .cms-mobile-toggle {
        display: block;
        color: white;
        background: none;
        border: 1px solid #ffffff80;
        border-radius: 5px;
        padding: 6px 12px
    }

    .navbar {
        flex-wrap: wrap
    }

    .navbar-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

    .navbar-nav.open {
        display: flex
    }

    .dropdown-menu {
        position: static;
        box-shadow: none
    }

    .dropdown:hover .dropdown-menu {
        display: none
    }

    .dropdown.open .dropdown-menu {
        display: block
    }

    .top-bar small {
        display: none
    }

    .top-bar .container {
        justify-content: flex-end
    }

    .cms-picture {
        min-height: 400px
    }

    .cms-image-right {
        flex-direction: column
    }

    .cms-grid[style*="--columns:1"] {
        grid-template-columns: 1fr
    }
}

@media(max-width:575px) {
    .cms-grid {
        grid-template-columns: 1fr
    }

    .cms-gallery {
        column-count: 1
    }

    .cms-overlay {
        width: 130px;
        height: 130px;
        right: -20px
    }

    .cms-overlay img {
        width: 110px;
        height: 110px
    }

    .page-header {
        padding: 4rem 0
    }
}

.cms-single-column {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto
}

fieldset {
    min-width: 0
}

main table {
    display: block;
    overflow: auto
}

.cms-hero {
    min-height: 95vh;
    display: flex;
    align-items: center;
     
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.cms-hero .display-4 {
  color: #fff;
  /* font-size: clamp(2.3rem, 6.3vw, 4.25rem); */
  font-size: calc(1.475rem + 2.7vw);
	font-weight: 700;
	line-height: 1.2;
}
.cms-hero .bg-secondary {
  background: transparent !important;
  border-radius: 0 !important;
  color: rgba(255,255,255,.5) !important;
  /* font-size: clamp(1.25rem, 2.2vw, 1.65rem); */
  font-size: 1.25rem !important;
  	
	font-weight: 700;
	line-height: 1.2
}
.cms-picture {
  min-height: 0 !important;
  height: auto !important;
}
.cms-picture > img {
  display: block;
  position: static !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
  object-fit: contain !important;
}
.cms-picture .cms-overlay {
  position: absolute;
  top: 0;
  right: 0px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.cms-picture .cms-overlay img {
  position: static;
  display: block;
  width: 180px;
  height: 180px;
  object-fit: contain;
}
@media (max-width: 575px) {
  .cms-hero { padding-top: 1.75rem; padding-bottom: 2rem; }
  .cms-picture .cms-overlay {
    width: 130px;
    height: 130px;
    right: -20px;
  }
  .cms-picture .cms-overlay img { width: 110px; height: 110px; }
}
.img-fluid {
   max-width: 100%;
   height: auto
}

