/*************FOTO GALLERY OVERLAY************/
.overlay-gallery {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  position: absolute;
  /*top:10%;*/
  left: 0;
  z-index: 99999;
  display: none;
}
.overlay-gallery .close {
  display: block;
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #999;
  color: white;
  height: 30px;
  width: 30px;
  line-height: 30px;
  font-size: 35px;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  z-index: 1;
  outline: 0 none;
}
.overlay-gallery .emotional-overlay {
  height: 100%;
}
.overlay-gallery .emotional-overlay .wrap-slider {
  height: 100%;
}
.overlay-gallery .emotional-overlay .wrap-slider .gallery-swipe {
  overflow: hidden;
  visibility: hidden;
  position: relative;
  height: 100%;
}
.overlay-gallery .emotional-overlay .wrap-slider .gallery-swipe .gallery-swipe-wrap {
  /*overflowoverflow:hidden;*/
  position: relative;
  height: 100%;
}
.overlay-gallery .emotional-overlay .wrap-slider .gallery-swipe .gallery-swipe-wrap div {
  float: left;
  width: 100%;
  height: auto;
  position: relative;
  text-align: center;
  background-color: #000;
}
.overlay-gallery .emotional-overlay .wrap-slider .gallery-swipe .gallery-swipe-wrap div .overlay-text {
  background-color: #000;
  bottom: 0;
  box-sizing: border-box;
  color: #fff;
  font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
  font-size: 1.1rem;
  left: 0;
  line-height: 1.2rem;
  margin: 0 auto;
  opacity: 0.5;
  padding: 2% 15%;
  position: absolute;
  right: 0;
  text-align: left;
  width: 100%;
  z-index: 1;
}
.overlay-gallery .emotional-overlay .wrap-slider .gallery-swipe .gallery-swipe-wrap div iframe {
  width: 90%;
  /* Portrait */
  /* Landscape 
							@media screen and (orientation:landscape) {								
								width:90%;
								margin:0 auto;
							}
							*/
}
@media screen and (orientation: portrait) {
  .overlay-gallery .emotional-overlay .wrap-slider .gallery-swipe .gallery-swipe-wrap div iframe {
    /* Portrait styles */
    width: 90%;
    margin: 0;
  }
}
.overlay-gallery .emotional-overlay .wrap-slider .gallery-swipe .gallery-swipe-wrap div img {
  /* Portrait */
  /* Landscape 
							@media screen and (orientation:landscape) {
								height:100%;
								width:auto;
								margin:0 auto;
							}
							*/
}
@media screen and (orientation: portrait) {
  .overlay-gallery .emotional-overlay .wrap-slider .gallery-swipe .gallery-swipe-wrap div img {
    /* Portrait styles */
    height: auto;
    width: 100%;
    margin: 0;
  }
}
.overlay-gallery .emotional-overlay .wrap-slider .gallery-swipe .gallery-swipe-wrap div .playcover {
  width: 100%;
  height: 100%;
  background: transparent url('../images/img-casa/icon-video.png') center center no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
}
.overlay-gallery .emotional-overlay .wrap-slider .gallery-swipe .prev {
  position: absolute;
  left: 0;
  top: 50%;
  width: 40px;
  height: 72px;
  background: transparent url("../images/pack-arrow-left.png") no-repeat center center;
  border: 0 none;
  z-index: 1;
  cursor: pointer;
  outline: 0 none;
  margin-top: -36px;
}
.overlay-gallery .emotional-overlay .wrap-slider .gallery-swipe .next {
  position: absolute;
  right: 0;
  top: 50%;
  width: 40px;
  height: 72px;
  background: transparent url("../images/pack-arrow-right.png") no-repeat center center;
  border: 0 none;
  z-index: 1;
  cursor: pointer;
  outline: 0 none;
  margin-top: -36px;
}
.mask-gallery {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 500;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 9999;
}
.gallery-items {
  display: none;
}
