/*
Darkbox
*/
[data-darkbox],
[data-darkbox-group]{
  cursor: pointer;
}

/* #darkbox (shows large images as bg-image) */

 

#darkbox{
 	position:fixed;
	left: 0px;
	top:0px;
	width:100vw;
	height:100%;
    z-index: 999999;
    background: rgba(43, 170, 223, .85) none no-repeat 50% 50% / contain;
    box-shadow: 0 0 0 8px rgba(3, 115, 187, 1);
   -webkit-transition: 0.3s;
    transition: 0.3s;
    opacity: 0; 
    visibility: hidden;
}

#darkbox.show{
  opacity: 1;
  visibility: visible;
}

/* Hover action elements styles */
#darkbox a:hover{
  color: #0bf;
  border-color: #0bf;
}

/*prev next buttons*/
#darkbox_prev,
#darkbox_next{
  cursor: pointer;
  position: absolute;
  height: 30px;
  width: 30px;
  top: 50%;
  margin-top: -15px;
  border: 0px solid #fff;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  -webkit-transition: 0.3s;
          transition: 0.3s;
}

#darkbox_prev{
  left: 2vw;
  border-width: 0 0 6px 6px;
}

#darkbox_next{
  right: 4vw;
  border-width: 6px 6px 0 0;
}

/* Description */
#darkbox_description{
  color:#fff;
  font: 20px/1.4 Helvetica;
  margin: auto;
  display: block;
  max-width:80%;
  text-align: center;
  padding: 10px 0;
}

/* Stats counter */
#darkbox_stats{
  position: absolute;
  left: 0;
  top: 0;
}

/* Close button */
#darkbox_close{
  color: #fff;
  position: absolute;
  top: 2vw;
  right: 4vw;
}
#darkbox_close:after{
  position: absolute;
  right: 0;
  top: -12px;
  font-size: 3.2em;
  content: "\2A2F";
  cursor: pointer;
}

/* Spinner */
#darkbox:before{
  content: "";
  position: absolute;
  visibility: hidden;
  opacity: 0;
  left: 50%;
  top: 50%;
  margin: -25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: inset -2px 0 0 2px #fff;
  -webkit-animation: darkboxRotate 1.5s linear infinite; 
          animation: darkboxRotate 1.5s linear infinite; 
}
#darkbox.spinner:before{
  visibility: visible;
  opacity: 1;
}
@-webkit-keyframes darkboxRotate{ to{-webkit-transform: rotate(360deg); } }
@keyframes         darkboxRotate{ to{        transform: rotate(360deg); } }


