#upload-attachments {
    overflow: auto;
    min-width: 600px;
}
#upload-attachments h3 {
    border-bottom: solid 2px #69c;
    color: #036;
    padding: 5px 0 0 5px;
}
#upload-files {
    float: left;
    width: 60%;
    margin-bottom: 1em;
}
#upload-attachments li {
    margin: .3em 0 0 0;
    line-height: 2;
}
#upload-files ol {
    margin: 0 0 0 2em;
    padding: 0;
}
#upload-attachments .submit-button-and-more-link-container {
    margin: 1em 0 0 2em;
}
#extension-container {
    float: left;
    width: 40%;
}
#extension-container .attachments-drop-zone {
    margin: 0 auto;
}
#upload-files h3 {
    padding-left: 2em;
}

table.attachments {
    margin-bottom: 10px;
}

table.attachments .attachment-history a {
    background: url(../../../images/icons/arrow_right.gif) no-repeat 100% 50%;
    border: none;
    cursor: pointer;
    display: block;
    right: 12px;
    text-indent: -999em;
    top: 0;
    height: 16px;
    width: 16px;
}

table.attachments td.attachment-history {
    padding-right: 5px;
}

table.attachments .attachment-history a.open {
    background-image: url(../../../images/icons/arrow_down.gif);
}


table.attachments td.attachment-actions {
    vertical-align: middle;
}

table.attachments tr.historicalAttachmentRow td a.filename {
    padding-left: 20px;
}

table.attachments tr.attachment-highlight {
    background: #ffffe7;
}

table.attachments tr.attachment-highlight td a.filename {
    font-weight: bold;
}

table.attachments tr.historicalAttachmentRow {
    background: transparent;
}

table.attachments tr.historicalAttachmentRow td
{
    padding-top: 3px;
    padding-bottom: 1px;
}

table.attachments tr.historicalAttachmentRow td,
table.attachments tr.historicalAttachmentRow td a {
    color: #666;
}

table.attachments th span.sortedby {
    background-image: url(../../../images/icons/arrow_down.png);
    background-repeat: no-repeat;
    background-position: right 50%;
    padding-right: 20px;
}

table.attachments th.expand-column {
    padding-right: 5px;
}

table.attachments td.attachment-actions ul {
    margin: 0;
}

table.attachments td.attachment-actions ul li.first {
    border: none;
}

table.attachments td.attachment-actions ul li {
    list-style: none;
    display: inline;
    border-left:1px solid black;
    padding-right: 0.25em;
    padding-left: 0.5em;
}

.attachment-comment {
    margin-left: 20px;
    white-space: nowrap;
}
#upload-files .attachment-comment input {
    width: 15em;
    margin: 0; /* fixes vertical alignment in IE7 */
}

div.attachment-field {
    margin-top: 2em;
}

#upload-div {
    clear: left;
    padding-top: 10px;
}

#upload-files .description {
    margin-top: 0;
    color: #000;
}

#upload-files li {
    margin: 1em 0;   
}

#upload-files .captcha {
    margin: 2em;
    padding: 0;
}

#upload-files .captcha input {
    margin-top: 2px;
    width: 223px;
}

#upload-files .captcha .captcha-image {
    border: 1px solid #ccc;
    padding: 0 1em;
    -moz-border-radius: 5px; /* Firefox */
    -webkit-border-radius: 5px; /* Safari */
}

#upload-files .captcha .error,
#upload-files .captcha .captcha-response {
    text-align: left;
}

#upload-files .captcha .captcha-response {
    margin-top: 0.8em;
}

#upload-files .captcha label {
    display: block;
}

#viewAttachmentsDiv div.pagination {
    width: auto;
}

#viewAttachmentsDiv ul.pagination {
    padding: 0.3em 0;
    margin: 0;
}

#download-all-link {
    float: left;
    margin: 0;
    position: relative;
    z-index: 1;  /* Make sure link is above the pagination div */
}

#view-attachments {
    clear: both;
    overflow: visible;
}

