/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: DevTeam
Template: flatsome
Version: 1.2
*/

ul#list-game li a {
     color: #e7e7e7;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    padding: 10px 16px;
    text-transform: uppercase;
    border-radius: 8px;
    border: 1px solid transparent;
}

ul#list-game li a:hover, ul#list-game li.active a{    
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(60, 56, 255, 0.24);
}

.box-game-homepage .box-image {
    border-radius: 16px;
    padding-top: 125%;
    position: relative;
    border-radius: 16px;
    border: 1px solid transparent;
    width: 100%;
}
.box-game-homepage .box-image img{
        right: 0;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    top: 0;
    position: absolute;
    object-position: 50% 50%;
    object-fit: cover;
    font-family: 'object-fit: cover;';
    border-radius: 16px;
}
#list-game {
    border-bottom: 0;
    padding-bottom: 15px;
    gap: 10px;
}

.box-game-homepage .box-image:hover:after {
    border: 1px solid #0048FE;
    background: rgba(0, 8, 51, 0.50);
    box-shadow: 0px 4px 16px 4px rgba(0, 72, 254, 0.24);
    display: flex;
    width: 100%;
    height: 100%;
    content: "";
    z-index: 1;
    position: absolute;
    top: 0;
    border-radius: 16px;
}
.box-game-homepage {
    display: flex;
    flex-direction: column;
}
.box-game-homepage .title-content-blog {
    -webkit-line-clamp: 1;
}
.title-content-blog {
     color: #e7e7e7;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    margin-top: 15px;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}
.box-game-homepage .title-content-blog{
    font-size: 18px;
    font-weight: 400;
}
.box-btn-game {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    gap: 8px;
    z-index: 2;
    display: none;
}
.box-image:hover .box-btn-game {
    display: flex;
}
.box-btn-game>* {
    padding: 10px 15px;
    width: 80%;
    color: #e7e7e7;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 18px;
    text-decoration: unset;
}
a.play-now {
    border-radius: 24px;
    border: 1px solid #0048FE;
    background: #050A25;
}
a.play-now:hover,
a.xem-review:hover {
    background: #FFB121;
     color: #e7e7e7;
    border-color: #FFB121;
}
a.xem-review {
    border-radius: 24px;
    background: #0048FE;
}
.box-btn-game>*:hover {
     color: #e7e7e7;
}

.toplist-game>* {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 50px;
    justify-content: center;
    position: relative;
}
.infomation {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.short-description {
    width: calc(100% - 320px);
     color: #e7e7e7;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}
.head-toplist.item-toplist {
     color: #e7e7e7;
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    text-align: center;
    padding: 48px 0 28px;
}
.body-toplist.item-toplist:nth-child(2):after,
.body-toplist.item-toplist:nth-child(3):after,
.body-toplist.item-toplist:nth-child(4):after {
    content: "";
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(255, 177, 33, 0.20) 0%, rgba(255, 177, 33, 0.00) 100%);
    width: 120px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}
.body-toplist.item-toplist:nth-child(2) .rank span:before,
.body-toplist.item-toplist:nth-child(3) .rank span:before,
.body-toplist.item-toplist:nth-child(4) .rank span:before {
    content: "";
    width: 24px;
    height: 24px;
    background: url(images/hot.svg);
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
}
.body-toplist.item-toplist:nth-child(3):after {
    background: linear-gradient(90deg, rgba(217, 217, 217, 0.20) 0%, rgba(217, 217, 217, 0.00) 100%);
}
.body-toplist.item-toplist:nth-child(4):after {
    background: linear-gradient(90deg, rgba(255, 77, 61, 0.20) 0%, rgba(255, 77, 61, 0.00) 100%);
}
.body-toplist.item-toplist:nth-child(2):before,
.body-toplist.item-toplist:nth-child(3):before,
.body-toplist.item-toplist:nth-child(4):before {
    content: "";
    border-radius: 8px;
    background: #FFB121;
    width: 4px;
    height: 80px;
    position: absolute;
    left: 0;
    padding: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
.body-toplist.item-toplist:nth-child(3):before {
    background: #C2C3C5;
}
.body-toplist.item-toplist:nth-child(4):before {
    background: #FF4D3D;
}
.body-toplist.item-toplist {
    margin-bottom: 10px;
    border-radius: 8px;
    background: #050A25;
    padding: 20px 20px 20px 0;
}
.body-toplist a.play-now,
.body-toplist a.view-review {
    border-radius: 8px;
    background: #3C38FF;
     color: #e7e7e7;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    height: 48px;
    text-decoration: unset;
    gap: 10px;
}
.body-toplist a.view-review:hover,
.body-toplist a.play-now:hover,
.widget-game a.play-game:hover,
.read-more-cat:hover {
    background: #FFB121;
     color: #e7e7e7;
}
.body-toplist a.view-review:hover {
    border-color: #FFB121;
}
.body-toplist a.view-review {
    border: 1px solid #0048FE;
    background: #000833;
}
.btn-toplist {
    display: flex;
    gap: 16px;
}
.head-toplist.item-toplist>* {
    font-size: 16px;
}
.short-description ul {
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.short-description ul li:before {
    content: "";
    background: url(images/gift.svg) no-repeat;
    background-size: contain;
    width: 24px;
    height: 24px;
    position: absolute;
    left: 0;
    top: 0;
}
.short-description ul li {
    display: flex;
    align-items: center;
    padding-left: 34px;
    position: relative;
}
.toplist-game .rank span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 40px;
}
.toplist-game .rank {
    width: 120px;
    text-align: center;
     color: #e7e7e7;
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}
.toplist-game .brand {
    width: 100px;
}
.toplist-game .brand img {
    border-radius: 16px;
}
.toplist-game .infomation {
    width: calc(100% - 100px - 120px - 100px);
}
.short-description ul{
    margin-bottom: 0;
}
@media (max-width: 600px) {
    .head-toplist.item-toplist {
        display: none;
    }

    .rank span {
        justify-content: center;
    }

    .listgame-section {
        background-color: #000833;
    }

    .body-toplist.item-toplist {
        flex-direction: column;
        padding: 0 0 15px 0;
        margin-bottom: 25px;
    }

    .body-toplist.item-toplist>* {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .body-toplist.item-toplist .rank {
        height: 100px;
    }

    .body-toplist.item-toplist .infomation {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 10px;
    }

    .body-toplist.item-toplist:nth-child(2):after,
    .body-toplist.item-toplist:nth-child(3):after,
    .body-toplist.item-toplist:nth-child(4):after {
        width: 100%;
        height: 100px;
    }

    .body-toplist.item-toplist:nth-child(2):before,
    .body-toplist.item-toplist:nth-child(3):before,
    .body-toplist.item-toplist:nth-child(4):before {
        width: 80px;
        height: 4px;
        bottom: unset;
        left: 0;
        right: 0;
    }
    .body-toplist a.play-now, .body-toplist a.view-review{
        padding: 10px;
    }
    .short-description ul li:before{
        width: 18px;
        height: 18px;
    }
    .short-description{
        width: 100%;
    }
    .body-toplist.item-toplist{
        gap: 15px;
    }
    .body-toplist.item-toplist:nth-child(2):after {
        background: linear-gradient(180deg, rgba(255, 177, 33, 0.20) 0%, rgba(255, 177, 33, 0.00) 100%);
    }

    .body-toplist.item-toplist:nth-child(3):after {
        background: linear-gradient(180deg, rgba(217, 217, 217, 0.20) 0%, rgba(217, 217, 217, 0.00) 100%);
    }

    .body-toplist.item-toplist:nth-child(4):after {
        background: linear-gradient(180deg, rgba(255, 77, 61, 0.20) 0%, rgba(255, 77, 61, 0.00) 100%);
    }

    .brand img {
        width: 96px;
        height: 96px;
        object-fit: contain;
    }

    .body-toplist.item-toplist .infomation>* {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .short-description ul {
        align-items: center;
    }
}