/*!
   light-modal v1.1.0: A new lightweight css modal.
   (c) 2017 
   MIT License
   git+https://github.com/hunzaboy/Light-Modal.git
*/
.light-modal {
  display: none;
  position: fixed;
  background: transparent;
  top: 0;
  bottom: 0;
  left: 0;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
  right: 0;
  z-index: 9000;
  transition: background 1s;
  font-size: 16px;
  visibility: hidden;
}

.light-modal-content {
  /*background: #845ec2;*/
  width: 30vw;
  border-radius: .2em;
  position: relative;
  max-height: calc(100vh - 150px);
  line-height: 1.4;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
}

.light-modal-content a.big{
	cursor: zoom-in;
}

.big-modal{
	width: 0%;
	height: 0%;
	padding: 0;
	margin: 0;
	position: fixed;
	display: block;
	opacity: 0;
	top: -50%;
	left: 50%;
	text-align: center;
	z-index: 999999999999999;
	transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
	-webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
}

.big-modal img{
	max-width: 100%;
	max-height: 100%;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

.big-modal.in{
	display: block;
	opacity: 1;
	cursor: zoom-out;
	width: 95%;
	height: 95%;
	top: 50%;
}

.light-modal-content.scarlet {
  background: #910d09;
  color: #fff;
}
.light-modal-content.scarlet h3{
	color: #fff;
}

.light-modal-content.pine {
  background: #234f1e;
  color: #fff;
}
.light-modal-content.pine h3{
  color: #fff;
}

.light-modal-content.gold {
  background: #daa520;
  color: #000;
}
.light-modal-content.gold h3{
  color: #000;
}

.light-modal-content.beige {
  background: #f5f5dc;
  color: #000;
}
.light-modal-content.beige h3{
  color: #000;
}

.light-modal-content.darkgray {
  background: #333333;
  color: #fff;
}
.light-modal-content.darkgray h3{
  color: #fff;
}

.light-modal-content.midnightblue {
  background: #191970;
  color: #fff;
}
.light-modal-content.midnightblue h3{
  color: #fff;
}

.light-modal-content.skyblue {
  background: #87ceeb;
  color: #444;
}
.light-modal-content.skyblue h3{
  color: #444;
}

.light-modal-content.lightpink {
  background: #ffb6c1;
  color: #444;
}
.light-modal-content.lightpink h3{
  color: #444;
}

.light-modal-content img {
  max-width: 100%;
  border-radius: .2em;
}

.light-modal-content.large-content {
  width: 50vw;
}

.light-modal-header {
  padding: 20px 20px 20px 20px;
  background: rgba(0, 0, 0, 0.2);
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
      justify-content: space-between;
  -ms-flex-align: center;
      align-items: center;
}

.light-modal-heading {
  margin: 0;
  font-size: 1.5em;
}

.light-modal-heading + .light-modal-close-icon {
  position: static;
}

.light-modal-body {
  padding: 20px;
  overflow: auto;
  min-height: 100px;
}

.light-modal-footer {
  padding: 20px 20px 20px 20px;
  background: rgba(0, 0, 0, 0.2);
  text-align: right;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
}

.light-modal-close-icon, .light-modal-close-btn {
  text-decoration: none;
  padding: 5px 10px;
  border-radius: .2em;
  font-size: 1.5em;
  line-height: 1;
  transition: background .2s ease-in-out;
}

.light-modal-close-icon:hover, .light-modal-close-btn:hover {
  background: #ff3c6a;
}

.light-modal-close-icon {
  position: absolute;
  top: -15px;
  right: -15px;
}

.light-modal-close-btn {
  font-size: 1em;
}

.light-modal-content.scarlet .light-modal-close-icon,
.light-modal-content.scarlet .light-modal-close-btn{
    background: #FF6F91;
	color: #fff;
}

.light-modal-content.pine .light-modal-close-icon,
.light-modal-content.pine .light-modal-close-btn{
    background: #84bf9e;
	color: #fff;
}

.light-modal-content.gold .light-modal-close-icon,
.light-modal-content.gold .light-modal-close-btn{
    background: #efdfbb;
	color: #000;
}

.light-modal-content.beige .light-modal-close-icon,
.light-modal-content.beige .light-modal-close-btn{
    background: #8b4513;
	color: #fff;
}

.light-modal-content.darkgray .light-modal-close-icon,
.light-modal-content.darkgray .light-modal-close-btn{
    background: #555555;
	color: #fff;
}

.light-modal-content.midnightblue .light-modal-close-icon,
.light-modal-content.midnightblue .light-modal-close-btn{
    background: #191970;
	color: #fff;
}

.light-modal-content.skyblue .light-modal-close-icon,
.light-modal-content.skyblue .light-modal-close-btn{
    background: #4682b4;
	color: #fff;
}

.light-modal-content.lightpink .light-modal-close-icon,
.light-modal-content.lightpink .light-modal-close-btn{
    background: #db7093;
	color: #fff;
}

.light-modal-content .jmg-16-9-video{
	position: relative;
	padding-bottom: 56.25%; /* Default for 1600x900 videos 16:9 ratio*/
	padding-top: 0px;
	height: 0;
	overflow: hidden;
	display: block;
	width: 100%;
}
.light-modal-content .jmg-16-9-video iframe{
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.light-modal-content .jmg-center{
	text-align: center;
}

.light-modal-caption {
  position: absolute;
  left: 50%;
  -ms-transform: translateX(-50%);
      transform: translateX(-50%);
  top: 100%;
  padding: 10px 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: .2em;
  width: 100%;
  text-align: center;
  margin-top: 5px;
}

.light-modal:target {
  background: rgba(0, 0, 0, 0.5);
  display: -ms-flexbox;
  display: flex;
  visibility: visible;
}

.light-modal-navigation .navigation-next,
.light-modal-navigation .navigation-prev {
  width: 32px;
  height: 32px;
  border-color: #fff;
  transition: border-color .2s;
}

.light-modal-navigation .navigation-next:hover,
.light-modal-navigation .navigation-prev:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

.light-modal-navigation .navigation-next {
  position: absolute;
  right: -50px;
  top: 50%;
  border-bottom: 1px solid;
  border-left: 1px solid;
  -ms-transform: rotate(-135deg);
      transform: rotate(-135deg);
}

.light-modal-navigation .navigation-prev {
  position: absolute;
  left: -50px;
  top: 50%;
  border-bottom: 1px solid;
  border-left: 1px solid;
  -ms-transform: rotate(45deg);
      transform: rotate(45deg);
}

@media (max-width: 480px) {
  .light-modal-navigation .navigation-next {
    right: 5px;
  }
  .light-modal-navigation .navigation-prev {
    left: 5px;
  }
}

@keyframes basic {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.basic {
  animation-name: basic;
}

@supports (display: flex) {

}

@media (max-width: 767px) {
	.light-modal {
	  font-size: 14px;
	 }
	.light-modal:target .light-modal-content {
      width: 90vw;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
	.light-modal:target .light-modal-content {
      width: 70vw;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
	.light-modal:target .light-modal-content {
      width: 70vw;
    }
}
@media (min-width: 1200px) {

}

