﻿/*
    ColorBox Core Style
    The following rules are the styles that are consistant between themes.
    Avoid changing this area to maintain compatability with future versions of ColorBox.
*/
#cboxOverlay {
  position: fixed;
  top: 0;
  left: 0;
  height: fit-content;
  z-index: 300;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
#cboxMiddleLeft,
#cboxBottomLeft {
  clear: left;
}
#colorbox,
#cboxWrapper {
  position: relative;
  align-self: center;
  max-height: fit-content;
  max-width: fit-content;
  overflow: none;
  box-sizing: content-box;
  z-index: 400;
}
#cboxContent {
  position: relative;
  margin-top: 20px;
  max-height: fit-content;
  max-width: fit-content;
  overflow: none;
  box-sizing: content-box;
}
#cboxLoadedContent {
  max-width: 95vw;
  max-height: 95vh;
  overflow: none;
  box-sizing: content-box;
  background: var(--page_nav);
  padding: 3px;
}
#cboxLoadedContent iframe {
  display: block;
  max-width: 95vw;
  max-height: 95vh;
  border: 0;
}
#cboxLoadedContent > img {
  max-width: 95vw;
  max-height: 95vh;
}
#cboxTitle {
  margin: 0;
}
#cboxLoadingOverlay,
#cboxLoadingGraphic {
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
}
#cboxPrevious,
#cboxNext,
#cboxClose,
#cboxSlideshow {
  cursor: pointer;
}
/* 
    ColorBox example user style
    The following rules are ordered and tabbed in a way that represents the
    order/nesting of the generated HTML, so that the structure easier to understand.
*/
#cboxOverlay {
  background: rgb(29, 29, 29);
}
#cboxTitle {
  position: absolute;
  top: -20px;
  left: 0;
  color: var(--font_white);
}
#cboxCurrent {
  position: absolute;
  top: -20px;
  right: 0px;
  color: var(--font_white);
}
#cboxSlideshow {
  position: absolute;
  top: -20px;
  right: 90px;
  color: var(--font_white);
}
#cboxPrevious {
  position: absolute;
  top: 45%;
  left: 3px;
  background: var(--flick_nav) bottom left no-repeat;
  filter: var(--image-filter);
  background-size: 72px auto;
  width: 36px;
  height: 60px;
  text-indent: -9999px;
}
#cboxPrevious.hover {
  background-position: bottom left;
}
#cboxNext {
  position: absolute;
  top: 45%;
  right: 3px;
  background: var(--flick_nav) bottom right no-repeat;
  filter: var(--image-filter);
  background-size: 72px auto;
  width: 36px;
  height: 60px;
  text-indent: -9999px;
}
#cboxNext.hover {
  background-position: bottom right;
}
#cboxLoadingOverlay {
  background: #000;
}
#cboxLoadingGraphic {
  background: url(loading.gif) center center no-repeat;
}
#cboxClose {
  position: absolute;
  top: 3px;
  right: 10px;
  display: block;
  background: var(--flick_nav) no-repeat right top;
  filter: var(--image-filter);
  background-size: 60px auto;
  width: 60px;
  height: 30px;
  text-indent: -9999px;
}
#cboxClose.hover {
  background-position: bottom center;
}
/* flickr box styles */
.flickrcbox {
  display: flex;
  justify-content: space-evenly;
  overflow: hidden;
  flex-wrap: wrap;
  margin: -2px;
}
.flickrcbox:after {
  content: "";
  flex-grow: 999999999;
  min-width: 170px;
  height: 0;
}
.flickrcbox > * {
  position: relative;
  display: block;
  height: 170px;
  margin: 2px;
  flex-grow: 1;
}
.flickrcbox > * > img {
  height: 170px;
  object-fit: cover;
  max-width: 100%;
  min-width: 100%;
  vertical-align: bottom;
}
.flickrcbox.flickrcbox-margin {
  margin: 2px;
}
@media (max-width: 1100px) {
  .flickrcbox {
    display: flex;
    overflow: hidden;
    flex-wrap: wrap;
    margin: -2px;
  }
  .flickrcbox:after {
    content: "";
    flex-grow: 999999999;
    min-width: 160px;
    height: 0;
  }
  .flickrcbox > * {
    position: relative;
    display: block;
    height: 160px;
    margin: 2px;
    flex-grow: 1;
  }
  .flickrcbox > * > img {
    height: 160px;
    object-fit: cover;
    max-width: 100%;
    min-width: 100%;
    vertical-align: bottom;
  }
  .flickrcbox.flickrcbox-margin {
    margin: 2px;
  }
}
@media (max-width: 900px) {
  .flickrcbox {
    display: flex;
    overflow: hidden;
    flex-wrap: wrap;
    margin: -2px;
  }
  .flickrcbox:after {
    content: "";
    flex-grow: 999999999;
    min-width: 140px;
    height: 0;
  }
  .flickrcbox > * {
    position: relative;
    display: block;
    height: 140px;
    margin: 2px;
    flex-grow: 1;
  }
  .flickrcbox > * > img {
    height: 140px;
    object-fit: cover;
    max-width: 100%;
    min-width: 100%;
    vertical-align: bottom;
  }
  .flickrcbox.flickrcbox-margin {
    margin: 2px;
  }
}
@media (max-width: 700px) {
  .flickrcbox {
    display: flex;
    overflow: hidden;
    flex-wrap: wrap;
    margin: -2px;
  }
  .flickrcbox:after {
    content: "";
    flex-grow: 999999999;
    min-width: 120px;
    height: 0;
  }
  .flickrcbox > * {
    position: relative;
    display: block;
    height: 120px;
    margin: 2px;
    flex-grow: 1;
  }
  .flickrcbox > * > img {
    height: 120px;
    object-fit: cover;
    max-width: 100%;
    min-width: 100%;
    vertical-align: bottom;
  }
  .flickrcbox.flickrcbox-margin {
    margin: 2px;
  }
}
