/*
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     Application
 * @subsection  Admin
 */

@media screen,projection,tv,handheld {

/**
 * @subsubsection     General
 */

.Keyword {
    display: inline-block;
    background: #ddd;
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    padding: 0px 5px 0px 6px;
    line-height: 16px;
    text-shadow: 1px 1px 1px #fff;
    position: relative;
    margin-right: 15px;
}

.Keyword:after {
    right: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(221, 221, 221, 0);
    border-right-color: #ddd;
    border-width: 8px;
    margin-top: -8px;
}

.Keyword:before {
    content: '°';
    font-size: 15px;
    color: #aaa;
    position: absolute;
    left: -2px;
    top: 2px;
    z-index: 999;
    font-weight: bold;
    text-shadow: 1px 1px 1px #fff;
}

.ItemListGrid > li.IsFavourite > a {
    box-shadow: none;
    border-color: var(--primary-color);
}

.ItemListGrid > li > a {
    overflow: hidden;
}

.ItemListGrid > li > a > .Favourite {
    display: none !important;
    right: 10px;
    transition: all ease 0.25s;
    color: var(--primary-color);
    background: var(--primary-color);
    font-size: 20px;
    position: absolute;
    top: 10px;
    opacity: 0;
}

.ItemListGrid > li > a:hover > .Favourite {
    color: var(--white);
    background: var(--white);
    opacity: 1;
}

.ItemListGrid > li.IsFavourite > a .Favourite {
    right: 10px;
    top: 10px;
}

.ItemListGrid > li > a:hover > .Favourite,
.ItemListGrid > li.IsFavourite > a > .Favourite {
    display: flex !important;
}

.ItemListGrid > li > a > .Favourite.Clicked .fa-star {
    display: flex !important;
}

.ItemListGrid > li > a > .Favourite > .fa {
    position: absolute;
    right: 0px;
    top: 0px;
}

.ItemListGrid > li > a:hover > .Favourite .fa-star-o {
    opacity: 1;
}

.ItemListGrid > li > a > .Favourite .fa-star {
    opacity: 0;
}

.ItemListGrid > li.IsFavourite > a:hover > .Favourite .fa-star {
    opacity: 1;
}

.ItemListGrid > li > a:hover > .Favourite,
.ItemListGrid > li > a > .Favourite.Clicked {
    right: 10px;
}

.ItemListGrid > li > a:hover > .Favourite .fa {
    transition: all ease 0.2s;
}

.ItemListGrid > li > a:hover > .Favourite:hover .fa {
    color: var(--white);
}

.ItemListGrid > li > a:hover > .Favourite:hover .fa-star-o {
    opacity: 0;
}

.ItemListGrid > li > a:hover > .Favourite:hover .fa-star {
    opacity: 1;
    display: block;
}

.ItemListGrid > li > a > .Favourite .fa-check {
    color: var(--white) !important;
    font-size: var(--icon-main-size);
    background: var(--primary-color);
    padding: 5px;
    border-radius: var(--border-radius-xs);
}

.ToggleView.Grid .fa:last-child {
    display: none !important;
}

.ToggleView.List .fa:first-child {
    display: none !important;
}

.Favourites tbody {
    display: flex;
    flex-flow: column;
}

.Favourites tr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: var(--border-radius-xs);
    transition: var(--main-transition);
}

.Favourites tr:hover {
    background-color: var(--table-td-even-bg);
}

.FavouriteList .DataTable.Favourites tbody tr:hover td,
.FavouriteList .DataTable.Favourites tbody tr:nth-child(2n) td {
    background: transparent;
    background-color: transparent;
}

.FavouriteList .DataTable.Favourites tbody tr td:first-child {
    width: 100%;
    padding: 0;
}
.FavouriteList .DataTable.Favourites tbody tr td:first-child a {
    padding: var(--padding-sm);
}

.FavouriteList .DataTable.Favourites tbody tr td:nth-child(2n) {
    margin-right: 5px;
}

.FavouriteList .DataTable.Favourites tbody tr td:nth-child(2n) a i {
    font-size: var(--icon-main-size);
}

.Favourites tbody tr:hover i {
    color: var(--gray-dark-semi);
}

.Favourites tr td:nth-child(2) {
    padding: 0;
}

.FavouriteList p {
    margin: 0px 5px;
}

.FavouriteList table {
    margin-bottom: 15px;
}

} /* end @media print*/
