
/* ======= Wrapper ======= */
.relative-wrapper {
  position: relative;
}
/* Pagination thumbs
========================================================*/
img {
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.inner {
  margin: 33px 0px 35px;
  list-style: none;
  overflow: hidden;
}
.inner > div {
  margin: 0;
  padding: 0;
}
.inner > div .item {
  width: 150px;
  height: auto;
  border: none;
  padding: 0;
  margin: 0 8px 8px 0;
  overflow: hidden;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
}
.inner > div .item a {
  display: block;
}
.inner > div .item a > img {
  -webkit-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  transform: scale(1, 1);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  width: 100%;
}
.inner > div .item a span.magnifier-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #5e96b2;
  z-index: 2;
  display: block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  left: 0px;
  top: 0px;
  font-size: 24px;
  -webkit-transform: scale(0, 0);
  -ms-transform: scale(0, 0);
  transform: scale(0, 0);
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.inner > div .item a span.fa {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 5;
  display: block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  left: 0px;
  top: 0px;
  font-size: 24px;
  color: #FFF;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  opacity: 0;
  filter: alpha(opacity=0);
}
.inner > div .item a span.fa:before {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -12px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-transform: scale(0, 0);
  -ms-transform: scale(0, 0);
  transform: scale(0, 0);
}
.inner > div .item > a:hover,
.inner > div .item.active > a {
  text-decoration: none;
}
.inner > div .item > a:hover span,
.inner > div .item.active > a span {
  text-decoration: none;
}
.inner > div .item > a:hover span.magnifier-overlay,
.inner > div .item.active > a span.magnifier-overlay {
  opacity: 0.4;
  filter: alpha(opacity=40);
  -webkit-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  transform: scale(1, 1);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.inner > div .item > a:hover span.fa,
.inner > div .item.active > a span.fa {
  opacity: 1;
  filter: alpha(opacity=100);
}
.inner > div .item > a:hover span.fa:before,
.inner > div .item.active > a span.fa:before {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-transform: scale(1.2, 1.2);
  -ms-transform: scale(1.2, 1.2);
  transform: scale(1.2, 1.2);
}
/* gallery load spinner
========================================================*/
.content-load-spinner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/gallery-loader-list.gif) #d7d7d7 50% 100px no-repeat;
  z-index: 1000;
  overflow: hidden;
}
/* Inner carousel pagination
========================================================*/
.galleryContainer .inner .item {
  width: auto;
  padding: 0;
  border: none;
}
.carousel-holder {
  overflow: hidden;
  z-index: 1;
  margin: 0 auto;
  padding: 0;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  bottom: -80px;
  position: absolute;
  width: 100%;
  height: 50px;
}
.carousel-holder.show {
  bottom: 25px;
}
.carousel.inner {
  list-style: none;
  overflow: hidden;
  margin: 0 50px;
  position: relative;
}
.carousel.inner > div {
  position: relative;
  height: 100%;
  white-space: nowrap;
  margin: 0 auto;
  padding: 0;
}
.carousel.inner > div > div {
  display: inline-block;
}
.carousel.inner > div .item {
  position: relative;
  overflow: hidden;
  width: auto;
  height: 50px;
  border: none;
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.carousel.inner > div .item a {
  display: block;
}
.carousel.inner > div .item a > img {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  width: auto;
  height: 50px;
}
.carousel.inner > div .item a span.magnifier-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 2;
  display: block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  left: 0px;
  top: 0px;
  font-size: 24px;
  -webkit-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  transform: scale(1, 1);
  opacity: 0;
  filter: alpha(opacity=0);
}
.carousel.inner > div .item a span.fa {
  display: none !important;
}
.carousel.inner > div .item a span.fa:before {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -12px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-transform: scale(0, 0);
  -ms-transform: scale(0, 0);
  transform: scale(0, 0);
}
.carousel.inner > div .item > a:hover,
.carousel.inner > div .item.active > a {
  text-decoration: none;
}
.carousel.inner > div .item > a:hover span.magnifier-overlay,
.carousel.inner > div .item.active > a span.magnifier-overlay {
  -webkit-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  transform: scale(1, 1);
  opacity: 0.6;
  filter: alpha(opacity=60);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.carousel.inner > div .item > a:hover span.fa:before,
.carousel.inner > div .item.active > a span.fa:before {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-transform: scale(1.2, 1.2);
  -ms-transform: scale(1.2, 1.2);
  transform: scale(1.2, 1.2);
}
/* Gallery bg
========================================================*/
body.galleryOpen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
body.galleryOpen .galleryContainer {
  position: absolute;
  z-index: 1000;
  width: 100% !important;
  height: 100% !important;
}
body.galleryOpen #content {
  height: 0 !important;
  overflow: hidden;
}
.galleryContainer {
  position: relative;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 0 !important;
  overflow: hidden;
  /*.perspective(1000px);*/
}
.galleryContainer.animationDisable {
  -webkit-transition: none;
  transition: none;
}
.galleryContainer.animationDisable * {
  -webkit-transition: none;
  transition: none;
}
.galleryHolder {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0 !important;
  background: #191919;
}
.imageHolder {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 0;
  cursor: default;
  -webkit-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
}
.imageHolder .frontImg,
.imageHolder .backImg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  -webkit-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
}
.imageHolder .frontImg,
.imageHolder .backImg {
  z-index: 2;
  /*.rotateX(0deg);*/
  -webkit-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  transform: scale(1, 1);
}
.imageHolder .backImg {
  /*.rotateX(-180deg);*/
  -webkit-transform: scale(2, 2);
  -ms-transform: scale(2, 2);
  transform: scale(2, 2);
  opacity: 0;
  filter: alpha(opacity=0);
}
.imageHolder.scale {
  -webkit-transform: scale(0.75, );
  -ms-transform: scale(0.75, );
  transform: scale(0.75, );
}
.imageHolder.flip {
  -webkit-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
  /*.rotateX(180deg);*/
}
.imageHolder.flip .frontImg {
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transform: scale(2, 2);
  -ms-transform: scale(2, 2);
  transform: scale(2, 2);
}
.imageHolder.flip .backImg {
  opacity: 100;
  filter: alpha(opacity=10000);
  /*.rotateX(-180deg);*/
  -webkit-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  transform: scale(1, 1);
}
.imageHolder.ie9 {
  -webkit-transform: scale(1, 1) !important;
  -ms-transform: scale(1, 1) !important;
  transform: scale(1, 1) !important;
}
.imageHolder.ie9 .frontImg,
.imageHolder.ie9 .backImg {
  -webkit-transform: scale(1, 1) !important;
  -ms-transform: scale(1, 1) !important;
  transform: scale(1, 1) !important;
}
.imageHolder.videoInside {
  cursor: pointer;
}
.animation {
  -webkit-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
}
/* Description
========================================================*/
.galleryDescription {
  position: absolute;
  left: -500px;
  right: 0;
  height: 0;
  top: 80px;
  overflow: hidden;
  padding: 0px;
  margin: 0px;
  list-style: none;
  z-index: 10;
  width: 500px;
  -webkit-transition: left 0.3s ease;
  transition: left 0.3s ease;
}
.galleryDescription.show {
  left: 0;
}
.galleryDescription ul li {
  position: absolute;
  bottom: -200%;
  width: 100%;
  height: auto;
  background: rgba(0, 0, 0, 0.5);
  padding: 15px 20px;
  right: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: left 0.2s ease-in-out;
  transition: left 0.2s ease-in-out;
}
.galleryDescription ul li.active {
  display: block;
  bottom: 0;
  -webkit-transition: left 0.7s ease-in-out;
  transition: left 0.7s ease-in-out;
  -webkit-transition-delay: 0.8s;
  transition-delay: 0.8s;
}
.galleryDescription ul li p {
  text-align: left;
  color: white;
  line-height: 1.2em;
  margin: 0px 0px 0px 0px;
}
.galleryDescription ul li p:first-child {
  font-size: 35px;
  line-height: 1em;
  padding-right: 40px;
}
.galleryDescription .description_list {
  width: 500px;
}
@media only screen and (max-width: 768px) {
  .galleryDescription {
    width: 300px;
  }
}
/* Spinner
========================================================*/
.imgSpinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  z-index: 99;
  background: url(../images/gallery-loader.gif) center no-repeat #191919;
  background-size: 30px 30px;
  border-radius: 500px;
  margin: -24px 0 0 -24px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transform: scale(0, 0);
  -ms-transform: scale(0, 0);
  transform: scale(0, 0);
}
.imgSpinner.spinnerShow {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  transform: scale(1, 1);
}
/* ========================================================
                            Buttons
========================================================*/
/* Prev Button
========================================================*/
.prevButton {
  position: absolute;
  display: inline-block !important;
  z-index: 5;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  background: rgba(0, 0, 0, 0.5);
  padding: 1px 12px 1px 8px;
  border-radius: 10px;
  top: 50%;
  margin-top: -30px;
}
.prevButton i {
  position: relative;
  font-size: 60px;
  line-height: 60px;
  color: white;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.prevButton:hover i {
  color: #cccccc;
}
.prevButton {
  left: -50px;
}
.prevButton.showButton {
  left: 10px;
}
@media only screen and (max-width: 480px) {
  .prevButton i {
    font-size: 40px;
    line-height: 40px;
  }
}
.prev {
  position: absolute;
  display: inline-block !important;
  z-index: 5;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  bottom: 10px;
}
.prev i {
  font-size: 30px;
  line-height: 32px;
  position: relative;
  color: white;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.prev:hover i {
  color: #d05252;
}
.prev {
  left: 15px;
}
.prev.hide-button {
  display: none !important;
}
/* Next Button
========================================================*/
.nextButton {
  position: absolute;
  display: inline-block !important;
  z-index: 5;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  background: rgba(0, 0, 0, 0.5);
  padding: 1px 8px 1px 12px;
  border-radius: 10px;
  top: 50%;
  margin-top: -30px;
}
.nextButton i {
  position: relative;
  font-size: 60px;
  line-height: 60px;
  color: white;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.nextButton:hover i {
  color: #cccccc;
}
.nextButton {
  right: -50px;
}
.nextButton.showButton {
  right: 10px;
}
@media only screen and (max-width: 480px) {
  .nextButton i {
    font-size: 40px;
    line-height: 40px;
  }
}
.next {
  position: absolute;
  display: inline-block !important;
  z-index: 5;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  bottom: 10px;
  text-align: right;
}
.next i {
  font-size: 30px;
  line-height: 32px;
  position: relative;
  color: white;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.next:hover i {
  color: #d05252;
}
.next {
  right: 15px;
}
.next.hide-button {
  display: none !important;
}
/* Close Button
========================================================*/
.close-icon {
  background: rgba(0, 0, 0, 0.5);
  /* opacity: 0.5; */
  border-radius: 100%;
  width: 100px;
  height: 100px;
  top: -120px;
  right: -120px;
  position: absolute;
  display: inline-block !important;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  z-index: 100;
}
.close-icon i {
  position: relative;
  font-size: 50px;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.close-icon .fa {
  top: 63px;
  font-size: 20px;
  font-weight: 100;
  color: #ffffff;
  left: 23px;
}
.close-icon:hover {
  text-decoration: none;
}
.close-icon:hover i {
  color: #d05252;
}
.close-icon.showButton {
  top: -54px;
  right: -49px;
}
/* Info Button
========================================================*/
.info-icon {
  background: rgba(0, 0, 0, 0.5);
  /* opacity: 0.5; */
  border-radius: 100%;
  width: 100px;
  height: 100px;
  top: -120px;
  left: -120px;
  position: absolute;
  display: inline-block !important;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  z-index: 100;
  color: #fff;
}
.info-icon.showButton {
  top: -54px;
  left: -49px;
}
.info-icon i {
  position: relative;
  font-size: 50px;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.info-icon .fa {
  top: 63px;
  font-size: 20px;
  font-weight: 100;
  color: #ffffff;
  right: -63px;
}
.info-icon:hover {
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.close-info-icon {
  position: absolute;
  right: 10px;
  top: 10px;
  left: auto;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.close-info-icon i {
  color: #fff !important;
  font-size: 30px;
}
.close-info-icon:hover > i {
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
/* Play Button
========================================================*/
.playButton,
.pauseButton {
  left: 50%;
  top: -100px;
  opacity: 0.6;
  filter: alpha(opacity=60);
}
.playButton.showButton,
.pauseButton.showButton {
  transition-delay: 0.3s;
  top: 50%;
}
.playButton {
  margin: -27px -24px 0 0;
}
.pauseButton {
  margin: -27px -24px 0 0;
}
/* end gallery bg*/
/* 3D mixins
========================================================*/
.flipX {
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  filter: FlipH;
  -ms-filter: "FlipH";
}
.flipY {
  -moz-transform: scaleY(-1);
  -o-transform: scaleY(-1);
  -webkit-transform: scaleY(-1);
  transform: scaleY(-1);
  filter: FlipV;
  -ms-filter: "FlipV";
}
.flipXY {
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  filter: FlipH;
  -ms-filter: "FlipH";
  -moz-transform: scaleY(-1);
  -o-transform: scaleY(-1);
  -webkit-transform: scaleY(-1);
  transform: scaleY(-1);
  filter: FlipV;
  -ms-filter: "FlipV";
}
