/* erams comment styles */
.commentsContainer .newCommentContainer {
    position: relative;
}
.commentsContainer .insertCommentContainer {
    border: 1px solid #E0E8E4;
    display: inline-block;
    margin: 18px 0;
    width: 548px;
}
.commentsContainer .newComment {
    background: none repeat scroll 0 0 transparent;
    border: none;
    height: 98%;
    margin: 0 auto;
    outline: none;
    overflow: auto;
    resize: none;
    width: 98%;
}
.commentNotch {
    background: url("/static/images/comment-notch.gif") no-repeat scroll 0 0 transparent;
    height: 11px;
    left: 44px;
    position: absolute;
    top: 32px;
    width: 7px;
    z-index: 2;
}
.commentsContainer .controlPanel {
    background-color: #F2F2F2;
    line-height: 2.28;
    margin: 1px 0 0 0;
}
.commentsContainer .actions {
    margin: 0;
    text-align: right;
}
.commentsContainer .actions .actionItem{
    display: inline;
    font-size: 11px;
    line-height: 13px;
    list-style-type: none;
}
button.postComment {
    background-color: #105033;
    border: 1px solid #D0D0D0;
    color: white;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    line-height:12px;
    margin: 5px;
    padding: 5px 15px;
    white-space: nowrap;
}
button.tags {
    background-color: #F2F2F2;
    border: none;
    color: #999999;
    cursor: pointer;
    font-size: 12px;
    line-height:12px;
    margin: 5px;
    padding: 5px 15px;
    white-space: nowrap;
}
button.tags:hover {
    background-color: #E9E9E9;
}
button.postComment:active {
    background-color: #06360F;
}
/* comments */
.commentContainer {
    border-bottom: 1px solid #E0E8E4;
    margin: 5px 0;
    padding: 8px 0 15px 0;
    position: relative;
}
.commentContainer .pic, .newCommentContainer .pic {
    float: left;
    margin-right: 10px;
}
.newCommentContainer .pic {
    display: inline-block;
    margin-top: 18px;
}
.commentContainer .profilePic,  .newCommentContainer .profilePic {
    height: 40px;
    width: 40px;
}
.commentContainer .commentBody {
    margin-left: 50px;
}
.commentContainer .meta, .newCommentContainer .meta {
    background-color: #FFFFFF;
    bottom: -11px;
    color: #CCC;
    margin: 5px 0;
    position: absolute;
    right: 0;
}
.commentContainer .separator {
    display: none;
}
.commentContainer .meta .action, .newCommentContainer .meta .action {
    cursor: pointer;
}
.commentContainer .meta .action {
    display: none;
}
.commentContainer .meta .time {
    display: none;
}
.commentContainer:hover > .meta .time, .commentContainer:hover > .meta .action,
.commentContainer:hover > .meta .separator {
    display: inline;
}
.commentContainer:hover > .meta .from {
    display: none;
}
.commentText {
    min-height: 40px;
}

/* comment replies */
.replyContainer, .newReplyContainer {
    background-color: #F5F5F5;
    margin-top: 1px;
    min-height: 38px;
    position: relative;
}
.replyContainer .pic, .newReplyContainer .pic {
    float: left;
    margin: 5px;
}
.replyContainer .profilePic,  .newReplyContainer .profilePic {
    height: 30px;
    width: 30px;
}
.replyContainer .from, .commentText .from {
    color: green;
    font-weight: bold;
    padding: 0 5px 0 0;
}
.replyContainer .replyBody {
    width: 515px;
}
.replyText {
    font-size: 11px;
    margin-left: 40px;
    padding: 5px 0 0 5px;
}
.replyContainer .meta {
    font-size: 11px;
    margin-left: 40px;
    padding: 0 0 0 5px;
}
input.newReply {
    margin: 8px 0;
    width: 470px;
}
.replyContainer .meta, .newReplyContainer .meta {
    background: none;
    color: gray;
    position: static;
}
.replyContainer .meta .separator {
    display: inline-block;
}
.replyContainer .meta .time {
    display: inline-block;
    font-size: 11px;
}
.replyContainer .replyActions {
    float: right;
    margin: 3px;
}
.replyContainer .deleteReply {
    background-image: url("/static/images/icons/custom-jquery-ui-icons.png");
    background-position: -48px -18px;
    margin-right: 3px
}
.replyContainer .deleteReply:hover {
    background-position: -64px -18px;
}
.replyContainer:hover .hoverIcon {
    opacity: 1;
    text-decoration: none !important;
}

/* Block-style message styles */
.block-alert {
    border: 1px solid;
    margin: 10px 0;
    padding: 10px;
    text-align: center;
}
.block-alert.info {
    color: #00529B;
    background-color: #BDE5F8;
}
.block-alert.success {
    color: #4F8A10;
    background-color: #DFF2BF;
}
.block-alert.warning {
    color: #9F6000;
    background-color: #FEEFB3;
}
.block-alert.error {
    color: #D8000C;
    background-color: #FFBABA;
}

/* buttons that look like links */
button.link {
    font-family: arial, sans-serif;
    color: #069;
    cursor:pointer;
    background: none !important;
    border: none; 
    padding: 0 !important;
    text-decoration: underline;
}
button.link.erams {
    color: #105033;
    text-decoration: none;
}
button.link.erams:hover {
    color: #A9800E;
    text-decoration: underline;
}

/* CSS Tree menu styles */
ol.tree
{
    line-height: 16px;
    padding: 0 0 0 30px;
    text-align: left;
}
ol.tree li 
    { 
        position: relative; 
        margin-left: -15px;
        list-style: none;
    }
ol.tree li.file
    {
        margin-left: -1px !important;
    }
ol.tree li.file a
        {
            background: url(/static/images/tree/document.png) 0 0 no-repeat;
            color: #fff;
            padding-left: 24px;
            text-decoration: none;
            display: block;
        }
ol.tree li.file a[href *= '.pdf']   { background: url(/static/images/tree/document.png) 0 0 no-repeat; }
ol.tree li.file a[href *= '.html']  { background: url(/static/images/tree/document.png) 0 0 no-repeat; }
ol.tree li.file a[href $= '.css']   { background: url(/static/images/tree/document.png) 0 0 no-repeat; }
ol.tree li.file a[href $= '.js']        { background: url(/static/images/tree/document.png) 0 0 no-repeat; }
ol.tree li input
    {
        position: absolute;
        left: 0;
        margin-left: 0;
        opacity: 0;
        z-index: 2;
        cursor: pointer;
        height: 1em;
        width: 1em;
        top: 0;
    }
ol.tree li input + ol
        {
            background: url(/static/images/tree/toggle-small-expand.png) 40px -3px no-repeat;
            margin: -0.938em 0 0 -44px; /* 15px */
            height: 1em;
        }
ol.tree li input + ol > li { display: none; margin-left: -14px !important; padding-left: 1px; }
ol.tree li label
    {
        background: url(/static/images/tree/folder-horizontal.png) 15px 1px no-repeat;
        cursor: pointer;
        display: block;
        font-weight: normal;
        font-style: italic;
        margin-bottom: 0;
        padding-left: 37px;
    }

ol.tree li input:checked + ol
    {
        background: url(/static/images/tree/toggle-small.png) 40px 1px no-repeat;
        margin: -1.25em 0 0 -44px; /* 20px */
        padding: 1.563em 0 0 80px;
        height: auto;
    }
ol.tree li input:checked + ol > li { display: block; margin: 0 0 0.125em;  /* 2px */}
ol.tree li input:checked + ol > li:last-child { margin: 0 0 0.063em; /* 1px */ }

.messageBox .message,
.confirmBox .message {
    padding: 5px;
    text-align: center;
}