/**
 * @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;
}

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

.FixedHeader .Scroller {
    margin-top: 30px;
    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;
    background: url(../img/zoom_active2.png) no-repeat 0 -32px;
    display: block;
    float: left;
}

.ControlRow .Icons a.Active {
    background-position: 0 0;
}

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

.ControlRow .ArticleView.Icons a span {
    background: transparent url(../img/articleview.png) no-repeat;
}

.ControlRow .ArticleView.Icons .OneArticle.Active span,
.ControlRow .ArticleView.Icons .OneArticle.Active:hover span {
    background-position: -16px 0;
}

.ControlRow .ArticleView.Icons .AllArticles span,
.ControlRow .ArticleView.Icons .AllArticles:hover span {
    background-position: 0 -16px;
}

.ControlRow .ArticleView.Icons .AllArticles.Active span,
.ControlRow .ArticleView.Icons .AllArticles.Active:hover span {
    background-position: -16px -16px;
}

.ControlRow .ArticleFilter.Icons a span {
    background: url(../img/articlefilter.png) no-repeat;
}

.ControlRow .ArticleFilter.Icons a#ResetArticleFilter span {
    background: url(../img/icons/undo.png) no-repeat;
}

.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 {
    background: white url(../img/gradient_light.png) repeat-x !important;
}
.UseArticleColors .customer-email-external > td {
    background: white url(../img/gradient_light.png) repeat-x !important;
}
.UseArticleColors .customer-note-external > td {
    background: white url(../img/gradient_light.png) repeat-x !important;
}
.UseArticleColors .customer-phone > td {
    background: white url(../img/gradient_light.png) repeat-x !important;
}

/*
* Agent article types
*/
.UseArticleColors .agent-phone > td {
    background: green url(../img/gradient_light.png) repeat-x !important;
}
.UseArticleColors .agent-email-external > td {
    background: green url(../img/gradient_light.png) repeat-x !important;
}
.UseArticleColors .agent-email-internal > td {
    background: red url(../img/gradient_light.png) repeat-x !important;
}
.UseArticleColors .agent-note-external > td {
    background: black url(../img/gradient_light.png) repeat-x !important;
}
.UseArticleColors .agent-note-internal > td {
    background: red url(../img/gradient_light.png) repeat-x !important;
}

/*
* System article types
*/
.UseArticleColors .system-note-internal > td {
    background: yellow url(../img/gradient_light.png) repeat-x !important;
}
.UseArticleColors .system-note-external > td {
    background: yellow url(../img/gradient_light.png) repeat-x !important;
}
.UseArticleColors .system-note-report > td {
    background: yellow url(../img/gradient_light.png) repeat-x !important;
}
.UseArticleColors .system-email-external > td {
    background: yellow url(../img/gradient_light.png) repeat-x !important;
}
.UseArticleColors .system-email-internal > td {
    background: yellow url(../img/gradient_light.png) repeat-x !important;
}

.UseArticleColors .customer-webrequest > td {
    background: white url(../img/gradient_light.png) repeat-x !important;
}
.UseArticleColors .customer-email-external > td {
    background: white url(../img/gradient_light.png) repeat-x !important;
}
.UseArticleColors .customer-note-external > td {
    background: white url(../img/gradient_light.png) repeat-x !important;
}
.UseArticleColors .customer-phone > td {
    background: white url(../img/gradient_light.png) repeat-x !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: url(../img/table_small_hover_bg.png) repeat-x center !important;
    background: -moz-linear-gradient(center top, #FFE7BD, #FBBA49 20%, #F6AD3E 51%, #F3960D 51%, #E98207 95%, #E07006) !important;
    background: -webkit-gradient(linear, left top, left bottom, from(#FFE7BD), to(#E07006), color-stop(20%, #FBBA49), color-stop(51%, #F6AD3E), color-stop(51%, #F3960D), color-stop(95%, #E98207)) !important;
    -moz-box-shadow: 0 1px 0 rgba(0,0,0,0.3) !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 */
