
/*Copyright Antic Marjan*/

* {
  margin: 0;
  padding: 0;
}

.ligthbox_background {
  width: 0;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.1);
}

.ligthbox_wrap {
  border: 1px solid rgba(0,0,0,0.3);
  overflow: hidden;
  margin: 30px auto;
  background: rgba(255,255,255,1);
  position: relative;
}

.ligthbox_wrap>img {
  margin: 30px 80px 90px 80px;
  max-width: 1500px;
}

.ligthbox_zurueck {
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
  width: 50%;
  height: 100%;
}

.ligthbox_zurueck:after {
  opacity: 0.6;
  content: url(img/left.png);
  font-size: 30px;
  position: absolute;
  top: 50%;
  margin-top: -62px;
  left: 10px;
  transition: opacity 0.5s;
  -webkit-transition: opacity 0.5s;
}

.ligthbox_zurueck:hover:after { opacity: 1; }

.ligthbox_weiter {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  width: 50%;
  height: 100%;
}

.ligthbox_weiter:after {
  opacity: 0.6;
  content: url(img/right.png);
  font-size: 30px;
  position: absolute;
  top: 50%;
  margin-top: -62px;
  right: 10px;
  transition: opacity 0.5s;
  -webkit-transition: opacity 0.5s;
}

.ligthbox_weiter:hover:after { opacity: 1; }

.image_text { display: none; }

#ligthbox_text {
  position: absolute;
  bottom: 40px;
  left: 80px;
  font-style: italic;
}

/* --for smaller devices-- */
@media only screen and (min-width: 768px) and (max-width: 1024px) {

.ligthbox_wrap>img { max-width: 600px; }

.ligthbox_wrap { max-width: 768px; }
}
@media only screen and (min-width: 1025px) and (max-width: 1350px) {

.ligthbox_wrap>img { max-width: 800px; }

.ligthbox_wrap { max-width: 968px; }
}
/*@media only screen and (max-width: 768px){
  .ligthbox_wrap>img{
    max-width: 250px;
  }
  .ligthbox_wrap{
    max-width: 418px;
  }
}*/

/* --for smaller devices-- */
