html,
body {
    text-align: center;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

section {
    width: 100%;
    min-height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    border-bottom: 50px solid transparent;
    box-sizing: border-box;
}

#main {
    width: 80%;
    display: none;
    margin: auto;
}

ul,
li {
    margin: 0;
    padding: 0;
    width: 100%;
    display: block;
}

ul {
    height: 52px;
    margin-top: 20px;
    margin-left: -5px;
    border: 2px solid #bebebe;
    border-radius: 3px;
    padding: 3px;
}

ul li {
    position: relative;
    list-style: none;
    height: 50px;
    line-height: 50px;
    border-radius: 3px;
    text-overflow: ellipsis;
    text-align: center;
}

li span {
    width: 70%;
    height: 50px;
    line-height: 50px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: auto;
    cursor: pointer;
}

li span:hover {
    font-weight: bold;
}


/* list_arrow */

.li_list {
    width: 15px;
    height: 15px;
    background-image: url("../img/arrow2.png");
    background-size: 100%;
    position: absolute;
    top: 50%;
    right: 0;
    margin-right: 10px;
    transform: translateY(-50%);
}

.li_list:hover {
    background-image: url("../img/arrow.png");
}

#list_menu {
    width: 100px;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.4);
    display: none;
    background-color: #fff;
    z-index: 2;
}

#list_menu span {
    width: 100%;
    height: 30px;
    line-height: 30px;
    display: block;
    border-bottom: 0.5px solid #bebebe;
    cursor: pointer;
}

#list_menu span:hover {
    background-color: #bebebe;
}

#list_menu:active {
    display: block;
}


/* top conversations div */

.ConversationsTop {
    width: 100%;
}

.top_ul {
    position: relative;
    display: block;
}

.default_ul {
    display: block;
}

.connect_ul {
    display: block;
}

.default_li {
    float: left;
    display: block;
}

.add_li {
    float: left;
    margin-left: 1%;
    display: block;
}

.arrowflow {
    width: 25px;
    position: absolute;
    top: -55%;
    left: 50%;
    transform: translateX(-50%);
}

.foot_data {
    display: none;
}


/* Box */

#FirstBox {
    width: 40%;
    height: 190px;
    position: fixed;
    top: 45%;
    left: 50%;
    transform: translate(-45%, -45%);
    border-radius: 3px;
    padding: 0;
    z-index: 100;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
    display: block;
}

#FirstBox .FirstBox_header {
    width: 100%;
    height: 30px;
    line-height: 30px;
    background-color: black;
    color: #fff;
    text-align: left;
    border-radius: 3px 3px 0 0;
}

#FirstBox .FirstBox_header span {
    width: 100%;
    padding-left: 10px;
}

#FirstBox .FirstBox_content {
    width: 100%;
    height: 110px;
    line-height: 50px;
    font-size: 16px;
    background-color: #fff;
    display: block;
}

#FirstBox .FirstBox_content #first_conversation_content {
    width: 90%;
    height: 30px;
    line-height: 30px;
    padding-left: 5px;
    font-size: 18px;
    border: 0.5px solid #999999;
    border-radius: 2px;
}

#FirstBox .FirstBox_footer {
    width: 100%;
    height: 50px;
    background-color: #fff;
    border-radius: 0 0 3px 3px;
}

#FirstBox .FirstBox_footer input {
    width: 40%;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    border: 0;
    border-radius: 2px;
    background-color: #999999;
    color: #fff;
    margin-top: 5px;
    margin-bottom: 15px;
    cursor: pointer;
}

#FirstBox .FirstBox_footer input:hover {
    background-color: #666666;
}

#HintBox {
    width: 30%;
    position: fixed;
    top: 45%;
    left: 50%;
    transform: translate(-45%, -45%);
    border-radius: 3px;
    padding: 0;
    z-index: 100;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
    display: none;
    animation: divSlide 0.5s;
}

#HintBox .HintBox_header {
    width: 100%;
    height: 30px;
    line-height: 30px;
    background-color: black;
    color: #fff;
    text-align: left;
    border-radius: 3px 3px 0 0;
}

#HintBox .HintBox_header span {
    width: 100%;
    padding-left: 10px;
}

#HintBox .HintBox_content {
    width: 100%;
    line-height: 36px;
    font-size: 20px;
    background-color: #fff;
    padding: 15px 0;
}

#HintBox .HintBox_footer {
    width: 100%;
    height: 40px;
    background-color: #fff;
    border-radius: 0 0 3px 3px;
}

#HintBox .HintBox_footer input {
    width: 40%;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    border: 0;
    border-radius: 2px;
    background-color: #999999;
    color: #fff;
    margin: 0px 10px 5px 5px;
    cursor: pointer;
}

#HintBox .HintBox_footer input:hover {
    background-color: #666666;
}

#Box_background {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(198, 198, 198, 0.6);
    display: none;
}

#EnterBox {
    width: 40%;
    height: 135px;
    position: fixed;
    top: 45%;
    left: 50%;
    transform: translate(-45%, -45%);
    border-radius: 3px;
    padding: 0;
    z-index: 100;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
    display: none;
    animation: divSlide 0.5s;
}

@keyframes divSlide {
    0% {
        opacity: 0;
        top: 40%;
    }
    100% {
        opacity: 100;
        top: 45%;
    }
}

#EnterBox .EnterBox_header {
    width: 100%;
    height: 35px;
    line-height: 35px;
    background-color: black;
    color: #fff;
    text-align: left;
    border-radius: 3px 3px 0 0;
}

#EnterBox .EnterBox_header span {
    width: 100%;
    padding-left: 10px;
}

#conversation_id:before {
    content: "#";
}

#EnterBox .EnterBox_content {
    width: 100%;
    height: 60px;
    background-color: #fff;
}

#EnterBox .EnterBox_content input {
    width: 90%;
    height: 30px;
    margin-top: 13px;
    font-size: 18px;
    border: 1px solid #999999;
    border-radius: 2px;
    padding-left: 5px;
}

#EnterBox .EnterBox_footer {
    width: 100%;
    height: 40px;
    background-color: #fff;
    border-radius: 0 0 3px 3px;
}

#EnterBox .EnterBox_footer input {
    width: 40%;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    border: 0;
    border-radius: 2px;
    background-color: #999999;
    color: #fff;
    margin: 0px 10px 5px 5px;
    cursor: pointer;
}

#EnterBox .EnterBox_footer input:hover {
    background-color: #666666;
}

#EnterBox #conversation_id {
    display: none;
}


/*
/* footer */


/*
#ExBox{
    width: 80%;
    height: 35px;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translatex(-50%);
    text-align: left;
    margin: auto;
    padding: 1%;
}
#ExBox hr{
    border: 1px solid #ededed;
}
#ExBox .ExBox_header{
    width: 100%;
    height: 25px;
    line-height: 25px;
    font-size: 20px;
}
#ExBox .ExBox_header span{
    padding-left: 2%;
    font-size: 14px;
    color: #999999;
}
#ExBox .ExBox_content{
    width: 100%;
    height: 40px;
    margin-top: .5%;
    position: relative;
}
#ExBox .ExBox_content a{
    transform:none;
}
#ExBox .ExBox_content span{
    width: 100%;
    height: 50px;
    line-height: 50px;
    margin: auto;
    background: #cf3535;
    display: block;
    border-radius: 3px;
    text-align: center;
}
#ExBox #ExBox_btn{
    width: 25px;
    height: 25px;
    position: absolute;
    top: 30px;
    right: 20px;
    cursor: pointer; 
    background-image: url("../img/expand.png");
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
}
#ExBox #ExBox_btn:hover{
    background-color: #bebebe;
    border-radius: 3px;
}

footer{
    display: none;
}
*/


/* change page arrow */

#back_page {
    width: 70px;
    height: 70px;
    position: fixed;
    left: 2%;
    bottom: 3%;
    background-image: url("../img/back-arrow.png");
    background-size: 50px;
    background-position: top;
    background-repeat: no-repeat;
    cursor: pointer;
    display: none;
}

#back_page:hover {
    background-image: url("../img/back-arrow2.png");
}

#back_page span {
    width: 100%;
    height: 20px;
    line-height: 20px;
    position: absolute;
    right: 0;
    bottom: 0;
    color: gray;
}

#back_page:hover span {
    color: #444;
}

#next_page {
    width: 70px;
    height: 70px;
    position: fixed;
    right: 2%;
    bottom: 3%;
    background-image: url("../img/next-arrow.png");
    background-size: 50px;
    background-position: top;
    background-repeat: no-repeat;
    cursor: pointer;
    display: none;
}

#next_page:hover {
    background-image: url("../img/next-arrow2.png");
}

#next_page span {
    width: 100%;
    height: 20px;
    line-height: 20px;
    position: absolute;
    right: 0;
    bottom: 0;
    color: gray;
}

#next_page:hover span {
    color: #444;
}


/* Alert Message */

.info-msg,
.success-msg,
.warning-msg,
.error-msg,
.delete-msg {
    margin: 10px 0;
    padding: 10px;
    border-radius: 3px 3px 3px 3px;
    z-index: 10;
}

.info-msg {
    color: #cfe0f9;
    background-color: #16335F;
}

.success-msg {
    color: #DEDBA7;
    background-color: #33655b;
}

.delete-msg {
    color: #a1edc4;
    background-color: #7c437a;
}

.warning-msg {
    color: #71a8d6;
    background-color: #fcb84b;
}

.error-msg {
    color: #fffadf;
    background-color: #d14035;
}

.fixed {
    position: fixed;
    bottom: 0;
    right: 0;
}

.success {
    color: #DEDBA7;
}

.error {
    color: #fffadf;
}

.info {
    color: #cfe0f9;
}

.hidden {
    display: none;
}


/* Fonts */

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/materialicons.woff2) format('woff2');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.button {
    color: #aaa;
    cursor: pointer;
    vertical-align: middle;
    margin-top: -4px;
}