:root {
    --app-container: #f3f6fd;
    --main-color: #1f1c2e;
    --secondary-color: #4a4a4a;
    --link-color: #1f1c2e;
    --link-color-hover: #c3cff4;
    --link-color-active: #fff;
    --link-color-active-bg: #1f1c2e;
    --projects-section: #fff;
    --ranking-box-hover: #fafcff;
    --ranking-box-border: #e9ebf0;
    --more-list-bg: #fff;
    --more-list-bg-hover: #f6fbff;
    --more-list-shadow: rgba(209, 209, 209, 0.4);
    --button-bg: #1f1c24;
    --ranking-btn: #fff;
}

.chat-window.active{
	overflow: auto !important;
}

.chat-button{
    width: 36px;
    height: 36px;
    display: -webkit-box;
    display: flex;
    flex-shrink: 0;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    border: solid 1px transparent;
    position: absolute;
    right: 15px;
    border: solid 1px var(--primary-color-brighter);
}

.chat-button:hover{
    cursor: pointer;
    border-color: #34495e;
    box-shadow: 0 0 6px 0 #34495e;
}

.page-content{
    padding:15px!important;
}

.panel-name {
}

.rank{
    text-align: center;
}

.rank:not(.active){
    cursor: pointer;
}
.rank:not(.active) .hr{
    background: unset!important;
}

button,
a {
    cursor: pointer;
    text-decoration: none;
}

ul {
    list-style-type: unset !important;
}

.app-content {
    display: flex;
    overflow: hidden;
}

.projects-section {
    flex: 2;
    padding: 20px 32px 0 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background-color: #282929;
}

.projects-section-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
}

.projects-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    margin-bottom: 24px;
}

.projects-section-header p {
    font-size: 26px;
    line-height: 32px;
    font-weight: 700;
    opacity: 0.9;
    margin: 0;
}

.projects-section h1 {
    color: white;
}

.projects-section h2 {
    color: white;
    font-size: 18px;
}

.projects-section h3 {
    font-size: 18px;
    color: white;
}

.white-button,
.blue-button {
    display: inline-block;
    font-weight: 400;
    font-size: 16px;
    padding: 10px;
    cursor: pointer;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2);
}

.blue-button {
    background-color: #7289da;
    border: 2px solid #7289da;
    color: #fff !important;
}

.blue-button:hover,
.white-button:hover {
    transform: translateY(1px);
}

/* Statistics */
.projects-status {
    display: flex;
    flex-flow: row wrap;
}

.item-status {
    display: flex;
    flex-direction: column;
    margin: 10px;
	padding: 0 15px;
	text-align: center;
}

.status-number {
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
}

/*.status-type {*/
/*    padding-right: 24px;*/
/*}*/

/* Ranking */
.ranking-section.show {
    display: block;
    opacity: 1;
    margin-left: 0;
    position: fixed;
    left: 0;
    top: 0;
}

.ranking-section .projects-section-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 10px 24px 0 24px;
}

.ranking-section .projects-section-header h2 {
    margin:auto;
}

.ranking-btn {
    border-radius: 4px 0 0 4px;
    position: fixed;
    right: 0;
    top: 75px;
    background-color: var(--ranking-btn);
    border: none;
    color: var(--main-color);
    display: flex;
    z-index: 99;
    justify-content: center;
    align-items: center;
    padding: 4px;
    display: none;
}

.app-table {
    padding: 10px;
	text-align: center;
}

.app-title {
    font-size: 25px;
    position: relative;
    padding: 30px 41px 30px 41px;
    font-weight: bold;
}

.app-table .app-row {
	text-align: center;
    padding: 6px 15px 6px 15px;
    cursor: pointer;
	display: inline-block;
	width: 100%;
}

.app-table .app-row:nth-child(n+10) .player .rank {
	margin-right: 15px;
}

.app-table .app-row .player {
    display: flex;
    align-items: center;
    width: 100%;
}

.app-table .app-row:hover {
    background: #3d3d3d;
    border-radius: 6px;
}

.app-table .app-row .player .rank {
    font-size: 25px;
    margin-right: 30px;
    text-align: center;
}

.app-table .app-row .player .image {
    height: 40px;
    width: 40px;
}

.app-table .app-row .player img {
    height: 40px;
    width: 40px;
}

.app-table .app-row .player .names {
    width: 80%;
    text-align: center;
    font-size: 16px;
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.app-table .app-row .player .goals {
    width: 100px;
    text-align: center;
    font-size: 16px;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Description */
.event-name {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.event-name h2{
    font-size: 1.9em;
}
.event-game {
    padding-top: 10px;
    padding-bottom: 10px;
}
.event-info {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin: 5px 0;
}

.event-info .column {
    flex: 1;
    margin: 2px;
    padding: 2px;
}

.event-info .column img.main_reward {
    width: auto;
    height: 250px;
}

@media screen and (max-width: 980px) {
    .event-info .column {
        margin-bottom: 5px;
        flex-basis: 40%;
    }
}

@media screen and (max-width: 680px) {
    .event-info .column {
        flex-basis: 100%;
        margin: 0 0 5px 0;
    }
}

.event-info .column ul {
    margin: 0;
    padding-left: 20px;
}

.event-info .column ul li {
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.hr {
    height: 3px;
    width: 100px;
    background: #FF8008;
    background: -webkit-linear-gradient(to right, #FFC837, #FF8008);
    background: linear-gradient(to right, #FFC837, #FF8008);
    margin: 5px auto 5px auto;
}

.hr2 {
    height: 3px;
    width: 100px;
    background: #34495e;
    margin: 5px 0 10px 0;
}

/* Game */
.project-boxes {
    margin: 0 -8px;
}

.fail {
    white-space: nowrap;
    font-size: 18px;
    border-bottom: 1px salmon solid;
    margin-left: 10px;
    margin-bottom: 10px;
    width: 60px;
}

#fail {
    display: inline-block;
    letter-spacing: normal;
}

.project-boxes.jsGridView {
    display: flex;
    flex-wrap: wrap;
	width: 750px;
    margin: auto;
}

.project-boxes.jsGridView .project-box-wrapper {
    width: 33.3%;
}

.project-box {
    --main-color-card: #dbf6fd;
    padding: 16px;
    background-color: var(--main-color-card);
}

.project-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    color: var(--main-color);
}

.project-box-header span {
    color: #4a4a4a;
    opacity: 0.7;
    font-size: 14px;
    line-height: 16px;
}

.project-box-content-header {
    text-align: center;
    margin-bottom: 16px;
}

.project-box-content-header p {
    margin: 0;
}

.project-box-wrapper {
    padding: 8px;
    transition: 0.2s;
}

.more-wrapper {
    position: relative;
}

.box-content-header {
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
    opacity: 0.9;
    color: black;
}

.box-content-subheader {
    font-size: 16px;
    line-height: 24px;
    opacity: 0.7;
    color: black;
}

.box-progress {
    display: block;
    height: 4px;
    border-radius: 6px;
}

.box-progress-bar {
    width: 100%;
    height: 4px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #fff;
    margin: 8px 0;
}

.box-progress-header {
    color: black;
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
    margin: 0;
}

.box-progress-percentage {
    color: black;
    text-align: right;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
}

.project-box-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    position: relative;
}

.project-box-footer:after {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0.6);
    width: calc(100% + 32px);
    top: 0;
    left: -16px;
    height: 1px;
}

.days-left {
    background-color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    border-radius: 20px;
    flex-shrink: 0;
    padding: 6px 16px;
    font-weight: 700;
    cursor: pointer;
    color: #4f3ff0;
}

.days-left:hover {
    background-color: #4f3ff0;
    color: white;
}

.days2-left {
    background-color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    border-radius: 20px;
    flex-shrink: 0;
    padding: 6px 16px;
    font-weight: 700;
    cursor: pointer;
    color: #ff942e;
}

.days2-left:hover {
    background-color: #ff942e;
    color: white;
}

/* Mobile Game-Server */
@media screen and (max-width: 980px) {
    .project-boxes.jsGridView .project-box-wrapper {
        width: 50%;
    }

    .status-type:after {
        width: 4px;
        height: 4px;
    }
}

@media screen and (max-width: 520px) {
    .projects-section {
        overflow: auto;
    }

    .project-boxes {
        overflow-y: visible;
    }

    .project-boxes.jsGridView .project-box-wrapper {
        width: 100%;
    }

    .projects-section {
        padding: 24px 16px 0 16px;
    }

    .status-type {
        padding-right: 4px;
    }

    .status-type:after {
        display: none;
    }

    .box-progress-header {
        font-size: 12px;
    }

    .box-progress-percentage {
        font-size: 10px;
    }
}

/** FAQ **/

.list {
    width: 60%;
    height: auto;
    margin: auto;
    margin-top: 15px;
    background-color: white;
    color: white;
    box-shadow: 0 32px 44px 0 rgba(0, 0, 0, 0.06);
    border-radius: 6px;
}

.faq {}

.topic {
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: solid 1px #6b6c6c;
}

.fopen {
    cursor: pointer;
    display: block;
    padding: 0;
}

.expanded {
    background-color: var(--theme-color);
    transition: all .3s ease-in-out;
}

.question {
    text-transform: none;
    text-align: center;
    margin-top: 10px;
    padding-top: 30px;
    padding-right: 40px;
    padding-left: 20px;
    padding-bottom: 20px;
    font-size: 1.17em;
    font-weight: 500;
}

.answer {
    font-size: 16px;
    line-height: 26px;
    display: none;
    margin-bottom: 30px;
    text-align: justify;
    padding-left: 20px;
    padding-right: 20px;
}

.answer .awards {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.answer .awards .prize {
    margin: 10px;
    padding: 2px;
    text-align: center;
}

.faq-t {
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    display: inline-block;
    float: right;
    position: relative;
    top: -45px;
    right: 20px;
    width: 10px;
    height: 10px;
    background: transparent;
    border-left: 2px solid #FF8008;
    border-bottom: 2px solid #FF8008;
    transition: all .3s ease-in-out;
}

.faq-o {
    top: -50px;
    right: 20px;
    -moz-transform: rotate(-224deg);
    -ms-transform: rotate(-224deg);
    -webkit-transform: rotate(-224deg);
    transform: rotate(-224deg);
}

@media only screen and (max-width: 480px) {
    .faq-t {
        display: none;
    }

    .question {
        padding-right: 0;
    }

    main {
        padding: 10px;
    }

    .answer {
        margin-bottom: 30px;
        padding-left: 0;
        padding-right: 0;
    }
}


.okey .board,
.okey {
    position: relative;
}

.okey .board div>div {
    width: 51px;
    height: 67px;
    display: block;
    float: left;
}

.okey .board #playing>div {
    margin-top: 17px;
    margin-left: 7px;
}

.okey .board #playing>div:first-child {
    margin-left: 22px !important;
}

.okey .board #picking>div {
    margin-top: 22px;
    margin-left: -8px;
}

.okey .board #picking>div:first-child {
    margin-left: 98px !important;
}

.okey {
    left: 0;
    right: 0;
    margin: auto;
}

.okey .board {
    display: inline-block;
}

.okey .board img {
    cursor: pointer;
}
.okey-tip {
    margin: auto;
}

#cards,
#added,
#points {
    font-size: 14px;
}

#cards {
    display: inline-block;
    position: absolute;
    left: 104px;
    bottom: 22px;
}

#added {
    display: inline-block;
    position: absolute;
    right: 79px;
    bottom: 127px;
}

#points {
    display: inline-block;
    position: absolute;
    right: 74px;
    bottom: 22px;
}

.trio {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    width: 550px;
}

.tcard {
    display: flex;
    width: 80px;
    height: 100px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: cover;
    transition: transform 1s;
    margin: 2px !important;
}

.tcard.hint {
    border: solid 2px red !important;
}

.tcard:not(.shown) {
    transform: rotateY(180deg);
}

.tcard:hover {
    border: solid 1px silver;
}

.tcard.current {
    border: solid 1px orange;
}
