.box-header {
    color: #444;
    display: block;
    padding: 10px;
    position: relative;
    background-color: #FFFFFF;
}
.box-header.with-border {
    border-bottom: 1px solid #EFC34A;
}
.box-header>.fa, .box-header>.glyphicon, .box-header>.ion, .box-header .box-title {
    display: inline-block;
    font-size: 18px;
    margin: 0;
    line-height: 1;
}
.box-header>.box-tools {
    position: absolute;
    right: 10px;
    top: 5px;
}

.box-body {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    padding: 1px;
}
.direct-chat-messages {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
    padding: 15px;
    height: 400px;
    overflow: auto;
}

.box-footer {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-top: 1px solid #EFC34A;
    padding: 10px;
    background-color: #fff;
}
.upload_attachmentfile {
    position: absolute;
    opacity: 0;
    right: 0;
    top: 0;
}
.fileDiv {
    position: relative;
    overflow:hidden;
}
.box.box-warning {
    border-top-color: #f39c12;
}

.box {
    position: relative;
    border-radius: 3px;
    background: #ffffff;
    border-top: 3px solid #d2d6de;
    margin-bottom: 20px;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.boxlogin{
    position: absolute;
    top: 50%;
    left: 50%;
    height: 700px;
    width: 300px;
    margin-top: 100px;
    padding-top: 100px;
    transform: translate(-50%,-50%);
    text-align: center;
}
.boxlogin .display-4{
    color: #28A745;
    display: block;
}
.display-4{
    font-size: 30px;
    font-weight: 600;
    animation: text 2s 1;
}
@keyframes text {
    0%{
        color: #F3CB5C;
        margin-bottom: -40%;
    }
    30%{
        letter-spacing: 25px;
        margin-bottom: -40px;
        font-size: 60px;
    }
    85%{
        letter-spacing: 8px;
        margin-bottom: -40px;
        font-size: 40px;
    }
}
.boxlogin input[type="text"],.boxlogin input[type = "password"]{
    border: 0;
    background: none;
    display: block;
    margin: 20px auto;
    text-align: center;
    border: 2px solid #28A745;
    padding: 14px 10px;
    width: 200px;
    outline: none;
    border-radius: 24px;
    transition:0.25s;
    color: #28A745;
}
.boxlogin input[type = "number"]{
    border: 0;
    background: none;
    display: block;
    margin: 2px auto;
    text-align: center;
    border: 2px solid #28A745;
    padding: 1px 1px;
    width: 50px;
    outline: none;
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    transition:0.25s;
    color: #28A745;
}

.boxlogin input[type="text"]:focus, .boxlogin input[type = "password"]:focus{
    width: 280px;
    border-color:#2ecc71;
}
.boxlogin input[type="number"]:focus{
    width: 50px;
    border-color:#2ecc71;
}
.boxlogin button[type="submit"]{
    border: 0;
    background: none;
    display: block;
    margin: 20px auto;
    text-align: center;
    border: 2px solid #28A745;
    outline: none;
    border-radius: 24px;
    transition:0.25s;
    color: #28A745;
}
.boxlogin button[type="submit"]:hover{
    background:#28A745;
    color: #F5D170;
}
.search-box {
    border: 1px solid #28A745;
    border-radius: 35px;
}
.search-box:hover > .search-text{
    width: 200px;
    padding: 0 15px;
}
.search-box:hover > .search-btn{
    background: white;
}
.search-btn {
    color: #e84118;
    float: right;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid #28A745;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
}
.search-text {
    border: none;
    background: none;
    outline: none;
    float: left;
    padding: 0px;
    color: #28A745;
    font-size: 16px;
    transition: 0.4s;
    line-height: 35px;
    width: 115px;
    padding: 0 6px;
}
.macro{
    margin-top:2px;width:80%;border-radius:4px;padding:2px;display:flex;
    margin-bottom: 3px;
}
.msj-rta{
    float:right;background:#F5F5F5;
    border: 1px solid #F39C12;
}
.msj{
    float:left;background:#FFFFFF;
    border: 1px solid #28A745;
    padding-left: 1px;
}
.msj:before{
    position:relative;
    width: 0;
    height: 0;
    content:"";
    top:0px;
    left:-15px;
    border-style: solid;
    border-width: 0 13px 13px 0;
    border-color: transparent #28A745 transparent transparent;         
}
.msj-rta:after{
    position:relative;
    width: 0;
    height: 0;
    content:"";
    top:-15px;
    left:40px;
    border-style: solid;
    border-width: 13px 13px 0px 0px;
    border-color: transparent #F39C12 transparent transparent;
}
.text{
    width:75%;display:flex;flex-direction:column;
}
.text > p:first-of-type{
    width:100%;margin-top:0;margin-bottom:auto;line-height: 13px;font-size: 12px;
}
.text > p:last-of-type{
    width:100%;text-align:right;color:silver;margin-bottom:-7px;margin-top:auto;
}
.text-l{
    float:left;padding-right:10px;
}        
.text-r{
    float:right;padding-left:10px;
}