/* Codepia Game Catalog Manager frontend styles. */
ul.sale_memo li a{
    color: #ff571e;
}

p.sale-sort{
    padding: 0 .5em;
}

@media screen and (min-width: 767px){
    p.sale-sort{
        padding: 0;
    }
}

table.catalog_sale{
    table-layout: fixed;
    border-width: 2px;
}

section.sale p.sale-sort a[aria-current="true"]{
    background-color: #ff571e;
    padding: .5em;
    color: #fff;
}

table.catalog_sale:not(:last-child){
    margin-bottom: .5em;
}

table.catalog_sale th,
table.catalog_sale td {
    border-bottom: 1px #eee dashed;
    vertical-align: middle;
    padding: .25em;
    font-size: .8em;
}

@media screen and (min-width: 767px){
    table.catalog_sale th,
    table.catalog_sale td{
        font-size: 1em;
        padding: .5em;
    }

    table.catalog_sale td ul li a{
        font-size: .8em;
    }
}

table.catalog_sale th {
    background-color: #f6f6f6;
    text-align: left;
}

table.catalog_sale td.sale-thumb {
    width: 95px;
    text-align: center;
}

@media screen and (min-width: 767px){
    table.catalog_sale td.sale-thumb{
        width: 120px;
    }
}

table.catalog_sale td.sale-thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

table.catalog_sale td.sale-thumb div.cp-thumb-fallback {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 4px;
    background-color: #888;
    color: #fff;
    font-family: Trebuchet MS, sans-serif;
    line-height: 1;
}

table.catalog_sale td.sale-title a{
    font-weight: bold;
    color: #ff571e;
}

table.catalog_sale td.sale-title a span{
    margin-left: .5em;
    text-decoration: underline dashed 1px;
    font-size: .9em;
    color: inherit
}

table.catalog_sale tr.reg_price th,
table.catalog_sale tr.reg_price td{
    text-decoration: line-through;
}

table.catalog_sale tr.sale_price th,
table.catalog_sale tr.sale_price td{
    color: rgb(240, 24, 24);
    font-weight: bold;
}

table.catalog_sale td.sale-links ul{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .25em;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

@media screen and (min-width: 767px){
    table.catalog_sale td.sale-links ul{
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (min-width: 1080px){
    table.catalog_sale td.sale-links ul{
        grid-template-columns: repeat(3, 1fr);
    }
}

table.catalog_sale td.sale-links ul li a{
    background-color: #555;
    color: #fff;
    padding: .5em;
    display: block;
    border-radius: 999px;
}

@media screen and (min-width: 767px){
    table.catalog_sale td.sale-links ul li a{
        padding: 1em .5em;
    }
}

section.sale p.sale-sort{
    text-align: right;
}

section.sale p.sale-sort a{
    padding: .5em;
    background-color: #eee;
}

section.sale p.sale-sort a[aria-current="true"]{
    font-weight: bold;
    color: #fff;
    background-color: #ff571e;
}

section.sale p.sale-sort a{
    padding: .5em;
}

p[data-cp-gcm-sale-more-wrap="1"]{
    text-align: center;
}

button[data-cp-gcm-sale-more]{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 2em;
    padding: .5em 1.5em;
    background-color: #555;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

button[data-cp-gcm-sale-more]:disabled{
    cursor: default;
    opacity: .75;
}

button[data-cp-gcm-sale-loading-button="1"]::after,
p[data-cp-gcm-sale-loading="1"]::after{
    content: "";
    width: 1em;
    height: 1em;
    margin-left: .5em;
    display: inline-block;
    vertical-align: -.15em;
    background-color: currentColor;
    -webkit-mask: url("spinner-solid.svg") center / contain no-repeat;
    mask: url("spinner-solid.svg") center / contain no-repeat;
    animation: cp-gcm-spin 1s linear infinite;
}

@keyframes cp-gcm-spin{
    to{
        transform: rotate(360deg);
    }
}

