/* RESPONSIVE */
@media (orientation: landscape) {

}
@media (orientation: portrait) {	

}
@media (max-width: 899px) {	
	#drivers_navigation {
		height: 30px;
		line-height: 30px;
		margin-top: 30px;
		display: flex;
	}
	#drivers_title_center {
		text-align: center;
	}
	#drivers_title_center, #drivers_navigation {
		width: 100%;
	}
	#drivers_title_center > a {
		font-size: 20px;
	}
	#drivers {
		width: 100%;
	}
	#drivers_navigation > a {
		padding-left: 20px;
		padding-right: 20px;
		flex: 1;
		margin-left: 0px;
		margin-right: 0px;
		font-size: 20px;
	}
	#drivers_bottom_right_list {
		display: none;
	}
	#drivers_top_right_list, #teams_top_right_list {
		display: none;
	}
	#drivers_bottom_left_list {
		width: 100%;
	}
	#drivers_bottom_left_list_season {
		width: 0%;
		display: none;
	}
	.drivers_main_name_list, .teams_main_name_list {
		font-size: 26px;
	}
	.drivers_main_tag, .drivers_stats_title, .teams_main_tag {
		font-size: 16px;
	}
	.drivers_details_title {
		font-size: 20px;
	}
	.drivers_stats_content {
		font-size: 31px;
	}
	.drivers_link { 
		font-size: 21px;
	}
}
@media (min-width: 900px) and (max-width: 1199px) {	
	#drivers_navigation {
		height: 40px;
		line-height: 40px;
		margin-top: 25px;
		display: block;
	}
	#drivers_title_center {
		text-align: center;
	}
	#drivers_title_center, #drivers_navigation {
		width: 850px;
	}
	#drivers_title_center > a {
		font-size: 30px;
	}
	#drivers {
		width: 850px;
	}
	#drivers_navigation > a {
		padding-left: 25px;
		padding-right: 25px;
		display: inline-block;
		margin-left: 15px;
		margin-right: 15px;
		font-size: 25px;
	}
	#drivers_bottom_right_list {
		display: block;
	}
	#drivers_top_right_list, #teams_top_right_list {
		display: flex;
	}
	#drivers_bottom_left_list, #drivers_bottom_left_list_season {
		width: 30%;
	}
	.drivers_main_name_list, .teams_main_name_list {
		font-size: 28px;
	}
	.drivers_main_tag, .drivers_stats_title, .teams_main_tag {
		font-size: 18px;
	}
	.drivers_details_title {
		font-size: 22px;
	}
	.drivers_stats_content {
		font-size: 33px;
	}
	.drivers_link { 
		font-size: 23px;
	}
}
@media (min-width: 1200px) and (max-width: 1399px) {
	#drivers_navigation {
		height: 50px;
		line-height: 50px;
		margin-top: 15px;
		display: block;
	}
	#drivers_title_center {
		text-align: center;
	}
	#drivers_title_center, #drivers_navigation {
		width: 1150px;
	}
	#drivers_title_center > a {
		font-size: 30px;
	}
	#drivers {
		width: 1150px;
	}
	#drivers_navigation > a {
		padding-left: 30px;
		padding-right: 30px;
		display: inline-block;
		margin-left: 15px;
		margin-right: 15px;
		font-size: 30px;
	}
	#drivers_bottom_right_list {
		display: block;
	}
	#drivers_top_right_list, #teams_top_right_list {
		display: flex;
	}
	#drivers_bottom_left_list, #drivers_bottom_left_list_season {
		width: 30%;
	}
	.drivers_main_name_list, .teams_main_name_list {
		font-size: 30px;
	}
	.drivers_main_tag, .drivers_stats_title, .teams_main_tag {
		font-size: 20px;
	}
	.drivers_details_title {
		font-size: 24px;
	}
	.drivers_stats_content {
		font-size: 35px;
	}
	.drivers_link { 
		font-size: 25px;
	}
}
@media(min-width: 1400px) and (max-width: 2099px) {	
	#drivers_navigation {
		height: 50px;
		line-height: 50px;
		margin-top: 15px;
		display: block;
	}
	#drivers_title_center {
		text-align: center;
	}
	#drivers_title_center, #drivers_navigation {
		width: 1350px;
	}
	#drivers_title_center > a {
		font-size: 30px;
	}
	#drivers {
		width: 1350px;
	}
	#drivers_navigation > a {
		padding-left: 30px;
		padding-right: 30px;
		display: inline-block;
		margin-left: 15px;
		margin-right: 15px;
		font-size: 30px;
	}
	#drivers_bottom_right_list {
		display: block;
	}
	#drivers_top_right_list, #teams_top_right_list {
		display: flex;
	}
	#drivers_bottom_left_list, #drivers_bottom_left_list_season {
		width: 30%;
	}
	.drivers_main_name_list, .teams_main_name_list {
		font-size: 30px;
	}
	.drivers_main_tag, .drivers_stats_title, .teams_main_tag {
		font-size: 20px;
	}
	.drivers_details_title {
		font-size: 24px;
	}
	.drivers_stats_content {
		font-size: 35px;
	}
	.drivers_link { 
		font-size: 25px;
	}
}
@media(min-width: 2100px) {	
	#drivers_navigation {
		height: 50px;
		line-height: 50px;
		margin-top: 15px;
		display: block;
	}
	#drivers_title_center {
		text-align: center;
	}
	#drivers_title_center, #drivers_navigation {
		width: 2050px;
	}
	#drivers_title_center > a {
		font-size: 30px;
	}
	#drivers {
		width: 2050px;
	}
	#drivers_navigation > a {
		padding-left: 30px;
		padding-right: 30px;
		display: inline-block;
		margin-left: 15px;
		margin-right: 15px;
		font-size: 30px;
	}
	#drivers_bottom_right_list {
		display: block;
	}
	#drivers_top_right_list, #teams_top_right_list {
		display: flex;
	}
	#drivers_bottom_left_list, #drivers_bottom_left_list_season {
		width: 30%;
	}
	.drivers_main_name_list, .teams_main_name_list {
		font-size: 30px;
	}
	.drivers_main_tag, .drivers_stats_title, .teams_main_tag {
		font-size: 20px;
	}
	.drivers_details_title {
		font-size: 24px;
	}
	.drivers_stats_content {
		font-size: 35px;
	}
	.drivers_link { 
		font-size: 25px;
	}
}

/* BODY */
#first_body {
	padding-bottom: 50px;
	position: relative;
	padding-top: 120px;
	margin-bottom: 150px;
	min-height: 100%;
}

/* DRIVERS */
#drivers {
	margin: auto;
	transition: 0.3s;
}
#drivers_title {
	position: relative;
}
#drivers_title_center {
	transition: 0.3s;
	margin: auto;
	display: block;
	padding-top: 30px;
	padding-bottom: 10px;
}
#drivers_title_center > a {
	font-family: LemonMilkRegular;
	display: block;
	color: #FFF;
	transition: 0.3s;
	margin-bottom: 20px;
}
#drivers_navigation {
	position: relative;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
	font-size: 0px;
}
#drivers_navigation > a {
	font-family: AvenirNextCyrLight;
	cursor: pointer;
	position: relative;
	bottom: 0px;
	height: 100%;
	z-index: 1;
	transition: color 0.3s;
}
#drivers_presentation {
	font-size: 23px;
	font-family: AvenirNextCyrLight;
	color: #1e272e;
}
#drivers_presentation > a {
	width: 98%;
	display: block;
	margin: auto;
	text-align: center;
}
#drivers_div_center {
	padding: 20px;
}
#drivers_top_details {
	position: relative;
	overflow: hidden;
	display: flex;
}
#drivers_name_details {
	display: flex;
}
#teams_name_details {
	display: flex;
}
#names_details {
	display: flex;
	flex-direction: column;
	width: 90%;
}
#all_time_stats {
	display: flex;
}
#all_time_stats > p {
	flex: 1 auto;
}
#drivers_bottom_first_details {
	margin-top: 20px;
}
#drivers_list_flag {
	width: 7%;
	position: relative;
	display: flex;
}
#drivers_list_logo {
	width: 5%;
	position: relative;
	display: flex;
}
#drivers_right_list {
	width: 125%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	margin: auto;
}
#teams_right_list {
	width: 125%;
	display: flex;
	overflow: hidden;
	margin: auto;
	flex-direction: column;
}
#teams_names_first_row {
	flex: 1 auto;
}
#teams_names_second_row {
	flex: 1 auto;
	display: flex;
}
#drivers_bottom_list {
	display: flex;
}
#drivers_bottom_left_list {
	position: relative;
}
#drivers_bottom_left_list_season {
	position: relative;
}
#drivers_bottom_right_list {
	position: relative;
	width: 40%;
}
#drivers_bottom_right_list::before {
	content: "";
	position: absolute;
	background-color: #f1f2f6;
	z-index: 0;
	right: -90px;
	bottom: -21px;
	top: -110px;
	left: 0;
	transform: skew(-25deg);
}
#drivers_first_list_background {
	background-color: #c0392b;
	margin-bottom: 50px;
	overflow: hidden;
}
#drivers_second_list_background {
	background-color: #3498db;
	margin-bottom: 50px;
	overflow: hidden;
}
#drivers_main_first_list {
	color: #fff;
}
#drivers_top_right_list {
	z-index: 2;
	width: 50%;
}
#teams_top_right_list {
	z-index: 2;
	width: 50%;
	padding-right: 10%;
}
#drivers_separator {
	background-color: #4b4b4b;
	width: 100%;
	height: 2px;
	margin-bottom: 48px;
}
.drivers_navigation::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	right: 0;
	top: 100%;
	background-color: #FFF;
	height: 100%;
	transition-property: all;
	transition-duration: 0.3s;
	transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}
.drivers_navigation:hover::before {
	top: 0;
}
.drivers_navigation_active::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	right: 0;
	top: 0;
	background-color: #FFF;
	height: 100%;
	transition-property: all;
	transition-duration: 0.3s;
	transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}
.drivers_navigation_active {
	background-color: #FFF;
	color: #3d3d3d;
	word-wrap: anywhere;
}
.drivers_navigation {
	color: #FFF;
	word-wrap: anywhere;
}
.drivers_navigation:hover {
	color: #3d3d3d;
}
.drivers_main_name_list {
	font-family: Prototype;
	flex: 1 auto;
	text-decoration: none;
	color: #fff;
	margin-left: 10px;
	white-space: nowrap;
}
.drivers_main_tag {
	font-family: Prototype;
	flex: 1 auto;
	text-decoration: none;
	color: #fff;
	margin-left: 10px;
}
.teams_main_name_list {
	font-family: Prototype;
	text-decoration: none;
	color: #fff;
	white-space: nowrap;
	margin-right: 10px;
}
.teams_main_tag {
	font-family: Prototype;
	text-decoration: none;
	white-space: nowrap;
	color: #fff;
	margin: auto;
	margin-right: 20px;
	margin-left: 5px;
	max-width: 39%;
	overflow: hidden;
	text-overflow: ellipsis;
}
.drivers_details_title {
	font-family: AvenirNextCyrLight;
}
.drivers_stats_title {
	font-family: Prototype;
}
.drivers_stats_content {
	font-family: Montserrat_bold;
}
.drivers_list_flag {
	width: 100%;
	margin-top: auto;
	margin-bottom: auto;
}
.teams_list_flag {
	width: 4%;
	margin-top: auto;
	margin-bottom: auto;
}
.drivers_list_car {
	width: 90%;
	position: absolute;
	bottom: -5%;
	right: 5%;
}
.teams_list_car {
	width: 30%;
	position: absolute;
	bottom: 2%;
	right: 2%;
	max-width: 30%;
	max-height: 110%;
}
.drivers_link { 
	text-decoration: none; 
	color: #3d3d3d;
	display: inline;
	position: relative;
	font-family: Prototype;
	margin: auto;
}
.drivers_link:hover::before {
	right: 0;
	z-index: 0;
}
.drivers_link::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	right: 100%;
	bottom: 0px;
	background-color: #3d3d3d;
	height: 2px;
	transition-property: right;
	transition-duration: 0.3s;
	transition-timing-function: ease-out;
}