/*
Hompage Specific Styling.
*/
/*
Global Variables

@import this file at the top of each page
template file to make variables available.
*/
:root {
  --outside-block: calc((60px * 0) + (60/1600*100vw * 1));
  --inside-block: calc(var(--outside-block) + ((90px * 0) + (90/1600*100vw * 1)));
  --max-width: 1600px;
}

@media screen and (min-width: 1601px) {
  :root {
    --outside-block: 60px;
    --inside-block: calc(var(--outside-block) + 90px);
  }
}
@media screen and (max-width: 1400px) {
  :root {
    --outside-block: 45px;
    --inside-block: calc(var(--outside-block) + ((60px * 0) + (60/1600*100vw * 1)));
  }
}
@media screen and (max-width: 1200px) {
  :root {
    --inside-block: calc(var(--outside-block) + ((50px * 0) + (50/1600*100vw * 1)));
  }
}
@media screen and (max-width: 1000px) {
  :root {
    --outside-block: 45px;
    --inside-block: 45px;
  }
}
@media screen and (max-width: 800px) {
  :root {
    --outside-block: 28px;
    --inside-block: 28px;
  }
}
/*
Mixins

Add mixins to any css page using @include

e.g.
.element{
	@include transition( background .2s ease-out )
}
*/
.image-legend {
  position: fixed;
  max-width: var(--max-width);
  margin: auto;
  padding: 0 var(--inside-block);
  width: 100%;
  height: 0;
  left: 50%;
  transform: translateX(-50%);
  top: 140px;
  z-index: 4;
  /* Hide scrollbar for Chrome, Safari and Opera */
  /* Hide scrollbar for IE, Edge and Firefox */
}
@media screen and (max-width: 650px) {
  .image-legend {
    display: none;
  }
}
.image-legend *::-webkit-scrollbar {
  display: none;
}
.image-legend * {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}
.image-legend .overflow-container {
  position: absolute;
  width: 144px;
  top: 0;
  right: calc(var(--inside-block) - 40px);
  height: calc(100vh - 140px);
  overflow-y: scroll;
}
.image-legend .container {
  display: flex;
  flex-wrap: wrap;
  row-gap: 10px;
  column-gap: 10px;
  margin-bottom: 10px;
}
.image-legend .container .image {
  flex: 0 0 100%;
  height: 70px;
  padding: 0 15px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  cursor: pointer;
}
.image-legend .container .image:hover {
  opacity: 1;
}
.image-legend .container .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-legend .container .image.half {
  flex: 0 0 calc(50% - 5px);
  height: 105px;
  padding: 0;
}
@media screen and (max-width: 820px) {
  .image-legend .container .image.half {
    flex: 0 0 100%;
    height: 70px;
    padding: 0 15px;
  }
}
.image-legend .container .image.active {
  opacity: 1;
}

#banner {
  position: relative;
}
#banner .inside {
  max-width: var(--max-width);
  margin: auto;
  padding: 0 var(--inside-block);
  padding-top: 160px;
  position: relative;
  z-index: 0;
}
#banner .inside #breadcrumbs {
  margin-bottom: 40px;
  width: calc(100% - 130px);
  border-top: 1px solid #7B7B7B;
  padding-top: 10px;
}
@media screen and (max-width: 650px) {
  #banner .inside #breadcrumbs {
    width: 100%;
  }
}
#banner .inside .secondary-heading {
  width: 60%;
  margin-bottom: 60px;
}
@media screen and (max-width: 650px) {
  #banner .inside .secondary-heading {
    width: 100%;
  }
}

#media-gallery .inside {
  margin: auto;
  max-width: var(--max-width);
  padding: 0 calc(var(--inside-block)) 90px var(--inside-block);
  position: relative;
}
#media-gallery .inside .image-main {
  display: flex;
  flex-wrap: wrap;
  row-gap: 20px;
  column-gap: 20px;
  position: relative;
  padding-right: 130px;
}
@media screen and (max-width: 650px) {
  #media-gallery .inside .image-main {
    padding-right: 0px;
  }
}
#media-gallery .inside .image-main .image {
  flex: 0 0 100%;
  height: 729px;
  display: block;
}
@media screen and (max-width: 650px) {
  #media-gallery .inside .image-main .image {
    height: calc(0px + 75.1430769231vw);
  }
}
#media-gallery .inside .image-main .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#media-gallery .inside .image-main .image.half {
  flex: 0 0 calc(50% - 10px);
  height: 905px;
}
@media screen and (max-width: 820px) {
  #media-gallery .inside .image-main .image.half {
    flex: 0 0 100%;
    height: 729px;
  }
}
@media screen and (max-width: 650px) {
  #media-gallery .inside .image-main .image.half {
    height: calc(0px + 75.1430769231vw);
  }
}

/*# sourceMappingURL=media.css.map */
