﻿


.CommentForm
{
    width: 90%;
    min-height: 180px;
}

.CommentForm[mode='1']
{
    min-height: 60px;
}

.CommentForm[mode='2']
{
    min-height: 60px;
}

.CommentUnauthorized
{
    display: none;

    width: 100%;
    height: 50px;
    line-height: 50px;

    background: #E8E8E8;
    text-align: center;
}

.CommentForm[mode='1'] .CommentUnauthorized
{
    display: inherit;
}

.CommentLocked
{
    display: none;

    width: 100%;
    height: 50px;
    line-height: 50px;

    background: #E8E8E8;
    text-align: center;
}

.CommentForm[mode='2'] .CommentUnauthorized
{
    display: inherit;
}

.CommentTitleHost
{
    display: inherit;
    margin-bottom: 8px;
}

.CommentTitleLabel
{
    font-size: 14px;
    font-weight: normal;
    margin-right: 30px;
}

.CommentTitleEdit
{
    min-width: 450px;
}

.CommentToolbar
{
    background: #E8E8E8;
    /*display: none;*/
    
    width: 100%;
    height: 26px;
}

.CommentForm[mode='1'] .CommentToolbar,
.CommentForm[mode='2'] .CommentToolbar,
.CommentForm[mode='1'] .CommentText, 
.CommentForm[mode='2'] .CommentText,
.CommentForm[mode='1'] .CommentBottom, 
.CommentForm[mode='2'] .CommentBottom
{
    display: none;
}

.CommentToolbar input
{
    border-right: 1px solid #AAA;
    padding: 4px 8px;
    
    text-align: center;
    vertical-align: 50%;
}

.CommentText
{
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    font-size: inherit;

    width: 100%;
    min-height: 130px;

    resize: vertical;
}

.CommentBottom
{
    margin-bottom: 12px;
}

.CommentError
{
    color: Red;
    background: #FFFFC0;
}

.CommentListItems
{
    list-style-type: none;
    
    margin: 0px 0px 0px 0px;
    padding: 8px 0px 0px 0px;

}

.CommentListItem
{
    margin: 0px 0px 8px 0px;
    padding: 0px 0px 8px 0px;
    
    border-left: 2px solid transparent;
}

.CommentListItem[is-hilite='true']
{
    border-left-color: Yellow;
}

.CommentListItem[is-delete='true']
{
    background-color: #FFC0C0 !important;
}

.CommentListItem[is-edit='true']
{
    /*border-left-color: green;*/
}

.CommentListItem[is-edit='true'] .CommentBodyHost
{
    display: block !important;
}

.CommentItemLoader
{
    position: absolute;
    left: 0; top: 20px; 
    right: 0; bottom: 0;
    display: none;

    background: white url(../Images/Icons/ajax-loader.gif) no-repeat;
    background-position: center center;
}

.CommentListItem[is-loading='true'] .CommentItemLoader
{
    display: inherit;
}

.CommentEditPane,.CommentEditTools
{
    display: none;
}

.CommentEditTools
{
    padding: 4px 0px 12px 0px;
}

.CommentEditPane
{
}

.CommentListItem[is-edit='true'] .CommentBody
{
    display: none;
}

.CommentListItem[is-edit='true'] .CommentEditPane
{
    display: block;
}

.CommentListItem[is-edit='true'] .CommentEditTools
{
    display: block;
}

.CommentListItem[is-edit='true'] .CommentTools
{
    display: none;
}


.CommentListItem a
{
    text-decoration: none;
    color: #909090;
    font-size: 11px;
}

.CommentListItem a:visited
{
    text-decoration: none;
    color: #909090;
}

.CommentListItem a:active
{
    text-decoration: underline;
    color: #606060;
}

.CommentListItem a:hover
{
    text-decoration: underline;
    color: #606060;
}

.AuthorAvatar
{
    width: 50px;
    height: 50px;
}

.CommentAuthorHost
{
    width: 60px;
    height: 60px;
    
    margin-right: 4px;
    
    vertical-align: top;

    float: left;
}

.CommentAuthor
{
    font-weight: bold;
    cursor: pointer;
}

.CommentBodyHost
{
    width: 90%;
    vertical-align: top;
    float: left;
}

.CommentBody
{
    font-size: 14px;
}

.CommentBody a
{
    font-size: inherit;
    color: Blue;
    text-decoration: underline;
}

.CommentBody a:hover
{
    color: Red;
    text-decoration: underline;
}

.CommentBody a:visited
{
    color: Purple;
    text-decoration: underline;
}

.CommentToolsHost
{
    margin-left: 65px;
    font-size: 13px !important;
    height: 20px;
    padding-bottom: 10px;
}

.CommentTools
{
    display: none;
    padding: 2px 0px;
}

.CommentTools a
{
    padding: 0px 6px 0px 6px;
}

.CommentBtnCancel
{
    outline: 0;
    border: 0;
    
    background: transparent;
    text-decoration: underline;
    
    cursor: pointer;
}

.CommentBtnShowAll
{
    outline: 0;
    border: 0;
    
    background: transparent;
    text-decoration: underline;
    
    cursor: pointer;

    margin-bottom: 25px;
}

.CommentBtnDelete
{
    color: Red;/* !important;*/
}