/* The work below, CSSBox, is released under the Creative Commons
   Attribution-ShareAlike 4.0 license and is available on
   https://github.com/TheLastProject/CSSBox. You are not required to add
   additional credit to your website, just leave the above text in this file */
div.cssbox {
  display: inline-block;
}

span.cssbox_full {
  z-index: 999999;
  position: fixed;
  height: 100%;
  width: 100%;
  background-color:var(--darkColor);
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  cursor: default;
  
}

span.cssbox_full img {
  position: fixed;
  margin: 0;
  padding: 0;
  max-height: calc(100% - 145px);
  max-width: calc(100% - 145px);
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
}

a.cssbox_close,
a.cssbox_prev,
a.cssbox_next {
  z-index: 999999;
  position: fixed;
  text-decoration: none;
  visibility: hidden;
}

a.cssbox_close{
  background-color: var(--lightGray);
  margin-top: 0px !important;
 padding: 17.5px 22.5px 18.5px 22.5px;;
 color:var(--darkColor);
 font: normal 600 var(--paragraphs) 'Source Sans Pro', sans-serif;
}

a.cssbox_close {
  top: 0px;
  right: 0px;
}

a.cssbox_prev,
a.cssbox_next {
  transform: translate(0%, calc(50% - 32.5px));
}

a.cssbox_prev,
a.cssbox_next {
  z-index: 999999;
  position: fixed;
  width: 65px;
  height: 65px;
  top: calc(50% - 32.5px);
  background-color: var(--lightColor);
  background-size: 35px 18px;
  background-repeat: no-repeat;
  background-position: calc(50% - 0px) center;
  transition: 0.2s all;
}

a.cssbox_prev {
 left: 30px;
  background-image: url('../_img/t-arrow-left.svg');
}

a.cssbox_prev:hover {
  background-position: calc(50% - 2.5px) center;
}

a.cssbox_next {
  right: 30px;
  background-image: url('../_img/t-arrow-right.svg');
}

a.cssbox_next:hover {
  background-position: calc(50% + 2.5px) center;
}

a:target ~ a.cssbox_close,
a:target ~ a.cssbox_prev,
a:target ~ a.cssbox_next {
  visibility: visible;
}

a:target > img.cssbox_thumb + span.cssbox_full {
  visibility: visible;
  opacity: 1;
  pointer-events: initial;
}
/* This is the end of CSSBox */
