/**
 * Main CSS Theme overrides
 */

/***********************************
  BASE
 ***********************************/
html {
  scroll-behavior: smooth;
  scroll-padding: 70px;
}
body {
  font-family: 'Source Sans Pro', 'helvetica', sans-serif;
}
section {
  padding: 4rem 1rem;
  border-top: 5px solid white;
    display: flex;
    flex-direction: column;
}
section::after {
  display: block;
  height: 5px;
  content: "";
  background-color: #fff;
}
/***********************************
  TYPOGRAPHY
 ***********************************/
h1.title, h2.title, h3.title, h4.titl e, h5.title, h6.title {
  font-family: 'Teko', 'Source Sans Pro', 'helvetica', sans-serif;
  font-weight: normal;
}

h1.title { font-size: 5rem; font-weight: normal; text-transform: uppercase; }
h2.title { font-size: 2.8rem; font-weight: 500; text-transform: uppercase; }

/***********************************
  HEADER / FOOTER
 ***********************************/
.site-header > .navbar,
.site-footer > .navbar {
  font-family: 'Teko';
  font-weight: 500;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-footer,
.site-header {
  background: rgb(12,47,144);
  background: linear-gradient(90deg, #0c2f90 0%, #3366ff 100%);
}

.site-footer .navbar-burger { display: none !important; }
.navbar-item {
  padding: 1.25rem 0.75rem;
  font-size: 1.25rem;
  text-transform: uppercase;
  transition: 0.3s ease-out background-color;
  color: white;
}
.navbar.is-link { background-color: transparent; }
.navbar.is-link .navbar-end a.navbar-item:hover,
.navbar.is-link .navbar-end .active a.navbar-item {
  background-color: rgba(255,255,255,0.2);
  color: white;
}

.navbar-burger { height: 4rem; }
.navbar-burger span { height: 2px; width: 22px; }
.navbar-burger span:nth-child(2) { top: calc(50%); }
.navbar-burger span:nth-child(3) { top: calc(50% + 7px)}
.navbar-burger.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }

@media only screen and (max-width: 1023px) {
  .navbar-menu.is-active {
    background-color: #0c2f90;
    height: 100vh;
    text-align: center;
  }
}
/***********************************
  SECTION - HERO
 ***********************************/
.hero {
  min-height: 400px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  color: white;
  position: relative;
  margin-bottom: 3.2rem;
  border-top: 5px solid white;
  flex-direction: row;
  align-items: center;
}

.hero-body { flex-grow: 0; padding-left: 0; }

.hero:after {
  content: "";
  display: block;
  background: linear-gradient(90deg, rgba(12,47,144,1) 0%, #1a59f5 100%);
  position: absolute;
  height: 3rem;
  left: 0;
  width: 100%;
  bottom: -3.35rem;
}

.hero .title {
  color: white;
  font-weight: normal;
  margin-bottom: 0;
  line-height: 1;
}

.hero h2.title { font-weight: 300; text-transform: none; }

@media only screen and (min-width: 1024px) {
  .hero {
    min-height: 600px;
  }
}

/***********************************
    SECTION - FEATURED BLOCK / IMAGE GRID
 ***********************************/
.feature-block-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}
.feature-block-video > iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.image-grid {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center bottom;
  padding-bottom: 10rem;
}

.image-grid:after { display: none; }
.image-grid .featured-block {
  min-height: 200px;
  background-color: #aaa;
}

.icon-grid-item {
  padding: 2rem;
  position: relative;
  background-color: #2a67f6;
  color: white;
  height: 100%;
  transition: 0.3s filter ease-out;
}
.icon-grid-item img {
  height: 70px;
  margin-bottom: 15px;

}

.icon-grid-item::before {
  content: "";
  display: block;
  top: 0;
  left: 0;
  padding: 15px;
  position: absolute;
  width: 100%;
  height: 100%;
  transition: 0.2s ease-out opacity;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.4);
  opacity: 0;
}

.icon-grid-item:hover {
  filter: brightness(1.1)
}

.icon-grid-item:hover::before {
  opacity: 1;
}

@media only screen and (min-width: 769px) {
  .icon-grid-item { flex-direction: column; text-align: center; }
  .icon-grid-item-content { width: auto; padding-left: 0; }
}

@media only screen and (min-width: 1024px) {
   /* .feature-block-video > iframe { width: 100%; height: 35rem; } */
  .image-grid {
    padding-bottom: 20rem;
  }
}

@media only screen and (min-width: 1408px) {
  /* .feature-block-video > iframe { width: 100%; height: 45rem; } */
}

/***********************************
    SECTION - LABELLED IMAGE
 ***********************************/
.labelled-image {
  color: white;
  background-color: #1a59f5;
  font-size: 1.2rem;
  overflow: hidden;
}
.labelled-image:after { display: none; }

.labelled-image-labels {
  margin-left: 15px;
  list-style-type: none;
}

.labelled-image-reference span { position: relative; z-index: 2; }
.labelled-image-main {
  position: relative;
}
.labelled-image-references {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  list-style-type: none;
}

.labelled-image-references .labelled-image-reference { position: absolute; }
.labelled-image-name { padding-left: 30px; display: inline-block; }
.labelled-image-li {
  margin-bottom: 8px;
  cursor: pointer;
  padding: 8px 10px 8px;
  background-color: transparent;
  border-radius: 6px;
  position: relative;
  font-size: 0.9rem;
  width: calc(50% - 15px);
  display: inline-block;
}
.labelled-image-li:hover,
.labelled-image-li.active {
  background-color: rgba(255,255,255,0.1);
}
.labelled-image-reference {
  position: absolute;
  display: block;
  height: 28px;
  top: 3px;
  left: 3px;
  margin-bottom: 0.5rem;
  display: inline-block;
  width: 28px;
  text-align: center;
  cursor: pointer;
  font-size: 1.2rem;
}

.labelled-image-reference::before {
  font-weight: bold;
  position: absolute;
  --size: 32px;
  left: -2px;
  z-index: 0;
  line-height: var(--size);
  width: var(--size);
  height: var(--size);
  top: 0;
  background: black;
  border-radius: 50%;
  text-align: center;
  content: "";
  z-index: 0;
}
.labelled-image-reference:after {
  content: "";
  z-index: -1;
  width: 100%;
  height: 100%;
  display: block;
  left: 0;
  top: 0;
  box-shadow: 0 0 17px 5px rgba(255,255,255,0.4);
  border-radius: 99%;
  position: absolute;
  opacity: 0;
  transition: 0.3s opacity ease-out;
}

.labelled-image-main .labelled-image-reference { opacity: 0.8; transition: all 0.2s ease-out; transform: brightness(0.8) }
.labelled-image-main .labelled-image-reference.active { opacity: 1; transform: scale(1.4); }
.labelled-image-main .labelled-image-reference.active:after { opacity: 1;}
.labelled-image-reference[data-cat="1"]::before { background-color: #44abdb; }
.labelled-image-reference[data-cat="2"]::before { background-color: #4459db; }
.labelled-image-reference[data-cat="3"]::before { background-color: #9244db; }
.labelled-image-reference[data-cat="4"]::before { background-color: #db44b6; }
.labelled-image-reference[data-cat="5"]::before { background-color: #db4444; }
.labelled-image-reference[data-cat="6"]::before { background-color: #44db84; }
.labelled-image-reference[data-cat="7"]::before { background-color: #d9db44; }
.labelled-image-reference[data-cat="8"]::before { background-color: #db8444; }
.labelled-image-reference[data-cat="9"]::before { background-color: #ec5e00; }
.labelled-image-reference[data-cat="10"]::before { background-color: #00eaff; }
.labelled-image-reference[data-cat="11"]::before { background-color: #81437d; }
.labelled-image-reference[data-cat="12"]::before { background-color: #6c8a92; }
.labelled-image-reference[data-cat="13"]::before { background-color: #a6512b; }
.labelled-image-reference[data-cat="14"]::before { background-color: #ab5c94; }

@media only screen and (min-width: 1024px) {
  .labelled-image-li { font-size: 1rem; padding: 10px; width: 100%; }
  .labelled-image-reference { left: 5px; top: 5px;}
  .labelled-image-name { padding-left: 35px; }
  .labelled-image-content {
    justify-content: center;
    display: flex;
    flex-direction: column;
  }
  .labelled-image-labels { column-count: unset; }
}
/***********************************
    SECTION - SLIDER
 ***********************************/
section.slider {
  padding-left: 0;
  padding-right: 0;
}

section.slider .slider-body .slick { margin-top: 2rem; }

section.slider .slick-slide-image,
section.slider .slick-slide-image-modal {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  margin: 1rem;
  padding: 1rem;
  position: relative;
  min-height: 15rem;
  z-index: 2;
  clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
}

section.slider .slick-slide-image-modal {
  clip-path: none;
  margin: 1rem;
  padding: 0;
  height: 40rem;
  max-height: 100vh;
}

.modal .slick-slide:after,
section.slider .slick-dots {
  display: none !important;
}


section.slider .slick-slide { position: relative; }

section.slider .slick-slide:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 98%;
  height: 100%;
  display: block;
  border: 3px solid #14162b;
  transform: skew(-12deg)
}

section.slider .slick-is-offset .slick-list .slick-track {
  padding-left: 12.5%;
}

/* .slick-list { margin-left: -33vw; } */
.slick-arrows { margin-top: 2rem; }
.slick-arrow { margin: 1rem; cursor: pointer; opacity: 0.7; }
.slick-arrow:hover { margin: 1rem; cursor: pointer; opacity: 1; }


@media only screen and (min-width: 1024px) {
  .slick-slide-image, .slick-slide-image-modal {
    height: 30rem;
  }

}

/***********************************
    SECTION - MAP
 ***********************************/
section.map {
  background-color: #1a59f5;
  color: white;
  padding: 0;
}

.map-itself {
  height: 600px;
}

@media only screen and (min-width: 1024px) {

  .map-itself {
    height: 880px;
  }
}

/***********************************
    FUNCTIONALITY - ACCORDION
 ***********************************/
.accordion {
  list-style-type: none;
}

.accordion-item > .title {
  border-bottom: 1px solid white;
  margin-bottom: 0;
  padding: 0.5rem 0;
  transition: 0.3s background-color ease-out;
}
.accordion-item > .title,
.accordion-item li {
  font-weight: 400;
  text-transform: none;
  font-size: 1.75rem;
  font-family: 'Source Sans Pro', 'helvetica', sans-serif;
  cursor: pointer;
}

.accordion-item li {
  font-size: 1.5rem;
  padding: 0.25rem 0.25rem 0.25rem 1rem;
}
.accordion-item > .title:hover {
  background-color: rgba(255,255,255,0.2);
}

.accordion-item-inner {
  overflow: hidden;
  height: auto;
  max-height: 0;
  transition: all 0.4s ease-out;
  list-style-type: none;
}

.accordion-item > .accordion-item-inner.active {
  max-height: 25rem;
}

.accordion-arrow {
  transition: transform 0.3s ease-out;
}
.accordion-item.active > .title > .accordion-arrow {
  transform: rotate(90deg);
}
.map-itself { color: black; }

@media only screen and (min-width: 1024px) {
  .accordion-outer {
    padding-left: 6rem !important;
    padding-top: 4rem !important;
  }
}
/***********************************
    SECTION - GALLERY
 ***********************************/
.gallery-item {
  background-size: cover;
  height: 18rem;
  background-position: center center;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: 0.2s ease-out filter;
  position: relative;
}
.gallery-item::before {
  content: "";
  display: block;
  top: 0;
  left: 0;
  padding: 15px;
  position: absolute;
  width: 100%;
  height: 100%;
  transition: 0.2s ease-out opacity;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.4);
  opacity: 0;
}

.gallery-item:hover {
  filter: brightness(1.1)
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery .column.is-half-mobile {width: 49%; display: inline-block;}

@media only screen and (min-width: 1408px) {
  .gallery .modal-content,
  #floor_plans .modal-content {
    width: 1344px;
  }
}
@media only screen and (min-width: 1216px) {
  .gallery .modal-content,
  #floor_plans .modal-content {
    width: 1152px;
  }
}
/***********************************
    SECTION - CONTACT
 ***********************************/
section.contact {
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
}

section.contact:after { display: none; }
section.contact h2 {
  color: white;
}

.contact-grid-item {
  background-color: #d6eeff;
  max-width: 500px;
  font-size: 1.2rem;
  margin: 0 auto;
}

.contact-grid-item a {
  border-bottom: 1px solid black;
  color: black;
}

.contact-grid-item-inner {
  padding: 1rem;
}

.contract-grid-item-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 18rem;
}
section.contact .contact-grid-item h2,
.contact-grid-item h2.title {
  color: black;
  line-height: 1;
  margin-bottom: 0;
  margin-top: 1rem;
}

.contact-grid-item.is-descriptive > .contact-grid-item-inner { padding: 0; }
.contact-grid-item.is-descriptive h2 {
  text-transform: uppercase;
  background-color: #fff;
  padding: 1rem 0.25rem;
}
.contact-grid-item.is-descriptive .contact-grid-item-content { padding: 2rem 1rem; font-size: 1.05rem; }

.contact-grid-item.is-descriptive a {
  border-bottom: 1px solid black;
  color: black;
  font-weight: bold;
}

@media only screen and (min-width: 1024px) {
  section.contact {
    padding-bottom: 20rem;
  }
  .contact-grid-item {
    padding-bottom: 2rem;
    min-height: 30rem;
  }
  .contract-grid-item-image {
    height: 20rem;
  }
  .contact-grid-item.is-descriptive { min-height: 20rem; }
}

/***********************************
    MODAL
 ***********************************/
 .modal .slick-arrows path {
   fill: white !important;
 }

 .modal .slick-slide-image {
   background-size: contain;
   background-repeat: no-repeat;
   background-position: center;
   min-height: 25rem;
 }

@media only screen and (min-width: 1216px) {
.slick-slide-image {
  min-height: 40rem;
}
}

/***********************************
    MODAL
 ***********************************/
@media only screen and (min-width: 1024px) {
.is-flex-direction-row-reverse-desktop {
  flex-direction: row-reverse;
}
}
