* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "ProximaNova","Miscrosoft Yahei";
}
body {
    overflow: hidden;
}
.app {
    height: 100%;
    width: 100px;
    background-color: #1d2530;
    position: absolute;
    /* border: solid 1px blue; */
}
.app .active {
    position: fixed;
    top: 40px;
}
.app .item1 {
    position: fixed;
    left: 20px;
    top: 20px;
}
.app .item2 {
    position: fixed;
    left: 20px;
    top: 100px;
}
.app .item3 {
    position: fixed;
    left: 20px;
    top: 180px;
}
.app .item4 {
    position: fixed;
    left: 20px;
    top: 260px;
}
.app .grid {
    position: fixed;
    bottom: 35px;
    left: 25px;
}
.app .setting {
    position: fixed;
    bottom: 35px;
    left: 60px;
}
.nav {
    height: 100%;
    width: 250px;
    background-color: #222e3c;
    position: absolute;
    left: 100px;
    /* border: solid 1px green; */
}
.nav-box {
    width: 190px;
    position: relative;
    left: 30px;
    margin-top: 30px;
}
.nav-box p {
    color: #5b6779;
    float: left;
}
.nav-box .setting {
    margin-top: 5px;
    float: right;
    clear: both;
}
.nav-box ul {
    list-style-type: none;
    line-height: 1.2;
    color: #b8c1cd;
}
.nav-box ul li {
    margin-top: 15px;
}
.nav-box ul li.active {
    color: #ffffff;
}
.nav-box ul li:first-child {
    margin-top: 30px;
}
.nav .active-img {
    position: absolute;
    top: 588px;
}
.nav-box .icon-img {
    width: 16px;
    height: 14px;
    margin-right: 10px;
}
.nav-box .information-img {
    margin-right: 0;
    float: right;
}
.nav .divider {
    position: relative;
    margin-left: 30px;
    margin-top: 30px;
}
.nav .goals {
    width: 200px;
    text-align: justify;
    font-size: 14px;
    color: #ffffff;
    position: absolute;
    bottom: 45px;
    left: 30px;
}
.nav .fill {
    position: absolute;
    bottom: 25px;
    left: 30px;
}
.top {
    width: calc(100% - 350px);
    height: 80px;
    border-bottom: solid 1px #e6e6e6;
    position: absolute;
    left: 350px;
}
.top h2 {
    font-size: 24px;
    color: #354052;
    line-height: 80px;
    margin-left: 30px;
    display: inline;
}
.top #drop {
    float: right;
    position: relative;
    top: 40px;
    margin-right: 30px;
}
.top .name-box {
    float: right;
    margin-right: 30px;
    position: relative;
    top: 25px;
}
.name-box .name {
    color: #2399f1;
    line-height: 1.2;
    text-align: left;
    margin-bottom: 5px;
}
.name-box .job {
    font-size: 14px;
    color: #b5b5b5;
    line-height: 1.2;
    text-align: left;
}
.top #top-photo {
    float: right;
    /* margin-right: 5px; */
    position: relative;
    top: 20px;
}
.name-box {
    float: right;
    margin: 0 auto;
    margin-left: 20px;
}
.history {
    width: 400px;
    height: calc(100% - 80px);
    position: absolute;
    left: 350px;
    top: 80px;
    /* border: solid 1px black; */
}
.history .search {
    height: 70px;
    border: solid 1px #e6e6e6;
    border-top: 0;
    border-right: 0;
}
.search input {
    height: 35px;
    width: 340px;
    text-indent: 1em;
    margin: 0 auto;
    margin-left: 30px;
    margin-top: 17.5px;
}
.search img {
    position: absolute;
    left: 340px;
    top: 27px;
}
.history-box {
    height: 130px;
    border-bottom: solid 1px #e6e6e6;
    position: relative;
}
.history-box:nth-child(2) {
    border-left: solid 4px #2399f1;
}
.history .photo {
    position: relative;
    top: 17px;
    left: 30px;
}
.history .name-box {
    margin-left: 0;
    position: absolute;
    left: 95px;
    top: 23px;
}
.name-box img {
    margin-bottom: 1px;
    margin-right: 5px;
}
.history .time {
    width: 80px;
    height: 40px;
    /* border: solid 1px black; */
    position: absolute;
    left: 290px;
    top: 25px;
}
.time p {
    float: right;
    font-size: 14px;
    color: #7f8fa4;
}
.history-content {
    font-size: 14px;
    color: #585d69;
    line-height: 1.5;
    height: 40px;
    width: 340px;
    /* border: solid 1px black; */
    position: absolute;
    left: 30px;
    top: 75px;
    overflow: hidden;
    /* 以下代码可以使文字超出范围自动显示省略号
    但是只有强制不换行才生效 */
    /* white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; */
}
.history-content img {
    float: right;
    margin-top: 7px;
}
.chat {
    width: calc(100% - 750px);
    height: calc(100% - 80px);
    position: absolute;
    left: 750px;
    top: 80px;
    border: solid 1px #e6e6e6;
    border-top: 0;
    /* overflow: hidden; */
}
.chat-toolbar {
    height: 70px;
    border-bottom: solid 1px #e6e6e6;
    border-left: 0;
    border-collapse:collapse;
}
.chat-toolbar .name {
    font-size: 18px;
    font-weight: 700;
    line-height: 70px;
    margin-left: 30px;
    margin-right: 10px;
    color: #585d69;
}
.chat-toolbar .toolbar-icon {
    float: right;
    margin-top: 15px;
    margin-right: 20px;
}
.chat-pages {
    height: 35px;
    width: 80px;
    font-size: 14px;
    color: #56688a;
    text-align: center;
    line-height: 35px;
    border-left: solid 1px #e6e6e6;
    margin-top: 15px;
    float: right;
}
.record-today {
    height: 295px;
    /* width: 100%; */
    position: relative;
    /* border: solid 1px black; */
}
.record-today .photo1 {
    position: absolute;
    top: 25px;
    left: 30px;
}
.record-today .photo2 {
    position: absolute;
    top: 130px;
    left: 30px;
}
.chat-content1 {
    height: 90px;
    /* width: 680px; */
    margin-right: 60px;
    position: absolute;
    top: 25px;
    left: 100px;
}
.chat-content2 {
    height: 90px;
    /* width: 680px; */
    margin-right: 60px;
    position: absolute;
    top: 130px;
    left: 100px;
}
.chat-name {
    color: #585d69;
    font-weight: 600;
    display: inline;
    float: left;
}
.chat-time {
    font-size: 14px;
    color: #7f8fa4;
    margin-left: 10px;
    margin-top: 2px;
    float: left;
    clear: right;
}
.divider1 {
    padding: 0 20px 0;
    margin: 20px 0;
    line-height: 1px;
    color: #585d69;
    border-left: solid 470px #e6e6e6;
    border-right: solid 470px #e6e6e6;
    text-align: center;
}
.content {
    clear: both;
    letter-spacing: 0.03em;
    font-size: 14px;
    color: #585d69;
    line-height: 1.7;
    font-weight: 500;
    margin-top: 25px;
    /* overflow: hidden; */
}
.record-tuesday {
    height: 350px;
    /* width: 100%; */
    position: relative;
    /* border: solid 1px black; */
}
.record-tuesday .photo1 {
    position: absolute;
    top: 10px;
    left: 30px;
}
.record-tuesday .photo2 {
    position: absolute;
    top: 115px;
    left: 30px;
}
.record-tuesday .chat-content1 {
    margin-right: 60px;
    position: absolute;
    top: 10px;
    left: 100px;
}
.record-tuesday .chat-content2 {
    position: absolute;
    top: 115px;
    left: 100px;
}
.record-tuesday .chat-content2 img {
    margin-top: 10px;
    margin-right: 10px;
}
.divider2 {
    padding: 0 20px 0;
    margin: 20px 0;
    line-height: 1px;
    color: #2399f1;
    border-left: solid 470px #e6e6e6;
    border-right: solid 470px #e6e6e6;
    text-align: center;
}
.record-new {
    height: 350px;
    position: relative;
}
.record-new .photo1 {
    position: absolute;
    top: 20px;
    left: 30px;
}
.record-new .chat-content1 {
    position: absolute;
    top: 20px;
    left: 100px;
}
.chat input {
    width: calc(100% - 100px);
    height: 50px;
    text-indent: 5em;
    border-radius: 3px;
    border: solid 1px #e6e6e6;
    position: absolute;
    top: 910px;
    left: 30px;
}
.chat .add {
    height: 50px;
    position: absolute;
    top: 910px;
    left: 30px;
}
