/*------------------------ game-----------------------------------*/
/*
.games {
	width: 698px;
}
*/
.games .ad {
	background-color: #D9D9D9;
	height: 47px;
}

.games .ellipse{
    background-color: #D9D9D9;
    height: 122px;
    width: 122px;
    border-radius: 50%;
	margin: 10px;
	text-align: center;
}
.games .player {
	font-size: 20px;
	font-weight: 700;
	line-height: 24.2px;
	color: #000000;
	padding: 10px;
}

.games .rating {
	font-size: 12px;
	font-weight: 400;
	line-height: 14.52px;
	color: #000000;
}

.games .score {
	font-size: 36px;
	font-weight: 800;
	line-height: 43.57px;
	color: #000000;
	padding-top: 120px;
	padding-bottom:	20px;
}

@media screen and (max-width: 539px) {
	.games .score {
		padding-top: 20px;
	}
	
	.games .ellipse{
		height: 62px;
		width: 62px;
	}
}

@media screen and (max-width: 991.2px) {
	.games .player {
		font-size: 18px;
	}
	
	.games .second-player-col {
		order: 2;
	}
	
	.games .rounds-col {
		order: 3;
	}
}

.games .place {
	font-size: 15px;
	font-weight: 400;
	line-height: 18.15px;
	color: #000000;
	padding: 20px;
}

.games .rounds {
	background-color: #D9D9D9;
	width: 280px;
	font-size: 15px;
	font-weight: 400;
	line-height: 18.15px;
	color: #000000;
	margin-bottom: 5px;
	padding: 10px;
}

.games .rounds .row{
	padding: 3px;
}
.games .row .col-md {
	padding-right: 0px;
    padding-left: 0px;
}
.games .button {
    background-color: #0395FF;
	/*font-size: 10px;*/
	font-weight: 700;
	/*line-height: 12.1px;*/
	color: #fff;
}
.games .notice {
	font-size: 12px;
	line-height: 14.52px;
	color: #000000;
	padding-top: 40px;
}
.games .rounds-date {
	font-size: 10px;
	font-weight: 700;
	line-height: 12.1px;
	color: #000000;
}
.games .rounds-rating {
	font-size: 20px;
	font-weight: 700;
	line-height: 24.2px;
	color: #000000;
}

.games .rounds-rating-input {
	padding: 5px;
	margin: 0px;
	width: 40px;
	height: 25px;
    background-color: #FFF;
	font-size: 20px;
	font-weight: 700;
	line-height: 24.2px;
	color: #000000;
}

.page-link:focus {
    box-shadow: unset !important;
	color:#007bff !important;
}

/*------------------------ archive_games-----------------------------------*/

.archive_games td, .archive_games th {
    padding: 5px !important; 
    vertical-align: middle !important;
	font-size: 12px;
}
.archive_games .aplayers {
	 display: none;
}
	
.archive_games .ellipse{
    background-color: #D9D9D9;
    height: 70px;
    width: 70px;
    border-radius: 50%;
	margin: 10px;
	text-align: center;
}

.archive_games .rating_a{
	border-bottom: 1px solid #dee2e6; 
	padding-bottom: 6px; 
	white-space: nowrap;
}

.archive_games .rating_b{
	padding-top: 6px; 
	white-space: nowrap;
}

@media only screen and (max-device-width: 539px) {
	.archive_games td, .archive_games th {
		font-size: 10px !important;
	}
	
	.archive_games .ellipse{
		height: 40px;
		width: 40px;
	}
	.archive_games .aplace, .aplayera, .aplayerb {
		 display: none;
	}
	
	.archive_games .aplayers {
	 display: table-cell;
	}
}

.games .in_red {
	color: red;
}

.games .in_blue {
	color: #007bff;
}

.games .in_green {
	color: green;
}

.games .in_grey {
	color: grey;
}

.games .in_size_12 {
	font-size: 12px !important;
}
/*------------------------ rating_list-----------------------------------*/

.players_rating .ellipse{
    height: 70px;
    width: 70px;
	margin: 0px 10px 0 0 !important;
}

@media only screen and (max-width: 539px), screen and (max-device-width: 539px) {
	.players_rating td, .players_rating th {
		font-size: 12px !important;
	}

	.players_rating .ellipse{
		height: 40px;
		width: 40px;
	}
}

/*------------------------ registration -----------------------------------*/

.qr_form input[type=text], .qr_form input[type=email], .qr_form input[type=date], .qr_form input[type=time], .qr_form select {
	padding: 0;
	width: 100%;
}
/*
.qr_form  div:not([class*="modal"]) {
	padding: 0;
}
*/
.qr_form .button {
    background-color: #0395FF;
	font-weight: 700;
	color: #fff;
}

.qr_registration .input-file {
	position: relative;
	display: inline-block;
	float: left;
    padding-right: 20px;
}
.qr_registration .input-file-btn {
	position: relative;
	display: inline-block;
	cursor: pointer;
	outline: none;
	text-decoration: none;
	font-size: 14px;
	vertical-align: middle;
	color: rgb(255 255 255);
	text-align: center;
	border-radius: 4px;
	background-color: #007bff;
	line-height: 22px;
	height: 40px;
	padding: 10px 20px;
	box-sizing: border-box;
	border: none;
	margin: 0;
	transition: background-color 0.2s;
}
.qr_registration .input-file-text {
	padding: 0 10px;
	line-height: 40px;
	display: inline-block;
}
.qr_registration .input-file input[type=file] {
	position: absolute;
	z-index: -1;
	opacity: 0;
	display: block;
	width: 0;
	height: 0;
}
 
.qr_registration .img_selected {
	 border: 2px solid #007bff;
 }
 
/* Focus */
.qr_registration .input-file input[type=file]:focus + .input-file-btn {
	box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}
 
/* Hover/active */
.qr_registration .input-file:hover .input-file-btn {
	background-color: #59be6e;
}
.qr_registration .input-file:active .input-file-btn {
	background-color: #2E703A;
}
 
/* Disabled */
.qr_registration .input-file input[type=file]:disabled + .input-file-btn {
	background-color: #eee;
}

/* Список файлов */
.qr_registration .input-file-list {
	padding: 10px 0;
}
.qr_registration .input-file-list-item {
	margin-bottom: 10px;
}
.qr_registration .popup-file-list .input-file-list-remove {
	color: red;
	text-decoration: none;
	display: inline-block;
	margin-left: 5px;
}

.qr_registration .input-file-result .input-file-list-remove {
	color: #fff;
	text-decoration: none;
	display: inline-block;
	position: absolute;
	padding-bottom: 2px;
	margin: 0;
	right: 5px;
	background: #ff0202;
	width: 16px;
	height: 16px;
	text-align: center;
	line-height: 11px;
	border-radius: 50%;
}

.qr_registration .modal-img-content {
	height: 250px;
  	overflow-y: auto;
}
/*------------------------ profile -----------------------------------*/

.qr_profile a{
	
}

.qr_profile input[type=text], .qr_profile input[type=email] {
	width: 100%;
}

.profile_description {
	width: unset;
}

/*------------------------ authorization -----------------------------------*/
#codeAuthorizationModalCenter .authorization-code {
	padding: 12px;
	margin: 0px;
	width: 40px;
	height: 55px;
    background-color: #FFF;
	font-size: 20px;
	font-weight: 700;
	line-height: 24.2px;
	color: #000000;
}

#codeAuthorizationModalCenter .send2 {
	margin-top: 20px;
}

span.qr_error_msg {
	font-size: 13px;
	color: red;
}

/*------------------------new game--------------------*/

#opponent-list {
    float: left;
    list-style: none;
    margin-top: -3px;
    padding: 0;
	margin: 0;
    width: 240px;
    position: absolute;
	z-index:1;
}

#opponent-list li {
	line-height: 1.5;
    margin: 6px 0;
    padding: 10px;
    background: #f0f0f0;
    border-bottom: #bbb9b9 1px solid;
}

#opponent-list li:hover {
  background-color: #f8f9fa;
  cursor: pointer;
}
/*------------------------------------------------------------------------------------------------*/

input[type="checkbox"] {
            zoom: 1.5;
        }

#suggesstion-box {
	text-align: justify;
	font-size: 13px;
	background-color: #eaeffc;
	padding: 10px;
	border-radius: 10px;
}

.headpoint {
	font-size: 16px;
	font-weight: 500;
	padding-bottom:5px !important;
}

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], textarea, select {
    color: #666666 !important;
    background-color: #fafafa !important;
    border-color: #cccccc !important;
}

.visibility_none {
	display: none !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}


.anketa_block {
	background-color: #f5f8fa;
	padding: 15px;
	border-radius: 10px;
	border: 1px solid #32a1ce;
}

.required_field {
	border: 1px solid red !important;
}

h1 {
    font-size: 28px !important;
}

.main-navigation ul ul {
	width: 300px !important;
}