﻿.game {
    border-radius: 6px;
}

.game h3{
    font-size:1em;
    margin-bottom:0px;
}

#dashboard .games-container .game {
    background-color: #1f2124;
    width: calc(25% - 40px);
    margin: 0 20px;
    min-height: 15em;
    color: white;
    display: inline-flex;
    flex-direction: column;
    padding: 0.5em;
    box-shadow: 0 2px 7px 0 rgba(0,0,0,0.4);
    margin-bottom: 2em;
}

#dashboard .games-container {
    display: flex;
    flex-wrap:wrap;
    justify-content:center;
}

@media(max-width: 1200px) {
    #dashboard .games-container .game {
        width: calc(33.333% - 40px);
    }
}

@media(max-width: 992px) {
    #dashboard .games-container .game {
        width: calc(50% - 40px);
    }
}

@media(max-width: 768px) {
    #dashboard .games-container .game {
        width: calc(100% - 40px);
    }
}

.search-results, .search-new-games {
    display: flex;
    flex-wrap:wrap;
    margin-bottom: 2em;
}

.search-results:empty{
    display:none;
}

#search .game {
    background-color: #1f2124;
    width: calc(25% - 40px);
    margin: 0 20px;
    margin-bottom: 2em;
    color: white;
    display: inline-flex;
    flex-direction: column;
    padding: 0.5em;
    min-height: 12em;
    overflow: hidden;
}

@media(max-width: 1200px) {
    #search .search-results .game, #search .search-new-games .game {
        width: calc(33.3333% - 40px);
    }
}

@media(max-width: 992px) {
    #search .search-results .game, #search .search-new-games .game {
        width: calc(50% - 40px);
    }
}

@media(max-width: 768px) {
    #search .search-results .game, #search .search-new-games .game {
        width: calc(100% - 40px);
    }
}

.game .game-header{
    display:table;
}

.game .game-header img{
    width:60px;
    height:60px;
    display:table-cell;
    border-radius:4px;
    background-color:white;
}

    .game .game-header .game-title {
        padding-left: 0.5em;
        padding-right: 0.5em;
        display: table-cell;
        width: 100%;
        vertical-align: middle;
        font-size:1.5em;
    }

.game .game-header .game-region {
    display: table-cell;
    vertical-align:middle;
    width:40px;
    padding-right:5px;
}

.game .game-header .game-region select {
    width: 6em;
    background-color:black;
    color:white;
    appearance:revert;
}

.game .game-reset-times .game-next-reset-time-container {
    margin-bottom: 9px;
    margin-top: 9px;
}

.game .game-add-btn {
    margin-left: auto;
    margin-top: auto;
    background-color: #3A3A3A;
}

.game .game-remove-btn {
    margin-left:auto;
    background-color: #3A3A3A;
}

.game .game-reset-times {
    margin-top: 5px;
}

.game .game-notif-toggle-container{
    display:inline-flex;
    align-items:center;
}

    .game .game-notif-toggle-container input{
        display:none;
    }

.game .game-notif-toggle input + div {
    height: 24px;
    width: 24px;
    background-color: dimgray;
    -webkit-mask-image: url("https://api.iconify.design/ic/baseline-notifications-off.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    mask-image: url("https://api.iconify.design/ic/baseline-notifications-off.svg");
    mask-repeat: no-repeat;
    mask-size: cover;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.game .game-notif-toggle input:checked + div {
    background-color:white;
    -webkit-mask-image: url("https://api.iconify.design/ic/baseline-notifications.svg");
    mask-image: url("https://api.iconify.design/ic/baseline-notifications.svg");
}

.game .game-edit-container {
    margin-top: auto;
    display: flex;
    align-items: center;
}