@import url('https://fonts.googleapis.com/css2?family=Italianno&display=swap');
:root{
    --button-size: 24px;
}
@media(max-width: 1000px){
    :root{
        --button-size: 16px;
    }
}
body{
    background: #ddd;
}
a, a:visited, a:hover{
    text-decoration: none;
    color: black;
}

#newgame-btn{
    display:block;
    position: fixed;
    bottom: 28px;
    right: 16px;
    width: 56px;
    height: 56px;
    padding: 0;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    font-size:2em;
    line-height: 1.5em;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
    background: #ae8;
    border: 1px rgba(0,0,0,0.3) solid;
    border-radius: 50%;
}

.service-name{
    width: 80px;
}
th {
    text-align: left;
}
button,
.button,
a.button,
a:hover.button,
a:visited.button{
    padding: 0.5em 1em;
    background-color: #58C;
    color: #000;
    text-decoration: none;
}

ul.main-menu{
    margin-left: 0;
    padding-left:0;
}
li.menu-item{
    list-style: none;
    display: inline-block;
    min-width: 100px;
}
li.menu-item>a{
    width: 100%;
    height: 30px;
    display: inline-block;
    background-color: rgba(100,100,100,0.3);
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
}
.dataTables_wrapper .dataTables_filter{
    float: left;
    clear: both;
    margin-top: 10px;
    margin-bottom: 10px;
}
table.dataTable tbody tr.service-Epic {
    background-color: #CCF;
}
table.dataTable tbody tr.service-GOG {
    background-color: #FCC;
}
table.dataTable tbody tr.service-uPlay {
    background-color: #CFC;
}
table.dataTable tbody tr.service-Steam {
    background-color: #CCC;
}
table.dataTable tbody tr.service-EA {
    background-color: #FDA;
}
table.dataTable tbody tr.original {
    background-color: #CFF;
}
table.dataTable tbody tr.service-Warez{
    background-color: #EEE;
    color: #555;
    font-style: italic;
}

.service-Google-mobile.card .image img ,
.service-Epic-Mobile.card .image img {
    width: 85%;
    margin-top: 10%;
}

.image.row {
    text-align: center;
}
.card.service-Warez{
    background-color: #ccc;
}
.card.service-Wishlist{
    background-color: rgba(225,128,128,0.3);
}
.card.service-Epic-Mobile,
.card.service-Google-mobile{
    background-color: rgba(128,255,128,0.3);
    border-radius: 15px;
}
.card.service-Google-mobile .image.row ,
.card.service-Epic-Mobile .image.row {
    border-radius: 15px 15px 0 0;
}

.dataTables_length{
    display: none;
}
td.has-igdb>a.button {
    background-color: #9f9;
}
.card .price-row{
    text-align: center;
    margin-bottom: 0.5em;
    justify-content: space-evenly;
}
.card .game-name{
    text-align: center;
}

.img-button > svg {
    width: var(--button-size);
}

.img-button-32 > svg {
    width: 32px;
}
.platform-icon,
.service-icon,
.igdb .img-button svg,
.card .new-instance{
    width: var(--button-size);
    height: var(--button-size);
    box-shadow: 3px 3px 3px rgba(0,0,0,0.2);
    border: 1px solid rgba(0,0,0,0.2);
    padding: 3px;
    text-align: center;
    margin: 5px;
}


h1{
    font-size: 16pt;
    margin-top: 1em;
    margin-bottom: 2em;
}
h2{
    font-size: 14pt;
    margin-top: 1em;
    margin-bottom: 1em;
}
.rows{
    display: flex;
}
.cols{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.cols-left{
    justify-content: flex-start;
}
.hidden{
    display: none;
}
.card{
    width: 190px;
    padding: 0;
    margin: 0.5em;
    background: #FFF;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
}
.card .image.row{
    height: 259px;
    background: rgba(128,128,128,0.1);
}
.card .image img{
    width: 100%;
}
.platform-logo-img{
    max-width: 128px;
    max-height: 32px;
}
.platform-icon,
.service-icon{
    width: var(--button-size);
    height: var(--button-size);
}
.row{
    flex-direction: row;
}
.pad-half{
    padding: 0.5em;
}
.col{
    flex-direction: column;
}
.game-ds-data{
    padding: 1em;
}
.game-ds-data .row{
    margin-bottom: 1em;
}
.game-ds-data .icons .col{
    margin-right: 0.5em;
}
.w-500{
    max-width: 500px;
}
/*
table.dataTable .image>img{
    max-height: 100px;
}
*/

g#text-logo>path{
    fill: red;
}

@media(max-width: 1000px){
    dl.content-editor{
      max-width: 100%;
    }
    .card{
        width: 140px;
    }
    .card .image.row{
        height: 187px;
    }
    .platform-icon, .service-icon, .igdb .img-button svg, .card .new-instance{
        padding: 1px;
        line-height: 16px;
    }
}
