@font-face {
  font-family: 'latolight';
  src: url("../fonts/lato-light-webfont.eot");
  src: url("../fonts/lato-light-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/lato-light-webfont.woff2") format("woff2"), url("../fonts/lato-light-webfont.woff") format("woff"), url("../fonts/lato-light-webfont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

html, body {
  margin: 0;
  padding: 0;
  font: 25px/30px "latolight", serif;
}

#ad {
  position: relative;
  width: 100%;
  height: 520px;
  min-width: 768px;
  max-width: 1600px;
}

.slide {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 520px;
}
.slide .bgr {
  width: 100%;
  height: 520px;
}
.slide .copy {
  position: absolute;
  left: 22px;
  top: 20px;
  color: #fff;
}
.slide.slide-0 {
  display: block;
}
.slide.slide-0 .bgr {
  background: url(../images/bgr1.jpg) no-repeat 100% 50%;
  background-size: cover;
}
.slide.slide-0 .copy {
  width: 420px;
}
.slide.slide-1 .bgr {
  background: url(../images/bgr2.jpg) no-repeat 100% 50%;
  background-size: cover;
}
.slide.slide-1 .copy {
  width: 500px;
}
.slide.slide-2 .bgr {
  background-color: #fe4819;
}
.slide.slide-2 .copy {
  width: 500px;
}

.pattern {
  position: absolute;
  z-index: 150;
  width: 280px;
  height: 208px;
  background: url(../images/pattern2w.png) no-repeat 0 0;
  transform-origin: center center;
  -webkit-transition: all 4s ease-in-out, opacity 4s;
  -moz-transition: all 4s ease-in-out, opacity 4s;
  -o-transition: all 4s ease-in-out, opacity 4s;
  transition: all 4s ease-in-out, opacity 4s;
  left: 230px;
  top: 0;
  -webkit-transform: rotate(-55deg) scale(1);
  -moz-transform: rotate(-55deg) scale(1);
  -ms-transform: rotate(-55deg) scale(1);
  -o-transform: rotate(-55deg) scale(1);
  transform: rotate(-55deg) scale(1);
}

#footer {
  position: absolute;
  z-index: 200;
  top: 473px;
  left: 0;
  right: 0;
  height: 47px;
  background-color: #fff;
}
#footer #logo {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 89px;
  height: 13px;
  background: url(../images/logo.png) no-repeat 0 0;
}
#footer #tagline {
  opacity: 0;
  position: absolute;
  top: 17px;
  right: 117px;
  font-size: 18px;
  line-height: 18px;
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
}

#click-through {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border: 1px solid #000;
  z-index: 300;
}
