:root {

    /* 1800*/
    --pad: clamp(15px, 10.9vw, 220px);
    --toppad: clamp(30px, 5.7vw, 110px);
    --botpad: clamp(40px, 6.3vw, 120px);

    --boxpad : clamp(15px, 2.6vw, 40px);

    --color-primary: #0D678D;
    --color-primary-light: #0D678Dbf;
    --color-primary-alternative: #93BED3;

    --color-secondary: #E97F21;
    --color-secondary-light: #e97e20bf;
    
    --color-white: #FFF;
    --color-black: #231F20;
}

@media (max-width: 1500px){
    :root {
        --pad: clamp(15px, 9vw, 450px);

    }
}

@media (max-width: 1200px){
    :root {
        --pad: clamp(15px, 7vw, 450px);
        --widepad: clamp(15px, 5vw, 130px);
    }
}

@media (max-width: 900px){
    :root {
        --pad: clamp(15px, 5vw, 450px);
    }
}

body{
    color: var(--color-black);
    background: var(--color-white);
    font-family: "schoolbook",serif;
    font-weight: 400;
    font-style: normal;
}

.container{
    animation: startopa 0.5s linear forwards;
    animation-direction: alternate;
    opacity: 0;
}

@keyframes startopa {
    from {opacity: 0; }
    to { opacity: 1;}
}

.project-pads{
    padding-left: var(--pad);
    padding-right: var(--pad);   
}

.project-pads-left{
    padding-left: var(--pad);
}

.project-pads-right{
    padding-right: var(--pad);
}

.topbotpad{
    padding-top: var(--toppad);
    padding-bottom: var(--botpad);
}

.toppad{
    padding-top: var(--toppad); 
}

.halfpad{
    padding-top: calc(var(--toppad) / 2);
    padding-bottom: calc(var(--botpad) / 2);
}

.botpad{
    padding-bottom: var(--botpad);
}

.project-widepads{
    padding-left: var(--widepad);
    padding-right: var(--widepad);   
}

.topmargin{
    margin-top: var(--toppad);
}

.bottommargin{
    margin-bottom: var(--botpad);
}

@font-face {
    font-family: 'BasisGrotesquePro';
    src: url('../fonts/BasisGrotesquePro-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'BasisGrotesqueProLight';
    src: url('../fonts/BasisGrotesquePro-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'BasisGrotesquePro', sans-serif;
    margin-bottom: 16px;
}

h1, h2, h3, h4 {
    line-height: 1em;
}

h1{
    font-size: var(--font56);
}

h2{
    font-size: var(--font40);
}

h3{
    font-size: var(--font36);
}


h4{
    font-size: var(--font32);
}

h5{
    font-size: var(--font28);
}

h6{
    font-size: var(--font24);
}

p{
    font-size: var(--font20);
    padding-bottom: 1em;
    line-height: 1.35em;
}

a, li{
    font-size: var(--font20);
}


.btn {
    font-family: 'BasisGrotesqueProLight', sans-serif;
    font-size: var(--font24);
    gap: 60px;
    padding: 0;
    max-width: 400px;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 50px;
    margin-bottom: 5px;
    text-transform: uppercase;
    border-radius: 8px;
}

.btn span {
    padding: 16px;
}


.btn svg {
    height: var(--font60);
    align-self: center;
    justify-self: center;
    margin-right: 70px;
}

.btn:hover svg {
    animation: sarrow 0.3s infinite linear;
    animation-direction: alternate;
}

@keyframes sarrow {
    0% {
        margin-right: 70px;
    }
    100% {
        margin-right: 63px;
    }
}

/*  */

.centered {
    text-align: center;
    justify-items: center;
}

.align-center {
    align-items: center;
}

.align-top {
    align-items: flex-start;
}

.align-bottom {
    align-items: flex-end;
}

.text-white {
    color: var(--color-white);
}

.text-black {
    color: var(--color-black);
}

.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-secondary);
}

.bg-primary {
    background-color: var(--color-primary);
}

.bg-secondary {
    background-color: var(--color-secondary);
}

.bg-white {
    background-color: #ffffff;
}

.bg-lightblue {
    background-color: var(--color-white);
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-secondary-light);
    color: var(--color-white);
}

/* Theme Dependent */
#hero-banner {

}

.hero-banner-box {
    display: grid;
    height: 100%;
}

.hero-banner-texts {
    align-self: end;
    max-width: 900px;
    justify-self: center;
}

.hero-banner-logo {
  padding-left: clamp(10px, 5vw, 120px);
  padding-right: clamp(10px, 5vw, 120px);
}

.hero-banner-logo {
    justify-items: center;
}

.hero-banner-logo-img {
    width: 700px;
    max-width: 100%;
    max-height: 100%;
}

.hero-banner-title {
    /* margin-bottom: 16px; */
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}

.hero-banner-content {
    margin-bottom: 32px;
    filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.3));
}

#hero-banner img {
    /* max-height: 900px; */
}

a.kill-deco.btn.hero-banner-btn.btn-primary {
    max-width: 100% !important;
    margin-bottom: 0 !important;
    border-radius: 10px 10px 0px 0px !important;
    background: var(--color-primary-light) !important;
}

a.kill-deco.btn.hero-banner-btn.btn-primary:hover {
    background: var(--color-primary) !important;
}

a.kill-deco.btn.hero-banner-btn.btn-secondary {
    max-width: 100% !important;
    margin-bottom: 0 !important;
    border-radius: 10px 10px 0px 0px !important;
    background: var(--color-secondary-light) !important;
}

a.kill-deco.btn.hero-banner-btn.btn-secondary:hover {
    background: var(--color-secondary) !important;
}

.hero-banner-btns-wrapper {
    display: grid;
    gap: 20px;
}

@media (max-width: 1100px) {
    #hero-banner img {
        object-fit: cover;
        height: 100%;
    }
    .hero-banner-logo-img {
        width: 100%;
        height: auto !important;
    }
}

#text-and-image-area {
    gap: clamp(20px, 5vw, 75px);
}

.repeater-text-area-header {
    padding-left: clamp(15px, 18vw, 800px);
    padding-right: clamp(15px, 18vw, 800px);
}

@media (max-width: 900px) {
    .repeater-text-area-header {
        padding-left: var(--pad);
        padding-right: var(--pad);
    }
}

@media (max-width: 550px) {
    .repeater-text-area-title {
        width: 100%;
        text-align: left;
    }
    .repeater-text-area-header {
        padding-left: 0;
        padding-right: 0;
        text-align: left;
    }
}

.repeater-text-area-header-variant {
    padding-bottom: 48px;
}

.repeater-text-area-item.card-box {
    place-items: center;
    text-align: center;
}

.repeater-text-area-item-circle {
    width: 240px;
    height: 240px;
}

.repeater-text-area-item-placeholder {
    width: 240px;
    height: 240px;
    border-radius: 999px;
    background-color: var(--color-primary-alternative);
    display: flex;
    justify-content: center;
    align-items: center;
}

.repeater-text-area-items {
    gap: clamp(20px, 5vw, 75px);
}


img.repeater-text-area-item-img {
    width: 240px;
    height: 240px;
    border-radius: 999px;
    background-color: var(--color-primary-alternative);
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: cover;
}

img.repeater-text-area-item-img-variant {
    aspect-ratio: 4/3;
    width: 100%;
    height: auto;
    object-fit: cover;
    padding-bottom: 16px;
}

.repeater-text-area-item-circle-title {
    z-index: 2;
    line-height: 1em;
    width: 135%;
    place-self: center;
}

.repeater-text-area-item-title-variant {
    margin-bottom: 8px;
}

@media (max-width: 700px) {
    .repeater-text-area-item-circle-title {
        width: 100%;
    }
}

.repeater-and-image-area-repeater-item-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 999px;
}

.basic-text-area-header {
    max-width: 800px;
}

#repeater-and-image-area {
    gap: clamp(20px, 5vw, 75px);
}

.repeater-and-image-area-repeater-item {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

@media (max-width: 900px) {
    #repeater-and-image-area {
        grid-template-columns: 1fr;
    }
    .hero-banner-texts {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .align-reverse {
        display: flex;
        flex-direction: column-reverse;
    }
}


.news-title, .news-single-recommendations-title {
    color: #000;
    border-bottom: 2px solid #1a9561;
    width: fit-content;
    margin-bottom: 32px;
    padding-bottom: 8px;
}

.news-list {
    display: grid;
    gap: 24px;
}

.news-card {

}

.news-card-title {
    padding-bottom: 8px;
    color: var(--color-white);
    font-size: var(--font26);
}

.news-card-content {
    padding: 16px;
}

.news-card-link {
    display: block;
    color: var(--color-white);
    text-decoration: none;
    background: var(--color-primary);
    border-radius: 15px;
}

.news-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.news-card img {
    aspect-ratio: 1/1;
    height: fit-content;
    object-fit: cover;
}

.news-card-img-single img {
    margin-bottom: 16px;
    margin-top: 16px;
    height: 100%;
    max-width: 1000px;
    width: 100%;
}

.news-content {
    max-width: 1000px;
}

.news-card-button {
    margin-top: 16px;
    max-width: 500px;
}

.news-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.news-card-title a:hover {
    /* color: #1bbd7e; */
}

#news-feed {
    background: var(--color-primary-alternative);
}

.news-feed-title {
    padding-bottom: 24px;
    padding-top: 24px;
    color: var(--color-white);
}

.news-card-meta {
    font-size: 0.95rem;
    font-family: 'BasisGrotesqueProLight', sans-serif;
    margin-bottom: 8px;
    text-align: end;
}

.news-card-excerpt {
    font-size: 1.05rem;
    margin-bottom: 18px;
    line-height: 1.5em;
    padding-bottom: 16px;
}

.news-single-card-title {
    padding-top: var(--toppad);
    /* font-size: var(--font26); */
}

.news-listing {
    display: grid;
    gap: 24px;
}

.news-content h1, .news-content h2, .news-content h3, .news-content h4, .news-content h5 {
    margin-top: 24px;
}

.news-single-header-area {
    background: var(--color-black);
}

.news-single-card-excerpt {
    margin-top: 16px;
    max-width: 600px;
}

.news-single-content-part-2 {
    margin-left: 32px;
    border-left: 1px solid var(--color-black);
    padding-left: 32px;
    margin-top: var(--toppad);
}

.news-related-card-link {
    text-decoration: none;
    color: inherit;
}

.news-related-card {
    display: flex;
    align-items: center;
    gap: 16px;
}

.news-related-card-img {
    max-width: 150px;
    max-height: 150px;
    border-radius: 999px;
    object-fit: cover;
}

.news-related-card-title {
    color: var(--color-text);
    font-size: var(--font32);
}

.news-related-card-excerpt {
    font-size: var(--font16);
}

.news-related-card-meta {
    font-size: var(--font22);
    padding-bottom: 8px;
}

.related-news-list {
    display: grid;
    gap: 32px;
}

.news-single-full-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}


.text-and-image-area-right-wide {
    grid-column: span 2;
}

@media (max-width: 1050px) {
    .text-and-image-area-wide {
        grid-template-columns: 1fr !important;
    }

}

@media (max-width: 1100px) {
    .news-single-full-content {
        grid-template-columns: 1fr !important;
    }
    .news-single-content-part-2 {
        margin-left: 0px;
        border-left: none;
        padding-left: 0px;
        margin-top: 32px;
        border-top: 1px solid var(--color-black);
        padding-top: 32px;
    }
}

 #banner-imagevideo .videoswapframe, div#banner-imagevideo {
    aspect-ratio: 16/9;
    width: 100%;
}

#banner-imagevideo img {
    width: 100%;
    height: auto;
}

@media (max-width: 1000px) {
    #hero-banner .hero-banner-box {
        grid-row: 2;
        background: var(--color-primary-alternative);
    }
    .hero-banner-texts p {
        width: 100%;
    }
}

.text-and-image-area-video {
    width: 100%;
    aspect-ratio: 16/9;   
    position: relative;
}

.text-and-image-area-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* j2slides */
/* --- SLIDER CONTAINER --- */
.j2-mySlides-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 600px;
  margin: auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background: #000; */
}

/* --- EACH SLIDE --- */
.j2-mySlides-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.j2-mySlides-slide.active {
  opacity: 1;
  z-index: 3;
  transform: translateX(0);
}

.j2-mySlides-slide.prev-slide {
  opacity: 0.6;
  z-index: 2;
  transform: translateX(-100%);
}

.j2-mySlides-slide.next-slide {
  opacity: 0.6;
  z-index: 2;
  transform: translateX(100%);
}

/* --- IMAGES --- */
.j2-mySlides-slide img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* --- NAVIGATION BUTTONS --- */
.prev-fixed, .next-fixed {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 12px 18px;
    font-size: 24px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(233, 127, 33, 0.8);
    transition: background-color 0.3s ease;
    z-index: 10;
    user-select: none;
    display: none;
}

.prev-fixed {
  left: 0px;
}

.next-fixed {
  right: 0px;
}

.prev-fixed:hover,
.next-fixed:hover {
  background-color: #e97f21;
}

.gallery-item-wrapper {
    height: 100%;
}

.gallery-item-texts {
    z-index: 5;
    background: #ff5210b8;
    height: fit-content;
    max-width: 400px;
    width: fit-content;
    padding: 24px;
    color: #fff;
    position: absolute;
}

.gallery-item-texts-left {
    left: 0;
    top: 10%;
}

.gallery-item-texts-right {
    right: 0;
    bottom: 10%;
}

.gallery-item-description p {
    padding-bottom: 0 !important;
}

.gallery-item-texts-mobile {
    display: none;
}

@media (max-width: 700px) {
    .gallery-item-texts {
        display: none;
    }
    .gallery-item-texts-mobile {
        display: block;
    }
    .j2-mySlides-slide {

    }
    /* .gallery-item-texts-mobile {
        display: block;
        z-index: 6;
        background: #ff5210b8;
        color: #fff;
        justify-items: center;
        align-content: center;
        padding: 16px;
    } */
}

/* --- LIGHTBOX --- */
.j2-mySlides-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
}

.j2-mySlides-lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.j2-mySlides-lightbox .close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
  /* .j2-mySlides-container {
    height: auto;
  } */

  .prev-fixed,
  .next-fixed {
    padding: 8px 12px;
    font-size: 20px;
  }
}

.j2-mySlides-dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
  z-index: 5;
}

.j2-mySlides-dots .dot {
    height: 30px;
    width: 30px;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.j2-mySlides-dots .dot.active {
  background-color: rgba(233, 127, 33, 0.9);
}
/* Footer */



footer {
    background: var(--color-primary);
    color: var(--color-primary-alternative);
    padding-top: 64px;
    padding-bottom: 64px;
}

.footer-content {
    gap: 24px;
}

.footer-part1 {
    border-right: 1px solid var(--color-primary-alternative);
    padding-right: 24px;
}

.footer-part1 p {
    font-size: var(--font18);
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-menu a {
    color: var(--color-primary-alternative);
    padding-bottom: 4px;
    text-decoration: none;
    font-size: var(--font18);
    font-family: 'BasisGrotesqueProLight', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
}

.footer-menu a:hover {
    color: var(--color-white);
}

@media (max-width: 700px) {
    .footer-part1 {
        border-right: none;
        padding-right: 0px;
    }
}

.footer-bottom {
    padding-top: 16px;
    border-top: 1px solid var(--color-primary-alternative);
    margin-top: 16px;
    display: flex;
    gap: 16px;
}

.footer-bottom img {
    height: 48px;
    width: auto;
}

.footer-bottom p {
    padding-bottom: 0 !important;
    align-self: center;
}

.footer-pads {
    padding-left: var(--pad);
    padding-right: var(--pad);
}       


.news-list-button {
    gap: 24px;
}