/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block; }

body {
  line-height: 1; }

ol, ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after {
  content: '';
  content: none; }

q:before, q:after {
  content: '';
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

@font-face {
  font-family: 'AlfaSlabOneRegular';
  src: url("../fonts/AlfaSlabOne-Regular-OTF-webfont.eot");
  src: url("../fonts/AlfaSlabOne-Regular-OTF-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/AlfaSlabOne-Regular-OTF-webfont.woff") format("woff"), url("../fonts/AlfaSlabOne-Regular-OTF-webfont.ttf") format("truetype"), url("../fonts/AlfaSlabOne-Regular-OTF-webfont.svg#AlfaSlabOneRegular") format("svg");
  font-weight: normal;
  font-style: normal; }

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

body {
  background-image: url("../images/bedge_grunge.png");
  background-repeat: repeat;
  background-size: 588px 375px;
  font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; }
  body a {
    color: #0099dd;
    text-decoration: none; }
    body a:hover {
      text-decoration: underline; }

#wrapper {
  position: relative;
  height: 800px;
/*  background-image: url("../images/bedge_grunge.png");
  background-repeat: repeat;
  background-size: 588px 375px;
  overflow: hidden; */ }

#rsvp {
  position: absolute;
  z-index: 999;
  top: -500px;
  left: 50%;
  width: 500px;
  height: 540px;
  margin-left: -250px;
  background-image: url("../images/fabric_of_squares_gray.png");
  background-position: top left;
  background-repeat: repeat;
  background-size: 410px 410px;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transition: top 0.3s ease-out 0.05s;
  /* Safari and Chrome */
  -moz-transition: top 0.3s ease-out 0.05s;
  /* Firefox 4 */
  -ms-transition: top 0.3s ease-out 0.05s;
  /* IE 10 */
  -o-transition: top 0.3s ease-out 0.05s;
  /* Opera */
  transition: top 0.3s ease-out 0.05s;
  -webkit-box-shadow: -25px 0px 100px rgba(0, 0, 0, 0.4), inset 0px 0px 100px #cccccc;
  -moz-box-shadow: -25px 0px 100px rgba(0, 0, 0, 0.4), inset 0px 0px 100px #cccccc;
  box-shadow: -25px 0px 100px rgba(0, 0, 0, 0.4), inset 0px 0px 100px #cccccc;
  -webkit-border-radius: 0 0 4px 4px;
  -moz-border-radius: 0 0 4px 4px;
  border-radius: 0 0 4px 4px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; }
  #rsvp.open {
    top: 0px; }
  #rsvp #spinner {
    display: none;
    position: absolute;
    left: 50%;
    top: 220px;
    background-color: rgba(0, 0, 0, 0.8);
    width: 60px;
    height: 60px;
    border-radius: 10px;
    margin-left: -30px; }
  #rsvp .openBand {
    display: table-cell;
    position: absolute;
    bottom: 0;
    width: 500px;
    height: 40px;
    cursor: pointer;
    border-top: 1px dashed #cccccc;
    color: #2c2c2c;
    font-size: 14px;
    line-height: 40px;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    text-shadow: 1px 1px 0 white;
    text-decoration: underline;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px; }
  #rsvp .content {
    width: 100%;
    height: 500px;
    padding: 20px 30px;
    text-shadow: 1px 1px 0 white;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box; }
    #rsvp .content h2 {
      padding: 0 0 10px 0;
      color: #2c2c2c;
      font-size: 20px;
      line-height: 30px; }
    #rsvp .content h3 {
      padding: 0 0 10px 0;
      color: #666;
      font-size: 16px;
      line-height: 22px; }
    #rsvp .content .rsvpTitle {
      height: 40px;
      background-image: url("../images/rsvp_retina.png");
      background-size: 115px 30px;
      background-position: 0 0;
      background-repeat: no-repeat; }
    #rsvp .content .step.hidden {
      display: none;
      opacity: 0; }
    #rsvp .content .fieldRow {
      padding: 0 0 15px 0; }
      #rsvp .content .fieldRow .clear {
        clear: both; }
      #rsvp .content .fieldRow label,
      #rsvp .content .fieldRow .fakeLabel {
        display: block;
        color: #666;
        font-size: 16px;
        line-height: 30px; }
        #rsvp .content .fieldRow label.radio,
        #rsvp .content .fieldRow .fakeLabel.radio {
          color: #2c2c2c; }
      #rsvp .content .fieldRow input[type=text] {
        width: 440px;
        padding: 5px 10px;
        font-size: 20px;
        line-height: 30px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
        -o-box-sizing: border-box;
        box-sizing: border-box; }
        #rsvp .content .fieldRow input[type=text].lisaOsaleja {
          float: left;
          width: 215px;
          margin: 10px 0 0 0; }
          #rsvp .content .fieldRow input[type=text].lisaOsaleja:nth-child(odd) {
            margin-right: 10px; }

#container {
  position: absolute;
  top: 60px;
  left: 50%;
  width: 1000px;
  height: 700px;
  margin-left: -500px;
  overflow: visible;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.2); }
  #container .leftBox,
  #container .rightBox {
    position: absolute;
    width: 500px;
    height: 700px;
    overflow: hidden;
    background-color: #fff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box; }
  #container .leftBox {
    top: 0;
    left: 0;
    background-image: url("../images/photos/urmas_retina.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 500px 700px;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
    -webkit-box-shadow: -25px 0px 100px rgba(0, 0, 0, 0.4), inset -20px 0px 100px #999999;
    -moz-box-shadow: -25px 0px 100px rgba(0, 0, 0, 0.4), inset -20px 0px 100px #999999;
    box-shadow: -25px 0px 100px rgba(0, 0, 0, 0.4), inset -20px 0px 100px #999999; }
  #container .rightBox {
    top: 0;
    right: 0;
    background-image: url("../images/fabric_of_squares_gray.png");
    background-position: top left;
    background-repeat: repeat;
    background-size: 410px 410px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
    -webkit-box-shadow: 25px 0px 100px rgba(0, 0, 0, 0.4), inset 10px 0px 100px #999999;
    -moz-box-shadow: 25px 0px 100px rgba(0, 0, 0, 0.4), inset 10px 0px 100px #999999;
    box-shadow: 25px 0px 100px rgba(0, 0, 0, 0.4), inset 10px 0px 100px #999999; }
    #container .rightBox ul#navi {
      width: 471px;
      height: 25px;
      padding: 40px 14px 25px 14px; }
      #container .rightBox ul#navi li {
        float: left;
        height: 25px;
        margin: 0 3px;
        background-image: url("../images/navi_retina.png");
        background-repeat: no-repeat;
        background-size: 500px 50px;
        text-indent: -5000px; }
        #container .rightBox ul#navi li a {
          display: block;
          height: 25px; }
        #container .rightBox ul#navi li.yritus {
          width: 66px;
          background-position: -22px -25px; }
          #container .rightBox ul#navi li.yritus.active {
            background-position: -22px 0; }
        #container .rightBox ul#navi li.asukoht {
          width: 85px;
          background-position: -91px -25px; }
          #container .rightBox ul#navi li.asukoht.active {
            background-position: -91px 0; }
        #container .rightBox ul#navi li.majutus {
          width: 85px;
          background-position: -180px -25px; }
          #container .rightBox ul#navi li.majutus.active {
            background-position: -180px 0; }
        #container .rightBox ul#navi li.kingitus {
          width: 87px;
          background-position: -269px -25px; }
          #container .rightBox ul#navi li.kingitus.active {
            background-position: -269px 0; }
        #container .rightBox ul#navi li.kysimused {
          width: 118px;
          background-position: -360px -25px; }
          #container .rightBox ul#navi li.kysimused.active {
            background-position: -360px 0; }
    #container .rightBox .content {
      width: 499px;
      height: 560px;
      padding: 50px;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      -ms-box-sizing: border-box;
      -o-box-sizing: border-box;
      box-sizing: border-box;
      color: #2c2c2c;
      font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
      font-size: 14px;
      line-height: 19px;
      text-shadow: 1px 1px 0 white; }
      #container .rightBox .content > div {
        display: block;
        opacity: 1;
        -webkit-transition: opacity 0.2s ease-in-out 0.1s;
        /* Safari and Chrome */
        -moz-transition: opacity 0.2s ease-in-out 0.1s;
        /* Firefox 4 */
        -ms-transition: opacity 0.2s ease-in-out 0.1s;
        /* IE 10 */
        -o-transition: opacity 0.2s ease-in-out 0.1s;
        /* Opera */
        transition: opacity 0.2s ease-in-out 0.1s; }
        #container .rightBox .content > div.hidden {
          display: none;
          opacity: 0; }
      #container .rightBox .content p {
        padding: 0 0 20px 0; }
        #container .rightBox .content p:last-child, #container .rightBox .content p.smallPadding {
          padding-bottom: 10px; }
      #container .rightBox .content ul {
        padding: 0 0 20px 0; }
        #container .rightBox .content ul li {
          margin: 0 0 0 30px;
          list-style-type: circle; }
      #container .rightBox .content strong {
        font-weight: bold; }
      #container .rightBox .content #googleMap {
        width: 400px;
        height: 350px;
        padding: 0 0 20px 0; }

@media only screen and (-Webkit-min-device-pixel-ratio: 1.5), only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3 / 2), only screen and (min-device-pixel-ratio: 1.5) {
  body {
    background-image: url("../images/bedge_grunge_retina.png"); }

  #container .leftBox {
    background-image: url("../images/photos/urmas_retina.jpg"); }
  #container .rightBox {
    background-image: url("../images/fabric_of_squares_gray_retina.png"); }
  #container .rightBox #navi li {
    background-image: url("../images/navi_retina.png"); } }
