body{
	margin: 0px;
	font-family: Microsoft JhengHei, MHei, Hei, Verdana, Geneva, sans-serif;
}

#frame{
	width: 420px;
	height: 500px;
	position: relative;
	border-color: DarkGray;
	border-style: solid;
	border-width: 1px;
	border-radius: 4px;
}


.heat{
	height: 24px;
	position: absolute;
	top: 40px;
	left: 55px;
	opacity: 0;
}


#water-box{
	position: absolute;
	top: 153px;
	left: 140px;
}

.water{
	transition-duration: 1.2s;
	-webkit-transition-duration: 1.2s;
	transition-delay: 1.1s;
	-webkit-transition-delay: 1.1s;
	position: absolute;
	top: 0;
	left: 0;
	height: 110px;
}

.water.hide{
	opacity: 0;
}


#textbox{
	width: 82%;
	position: absolute;
	left: 10%;
	top: 381px;
}


.text{
	transition-duration: 0.4s;
	-webkit-transition-duration: 0.4s;
	transition-delay: 2s;
	-webkit-transition-delay: 2s;
	font-size: 17px;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	line-height: 1.7;
	text-align: justify;
}

.text.hide{
	opacity: 0;
}

.text .definition{
	font-weight: bold;
	color: #da352f;
}


#T-box{
	position: absolute;
	top: 275px;
	left: 157px;
	width: 100px;
}

.temperature{
	transition-duration: 1.1s;
	-webkit-transition-duration: 1.1s;
	transition-delay: 1.1s;
	-webkit-transition-delay: 1.1s;
	font-size: 25px;
	font-weight: bold;
	color: LightSeaGreen;
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	text-align: center;
}

.temperature.left{
	transform: translate3d(-80px, 0, 0);
	-webkit-transform: translate3d(-80px, 0, 0);
	opacity: 0;
}

.temperature.right{
	transform: translate3d(80px, 0, 0);
	-webkit-transform: translate3d(80px, 0, 0);
	opacity: 0;
}


.btn{
	font-size: 14px;
	border-color: DarkGray;
	border-style: solid;
	border-width: 1px;
	box-shadow: 0 1px 1px rgba(0,0,0,0.25);
	height: 61px;
	width: 54px;
	border-radius: 6px;
	background: rgba(0,0,0,0.04);
	transition: opacity 0.2s;
	-webkit-transition: opacity 0.25s;
}

.btn:focus{
	outline: none;
}

.btn:active{
	box-shadow: inset 0 0 2px rgba(0,0,0,0.25);
}

.btn:disabled{
	opacity: 0.4;
}

.btn img{
	height: 30px;
}

.btn p{
	margin: 0;
	line-height: 1;
}

#heat-btn{
	position: absolute;
	right: 20px;
	top: 14px;
}

#cool-btn{
	position: absolute;
	left: 20px;
	top: 14px;
}



.animated {
  -webkit-animation-duration: 1.1s;
  animation-duration: 1.1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fly-up {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
	opacity: 0;
  }

  25% {
    opacity: 1;
  }

  75% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translate3d(0, -90px, 0);
    transform: translate3d(0, -90px, 0);
	opacity: 0;
  }
}

@keyframes fly-up {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
	opacity: 0;
  }

  25% {
    opacity: 1;
  }

  75% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translate3d(0, -90px, 0);
    transform: translate3d(0, -90px, 0);
	opacity: 0;
  }
}

.fly-up {
  -webkit-animation-name: fly-up;
  animation-name: fly-up;
}


@-webkit-keyframes fly-down {
  0% {
    -webkit-transform: translate3d(0, -90px, 0);
    transform: translate3d(0, -90px, 0);
	opacity: 0;
  }

  25% {
    opacity: 1;
  }

  75% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
	opacity: 0;
  }
}

@keyframes fly-down {
  0% {
    -webkit-transform: translate3d(0, -90px, 0);
    transform: translate3d(0, -90px, 0);
	opacity: 0;
  }

  25% {
    opacity: 1;
  }

  75% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
	opacity: 0;
  }
}

.fly-down {
  -webkit-animation-name: fly-down;
  animation-name: fly-down;
}
