.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}
.clearfix:after {
  clear: both;
}
.hide-text {
  font-size: 0;
  line-height: 0;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}
.input-block-level {
  display: block;
  width: 100%;
  min-height: 1px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
@-webkit-keyframes h-progress {
  0% {
    width: 0;
  }
}
@-moz-keyframes h-progress {
  0% {
    width: 0;
  }
}
@-ms-keyframes h-progress {
  0% {
    width: 0;
  }
}
@-o-keyframes h-progress {
  0% {
    width: 0;
  }
}
@keyframes h-progress {
  0% {
    width: 0;
  }
}
@-webkit-keyframes v-progress {
  0% {
    height: 0;
  }
}
@-moz-keyframes v-progress {
  0% {
    height: 0;
  }
}
@-ms-keyframes v-progress {
  0% {
    height: 0;
  }
}
@-o-keyframes v-progress {
  0% {
    height: 0;
  }
}
@keyframes v-progress {
  0% {
    height: 0;
  }
}
.fancybox-close {
  background: none!important;
  color: #fff;
  font-size: 22px;
  height: 36px !important;
  line-height: 36px;
  margin: 0 !important;
  padding: 0 !important;
  position: fixed;
  right: 0!important;
  text-align: center !important;
  top: 0!important;
  -webkit-transition: font-size 0.2s ease;
  -moz-transition: font-size 0.2s ease;
  -o-transition: font-size 0.2s ease;
  transition: font-size 0.2s ease;
}
.fancybox-close:before {
  content: '\f057';
  font-family: FontAwesome;
}
.fancybox-close:hover {
  color: #fff;
  font-size: 30px;
}
.fancybox-overlay {
  z-index: 1035;
}
.fancybox-lock .fancybox-overlay {
  min-height: 320px;
  overflow: hidden;
}
.fancybox-prev,
.fancybox-next {
  overflow: hidden;
}
.fancybox-prev span,
.fancybox-next span {
  background: none!important;
  color: #fff;
  margin-top: -50px;
  visibility: visible!important;
  -webkit-transition: font-size 0.2s ease;
  -moz-transition: font-size 0.2s ease;
  -o-transition: font-size 0.2s ease;
  transition: font-size 0.2s ease;
  width: 140px!important;
  height: 140px !important;
}
.fancybox-prev span:before,
.fancybox-next span:before {
  border-left: 2px solid #fff;
  border-top: 2px solid #fff;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  content: '';
  height: 100px;
  left: 0;
  position: absolute;
  top: 0;
  -webkit-transition: border-color 0.3s ease;
  -moz-transition: border-color 0.3s ease;
  -o-transition: border-color 0.3s ease;
  transition: border-color 0.3s ease;
  width: 100px;
}
.fancybox-prev:hover span,
.fancybox-next:hover span {
  color: #fff;
}
.fancybox-prev:hover span:before,
.fancybox-next:hover span:before {
  border-left-color: #666;
  border-top-color: #666;
}
.fancybox-next span {
  text-align: center;
}
.fancybox-prev span:before {
  left: 36px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.fancybox-next span {
  right: 6px;
}
.fancybox-next span:before {
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}
.fancybox-skin {
  background: #191919;
}
.fancybox-image {
  opacity: 0.99;
}
#fancybox-thumbs {
  font-size: 0;
  line-height: 0;
  text-align: center;
  z-index: 100000;
  -webkit-transition: bottom 0.5s ease;
  -moz-transition: bottom 0.5s ease;
  -o-transition: bottom 0.5s ease;
  transition: bottom 0.5s ease;
}
#fancybox-thumbs ul {
  background: #191919;
  display: inline-block;
  font-size: 0;
  line-height: 0;
  top: 0 !important;
  white-space: nowrap;
}
#fancybox-thumbs ul li {
  background: url("data:image/gif;base64, ") no-repeat center;
  border: none !important;
  display: inline-block;
  float: none;
  overflow: hidden;
  padding: 0;
  position: relative;
  -webkit-transition: opacity 0.3s ease;
  -moz-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
#fancybox-thumbs ul li .holder {
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}
#fancybox-thumbs ul li.active {
  opacity: 1;
}
.fancybox-lock body {
  overflow: visible !important;
}
body.mobile #fancybox-thumbs {
  display: none;
}
.fancybox-wrap {
  height: 100% !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  position: fixed!important;
  top: 0 !important;
}
.fancybox-inner,
.fancybox-skin,
.fancybox-outer {
  height: 100% !important;
  position: relative;
  width: 100% !important;
}
.fancybox-outer {
  background: none!important;
}
.fancybox-image {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: contain;
}
.fancybox-image {
  opacity: 0;
  -webkit-transform: scale(1.02);
  -moz-transform: scale(1.02);
  -ms-transform: scale(1.02);
  -o-transform: scale(1.02);
  transform: scale(1.02);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.fancybox-type-image.fancybox-opened {
  z-index: 8040;
}
.fancybox-type-image.fancybox-opened .fancybox-image {
  opacity: 1;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}
.fancybox-nav {
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  width: 56px;
  z-index: 100;
}
.fancybox-nav span {
  visibility: visible;
}
.fancybox-close {
  -webkit-transition: right 0.5s ease;
  -moz-transition: right 0.5s ease;
  -o-transition: right 0.5s ease;
  transition: right 0.5s ease;
}
.fancybox-full #fancybox-thumbs {
  bottom: -100px;
}
.fancybox-full .fancybox-prev {
  left: -100px;
}
.fancybox-full .fancybox-next,
.fancybox-full .fancybox-close {
  right: -100px;
}
