* {
    margin: 0;
    padding: 0;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-button:vertical {
    display: none;
}

::-webkit-scrollbar-track:vertical {
    background-color: #000;
}

::-webkit-scrollbar-track-piece {
    background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    margin-right: 10px;
    background-color: #a6a6a6;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #aaa;
}

::-webkit-scrollbar-corner:vertical {
    background-color: #535353;
}

.select-none {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/*************************************************************/

/* Index */
.layui-layout-admin .layui-logo {
    color: #fff;
    font-size: 20px;
}

.layui-tab-title li:first-child .layui-tab-close {
    display: none;
}

.menu-btn {
    position: absolute;
    top: 1pc;
    left: 200px;
    width: 30px;
    height: 30px;
    background-color: #1aa094;
    color: #fff;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
}

#menu-switch {
    left: 200px;
}

#menu-refresh {
    left: 245px;
}

.layui-nav-tree .layui-nav-child a {
    padding-left: 36px;
}

.layui-tab-title li {
    background-color: #f2f2f2;
}

.content-body {
    position: absolute;
    top: 46px;
    right: 0;
    bottom: 42px;
    left: 200px;
    z-index: 1;
    overflow: hidden;
}

.content-body .layui-tab-content {
    position: absolute;
    top: 50px;
    bottom: 0;
    z-index: -999;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

.content-body .layui-tab-content .layui-tab-item,.content-body .layui-tab-content .layui-tab-item iframe {
    height: 100%;
}

.layui-footer {
    text-align: center;
}

@media screen and (max-width:768px) {
    .layui-layout-admin .layui-bg-black {
        left: -200px;
    }

    .layui-layout-admin .content-body,.layui-layout-admin .layui-footer {
        left: 0;
    }

    .layui-layout-left {
        display: none;
    }
}

@media screen and (max-width:480px) {
    .layui-layout-admin .layui-logo {
        left: -2pc;
    }

    .menu-switch {
        left: 140px;
    }
}

@media screen and (max-width:330px) {
    .layui-layout-admin .layui-logo {
        left: -51px;
        font-size: 14px;
    }

    .menu-switch {
        left: 75pt;
    }
}

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

/* SubPage */
.sub-page {
    padding: 10px;
}

.layui-row-margin {
    margin: 10px 5px 5px;
}

.md2-sub1 {
    float: left;
    width: 40%;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    text-align: center;
    line-height: 5pc;
}

.md2-sub1 i {
    display: block;
    font-size: 40px;
    cursor: pointer;
}

.md2-sub2 {
    display: inline-block;
    width: 60%;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: #f2f2f2;
    text-align: center;
    line-height: 46px;
}

.md2-sub2 span {
    display: block;
    height: 34px;
    font-size: 25px;
}

.md2-sub2 cite {
    font-style: normal;
}

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

/* Sign In & Sig Up */
.container {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.25);
    position: fixed;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /*overflow: hidden;*/
    width: 768px;
    height: 550px;
}
@keyframes show {
    0%, 49.99% {
        opacity: 0;
        z-index: 1;
    }

    50%, 100% {
        opacity: 1;
        z-index: 5;
    }
}

/* 表单侧 */
.form-container {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}
.sign-in-container {
    width: 50%;
    z-index: 2;
}
.sign-up-container {
    width: 50%;
    opacity: 0;
    z-index: 1;
}
.right-panel-active .sign-in-container {
    transform: translateX(100%);
}
.right-panel-active .sign-up-container {
    transform: translateX(100%);
    opacity: 1;
    z-index: 3;
    animation: show 0.6s;
}
.form-container form {
    background-color: #fff;
    text-align: center;
    padding: 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
}

/* 表单内 */
.form-container .layui-form-item {
    height: 38px;
    margin-bottom: 8px;
}
.form-container input {
    background-color: #eee;
    width: 280px;
}
#getSignInCaptcha, #getSignUpCaptcha {
    position: relative;
    float: right;
    top: -34px;
    margin: 0 4px;
}
#forgetPassword-box, #updatePhone-box {
    width: 400px;
    text-align: center;
}
#forgetPassword-box .layui-form-item, #updatePhone-box .layui-form-item {
    margin: 15px;
    height: 38px;
}
#getForgetCaptcha, #getUpdatePhoneCaptcha {
    position: relative;
    float: right;
    top: -34px;
    margin: 0 4px;
}

.sign-in-container form h1 {
    margin-bottom: 70px;
}
.sign-in-container .from-btn-group {
    margin-top: 80px;
}

.sign-up-container form h1 {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* 导航侧 */
.overlay-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
    right: 0;
}
.overlay-left {
    width: 50%;
    z-index: 5;
}
.overlay-right {
    width: 50%;
    opacity: 0;
    z-index: 4;
}
.overlay-panel {
    background: #3cbaea;
    color: #fff;
    text-align: center;
    padding: 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
}
.right-panel-active .overlay-left {
    transform: translateX(-100%);
}
.right-panel-active .overlay-right {
    transform: translateX(-100%);
    opacity: 1;
    z-index: 6;
    animation: show 0.6s;
}

/* 导航内 */
.overlay-panel * {
    margin: 20px 0;
}

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

/* userCard */
.swiper-page {
    background-color: #f2f2f2;
    padding-top: 15px;
}

/* userSearch */
.search-box {
    position: absolute;
    height: 380px;
    width: 500px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.search-box h1,.search-patient h1 {
    text-align: center;
    margin-bottom: 30px;
}
.search-box .layui-input-inline, .search-patient .layui-input-inline{
    width: 85% !important;
}

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

button#updateProfile {
    margin-left: 140px;
}

.layui-upload-list {
    text-align: center;
}

.layui-upload-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid #eee;
    box-sizing: border-box;
}
/*************************************************************/

.addMember .layui-form-item {
    text-align: center;
}

#search-patient .layui-form-item {
    margin-bottom: 0;
}

#search-patient .layui-input-inline {
    width: 255px;
}

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

#health-data {
    position: absolute;
    height: 98%;
    width: 98%;
    /*overflow: hidden;*/
}

#health-data .layui-tab-title li {
    background-color: #fff;
}

#chart-data {
    position: absolute !important;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    margin: auto;
}

#chart-nodata {
    font-size: 26px;
    text-align: center;
    margin: 40px 0;
}


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

.is-admin .admin-hide {
    display: none;
}

.admin-show {
    display: none !important;
}

.is-admin .admin-show {
    display: block !important;
}

/*************************************************************/
#report-tab .layui-tab-title li {
    background: #fff;
}

/****************************************************/
.fixed{
    position:fixed;
    top:0;
    z-index:100;
}
