/*##################################################################################################
//#
//#        File: announcements.css
//#      Author: James Simmons
//#     Created: May 13, 2013
//# Application: AIR Card
//#     Purpose: Used for announcements styles.
//#
//#
//###################################################################################################
//#   History
//#   -------
//#
//#   Date        Version        Name           Bug   Description
//#   ----------- ------------   -------------- ----- ----------------------
//#   13 May 2013 V1.0.JS2.0.0   James Simmons  60768 Written
//#   29 Aug 2013 V1.0.JS2.1.0   James Simmons  58686 Added Announcements Update History Block Styles
//#   02 Oct 2013 V1.0.JS2.2.0   James Simmons  58759 Added ReleaseNotes Styles
//#   24 Dec 2013 V1.0.JS2.3.0   James Simmons  63772 Added Link and Group canvas styles to hide PK column
//#   23 Jan 2014 V1.0.JS2.3.1   James Simmons  63772 Updated styles to work in IE7
//#
//###################################################################################################
*/

/*
    Announcements and Release Note Pagelet/Display Styles
*/

.AnnouncementsHeader {
   font-weight: bold;
   font-size: 1.1em;
   padding: 2px 0px;
   margin:15px 0 3px 3px;
}
.ReleaseNotes,
.Documents,
.Announcements{
   padding: 0 10px;
   overflow-y: auto;
   max-height: 260px;
   border: 2px solid #DDD;
   border-radius: 4px;
}
.ReleaseNotes > div,
.Documents > div,
.Announcement {
   margin-top:10px;
   margin-bottom:15px;
}
.ArchiveDocument,
.ArchiveReleaseNote {
   margin-top:15px;
   margin-bottom:10px;
}
.RNHeader,
.DHeader,
.DAHeader,
.AnnouncementTitle {
   font-weight: bold;
   margin:0 0 5px 0;
}
.AnnouncementImportant {
   color:#C00;
}
.CurrentDocumentHeader {
   font-weight: bold;
   margin:0 0 30px 0;
}
.RNSummary,
.DSummary,
.DASummary,
.AnnouncementBody {
   margin:5px 10px;
}
.AnnouncementLinks {
   margin:0 10px;
}

/*
    Release Note Specific Styles
*/
.RNHeader .RNLabel{
   margin-right: 20px;
}
.RNHeader .RNSeperator{
   margin: 0 5px;
}
.RNLink{
   text-align: right;
}

.DHeader .DLabel {
   margin-right: 20px;
}
.DHeader .DSeperator{
   margin: 0 5px;
}
.DALink,
.DLink{
   text-align: right;
}

/*
    Announcements Update History Block Styles
*/
.AnnouncementCanvasContent > div{
   display:inline-block;
   margin-right: 10px;
   margin-bottom: 20px;
   /* IE7 Hack for inline-block */
   *display: inline;
   zoom: 1;
}
.AnnouncementHistory{
   border: gray solid 1px;
   border-radius: 3px;
   padding: 10px;
}

/*
    Announcements Links and Groups Styles
*/
.LinkRow table tr th:first-child,
.LinkRow table tr td:first-child,
.GroupRow table tr th:first-child,
.GroupRow table tr td:first-child{
   display: none;
}

/* Hide first (ID) and last (Action) columns in Comments table */
.CommentRow table tr th:first-child,
.CommentRow table tr td:first-child,
.CommentRow table tr th:last-child,
.CommentRow table tr td:last-child {
   display: none;
}

/* Style comment text fields */
.CommentRow .Username div,
.CommentRow .CommentEntryTs div,
.CommentRow .AnnouncementCommentText div {
   padding: 1px;
   min-height: 18px;
   line-height: 1.4;
   word-wrap: break-word;
}

.CommentRow table thead th {
   padding-top: 10px;
   padding-bottom: 10px;
   padding-left: 1px;
   padding-right: 5px;
   white-space: nowrap;
}

.CommentRow .Username div {
   white-space: nowrap;
}
