
@font-face {
    font-family: 'Proxima';
    src: url('../fonts/proximanova-regular-webfont.eot');
    src: url('../fonts/proximanova-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/proximanova-regular-webfont.woff') format('woff'),
         url('../fonts/proximanova-regular-webfont.ttf') format('truetype'),
         url('../fonts/proximanova-regular-webfont.svg#proxima_nova_rgregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Tiempos';
    src: url('../fonts/TiemposWebLF-Regular.eot');
    src: url('../fonts/TiemposWebLF-Regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/TiemposWebLF-Regular.woff') format('woff'),
         url('../fonts/TiemposWebLF-Regular.ttf') format('truetype'),
         url('../fonts/TiemposWebLF-Regular.svg#font') format('svg');
    font-weight: normal;
    font-style: normal;
}
*{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
body{
    min-width: 300px;
    font-size:20px;
    color:#fff;
    font-family: 'Tiempos', 'Times New Roman', 'Times', serif;
}
h1, h2, h3, h4, h5, h6{
  margin:0;
}
h1,h2,h3,h4,h5,h6{
  font-family: 'Proxima', Helvetica, Arial, sans-serif;
}
h2{
  font-size: 14px;
  color: #cccccc;
  margin:0 0 10px;
}
a{
  color:#FFF;
  text-decoration: none;
}
a:hover,
a:focus,
a:active{
  text-decoration: underline;
  color: #FFF;
}
#wrapper{
  position: fixed;
  top:0;
  left:0;
  right:0;
  bottom: 0;
  z-index: 1;
  overflow-y: scroll; /* has to be scroll, not auto */
  -webkit-overflow-scrolling: none !important;
}
#bg{
  position: absolute;
  top:0;
  left:0;
  right:0;
  width:100%;
  height:100%;
}
.image{
  width:100%;
  height:100%;
  position: absolute;
  left:0;
  right:0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#bg1,
#bg3{
  background-image:url(../img/bg2.jpg);
  background-color: #e8e8e8;
}
#bg1{
  top:0;
}
#bg2{
  background-image:url(../img/bg1.jpg);
  background-color: #ededed;
  top:100%;
}
#bg3{
  top:200%;
}
#overlay{
  position: fixed;
  top:50%;
  left:50%;
  width: 300px;
  padding:20px;
  background:rgba(0,0,0,0.95);
  height:430px;
  z-index: 100;
  margin-left: -150px;
  margin-top:-215px;
  display: none;
  opacity: 0;
  -webkit-transition: opacity 0.1s linear;
  -moz-transition: opacity 0.1s linear;
  -o-transition: opacity 0.1s linear;
  -ms-transition: opacity 0.1s linear;
  transition: opacity 0.1s linear;
}
  #overlay p{
    font-size: 16px;
    margin:0 0 40px;
  }
  #overlay .further{
    margin:0 0 90px;
  }
  #overlay .text-small{
    font-size: 12px;
    margin:0;
  }
#overlay.opening{
  display: block;
  opacity: 0;
}
#overlay.open{
  display: block;
  opacity: 1;
}
#closeOverlay{
  position: absolute;
  top:20px;
  right:20px;
  color:#FFF;
  height:10px;
  width:10px;
  line-height: 10px;
  font-size: 18px;
  cursor: pointer;
  text-align: right;
  -webkit-transition: opacity 0.1s linear;
  -moz-transition: opacity 0.1s linear;
  -o-transition: opacity 0.1s linear;
  -ms-transition: opacity 0.1s linear;
  transition: opacity 0.1s linear;
}
  #closeOverlay:hover,
  #closeOverlay:active,
  #closeOverlay:focus{
    opacity: 0.8;
  }
#logo{
  position: fixed;
  top:50%;
  left:50%;
  width:300px;
  height:180px;
  margin-left: -150px;
  margin-top:-90px;
  z-index: 50;
  font-size: 14px;
  text-shadow: 0 0 4px rgba(0,0,0,0.2);
}
  #logo a{
    text-decoration: underline;
    margin-top:50px;
    font-style:italic;
    display: inline-block;
  }
  #logo a:hover,
  #logo a:focus,
  #logo a:active{
    text-decoration: underline;
    color: #FFF;
  }