.lightbox {
    cursor: pointer;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: black;
    /* IE Fallback (Solid Colour) */
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAIElEQVQ4T2NkYGDYDMRkA8ZRAxhGw4BhNAyA+WAYpAMAIFgLQfO9BoEAAAAASUVORK5CYII=);
    background: rgba(0, 0, 0, 0.7);
    -webkit-filter: none !important;
    z-index: 9997;
	-webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 1s; /* Firefox < 16 */
    -ms-animation: fadein 1s; /* Internet Explorer */
    -o-animation: fadein 1s; /* Opera < 12.1 */
    animation: fadein 1s;
}


@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.lightbox img {
    display: block;
    position: absolute;
	margin-top: 18px;
   /* border: 5px solid #fff;*/
    box-shadow: 0 0 20px #000;
   /* border-radius: 1px;*/
   -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -ms-transition: all 1s;
    transition: all 1s;
	 z-index:1000;
}



@keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* Firefox < 16 */
@-moz-keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* Internet Explorer */
@-ms-keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* Opera < 12.1 */
@-o-keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
}

body.blurred > * {
    /*-webkit-filter: blur(2px);
	filter:blur(2px);*/
    -webkit-transform: translate3d(0, 0, 0);
	transform:translate3d(0, 0, 0);
}

.lightbox__loading {
    background: url(loading.gif) center center no-repeat;
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    position: absolute;
    top: 50%;
    left: 50%;
}

.lightbox__caption {
    display: none;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    z-index: 9998;
    background: #000;
    background: rgba(0, 0, 0, 0.7);
}

.lightbox__caption p {
    margin: 0 auto;
    max-width: 70%;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    padding: 10px;
    color: #fff;
    font-size: 12px;
    line-height: 18px;
}

.lightbox__button {
    position: absolute;
    z-index: 9999;
    background: no-repeat center center;
    width: 65px;
    height: 100px;
    opacity: 0.4;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    transition: all 0.3s;
}

.lightbox__button:hover
 {
    opacity: 1;
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.lightbox__close {
	z-index:9999999;
    right: 10px;
    top: 10px;
    background-image: url("close.png");
}
.lightbox__close: active  {
   -webkit-animation: fadeout 1s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadeout 1s; /* Firefox < 16 */
    -ms-animation: fadeout 1s; /* Internet Explorer */
    -o-animation: fadeout 1s; /* Opera < 12.1 */
    animation: fadeout 1s;
}

.lightbox__nav {
   display: table-cell;
  vertical-align: middle;
  text-align: center;
  width: 10%;
  height: 100%;
}

.lightbox__nav--next {
    right: 10px;
    background: url("next2.png") no-repeat center center;
}

.lightbox__nav--prev {
    left: 10px;
    background: url("prev2.png") no-repeat center center;
}
@media screen and (max-width: 500px) {

.lightbox__button {
    position: absolute;
    z-index: 9999;
    background: no-repeat center center;
    width: 54px;
    height: 150px;
    opacity: 0.4;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    transition: all 0.3s;
}

.lightbox__button:hover
 {
    opacity: 1;
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.lightbox__close {
	z-index:9999999;
    right: 10px;
    top: -15px;
    background-image: url("close.png");
}

.lightbox__nav {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  width: 10%;
  height: 100%;
}

.lightbox__nav--next {
    right: -15px;
	width:80px;
	top: 20px !important;
    background: url("next1.png") no-repeat center center;
}

.lightbox__nav--prev {
    left: -15px;
	width:80px;
	top: 20px !important;
    background: url("prev.png") no-repeat center center;
	
}
}
 /*
       * Constants:
       *      RADIUS      = 12.5
       *      STROKEWIDTH = 3
       *      ARCSIZE     = 270 degrees (amount of circle the arc takes up)
       *      ARCTIME     = 1333ms (time it takes to expand and contract arc)
       *      ARCSTARTROT = 216 degrees (how much the start location of the arc
       *                                should rotate each time, 216 gives us a
       *                                5 pointed star shape (it's 360/5 * 2).
       *                                For a 7 pointed star, we might do
       *                                360/7 * 3 = 154.286)
       *
       *      SHRINK_TIME = 400ms
       */
 
 .spinner {
	 position: relative;
top: 50%;
transform: translateY(-50%); 
  margin: 0 auto !important;
  text-align: center;
  vertical-align:central;
  align-content:center;
  z-index:999;
  width:70px;
  height:70px;
   background-color: rgba(255,255,255,0.94);
  border-radius: 50% !important;
  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12) !important;
  
 }
 .spinner svg {
	 margin-top:10px;
 
 }
 
 @-webkit-keyframes colors {
  0% {
   stroke: #754fa0;
  }
  20% {
   stroke: #09b7bf;
  }
  40% {
   stroke: #90d36b;
  }
  60% {
   stroke: #f2d40d;
  }
  80% {
   stroke: #fcb12b;
  }
  100% {
   stroke: #ed1b72;
  }
 }
 
 @keyframes colors {
  0% {
   stroke: #754fa0;
  }
  20% {
   stroke: #09b7bf;
  }
  40% {
   stroke: #90d36b;
  }
  60% {
   stroke: #f2d40d;
  }
  80% {
   stroke: #fcb12b;
  }
  100% {
   stroke: #ed1b72;
  }
 }
 #el{
	 -webkit-animation-name: colors;
	 animation-name: colors;
	-ms-animation-name: colors;
	-webkit-animation-duration: 5933ms, 6832ms, 8632ms;
	animation-duration: 5933ms, 6832ms, 8632ms;
	-ms-animation-duration: 1333ms, 5332ms, 5332ms;
	/* ARCTIME, 4*ARCTIME, 4*ARCTIME */
  
	-webkit-animation-iteration-count: infinite, infinite, infinite;
	animation-iteration-count: infinite, infinite, infinite;
	-ms-animation-iteration-count: infinite, infinite, infinite;
	
 }
 