/*
Copyright (C) 2001-2021 OTRS AG, https://otrs.com/
Copyright (C) 2021 Znuny GmbH, https://znuny.org/

This software comes with ABSOLUTELY NO WARRANTY. For details, see
the enclosed file COPYING for license information (GPL). If you
did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.
*/

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

@media screen,projection,tv,handheld {

    /**
    * @subsection  Medium View Overview
    */
    /*#TicketOverviewMedium {
        margin-top: 10px;
    }

    .OverviewMedium {
        margin: 0px 16px 8px 8px;
    }*/

    .RTL .OverviewMedium {
        margin-right: 8px;
        margin-left: 16px;
    }

    /*#EmptyMessageMedium {
    padding: 7px;
    border: 1px solid #DDD;
    min-height: 0px;
    }

    .OverviewMedium li {
        position: relative;
        border-bottom: 1px solid #C5C5C5;
        min-height: 105px;
        border-left: 1px solid #ddd;
        border-right: 1px solid #ddd;
    }

    .OverviewMedium li:first-child {
        border-top: 1px solid #ddd;
    }

    .OverviewMedium li ul.InlineActions {
        position: absolute;
        top: -35px;
        right: 0px;
        height: 35px;
        background-color: #777;
        margin-right: 0px;
        padding-left: 5px;
        cursor: auto;
        transition: all ease-in 0.2s;
    }

    .OverviewMedium > li ul.InlineActions.Actions li:after {
        margin-top: 5px;
    }*/

    .OverviewMedium li ul.InlineActions li {
        height: auto;
        min-height: 0;
        border: none;
    }

    .OverviewMedium li ul.InlineActions li form {
        padding-top: 7px;
    }

    .OverviewMedium li ul.InlineActions li form select{
        font-size: 11px;
    }

    .OverviewMedium li ul.InlineActions li a {
        color: var(--black) !important;
    }

    .OverviewMedium li ul.InlineActions li:nth-child(even) {
        background-color: transparent;
    }

    .OverviewMedium li ul.InlineActions li.ResponsiveActionMenu {
        display: none;
    }

    .OverviewMedium li ul.InlineActions li.ResponsiveActionMenu:after {
        content: "";
        display: inline;
        float: none;
        margin: 0;
        margin-left: 8px;
    }

    body.TouchDevice .OverviewMedium li ul.InlineActions li.ResponsiveActionMenu.Opened:after {
        content: " | ";
        display: block;
        float: right;
        margin: 5px 3px;
    }

    body.TouchDevice .OverviewMedium li ul.InlineActions {
        top: 0px;
        transition: none;
    }

    body.TouchDevice .OverviewMedium li ul.InlineActions li.ResponsiveActionMenu {
        display: inline-block;
    }

    /*.OverviewMedium li div.Content {
        padding-top: 12px;
        padding-bottom: 12px;
        cursor: pointer;
        position: relative;
        border-left: 5px solid #fff;
        overflow: hidden;
    }*/

    .OverviewMedium li:nth-child(even) div.Content {
        border-left-color: #F5F5F5;
    }

    .OverviewMedium li:hover div.Content {
        border-left-color: var(--primary-color) !important;
    }

    /*.OverviewMedium li:last-child {
        border-bottom: 1px solid #ddd;
    }*/

    .OverviewMedium li:nth-child(even) {
        background-color: #F5F5F5;
    }

    /*.OverviewMedium div.Checkbox {
        position: absolute;
        top: 0px;
        left: 0px;
        width: 35px;
        height: 35px;
        cursor: default !important;
    }

    .OverviewMedium div.Checkbox input {
        margin-top: 12px;
        margin-left: 8px;
    }*/

    .RTL .OverviewMedium input.Checkbox {
        left: auto;
        right: 0px;
    }

    .RTL .OverviewMedium div.Checkbox input {
        margin-left: 0px;
        margin-right: 8px;
    }

    /*.OverviewMedium div.Flag {
        top: 37px;
        left: 8px;
        position: absolute;
        width: 22px;
        height: 12px;
        border: 1px solid #bbb;
    }

    .RTL .OverviewMedium div.Flag {
        left: auto;
        right: 8px;
    }

    .OverviewMedium div.UnreadArticles {
        position: absolute;
        left: 4px;
        top: 60px;
    }*/

    .RTL .OverviewMedium div.UnreadArticles {
        left: auto;
        right: 4px;
    }

    /*.OverviewMedium li:hover span.UnreadArticles {
        background-position: 0 -40px;
    }*/

    /*.OverviewMedium h2 {
        margin-left: 45px;
        font-size: 14px;
        font-weight: bold;
        width: 97%;
    }

    .RTL .OverviewMedium h2 {
        margin-left: 0;
        margin-right: 45px;
    }

    .OverviewMedium h2 a {
        color: #000;
        display: block;
    }

    .OverviewMedium table.Infos {
        margin-top: 2px;
        margin-left: 45px;
        table-layout: fixed;
        width: 97%;
    }*/

    .RTL .OverviewMedium table.Infos {
        margin-left: 0;
        margin-right: 45px;
    }

    /*.OverviewMedium table.Infos tr:last-child td {
        padding: 0 0 0 10px;
    }*/

    .RTL .OverviewMedium table.Infos tr:last-child td {
        padding: 0 10px 0 0;
    }

    /*.OverviewMedium table.Infos td {
        width: 16.67%;
        padding: 0 10px 5px 10px;
        overflow: hidden;
        line-height: 16px;
        border-left: none;
        border-right: 1px dotted #CCC;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .OverviewMedium table.Infos td > div {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .OverviewMedium table.Infos td:last-child {
        border-right: none;
    }

    .OverviewMedium table.Infos td:first-child {
        padding: 0 0 5px 0;
        border-left: none;
    }*/

    .RTL .OverviewMedium table.Infos td:first-child {
        padding: 0 10px 5px 10px;
    }

    /*.OverviewMedium table.Infos tr:last-child td:first-child {
        padding: 0;
    }*/

    .RTL .OverviewMedium table.Infos tr:last-child td:first-child {
        padding: 0 10px 5px 10px;
    }

    /*.OverviewMedium table.Infos td label {
        display: block;
        margin-bottom: 2px;
        color: #888;
        font-weight: bold;
    }*/

    .OverviewMedium div.DynamicFieldSeparator {
        height: 20px;
    }

    /***********************************************************************/
    /*    Moved from Core.Reset.Forwwward.css                              */
    /***********************************************************************/

    .OverviewBox.Medium .ActionRow {
        overflow: visible;
    }

    .OverviewMedium table {
        font-size: var(--font-size-sm);
        font-weight: var(--medium);
    }

    .OverviewMedium table tbody {
        display: flex;
        flex-flow: row;
        justify-content: space-between;
    }

    .OverviewMedium table tr {
        display: flex;
        flex: 1;
        flex-flow: column;
        border-left: var(--border-width) var(--border-solid) var(--border-color);
        padding-left: var(--padding-xl);
    }

    .OverviewMedium table tr:first-child {
        border-left: none;
        padding-left: 0;
    }

    .OverviewMedium table td {
        padding-bottom: var(--padding-lg);
        flex: 1;
    }

    .Overview table label {
        color: var(--gray-dark);
        font-weight: var(--semi-bold);
        display: block;
        padding-bottom: var(--padding-sm);
    }

} /* end @media */
