/* RESPONSIVE */
@media (orientation: landscape) {
	.podium_driver_column {
		display: none;
	}
	.races_results_team_column, .cell_team_column {
		display: table-cell;
	}
	.cell_team_column_prologue {
		display: none;
	}
	.races_results_flag {
		display: inline-block;
	}
}
@media (orientation: portrait) {	
	.podium_driver_column {
		display: none;
	}
	.races_results_team_column, .cell_team_column {
		display: none;
	}
	.cell_team_column_prologue {
		display: none;
	}
	.races_results_flag {
		display: inline-block;
	}

}
@media (max-width: 899px) {	
	#races_results_navigation {
		height: 30px;
		line-height: 30px;
		font-size: 20px;
		margin-top: 30px;
		display: flex;
	}
	#races_results_title_center {
		text-align: center;
	}
	#races_results_title_center, #races_results_navigation {
		width: 100%;
	}
	#races_results_title_center > a {
		font-size: 20px;
	}
	#races_results {
		width: 100%;
	}
	#scoring_points_additionnal {
		display: block;
	}
	#races_results_navigation > a {
		padding-left: 20px;
		padding-right: 20px;
		flex: 1;
		margin-left: 0px;
		margin-right: 0px;
	}
	#races_results_hidden_points {
		display: none;
	}
	.races_results_best_column {
		display: none;
	}
	.races_results_started_column {
		display: none;
	}
	.races_results_time_column {
		display: none;
	}
	.race_results_replay_icon {
		display: none;
	}
}
@media (min-width: 900px) and (max-width: 1199px) {	
	#races_results_navigation {
		height: 40px;
		line-height: 40px;
		font-size: 25px;
		margin-top: 25px;
		display: block;
	}
	#races_results_title_center {
		text-align: left;
	}
	#races_results_title_center, #races_results_navigation {
		width: 870px;
	}
	#races_results_title_center > a {
		font-size: 30px;
	}
	#races_results {
		width: 850px;
	}
	#scoring_points_additionnal {
		display: flex;
	}
	#races_results_navigation > a {
		padding-left: 25px;
		padding-right: 25px;
		display: inline-block;
		margin-left: 15px;
		margin-right: 15px;
	}
	#races_results_hidden_points {
		display: none;
	}
	.races_results_best_column {
		display: none;
	}
	.races_results_started_column {
		display: none;
	}
	.races_results_time_column {
		display: none;
	}
	.podium_driver_column {
		display: none;
	}
	.races_results_team_column, .cell_team_column {
		display: table-cell;
	}
	.cell_team_column_prologue {
		display: none;
	}
	.races_results_flag {
		display: inline-block;
	}
	.race_results_replay_icon {
		display: unset;
	}
}
@media (min-width: 1200px) and (max-width: 1399px) {
	#races_results_navigation {
		height: 50px;
		line-height: 50px;
		font-size: 30px;
		margin-top: 15px;
		display: block;
	}
	#races_results_title_center {
		text-align: left;
	}
	#races_results_title_center, #races_results_navigation {
		width: 1150px;
	}
	#races_results_title_center > a {
		font-size: 30px;
	}
	#races_results {
		width: 1150px;
	}
	#scoring_points_additionnal {
		display: flex;
	}
	#races_results_navigation > a {
		padding-left: 30px;
		padding-right: 30px;
		display: inline-block;
		margin-left: 15px;
		margin-right: 15px;
	}
	#races_results_hidden_points {
		display: table-cell;
	}
	.races_results_best_column {
		display: table-cell;
	}
	.races_results_started_column {
		display: table-cell;
	}
	.races_results_time_column {
		display: table-cell;
	}
	.podium_driver_column {
		display: table-cell;
	}
	.races_results_team_column, .cell_team_column {
		display: table-cell;
	}
	.cell_team_column_prologue {
		display: table-cell;
	}
	.races_results_flag {
		display: inline-block;
	}
	.race_results_replay_icon {
		display: unset;
	}
}
@media(min-width: 1400px) and (max-width: 2099px) {	
	#races_results_navigation {
		height: 50px;
		line-height: 50px;
		font-size: 30px;
		margin-top: 15px;
		display: block;
	}
	#races_results_title_center {
		text-align: left;
	}
	#races_results_title_center, #races_results_navigation {
		width: 1350px;
	}
	#races_results_title_center > a {
		font-size: 30px;
	}
	#races_results {
		width: 1350px;
	}
	#scoring_points_additionnal {
		display: flex;
	}
	#races_results_navigation > a {
		padding-left: 30px;
		padding-right: 30px;
		display: inline-block;
		margin-left: 15px;
		margin-right: 15px;
	}
	#races_results_hidden_points {
		display: table-cell;
	}
	.races_results_best_column {
		display: table-cell;
	}
	.races_results_started_column {
		display: table-cell;
	}
	.races_results_time_column {
		display: table-cell;
	}
	.podium_driver_column {
		display: table-cell;
	}
	.races_results_team_column, .cell_team_column {
		display: table-cell;
	}
	.cell_team_column_prologue {
		display: table-cell;
	}
	.races_results_flag {
		display: inline-block;
	}
	.race_results_replay_icon {
		display: unset;
	}
}
@media(min-width: 2100px) {	
	#races_results_navigation {
		height: 50px;
		line-height: 50px;
		font-size: 30px;
		margin-top: 15px;
		display: block;
	}
	#races_results_title_center {
		text-align: left;
	}
	#races_results_title_center, #races_results_navigation {
		width: 2050px;
	}
	#races_results_title_center > a {
		font-size: 30px;
	}
	#races_results {
		width: 2050px;
	}
	#scoring_points_additionnal {
		display: flex;
	}
	#races_results_navigation > a {
		padding-left: 30px;
		padding-right: 30px;
		display: inline-block;
		margin-left: 15px;
		margin-right: 15px;
	}
	#races_results_hidden_points {
		display: table-cell;
	}
	.races_results_best_column {
		display: table-cell;
	}
	.races_results_started_column {
		display: table-cell;
	}
	.races_results_time_column {
		display: table-cell;
	}
	.podium_driver_column {
		display: table-cell;
	}
	.races_results_team_column, .cell_team_column {
		display: table-cell;
	}
	.cell_team_column_prologue {
		display: table-cell;
	}
	.races_results_flag {
		display: inline-block;
	}
	.race_results_replay_icon {
		display: unset;
	}
}

/* BODY */
#first_body {
	padding-bottom: 50px;
	position: relative;
	padding-top: 120px;
	margin-bottom: 150px;
	min-height: 100%;
}

/* RACES RESULTS */
#races_results {
	margin: auto;
	transition: 0.3s;
}
#races_results_title {
	position: relative;
}
#races_results_title_center {
	transition: 0.3s;
	margin: auto;
	display: block;
	padding-top: 10px;
}
#races_results_title_center > a {
	font-family: LemonMilkRegular;
	display: block;
	color: #FFF;
	transition: 0.3s;
	margin-bottom: 20px;
}
#races_results_navigation {
	position: relative;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
}
#races_results_navigation > a {
	font-family: AvenirNextCyrLight;
	cursor: pointer;
	position: relative;
	bottom: 0px;
	height: 100%;
	z-index: 1;
	transition: color 0.3s;
}
#races_results_presentation {
	font-size: 23px;
	font-family: AvenirNextCyrLight;
	color: #1e272e;
}
#races_results_presentation > a {
	width: 50%;
	display: block;
	margin: auto;
	text-align: center;
}
#scoring_points_presentation {
	font-size: 18px;
	color: #1e272e;
	margin-top: 10px;
}
#points_scoring {
	color: #1e272e;
}
#points_scoring_separator {
	background-color: #1e272e;
	width: 100%;
	height: 2px;
	margin-top: 20px;
	margin-bottom: 20px;
}
#scoring_points_additionnal_left, #scoring_points_additionnal_right {
	flex: 1 auto;
	font-size: 0;
}
#races_results_presentation_points {
	padding: 20px;
	background-color: #dfe4ea;
	cursor: pointer;
}
#races_results_table {
	margin-top: 50px;
}
#races_results_table > table {
	width: 100%;
	text-align: center;
	border-collapse: separate;
	border-spacing: 0px;
}
#races_results_table > table > thead {
	font-family: Prototype;
	font-size: 20px;
	background-color: #3d3d3d;
	color: #fff;
}
#races_results_table > table > thead > tr > th {
	height: 40px;
}
#races_results_table > table > tbody {
	font-family: AvenirNextCyrLight;
	font-size: 20px;
	color: #1e272e;
	background-color: rgba(241, 242, 246,0.3);
}
#races_results_table > table > tbody > tr {
	height: 60px;
	box-shadow: 0px 1px #dfe4ea;
	cursor: default;
}
#races_results_table > table > tbody > tr:hover {
	height: 60px;
	background-color: #dfe4ea;
}
#races_results_table > table > tbody > tr > td {
	position: relative;
}
#races_results_table > table > tbody > tr > td > a {
	vertical-align: middle;
	text-decoration: none;
	color: #3d3d3d;
}
#races_results_position {
	font-size: 25px;
	font-family: Prototype;
	background-color: #3d3d3d;
	color: #FFF;
	width: 56%;
	position: absolute;
	top: 0;
	left: 0;
	line-height: 60px;
}
#races_results_own_position {
	font-size: 25px;
	font-family: Prototype;
	background-color: #c23616;
	color: #FFF;
	width: 56%;
	position: absolute;
	top: 0;
	left: 0;
	line-height: 60px;
}
#races_results_last_position, #races_results_last_own_position {
	height: 60px;
	position: absolute;
	top: 0;
	left: 56%;
}
#races_results_last_position::before {
	content: "";
	border-top: 30px solid transparent;
	border-bottom: 30px solid transparent;
	border-left: 15px solid #3d3d3d;
	position: absolute;
	left: 0;
	top: 0;
}
#races_results_last_own_position::before {
	content: "";
	border-top: 30px solid transparent;
	border-bottom: 30px solid transparent;
	border-left: 15px solid #c23616;
	position: absolute;
	left: 0;
	top: 0;
}
#races_results_hidden_points {
	width: min-content;
}
#races_results_own_tr {
	background-color: #dfe4ea;
}
.races_results_navigation::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	right: 0;
	top: 100%;
	background: #FFF;
	height: 100%;
	transition-property: all;
	transition-duration: 0.3s;
	transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}
.races_results_navigation:hover::before {
	top: 0;
}
.races_results_navigation_active::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	right: 0;
	top: 0;
	background: #FFF;
	height: 100%;
	transition-property: all;
	transition-duration: 0.3s;
	transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}
.races_results_navigation_active {
	background-color: #FFF;
	color: #3d3d3d;
}
.races_results_navigation {
	color: #FFF;
}
.races_results_navigation:hover {
	color: #3d3d3d;
}
.points_scoring_title {
	font-size: 22px;
	font-family: Prototype;
	color: #1e272e;
}
.scoring_points_inline {
	display: inline-block;
	font-family: AvenirNextCyrLight;
	margin-right: 20px;
	margin-bottom: unset;
	margin-top: unset;
}
.scoring_points_inline_label {
	font-family: Prototype;
}
.pole_icon, .DNF_icon, .DSQ_icon, .FL_icon, .DNS_icon {
	padding: 3px 0px;
	font-size: 17px;
	font-family: Prototype;
	width: 50px;
	display: inline-block;
	text-align: center;
	margin-bottom: 5px;
}
.pole_description, .DNF_description, .DSQ_description, .FL_description, .DNS_description {
	color: #1e272e;
	font-size: 20px;
	font-family: AvenirNextCyrLight;
	margin-left: 10px;
	top: 1px;
	position: relative;
}
.pole_icon {
	background-color: #44bd32;
	color: #1e272e;
}
.FL_icon {
	background-color: #e84393;
	color: #1e272e;
}
.DSQ_icon, .DNF_icon, .DNS_icon {
	background-color: #3d3d3d;
	color: #FFF;
}
.races_results_cars {
	height: 30px;
	position: relative;
	vertical-align: middle;
}
.races_results_points {
	font-family: Prototype;
	color: #3d3d3d;
}
.position_column {
	width: 100px;
}
.pole_icon_details_standings, .DNF_icon_details_standings, .DSQ_icon_details_standings, .FL_icon_details_standings, .DNS_icon_details_standings {
	padding: 3px 0px;
	font-size: 10px;
	font-family: Prototype;
	width: 30px;
	flex: 0 auto;
	text-align: center;
	margin: auto;
}
.pole_icon_details_standings {
	background-color: #44bd32;
	color: #1e272e;
}
.FL_icon_details_standings {
	background-color: #e84393;
	color: #1e272e;
}
.DSQ_icon_details_standings, .DNF_icon_details_standings, .DNS_icon_details_standings {
	background-color: #3d3d3d;
	color: #FFF;
}
.cell_pseudo_races_results {
	font-size: 24px;
	white-space: nowrap;
	font-family: Prototype;
	color: #3d3d3d;	
	text-align: left;
	max-width: 150px;
	overflow: hidden;
	text-overflow: ellipsis;
	padding-left: 10px;
}
.podium_driver_column {
	width: 150px;
}
.details_races_results_events {
	display: flex;
	position: absolute;
	width: 100%;
}
#points_scoring_arrow {
	width: 30px;
	margin: auto;
	position: relative;
	display: block;
	cursor: pointer;
	transition: 0.2s ease;
	transform: translateY(-50%) rotate(0deg);
	top: 15px;
	min-height: 30px;
}
#points_scoring_arrow.active {
	transform: translateY(-50%) rotate(180deg);
}
.races_results_flag_column {
	text-align: left;
	padding-left: 10px;
}
.races_results_team_column {
	text-align: left;
}
.cell_team_column {
	text-align: left;
	font-size: 24px;
	white-space: nowrap;
	font-family: Prototype;
	color: #3d3d3d;
	max-width: 150px;
	overflow: hidden;
	text-overflow: ellipsis;
}
.cell_team_column_prologue {
	text-align: left;
	font-size: 24px;
	white-space: nowrap;
	font-family: Prototype;
	color: #3d3d3d;
	max-width: 350px;
	overflow: hidden;
	text-overflow: ellipsis;
}
.races_results_flag {
	max-height: 48px;
	max-width: 48px;
	vertical-align: middle;
	margin-right: 10px;
	display: inline-block;
	width: min-content;
}
.races_results_points_column, .races_results_time_column, .races_results_started_column, .races_results_best_column {
	width: 10%;
}
.before_season {
	font-size: 23px;
	font-family: AvenirNextCyrLight;
	color: #1e272e;
	display: block;
	margin: auto;
	text-align: center;
}
.standings_link { 
	color: #1e272e;
	text-decoration: underline
}
.race_results_replay_icon {
	z-index: 5;
	position: relative;
	height: 36px;
	bottom: -10px;
	cursor: pointer;
	transition: 0.3s ease;
	margin-right: 15px;
}
.race_results_replay_icon:hover {
    transform: translateY(3px);
}
.search_row_array {
	width: 25px;
	position: absolute;
	top: calc(50% - 13px);
	margin-left: 20px;
	cursor: pointer;
}