/*CSS*/

body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('../images/beer_dark.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
}

#preloader{
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  background: rgba(226,226,226,1);
  background: -moz-linear-gradient(top, rgba(226,226,226,1) 0%, rgba(219,219,219,1) 50%, rgba(209,209,209,1) 51%, rgba(254,254,254,1) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(226,226,226,1)), color-stop(50%, rgba(219,219,219,1)), color-stop(51%, rgba(209,209,209,1)), color-stop(100%, rgba(254,254,254,1)));
  background: -webkit-linear-gradient(top, rgba(226,226,226,1) 0%, rgba(219,219,219,1) 50%, rgba(209,209,209,1) 51%, rgba(254,254,254,1) 100%);
  background: -o-linear-gradient(top, rgba(226,226,226,1) 0%, rgba(219,219,219,1) 50%, rgba(209,209,209,1) 51%, rgba(254,254,254,1) 100%);
  background: -ms-linear-gradient(top, rgba(226,226,226,1) 0%, rgba(219,219,219,1) 50%, rgba(209,209,209,1) 51%, rgba(254,254,254,1) 100%);
  background: linear-gradient(to bottom, rgba(226,226,226,1) 0%, rgba(219,219,219,1) 50%, rgba(209,209,209,1) 51%, rgba(254,254,254,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#fefefe', GradientType=0 );
}

#preloader.wait {
  background: rgba(0,0,0,0.7);
}

#preloader div {
  width: 100%;
  height: 100%;
  background-image: url('../images/loading.gif');
  background-position: center center;
  background-repeat: no-repeat;        
}

#header {
  width: 100vw;
  height: 10vh;
  position: relative;
  overflow: hidden;
  transition: all 0.5s;
}

#tasting-logo {
  width: 100%;
  height: 100%;
  text-align: right;
  position: absolute;
  left: 0;
  background-image: url('../images/tasting_logo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

#user-name {
  margin: 1vh 5vw;
  display: block;
  font-size: 1.3em;
  font-family: 'Caveat Brush', cursive;
}

#splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('../images/beer.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#content-area {
  position: relative;
  height: 90vh;
  width: 100vw;
  transition: all 0.5s;
}

#header.splash {
  height: 60vh !important;
}

#content-area.splash {
  height: 40vh !important;
}

#rating-closed {
    display: none;
    text-align: center;
    font-size: 1.3em;
    padding: 80px;
    font-weight: bold;
}

.foo, .bar {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.foo {
  background-image: url('../images/low_shine.png');
  animation-name: rotclockwise;
  animation-duration: 18s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.bar {
  background-image: url('../images/light_shine.png');
  animation-name: rotcounterclockwise;
  animation-duration: 24s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes rotclockwise {
  from {transform: rotate(0)}
  to {transform: rotate(360deg)}
}

@keyframes rotcounterclockwise {
  from {transform: rotate(0)}
  to {transform: rotate(-360deg)}
}

#login {
  background: rgba(0,0,0,0.5);
}

.shakeable {
  animation-name: shakeit;
  animation-iteration-count: 1;
  animation-duration: 0.3s;
}

@keyframes shakeit {
  0%, 100% {margin-left: 0px;}
  20%, 60% {margin-left: 15px;}
  40%, 80% {margin-left: -15px;}
}

/* RATING */

.brandlogo {
  background-image: url('../images/b_icon.png');
  background-size: contain;
  background-repeat: no-repeat;
  text-align: left;
  margin-bottom: -40px;  
  height: 15vh;
}

.brandlogo span {
  font-family: 'Caveat Brush', cursive;
  color: #ecd352;
  font-size: 3.3em;
  padding-left: 50px;
  text-shadow: 0px 0px 18px #311f13, 0px 0px 18px #311f13, 0px 0px 18px #311f13, 0px 0px 18px #311f13, 0px 0px 18px #311f13, 0px 0px 18px #311f13;
}

.rating-form {
  text-align: center;
}

.rating-section {
  display: inline-block;
}

input.star{
  display: none;
}

label.star {
  float: right;
  padding: 10px;
  font-size:1.7em;
  color: #888;
  transition: all .2s;
}

input.star:checked ~ label.star:before {
  content:'\f26a';
  color: #FD4;
  transition: all .25s;
}

input.star-5:checked ~ label.star:before {
  color:#FE7;
  text-shadow: 0 0 15px #FC9;
}

input.star-1:checked ~ label.star:before {
  color: #F62;
}

label.star:hover{
  transform: rotate(-15deg) scale(1.3);
}

label.star:before{
  content:'\f26a';
  font-family: Ionicons;
}