/* documents list */

a {
    outline: none;
}

table.pd_documents {

}

table.pd_documents td.title {
    width: 50%;
}

table.pd_documents td.date {

}

.pd_with_icon_document {
    padding-left: 30px !important;
    background: transparent no-repeat left center; /* TODO: add icon */
}


.pd_doc_infobox {
    padding: 10px;
    border: 1px solid #F0F0F0;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background: #F4F4F4;

    font-size: 12px;
}

.pd_doc_infobox div.inforow {
    margin-bottom: 5px;
}

.pd_doc_infobox div.notes {
    border-top: 1px dashed #666;
    padding-top: 10px;
    margin-top: 10px;
}

.pd_col_commentsCount {}
.pd_col_title {}
.pd_col_status {}
.pd_commentsCount {}
































/* document */
.pd_document {
    margin-top: 30px;
    aposition: relative;
}

.pd_paragraph {
    margin-top: 10px;
    padding: 2px;
    clear: both;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.pd_paragraph:hover {
    background-color: #F0F0F0;
}

.pd_paragraph.pd_paragraph_current {
    border-top: 1px solid #888;
    border-left: 1px solid #888;
    border-right: 1px solid #888;
}


.pd_p_comcount {
    float: left;
}

.pd_p_content {
    margin-left: 40px;
    cursor: pointer;
}

.pd_p_comcount {
    display:block;
    float:left;

    width:32px;
    height:26px;
    margin-left:4px;
    padding-top:3px;

    background: url(../images/publicdiscussion-public-icons.png) no-repeat -116px 0;
    text-align:center;
    cursor:pointer;
    font-weight:bold;
    color:#FFF !important;
    font-size:12px;
    text-decoration:none !important
}

.pd_document.dimmed .pd_paragraph {
    color: #D0D0D0;
}

.pd_document.dimmed .pd_paragraph_current {
    color: inherit;
    /* XXX */ background-color: white;
}

/* Comments form */

#pd_p_comments_container {
    position: absolute;
    height: 300px;
    overflow: hidden;
    z-index: 10;
    /* XXX */ background-color: white;

    border-bottom: 1px solid #888;
    border-left: 1px solid #888;
    border-right: 1px solid #888;

}

#pd_p_comments_inner {
    -moz-box-shadow: 5px 6px 5px #3d3d3d;
    -webkit-box-shadow: 5px 6px 5px #3d3d3d;
    box-shadow: 5px 6px 5px #3d3d3d;
    max-height: 300px;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    margin-top: 10px;
}

#pd_p_comments_header_close {
    display: block;
    float: right;
    width: 23px;
    height: 22px;
    margin: 4px;
    background: url(../images/publicdiscussion-public-icons.png) no-repeat -202px 0;
    z-index: 30;
    position: relative;
}

#pd_p_comments_header_close:hover {
    text-decoration: none;
}

#pd_p_comments {
    clear: both;
}

/* Add comments form --------------------  */

#pd_p_comments_form {
    background-color: #CCCCCC;
    padding: 6px;
    margin-top: -300px;
    position: relative;
}

#pd_p_comments_form fieldset {
    padding: 0;
    margin: 0;
}

#pd_p_comments_form fieldset.pd_p_comments_fs_left {
    awidth: 45%;
    vertical-align: top;
    display: inline-block;
    *display: inline; *zoom: 1;
}

#pd_p_comments_form fieldset.pd_p_comments_fs_right {
    display: inline-block;
    *display: inline; *zoom: 1;
    vertical-align: top;
}

#pd_p_comments_form .input {
    display: block;
    width: 400px;
}

#pd_p_comments_form label {
    display: block;
}

#pd_p_comments_form textarea {
    height: 100px;
}

#pd_p_comments_form_submit, #pd_p_comments_form_cancel {
    display: inline-block !important;
    *display: inline !important; *zoom: 1 !important;
    width: 90px;
    height: 26px;
    background: url(../images/publicdiscussion-public-icons.png) no-repeat;
    border: 0 none;
    font-weight: bold;
    margin-top: 20px;
}
#pd_p_comments_form_submit {
    background-position: 0 -34px;
    color: white;
}

#pd_p_comments_form_cancel {
    background-position: -90px -34px;
    color: #333;
    display: none;
}

.form-error {
    border: 2px solid red;
}


.pd_p_comment {
    margin-bottom: 0px;
    background-color: #DDDDEE;
    clear: both;
}



.pd_p_comment .com_number {
    float: left; 
    width: 30px;
    overflow: hidden;
    text-align: right;
    font-size: larger;
    font-weight: bold;
}

.pd_p_comment .com_controls {
    float: right;
    width: 50px;

}

.com_control_vote {

}

.pd_p_comment .com_content,
.pd_p_comment .com_info {
    margin-left: 55px;
    margin-right: 55px;
}

.pd_p_comment .com_poster {
    font-weight: bold;

}

.pd_com_controls {
    float: right;
    width: 50px;
}

.pd_com_controls .vote {
    width: 21px;
    height: 14px;
    padding-top: 20px;
    margin-top: 4px;

    font-size: 8pt;
    text-align: center;
    font-weight: bold;
    display: inline-block;
    *display: inline; zoom: 1;
    background: url(../images/publicdiscussion-public-icons.png) no-repeat;
}

.pd_com_controls .vote:hover {
    text-decoration: none;
}

.pd_com_controls .vote.up {
    background-position: 0 0;
}

.pd_com_controls .vote.down {
    background-position: -21px 0;
}

.pd_com_controls.disabled .vote.up {
    background-position: -42px 0;
}

.pd_com_controls.disabled .vote.down {
    background-position: -63px 0;
}