﻿/******************CHAT**********************/

.wrapper-chat {
    margin-top: 0px;
    border: none 1px #ccc;
}

    .wrapper-chat div.content-bottom-chat{
        margin-top:20px;
        background-color:rgba(0,0,0,0.1);
        padding:35px 10px 100px 10px;
        border-radius:10px;
    }

    .wrapper-box-titolo-chat {
        display: none;
    }

.titolo-chat {
    font-size: 15px;
    position: relative;
    float: left;
    width: 100%;
    padding: 25px 10px;
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    margin: 0px;
    line-height: 0px;
    margin-bottom: 5px;
}

    .titolo-chat div.sx {
        position: relative;
        float: left;
        width: 60%;
        text-align: left;
        font-size: 20px;
    }



.content-list-chat {
    border-radius: 10px 10px;
    background-color: #5f87b3;
}

.list-chat {
    /*min-height: 450px;
    max-height: 450px;*/
    min-height: 500px;
    max-height: 500px;
    overflow-y: auto;
    padding: 30px 10px;
    font-size: 18px;
    color: #000;
}

    .list-chat::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
        background-color: #F5F5F5;
        border-radius: 10px;
    }

    .list-chat::-webkit-scrollbar {
        width: 10px;
        background-color: #F5F5F5;
    }

    .list-chat::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background-color: #FFF;
        background-image: -webkit-gradient(linear, 40% 0%, 75% 84%, from(#4D9C41), to(#19911D), color-stop(.6,#54DE5D))
    }


    .list-chat .single-msg, .list-chat ul li.single-msg {
        position: relative;
        float: left;
        clear: left;
        width: 90%;
        padding-bottom: 0px;
        padding-top: 0px;
        background-color: rgba(163,221,101,0.8);
        padding: 20px 5px 20px 5px;
        margin-bottom: 20px;
        border-radius: 10px 10px;
    }

        .list-chat div.single-msg.tred, .list-chat ul li.single-msg.tred {
            background-color: rgba(184,92,92,0.8);
            color: #fff;
            float: right;
        }

.new-chat {
    padding-left: 0px;
    padding-right: 0px;
}

.new-chat a.btn {
    font-size:18px;
}

.content-new-chat {
    border-radius: 5px 5px;
    /*background-color: #D3D6DA;*/
    margin-top: 10px;
}

    .content-new-chat .btn-content {
        padding-top:10px;
    }

    .content-new-chat .new-chat input[type='text'], .content-new-chat .new-chat textarea {
        border-radius: 5px 5px;
        background-color: #f9f9f8;
        padding: 5px 5px;
        font-size: 14px;
        color: #000;
        border: solid 1px #000;
        width: 100%;
    }

.list-chat .data {
    position: relative;
    float: left;
    padding-left: 10px;
    padding-right: 10px;
}

.list-chat .mittente {
    position: relative;
    float: left;
    padding-left: 10px;
    padding-right: 10px;
}

.list-chat .messaggio {
    position: relative;
    float: left;
    font-size: 18px;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    text-align: left;
    overflow-x:hidden;
}

.list-chat .riga {
    position: relative;
    float: left;
    clear: left;
    width: 100%;
    padding-bottom: 0px;
    padding-top: 0px;
    margin-bottom: 0px;
}

.list-chat img.attach-icon {
    float: left;
    margin-right: 5px;
    width: 25px;
    height: auto;
}

.wrapper-chat .wrapper-allegato {
    margin-top: 10px;
}

.wrapper-chat .testo-bianco {
    color: #fff;
}

.wrapper-chat .wrapper-allegato .btn {
    font-size:18px;
}

.list-chat ul {
    position: relative;
    float: left;
    width: 100%;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

    .list-chat ul li {
        position: relative;
        float: left;
        width: 100%;
        clear: left;
        padding: 5px 5px;
    }

/*******************************************/
