/* Featherlight */

html.with-featherlight {
  overflow: hidden;
}

.featherlight {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2147483647;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  background: #fff;
}

.featherlight:last-of-type {
  background: #fff;
}

.featherlight:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.featherlight .featherlight-content {
  position: relative;
  text-align: left;
  vertical-align: middle;
  display: inline-block;

  overflow: auto;
  padding: 0;
  border-bottom: 0 solid transparent;

  margin-left: 0%;
  margin-right: 0%;
  max-height: 100%;

  background: #fff;
  cursor: auto;

  white-space: normal;
}

.featherlight .featherlight-inner {
  display: block;
}

.featherlight script.featherlight-inner,
.featherlight link.featherlight-inner,
.featherlight style.featherlight-inner {
  display: none;
}

.featherlight .featherlight-close-icon {
  position: absolute;
  z-index: 9999;
  top: 34px;
  right: 34px;

  font-size: 0;
  width: 40px;
  height: 40px;
  background-color: transparent;
  background-image: url("../img/featherlight_close.svg");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  cursor: pointer;
  border: none;
  padding: 0;
  opacity: 0.8;
}

/* @media only screen and (max-width: 572px) {
  .featherlight .featherlight-close-icon {
	background: none !important;
  }
} */

.featherlight .featherlight-close-icon::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.featherlight .featherlight-image {
  /* styling */
  width: 100%;
}

.featherlight-iframe .featherlight-content {
  border-bottom: 0;
  padding: 0;
  -webkit-overflow-scrolling: touch;
}

.featherlight iframe {
  border: none;
}

.featherlight * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

@media only screen and (max-width: 1024px) {
  .featherlight .featherlight-content {
    margin-left: 0;
    margin-right: 0;
    max-height: 98%;

    padding: 10px 10px 0;
    border-bottom: 10px solid transparent;
  }
  /* .featherlight .featherlight-close-icon {
	position: absolute;
	top: 0px;
	right: 0px;
	font-size: 20px;
  } */
}

@media print {
  html.with-featherlight > * > :not(.featherlight) {
    display: none;
  }
}

/* ends */

/* Featherlight Gallery */

/**
 * Featherlight Gallery – an extension for the ultra slim jQuery lightbox
 * Version 1.7.13 - http://noelboss.github.io/featherlight/
 *
 * Copyright 2018, Noël Raoul Bossart (http://www.noelboss.com)
 * MIT Licensed.
**/
.featherlight-next,
.featherlight-previous {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 50%;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* background: rgba(0, 0, 0, 0); */
}
.featherlight-previous {
  left: 0;
  right: 50%;
}
/* .featherlight-next:hover,
.featherlight-previous:hover {
  background: rgba(255, 255, 255, 0.25);
} */
.featherlight-next span,
.featherlight-previous span {
  display: none;
  position: absolute;
  top: 50%;
  left: 5%;
  width: 40px;
  height: 40px;
  font-size: 0;
  margin-top: -20px;
  background-image: url("../img/featherlight_left.svg");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  /* -webkit-filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.4));
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.4));
  opacity: 0.5; */
}
.featherlight-next span {
  right: 5%;
  left: auto;
  background-image: url("../img/featherlight_right.svg");
}
.featherlight-next:hover span,
.featherlight-previous:hover span {
  display: inline-block;
}
.featherlight-first-slide.featherlight-last-slide .featherlight-next,
.featherlight-first-slide.featherlight-last-slide .featherlight-previous,
.featherlight-loading .featherlight-next,
.featherlight-loading .featherlight-previous,
.featherlight-swipe-aware .featherlight-next,
.featherlight-swipe-aware .featherlight-previous {
  display: none;
}

@media only screen and (max-device-width: 1024px) {
  .featherlight-next:hover,
  .featherlight-previous:hover {
    background: 0 0;
  }
  .featherlight-next span,
  .featherlight-previous span {
    display: block;
  }
}
@media only screen and (max-width: 1024px) {
  .featherlight-next,
  .featherlight-previous {
    top: 10px;
    right: 10px;
    left: 85%;
  }
  .featherlight-previous {
    left: 10px;
    right: 85%;
  }
  .featherlight-next span,
  .featherlight-previous span {
    margin-top: -30px;
    font-size: 40px;
  }
}

@media only screen and (max-device-width: 1024px) {
  .featherlight-next:hover,
  .featherlight-previous:hover {
    background: none;
  }
  .featherlight-next span,
  .featherlight-previous span {
    display: block;
  }
}

@media only screen and (max-width: 1024px) {
  .featherlight-next,
  .featherlight-previous {
    top: 10px;
    right: 10px;
    left: 85%;
  }

  .featherlight-previous {
    left: 10px;
    right: 85%;
  }

  .featherlight-next span,
  .featherlight-previous span {
    margin-top: -30px;
    font-size: 20px;
  }
}

/* end Featherlight */
