@font-face {
    font-family: DIN;
    src: url(/css/fonts/DIN.ttf);
}

.matchmaking {
    padding: 60px 0;
    background: url(/images/matchmaking/bg-chess.jpg) no-repeat center;
    background-size: cover;
    font-family: DIN;
}


.matchmakin .main_sli{
    display: none !important;
}

.video iframe {
    width: 100%;
    height: 340px;
}

.matchmaking .column {
    max-width: 49% !important;
    float:left;
    padding: 10px;
}

.matchmaking h2 {
    font-family: DIN;
    background-image: linear-gradient(96deg, #00c6c8, #00a7c1);
    font-size: 48px;
    font-weight: bold;
    font-stretch: condensed;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}


.matchmaking h3 {
    font-family: DIN;
    font-size: 24px;
    font-weight: bold;
    font-stretch: condensed;
    color: #ffffff;
}

.matchmaking .more {
    width: 100%;
    font-family: DIN;
    font-size: 24px;
    font-weight: bold;
    font-stretch: condensed;
    border-radius: 2px;
    border: solid 1px #00e2e3;
    color: #00c6c8;
    background-color: rgba(23, 25, 33, 0.8);
    padding: 20px;
    margin-top: 40px;
    display: block;
    transition: 0.2s all ease-in-out;
}

.matchmaking .more:hover {
    text-decoration: none;
    color: #fff;
    background-color: rgba(23, 25, 33, 1);
}

.matchmaking .avatar_icon {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50%;
    /*border: 2px solid #ff3c38;
    border-radius: 50%;*/
}

.matchmaking .avatar_icon:hover {
    opacity: 0.8;
    /*border: 2px solid #ec7e7c;*/
}

.action_block {
    width: 100%;
    padding: 40px 40px 240px;
    background-color: rgba(23, 25, 33, 0.8);
    border: solid 1px #2c303e;
}

.action_block.find_game {
    padding: 40px;
}

.action_block p {
    font-family: DIN;
    font-size: 20px;    
    font-stretch: condensed;
    text-align: center;
    color: #ffffff;
    margin: 40px 0;
}

.action_block p > a {
    color: #00E2E3;
}

.action_block--header {
    display: flex;
    justify-content: center;
    align-items: center;
}

.action_block--header .register {
    width: 60%;
    display: block;
    height: 60px;
    box-shadow: inset 0 -5px 0 0 #cc6050;
    background-color: #fd6449;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
    font-family: Montserrat;
    height: 80px;
    transition: 0.2s ease-in-out;
	margin-left: 33px;
}



.action_block--header .register span {
    line-height: 80px;
}

.action_block--header .register span:before {
    display: inline-block;
    content: url(/images/matchmaking/icon-solder.svg);
    margin-right: 20px;
}

.action_block--header .register:hover {
    text-decoration: none;
    background-color: #cc6050;
}

.speed_selector {
    display: flex;
    overflow: hidden;
}

.speed_selector input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}

.speed_selector label {
    background-color: transparent;
    width: 50%;
    color: #fff;
    font-size: 20px;   
    line-height: 1;
    text-align: center;
    padding: 16px;
    margin-right: -1px;
    border: solid 1px #7c7c7c;
    transition: all 0.1s ease-in-out;
    opacity: 0.7;
}

.speed_selector label:hover {
    cursor: pointer;
}

.speed_selector input:checked + label {
    border: solid 1px #00b8c5;
    box-shadow: none;
    /*background: #00b8c5;*/
    color: #00e2e3;
    opacity: 1;
}


.game_options {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.game_type_selector {
    width: 70%;
    padding-left: 10px;
}

.game_type_selector.speed_selector label {
    background: linear-gradient(135deg, #003F52 0%, #003343 100%);
    font-family: 'DIN';
    width: 50%;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    padding: 16px;
    margin-right: -1px;
    border: solid 1px #30FDFF;
    transition: all 0.1s ease-in-out;
    opacity: 1;
}

.game_type_selector.speed_selector label:before {
    display: block;

}

.game_type_selector.speed_selector label.label_1:before {
    content: url(/images/icon_classic_active.svg);
}

.game_type_selector.speed_selector label.label_2:before {
    content: url(/images/icon_random_active.svg);
}

.game_type_selector.speed_selector input:checked + label {
    border: solid 1px #30FDFF;
    box-shadow: none;
    background: linear-gradient(225.88deg, #30FDFF 30.1%, #04CCD1 79.33%);
    color: #16171F;
    opacity: 1;
}

.game_type_selector.speed_selector input:checked + label.label_1:before {
    content: url(/images/icon_classic.svg);
}

.game_type_selector.speed_selector input:checked + label.label_2:before {
    content: url(/images/icon_random.svg);
}

.matchmaking_menu{
	width: 500px;
}

.game_selector {
    width: 70%;
	padding-left: 0px;
}

.game_type_selector input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}

.game_type_selector.game_selector label {
    background: linear-gradient(135deg, #003F52 0%, #003343 100%);
    font-family: 'DIN';
    width: 50%;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    padding: 16px;
	padding-top: 2px;
    margin-right: -3px;
    border: solid 1px #30FDFF;
    transition: all 0.1s ease-in-out;
    opacity: 1;
}

.game_type_selector.game_selector label:before {
    display: inline-block;
	position: relative;
	top: 9px;
}

.game_type_selector.game_selector label.label_1:before {
    content: url(/images/icon_storm_chess_active.svg);	
}

.game_type_selector.game_selector label.label_2:before {
    content: url(/images/icon_reaction_game.svg);	
}

.game_type_selector.game_selector input + label {
    border: solid 1px #68B3F9;   
}

.game_type_selector.game_selector input:checked + label {
    border: solid 1px #30FDFF;
    box-shadow: none;
    background: linear-gradient(225.88deg, #30FDFF 30.1%, #04CCD1 79.33%);
    color: #16171F;
    opacity: 1;
}

.game_type_selector.game_selector input:checked + .label_2 {
    border: solid 1px #68B3F9;
    box-shadow: none;
    background: linear-gradient(225.88deg, #68B3F9 30.1%, #68B3F9 79.33%);
    color: #16171F;
    opacity: 1;
}

.game_type_selector.game_selector input:checked + label.label_1:before {
    content: url(/images/icon_storm_chess.svg);	
}

.game_type_selector.game_selector input:checked + label.label_2:before {
    content: url(/images/icon_reaction_game_active.svg);	
}

.stats_block_button a {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    background: rgba(0, 51, 67, 0.15);
    border: 1px solid #2C303E;
    font-weight: bold;
    font-size: 16px;
    line-height: 19px;
    text-decoration-line: underline;
    color: #00B8C5;
}

.stats_block_button a:hover {
    cursor: pointer;
}


.action_block--button {
    margin-top: 20px;
    height: 90px;
    display: block;
    width: 100%;
    box-shadow: 0 10px 50px 0 rgba(0, 184, 197, 0.24), 0 10px 10px 0 rgba(21, 23, 30, 0.75);
    background-color: #00d7dc;
    clip-path: polygon(20px 0%, calc(100% - 20px) 0%, 100% 0, 100% 80%, calc(100% - 20px) 100%, 20% 100%, 0 100%, 0% 20%);
    position: relative;
    transition: 0.2s ease-in-out;
}

.action_block--button:before {
    content: "";
    position: absolute;
    background-image: linear-gradient(99deg, #003f52, #003343);
    clip-path: polygon(20px 0%, calc(100% - 20px) 0%, 100% 0, 100% 80%, calc(100% - 20px) 100%, 20% 100%, 0 100%, 0% 20%);
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
}

.action_block--button.game_ready {
    box-shadow: 0 10px 50px 0 rgba(76, 178, 86, 0.24), 0 10px 10px 0 rgba(21, 23, 30, 0.75);
    background-color: #47ab51;
}

.action_block--button.game_ready:before {
    background-image: linear-gradient(99deg, #1a5520, #022705 100%);
}

.action_block--button.input {
    background-color: transparent;
    clip-path: none;
}

.action_block--button.input:before {
    display: none;
}

.action_block--button:hover {
    background-image: linear-gradient(99deg, #003f52, #003343);
    opacity: 0.8;
}

.action_block--button.input:hover {
    background-image: none;
    opacity: 1;
}

.action_block--button.input input {
    width: 100%;
    height: 100%;
    background-color: transparent;
    font-family: DIN;
    font-size: 36px;
    font-weight: bold;
    font-stretch: condensed;
    text-align: center;
    color: #ffffff;
}

.action_block--button.input input::placeholder {
    opacity: 0.4;
    font-family: DIN;
    font-size: 36px;
    font-weight: bold;
    font-stretch: condensed;
    text-align: center;
    color: #ffffff;
}

.action_block--button a {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    height: 100%;
    width: 100%;
}

.action_block--button a:before {
    content: '';
    display: block;
    width: 25px;
    height: 25px;
    position: absolute;
    bottom: 0;
    left: 0;
    border-left: 4px solid rgba(0, 176, 195, 1);
    border-bottom: 4px solid rgba(0, 176, 195, 1);
}

.action_block--button a:after {
    content: '';
    display: block;
    width: 25px;
    height: 25px;
    position: absolute;
    top: 0;
    right: 1px;
    border-right: 4px solid rgba(0, 176, 195, 1);
    border-top: 4px solid rgba(0, 176, 195, 1);
}

.action_block--button.game_ready a:before,
.action_block--button.game_ready a:after {
    border-color: #69cc73;
}

.action_block--button a span {
    font-family: DIN;
    font-size: 26px;
    font-weight: bold;
    font-stretch: condensed;
    text-align: center;
    color: #ffffff;
    display: inline-block;
    width: 100%;
    line-height: 90px;
    z-index: 9;
}

.action_block--button.searching a span {
    width: 50%;    
}

.action_block--button a:hover {
    text-decoration: none;
}

.player_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.player_info--image img {
    width: 60px;
    /*margin-right: 10px;*/
}

.player_name {
    font-family: DIN;
    font-size: 30px;
    font-weight: bold;
    font-stretch: condensed;
    color: #ffffff;
}

.player_rating {
    font-family: DIN;
    font-size: 16px;
    font-stretch: condensed;
    color: #ffffff;
}

.player_rating span {
    color: #00e2e3;
}

.stats_block {
    padding: 20px;
    background-color: rgba(0, 51, 67, 0.15);
    border: solid 1px #2c303e;
    border-top: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stats_block--level {
    width: 180px;
    position: relative;
}

.level-circle {
    stroke: #00e2e3;
    fill: none;
    stroke-width: 4.2;
    stroke-linecap: butt;
    animation: progress 1s ease-out forwards;
}

.level-circle-bg {
    fill: none;
    stroke: #2c3040;
    stroke-width: 4.2;
}

.percentage {
    fill: #666;
    font-family: sans-serif;
    font-size: 0.5em;
    text-anchor: middle;
}

.stats_block--level_info {
    position: absolute;
    top: 44%;
	top: calc(50% - 20px);
    left: 50%;
    transform: translate(-50%, -50%);
}

.level_info-number > div {
    position: absolute;
    top: 9%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 36.4px;
    font-weight: bold;
    font-stretch: condensed;
    color: #fcfbf9;
}

.stats_block--level_info > div:last-child {
    text-align: center;
    margin-top: -25px;
    color: #fff;
}

@keyframes progress {
    0% {
        stroke-dasharray: 0 100;
    }
}

.stats_block--winrate > div {
    display: flex;
    align-items: center;
}

.stats_block--winrate .stats_numbers {
    text-align: center;
    width: 100%;
    font-family: DIN;
    font-size: 40px;
    font-weight: bold;
    font-stretch: condensed;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats_numbers_reaction{
	
}

.stats_block--winrate .stats_numbers span {
    font-size: 18px;
    font-weight: 500;
}

.stats_block--winrate .wins {
    width: 280px;
    height: 80px;
    border-radius: 2px;
    background-image: linear-gradient(105deg, #5ecf69 1%, #358f3e 97%);
    /*margin-bottom: 1em;*/
}

.stats_block--winrate .wins_reaction {
    background-image: linear-gradient(105deg, #17345d 1%, #17345d 97%);
}

.stats_block--winrate .loses {
    width: 280px;
    height: 80px;
    border-radius: 2px;
    background-image: linear-gradient(106deg, #c24e38, #a93924);
}

.wins .logo,
.loses .logo {
    background-color: rgba(255, 255, 255, 0.1);
    height: 100%;
    width: 115px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* loading spinner */

.lds-spinner {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    margin-top: 8px;
}

.lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 20px;
    left: 37px;
    width: 4px;
    height: 8px;
    border-radius: 20%;
    background: #fff;
}

.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}

@keyframes lds-spinner {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* end of loading spinner */

/* game ready popup */

#game_ready--modal .close {
    color: #fff;
    text-shadow: none;
    opacity: 1;
    font-weight: 300;
    display: block;
    width: 20px;
    position: absolute;
    right: 20px;
    top: 20px;
}

#game_ready--modal .close:hover {}

#game_ready--modal .modal-content {
    border: solid 1px #ffffff;
    background-color: rgba(23, 25, 33, 0.95);
    padding: 30px;
}

#game_ready--modal .modal-content h1 {
    font-family: DIN;
    font-size: 40px;
    font-weight: bold;
    font-stretch: condensed;
    text-align: center;
    color: #ffffff;
    margin-bottom: 50px;
}

.hide_next_popup {
    margin-top: 1em;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-family: DIN;
    font-size: 20px;
    font-weight: bold;
    font-stretch: condensed;
    color: #ffffff;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 24px;
    width: 24px;
    border-radius: 2px;
    border: solid 2px #00b8c5;
    background-color: rgba(0, 184, 197, 0.1);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 3px;
    top: 3px;
    width: 14px;
    height: 14px;
    background-color: #00b8c5;
}

/* end of game ready popup */

.result {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.result_player_img {
    width: 72px;
    border: solid 1px #53bd5d;
    border-radius: 50%;
}

.result.loss .result_player_img {
    border: solid 1px #bb4833;
}

.result_text {
    font-size: 24px;
    font-weight: bold;
    font-stretch: condensed;
    text-align: center;
    color: #ffffff;
    line-height: 1.1;
    margin: 0 20px;
}

.result_text .player_nickname {
    font-size: 40px;
    text-decoration: underline;
}

.result_text span {
    color: #53bd5d;
}

.result.loss .result_text span {
    color: #bb4833;
}

@media screen and (max-width:768px) {

	.matchmaking .column {
    max-width: unset !important;
    float: unset;
    padding: unset;
	}

    .matchmaking h2 {
        font-size: 30px;
    }

    .matchmaking .more {
        margin-bottom: 40px;
    }

    .action_block {
        padding: 20px;
    }

    .action_block--header {
        flex-direction: column;
        align-items: center;
    }

    .action_block--header .register {
        width: 100%;
        margin-top: 30px;
    }

    .action_block--button a span {
        font-size: 30px;
        line-height: 1;
        text-transform: uppercase;
    }

    .action_block--button.input input {
        font-size: 26px;
    }

    .action_block--button.input input::placeholder {
        font-size: 26px;
    }

    .player_info {
        margin-top: 20px;
    }

    .stats_block {
        flex-direction: column;
    }

    .stats_block--level {
        margin-bottom: 20px;
    }

    .action_block.find_game {
        padding: 20px;
    }

    #game_ready--modal .modal-content {
        padding: 10px;
    }

    .checkmark {
        top: 19px;
    }

    .result_text {
        font-size: 20px;
    }

    .result_text .player_nickname {
        font-size: 30px;
    }

}

    .main_sli {
        display: none;
    }


 @media only screen and (max-device-width: 968px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {

    .header-help__item:nth-child(3) .header-help__item-text {
        display: none;
    }

    .action_block--header {
        flex-direction: column;
    }

    .action_block--header .register {
        margin-top: 20px;
        width: 100%;
    }

    .player_info {
        margin-top: 20px;
    }

    #content .main_box_left,
    #tournament-search-input {
        width: 100%;
    }

    .tournaments_block_qt1 {
        margin-top: -40px;
        margin-left: 230px;
    }

    .tournaments_block_qt2 {
        margin-top: 0px;
        margin-left: 230px;
    }

    .comments_right {
        float: left;
        width: auto;
    }
}

.ratingl {
    background-image: linear-gradient(99deg, #003f52, #003343) !important;
    border-radius: 2px !important;
    border: solid 1px #00e2e3;
    margin-bottom: 1em;
}

.ratinglr {
    background-image: linear-gradient(99deg, #17345d, #17345d) !important;
    border-radius: 2px !important;
    border: solid 1px #68B3F9;
    margin-bottom: 1em;
}

.ratinglr .stats_numbers .player_rating a{
    color: #68B3F9;
}

.ratingl .stats_numbers {
    font-size: 30px !important;
    font-weight: normal !important;
}

.ratingl .logo {
    background-color: transparent !important;
}

.stats_numbers span {
    display: flex;
}

.breakspn {
    flex-basis: 100%;
    height: 0;
}

.stats_numbers {
    flex-wrap: wrap;
    justify-content: left !important;
}

.new_s_chess_button {
        height: 76px;
    clip-path: none;
}

.new_s_chess_button.action_block--button {
    background-color: transparent
}

.new_s_chess_button.action_block--button:before,
.new_s_chess_button.action_block--button a:before,
.new_s_chess_button.action_block--button a:after
{
    content: none;
}

.new_s_chess_button.action_block--button:hover {
    background-image: none;
}

.new_s_chess_button.action_block--button a {
    background: url(/images/nchbutton.svg) no-repeat;
    background-size: contain;
}

.new_s_chess_button.action_block--button .nchbutton2 {
    background: url(/images/nchbutton2.svg) no-repeat;
    background-size: contain;
}

.new_s_chess_button.action_block--button a span {
    line-height: 83px;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 35px;
}

.ratingl .stats_numbers {
    overflow: hidden;   
    white-space: nowrap;
}

.djbl{
	text-align: center;
	color: #00e2e3;
	border: solid 1px #003343;
    margin-top: 5px;
    padding-top: 4px;
    padding-bottom: 4px;   
	font-size: 17px;
}

.djbl:hover {
    opacity: 0.8;
}

.djbl a{	
	color: #00e2e3;
	 display: block;
}

.djbl a span{	
	padding-left: 5px;
    text-decoration: underline;
}

.djbl a:hover, .djbl a span:hover{ 
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .new_s_chess_button {
        height: 45px;
    }
    
    .new_s_chess_button.action_block--button a span {
        line-height: 56px;
        font-size: 28px;
    }
	
	.action_block--header .register{
		margin-left: unset;
	}
}

@media screen and (max-width: 480px) { 
        .new_s_chess_button {
        height: 50px;
        }
    }
	
@media screen and (max-width: 768px) {
    .new_s_chess_button {
        height: 53px;
    }

    .new_s_chess_button.action_block--button a {
        background-size: 100%;
    }

    .game_type_selector {
        margin-top: 1em;
    }

    .action_block.find_game {
        padding: 35px 20px;
    }

}


@font-face {
    font-family: "DIN";
    src: url("DIN.ttf");
}

.white {
    color: #fff;
}

.quests-top {
    margin-bottom: 2em;
}

.quests-top__row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.quest-block {
    width: calc(50% - 10px);
    height: 350px;
    position: relative;
    padding: 10px 10px 20px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quest-block__green {
    background: linear-gradient(180deg, rgba(61, 217, 77, 0.05) 0%, rgba(61, 217, 77, 0) 100%), linear-gradient(0deg, rgba(61, 217, 77, 0.02), rgba(61, 217, 77, 0.02)), rgba(23, 25, 33, 0.8);
    border: 1px solid #49AE53;
}

.quest-block__orange {
    background: linear-gradient(180deg, rgba(243, 174, 70, 0.05) 0%, rgba(243, 174, 70, 0) 100%), linear-gradient(0deg, rgba(243, 174, 70, 0.02), rgba(243, 174, 70, 0.02)), rgba(23, 25, 33, 0.8);
    border: 1px solid #30FDFF;
}

.quest-block.quest-block__green:after,
.quest-block.quest-block__green:before {
    background-color: #00B8C5;
}

.quest-block.quest-block__orange:after,
.quest-block.quest-block__orange:before {
    background-color: #00B8C5;
}

.quest-block:before {
    display: block;
    position: absolute;
    content: "";
    height: 6px;
    width: 220px;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9;
    clip-path: polygon(5% 0, 95% 0, 100% 100%, 0 100%);
}

.quest-block:after {
    display: block;
    position: absolute;
    content: "";
    height: 6px;
    width: 220px;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    clip-path: polygon(0 0, 100% 1%, 95% 100%, 5% 100%);
}

.quest-block__header {
    text-align: center;
    margin-top: 15px;
    font-family: DINCondensedC;
    font-weight: bold;
    font-size: 24px;
    line-height: 29px;
    color: #FFFFFF;
}

.quest-block__body {
    margin-top: 1.5em;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.quest-block__body:before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    position: absolute;
    background: linear-gradient(270deg, rgba(243, 174, 70, 0) 0%, #F3AE46 47.92%, rgba(243, 174, 70, 0) 100%);
    top: -15px;
}

.quest-block__body:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    background: #F3AE46;
    opacity: 0.07;
    filter: blur(60px);
    top: 0;
}

.quest-block__green .quest-block__body:before {
    background: linear-gradient(270deg, rgba(61, 217, 77, 0) 0%, #3DD94D 47.92%, rgba(61, 217, 77, 0) 100%);
}

.quest-block__green .quest-block__body:after {
    background: #49AE53;
}

.quest-block__body-digits .rowone {
    font-family: DINCondensedC;
    font-weight: bold;
    font-size: 36px;
    line-height: 43px;
    color: #F3AE46;
}

.quest-block__green .quest-block__body-digits .rowone {
    color: #49AE53;
}

.quest-block__body-digits .rowtwo {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.quest-block__green .rowtwo {
    font-family: DINCondensedC;
    font-weight: bold;
    font-size: 20px;
    line-height: 24px;
    color: #FFFFFF;
    opacity: 0.4;
}

.quest-block__green .rowthree {
    color: #49AE53;
    font-weight: bold;
    font-size: 20px;
    line-height: 24px;
    margin-top: 20px;
}

.body-digits_block {
    display: flex;
    flex-direction: column;
    width: 49%;
    text-align: center;
    margin-top: 1em;
    justify-content: center;
    background: linear-gradient(180deg, #000000 0%, #101117 100%);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 4px;
    font-family: DINCondensedC;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    color: #F3AE46;
    padding: 10px 0;
    text-transform: uppercase;
    justify-content: space-between;
}

.body-digits_block div:last-child {
    margin-top: 5px;
    font-size: 22px;
}

.body-digits_block__lose {
    color: #C24E38;
}

.quest-block__progress-bar {
    margin-top: 10px;
    height: 40px;
    width: 100%;
    background: linear-gradient(180deg, #000000 0%, #101117 100%);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 4px;
}

.quest-block__progress-bar .bar {
    position: relative;
    height: 22px;
    width: 95%;
    margin: 10px auto;
    background: linear-gradient(360deg, #000000 0%, #101117 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.quest-block__progress-bar .dot {
    position: relative;
    width: 16px;
    height: 16px;
    z-index: 2;
    border-radius: 1px;
    display: inline-block;
    margin-top: 2px;
    background: #1F1D21;
}

.quest-block__progress-bar .progress {
    background: linear-gradient(180deg, #FFC46B 0%, #DC9429 100%);
}

.quest-block__green .progress {
    background: linear-gradient(180deg, #63DC6F 0%, #24892E 100%);
}

.quest-block__progress-bar .bar-input {
    display: none;
}

.quest-block__countdown-timer ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 10px;
}

.quest-block__countdown-timer li {
    display: block;
    list-style-type: none;
    text-transform: uppercase;
    background: linear-gradient(180deg, #181818 0%, #2C2C2C 100%);
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-sizing: border-box;
    border-radius: 4px;
    font-family: DINCondensedC;
    font-weight: bold;
    font-size: 10px;
    line-height: 12px;
    text-align: center;
    color: #F3AE46;
    width: 24%;
    height: 50px;
    padding: 10px 0;
}

.quest-block__green .quest-block__countdown-timer li {
    color: #49AE53;
}

.quest-block__countdown-timer li span {
    display: block;
    font-size: 26px;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.quests-top__heading,
.quests-bot__heading {
    text-align: center;
    /*font-weight: bold;*/
    font-size: 20px;
    line-height: 24px;
    color: #FFFFFF;
    margin: 10px 0;
    position: relative;
}

.quests-top__heading:before,
.quests-bot__heading:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 13px;
    background: #FFFFFF;
    opacity: 0.2;
    width: 37%;
    height: 1px;
}

.quests-top__heading:after,
.quests-bot__heading:after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    top: 13px;
    background: #FFFFFF;
    opacity: 0.2;
    width: 37%;
    height: 1px;
}

.quests-bot__heading:before,
.quests-bot__heading:after {
    width: 32%;
}

.quests-bot__row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.pick-quest {
    background: rgba(23, 25, 33, 0.8);
    border: 1px solid #5c5c5c;
    height: 180px;
    width: calc(50% - 10px);
    padding: 30px 20px;
    text-align: center;
}

.pick-quest div:first-child {
    font-weight: bold;
    font-size: 36px;
    line-height: 43px;
    color: #FFFFFF;
}

.pick-quest div:nth-child(2) {
    font-weight: bold;
    font-size: 20px;
    line-height: 24px;
    color: #FFFFFF;
    opacity: 0.4;
}

.pick-quest a {
    display: block;
    margin-top: 20px;
    padding: 10px;
    font-weight: bold;
    font-size: 24px;
    line-height: 29px;
    color: #16171F;
    background: linear-gradient(135deg, #00E2E3 0.16%, #00C1C7 100%);
    transition: ease-in-out 0.2s;
}

.pick-quest a:hover {
    text-decoration: none;
    color: #fff;
}

.quest-log a {
    display: block;
    background: linear-gradient(135deg, #003F52 0%, #003343 100%);
    border: 1px solid #00D7DC;
    box-shadow: 0px 10px 10px rgba(21, 23, 30, 0.75), 0px 10px 50px rgba(0, 184, 197, 0.24);
    font-weight: bold;
    font-size: 36px;
    line-height: 43px;
    text-transform: uppercase;
    text-align: center;
    padding: 20px;
    color: #01D9DC;
    margin-top: 1em;
    transition: ease-in-out 0.2s;
}

.quest-log a:hover {
    text-decoration: none;
    color: #fff;
}

.redeem-policy a {
    display: block;
    margin-top: 1em;
    font-weight: bold;
    font-size: 16px;
    line-height: 19px;
    text-align: center;
    text-decoration-line: underline;
    color: #71747A;
}

.redeem-policy a:hover {
    color: #fff;
}

.column_two{
	padding-top: 45px !important;
}

.text_discord{
	color: #fff;
    text-align: right;
}

.linkp{
	margin: -20px 0 !important;
}

.redv{
	position: fixed;
    background: #0000007d;
    width: 100%;
    height: 130%;
    z-index: 999;
	margin-top: -200px;
}

.redvdesc{
	text-align: center;
    margin-top: 380px;
}

.redvclose{
	position: absolute; 
    margin-top: -10px;
    margin-left: 525px;
    font-size: 37px;
    color: red;
    z-index: 9999;
	cursor: pointer;
}

.redvdesc img{
	width: 700px;
	-webkit-box-shadow: -1px 1px 10px 5px rgb(255 62 173 / 78%) !important;
    box-shadow: -1px 1px 10px 5px rgb(255 62 173 / 78%) !important;
}

.redvdesc img:hover{
	-webkit-box-shadow: -1px 1px 12px 7px rgb(255 62 173 / 88%) !important;
    box-shadow: -1px 1px 12px 7px rgb(255 62 173 / 88%) !important;
}

@media screen and (max-width: 768px)
{
	.redvdesc{
		margin-top: 250px;
	}
	.redvdesc img{
		width: 300px;
	}
	
	.redvclose {
		margin-left: 265px;
	}
}

@media screen and (max-width: 768px) {

    .quests-top__row,
    .quests-bot__row {
        flex-direction: column;
    }

    .quest-block {
        width: 100%;
        padding: 20px;
        margin-bottom: 1em;
    }

    .quest-block__progress-bar .dot {
        width: calc(10% - 5px);
    }

    .pick-quest {
        width: 100%;
        margin-bottom: 1em;
    }
	
	.game_selector {
		width: 100%;
	}
	
	.matchmaking_menu{
		width: 100%;
	}
	
	.game_type_selector.game_selector input + label {
		font-size: 17px;
	}

}

.quests a:hover {
    opacity: 0.8;
}


.matchmaking_search--skin {
    display: flex;
    align-items: center;
}

.matchmaking_search--skin label {
    margin-right: 1em;
    font-family: Montserrat;
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
    color: #6A6C74;
}

.matchmaking_search--skin {
    border-right: 1px solid #3C3F48;
    padding-right: 1em;
}

.matchmaking_search--skin option,
.matchmaking_search--skin select {
    font-family: Montserrat;
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
    color: #FFFFFF;
    background: #191B22;
    border: none;
    outline: none;
}

.matchmaking_search--category label {
    margin-right: 1em;
    font-family: Montserrat;
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
    color: #e069b1;
}

.matchmaking_search--category {    
    padding-right: 1em;
	margin-top: 25px;
    margin-left: 10px;
}

.matchmaking_search--category option,
.matchmaking_search--category select {
    font-family: Montserrat;
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
    color: #FFFFFF;
    background: #191B22;
    border: none;
    outline: none;
}

.matchmaking_search--input input {
    margin-bottom: 0;
    background: white;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.25);
    font-family: IBM Plex Sans;
    font-weight: normal;
    font-size: 14px;
    text-align: center;
    color: #6A6A6A;
}


.arena_timer {
    color: wheat;
}

/* chess_fix_211104 */

.speed_selector.game_type_selector {
  opacity: 1 !important;
}

.game_type_selector.speed_selector input:checked + label.label_1 {
  margin-right: 0px;
}

.game_type_selector.speed_selector label {
  width: 47%;
  box-shadow: 0px 10px 10px rgba(21, 23, 30, 0.75), 0px 10px 50px rgba(0, 184, 197, 0.24) !important;
}

.quest-block__orange {
  background: #211A54;
  border: 1px solid #FFFFFF !important;
}

.quest-arena.quest-block.quest-block__orange:after,
.quest-arena.quest-block.quest-block__orange:before {
  background-color: #7D72FF !important;
}

.quest-block__body-digits {
  padding-left: 0 !important;
}

.quest-block__body-digits .rowone {
  color: #fff;
  width: 100% !important;
  margin-left: 0 !important;
  text-align: center;
  font-family: 'DIN' !important;
}

.quest-block__body-digits .rowtwo {
  margin-left: 0 !important;
}

.quest-block__body-digits,
.quest-arena .body-digits_block,
.quest-block__body-digits .rowtwo {
  width: 100% !important;
}

.body-digits_block {
  background: none;
  border: none;
  color: #fff;
}

.arena_timer {
  color: #7D72FF;
}

.arena_timer .syotimer-cell__unit {
  color: #fff !important;
}

.arena_timer .syotimer-cell {
  height: 70px !important;
  border: none !important;
  background: #1D1546 !important;
}

.quest-arena .body-digits_block .new_s_chess_button.action_block--button a {
  background: radial-gradient(132.75% 155.27% at 31.94% -11.82%, #9186FF 0%, #6D61FF 33.87%, #574AFF 91.62%) !important;
  box-shadow: 0px 13.1905px 21.9842px rgba(0, 0, 0, 0.09);
  border-radius: 8px;
}

.quest-essence .body-digits_block .new_s_chess_button.action_block--button a {
  max-width: 92%;
}

.arena_timer .syotimer-cell__value {
  font-size: 28px;
  line-height: 1 !important;
  margin-bottom: 5px;
}

.quest-arena .syotimer-cell__unit {
  text-transform: capitalize;
}

.arenaqb {
  width: 100%;
}

.quest-block__body:before {
  background: linear-gradient(270deg, rgba(243, 174, 70, 0) 0%, rgba(97, 85, 255, 0) 0.01%, #6155FF 47.92%, rgba(97, 85, 255, 0) 100%) !important;
}

.new_s_chess_button.action_block--button {
  width: 100%;
}

.quest_info {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.quest_info > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.quest_info > div:after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  position: absolute;
  background: linear-gradient(270deg, rgba(243, 174, 70, 0) 0%, rgba(97, 85, 255, 0) 0.01%, #6155FF 47.92%, rgba(97, 85, 255, 0) 100%);
  top: 85px;
}


.quest_info--winrate span:first-child,
.quest_info--games span:first-child {
  font-family: DIN;
  font-size: 60px;
  line-height: 1;
  text-align: center;
  color: #7D72FF;
}

.quest_info--winrate span:last-child,
.quest_info--games span:last-child {
  font-family: DIN;
  font-size: 20px;
  line-height: 1;
  text-align: center;
  color: #fff;
}

.quest_till_start {
  text-align: center;
  font-size: 14px;
  margin: 10px 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.quest_till_start:before,
.quest_till_start:after {
  content: '';
  display: inline-block;
  width: 100%;
  height: 1px;
  background: #4234A8;
  z-index: -1;
  position: relative;
  vertical-align: middle;
}

.quest_till_start:before {
  right: 10px;
  margin: 0 0 0 -100%;
}

.quest_till_start:after {
  left: 10px;
  margin: 0 -100% 0 0;
}

.arena_timer {
  padding: 0 !important;
  font-family: DIN;
}

.quest-block__header {
  font-family: DIN !important;
}

/* chess_fix_211107 */

.quest-block__orange,
.action_block,
.stats_block {
  border: 1px solid #4234A8 !important;
}

.quests-top__heading:after,
.quests-bot__heading:after {
  background: #4234A8;
}

.ratingl {
  border: none;
  box-shadow: 0px 10px 10px rgba(21, 23, 30, 0.75), 0px 10px 50px rgba(0, 184, 197, 0.24);
}

@media only screen and (max-width: 768px) {
  .game_type_selector.game_selector input + label {
    font-size: 16px;
  }
  
  .game_type_selector {
    width: 100%;
    padding-left: 0;
  }
  
  ._nmenu--right {
    right: -150px;
  }

}