.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}
.clearfix:after {
  clear: both;
}
#customHeaderContent .box.ratio {
  float: left;
  height: 250px;
  width: 100%;
  position: relative;
  /* IE10 Windows Phone 8 Fixes */

}
@media only screen and (min-width: 640px) {
  #customHeaderContent .box.ratio {
    height: auto;
  }
}
@media only screen and (min-width: 960px) {
  #customHeaderContent .box.ratio {
    margin-bottom: 20px;
  }
}
#customHeaderContent .box.ratio .wrapper,
#customHeaderContent .box.ratio .carousel {
  position: absolute;
  background-color: white;
  background-image: url("files/images/desktop/bg.jpg");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: cover;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
@media only screen and (min-width: 640px) {
  #customHeaderContent .box.ratio .wrapper,
  #customHeaderContent .box.ratio .carousel {
    background-position: center top;
  }
}
@media only screen and (min-width: 1280px) {
  #customHeaderContent .box.ratio .wrapper,
  #customHeaderContent .box.ratio .carousel {
    background-image: url("files/images/desktop-wide/bg.jpg");
  }
}
#customHeaderContent .box.ratio .wrapper h1,
#customHeaderContent .box.ratio .carousel h1,
#customHeaderContent .box.ratio .wrapper h2,
#customHeaderContent .box.ratio .carousel h2,
#customHeaderContent .box.ratio .wrapper h3,
#customHeaderContent .box.ratio .carousel h3,
#customHeaderContent .box.ratio .wrapper a,
#customHeaderContent .box.ratio .carousel a,
#customHeaderContent .box.ratio .wrapper p,
#customHeaderContent .box.ratio .carousel p,
#customHeaderContent .box.ratio .wrapper span,
#customHeaderContent .box.ratio .carousel span {
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  font-family: "omnes-pro", Arial, sans-serif;
}
#customHeaderContent .box.ratio .wrapper p,
#customHeaderContent .box.ratio .carousel p {
  font-size: 13px;
  line-height: 20px;
  color: white;
  margin-bottom: 0;
}
#customHeaderContent .box.ratio .wrapper h1,
#customHeaderContent .box.ratio .carousel h1,
#customHeaderContent .box.ratio .wrapper h2,
#customHeaderContent .box.ratio .carousel h2,
#customHeaderContent .box.ratio .wrapper h3,
#customHeaderContent .box.ratio .carousel h3 {
  font-size: 28px;
  line-height: 28px;
  font-weight: 600;
  margin-bottom: 10px;
  margin-left: 0;
  color: white;
}
#customHeaderContent .box.ratio .wrapper a,
#customHeaderContent .box.ratio .carousel a {
  font-weight: 600;
  font-style: normal;
  color: white;
}
#customHeaderContent .box.ratio .wrapper span,
#customHeaderContent .box.ratio .carousel span {
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 0;
  left: 0;
  color: white;
  font-size: 24px;
  line-height: 24px;
  font-weight: 500;
  font-style: italic;
  padding: 35px 15px 15px 35px;
  border-bottom: 1px solid white;
}
@media only screen and (max-width: 640px) {
  #customHeaderContent .box.ratio .wrapper span,
  #customHeaderContent .box.ratio .carousel span {
    font-size: 18px;
    line-height: 18px;
    padding: 25px 10px 10px 25px;
  }
}
@media only screen and (min-width: 640px) {
  #customHeaderContent .box.ratio .wrapper p,
  #customHeaderContent .box.ratio .carousel p {
    font-size: 18px;
    line-height: 24px;
  }
  #customHeaderContent .box.ratio .wrapper h1,
  #customHeaderContent .box.ratio .carousel h1,
  #customHeaderContent .box.ratio .wrapper h2,
  #customHeaderContent .box.ratio .carousel h2,
  #customHeaderContent .box.ratio .wrapper h3,
  #customHeaderContent .box.ratio .carousel h3 {
    font-size: 36px;
    line-height: 36px;
  }
}
@media only screen and (min-width: 1280px) {
  #customHeaderContent .box.ratio .wrapper p,
  #customHeaderContent .box.ratio .carousel p {
    font-size: 24px;
    line-height: 30px;
  }
  #customHeaderContent .box.ratio .wrapper h1,
  #customHeaderContent .box.ratio .carousel h1,
  #customHeaderContent .box.ratio .wrapper h2,
  #customHeaderContent .box.ratio .carousel h2,
  #customHeaderContent .box.ratio .wrapper h3,
  #customHeaderContent .box.ratio .carousel h3 {
    font-size: 48px;
    line-height: 48px;
  }
}
#customHeaderContent .box.ratio .wrapper .content,
#customHeaderContent .box.ratio .carousel .content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 90%;
}
@media only screen and (min-width: 640px) {
  #customHeaderContent .box.ratio .wrapper .content,
  #customHeaderContent .box.ratio .carousel .content {
    width: 500px;
    bottom: 40px;
    left: 40px;
  }
}
@media only screen and (min-width: 1280px) {
  #customHeaderContent .box.ratio .wrapper .content,
  #customHeaderContent .box.ratio .carousel .content {
    width: 550px;
    bottom: 50px;
    left: 50px;
  }
}
#customHeaderContent .box.ratio .wrapper:before,
#customHeaderContent .box.ratio .swiper-slide:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-size: cover;
}
#customHeaderContent .box.ratio .carousel-container {
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;
  z-index: 1;
  height: 100%;
}
#customHeaderContent .box.ratio .swiper-wrapper {
  position: relative;
  list-style-type: none;
  width: 100%;
  height: 100%;
  -webkit-transition-property: -webkit-transform, left, top;
  -webkit-transition-duration: 0s;
  -webkit-transform: translate3d(0px, 0, 0);
  -webkit-transition-timing-function: ease;
  -moz-transition-property: -moz-transform, left, top;
  -moz-transition-duration: 0s;
  -moz-transform: translate3d(0px, 0, 0);
  -moz-transition-timing-function: ease;
  -o-transition-property: -o-transform, left, top;
  -o-transition-duration: 0s;
  -o-transform: translate3d(0px, 0, 0);
  -o-transition-timing-function: ease;
  -o-transform: translate(0px, 0px);
  -ms-transition-property: -ms-transform, left, top;
  -ms-transition-duration: 0s;
  -ms-transform: translate3d(0px, 0, 0);
  -ms-transition-timing-function: ease;
  transition-property: transform, left, top;
  transition-duration: 0s;
  transform: translate3d(0px, 0, 0);
  transition-timing-function: ease;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}
#customHeaderContent .box.ratio .swiper-free-mode > .swiper-wrapper {
  -webkit-transition-timing-function: ease-out;
  -moz-transition-timing-function: ease-out;
  -ms-transition-timing-function: ease-out;
  -o-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
  margin: 0 auto;
}
#customHeaderContent .box.ratio .swiper-slide {
  position: relative;
  float: left;
  background-color: white;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}
#customHeaderContent .box.ratio .swiper-wp8-horizontal {
  -ms-touch-action: pan-y;
}
#customHeaderContent .box.ratio .swiper-wp8-vertical {
  -ms-touch-action: pan-x;
}
#customHeaderContent .fb-like {
  float: right;
}
@media only screen and (min-width: 640px) {
  #customHeaderContent .box:before {
    content: '';
    display: block;
    margin-top: 100%;
  }
  #customHeaderContent .ratio:before {
    margin-top: 39.0625%;
  }
}
#customHeaderContent .slide1 {
  background-image: url("files/images/desktop/bg.jpg");
}
@media only screen and (min-width: 1280px) {
  #customHeaderContent .slide1 {
    background-image: url("files/images/desktop-wide/bg.jpg");
  }
}
#customHeaderContent .slide2 {
  background-image: url("files/images/desktop/bg_2.jpg");
}
@media only screen and (min-width: 1280px) {
  #customHeaderContent .slide2 {
    background-image: url("files/images/desktop-wide/bg_2.jpg");
  }
}
#customHeaderContent .swiper-pagination {
  display: none;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 50px;
  right: 10px;
  z-index: 20;
  padding: 3px;
  padding-bottom: 0;
  border-radius: 5px;
}
@media only screen and (min-width: 640px) {
  #customHeaderContent .swiper-pagination {
    display: block;
  }
}
#customHeaderContent .swiper-pagination .swiper-pagination-switch {
  display: block;
  width: 70px;
  height: 70px;
  margin-bottom: 3px;
  background-image: url(files/images/desktop/bg.jpg);
  background-size: auto 70px;
  background-position: center center;
  -webkit-opacity: 0.8;
  -moz-opacity: 0.8;
  -o-opacity: 0.8;
  opacity: 0.8;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=@opacity);
  /* IE 8 */
  filter: alpha(opacity=80);
  /* IE 4, 5, 6 and 7 */

  border: 2px solid transparent;
  cursor: pointer;
  border-radius: 2px;
  position: relative;
}
#customHeaderContent .swiper-pagination .swiper-pagination-switch:hover {
  -webkit-opacity: 1;
  -moz-opacity: 1;
  -o-opacity: 1;
  opacity: 1;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=@opacity);
  /* IE 8 */
  filter: alpha(opacity=80);
  /* IE 4, 5, 6 and 7 */

}
#customHeaderContent .swiper-pagination .swiper-pagination-switch + .swiper-pagination-switch {
  background-image: url(files/images/desktop/bg_2.jpg);
}
#customHeaderContent .swiper-pagination .swiper-active-switch {
  border: 2px solid white;
  opacity: 1;
}
#customHeaderContent .swiper-pagination .swiper-active-switch:before {
  content: "";
  display: block;
  position: absolute;
  left: -8px;
  top: 32px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid white;
}
@media only screen and (min-width: 1280px) {
  #customHeaderContent .swiper-pagination {
    top: 80px;
    right: 16px;
    padding: 6px;
    padding-bottom: 0;
    border-radius: 7px;
  }
  #customHeaderContent .swiper-pagination .swiper-pagination-switch {
    width: 120px;
    height: 120px;
    margin-bottom: 6px;
    background-size: auto 120px;
    border-radius: 2px;
  }
  #customHeaderContent .swiper-pagination .swiper-active-switch:before {
    content: "";
    display: block;
    position: absolute;
    left: -11px;
    top: 52px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 11px solid white;
  }
}
