@import url('https://fonts.googleapis.com/css?family=Noto+Sans|Open+Sans|PT+Sans|Roboto|Roboto+Condensed|Roboto+Mono|Ubuntu|Ubuntu+Condensed|Cuprum|Istok+Web');
* {
    cursor: default;
    outline: none;
    box-sizing: border-box;
    image-rendering: pixelated;

    .garage::-webkit-scrollbar {
    	width: 0.6em;
    	height: 0.5em;
    	transition: all 1s;
    }
    .garage::-webkit-scrollbar-track {
    	border: 1px solid rgba(170, 170, 170, 0.25);
    	
    	border-radius: 2px;
    }
    .garage::-webkit-scrollbar-thumb {
		background: rgba(0, 0, 0, 0.8);
    	border-radius: 2px;
    	outline: none;
    	border: 2px solid rgba(170, 170, 170, 0.75);
    }
}
a {color: #fff;outline: none;border: none;text-decoration: none;cursor: pointer;}
body {
    background: #0e0904 url('/assets/img/body.jpg') no-repeat top center fixed;
    font-family: Roboto;
    font-size: 1em;
    line-height: 1; /*1.25*/
    -webkit-font-smoothing: subpixel-antialiased !important;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
}
.block {
	border: 2px solid rgba(170, 170, 170, 0.75);
    padding: 10px 20px;
    display: flex;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.8);
    width: 1050px;
    margin: 20px auto;
    color: white;
}
input {
	background-color: rgba(0, 0, 0, 0.75);
    color: #CCC;
    padding: 6px 8px;
    border: 2px solid rgba(170, 170, 170, 0.75);
    border-radius: 5px;
    margin: 0 10px;
    font-size: 0.9em;
    cursor: text;
}
input[type="button"],
input[type="submit"] {
    font-family: Roboto;
    color: #FFF;
    background: #5f5f5f;
    background: linear-gradient(to bottom, rgba(117, 117, 117, 0.81) 0%, rgba(112, 112, 112, 0.8) 10%, rgba(107, 107, 107, 0.8) 13%, rgba(96, 96, 96, 0.79) 26%, rgba(80, 80, 80, 0.78) 39%, rgba(76, 76, 76, 0.77) 42%, rgba(74, 74, 74, 0.77) 45%, rgba(68, 68, 68, 0.76) 48%, rgba(29, 29, 29, 0.72) 52%, rgba(20, 20, 20, 0.72) 65%, rgba(18, 18, 18, 0.72) 68%, rgba(17, 17, 17, 0.72) 74%, rgba(22, 22, 22, 0.72) 81%, rgba(28, 28, 28, 0.72) 84%, rgba(46, 46, 46, 0.74) 90%, rgba(71, 71, 71, 0.77) 97%, rgba(86, 86, 86, 0.78) 100%);
    border: 2px solid rgba(170, 170, 170, 0.75);
    border-radius: 3px;
    opacity: 1;
    padding: 5px 20px;
    overflow: visible;
    outline: none;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
}
.searchUser {
	display: block;
	& > div {
		display: flex;
		width: calc(100% + 6%);
		form {
			padding: 0;
			margin: 8px auto;
			// text-align: center;
			input[type='submit'] {
				padding: 5px 40px;
			}
		}

		form, form > input[type='text'] {
			width: calc(100% - 24.5px);
		}
	}

	.userIsNotSearched {
		display: none;
		text-align: center;
	}
}
.top100 {
	display: flex;
	width: 1050px;
	margin: auto auto 30px auto;
	flex-wrap: nowrap;
    align-content:flex-start;
	& > .block {
		display: block;
		// margin: auto;
		&:first-child {
			margin-right: 20px;
		}
		.top100--type {
			font-size: 18px;
		}
		.top100--name {
			color: #ccc;
			margin-bottom: 20px;
		}
		.top100--type,
		.top100--name {
			padding: 5px 0;
		}
		.top100--result {
			& > .top100--user {
				margin: 2px 0;
				& > table {
					border-collapse: collapse;
					border-spacing: 0;
					tr {
						display: table-row;
					    vertical-align: inherit;
					    border-color: inherit;
					}
					td {
						white-space: nowrap;
						height: 23px;
					}
					td:first-child {
						text-align: right;
					    float: left;
					    width: 30px;
					    position: relative;
					    top: 2px;
					}
					td:nth-child(2) {
						width: 18px;
						& > img {
							margin-left: 5px;
							margin-right: 3px;
							vertical-align: middle;
						}
					}
					td:nth-child(3) {
						padding-right: 6px;
					}
					td:last-child {
						padding-left: 6px;
					}
				}
			}
		}
	}
}
.devider {background: url('https://ratings.tankionline.com/img/tchk.png') 0px 12px repeat-x rgba(0, 0, 0, 0);width: 100%;white-space: nowrap;}
.userRating {
	display: block;
	padding: 20px;
	.score_wrapper {
	    padding: 2px;
	    margin-top: 10px;
	    width: 100%;
	    border: 2px solid #82868A;
	    border-radius: 5px;
	    background: linear-gradient(to bottom, rgba(48, 51, 54, 1) 0%, rgba(35, 38, 41, 1) 47%, rgba(21, 24, 28, 1) 53%, rgba(19, 22, 25, 1) 100%);
	    .score_value {
			color: #FFF;
		    font-size: 1.17em;
		    text-align: center;
		    margin-top: 3px;
		    position: relative;
		    top: 2px;
		}
		.score_bar {
			width: 100%;
			border-radius: 2px;
			background: linear-gradient(to bottom, rgba(186, 230, 81, 0.98) 0%, rgba(181, 224, 75, 0.97) 9%, rgba(172, 215, 70, 0.96) 17%, rgba(140, 179, 52, 0.94) 43%, rgba(133, 172, 47, 0.93) 48%, rgba(101, 145, 21, 0.88) 52%, rgba(54, 87, 9, 0.82) 87%, rgba(40, 69, 5, 0.8) 100%);
		    padding: 5px;
		    height: 26px;
		    margin-top: -21px;
			transition: width .5s;
		}
	}
	.infoUser {
		display: flex;
		div {
			margin-right: 6px;
		}
		.infoUser--rang {
			display: inline-table;
		    align-items: center;
		    align-content: center;
		    align-self: center;
			& > img {
				vertical-align: middle;
			}
		}
		.infoUser--score {
			color: #ccc;
		}
	}
}
.infoRatings {
	.currentTank::before{ 
		content: '';
	    background-image: -webkit-repeating-radial-gradient(center center, rgba(0,0,0,.5), rgba(0,0,0,.2) 1px, transparent 1px, transparent 100%);
	    background-image: -moz-repeating-radial-gradient(center center, rgba(0,0,0,.2), rgba(0,0,0,.2) 1px, transparent 1px, transparent 100%);
	    background-image: -ms-repeating-radial-gradient(center center, rgba(0,0,0,.2), rgba(0,0,0,.2) 1px, transparent 1px, transparent 100%);
	    background-image: repeating-radial-gradient(center center, rgba(0,0,0,.2), rgba(0,0,0,.2) 1px, transparent 1px, transparent 100%);
	    -webkit-background-size: 3px 3px;
	    -moz-background-size: 3px 3px;
	    background-size: 3px 3px;
	    position: absolute;
	    width: 498px;
	    height: 200px;
	    margin-top: 48px;
	    border-radius: 3px;
	}
	.placesOfRatings {
		margin-left: 22px;
		table {
			color: #FFF;
			border-collapse: collapse;
			tr, td {
				width: 100%;		
			}
			tr {
				display: table-row;
			    vertical-align: inherit;
			    border-color: inherit;
				&:first-child {
					color: #6D6D6D;
				}
				td {
					display: table-cell;
					white-space: nowrap;
					padding: 5px 0;

					&:last-child {
						padding-left: 40px;
					}
					&:nth-child(2),
					&:last-child {
						text-align: right;
					}
				}
			}
		}
	}
}
.personalBussiness {
	display: block;
	margin-bottom: 10px;
	.personalInfo {
		display: flex;
		margin-bottom: 5px;
		table {
			color: #fff;
			border-collapse: collapse;
			border-spacing: 0;
			white-space: nowrap;
			tr {
				td {
					&:nth-child(1) {
						padding-right: 6px;
					}
					&:nth-child(3) {
						padding-left: 6px;
					}
				}
			}		
		}
		& > div {
			&:first-child {
				margin-right: 20px;
			}
			& > * {
				margin: 10px 0;
			}
		}
	}
}
.garage {
	// border: 2px solid rgba(170, 170, 170, 0.75);
    padding: 0 20px;
    display: flex;
    border-radius: 2px;
    // background: rgba(0, 0, 0, 0.8);
    width: 1050px;
    margin: 0 auto;
    color: white;
    white-space: nowrap;
	overflow-y: hidden;
    overflow-x: auto;
    .garage-item {
    	min-height: 176px;
    	min-width: 336px;
    	max-width: 336px;
    	border: 2px solid rgba(170, 170, 170, 0.75);
	    padding: 10px 20px;
	    // display: flex;
	    border-radius: 2px;
	    background: rgba(0, 0, 0, 0.8);
	    margin: 10px 10px;
	    color: white;
	    &:first-child {
	    	margin-left: -20px;
	    }
	    .garage-item__name {
	    	margin-top: -10px;
	    }
	    .garage-item__img {
	    	min-height: 110px;
	    	min-width: 284px;
	    	max-height: 110px;
	    	max-width: 284px;
	    	overflow: hidden;
	    	margin: auto;
	    	margin-left: -5px;
	    	margin-top: 0;
	    	margin-bottom: 10px;
	    	text-align: center;
	    	img {
	    		vertical-align: middle;
	    		text-align: center;
	    	}
	    }
	    & > div {
	    	& > div {
	    		margin: 5px 0;
	    	}
	    }
	    table {
			color: #fff;
			border-collapse: collapse;
			border-spacing: 0;
			white-space: nowrap;
			tr {
				td {
					&:nth-child(1) {
						padding-right: 6px;
					}

					&:nth-child(3) {
						padding-left: 6px;
					}
				}
			}		
		}
    }
}