.clear {
    clear: both;
}

body {
    background-color: #FFFFFF;
}

hr {
    margin: 5vw 0;
}

ul,li{
    list-style: none;
}

* {
    -webkit-touch-callout: none;
    -webkit-user-select:none;
    -khtml-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
}

input {
    -webkit-user-select:auto; /*webkit浏览器*/
}

.refresh, .end {
    text-align: center;
    color: #9d9fa2;
}

.hide {
    display: none;
}

.overflow_hide {
    overflow: hidden;
    height: 100%;
}

/*********************main*************************/

.main-panel, #add_user_panel {
    box-shadow: 5px 5px 5px 1px lightgray;
    width: 45%;
    min-height: 40vw;
    border-radius: 20px 0 20px 0;
    display: block;
    float: left;
    margin: 5vw 0 0 3.3%;
    background-size: 100% 40vw;
    background-repeat: no-repeat;
}

#main_add_img {
    width: 16vw;
    height: 16vw;
    margin: 12vw 32%;
}

.main-icon {
    font-size: large;
}

.main-4-sign {
    width: 49%;
    display: block;
    float: left;
    margin: 1vw 0 0 0;
    background-size: 100% 5vw;
    background-position: left;
    background-repeat: no-repeat;
    text-align: center;
}

.main-4-sign-area {
    height: 16vw;
    display: block;
    float: left;
    width: 100%;
    margin-top: 7vw;
}


.main-4-sign-value {
    font-size: large;
    color: #FFFFFF;
    margin-left: 2vw;
    line-height: 2vw;
}

.main-value {
    width: 30%;
    color: #333333;
    font-size: 15vw;
    text-align: center;
    display: block;
    float: right;
    font-family: DINCondensed-Bold;
    margin: 1vw 1vw;
}

.main-value p {
    margin: 0;
}

.main-no-data {
    font-size: 3vw;
    line-height: 14vw;
    color: darkgray;
    margin: 0;
}

.main-no-data-4{
    color: darkgray;
}

.badge {
    border-radius: 2px;
    padding: 3px;
    background-color: #14E7BA;
}

.main-head {
    width: 100%;
    height: 16vw;
    display: block;
    float: left;
}

.main-head-image {
    display: block;
    width: 14vw;
    height: 14vw;
    border-radius: 14vw;
    margin: 2vw 0 0 2vw;
    float: left;
}

.main-name {
    width: 50%;
    margin: 1vw 0 0 0;
    display: block;
    float: left;
}

.main-name-text {
    font-size: small;
    width: 120%;
    margin: 2vw 0 0 4vw;
}

.main-relation-text {
    font-size: smaller;
    margin-left: 1vw;
    color: #999999;
}

#page_index {
    text-align: center;
}

#page_number {
    display: inline-block;
}

#page_number .now {
    background-color: darkgray;
}

.home_page {
    height: 2vw;
    width: 2vw;
    text-align: center;
    border-radius: 2vw;
    background-color: lightgray;
    margin-left: 2vw;
    margin-top: 0.5vw;
    display: block;
    float: left;
}

#divideModal {
    margin-top: 50%;
    min-height: 40vw;
}

.add_user_icon {
    height: 15%;
    width: 15%;
    font-size: xx-large;
    text-align: center;
    display: block;
    float: left;
}

.add_user_desc {
    width: 70%;
    height: 15%;
    display: block;
    float: left;
}

.add_user_title {
    font-size: large;
    margin: 0;
}

.add_user_tips {
    font-size: small;
    color: #A2A2A2;
}

#add_new {
    margin: 3vw 0;
    border-bottom: 1px solid lightgray;
}

.add_user_right {
    font-size: x-large;
    color: #A2A2A2;
}

#msg_body {
    width: 90%;
    margin: 5vw 5%;
    min-height: 15vw;
    border: 1px solid lightgray;
}

#quick_msg {
    width: 90%;
    margin: 0 5% 5vw 5%;
    border-bottom: 1px solid lightgray;
}

.quick_item {
    padding: 1vw;
    border: none;
    border-radius: 3px;
    display: block;
    float: left;
    margin: 2vw;
    color: #FFFFFF;
    font-size: larger;
}

#messageModal, #portalModal {
    margin-top: 30%;
}

#send_msg {
    margin: 0 5% 2vw 0;
    background-color: #51B3FE;
}

#show_message_modal {
    width: 0;
    height: 0;
}

.share_button {
    margin: 1vw 4vw 0 0;
}

.share_button, .send_button {
    display: block;
}

/*******************person_main********************/
.name_and_img {
    height: 15vw;
}

.name_and_date {
    color: #FFFFFF;
    margin: 3vw 0 0 3vw;
    min-width: 20vw;
    height: 14vw;
    float: left;
    display: block;
}

.share {
    display: block;
    float: right;
    margin: 2vw 2vw 0 0;
}

.share button {
    font-size: x-large;
    border: none;
    background-color: #2FA7F8;
    color: #FFFFFF;
}


.person_head_img {
    height: 14vw;
    width: 14vw;
    display: block;
    float: left;
    margin: 2vw;
    border-radius: 14vw;
    box-shadow: 0 0 0 3px #666666;
}


#person_data_container{
    display: -webkit-box;
    -webkit-overflow-scrolling:touch;
    padding: 0;
    margin-top: -5vw;
   overflow: hidden;
   -webkit-transform: translate3d(0,0,0);
   backface-visibility: hidden;
   position: relative;
}

.person_panel{
    font-weight: bold;
    font-size: medium;
    padding: 0 0 30vw 0;
}
/*隐藏掉滚动条*/
#person_data_container::-webkit-scrollbar {
    display: none;
}

.person_score {
    height: 30vw;
}

.person_upper {
    font-size: 4vw;
}

.level_and_tips {
    display: block;
    text-align: center;
    color: #666666;
    margin-top: 6vw;
}

.person_badge {
    font-size: xx-small;
}

.card_person_badge {
    background-color: #14E7BA;
    color: #FFFFFF;
}

.person_badge, .person_tips {
    text-align: center;
    opacity: 0.75;
}


.bottom_line {
    border-top: none;
    border-bottom: solid 1px lightgray;
}

.person_sign_value {
    font-size: larger;
}

.person_sign_degree {
    font-size: xx-small;
    color: darkgray;
}


.person_advice {
    width: 90%;
    min-height: 20vw;
    margin: 10vw auto;
    border-radius: 3vw;
    box-shadow: 0 0 10px 10px #F4F6FC;
}

.person_advice_title {
    width: 70%;
    margin: -10vw 0 0 10%;
}

.person_advice_content {
    width: 90%;
    margin: 2vw auto;
    font-size: medium;
    font-weight: normal;
    color: #A2A2A2;
}

/**********************************************/

.font-gray {
    color: #7B7979;
}

#time_bar {
    background-color: #E9ECEC;
    width: 100%;
    height: 8vw;
    padding: 0;
    margin: 0;
}

#time_bar span {
    line-height: 8vw;
    color: #7B7979;
    font-size: 4vw;
}

.time_bar_content {
    line-height: 8vw;
    color: #7B7979;
    font-size: 4vw;
    margin: 1% 11% 0 0;
}

#current_temp, #current_breath, #current_heart, #current_pre {
    display: block;
}

#temp_value, #breath_value, #heart_value, #pre_value {
    font-size: xx-large;
    color: #51B3FE;
}

.data_value {
    font-size: x-large;
    color: #51B3FE;
}

.temp_average, .breath_average, .heart_average, .pre_average {
    width: 33%;
    height: 20vw;
    display: block;
    float: left;
}

#temp_average h3, #breath_average h3, #heart_average h3, #pre_average h3 {
    color: #51B3FE;
    font-size: xx-large;
}

#pre_average h3 {
    color: #51B3FE;
    font-size: large;
}

#temp_average h6, #breath_average h6, #heart_average h6, #pre_average h6{
    color: #7B7979;
}

#report_time {
    color: #7B7979;
}

#temp_span, #breath_span, #heart_span, #pre_span {
    display: block;
    float: left;
    width: 80%;
    margin: 5vw 10%;
    height: 40vw;
    border: solid 2px #51B3FE;
    border-radius: 5px;
}

#temp_progress, #breath_progress, #heart_progress, #pre_progress {
    width: 90%;
    margin: 0 5%;
}

.temp_consume, .breath_consume, .heart_consume, .pre_consume {
    width: 33%;
    height: 18vw;
    display: block;
    float: left;
}

#temp_consume h6, #breath_consume h6, #heart_consume h6, #pre_consume h6{
    color: #7B7979;
}

#temp_history, #breath_history, #heart_history, #pre_history {
    width: 100%;
}
#temp_history button, #breath_history button, #heart_history button, #pre_history button{
    width: 33.333%;
    background-color: #51B3FE;
    border: none;
    font-size: x-large;
    color: #FFFFFF;
}

.data_detail_head {
    width: 90%;
    height: 60vw;
    margin: 5vw 5%;
    background-size: 100% 60vw;
}

.data_detail_title {
    margin: 5vw 0 0 40vw ;
}

.data_detail_jump {
    color: #51B3FE;
    font-size: x-small;
}

#head_and_edit {
    position: relative;
}

#data_detail_head_img {
    margin: 0 40%;
    min-height: 20vw;
    min-width: 20vw;
    max-width: 22vw;
    max-height: 22vw;
    border-radius: 20vw;
}

#data_detail_edit {
    position: absolute;
    right: 35%;
    top: 80%;
}

#data_detail_manding_index {
    font-size: 10vw;
}

#everyday_word {
    width: 80%;
    margin: 0 auto;
}

#manding_advice {
    display: block;
    float: left;
    width: 80%;
    margin: 5vw 10%;
    height: 40vw;
    border: solid 2px #51B3FE;
    border-radius: 5px;
}

#gen_report {
    width: 70%;
    margin: 0 15%;
    background-color: #51B3FE;
}

#pressure_score, #tired_score {
    color: #51B3FE;
    font-size: 10vw;
    margin-left: 10%;
}

#pressure_desc, #tired_desc {
    margin-left: 5%;
}

#default_head_img, #info-head {
    width: 20vw;
    height: 20vw;
    border-radius: 20vw;
    margin: 5vw 40% 0 40%;
}

#add_user_commit {
    width: 100%;
    background-color: #51B3FE;
    border-radius: 0;
    border: none;
    height: 12vw;
    position: fixed;
    bottom: 0;
    z-index: 100;
}

.no-boder {
    background-color: #FFFFFF;
    border: none;
    border-radius: 0;
    -webkit-appearance: none;
    user-select: none;
    outline: none;
}

#choose_new_img {
    width: 40%;
    margin: 5vw 30%;
    background-color: #51B3FE;
    border: none;
}

#add_user_complete, #add_user_set_alarm {
    width: 45%;
    margin: 2%;
    background-color: #51B3FE;
    border: none;
}

#info-button {
    width: 100%;
    position: fixed;
    bottom: 0;
    z-index: 5;
}

#delete_user_commit {
    width: 40%;
    background-color: #F70000;
    border-radius: 0;
    border: none;
    height: 12vw;
    font-size: large;
    display: block;
    float: left;
    user-select: none;
    outline: none;
}

#change_user_commit, #settings-commit {
    width: 100%;
    background-color: #51B3FE;
    border-radius: 0;
    border: none;
    height: 12vw;
    font-size: large;
    display: block;
    float: left;
    user-select: none;
    outline: none;
}

#breath_switch, #heart_rate_switch, #temp_switch, #pressure_switch {
    user-select: none;
    outline: none;
}

#buy_storage, #clear_storage_button {
    width: 100%;
    background-color: #51B3FE;
    border-radius: 0;
    border: none;
    height: 12vw;
    font-size: large;
    bottom: 0;
    position: absolute;
    user-select: none;
    outline: none;
}

#storage-card {
    background-color: #51B3FE;
    padding: 5vw 0;
    color: #FFFFFF;
}


#storage_list li {
    width: 100%;
    border:  none;
    margin: 2vw 0;
    color: #7B7979;
}

#storage_list li input{
    display: block;
    float: left;
}

#clear_storage {
    position: absolute;
    right: 5vw;
    top: 5vw;
    text-align: center;
    font-size: smaller;
}

/***************************my**********************************/

#my-all-list {
    display: block;
    width: 90%;
    margin: 0 auto;
}

#my-all-list li {
    margin: 5vw 0;
    border: none;
    border-radius: 1vw;
    height: 12vw;
    box-shadow: 0 0 5px 1vw #F1F2F5;
}

.my-right {
    width: 5vw;
    height: 5vw;
    display: block;
    float: right;
    margin-top: 1vw;
}

.my-image {
    width: 6vw;
    height: 6vw;
}

.my-text {
    font-size: large;
    margin: 0 0 0 2vw;
    line-height: 6vw;
}

#my-name-text {
    font-size: larger;
    display: block;
    float: left;
    font-weight: bold;
    margin: 0 0 0 2vw;
}

#my-space-desc {
    margin: 0;
    color: darkgray;
    margin-left: 2vw;
    display: block;
    float: left;
}

#my-desc {
    margin: 5vw 0 0 0;
    width: 68%;
    display: block;
    float: left;
}

#head-image {
    width: 20vw;
    height: 20vw;
    border-radius: 20vw;
    margin: 5vw 0 0 5%;
    display: block;
    float: left;
}

#my-logo-image {
    max-width: 30%;
    max-height: 20vw;
    margin: 0 40vw;
}

#my_storage_bar {
    width: 100%;
    display: block;
    float: left;
    margin: 2vw 0 0 2vw;
}

#storage_bar {
    width: 70%;
    margin: 0 auto;
}

#add_user_plus, #add_user_text {
    display: block;
    text-align: center;
    color: #51B3FE;
    font-size: x-large;
    margin-top: 2vw;
}

/**********************set_alarm******************/

.set-button {
    width: 100%;
    background-color: #51B3FE;
    border-radius: 0;
    border: none;
    height: 12vw;
    font-size: large;
    display: block;
    float: left;
    user-select: none;
    outline: none;
}

.alarm_setting_title {
    display: block;
    width: 100%;
    padding: 2vw 5vw;
    font-size: x-large;
    background-color: #FFFFFF;
    border-bottom: 1px solid #9d9fa2;
    margin-top: 5vw;
}

.alarm-input {
    width: 100%;
    display: block;
    padding: 3vw 5vw;
    border-bottom: 1px solid #9d9fa2;
    background-color: #F6F7F8;
}

.alarm_title {
    font-size: larger;
}

.breath_info_input, .heart_info_input, .temp_info_input, .pre_info_input {
    border: none;
    font-size: medium;
    opacity: 0.75;
    background-color: #F6F7F8;
    width: 25%;
}

.alarm-logo {
    line-height: 10vw;
    margin-right: 2vw;
    font-size: 6vw;
}


.mui-switch {
    width: 40px;
    height: 24px;
    position: relative;
    border: 1px solid lightgray;
    background-color: #fdfdfd;
    box-shadow: #51B3FE 0 0 0 0 inset;
    border-radius: 24px;
    background-clip: content-box;
    display: inline-block;
    -webkit-appearance: none;
    user-select: none;
    outline: none;
}
.mui-switch:before {
    content: '';
    width: 24px;
    height: 22px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 24px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.mui-switch:checked:before {
    left: 20px;
}
.mui-switch.mui-switch-anim {
    transition: border cubic-bezier(0, 0, 0, 1) 0.4s, box-shadow cubic-bezier(0, 0, 0, 1) 0.4s;
}
.mui-switch.mui-switch-anim:before {
    transition: left 0.3s;
}
.mui-switch.mui-switch-anim:checked {
    box-shadow: #51B3FE 0 0 0 12px inset;
    background-color: #51B3FE;
    transition: border ease 0.4s, box-shadow ease 0.4s, background-color ease 1.2s;
}
.mui-switch.mui-switch-anim:checked:before {
    transition: left 0.3s;
}


/********************notify*****************/

.notice-type {
    width: 49%;
    min-height: 10vw;
    font-size: large;
    /*background-color: #E9ECEC;*/
    background-color: #FFFFFF;
    padding: 0;
    color: #9d9fa2;
}

#notice-table {
    width: 100%;
    border-spacing: 0;
    min-height: 10vw;
}

.notice-chosen {
    background-color: #51B3FE;
    color: #FFFFFF;
}

.notify-panel {
    width: 100%;
    min-height: 20vw;
    background-color: #FFFFFF;
    margin-top: 5vw;
}

.message-panel {
    width: 100%;
    min-height: 25vw;
    background-color: #FFFFFF;
    margin-top: 5vw;
}

.notify-header {
    width: 100%;
    height: 12vw;
    display: block;
}

.notify_img {
    width: 10%;
    height: 10vw;
    border-radius: 10vw;
    display: block;
    float: left;
    margin-left: 3vw;
}

.notify_type_img {
    width: 6%;
    height: 6vw;
    border-radius: 1vw;
    display: block;
    float: right;
    margin-right: 1vw;
}

.notify_name {
    display: block;
    width: 50%;
    float: left;
    line-height: 12vw;
    margin-left: 3vw;
}

.notify_type {
    display: block;
    width: 20%;
    float: right;
    line-height: 12vw;
    color: #E5002F;
    margin-right: 5vw;
}

.notify-content {
    width: 85%;
    color: #E5002F;
    margin-left: 10%;
}

.notify-time, .message-footer {
    color: #9d9fa2;
    margin-left: 10%;
}

.message-header {
    width: 100%;
    height: 18vw;
}

.message_img {
    width: 15vw;
    height: 15vw;
    border-radius: 2vw;
    margin: 2vw 0 0 2vw;
    display: block;
    float: left;
}

.message_first, .message_comment {
    width: 70%;
    display: block;
    float: left;
    margin: 1vw;
    font-size: smaller;
}

.message_comment {
    color: #9d9fa2;
    font-size: medium;
}

.message-agree {
    background-color: #51B3FE;
    border-radius: 2vw;
    border: none;
    color: #FFFFFF;
    display: block;
    float: right;
    margin: 0 2vw;
}

.message-refuse {
    background-color: #E5002F;
    border-radius: 2vw;
    border: none;
    color: #FFFFFF;
    display: block;
    float: right;
    margin: 0 2vw;
}

.message-read {
    background-color: #9d9fa2;
    border-radius: 2vw;
    border: none;
    color: #FFFFFF;
    display: block;
    float: right;
    margin: 0 2vw;
}


/*****************mall_all********************/

#mall_all {
    width: 200%;
}

#frame_main, #frame_person_main {
    /*width: 100%;*/
    display: block;
    float: left;
}


/******************add_exist_user***************/

#exist_username {
    margin-top: 10vw;
    height: 10vw;
}

#add_head_img {
    height: 15vw;
    width: 15vw;
    margin: 2vw;
    border-radius: 2vw;
}

#add_username {
    font-size: larger;
    margin-top: -2vw;
}

#add_user_info label{
    width: 30%;
    display: block;
    margin: 2vw 0 0 0 ;
    color: #858689;
}


/******************settings***************/

.setting-tips {
    font-size: xx-small;
    color: darkgray;
}

.settings-item {
    border-bottom: 1px solid lightgray;
}

.settings-item .item:focus {
    outline: none;
}

#refresh_gap {
    height: 20px;
    border: 2px solid #000000;
    width: 30%;
    float: right;
}

#refresh_bar_desc {
    display: block;
    float: right;
}


/*********************about**********************/

#about {
    position: relative;
    bottom: 0;
    margin: 5vw auto;
}

#about_name, #about_version {
    text-align: center;
}

#about_bottom {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 5vw;
}