@charset "UTF-8";

html{
	/* 根元素設定為10px 一般browser標準為16px */
	font-size:62.5%;   
}
body{
	font-family:'Roboto', sans-serif,'微軟正黑體';
	font-weight: 200;
	/* body字型設定12px */
	font-size:2rem;

}
a:link,a:visited,a:active{
	color: ;
	text-decoration: none;
}
button {
    outline: none;
}
li{
	list-style-type: none;
}
.bmi{
	width:600px;
	position:relative;
	left:50%;
	margin-left:-350px;
	line-height: 2rem;
	background: url('../img/ricepaper_v3.png') repeat;
	margin-top:50px;
	padding:50px 50px 100px;
	transition: all 0.5s;
}
input{
	display: inline-block;
	border-style: none;
	border-bottom: 1px solid black;
	width:100px;
	position: absolute;
	right:400px;
	text-align: center;
	font-size: 2rem;
	background-color: transparent;
	outline: none;
}

.bmi:hover{
	border-bottom-left-radius: 10% 2%;
	border-bottom-right-radius: 20% 5%;
	-moz-border-bottom-left-radius: 10% 2%;
	-moz-border-bottom-right-radius: 20% 5%;
	-webkit-border-bottom-left-radius: 10% 2%;
	-webkit-border-bottom-right-radius: 20% 5%;
 }

.diagnosis.invisible{
	display:none;
}
.dock{
	position: absolute;
	left:50%;
	margin-top: 20px;
	margin-left:-175px;
	width:350px;


}
.dock > ul > li{
	float:left;
}

.dock > ul > li a{
	margin:20px 20px;
	font-size: 40px;
	color:#f1b400;
	text-align: center;
	border:1px solid #f1b400;
	padding:5px;
	font-weight: 300;
	transition: all 0.5s;	
}

.dock > ul > li a:hover{
	display: block;
	font-size: 70px;
	margin-top:-30px;

}




/* smart phone setting */
/*ipad*/
@media (max-width: 1024px) {
  body {
    background-image: none;
  }
}
/*other smart device*/
@media (max-width: 768px) {
.bmi{
	display: block;
	width:80%;
	position:relative;
	left:0%;
	margin-left:0;
	line-height: 2rem;
	background: url('../img/ricepaper_v3.png') repeat;
	margin-top:50px;
	padding:50px 50px 100px;
	transition: all 0.5s;
}
input{
	position: absolute;
	display: inline-block;
	border-style: none;
	border-bottom: 1px solid black;
	width:70px;
	position: absolute;
	left:50%;
	text-align: center;
	font-size: 2rem;
	background-color: transparent;
	outline: none;
}

}