/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Feb 11, 2014, 12:22:52 PM
    Author     : ionut
*/

h4 {
 text-decoration:none;
 
}
#chat-window {
    position: relative;

    width: 100%;/*630px;*/
    min-height: 500px;

    margin: 0px;
    /*border: 1px solid rgba(48, 80, 89, 0.14);
    border-radius: 3px;*/
    overflow: hidden;
    background: #ececec;
}

#posts-window {
    height: 430px;
    background: #FEFEFE;
    overflow-y: auto;
   /* border-bottom: 1px solid rgba(48, 80, 89, 0.24);

    box-shadow: inset 0 0 2px rgba(48, 80, 89, 0.24);
    -moz-box-shadow: inset 0 0 2px rgba(48, 80, 89, 0.24);
    -webkit-box-shadow: inset 0 0 2px rgba(48, 80, 89, 0.24);
    -o-box-shadow: inset 0 0 2px rgba(48, 80, 89, 0.24);*/
}

#txtarea-post {
    
    resize: none;
    width: 100%;
    height: 45px;
    margin-left: 8px;
    border: 1px solid rgba(48, 80, 89, 0.34);
    border-radius: 3px;

    position: absolute;
    bottom: -49px;
    left:0px;
    overflow:auto;
}
#posts-window .post > div {
    width: 100%;
}
.forum_btn {
    float: right;
    font-size: 16px;
}

#btn-post {
    /*position: absolute;
    height: 35px;
    bottom: 10px;*/
    /*margin-left: 54px;*/
    margin-right: 0px;
    margin-top:15px;
}

.post {
    padding: 10px 10px 0 10px;
    margin: 3px;
    /*border-radius: 5px;*/
    background: rgba(48, 80, 89, 0.04);
}

.post-text{
    /*display: inline;
    float: left;*/
    margin:5px 0px 3px 50px;
    min-width: 42px;
    min-height: 20px;
}

.user-avatar {
    border-radius: 5px;
    margin-bottom: 5px;
    width:40px;
    /*display: inline;*/
    float:left;
}

.user-name {
    margin-left: 10px;
    text-transform: capitalize;
    display: inline;
}

.btn-delete-post, .lnk-reply {
    float: right;
}

.post-date{
    font-size: 10px; 
    color:#7E7E7E;
    padding-top: 5px;
    float: left;
}

.btn-delete-post {
    cursor: pointer;
    width: 20px;
    line-height: 20px;

    text-decoration: none;
    text-align: center;
    background: white;
    
    border-radius: 5px;
    border: 1px solid rgba(48, 80, 89, 0.24);
}

.btn-delete-post:hover {
    text-decoration: none;
    color: white;
    background: #f88;
}

.lnk-reply {
    cursor: pointer;
    /*margin: 2em -14em 1em 0;*/
}

@media (min-width: 1200px) { 
   #post-div{
        padding-right: 0px!important;
    }    
    #post-button-div > button {
        /*width: 154px!important;*/
    }
}

@media (max-width: 1200px) { 
   #post-div{
        padding-right: 22px!important;
    } 
}

@media (max-width: 992px) { 
   #post-div{
        padding-right: 0px!important;
    } 
}

@media (max-width: 767px) { 
    #txtarea-post {
    width: 100%;
    resize: none;
    height: 45px;
    border: 1px solid rgba(48, 80, 89, 0.34);
    /*border-radius: 3px;*/
    position: absolute;
    bottom: -51px;
    left: 0px;    
    }

    .errorMessageForum{
        border: 1px solid red !important;
    }

    #chat-window {
        position: relative;
        width: 100%;/*630px;*/
        min-height: 550px;
        margin: 0px;
        /*border: 1px solid rgba(48, 80, 89, 0.14);
        border-radius: 3px;*/
        overflow: hidden;
        background: #ececec;
    }

    #btn-post {
        position: inherit;
        height: 35px;    
        margin-top: 10px;
        margin-right:0px;
    }

    #chat-window .emojionearea{
        max-height: 45px;
        margin-top:15px;
        width:100%;
    }

    #post-input > div{
        width: 100%!important;
    }
    
    #post-div{
        padding-right:15px!important;
    }
}


/*===================================Clearfix=================================*/

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}
.errorMessageForum{
    border: 1px solid red !important;
}

.post-tutor{
    background-color: #5086a036; /*#D5FBED ;*/
}

.post-student{
    /*background-color: rgb(234, 194, 154);*/
}

.fa-graduation-cap, .fa-university, .fa-user-plus
{
    color: #2d54a9;
    margin-left:5px;
}
#chat-window .fa-trash-o, #chat-window .fa-pencil{
    color: #2d54a9;
    margin-left:10px;
}

.fa-check-circle{
    color:#18bb7c;
}

#chat-window .emojionearea{
    /*max-height: 80px;*/
    margin-top:15px;
    /*height:80px;*/
    padding: 5px;
}

.emojioneemoji {
    font-size: inherit;
    height: 2ex;
    width: 2.1ex;
    min-height: 20px;
    min-width: 20px;
    display: inline-block;
    margin: -.2ex .15em .2ex;
    line-height: normal;
    vertical-align: middle;
    max-width: 100%;
    top: 0;
}