@-webkit-keyframes nggallery-fadeout {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes nggallery-fadeout {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@-webkit-keyframes nggallery-fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes nggallery-fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.gallery {
  height: 100%;
  width: 100%;
  text-align: center;
  padding: 15px;
  padding-bottom: 30px;
}

.helper {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.gallery-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  vertical-align: middle;
}
.gallery-item {
  text-align: center;
  height: 100%;
  white-space: nowrap;
  margin-top: 0;
  text-align: center;
}
.gallery-item iframe{
  vertical-align: middle;
}
.gallery-item .textName{
  position: absolute;
  bottom: 6px;
  left: 50px;
  right: 50px;
  text-align: center;
}

.nggallery,
.nggallery *,
.nggallery *:before,
.nggallery *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.nggallery {
  position: fixed;
  z-index: 10000;
  top: 5%;
  right: 5%;
  bottom: 5%;
  left: 5%;
  overflow: hidden;
  height: 90%;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}

.nggallery-overlay {
  position: fixed;
  background: rgba(255,255,255, 1);
  top: 5%;
  right: 5%;
  bottom: 5%;
  left: 5%;
  -webkit-backface-visibility: hidden;
  -webkit-animation: nggallery-fadein 0.5s;
  animation: nggallery-fadein 0.5s;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}

.gallery-close-btn {
  position: absolute;
  top: 2%;
  right: 2%;
  /*color:#000;
  opacity: 0.5;*/
}
.gallery-close-btn:hover{
  /*opacity: 1;*/
  /*text-shadow:none;*/
  /*color:#fff;*/
  outline: none;
}
.gallery-close-btn:focus{
  outline: none;
}

.gallery-next-btn {
  right:10px;
  background:url(./sliderNext.png) no-repeat center;;
}

.gallery-prev-btn {
  left:10px;
  background:url(./sliderPrev.png) no-repeat center;
}

.gallery-next-btn, .gallery-prev-btn{
  outline:none;
  text-indent: -9999px;
  z-index: 1100;
  border:none;
  width:63px;
  height:63px;
  display: inline-block;
  position: absolute;
}
.gallery-next-btn:hover, 
.gallery-prev-btn:hover,
.gallery-next-btn:focus, 
.gallery-prev-btn:focus{
  outline: none;
}

.gallery-prev-next-container {
  position: absolute;
  top: 50%;
  margin-top: -30px;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
}

.nggallery.nggallery-closing .nggallery-overlay {
  -webkit-backface-visibility: hidden;
  -webkit-animation: nggallery-fadeout 0.5s;
  animation: nggallery-fadeout 0.5s;
}

.nggallery-content {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  -webkit-animation: nggallery-fadein 0.5s;
  animation: nggallery-fadein 0.5s;
}

.nggallery.nggallery-closing .nggallery-content {
  -webkit-backface-visibility: hidden;
  -webkit-animation: nggallery-fadeout 0.5s;
  animation: nggallery-fadeout 0.5s;
}

.nggallery-close:before {
  font-family: 'Helvetica', Arial, sans-serif;
  content: '\00D7';
  cursor: pointer;
}

body.nggallery-open {
  overflow: hidden;
}

/* Animations */

.animate-show.ng-enter,
.animate-show.ng-leave,
.animate-show.ng-move {
  -webkit-transition: 0.2s linear all;
  -moz-transition: 0.2s linear all;
  -o-transition: 0.2s linear all;
  transition: 0.2s linear all;
  position: relative;
}
.animate-show.ng-enter,
.animate-show.ng-leave.ng-leave-active {
  opacity: 0;
}
.animate-show.ng-enter.ng-enter-active,
.animate-show.ng-leave,
.animate-show.ng-move.ng-move-active {
  opacity: 1;
}
.animate-show.ng-move {
  opacity: 0.5;
}
