@charset "utf-8";
/* CSS Document */

* {
	border-box: box-sizing;
}

.email-box html {
	background-color: #e5e8e7;
  height: 100%;
  overflow: hidden;
  width: 100%;
}

.email-box {
  	height: 105px;
		left: 50%;
  	margin-left: -256px;
  	margin-top: 136px;
  	overflow: hidden;
  	position: absolute;
  	top: 50%;
  
    &:after {
 			border-radius: 100%;
    	box-shadow: 0 -10px 10px 0 rgba(0,0,0,0.3);
    	content: "";
    	left: 95px;
    	position: absolute;
    	height: 10px;
    	top: 109px;
    	width: 220px;
    }
}

.email-box form {
  	background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.3));
  	border: 1px solid rgba(0,0,0,0.3);
  	border-radius: 6px;
  	box-shadow: inset 0 1px 3px rgba(255,255,255,0.4),
    									0 1px 3px rgba(0,0,0,0.45);
  	padding: 10px;
  	position: relative;
  	animation: appear 1.5s ease;
  
  &:after {
    background: #e5e8e7;
  	content: "";
    height: 50px;
    position: absolute;
    top: 80px;
    width: 250px;
    z-index: 999;
  }
}

.email-boxinput {
	border-radius: 5px;
  height: 34px;
  padding: 0;
}

.email-box input[type="email"] {
  background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.3));
	border: 1px solid rgba(0,0,0,0.48);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.4),
    								0 1px 0 rgba(255,255,255,0.5);
  padding-left: 10px;
  width: 200px;
  appearance: none;
  
  &::-webkit-input-placeholder {
  	color: rgba(0,0,0,0.6);
  }
  
  &:moz-input-placeholder {
  	color: rgba(0,0,0,0.6);
  }
  
  &:focus {
  	  background: linear-gradient(#d1d5d2, #fefefe);
    	box-shadow: 0 1px 0 rgba(255,255,255,0.5);
    	outline: none;
  }
}

.email-box input[type="submit"] {
  background: linear-gradient(#58a9e2, #346cce);
  border: 1px solid rgba(0,0,0,0.48);
  box-shadow: inset 0 1px 3px rgba(255,255,255,0.4),
    								0 1px 2px rgba(0,0,0,0.45);
  color: #fff;
  display: inline-block;
  font-weight: bold;
	height: 35px;
  margin-left: 5px;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.2);
  width: 76px;
  
  &:hover {
  	background: linear-gradient(#6db1e1, #4375cc);
  }
  
  &:active {
  	box-shadow: inset 0 1px 2px rgba(0,0,0,0.45),
      								0 1px 3px rgba(255,255,255,0.4);
  }
}

.email-box img {
  bottom: -200px;
  left: 0;
  opacity: 0;
	position: absolute;
 	animation: richie 4s linear;
  z-index: 9999;
}


@keyframes appear {
  0%,50% {
  	bottom: -150px;
  }
  100% {
  	bottom: 0;
  }
}


@keyframes richie {
  0%, 20% {
    bottom: -100px;
  	opacity: 0;
  	left: 2000px;
  }
  50%, 90% {
  	bottom: 0;
    opacity: 1;
  }
  100% {
    bottom: -100px;
  	opacity: 0;
    left: 0;
  }
}