/**
 * @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: 7px 5px 10px 7px;
    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: 4px;
    left: 0;
}

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

/**
 * @subsection  Article tree
 */
#ArticleTree {
    margin-top: 20px;
}

/**
 * @subsection  Article table head
 */

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

/**
 * @subsection  Article table body
 */
#ArticleTableBody {
    position: relative;
    overflow: hidden;
    border-bottom: none;
}

#ArticleTableBody .Scroller {
    height: 82px;
    overflow-y: scroll;
    overflow-x: hidden;
    margin-bottom: 10px;
}

.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 {
    float: left;
}

.RTL .ArticleFilter {
    float: right;
}

.ArticleView {
    float: right;
}

.RTL .ArticleView {
    float: left;
}

.ControlRow .Icons a {
    width: 26px;
    height: 24px;
    display: block;
    float: left;
}

.ControlRow .Icons a.Active {
    background: #5e5e5e;
    background: -moz-linear-gradient(top,  #5e5e5e 0%, #7e7e7e 50%, #5d5d5d 50%, #5c5c5c 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5e5e5e), color-stop(50%,#7e7e7e), color-stop(50%,#5d5d5d), color-stop(100%,#5c5c5c));
    background: -webkit-linear-gradient(top,  #5e5e5e 0%,#7e7e7e 50%,#5d5d5d 50%,#5c5c5c 100%);
    background: -o-linear-gradient(top,  #5e5e5e 0%,#7e7e7e 50%,#5d5d5d 50%,#5c5c5c 100%);
    background: -ms-linear-gradient(top,  #5e5e5e 0%,#7e7e7e 50%,#5d5d5d 50%,#5c5c5c 100%);
    background: linear-gradient(to bottom,  #5e5e5e 0%,#7e7e7e 50%,#5d5d5d 50%,#5c5c5c 100%);
    border-left: 1px solid #000;
}

.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;
}

/*
* Agent article types
*/
.UseArticleColors .agent-phone > td {
    background: #d1e8d1 !important;
    background: -moz-linear-gradient(top,  #d1e8d1 0%, #c5e2c5 100%) !important;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d1e8d1), color-stop(100%,#c5e2c5)) !important;
    background: -webkit-linear-gradient(top,  #d1e8d1 0%,#c5e2c5 100%) !important;
    background: -o-linear-gradient(top,  #d1e8d1 0%,#c5e2c5 100%) !important;
    background: -ms-linear-gradient(top,  #d1e8d1 0%,#c5e2c5 100%) !important;
    background: linear-gradient(to bottom,  #d1e8d1 0%,#c5e2c5 100%) !important;
}
.UseArticleColors .agent-email-external > td {
    background: #d1e8d1 !important;
    background: -moz-linear-gradient(top,  #d1e8d1 0%, #c5e2c5 100%) !important;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d1e8d1), color-stop(100%,#c5e2c5)) !important;
    background: -webkit-linear-gradient(top,  #d1e8d1 0%,#c5e2c5 100%) !important;
    background: -o-linear-gradient(top,  #d1e8d1 0%,#c5e2c5 100%) !important;
    background: -ms-linear-gradient(top,  #d1e8d1 0%,#c5e2c5 100%) !important;
    background: linear-gradient(to bottom,  #d1e8d1 0%,#c5e2c5 100%) !important;
}
.UseArticleColors .agent-email-internal > td {
    background: #ffd1d1 !important;
    background: -moz-linear-gradient(top,  #ffd1d1 0%, #ffc5c5 100%) !important;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffd1d1), color-stop(100%,#ffc5c5)) !important;
    background: -webkit-linear-gradient(top,  #ffd1d1 0%,#ffc5c5 100%) !important;
    background: -o-linear-gradient(top,  #ffd1d1 0%,#ffc5c5 100%) !important;
    background: -ms-linear-gradient(top,  #ffd1d1 0%,#ffc5c5 100%) !important;
    background: linear-gradient(to bottom,  #ffd1d1 0%,#ffc5c5 100%) !important;
}
.UseArticleColors .agent-note-external > td {
    background: #d1d1d1 !important;
    background: -moz-linear-gradient(top,  #d1d1d1 0%, #c5c5c5 100%) !important;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d1d1d1), color-stop(100%,#c5c5c5)) !important;
    background: -webkit-linear-gradient(top,  #d1d1d1 0%,#c5c5c5 100%) !important;
    background: -o-linear-gradient(top,  #d1d1d1 0%,#c5c5c5 100%) !important;
    background: -ms-linear-gradient(top,  #d1d1d1 0%,#c5c5c5 100%) !important;
    background: linear-gradient(to bottom,  #d1d1d1 0%,#c5c5c5 100%) !important;
}
.UseArticleColors .agent-note-internal > td {
    background: #ffd1d1 !important;
    background: -moz-linear-gradient(top,  #ffd1d1 0%, #ffc5c5 100%) !important;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffd1d1), color-stop(100%,#ffc5c5)) !important;
    background: -webkit-linear-gradient(top,  #ffd1d1 0%,#ffc5c5 100%) !important;
    background: -o-linear-gradient(top,  #ffd1d1 0%,#ffc5c5 100%) !important;
    background: -ms-linear-gradient(top,  #ffd1d1 0%,#ffc5c5 100%) !important;
    background: linear-gradient(to bottom,  #ffd1d1 0%,#ffc5c5 100%) !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 {
    background: #ffffd1 !important;
    background: -moz-linear-gradient(top,  #ffffd1 0%, #ffffc5 100%) !important;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffd1), color-stop(100%,#ffffc5)) !important;
    background: -webkit-linear-gradient(top,  #ffffd1 0%,#ffffc5 100%) !important;
    background: -o-linear-gradient(top,  #ffffd1 0%,#ffffc5 100%) !important;
    background: -ms-linear-gradient(top,  #ffffd1 0%,#ffffc5 100%) !important;
    background: linear-gradient(to bottom,  #ffffd1 0%,#ffffc5 100%) !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: #f3960d !important;
    background: -moz-linear-gradient(top,  #ffe7bd 0%, #fbba49 20%, #f6ad3e 51%, #f3960d 51%, #e98207 95%, #e07006 100%) !important;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffe7bd), color-stop(20%,#fbba49), color-stop(51%,#f6ad3e), color-stop(51%,#f3960d), color-stop(95%,#e98207), color-stop(100%,#e07006)) !important;
    background: -webkit-linear-gradient(top,  #ffe7bd 0%,#fbba49 20%,#f6ad3e 51%,#f3960d 51%,#e98207 95%,#e07006 100%) !important;
    background: -o-linear-gradient(top,  #ffe7bd 0%,#fbba49 20%,#f6ad3e 51%,#f3960d 51%,#e98207 95%,#e07006 100%) !important;
    background: -ms-linear-gradient(top,  #ffe7bd 0%,#fbba49 20%,#f6ad3e 51%,#f3960d 51%,#e98207 95%,#e07006 100%) !important;
    background: linear-gradient(to bottom,  #ffe7bd 0%,#fbba49 20%,#f6ad3e 51%,#f3960d 51%,#e98207 95%,#e07006 100%) !important;
    -webkit-box-shadow: 0 1px 0 rgba(0,0,0,0.3) !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.3) !important;
}


} /* end @media */
