
body.hidden-scroll {
  overflow: hidden;
}

body.noScroll { /* ...or body.dialogShowing */
  overflow: hidden;
}

/*overlay*/
.sl-overlay {
  overflow: hidden;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border: 5px solid #D9D0CE;
 -webkit-overflow-scrolling: touch;
  background: #C0C0C0;
  background-image:url('../images/innerbackdrop1.png');
  /*opacity: 0.9;*/
  display: none;
  z-index: 1050;
 -webkit-box-shadow: inset 0px 0px 3px 2px rgba(112,117,122,0.50);
 -moz-box-shadow: inset 0px 0px 3px 2px rgba(112,117,122,0.50);
  box-shadow: inset 0px 0px 3px 2px rgba(112,117,122,0.50);
}
/*image counter*/
.sl-counter {
  display: none;
  position: fixed;
  top: 12px;
  left: 17px;
  z-index: 1060;
  color: #fff;
  font-size: 1rem;
  z-index: 10001;
  text-shadow: 1px 1px #2F2F2F;
}



/* close button */
.sl-close {
  display: none;
  position: fixed;
  right: 8px;
  top: 8px;
  z-index: 10001;
  height: 26px;
  width: 26px;
  line-height: 26px;
  font-family: Arial, Baskerville, monospace;
  color: #477877;
  font-size: 2rem;
 -webkit-box-shadow: 4px 4px 3px 0px rgba(112,117,122,1);
 -moz-box-shadow: 4px 4px 3px 0px rgba(112,117,122,1);
  box-shadow: 4px 4px 3px 0px rgba(112,117,122,1);
  border: 1px solid #7F7F7F;
}
.sl-close:focus {
  outline: none;
}

/* wrapper base */
.sl-wrapper {
  z-index: 1040;

  }

/* button base */
.sl-wrapper button {
  opacity: 0.7;
  font-size: 28px;
  padding: 0;
  cursor: pointer;
}
.sl-wrapper button:hover {
 opacity: 1;
}

.sl-wrapper button:active {
 opacity: 0.1;
}

/* button navigation */
.sl-wrapper .sl-navigation {
  width: 100%;
  display: none;
  
  }

.sl-wrapper .sl-navigation button {
  position: fixed;
  top: 50%;
  margin-top: -22px;
  height: 44px;
  width: 22px;
  line-height: 44px;
  text-align: center;
  display: block;
  z-index: 10060;
  font-family: Arial, Baskerville, monospace;
  color: #eee;
  border: 0 none;
  background: transparent;
  text-shadow: 2px 2px 4px #222;
  }

.sl-wrapper .sl-navigation button.sl-next {
  right: 25px;
  font-size: 2rem;
}

.sl-wrapper .sl-navigation button.sl-prev {
  left: 23px;
  font-size: 2rem;
}

.sl-wrapper .sl-navigation button:focus {
  outline: none;
}

/* nav buttons media querys*/
@media (min-width: 35.5em) {

  .sl-wrapper .sl-navigation button {
    width: 44px;
  }

  .sl-wrapper .sl-navigation button.sl-next {
    right: 25px;
    font-size: 3rem;
  }

  .sl-wrapper .sl-navigation button.sl-prev {
    left: 25px;
    font-size: 3rem;
  }
}

@media (min-width: 50em) {
 
  .sl-wrapper .sl-navigation button {
    width: 44px;
  }
 
  .sl-wrapper .sl-navigation button.sl-next {
    right: 30px;
    font-size: 4rem;
  }
 
  .sl-wrapper .sl-navigation button.sl-prev {
    left: 30px;
    font-size: 4rem;
  }
}

@media (min-width: 75em) {
 
  .sl-wrapper .sl-navigation button {
    width: 44px;
  }
 
  .sl-wrapper .sl-navigation button.sl-next {
    right: 40px;
    font-size: 5rem;
  }
 
  .sl-wrapper .sl-navigation button.sl-prev {
    left: 40px;
    font-size: 5rem;
  }
}

/* Lightbox*/
.sl-wrapper .sl-image {
  position: fixed;
 -ms-touch-action: none;
  touch-action: none;
  z-index: 10000;
  margin: 0 auto;
}

.sl-wrapper .sl-image img {
  margin: 0px 2px 0px 0px;
  padding: 0;
  display: block;
  border: 8px solid #EFEFEF;
 -webkit-box-shadow: 10px 10px 14px -6px rgba(99,79,65,1);
 -moz-box-shadow: 10px 10px 14px -6px rgba(99,79,65,1);
  box-shadow: 10px 10px 14px -6px rgba(99,79,65,1);
  z-index: 10001;
  cursor: ew-resize;
}




/* caption css */
.sl-wrapper .sl-image .sl-caption {
  display: none;
  padding: 10px 10px 10px 20px;
  color: #fff;
  background: rgba(169, 211, 211, 0.5);
  margin: 0px 10px 0px 8px;
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  font: 15px arial, sans-serif;
  text-shadow: 1px 1px #2F2F2F;
}

.sl-wrapper .sl-image .sl-caption.pos-top {
  bottom: auto;
  top: 0;
}

.sl-wrapper .sl-image .sl-caption.pos-outside {
  bottom: auto;
}


/* Loader spinner */
.sl-spinner {
  display: none;
  border: 5px solid #333;
  border-radius: 40px;
  height: 40px;
  left: 50%;
  margin: -20px 0 0 -20px;
  opacity: 0;
  position: fixed;
  top: 50%;
  width: 40px;
  z-index: 1007;
 -webkit-animation: pulsate 1s ease-out infinite;
 -moz-animation: pulsate 1s ease-out infinite;
 -ms-animation: pulsate 1s ease-out infinite;
 -o-animation: pulsate 1s ease-out infinite;
  animation: pulsate 1s ease-out infinite;
}

/* Scroolbar removal is wonky 
.sl-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}*/

@-webkit-keyframes pulsate {
  0% {
    transform: scale(0.1);
    opacity: 0.0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}
@keyframes pulsate {
  0% {
    transform: scale(0.1);
    opacity: 0.0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}
@-moz-keyframes pulsate {
  0% {
    transform: scale(0.1);
    opacity: 0.0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}
@-o-keyframes pulsate {
  0% {
    transform: scale(0.1);
    opacity: 0.0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}
@-ms-keyframes pulsate {
  0% {
    transform: scale(0.1);
    opacity: 0.0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}
