/* Custom CSS */

/*Cookie*/
.div_cookie {
background: none repeat scroll 0 0 #333;
bottom: 0;
color: #fff;
height: 70px;
opacity: 0.9;
padding-bottom: 5px;
padding-top: 15px;
position: fixed;
right: 0;
text-align: center;
vertical-align: middle;
width: 100%;
z-index: 999;
}
.div_cookie a {
    color: #fff;
    font-weight: 800;  
    text-decoration: underline;
}
.div_cookie a:hover {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}
.div_cookie_button {
    color: #000;
    background-color: #fff;
    border: 1px solid #ccc;
    width: 100px;
}
/*FIX PER FONT AWAESOME*/
.fa{
    padding-top:14px !important;
}

.card {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
}
.card-header:first-child {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
}
.card-header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: #f7f7f9;
    border-bottom: 1px solid rgba(0,0,0,.125);
}
.card-block
{
    padding: 20px 20px 20px 20px;
    text-align:justify;
}
.card-header a {
    color: #124b9c;
}

/*Chats*/

.chats {
    margin:0;
    padding: 0;
    margin-top: -15px;
    margin-right: 30px;
    border:solid 1px #eee;
}

.chats li {
    list-style: none;
    padding: 8px 0 5px;
    margin: 7px auto;
    font-size: 12px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    border: solid 1px #eee;
    min-height:90px;
}

.chats li.in {
    background:#F5F9FF;
    padding:10px 5px 5px 10px;
}

.chats li.out {
    background:#CAD8EC;
    padding:10px 10px 5px 5px;
    color:#000;
}

.chats li img.avatar {
    height: 45px;
    width: 45px;
    -webkit-border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    border-radius: 50% !important;
}

.chats li.in img.avatar {
    float: left;
    margin-right: 10px;
    margin-top: 0px;
}

.chats li .name {
    font-size: 13px;
    font-weight: 400;
}

.chats li.out .datetime {
    color:#717375;
    font-size: 13px;
    font-weight: 400;
}
.chats li .datetime {
    color:#adadad;
    font-size: 13px;
    font-weight: 400;
}

.chats li.out img.avatar {
    float: right;
    margin-left: 10px;
    margin-top: 0px;
}

.chats li .message {
    display: block;
    padding: 5px;
    position: relative;
}

.chats li.in .message {
    text-align: left;
    margin-left: 65px;
   
}

.chats li.in .message .arrow {
    display: block;
    position: absolute;
    top: 8px;
    left: -8px;
    width: 0;
    height: 0;

    border-top: 8px solid red;
    border-bottom: 8px solid red;
}

.chats li.out .message .arrow {
    display: block;
    position: absolute;
    top: 8px;
    right: -8px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid #b14c4c;
}

.chats li.out .message {
    border-right: 2px solid #b14c4c;
    margin-right: 65px;
    text-align: right;
}

.chats li.out .name,
.chats li.out .datetime  {
    text-align: right;
}

.chats li .message .body {
    display: block;
    font-size: 18px;
}

.chat-form {
    margin-top: 15px;
    padding: 10px;
    margin-right: 30px;
    background-color: #eee;
    clear: both;
}

.chat-form .input-cont {
    margin-right: 55px;
}

.chat-form .input-cont input {
    margin-bottom: 0px;
}

.chat-form .input-cont input{
    border: 1px solid #ddd;
    width: 94%;
    margin-top:0;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
}

.chat-form .input-cont input {
    background-color: #fff !important;
}

.chat-form .input-cont input:focus{
    border: 1px solid #2FADE7 !important;
}

.chat-form .btn-cont {
    margin-top: -45px;
    position: relative;
    float: right;
}

.chat-form .btn-cont .btn {
    border-left: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    margin-top: 8px;
}

/*normal chat*/
.normal-chat .message {
    border: 1px solid #eaeaea;
    background: #fbfbfb;
    border-left: 1px solid #eaeaea !important;
    border-right: 1px solid #eaeaea !important;
    padding: 10px !important;
    border-radius: 5px;
}
.normal-chat li img.avatar {
    border-radius: 5px !important;
    -moz-border-radius: 5px !important;
    -webkit-border-radius: 5px !important;
    height: 45px;
    width: 45px;
}

.normal-chat li.in img.avatar, .normal-chat li.out img.avatar {
    margin-top: 0px;
}
.normal-chat li.in .message .arrow {
    border-right: 8px solid #eaeaea !important;
}
.normal-chat li.in .message .arrow {
    border-bottom: 8px solid transparent;
    border-top: 8px solid transparent;
    display: block;
    height: 0;
    left: -8px;
    position: absolute;
    top: 15px;
    width: 0;
}
.normal-chat li.out .message .arrow {
    border-left: 8px solid #eaeaea !important;
}
.normal-chat li.out .message .arrow {
    border-bottom: 8px solid transparent;
    border-top: 8px solid transparent;
    display: block;
    position: absolute;
    right: -8px;
    top: 15px;
}

.normal-chat li.in .name {
    color: #FB9800 !important;
}
.normal-chat li.out .name {
    color: #2FADE7 !important;
}
.normal-chat li .datetime {
    color: #ADADAD;
    font-size: 11px !important;
    font-weight: 400;
}
.mark-message-as-read
{
	color:#b14c4c;
}
.noMessagesDiv h4
{
    font-weight:bold;
}