/**
 * Colorbox Core Style:
 * The following CSS is consistent between example themes and should not be altered.
 */
 #colorbox, #cboxOverlay, #cboxWrapper {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  /*overflow: hidden;*/
}
#cboxOverlay {
  position: fixed;
  width: 100%;
  height: 100%;
}
#cboxMiddleLeft, #cboxBottomLeft {
  clear: left;
}
#cboxContent {
  position: relative;
}
#cboxLoadedContent {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
#cboxTitle {
  margin: 0;
}
#cboxLoadingOverlay, #cboxLoadingGraphic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/**
 * These elements are buttons, and may need to have additional
 * styles reset to avoid unwanted base styles.
 */
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow {
  border: 0;
  padding: 0;
  margin: 0;
  overflow: visible;
  width: auto;
  background: none;
  cursor: pointer;
}
/**
 * Avoid outlines on :active (mouseclick),
 * but preserve outlines on :focus (tabbed navigating)
 */
#cboxPrevious:active, #cboxNext:active, #cboxClose:active, #cboxSlideshow:active {
  outline: 0;
}
.cboxPhoto {
  float: left;
  margin: auto;
  border: 0;
  display: block;
  max-width: none;
  max-height: 80%;
  width: auto !important;
}
.cboxIframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
/* Reset box sizing to content-box if theme is using border-box. */
#colorbox, #cboxContent, #cboxLoadedContent {
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

/**
 * Colorbox module default style:
 * The styles are ordered & tabbed in a way that represents
 * the nesting of the generated HTML.
 */
#cboxOverlay {
  background: #000;
}
#colorbox {
  outline: 0;
}
  #cboxWrapper {
    /*background: #fff;*/
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
  }
  #cboxTopLeft, #cboxTopCenter, #cboxTopRight, #cboxBottomLeft, #cboxBottomCenter, 
  #cboxBottomRight, #cboxMiddleLeft, #cboxMiddleRight {
    pointer-events: none;
  }
  #cboxTopLeft {
    width: 80px;
    height: 80px;
  }
  #cboxTopCenter {
    height: 80px;
  }
  #cboxTopRight {
    width: 80px;
    height: 80px;
  }
  #cboxBottomLeft {
    width: 80px;
    height: 80px;
  }
  #cboxBottomCenter {
    height: 80px;
  }
  #cboxBottomRight {
    width: 80px;
    height: 80px;
  }
  #cboxMiddleLeft {
    width: 80px;
  }
  #cboxMiddleRight {
    width: 80px;
  }
    #cboxContent {
      /*background: #fff;*/
      /*overflow: hidden;*/
    }
      #cboxError {
        padding: 50px;
        border: 1px solid #ccc;
      }
      #cboxLoadedContent {
      }
      #cboxTitle {
        color: white;
        width: 100%;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        margin: 10px 0;
      }
      #cboxCurrent {
        color: white;
        width: 100%;
        overflow: auto;
      }
      #cboxCurrent > * {
        width: 50%;
      }
      #cboxCurrent .counter {
        float: left;
      }
      #cboxCurrent .downloads {
        float: right;
        text-align: right;
      }
      #cboxCurrent .downloads a:hover {
        color: white;
      }
      #cboxCurrent .downloads a + a {
        margin-left: 20px;
      }
      #cboxCurrent .downloads .email, 
      #cboxCurrent .downloads .download { 
        color: white;
      }
      #cboxCurrent .downloads .email:before, 
      #cboxCurrent .downloads .download:before {
        font-family: Font Awesome\ 5 Free;
        font-weight: 700;
        margin-right: 8px;
      }
      #cboxCurrent .downloads .email:before {
        content: '\f0e0';
      }
      #cboxCurrent .downloads .download:before {
        content: '\f019';
      }
      .cboxSlideshow_on #cboxSlideshow {
        position: absolute;
        bottom: 0px;
        right: 30px;
        background: url(images/controls.png) no-repeat -75px -50px;
        width: 25px;
        height: 25px;
        text-indent: -9999px;
      }
      .cboxSlideshow_on #cboxSlideshow:hover {
        background-position: -101px -50px;
      }
      .cboxSlideshow_off #cboxSlideshow {
        position: absolute;
        bottom: 0px;
        right: 30px;
        background: url(images/controls.png) no-repeat -25px -50px;
        width: 25px;
        height: 25px;
        text-indent: -9999px;
      }
      .cboxSlideshow_off #cboxSlideshow:hover {
        background-position: -49px -50px;
      }
      #cboxPrevious {
        position: absolute;
        top: 50%;
        right: 100%;
        color: white;
        outline: 0;
        margin-right: 30px;
        font-size: 16px;
        white-space: nowrap;
        /*background: url(images/controls.png) no-repeat -75px 0px;
        width: 25px;
        height: 25px;
        text-indent: -9999px;*/
      }
      #cboxPrevious:hover {
        background-position: -75px -25px;
      }
      #cboxNext {
        position: absolute;
        top: 50%;
        left: 100%;
        color: white;
        outline: 0;
        margin-left: 30px;
        font-size: 16px;
        white-space: nowrap;
        /*background: url(images/controls.png) no-repeat -50px 0px;
        width: 25px;
        height: 25px;
        text-indent: -9999px;*/
      }
      #cboxNext:hover {
        background-position: -50px -25px;
      }
      #cboxPrevious:before, #cboxNext:before {
        content: "";
        font-family: Font Awesome\ 5 Free;
        font-weight: 700;
        display: block;
        font-size: 20px;
        width: 100%;    
      }
      #cboxPrevious:before {
        content: '\f053';
      }
      #cboxNext:before {
        content: '\f054';
      }
      #cboxLoadingOverlay {
        /*background: #fff;*/
      }
      #cboxLoadingGraphic {
        background: url(images/loading_animation.gif) no-repeat center center;
      }
      #cboxClose {
        position: absolute;
        top: -50px;
        right: 0;
        width: 25px;
        height: 25px;
        visibility: hidden;
      }
      #cboxClose:before {
        position: absolute;
        top: 0;
        left: 0;  
        width: 100%;
        height: 100%;
        content: '\f00d';
        font-family: Font Awesome\ 5 Free;
        font-weight: 700;
        font-size: 24px;
        visibility: visible;
        color: white;
      }

      #cboxClose:hover {
        background-position: -25px -25px;
      }
