/**
 * @project     OTRS (http://www.otrs.org) - Agent Frontend
 * @version     $Revision: 1.20 $
 * @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 .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: 40%;
}

.RTL .ItemRow {
    margin-left: 0;
    margin-right: 40%;
}

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

} /* end @media */