/*	LiteBox v1.1, Copyright 2014, Joe Mottershaw, https://github.com/joemottershaw/
//	=============================================================================== */

/*	Table of Contents
//	==================================================
//		#Default


/*	#Default
//	================================================== */

.litebox-overlay {
  display: none;
  width: 100%;
  min-width: 280px;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

@-webkit-keyframes liteboxLoader {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@-moz-keyframes liteboxLoader {
  0% {
    -moz-transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(360deg);
  }
}

@-ms-keyframes liteboxLoader {
  0% {
    -ms-transform: rotate(0deg);
  }

  100% {
    -ms-transform: rotate(360deg);
  }
}

@-o-keyframes liteboxLoader {
  0% {
    -o-transform: rotate(0deg);
  }

  100% {
    -o-transform: rotate(360deg);
  }
}

@keyframes liteboxLoader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

  {
  position: absolute;
  width: 40px;
  height: 40px;
  left: 20px;
  top: 20px;
  border: 3px solid #111;
  border-right-color: #fff;
  border-radius: 50%;
  -webkit-animation: liteboxLoader 1s linear infinite;
  -moz-animation: liteboxLoader 1s linear infinite;
  -ms-animation: liteboxLoader 1s linear infinite;
  -o-animation: liteboxLoader 1s linear infinite;
  animation: liteboxLoader 1s linear infinite;
}

.litebox-overlay .litebox-close {
  width: 40px;
  height: 40px;
  background: url('../image/litebox-close.png') no-repeat center;
  opacity: .7;
  position: absolute;
  top: 20px;
  right: 20px;
}

.litebox-overlay .litebox-close:hover {
  opacity: 1;
  cursor: pointer;
}

.litebox-overlay .litebox-nav {
  display: block;
  width: 49px;
  height: 49px;
  margin-top: -30px;
  opacity: 1;
  position: absolute;
  top: 50%;
}

.litebox-overlay .litebox-nav:hover {
  background-color: #ef142b;
  cursor: pointer;
}

.litebox-overlay .litebox-prev {
  background: url('../image/litebox-prev.png') no-repeat center;
  left: 15%;
  z-index: 1;
}

.litebox-overlay .litebox-next {
  background: url('../image/litebox-next.png') no-repeat center;
  right: 15%;
  z-index: 1;
}

.litebox-overlay .litebox-container {
  position: absolute;
  top: 10%;
  right: 10%;
  bottom: 10%;
  left: 10%;
  overflow: hidden;
}

.litebox-overlay .litebox-container.litebox-scroll {
  overflow-y: auto;
}

.litebox-overlay img,
.litebox-overlay iframe {
  display: inline-block;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  vertical-align: middle;
  overflow-x: hidden;
}

.litebox-overlay iframe {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 999999;
}

.litebox-overlay .litebox-inline-html {
  width: 100%;
  padding: 20px;
  background: #FFF;
  line-height: normal;
  overflow-x: hidden;
  line-height: normal !important;
  position: absolute;
}

.litebox-overlay .litebox-error {
  width: 100%;
  height: 100%;
  color: #FFF;
  text-align: center;
  line-height: inherit;
}

.litebox-overlay .litebox-error span {
  background: rgba(0, 0, 0, .9);
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  padding: 20px;
  color: #FFF;
  text-shadow: 1px 1px 0 #000;
  line-height: normal;
}