.cboth{
	clear: both;
}

.profile_header{
	float: left;
}

/*===========================summary===================================*/

#profile_summary{
	width: 100%;
	height: 410px;
	background: #f2f2f2;
}

.summary_fb, .fb-share-button{
	float: right;
	margin-top: -8px;
}

#profile_blockgrp{
	padding: 25px 0 0 10px;	
}

.profile_block{
	margin: 5px 0 20px 15px;
	float: left;
	width: auto;
	height: auto;
}

.block_bg{
	margin-top: 12px;
	height: 100px;
	width: 166px;
	display: block;
	background:url(x/extras/zh-hk/images/myProfile/summary-b1.jpg);
	background-color: #0090d7;	
	background-repeat: no-repeat;
	border: 5px #e4e9ec solid;
}

.block_content{
	padding: 8px 12px 15px 12px;	
}

.p_unit, .p_value, .p_text, .p_change{
	float: left;
}

.p_arrow, .p_change{
	float: right;	
}

.p_arrow{
	font-size: 2.2em;
	color: white;
}

.p_unit, .p_value, .p_change, .summary_input{
	color: white;
}

.p_text, .summary_analysis{
	color: 09414e;
}

.p_value{
	font-size: 2.3em;
	font-size: 35px;
	font-weight: bold;
	width: 100px;
}

.p_text, .p_change{
	font-size: .8em;
	font-size: 13px;
}

.profile_btn{
	margin-left: 5px;
	padding-top: 5px;
}

.summary_input, .summary_analysis{
	float: left;
	height: 38px;
	width: 83px;
	text-align: center;
	line-height: 38px;
	vertical-align: central;
	font-size: .9em;
}

.summary_input{
	/*background:url(/extras/zh-hk/images/myProfile/summary-b2.jpg);*/
	background-color: #0090d7;
}

.summary_analysis{
	/*background:url(/extras/zh-hk/images/myProfile/summary-b2.jpg);*/
	background-color: #67bbe9;
	
}

/*===========================stat====================================*/
#profile_stat{
	padding-top: 30px;	
}

#stat_left, #stat_right{
	width: 50%;
}

#profile_stat > div.stat_left > span > div:nth-child(1) > span{
	position: absolute;
	top: 500px;
	left: 500px;
}

.circle_box{
	float: left;
	padding: 30px 0 0 50px;
}

.circle_val{
	font-size: 3em;
}

.circle_text{
	font-size: 1.1em;
}

.stat_left{
}

.stat_right{
	float: left;
	margin: -160px 0 0 80px;
}

/* stat */
#calendar_box > img {
	float: left;
}

#datepicker1, .start_text, #datepicker11, .end_text{
	float: left;
}

#datepicker1, #datepicker11{
	text-align: center;
	margin: 0 0 0 10px;
	width: 170px;
	height: 26px;
}

.start_text, .end_text{
	line-height: 32px;
	height: 32px;
	vertical-align: middle;
}

#end_date{
	margin-top: 10px;
}

#start_date, #end_date{
	float: right;
	margin-left: 20px;
}

#calendar_box{
	clear: both;	
}

#icon_box{
	float: left;
	margin-top: 38px;
}

.profile_icon{
	display: block;
	padding: 5px 0 5px 0;
}

#bar_box{
	float: left;
	margin: 42px 0 0 10px;
}

#bar_text{
	flaot: right;
	display: block;
	margin: 54px 0 0 10px;
	text-align: right;
	font-size: 18px;
}

.profile_followbtn{
	float: right;
}

/*===========================chart===================================*/
#profile_table{
	padding-top: 30px;
	clear: both;
}

.profile_chart{
	width: 500px;
}

.chart-container {
	margin-top: 100px;	
	box-sizing: border-box;
	width: 500px;
	height: 350px;
	padding: 5px;
	/*border: 1px solid #ddd;
	background: #fff;
	background: linear-gradient(#f6f6f6 0, #fff 50px);
	background: -o-linear-gradient(#f6f6f6 0, #fff 50px);
	background: -ms-linear-gradient(#f6f6f6 0, #fff 50px);
	background: -moz-linear-gradient(#f6f6f6 0, #fff 50px);
	background: -webkit-linear-gradient(#f6f6f6 0, #fff 50px);
	box-shadow: 0 3px 10px rgba(0,0,0,0.15);
	-o-box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	-ms-box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	-moz-box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	-webkit-box-shadow: 0 3px 10px rgba(0,0,0,0.1);*/
}

.chart-placeholder {
	width: 100%;
	height: 100%;
	font-size: 14px;
	line-height: 1.2em;
}

.legend table {
	border-spacing: 5px;
}

.chart_select{
	margin: -20px 5px 0 0;
	width: 175px;width: 120px;
	float: right;
}

.profile_chart_detail{
	float: right;
	clear: both;
	margin: 110px 35px 0 0;
}

#profile_table > div:nth-child(2){
	margin-top: 76px;
}

#datepicker2, #datepicker22, #datepicker3, #datepicker33{
	text-align: center;
	width: 170px;
	height: 26px;
	margin: 0 0 0 10px;
}

#datepicker22,#datepicker33{
	margin-top: 10px;
}

.chart_load{
	float: right !important;
	margin-top: 10px;
	clear: both;
}

#profile_table  .chart_end_date{
	margin-left: 25px;
}

.chart_start_date, .chart_end_date{
	float: right;
}

.btn_grp{
	padding-top: 45px;
}

.chart_print{
	float: left;
	margin-left: 55px;
}

.chart_followup{
	float: right;
	margin-right: 45px;
}

/*===========================medicine================================*/
#profile_medicine{
	padding-top: 70px;	
	clear: both;
}

.tbhead{
	float: left;
	display: block;
	background: #149e50;
}

.tbtd{
	float: left;
	display: block;
}

.tbtr{
	text-align: center;	
}

.med_detail{
	color: white;
	padding: 7px;
}

.med1{
	float:left; 
	font-size: 1.2em;
}

.med2{
	float:left;
}

.meddr{
	float:left; 
	color:black; 
	padding-top: 5px;
}

.meddate{
	float:right; 
	font-size: 1.4em; 
	line-height:55px;
	line-height:50px\9\0;
}

#allergy_table > span.tbhead{
	margin-top: 50px;	
}

#allergy_table > span.tbtd{
	clear: both;
	width: 228px;
	height: 45px;
	border: solid 1px #848484;
	border-top: 0;
	padding: 5px;
}

#allergy_table > span.tbtd > span{
	color: #149e50;
}

#allergy_table .bigtext{
	font-size: 1.2em;
	float: left;
}

#allergy_table .smalltext{
	clear: both;
	float: left;
	font-size: 1em;
}