﻿.message-textarea textarea {
    width: 656px !important;
    height: 130px !important;
    margin:5px;
    max-height:130px;
    min-height:130px;
    max-width:656px;
    min-width:656px;
}

#search-btn {
    top: -17px !important;
}

.search-box input[type='text'] {
    height: 20px !important;
    width: 271px !important;

}

.btn-messnger {
    border: 1px solid #808080;
    height: 25px;
    background-color: #eeeaea;
    background-image: url("/Content/img/messanger/new.png");
    background-repeat: no-repeat;
    background-position: top left;
    background-position-y: center;
    text-align: center;
    min-width: 150px;
    cursor: pointer;
}

a {
    text-decoration: none;
}
.chat-block {
    position: relative;
    z-index: 120;
    font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif;
    font-size: 13px;
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
}

    .chat-block .chat-name {
        float: left;
        font-weight: bold;
        color: #6c6c6c;
        width: 180px;
        height: 18px;
        text-wrap: none;
        overflow: hidden;
        text-wrap: none;
        overflow-x: hidden;
    }

    .chat-block .chat-message {
        overflow: hidden;
        display: inline-block;
        font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif;
        width: 180px;
        max-height: 50px;
        font-size: 12px;
        color: #B6B6B6;
        margin-top: 5px;
    }

    .chat-block .chat-name .chat-message {
        font-weight: bold;
        font-size: 11px;
        color: #B6B6B6;
        width: 180px;
        height: 60px;
    }

    .chat-block .chat-name:hover {
        color: #fff;
    }

    .chat-block .chat-message:hover {
        color: #fff;
    }

    .chat-block .chat-image img {
        width: 60px;
        height: auto;
    }

    .chat-block .chat-image {
        width: 65px;
        float: left;
    }


    .chat-block:hover {
        background-color: rgb(225, 113, 5);
        cursor: pointer;
        color: #fff !important;
        border-bottom: none;
    }

        .chat-block:hover .chat-name {
            color: #fff;
        }

        .chat-block:hover .chat-message {
            color: #fff;
        }

.c-name {
    width: 5000px;
}

#imgLoader {
    position: absolute;
    z-index: 101;
    height: 100px;
    width: 100px;
    top: 50%;
    left: 40%;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("/Content/img/ajax-loader.gif");
    display: none;
}
/*media screen*/
.message-area {
    margin: 5px;
    margin-bottom: 0px;
    border: 1px solid #787878;
    border-bottom-width: 0px;
    padding: 5px;
    padding-bottom: 0px;
    height: 500px;
    overflow: auto;
}

    /**Box invio*/
    .message-area .send {
        padding: 10px;
        text-align:right;
    }

        .message-area .send .nickname, .message-area .send .nickname a, .message-area .send .nickname link {
            color: #ff7f02;
            font-weight: bold;
        }

        .message-area .send img {
            width: 40px;
            height: auto;
            padding: 5px;
        }

        .message-area .send .message {
            display: inline-block;
            max-width: 532px;
            padding: 0px;
            min-width: 200px;
            color: #717171;
            font-size: 13px;
            margin-top: 5px;
        }

        .message-area .send .date {
            position: relative;
            text-align: left;
            top: 18px;
            width: 100px;
        }

    /**Box ricezione*/
    .message-area .recived {
        padding: 10px;
        text-align: left;
    }

        .message-area .recived .nickname, .message-area .recived .nickname a, .message-area .recived .nickname link {
            color: #ff7f02;
            font-weight: bold;
        }

        .message-area .recived img {
            width: 40px;
            height: auto;
            padding: 5px;
        }

        .message-area .recived .message {
            display: inline-block;
            max-width: 533px;
            padding: 0px;
            color: #717171;
            font-size: 13px;
            margin-top: 5px;
            text-align: justify;
        }

        .message-area .recived .date {
            position: relative;
            top: 18px;
            margin-left: 568px;
        }

.dayName {
    text-align: center;
    font-size: 11px;
    font-weight: bold;
    color: #6c6c6c;
}

.chat-block .delete_btn {
    position: relative;
    top: -17px;
    left: 5px;
    float: right;
    width: 16px;
    height: 16px;
    background-image: url("/Content/img/messanger/close_btn_16x16.png");
    background-position: top;
    background-repeat: no-repeat;
    cursor: pointer;
}

.notViewed, .notViewed .chat-name,
.notViewed .chat-message {
    background-color: #eb9c50;
    color: #fff;
}

#conversationUsers {
    float: right;
    max-width: 500px;
    padding-right: 5px;
    vertical-align: middle;
    font-size: 11px;
    font-weight: bold;
}

.btn-drmessnger {
    max-width: 100px;
}

#messageStatus {
    text-align: center;
    font-size: 11px;
    border: 1px Solid #787878;
    border-top-width: 0px;
    margin-left: 5px;
    margin-right: 5px;
}
.message-textarea input[type='button'] {
  width: auto;
  height: 30px;
  font-weight: bold;
  color: #fff;
  font-size: 12px;
  background-color: rgb(78, 105, 162);
  text-align: center;
  font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif;
}

.right {
    float:right;
}