.center-vertical {
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.center-horizontal {
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}
.center-vertical-horizontal {
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}
.inline-block {
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: top;
  zoom: 1;
  display: inline;
}
.pie {
  behavior: url('pie.htc');
}
* {
  padding: 0;
  border: 0;
  margin: 0;
  line-height: 1.5;
}
a,
img {
  border: 0;
  text-decoration: none;
}
input {
  outline: none;
}
div#message {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 99999;
}
div#message a#closeMessage {
  display: block;
  position: absolute;
  top: 50%;
  margin-top: -25px;
  right: 50%;
  margin-right: -470px;
  width: 50px;
  height: 50px;
  background-color: #adadad;
  background-image: -moz-linear-gradient(top,#B1B1B1,#a8a8a8);
  background-image: -ms-linear-gradient(top,#B1B1B1,#a8a8a8);
  background-image: -webkit-gradient(linear,0 0,0 100%,from(#B1B1B1),to(#a8a8a8));
  background-image: -webkit-linear-gradient(top,#B1B1B1,#a8a8a8);
  background-image: -o-linear-gradient(top,#B1B1B1,#a8a8a8);
  background-image: linear-gradient(top,#B1B1B1,#a8a8a8);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b1b1b1', endColorstr='#a8a8a8', GradientType=0);
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border: 1px solid #B1B1B1;
  font-family: 'Ubuntu', sans-serif;
  font-size: 30px;
  font-weight: normal;
  font-style: normal;
  color: #ffffff;
  text-align: center;
  line-height: 1.6;
  overflow: hidden;
}
div#message a#closeMessage:hover {
  background-color: #d6171a;
  background-image: -moz-linear-gradient(top,#e32127,#c30806);
  background-image: -ms-linear-gradient(top,#e32127,#c30806);
  background-image: -webkit-gradient(linear,0 0,0 100%,from(#e32127),to(#c30806));
  background-image: -webkit-linear-gradient(top,#e32127,#c30806);
  background-image: -o-linear-gradient(top,#e32127,#c30806);
  background-image: linear-gradient(top,#e32127,#c30806);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e32127', endColorstr='#c30806', GradientType=0);
  border-color: #c30806;
}
div#message div.stripe {
  display: block;
  position: absolute;
  background: #ffffff;
  width: 100%;
  padding: 20px 0;
  height: 100px;
  top: 50%;
  margin-top: -70px;
  left: 0;
}
div#message div.stripe p {
  display: block;
  position: relative;
  text-align: center;
  font-family: 'Ubuntu', sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  color: #525252;
  line-height: 2.2;
  margin: auto;
  max-width: 800px;
}
div#message div.stripe p.error {
  font-family: 'Ubuntu', sans-serif;
  font-size: 25px;
  font-weight: normal;
  font-style: normal;
  color: #e32127;
  text-transform: uppercase;
}
div#message div.stripe p.success {
  font-family: 'Ubuntu', sans-serif;
  font-size: 25px;
  font-weight: normal;
  font-style: normal;
  color: #00ac10;
  text-transform: uppercase;
}
div#message div.stripe p.loading {
  padding-top: 55px;
  margin-top: 8px;
  text-transform: uppercase;
}
div#message div.stripe p.loading .fa {
  width: 50px;
  height: 50px;
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -25px;
  font-size: 55px;
  color: #B1B1B1;
}
.gallery-box {
  display: block;
  position: relative;
  margin-bottom: 100px;
}
.gallery-box .gallery-highlight-box {
  height: 450px;
  display: block;
  position: relative;
  overflow: hidden;
}
.gallery-box .gallery-highlight-box .gallery-highlight {
  height: 450px;
  display: none;
  position: relative;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}
.gallery-box .gallery-highlight-box .gallery-highlight.selected {
  display: block;
}
.gallery-box .gallery-highlight-box .gallery-highlight img,
.gallery-box .gallery-highlight-box .gallery-highlight iframe {
  width: 940px;
  height: 450px;
  display: block;
  position: relative;
}
.gallery-box .gallery-thumbs-box {
  height: 100px;
  display: block;
  position: relative;
  background: #e9e9e9;
  padding-top: 15px;
  padding-bottom: 15px;
}
.gallery-box .gallery-thumbs-box .gallery-thumbs-content {
  width: 800px;
  height: 100px;
  display: block;
  position: relative;
  margin: auto;
  overflow: hidden;
}
.gallery-box .gallery-thumbs-box .gallery-thumbs-content .gallery-thumb {
  width: 160px;
  height: 100px;
  display: block;
  position: relative;
  overflow: hidden;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
  float: left;
}
.gallery-box .gallery-thumbs-box .gallery-thumbs-content .gallery-thumb .gallery-image,
.gallery-box .gallery-thumbs-box .gallery-thumbs-content .gallery-thumb .gallery-video {
  width: 160px;
  height: 100px;
  display: block;
  position: relative;
  overflow: hidden;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}
.gallery-box .gallery-thumbs-box .gallery-thumbs-content .gallery-thumb .gallery-image:after,
.gallery-box .gallery-thumbs-box .gallery-thumbs-content .gallery-thumb .gallery-video:after {
  content: 'shadow';
  width: 160px;
  height: 100px;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
  overflow: hidden;
  opacity: 0;
  z-index: 99;
  text-indent: -9999px;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}
.gallery-box .gallery-thumbs-box .gallery-thumbs-content .gallery-thumb .gallery-image {
  width: 160px;
  height: 100px;
  display: block;
  position: relative;
}
.gallery-box .gallery-thumbs-box .gallery-thumbs-content .gallery-thumb .gallery-image img {
  width: 160px;
  height: 100px;
  display: block;
  position: relative;
  margin: 0;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
  filter: none;
  -webkit-filter: grayscale(0%);
  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
  filter: gray;
  -webkit-filter: grayscale(100%);
  opacity: .5;
}
.gallery-box .gallery-thumbs-box .gallery-thumbs-content .gallery-thumb .gallery-video .fa {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  z-index: 99;
  text-align: center;
  font-size: 40px;
  color: #ffffff;
  opacity: .9;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}
.gallery-box .gallery-thumbs-box .gallery-thumbs-content .gallery-thumb .gallery-video img {
  height: 130px;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
  filter: none;
  -webkit-filter: grayscale(0%);
  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
  filter: gray;
  -webkit-filter: grayscale(100%);
  opacity: .5;
}
.gallery-box .gallery-thumbs-box .gallery-thumbs-content .gallery-thumb:hover .gallery-image:after,
.gallery-box .gallery-thumbs-box .gallery-thumbs-content .gallery-thumb:hover .gallery-video:after,
.gallery-box .gallery-thumbs-box .gallery-thumbs-content .gallery-thumb.selected .gallery-image:after,
.gallery-box .gallery-thumbs-box .gallery-thumbs-content .gallery-thumb.selected .gallery-video:after {
  opacity: 1;
}
.gallery-box .gallery-thumbs-box .gallery-thumbs-content .gallery-thumb:hover .gallery-image img,
.gallery-box .gallery-thumbs-box .gallery-thumbs-content .gallery-thumb.selected .gallery-image img {
  filter: none;
  -webkit-filter: grayscale(0%);
  opacity: 1;
}
.gallery-box .gallery-thumbs-box .gallery-thumbs-content .gallery-thumb:hover .gallery-video .fa,
.gallery-box .gallery-thumbs-box .gallery-thumbs-content .gallery-thumb.selected .gallery-video .fa {
  color: #2e3192;
  opacity: .8;
}
.gallery-box .gallery-thumbs-box .gallery-thumbs-content .gallery-thumb:hover .gallery-video img,
.gallery-box .gallery-thumbs-box .gallery-thumbs-content .gallery-thumb.selected .gallery-video img {
  filter: none;
  -webkit-filter: grayscale(0%);
  opacity: 1;
}
.gallery-box .gallery-thumbs-box .gallery-thumbs-content.cycle-slideshow .gallery-thumb {
  float: initial;
}
.gallery-box #galleryPrev,
.gallery-box #galleryNext {
  width: 70px;
  height: 130px;
  display: block;
  position: absolute;
  top: 0;
  text-align: center;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
  cursor: pointer;
}
.gallery-box #galleryPrev .fa,
.gallery-box #galleryNext .fa {
  font-size: 40px;
  display: block;
  position: absolute;
  color: #525252;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}
.gallery-box #galleryPrev:hover .fa,
.gallery-box #galleryNext:hover .fa {
  color: #2e3192;
}
.gallery-box #galleryPrev {
  left: 0;
}
.gallery-box #galleryNext {
  right: 0;
}
