/**********************/
/***** Discussion *****/
/**********************/
div.discussion
{
    clear: both;
    font-family: Times New Roman;
    height: 100%;
    padding: 0px 0px 20px 0px;
}

    /* Options */
    div.discussion div.options
    {
        display: inline-block;
        color: #0d5995;
        width: 98%;
        line-height: 20px;
        padding: 4px 1px;
        margin: 0 1% 0 1%;
    }
    
        div.discussion div.options div.themeName
        {
            float: left;
            font-size: 14px;
            font-weight: bold;            
            padding-right: 5px;
        }
        
        div.discussion div.options div.themeDesc
        {
            float: left;
            font-size: 13px;
        }
        
        div.discussion div.options div.settings
        {
            float: right;
            font-family: Verdana, Arial, sans-serif;
        }
    
            div.discussion div.options div.settings label
            {
                font-size: 11px;
                cursor: pointer;
            }

            div.discussion div.options div.settings input[type="checkbox"]
            {
                cursor: pointer;
            }
            
            div.discussion div.options div.settings input[type="text"]
            {
                font-family: Arial;
                width: 20px;
                height: 14px;
            }
            
            div.discussion div.options div.settings img.refresh
            {
                cursor: pointer;
                width: 12px;
                margin: 2px 0px 0px 3px;
            }

    /* Posts Area */
    div.discussion div.postsArea
    {
        clear: both;
        font-size: 11px;
        text-align: center;
        border: solid 1px #95bcd6;
        border-radius: 6px;
        min-height: 20px;
        width: 96%;
        padding: 7px;
        margin: 0% 1% 0 1%;
    }

        /* Header */
        div.discussion div.postsArea div.header
        {
            display: inline-block;
            margin: 2px 0px 5px 0px;
            width: 99%;
        }

            div.discussion div.postsArea div.header div.empty
            {
                float: left;
                width: 8%;
            }

            /* show previous */
            div.discussion div.postsArea div.header div.showPrevious
            {
                float: left;
                font-family: Tahoma, sans-serif;
                text-align: center;
                width: 80%;
            }

                div.discussion div.postsArea div.header div.showPrevious a
                {
                    cursor: pointer;
                    color: #025ca7;
                    font-size: 11px;
                    font-weight: bold;
                    margin: 5px;
                }

            div.discussion div.postsArea div.header div.paging
            {
                float: right;
                text-align: right;
                color: #025ca7;
                font-size: 11px;
                font-weight: bold;
                font-family: Tahoma, sans-serif;
                width: 11%;
            }

        /* user's posts */
        div.discussion div.postsArea div.usersPosts
        {
            clear: both;
            overflow-y: auto;
            width: 650px;
            max-height: 650px;
            height: 650px;
            padding: 4px 0px;
        }                
                
            div.discussion div.postsArea div.usersPosts div.postLine
            {
                text-align: left;
                width: 100%;
            }

            div.discussion div.postsArea div.usersPosts div.noViewed
            {
                background-color: rgb(255, 231, 203);
            }
            
                /* User Image */
                div.discussion div.postsArea div.usersPosts div.postLine div.userImage
                {
                  float: left;
                  width: 4%;
                  text-align: left;
                  margin-top: -4px;
                }

                    div.discussion div.postsArea div.usersPosts div.postLine div.userImage img
                    {
                        height: 20px;
                        width: auto;
                        border-radius: 4px;
                    }
                    
                /* User Post */
                div.discussion div.postsArea div.usersPosts div.postLine div.userPost
                {
                    float: left;
                    text-align: left;
                    width: 94%;
                    margin-bottom: 2px;
                }
                       
                    div.discussion div.postsArea div.usersPosts div.postLine div.userPost span.userName
                    {
                        font-size: 12px;
                        font-weight: bold;
                        text-align: left;
                        color: #025ca7;
                        padding-right: 2px;
                        white-space: nowrap;
                    }

                    div.discussion div.postsArea div.usersPosts div.postLine div.userPost span.message
                    {
                        font-size: 12px;
                        text-align: left;
                        word-wrap: break-word;
                    }
                    
        div.discussion div.postsArea div.usersPosts div.postLine div.createDate
        {
            float: left;
            font-size: 11px;
            text-align: left;
            color: #A0A0A0;
            line-height: 18px;
            margin-left: 4%;
        }
            /* Post Like */
            div.discussion div.postsArea div.usersPosts div.postLine div.postLike
            {
                float: left;
                font-size: 11px;
                text-align: left;
                color: #A0A0A0;
                margin-left: 5px;
            }

                div.discussion div.postsArea div.usersPosts div.postLine div.postLike span
                {
                    color: #6D84B4;
                    padding: 0 7px;
                }

                    div.discussion div.postsArea div.usersPosts div.postLine div.postLike span.link
                    {
                        color: #6D84B4;
                        cursor: pointer;
                    }

                        div.discussion div.postsArea div.usersPosts div.postLine div.postLike span.link:hover
                        {
                            text-decoration: underline;
                        }

                div.discussion div.postsArea div.usersPosts div.postLine div.postLike div.like-data
                {
                    display: inline;
                    cursor: pointer;
                }

                    div.discussion div.postsArea div.usersPosts div.postLine div.postLike div.like-data img
                    {
                        height: 13px;
                    }

            div.discussion div.postsArea div.usersPosts div.postLine div.emptyLine
            {
                clear: both;
                height: 3px;
                width: 100%;
            }
            
        /* add post */
        div.discussion div.postsArea div.addPost
        {
            text-align: left;
            width: 98%;
            padding: 3px;
            margin: 5px 1% 5px 1%;
            display: none;
        }

            div.discussion div.postsArea div.addPost img.emoticons
            {
                vertical-align: top;
                cursor: pointer;
                margin: 2px 8px 4px 0px;
                height: 30px;
                width: auto;
            }

            div.discussion div.postsArea div.addPost textarea
            {
                font-family: Times New Roman;
                height: 30px;
                width: 87%;
            }

            div.discussion div.postsArea div.addPost img.sendMessage
            {
                vertical-align: top;
                cursor: pointer;
                margin: 8px 4px;
                height: 25px;
                width: auto;
            }

            /* emoticons area */
            div.discussion div.postsArea div.addPost div.emoticonsArea
            {
                background-color: #FAFCFD;
                border: solid 1px #BDD4E4;
                border-radius: 6px;
                position: absolute;
                z-index: 999;
                height: 104px;
                width: 615px;
                display: none;
            }

                div.discussion div.postsArea div.addPost div.emoticonsArea div
                {
                    border: solid 1px #BDD4E4;
                    border-radius: 6px;
                    text-align: center;
                    margin: 1px;
                    height: 22px;
                    width: 37px;
                    cursor: pointer;
                    display: inline-block;
                }

                    div.discussion div.postsArea div.addPost div.emoticonsArea div:hover
                    {
                        background-color: #DEECF7;
                    }

                    div.discussion div.postsArea div.addPost div.emoticonsArea div img
                    {
                        height: 16px;
                    }
