/**
 * @project     OTRS (http://www.otrs.org) - Agent Frontend
 * @copyright   OTRS AG
 * @license     AGPL (http://www.gnu.org/licenses/agpl.txt)
 */

/**
 * @package     Skin "Default"
 * @section     TicketDetails
 */

@media screen,projection,tv,handheld {

/**
 * @subsection  Headline
 */
div.Headline {
    height: 24px;
    margin: 15px 0px 5px 0px;
    position: relative;
}

div.Headline h1 {
    font-size: 15px;
    line-height: 24px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

div.Headline h1 span {
    padding: 0 3px;
}

div.Headline .Flag + h1 {
    margin-left: 30px;
}

.RTL div.Headline .Flag + h1 {
    margin-left: 0;
    margin-right: 30px;
}

div.Headline .Flag {
    position: absolute;
    top: 5px;
    left: 0px;
    width: 20px;
    height: 15px;
}

.RTL div.Headline .Flag {
    left: auto;
    right: 0;
}

/**
 * @subsection  Article table head
 */

.ActionRow .TableContextSettings + .TableSmall {
    margin-right: 17px;
}

/**
 * @subsection  Article table body
 */

#ArticleItems .Header h2 {
    padding-right: 245px;
}

#ArticleTableBody {
    position: relative;
    overflow: hidden;
    border-bottom: none;
    margin: 0px;
}

#ArticleTableBody .Scroller {
    height: 82px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 10px;
    border: 1px solid #ccc;
}

#ArticleTableBody .Scroller .DataTable {
    border: 0px;
}

.ArticleMailHeader {
    margin: 0 8px;
    padding: 2px 0 7px;
    font-size: 11px;
    border-bottom: 1px solid #C6C5C4;
}

.ArticleMailContent {
    padding: 11px 12px;
    line-height: 1.3;
}

/**
 * @subsection  ControlRow Icons
 */

.ArticleFilter,
.ArticlePages,
.ArticleView {
    float: left;
    margin-left: 10px;
}

.RTL .ArticleFilter,
.RTL .ArticlePages,
.RTL .ArticleView {
    float: right;
}

.ControlRow .Icons a {
    width: 26px;
    height: 24px;
    line-height: 24px;
    vertical-align: middle;
    display: block;
    float: left;
}

.ControlRow .Icons a.Active {
    background: #5D5D5D;
}

.ControlRow .Icons a:hover {
    background-color: #ccc;
}

.ControlRow .Icons a {
    text-align: center;
}

.ControlRow .Icons a i {
    color: #777;
    font-size: 15px;
    margin-top: 5px;
    display: block;
}

.ControlRow .Icons a.Active i {
    color: #fff;
}

.ControlRow .Icons a span {
    margin: 4px auto;
    width: 16px;
    height: 16px;
    text-indent: -9999px;
    display: block;
}

.ControlRow .ArticleFilter.Icons .Active span {
    background-position: 0 -16px;
}

/**
 * @subsection  Attachment Dialog Content
 */

.Dialog > .Content > .Attachment.InnerContent {
    padding: 0;
}

.AttachmentContent {
    width: 300px;
    height: 500px;
    overflow: hidden;
    overflow-y: scroll;
}

.AttachmentElement {
    margin: 5px 9px;
    border-bottom: 1px solid #E6E6E6;
    padding-bottom: 2px;
}

.AttachmentPreview {
    height: 80px;
    width: 60px;
    border: 1px solid #DDD;
    float: left;
    margin-right: 15px;
    background-color: #E6E6E6;
    background-position: center;
    background-repeat: no-repeat;
    clear: left;
}

.AttachmentPreview a {
    display: block;
    height: 100%;
    width: 100%;
}

.AttachmentElement h3 {
    font-size: 12px;
    font-weight: bold;
}

/**
 * @subsection  ItemRow
 * @note        contains random items and is positioned in the sidebar
 */

.ItemRow {
    margin-left: 15px;
}

.RTL .ItemRow {
    margin-left: 0;
    margin-right: 15px;
}

.ItemRow li {
    padding: 3px 0 5px 8px;
}

.RTL .ItemRow li {
    padding: 3px 8px 5px 0;
}

.ItemRow a {
    line-height: 14px;
    color: #000;
    text-decoration: underline;
}

.ItemRow a:hover {
    color: #666;
}

/**
 * @subsection  ArticleColors
 * @note        article colors
 */

/*
* Customer artcle types
*/
.UseArticleColors .customer-webrequest > td,
.UseArticleColors .customer-email-external > td,
.UseArticleColors .customer-note-external > td,
.UseArticleColors .customer-phone > td {
    background: white !important;
}

.UseArticleColors a {
    color: #000;
}

/*
* Agent article types
*/
.UseArticleColors .agent-phone > td {
    background: #d1e8d1 !important;
}
.UseArticleColors .agent-email-external > td {
    background: #d1e8d1 !important;
}
.UseArticleColors .agent-email-internal > td {
    background: #ffd1d1 !important;
}
.UseArticleColors .agent-note-external > td {
    background: #d1d1d1 !important;
}
.UseArticleColors .agent-note-internal > td {
    background: #ffd1d1 !important;
}

/*
* System article types
*/
.UseArticleColors .system-note-internal > td,
.UseArticleColors .system-note-external > td,
.UseArticleColors .system-note-report > td,
.UseArticleColors .system-email-external > td,
.UseArticleColors .system-email-internal > td,
.UseArticleColors .system-email-notification-int > td,
.UseArticleColors .system-email-notification-ext > td {
    background: #ffffd1 !important;
}

.UseArticleColors .customer-webrequest > td,
.UseArticleColors .customer-email-external > td,
.UseArticleColors .customer-note-external > td,
.UseArticleColors .customer-phone > td {
    background: white !important;
}

.UseArticleColors .agent-phone:hover > td,
.UseArticleColors .agent-email-external:hover > td,
.UseArticleColors .agent-email-internal:hover > td,
.UseArticleColors .agent-note-external:hover > td,
.UseArticleColors .agent-note-internal:hover > td,
.UseArticleColors .system-note-internal:hover > td,
.UseArticleColors .system-note-external:hover > td,
.UseArticleColors .system-note-report:hover > td,
.UseArticleColors .system-email-external:hover > td,
.UseArticleColors .system-email-internal:hover > td,
.UseArticleColors .customer-webrequest:hover > td,
.UseArticleColors .customer-email-external:hover > td,
.UseArticleColors .customer-note-external:hover > td,
.UseArticleColors .customer-phone:hover > td {
    background: #FCB24B !important;
}


} /* end @media */
