.nav-pills > li > a {
    /* color: white; */
    /* background-color: #191A1C; */
    /* border: none; */
    /* transition: 0.3s background-color; */
    /* pointer-events: none; */
    outline: none;
    user-select: none;
}

.nav-pills > li > a:hover {
    background: none;
    border-color: white;
}

.nav-pills > li > a:focus {
    background: none;
}

/* Bug repair - problem with focused items */
/* .filter.filter > a:focus {
    background-color: transparent;
} */

/* .filter > a:focus:hover {
    background-color: #c92127;
} */

#portfolio-grid > div {
    margin-bottom: 20px;
}

/* Search */
#kat-search-container {
    margin-bottom: 30px;
    margin-left: 5px;
}

#kat-search {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid white;
    box-shadow: none;
    border-radius: 0;
    color: white;
    margin-left: 10px;
}

#kat-search::placeholder {
    color: white;
    opacity: 0.7;
}

#chronologia-container {
    margin-left: 5px;
}

/* Game status */
.game-status-triangle {
    width: 0; 
    height: 0; 
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid #f00;
    position: absolute;
    right: -10px;
    top: -3px;
    transform: rotate(45deg);
    transition: right 0.4s;
}

.game-status {
    position: absolute;
    top: 0;
    right: -150px;
    width: 150px;
    height: calc(30px * 0.866 * 0.866 - 3px);
    /* height: 19.5px; */
    transition: right 0.4s;
}

.status-done {
    background-color: #16810c;
}

.status-playing {
    background-color: #333;
}

.status-undone {
    background-color: #c92127;
}

.status-sometimes {
    background-color: #b9b60c;
} 

.status-triangle-done {
    border-bottom-color: #16810c;
}

.status-triangle-playing {
    border-bottom-color: #333;
}

.status-triangle-undone {
    border-bottom-color: #c92127;
}

.status-triangle-sometimes {
    border-bottom-color: #b9b60c;
}

.status-text {
    font-size: 15px;
    user-select: none;
    line-height: 9px;
    text-align: center;
    /* vertical-align: middle; */
}

.thumbnail:hover .game-status-triangle {
    right: 140px;
}

.thumbnail:hover .game-status {
    right: 0;
}

/* .game-status:hover {
    width: 100%;
} */

/* .thumbnail img:hover .status-text {
    opacity: 1;
} */

/* .game-status:hover .status-text {
    opacity: 1;
} */

.thumbnail .mask {
    background-color: #333;
}

#noGamesFound {
    display: none;
    text-align: center;
    margin-left: 30px;
}

/* Too long name bug repair */
.thumbnail h3 {
    max-height: 22px;
    overflow: hidden;
}

@media only screen and (min-width: 600px) {
    #chronologia-container {
        float: right;
        margin-left: 0;
    }

    #kat-search-container {
        margin-bottom: 0;
        margin-left: 0;
    }
}

.thumbnail {
    width: 370px;
    height: calc(173px + 32px);
}

.thumbnail > img {
    width: 370px;
    height: 173px;
}

@media (max-width: 1200px) {
    .thumbnail {
        width: 300px;
        height: calc(140px + 32px);
    }
    
    .thumbnail > img {
        width: 300px;
        height: 140px;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    .thumbnail {
        width: 228px;
        height: calc(107px + 32px);
    }
    
    .thumbnail > img {
        width: 228px;
        height: 107px;
    }
}

@media (max-width: 768px) {
    .thumbnail {
        width: 100%;
        height: 100%;
    }
    
    .thumbnail > img {
        width: 100%;
        height: 100%;
    }
}