/*!
 * baguetteBox.js
 * @author  feimosi
 * @version %%INJECT_VERSION%%
 * @url https://github.com/feimosi/baguetteBox.js
 */
#baguetteBox-overlay {
  display: none;
  opacity: 0;
  position: fixed;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000000;
  background-color: #222;
  background-color: rgba(36,91,120,0.8);
  transition: opacity .5s ease;
}
#baguetteBox-overlay.visible {
  opacity: 1;
}
#baguetteBox-overlay .full-image {
  display: inline-block;
  position: relative;
  width: 100%;
  height: 95%;
  height: calc(100% - 70px);
  bottom: 0px;
  text-align: center;
  margin-top: 70px;
}
#baguetteBox-overlay .full-image figure {
  display: inline;
  margin: 0;
  height: 100%;
}
#baguetteBox-overlay .full-image img {
  display: inline-block;
  width: auto;
  height: auto;
  max-height: 90%;
  max-width: 90%;
  vertical-align: middle;
  border: 1px #000 solid;
  cursor: pointer;
}
#baguetteBox-overlay .full-image figcaption {
  display: block;
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  line-height: 1.8;
  white-space: normal;
  color: #000;
  background-color: rgba(255,255,255, 0.9);
}
#baguetteBox-overlay .full-image figcaption div {
  margin: 10px;
}
#baguetteBox-overlay .full-image:before {
  content: "";
  display: inline-block;
  height: 50%;
  width: 1px;
  margin-right: -1px;
}

#baguetteBox-slider {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  white-space: nowrap;
  transition: left .4s ease, transform .4s ease;
}
#baguetteBox-slider.bounce-from-right {
  animation: bounceFromRight .4s ease-out;
}
#baguetteBox-slider.bounce-from-left {
  animation: bounceFromLeft .4s ease-out;
}

@keyframes bounceFromRight {
  0% {
    margin-left: 0;
  }
  50% {
    margin-left: -30px;
  }
  100% {
    margin-left: 0;
  }
}
@keyframes bounceFromLeft {
  0% {
    margin-left: 0;
  }
  50% {
    margin-left: 30px;
  }
  100% {
    margin-left: 0;
  }
}
.baguetteBox-button#next-button, .baguetteBox-button#previous-button {
  top: 50%;
  top: calc(50% - 30px);
  width: 5%;
  height: 100px;
  max-width: 100px;
  min-width: 45px;
  background-color: transparent;
}

.baguetteBox-button {
  position: absolute;
  cursor: pointer;
  outline: none;
  padding: 0;
  margin: 0;
  border: 0;
  background-color: transparent;
  background-color: transparent;
  color: #e4154b;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.baguetteBox-button:hover {
  transition: none;
}
.baguetteBox-button#next-button:hover, .baguetteBox-button#previous-button:hover, .baguetteBox-button#download-button:hover {
  background-color: rgba(0,0,0,0.8);
}
.baguetteBox-button#next-button {
  right: 0;
}
.baguetteBox-button#previous-button {
  left: 0;
}
.baguetteBox-button#close-button {
  top: 20px;
  right: 2%;
  right: calc(2% + 6px);
  padding: 10px;
  text-align: center;
  transform: background-color 0.3 ease;
}

.baguetteBox-button#close-button:hover {
  background-color: #000;
  transform: none;
}

.baguetteBox-button#close-button svg line {
  transform: stroke 0.3s ease;
}
.baguetteBox-button#close-button:hover svg line {
  stroke: #fff;
  transform: none;
}
.baguetteBox-button#download-button {
  top: 20px;
  right: 4%;
  right: calc(2% + 60px);

  padding: 10px;
  
  background-color: transparent;
  color: #ffffff;
  vertical-align: middle;
  font-size: 20px;
  color: #000;
}
.baguetteBox-button#download-button:hover {
  background-color: #000;
  color: #fff;
}
.baguetteBox-button#download-button svg path{
  stroke: #000;
  transition: stroke 0.3s ease;
}
.baguetteBox-button#next-button svg polyline,
.baguetteBox-button#previous-button svg polyline {
  stroke: #000;
  transition: stroke 0.3s ease;
}

.baguetteBox-button#download-button:hover svg path{
  stroke: #fff ;
  transition: none;
}

.baguetteBox-button#next-button:hover svg polyline,
.baguetteBox-button#previous-button:hover svg polyline {
  stroke: #fff ;
  transition: none;
}
.baguetteBox-button#download-button span {
  display: inline-block;
  margin-right: 5px;
  position: relative;
  top: -7px;
  font-weight: 300;
}

/*
    Preloader
    Borrowed from http://tobiasahlin.com/spinkit/
*/
.baguetteBox-spinner {
  width: 40px;
  height: 40px;
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -20px;
  margin-left: -20px;
}

.baguetteBox-double-bounce1,
.baguetteBox-double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #fff;
  opacity: .6;
  position: absolute;
  top: 0;
  left: 0;
  animation: bounce 2s infinite ease-in-out;
}

.baguetteBox-double-bounce2 {
  animation-delay: -1s;
}

body.baguetteBox-open {
  overflow: hidden;
}

@keyframes bounce {
  0%, 100% {
    transform: scale(0);
  }
  50% {
    transform: scale(1);
  }
}

