html, body {
  height: 100%;
}

html, body, #content-wrapper {
  position: relative;
  width: 100%;
  margin: 0px;
  min-width: 1024px;
}

body {
  margin: 0px;
  padding: 0px;
  
  font-family: sans-serif;
  
  overflow-y: scroll;
}

a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

#splash {
  background-image: url(../images/swfr.png);
  background-color: #F3F3F3;
  background-size: 270px;
  background-repeat: repeat;
}

#splash.fade {
  -webkit-animation: fade 4s forwards;
     -moz-animation: fade 4s forwards;
      -ms-animation: fade 4s forwards;
       -o-animation: fade 4s forwards;
          animation: fade 4s forwards;
}

#splash .center div {
  position: relative;
  width: 322px;
  
  background-position: 50% 50%;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

#splash-colors {
  height: 300px;

  background-image: url(../images/colors.png);
  
  opacity: 1;
} 

.fade #splash-colors {
  -webkit-animation: bump 3s, fade 3s forwards;
     -moz-animation: bump 3s, fade 3s forwards;
      -ms-animation: bump 3s, fade 3s forwards;
       -o-animation: bump 3s, fade 3s forwards;
          animation: bump 3s, fade 3s forwards;
}

.fade #colors-contour, .fade #splash-logo, .fade #splash-link {
  -webkit-animation: fade 3s forwards;
     -moz-animation: fade 3s forwards;
      -ms-animation: fade 3s forwards;
       -o-animation: fade 3s forwards;
          animation: fade 3s forwards;
}

#colors-contour {
  height: 58px;
  
  background-image: url(../images/contour.png);
}

#splash-logo {
  height: 140px;
  top: -35px;

  background-image: url(../images/logo_hd.png);
}

#splash-link {
  top: -25px;
  text-align: center;
}

.color #splash-link {
  color: #FFF;
  text-shadow: 0px 0px 6px #72A213;
  font-size: 45px;
  font-family: sans-serif;
}

#splash-link a {
  text-decoration: underline;
}

#content-wrapper {
  min-height: 100%;
  background-image: url(../images/swfr.png);
  background-color: #F3F3F3;
  background-size: 270px;
  background-repeat: repeat;
  
  -webkit-box-shadow: 0px 5px 25px 0px #000, 0px -1px 0px 0px #EEE inset, 0px -2px 0px 0px #DDD inset;
     -moz-box-shadow: 0px 5px 25px 0px #000, 0px -1px 0px 0px #EEE inset, 0px -2px 0px 0px #DDD inset;
      -ms-box-shadow: 0px 5px 25px 0px #000, 0px -1px 0px 0px #EEE inset, 0px -2px 0px 0px #DDD inset;
       -o-box-shadow: 0px 5px 25px 0px #000, 0px -1px 0px 0px #EEE inset, 0px -2px 0px 0px #DDD inset;
          box-shadow: 0px 5px 25px 0px #000, 0px -1px 0px 0px #EEE inset, 0px -2px 0px 0px #DDD inset;
  
  overflow: hidden;
  z-index: 2;
}

#content-wrapper.play.lightsoff, #content-wrapper.choose.fin {
  background-image: url(../images/swfr_dark.png);
  
  -webkit-transition: background-image 3s 5s;
     -moz-transition: background-image 3s 5s;
      -ms-transition: background-image 3s 5s;
       -o-transition: background-image 3s 5s;
          transition: background-image 3s 5s;
}

#content-wrapper, #content-wrapper.play.lightsoff.immediat {
  -webkit-transition: background-image 1s;
     -moz-transition: background-image 1s;
      -ms-transition: background-image 1s;
       -o-transition: background-image 1s;
          transition: background-image 1s;
}

.slow #content-wrapper {
  -webkit-transition: none !important;
     -moz-transition: none !important;
      -ms-transition: none !important;
       -o-transition: none !important;
          transition: none !important;
}

.center {
  display: table;
  height: 100%;
  margin: 0px auto;
}

.play ~ #footer-spacer {
  height: 0px;
  
  -webkit-transition: height 1s 1s;
     -moz-transition: height 1s 1s;
      -ms-transition: height 1s 1s;
       -o-transition: height 1s 1s;
          transition: height 1s 1s;
}

#footer-spacer {
  position: relative;
  width: 100%;
  height: 200px;
  
  -webkit-transition: height 1s;
     -moz-transition: height 1s;
      -ms-transition: height 1s;
       -o-transition: height 1s;
          transition: height 1s;
  
  z-index: 0;
}

footer {
  position: fixed;
  display: block;
  height: 140px;
  min-width: 964px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  padding: 30px;
  background-color: #444;
  
  color: #888;
  font-family: sans-serif;
  font-size: 14px;
  text-shadow: 0px 0px 10px #000;
  
  background-image: url(../images/bg_trans.png);
  
  z-index: 1;
}

footer > div {
  height: 100%;
  width: 44%;
  padding: 0 3%;

  -webkit-box-shadow: 1px 0px 0px 0px #242424, 2px 0px 0px 0px #5B5B5B;
     -moz-box-shadow: 1px 0px 0px 0px #242424, 2px 0px 0px 0px #5B5B5B;
      -ms-box-shadow: 1px 0px 0px 0px #242424, 2px 0px 0px 0px #5B5B5B;
       -o-box-shadow: 1px 0px 0px 0px #242424, 2px 0px 0px 0px #5B5B5B;
          box-shadow: 1px 0px 0px 0px #242424, 2px 0px 0px 0px #5B5B5B;
          
  float: left;
}

footer > div + div {
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
      -ms-box-shadow: none;
       -o-box-shadow: none;
          box-shadow: none;
}

/*______________ left side ______________*/

.copyright, .legals {
  margin-top: 67px;
  text-align: left;
  
  float: left;
}

.legals {
  margin-top: 10px;
  
  clear: left;
}

.initiator {
  margin-top: 35px;
  text-align: right;
  
  float: right;
}

#logo {
  top: 8px;
  left: 4px;
}

/*______________ right side ______________*/

.by {
  font-weight: bold;
}

.author {
  margin-top: 25px;
  height: 32px;
}

.author.music {
  margin-top: 5px;
  height: 10px;
}

.author > div, .initiator > div {
  position: relative;
  display: inline;
}

.initiator a {
  position: relative;
}

footer .name {
  -webkit-transition: color .5s .6s, text-shadow 1s .9s;
     -moz-transition: color .5s .6s, text-shadow 1s .9s;
      -ms-transition: color .5s .6s, text-shadow 1s .9s;
       -o-transition: color .5s .6s, text-shadow 1s .9s;
          transition: color .5s .6s, text-shadow 1s .9s;
}

footer:hover .name {
  color: #BBB;
}

/*__________________________________________________________________________________________________*/
/*______________________________________Messages____________________________________________________*/
/*__________________________________________________________________________________________________*/

#toast_holder {
  position: fixed;
  bottom: 25%;
  width: 100%;

          transition: height .4s .6s;
  -webkit-transition: height .4s .6s;
     -moz-transition: height .4s .6s;
      -ms-transition: height .4s .6s;
       -o-transition: height .4s .6s;
  
  overflow: hidden;
  z-index: 1000;
  pointer-events: none;
}

#toast_holder.show {
          transition: none;
  -webkit-transition: none;
     -moz-transition: none;
      -ms-transition: none;
       -o-transition: none;
}

#toast_holder > div {
  position: relative;
  display: table;
  max-width: 40%;
  min-width: 275px;
  margin: 1.5% auto;
  padding: 10px;
  padding-left: 20px;
  padding-right: 20px;
  background-color: rgba(0, 0, 0, 0.66);
  color: #F5F5F5;
  font-size: 20px;
  font-family: sans-serif;
  text-shadow: 0px 0px 10px rgba(255, 255, 255, 1);
  border-radius: 3px;
  text-align: center;
  
          box-shadow: 0px 0px 25px -3px #000;
  -webkit-box-shadow: 0px 0px 25px -3px #000;
     -moz-box-shadow: 0px 0px 25px -3px #000;
      -ms-box-shadow: 0px 0px 25px -3px #000;
       -o-box-shadow: 0px 0px 25px -3px #000;

          transition: opacity .2s, margin .4s .2s,                        transform .2s;
  -webkit-transition: opacity .2s, margin .4s .2s,                -webkit-transform .2s;
     -moz-transition: opacity .2s, margin .4s .2s, transform .2s,    -moz-transform .2s;
      -ms-transition: opacity .2s, margin .4s .2s, transform .2s,     -ms-transform .2s;
       -o-transition: opacity .2s, margin .4s .2s, transform .2s,      -o-transform .2s;
  
  -webkit-transform: scale(.1);
     -moz-transform: scale(.1);   
      -ms-transform: scale(.1);
       -o-transform: scale(.1);
          transform: scale(.1);
       
  opacity: 0;
}

#toast_holder > div.show {
          transition: opacity .5s .1s,                            transform .1s .2s;
  -webkit-transition: opacity .5s .1s,                    -webkit-transform .1s .2s;
     -moz-transition: opacity .5s .1s, transform .2s .1s,    -moz-transform .1s .2s;
      -ms-transition: opacity .5s .1s, transform .2s .1s,     -ms-transform .1s .2s;
       -o-transition: opacity .5s .1s, transform .2s .1s,      -o-transform .1s .2s;
  
  -webkit-transform: scale(1);
     -moz-transform: scale(1);   
      -ms-transform: scale(1);
       -o-transform: scale(1);
          transform: scale(1);
       
  opacity: 1;
}

#toast_holder > div > div {
  display: table;
}

/* mozilla firefox target only fix */
@-moz-document url-prefix() {
    #toast_holder > div > div {
        display: inline;
    }
}

#toast_holder button {
  float: none;
}

#toast_holder a {
  float: right;
  display: table;
  margin: -8px;
  margin-left: 15px;
  margin-right: -15px;
  text-decoration: none;
  color: #969696;
  height: 18px;
  line-height: 18px;
  overflow: hidden;
  padding: 0 1px;
  transition: color 0.2s ease 0s;
}

@-webkit-keyframes bump {
  0%   { height: 300px; }
  76%  { height: 300px; }
  80%  { height: 500px; }
  95%  { height:   0px; }
  100% { height:   0px; }
}
@-moz-keyframes bump {
  0%   { height: 300px; }
  75%  { height: 300px; }
  80%  { height: 380px; }
  95%  { height:   0px; }
  100% { height:   0px; }
}
@-ms-keyframes bump {
  0%   { height: 300px; }
  75%  { height: 300px; }
  80%  { height: 380px; }
  95%  { height:   0px; }
  100% { height:   0px; }
}
@-o-keyframes bump {
  0%   { height: 300px; }
  75%  { height: 300px; }
  80%  { height: 380px; }
  95%  { height:   0px; }
  100% { height:   0px; }
}
@keyframes bump {
  0%   { height: 300px; }
  75%  { height: 300px; }
  80%  { height: 380px; }
  95%  { height:   0px; }
  100% { height:   0px; }
}

@-webkit-keyframes fade {
  0%   { opacity: 1; }
  84%  { opacity: 1; }
  94%  { opacity: 0; }
  100% { opacity: 0; }
}
@-moz-keyframes fade {
  0%   { opacity: 1; }
  84%  { opacity: 1; }
  94%  { opacity: 0; }
  100% { opacity: 0; }
}
@-ms-keyframes fade {
  0%   { opacity: 1; }
  84%  { opacity: 1; }
  94%  { opacity: 0; }
  100% { opacity: 0; }
}
@-o-keyframes fade {
  0%   { opacity: 1; }
  84%  { opacity: 1; }
  94%  { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes fade {
  0%   { opacity: 1; }
  84%  { opacity: 1; }
  94%  { opacity: 0; }
  100% { opacity: 0; }
}
