* {
    margin: 0;
    padding: 0;
    font-family: Tahoma, sans-serif;
    box-sizing: border-box;
    outline: none;
    border: none;
    list-style: none;
    text-decoration: none;
    position: relative;
}

.games {
    height: 45px;
    background: linear-gradient(0deg, #7d7d7d, #f3f3f3);
}

.games-logo {
    width: 1010px;
    margin: auto;
    display: flex;
    gap: 10px;
    align-items: center;
    height: 100%;
}

.games-logo a,
.games-logo a img {
    width: 120px;
    height: 35px;
    display: block;
}

body {
    background: linear-gradient(to top, #55c6f8 0%, #003f8c)
}

.main {
    width: 1010px;
    margin: auto;
}

header {
    height: 430px;
    background: url("../images/header.jpg");
}

nav {
    width: 100%;
    position: absolute;
    bottom: -.8rem;
    z-index: 50;
}

nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
}

nav ul li a {
    display: block;
    width: 109px;
    height: 35px;
    text-align: center;
    color: #fff;
    font-size: 0.920rem;
    line-height: 2.3;
    font-weight: 500;
    background: url("../images/menu-button.png"), url("../images/menu-button-hover.png");
    transition: all .1s ease-in-out;
    background-size: contain;
    background-repeat: no-repeat;
}

nav ul li a:hover {
    background: url("../images/menu-button-hover.png");
}

.container {
    padding: 1.5rem;
    background: #002c6b
}

.container-main {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 650px 242px;
    gap: 20px;
    align-items: start;
}

.container-main .content {
    border: 1px solid #c7c7c7;
    padding: 1.1rem;
}

.container-main .content>div+div {
    margin-top: 1.25rem;
}

.title {
    font-size: 1.145rem;
    color: #686868;
    padding-bottom: 0.875rem;
    font-weight: 600;
}

.sub_title {
    font-size: 0.938rem;
    font-weight: 500;
    color: #000000;
    padding-bottom: 0.875rem;
}

.info {
    font-size: 0.813rem;
    line-height: 2;
    color: #666;
    font-weight: normal;
}

.info li:not(:last-child) {
    border-bottom: 1px dashed #c7c7c7;
}

.sidebar>div+div {
    margin-top: 1.25rem;
}

.posts li a {
    display: grid;
    grid-template-columns: 1fr 150px;
    border: 1px solid #c7c7c7;
    font-size: 0.938rem;
    color: #333;
}

.posts li+li {
    margin-top: 0.230rem;
}

.posts li a div {

    padding: 0.313rem;
}

.posts li a span.date {
    padding: 0.313rem;
    text-align: center;
    border-left: 1px solid #c7c7c7;
}

.rank-home,
.rank-home-guilds {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.rank-home-guilds {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
}

.table {
    border: 1px solid #c7c7c7;
    width: 100%;
    border-collapse: collapse;
}

.table thead {
    font-size: 0.813rem;
    color: #333;
    border-collapse: collapse;
}

.table thead tr:last-child th {
    text-align: left;
    color: #5d5d5d;
    font-weight: normal;
}

.table tbody tr td,
.table thead tr th {
    font-size: 0.813rem;
    color: #333;
    padding: 0.313rem;
    border-bottom: 1px solid #d9d9d9;
}

.rank-home-guilds>div {
    text-align: center;
    padding: 0.313rem;
    border: 1px solid #c7c7c7;
}

.rank-home-guilds>div a,
.table tr td a {
    color: #424445;
    font-size: 0.813rem
}

.rank-home-guilds>div a:hover,
.table tr td a:hover {
    color: #2c7aa2;
}

.rank-home-guilds>div svg {
    margin: 0.5rem 0;
}

.panel-login {
    padding: 1rem;
    background: #5d8ba6;
}

.panel-login .title {
    color: #000;
}

.panel-login .box-input-login {
    display: grid;
    grid-template-columns: 45px 1fr;
    color: #fff;
    gap: 5px;
    font-size: 0.813rem;
    line-height: 2;
    text-align: right;
}

.panel-login div input {
    padding: 0.313rem;
    border: 1px solid #c7c7c7;
    border-radius: 2px;
    margin-bottom: 1rem;
    width: 100%;
}

.panel-login .button {
    display: flex;
    justify-content: end;
}

.info-account {
    color: #fff;
    font-size: 0.813rem;
}

.info-account li {
    padding: 5px;
    background: #1b2329;
    border-radius: 5px;
}

.info-account li span {
    float: right;
}

.links-panel li a {
    text-align: left !important;
    display: inline-block;
}

.links-panel li a:hover {
    color: #000
}

button {
    padding: 0.313rem 0.813rem;
    border-radius: 3px;
    background: #a8bdd7;
    color: #000;
    font-size: 0.813rem;
    cursor: pointer;
    transition: all .1s ease-in-out;
    margin: 0.313rem 0 0;
}

button:hover {
    background: rgb(190, 211, 236);
}

.panel-login ul li {
    margin: .5rem 0;
}

.panel-login ul li a {
    color: #fff;
    font-size: 0.813rem;
    text-align: center;
    display: block;
}

.panel-login ul li a span {
    color: #000;
}

.form form div+div {
    margin-top: 0.313rem;
}

.form form div p {
    font-size: 0.813rem;
    margin-bottom: .313rem;
    color: #5d5d5d;
}

.form form div input:not(input[type=checkbox]),
form select,
.form textarea {
    padding: 0.5rem;
    border: 1px solid #c7c7c7;
    border-radius: 2px;
    width: 100%;
}

.form sup {
    color: #f30
}

.form .terms {
    padding: 0.313rem 0;
    font-size: 0.813rem;
    display: flex;
    gap: 4px;
}

.box-info {
    padding: 0.813rem;
    border: 1px solid #c7c7c7;
    font-size: 0.813rem;
}

.buttons {
    display: flex;
    gap: 5px;
    margin-bottom: 1rem;
}

.content-panel .buttons.account {
    flex-direction: column;
}

.content-panel .buttons a {
    display: block;
}

.buttons a {
    padding: 0.313rem 0.813rem;
    display: inline-block;
    background: #5d8ba6;
    color: #fff;
    border-radius: 4px;
    font-size: 0.813rem;
}

.buttons a:hover {
    background: #386b88;
}

.shoppings-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.box-select-shop {
    border: 1px solid #c7c7c7;
    padding: 0.5rem;
}

.box-select-shop p {
    font-size: 0.938rem;
    padding: 0.188rem 0;
    color: #000
}

.shopping-detail,
.content-panel {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 30px;
}

.box-select-shop a,
.shopping-detail .links a,
.shopping-detail .items .category a,
.tickets .table tbody tr td a {
    padding: 0.313rem 0.813rem;
    display: inline-block;
    background: #5d8ba6;
    color: #fff;
    border-radius: 4px;
    font-size: 0.813rem;
}

.shopping-detail .links a {
    display: block;
}

.shopping-detail .links li+li {
    margin-top: .2rem;
}

.box-select-shop a:hover,
.shopping-detail .links a:hover,
.shopping-detail .items .category a:hover,
.tickets .table tbody tr td a:hover {
    background: #386b88;
}

.shopping-detail .items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.shopping-detail .items .category {
    padding: 0.313rem;
    border: 1px solid #c7c7c7;
    text-align: center;
    font-size: 0.813rem;
}

.shopping-detail .items .category img {
    padding: 0.313rem;
    background: #eee;
    border-radius: 8px;
    width: 100px;
    object-fit: scale-down;
    height: 100px;
}

.shopping-detail .items .category p {
    padding: .5rem 0
}

.shopping-detail .detail-item {
    display: grid;
    grid-template-columns: 130px 1fr;
}

.shopping-detail .detail-item img {
    width: 100px;
    height: 100px;
    object-fit: scale-down;
    background: #eee;
    border-radius: 8px;
}

.characters {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
}

.characters>div {
    border: 1px solid #d7d7d7;

    padding: 0.813rem;
    text-align: center;
}

.characters>div a {
    font-size: 0.813rem;
    color: #333;
}

.characters>div a:hover {
    color: #28a4ff;
}

.avatar-character img {
    width: 100px;
    height: 100px;
    background: #cdcccc;
    padding: 3px;
    margin-bottom: 1rem;
}

.tickets div+div,
.posts div+div {
    margin-top: 1rem
}

.tickets img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.tickets .ticket-message,
.posts .post-message {
    padding: 0.813rem;
    border: 1px solid #c7c7c7;
    font-size: 0.813rem;
    margin-top: 0.313rem;
}

.tickets .ticket-creator,
.posts .post-creator {
    text-align: center;
    padding: 0.313rem;
    font-size: 0.813rem
}

.option-poll {
    display: flex;
    justify-content: space-between;
    font-size: 0.813rem;
    padding: 0.313rem;
    background: #eee;
    border-radius: 5px;
}

.option-poll+.option-poll {
    margin-top: 0.313rem;
}

.option-poll>div {
    display: flex;
    gap: 0.313rem;
}

.preview .image {
    padding: 5px;
    background: #dfdfdf;
    width: 130px;
    margin: auto auto 0.813rem;
    display: block;
}

.preview .info div+div {
    margin-top: 1.25rem
}

.offline {
    color: #c13714 !important;
    float: right;
    font-weight: normal;
}

.online {
    color: #57c75e !important;
    float: right;
    font-weight: normal;
}

.events-day span,
.events-week span {
    float: right
}

.price_total_item {
    font-size: 0.813rem;
    padding: 5px 10px;
    background: #f7f9ff;
    border-radius: 5px;
    border: 2px solid #c4cff1;
    text-align: center;
}

.price_total_item span {
    padding: 1px 5px;
    background: #002c6b;
    color: #fff;
    border-radius: 3px;
}

/**footer*/

footer {
    background-color: #002c6b;
    color: #fff;
    padding: 1.25rem;
    font-size: 0.813rem;
    margin-bottom: 2rem
}

footer p {
    padding: 0 0 0.313rem;
}