.setting {
    color: #f2f2f2;
    vertical-align: middle;
    position: absolute;
    padding: 30px;
    background: #312e31;
    border-radius:  12px 12px 12px 12px ;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.52),5px 5px 5px rgba(0, 0, 0, 0.54);
    display: none;
}
.blur {
    width: 100%;
    height: 100%;
    background-color: #000000c9;
    text-align: center;
    position: absolute;
    display: none;
}
.labelTime{
    margin-left: 18%;
}
input[type=text]{

    width: 60px;
    height: 10px;
    padding: 8px;
    margin: 5px;
    margin-left: 8px;
    color: #000000;

    border: 1px solid #2f2b2b2f;
    border-radius: 7px;
    resize: vertical;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.submit{
    float: right;
    padding: 10px 19px;
    margin: 5px;
    margin-left: 8px;
    color: #ffffff;
    background-color: #045b0b;
    border: 1px solid #2f2b2b2f;
    border-radius: 20px;
    resize: vertical;
    box-shadow: 6px 6px 12px -2px rgba(0,0,0,0.65);
    -webkit-box-shadow: 6px 6px 12px -2px rgba(0,0,0,0.65);
    -moz-box-shadow: 6px 6px 12px -2px rgba(0,0,0,0.65);
}
.submit:hover {
    background-color: #45a049;
}

.cancel{
    text-align: center;
    box-shadow: 6px 6px 12px -2px rgba(0,0,0,0.65);
    -webkit-box-shadow: 6px 6px 12px -2px rgba(0,0,0,0.65);
    -moz-box-shadow: 6px 6px 12px -2px rgba(0,0,0,0.65);
    padding: 10px 15px;
    margin: 5px;
    margin-left: 8px;
    color: #ffffff;
    background-color: #a91f1f;
    border: 1px solid #2f2b2b2f;
    border-radius: 20px;

}
.cancel:hover {
    background-color: #a04545;
}


.dataIframe{
    width:100%;
    height:99%;
    border: none;
    display:none;


}
.header {
    padding: 10px;
    text-align: center;
    color: #f2f2f2;
}

.header h1 {
    font-size: 10px;
}

/* Style the top navigation bar */
.topNav {
    overflow: hidden;
    background-color: #161616;
    padding-bottom: 5px;


}

/* Style the topNav links */
.topNav a {
    border-radius:  12px ;
    margin: 8px;

    float: left;
    display: block;
    background-color: #2a2c3196;
    color: #f2f2f2;
    text-align: center;
    padding: 15px 10px;
    text-decoration: none;
}

/* Change color on hover */
.topNav a:hover {
    background-color: #ddd;
    color: black;
}

.topNav input {
    border-radius:  12px ;
    margin: 8px;
    float: left;
    display: block;
    background-color: #2a2c3196;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 10px;
    text-decoration: none;
    border:none;
}

.topNav input:hover {
    background-color: #ddd;
    color: black;
}



body {font-family: Arial, Helvetica, sans-serif;}

html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background: #161616;

    overflow-x: hidden;



}
body {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

}
::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-thumb {
    background-color: #4c4c6a;
    border-radius: 2px;
}

.msg-container:first-of-type {
    margin-top: 20px;
    position:relative;
    margin-left: 0%;

    animation: slide 2s 1;

    width:100%;
    /* Fix the elements being visible before the animation */
    opacity: 0;
    /* After the animation remain visible */
    -webkit-animation-fill-mode: forwards; /* Safari 4.0 - 8.0 */
    animation-fill-mode: forwards;
}




@keyframes slide {
    from { right: -150%; margin-top: 1; opacity: 0;}
    to { right: 0%; margin-top: 50px ; opacity: 1; }
}




.chatbox {
    width: 100px;
    height: 400px;
    max-height: 400px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);
}
.chat-window {
    width:100%;
    height:100%;
    flex: auto;

    background: #161616;
    overflow-x: hidden;

}

.msg-container {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 0 0 10px 0;
    padding: 0;
}
.msg-box {
    display: flex;
    background: #689775;
    padding: 10px 10px 0 10px;
    margin-left: 20px;
    border-radius:  12px 12px 12px 0px ;
    max-width: 85%;
    width: auto;
    float: center;
    box-shadow: 0 0 3px rgba(0,0,0,.12),0 2px 4px rgba(0,0,0,.24);
}
.user-img {
    display: inline-block;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    background: #2671ff;
    margin: 0 10px 10px 0;
}
.flr {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: calc(100% - 80px);
}
.messages {
    flex: 1 0 auto;
}
.msg {
    display: inline-block;
    font-size: 13pt;
    line-height: 13pt;
    color: rgba(255, 255, 255, 0.897);
    margin: 0 0 4px 0;
}
.msg:first-of-type {
    margin-top: 8px;
}
.timestamp {
    color: rgba(0, 0, 0, 0.996);
    font-size: 13pt;
    margin-bottom: 10px;
    font-weight: 400;
}
.username {
    margin-right: 3px;
}
.posttime {
    margin-left: 3px;
}
.msg-self .msg-box {
    border-radius: 6px 0 0 6px;
    background: #2671ff;
    float: right;
}
.msg-self .user-img {
    margin: 0 0 10px 10px;
}
.msg-self .msg {
    text-align: right;
}
.msg-self .timestamp {
    text-align: right;
}
.c1{
    color: #0be61d;
}
.c2{
    color: #2d30d0;
}
.c3{
    color: #d9ff00;
}
.c4{
    color: #ff46fb;
}
.c5{
    color: #900000;
}


.cb1{
    background-color: #6aff76;
}
.cb2{
    background-color: #6b6efc;
}
.cb3{
    background-color: #fcff3a;
}
.cb4{
    background-color: #ff45fc;
}
.cb5{
    background-color: #fa4848;
}