@import url(https://fonts.googleapis.com/css?family=Lato:400,700);

*,
*:before,
*:after {
    box-sizing: border-box;
}

body {
    /*background: #c5ddeb;
    background: #6b9ebb;*/
    background: #0f354b;
    font: 14px/20px "Lato", Arial, sans-serif;
    padding: 25px 0;
    color: white;
}

.container {
    margin: 0 auto;
    width: 750px;
    background: #444753;
    border-radius: 5px;
}

.people-list {
    width: 260px;
    float: left;
}

.people-list .search {
    position: relative;
    padding: 20px;
}

.people-list input {
    border-radius: 3px;
    border: none;
    color: white;
    background: #6a6c75;
    height: 41px;
    font-size: 14px;
    padding: 10px 8px;
    padding-left: 25px;
}

.people-list input::placeholder {
    color: rgba(245, 245, 245, 0.679);
}

.people-list .fa-search {
    position: absolute;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: darkgrey;
}

.people-list ul {
    padding: 20px;
    /* height: 770px; */
    height: 515px;
    /*height: 563px;*/
}

.people-list ul li {
    padding-bottom: 20px;
    /*background-color: gray;*/
    background-color: #6a6c75;
}

.people-list img {
    float: left;
}

.people-list .about {
    /* float: left; */
    margin-top: 8px;
}

.people-list .about {
    padding-left: 8px;
}

.people-list .status {
    color: #92959e;
}
.online {
    margin-top: 6px;
}

.chat {
    width: 490px;
    float: left;
    background: #f2f5f8;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    color: #434651;
}

.chat .chat-header {
    padding: 20px;
    border-bottom: 2px solid white;
}
.chat ul {
    padding: 0;
}
.chat .chat-header img {
    float: left;
}

.chat .chat-header .chat-about {
    float: left;
    padding-left: 6px;
    margin-top: 6px;
}

.chat .chat-header .chat-with {
    font-weight: bold;
    font-size: 16px;
}

.chat .chat-header .chat-num-messages {
    color: #92959e;
}

.chat .chat-header .fa-star {
    float: right;
    color: #d8dadf;
    font-size: 20px;
    margin-top: 12px;
}

.chat .chat-history {
    padding: 10px 11px 10px;
    border-bottom: 2px solid white;
    overflow-y: scroll;
    /* height: 575px; */
    height: 487px!important;
    position: relative!important;
    margin-bottom: 10px!important;
}

.chat .chat-history .message-data {
    margin-bottom: 15px;
}

.chat .chat-history .message-data-time {
    color: #a8aab1;
    padding-left: 6px;
}

.chat .chat-history .message {
    color: black;
    padding: 18px 20px;
    line-height: 26px;
    font-size: 16px;
    border-radius: 7px;
    margin-bottom: 30px;
    width: 80%;
    position: relative;
    word-wrap: break-word;
}

.chat .chat-history .message:after {
    bottom: 100%;
    left: 7%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #86bb71;
    border-width: 10px;
    margin-left: -10px;
}

.chat .chat-history .my-message {
    background: #86bb71;
}

.chat .chat-history .other-message {
    background: #94c2ed;
}

.chat .chat-history .other-message:after {
    border-bottom-color: #94c2ed;
    left: 93%;
}

.chat .chat-message {
    padding: 30px;
}

.chat .chat-message textarea {
    width: 100%;
    border: none;
    padding: 10px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    resize: none;
    background-color: gainsboro;
}

.chat .chat-message .fa-file-o,
.chat .chat-message .fa-file-image-o {
    font-size: 16px;
    color: gray;
    cursor: pointer;
}

.chat .chat-message button {
    position: absolute;
    top: 3px;
    right: 0;
    color: #94c2ed;
    font-size: 16px;
    padding: 25px 4px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    font-weight: bold;
    background: #f2f5f8;
}

/* .chat .chat-message button:hover {
    color: #75b1e8;
} */
.chat .chat-message button.active {
    /* color: #75b1e8; */
    color: #4790d3;
}
.refreshbtn {
    padding: 5px 245px;
    font-size: 17px;
    color: grey;
    background-color: gainsboro;
    text-decoration: none;
    position: absolute;
    bottom: 76px;
    cursor: pointer;
}

.online,
.offline,
.me {
    margin-right: 3px;
    font-size: 10px;
}

.online {
    color: #86bb71;
}

.offline {
    color: #e38968;
}

.me {
    color: #94c2ed;
}

.align-left {
    text-align: left;
}

.align-right {
    text-align: right;
}

.float-right {
    float: right;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

li.clearfix:hover {
    border-color: black !important;
}

li.clearfix.active {
    border-color: black !important;
}

.headerimg {
    width: 60px;
    height: 60px;
    margin: 0 10px;
    border-radius: 50%;
    border: 2px #777 solid;
}


li::marker {
    color: transparent;
}

ul.list {
    overflow-y: scroll;
}
ul.list::-webkit-scrollbar {
    display: none;
}

@media(max-width: 780px) {
    .logo {
        padding: 15px 26px!important;
        font-size: 17px!important;
      }
    .container {
        width: 370px;
    }

    .people-list {
        width: 115px;
    }

    .chat {
        width: 255px;
    }

    .chat .chat-header {
        padding: 15px;
    }

    /* ///////////////// left box ///////////////// */
    .people-list .search {
        padding: 15px;
        height: 75px;
    }

    .people-list .search button {
        top: 24px !important;
    }

    #myInput {
        width: 100%;
        font-size: 13px;
    }

    .people-list ul {
        padding: 10px;
        /* height: 770px; */
        height: 525px;
    }

    .people-list ul li {
        height: 60px;
        width: 100px;
    }

    .outimg {
        width: 30px !important;
        height: 30px !important;
        margin: 0 2px !important;
    }

    .people-list .about {
        /* padding-left: 8px; */
        margin: 0;
    }

    .name {
        font-size: 12px;
        display: flex;
        margin-top: 3px;
    }

    .status {
        position: relative;
        font-size: 8px;
        display: flex;
    }

    .status i {
        position: absolute;
        top: 50%;
        left: -1px;
        transform: translateY(-50%);
        font-size: 8px;
        margin-top: 0!important;
    }

    .status span {
        padding-left: 9px;
    }

    /* ///////////////// right box ///////////////// */

    .chat-header {
        height: 70px;
    }

    .headerimg {
        width: 45px;
        height: 45px;
        margin: 0;
    }

    .chat-about {
        padding-left: 4px;
    }

    .chat-about .chat-with {
        font-size: 12px !important;

    }

    .chat-about .chat-num-messages {
        font-size: 10px;
    }

    .bars {
        right: 10px;
    }

    /* ///////////////// */
    .chat-history {
        padding: 10px !important;
    }

    .chat-history::-webkit-scrollbar {
        display: none;
    }
    .chat-history ul {
        padding: 0;
    }

    .chat-history ul li {}

    .chat-history ul li .message-data {
        margin-bottom: 3px!important;
    }

    .chat-history ul li .message-data span.message-data-time {
        font-size: 10px !important;
    }
    .chat-history ul li.clearfix .message-data i {
        margin-right: 10px;
    }
    .chat-history ul li .message-data span.message-data-name {
        font-size: 12px;
        margin-left: 10px;
    }
    .chat-history ul li.clearfix .message-data span.message-data-name {
        margin-left: 0;
    }
    .chat-history ul li .message-data i {
        font-size: 9px;
    }
    .chat-history ul li .message {
        padding: 10px 10px!important;
        line-height: 15px!important;
        font-size: 13px!important;
        margin-bottom: 9px!important;
        word-wrap: break-word;
    }
    .chat .chat-history .message:after {
        bottom: 94%;
    }

    nav div:first-of-type span:first-of-type,
    nav div:first-of-type a:first-of-type {
        font-size: 12px;
        margin: 0 5px;
    }
/*////////////////////*/
.chat-message {
    height: 80px!important;
}
.chat-message form {}
.chat-message form textarea {
    width: 84%!important;
}
.chat-message form button {
    font-size: 13px!important;
    padding: 26px 4px!important;
    top: 5px!important;
}
.refreshbtn {
    position: unset!important;
    padding: 5px 127px !important;
    font-size: 14px !important;
    color: grey;
    text-decoration: none;
}

.showuserheader {
    padding: 20px!important;
    letter-spacing: 0.5;
}

/*///////////*/
.chathelp {
    font-size: 19px;
    margin-top: 50px;
}
/*/////////////////// search view  //////////////////////*/
.addp {
    font-size: 9px!important;
    margin: 0;
}
.nothingshowp1 {
    font-size: 21px;
    margin-top: 50px;
    padding: 50px 20px 5px;
}
.nothingshowp2 {
    font-size: 13px;

}
.showuserbox .showuserimg {
    width: 100px;
    height: 100px;
    margin-top: 20px;
}
.showuserbox .showusername {
    font-size: 17px;
}
.showuserbox .showuserid {
    top: 3px;
    left: 20px;
}
.showuserbox .showuserbio {
    font-size: 12px;

}
.showuserbox form button {
    font-size: 13px;

}
/*/////////////////// profile view  //////////////////////*/
.proimg {
    width: 100px;
    height: 100px;
    margin-top: 30px;
}
.prousername,
.proname {
    font-size: 13px;
    padding: 10px 15px;
}
.prousername span,
.proname span {
    font-size: 14px;
}

.probbio {
    font-size: 13px;
    padding: 10px 15px;
}
.probio {
    padding: 12px 16px;
    padding-top: 0;
    font-size: 13px;
}
.proemail,
.prophone {
    font-size: 13px;
}
.proedit {
    right: 20px;
    top: 100px;
    font-size: 11px;
    padding: 3px 5px;
}
/*/////////////////// edit view  //////////////////////*/
.inpphoto {
    width: 150px;
    font-size: 10px;
    padding: 15px;
}
.flexcont label {
    font-size: 13px;

}
.inp {
    font-size: 14px;
}
.btnchange {
    font-size: 14px;
}
/*/////////////////// friendrequests view  //////////////////////*/
.line {
    margin: 10px 15px;
    height: 80px;
}
.line .lineimg {
    width: 45px!important;
    height: 45px!important;
    margin-left: 15px!important;
    top: 40%!important;
}
.linepname {
    margin-left: 67px!important;
    font-size: 17px!important;
    padding-top: 25px!important;
    margin-bottom: 0px!important;
  }
.lineptext {
    margin: 0!important;
    font-size: 10px!important;
    margin-right: 46px!important;
    position: relative!important;
    bottom: 6px!important;
  }
  .linebutton {
    right: 3px!important;
    bottom: 9px!important;
    font-size: 10px!important;
    padding: 2px 4px!important;
    color: #fff!important;
    background-color: #007bff!important;
    border-color: #007bff!important;
  }

/*/////////////////// login view  //////////////////////*/

  .logincont {
      width: 335px!important;
    }
    .logincont button{
        margin: 10px 40px!important;
        font-size: 15px!important;
    }
    .logincont .card-header {
        font-size: 20px!important;

    }
    .logincont label {
        font-size: 14px!important;
    }
    .logincont label.form-check-label {
        font-size: 13px!important;
    }
    .logincont a {
        font-size: 11px;
    }
    /*/////////////////// request view  //////////////////////*/

    .requestcont {
        width: 335px!important;
      }
      .requestcont button{
          margin: 10px 40px!important;
          font-size: 15px!important;
      }
      .requestcont .card-header {
          font-size: 20px!important;

      }
      .requestcont label {
          font-size: 14px!important;
      }
      .requestcont label.form-check-label {
          font-size: 13px!important;
      }
      .requestcont a {
          font-size: 11px;
      }

/*///////////////////////////////////////*/
.mobile {
    font-size: 15px!important;
}
.firsttimeleftp.mobile {
    font-size: 13px!important;
}
/*///////////////////////////////////////*/
.barsul {
    right: 5px;
    top: 29px;
}
.barsa li {
    padding: 5px 10px;
}
}
