/**
 * @project     KIX4OTRS (http://www.cape-it.de) - Agent Frontend
 * @version     $Revision: 1.10 $
 * @copyright   c.a.p.e. IT GmbH
 * @license     AGPL (http://www.gnu.org/licenses/agpl.txt)
 */

/*
 * @package     Skin "default"
 * @section     Tables
 */
@media screen , projection , tv , handheld {
      #ArticleTableBody .Scroller {
        margin-top: 30px;
        margin-bottom: 10px;
      }

      #ArticleTable {
        position: inherit;
      }

      #ArticleTableBody thead tr {
        width: 100%;
        margin: 0px;
        top: 0px;
        display: block;
        position: absolute;
      }

      .DataTable tbody tr, .TableSmall tbody tr {
        position: relative;
      }

     /* OTRS padding is too much */
     .TableSmall thead a,.TableSmall thead span {
          padding: 0 5px;
     }
     .TableSmall td {
          padding: 0 5px;
     }
     .TableSmall thead {
          background: linear-gradient(to bottom, #F0F0F0 0%, #EAEAEA 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
     }
     .DataTable thead th {
          padding: 4px 6px 3px;
     }
     .DataTable tbody tr td.LinkedObjects {
          font-size: 12px;
     }
     .DataTable tbody tr td.LinkedObjects span {
          font-size: 12px;
     }
     .DataTable tbody tr td.LinkedObjects a {
          color: inherit;
     }
     .DataTable tbody td {
          padding: 0 6px;
     }
     .DataTable tbody td.Top {
          vertical-align: top;
     }
     .DataTable tbody td a {
          color: #F58500;
     }

     /* allow footer lines in DataTables */
     .DataTable tfoot tr {
        background: #eeeeee;
        background: -moz-linear-gradient(top, #eeeeee 0%, #e0e0e0 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#e0e0e0));
        background: -webkit-linear-gradient(top, #eeeeee 0%,#e0e0e0 100%);
        background: -o-linear-gradient(top, #eeeeee 0%,#e0e0e0 100%);
        background: -ms-linear-gradient(top, #eeeeee 0%,#e0e0e0 100%);
        background: linear-gradient(to bottom, #eeeeee 0%,#e0e0e0 100%);
     }
     .DataTable tfoot tr:nth-child(even) td {
          background-color: transparent;
     }
     .DataTable tfoot tr:nth-child(uneven) td {
          background-color: transparent;
     }
     .DataTable tfoot td {
          vertical-align: bottom;
          background: none;
          text-transform: uppercase;
          border-top: 1px solid #FFF;
          border-bottom: 1px solid #BBB;
          border-right: 1px solid #CCC;
          padding: 4px 10px 3px;
          color: #4B4B4B;
          font-size: 11px;
          line-height: 11px;
     }
     .DataTable tfoot td.Last {
          border-right: medium none;
          background-color: transparent;
     }
     .DataTable tfoot tr.Last td {
          border-bottom: medium none;
          background-color: transparent;
     }

     /* new classes */
     .TableFixed {
          table-layout: fixed;
     }

     /* layout for AgentTicketZoom's attachment tab */
     tbody td a.AttachmentDownload {
          display: block;
          width: 24px;
          height: 16px;
          text-indent: -9999px;
          background: url(../img/icons/disk.png) no-repeat top center;
          cursor: pointer;
     }
     tbody td a.AttachmentDownload:hover {
          background-position: center 0px;
     }
} /* end @media */