/*
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 {
    right: -100px;
    transition: all ease 0.5s;
    color: var(--white);
    font-size: 20px;
    position: absolute;
    top: 10px;
}

.ItemListGrid > li.IsFavourite > a > .Favourite {
    display: none !important;
}

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

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

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

.ItemListGrid > li > a > .Favourite .fa-check {
    color: green !important;
}

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

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

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

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

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

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

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

} /* end @media print*/
