@font-face{font-family:F1;font-display:auto;src:url(/fonts/Formula1-Regular.woff2)
format("woff2"),url(/fonts/Formula1-Regular.woff)
format("woff");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:F1;font-display:auto;src:url(/fonts/Formula1-Italic.woff2)
format("woff2"),url(/fonts/Formula1-Italic.woff)
format("woff");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:F1Bold;font-display:auto;src:url(/fonts/Formula1-Bold.woff2)
format("woff2"),url(/fonts/Formula1-Bold.woff)
format("woff");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:F1Black;font-display:auto;src:url(/fonts/F1-Black.woff2)
format("woff2"),url(/fonts/F1-Black.woff)
format("woff");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:F1Wide;font-display:auto;src:url(/fonts/Formula1-Wide.woff2)
format("woff2"),url(/fonts/Formula1-Wide.woff)
format("woff");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Statistic;font-display:auto;src:url(/fonts/Statistic-Regular.woff2)
format("woff2"),url(/fonts/Statistic-Regular.woff)
format("woff");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:F1YEAR;font-display:auto;src:url(/fonts/F1YEARRegular.woff)
format("woff"),url(/fonts/F1YEARRegular.woff)
format("woff");font-weight:400;font-style:normal;font-display:swap}
@font-face {font-family: 'Titillium Web'; font-weight: 400; src: local('Titillium Web'), local('TitilliumWeb-Regular'), url(https://fonts.gstatic.com/s/titilliumweb/v9/NaPDcZTIAOhVxoMyOr9n_E7ffMfgYyW1bbB6V5u8Ww.woff2) format('woff2');}


:root {
  --color-f1-red: #e10600;
  --color-f1-gray: #9a9a9a;}

body {font-family: F1Bold; margin: 0;}
a {text-decoration: none;}
img:hover {transform: scale(1.2);}
.m_width {max-width: 80vw; margin: 0 auto; padding: 0 20px;}
.m_height {min-height: calc(100vh - 30px - 60px - 90px - 130px);}
.m_sticky {position: sticky; top: 0; z-index: 100;}

.top1 {
	color: var(--color-f1-gray);
	height: 35px;
	display: flex;
	justify-content: space-between;
	background-color: #fff;}
	
.fia {filter: invert(100%);	opacity: 0.45; height: 18px;}

.m_line {
	width: 1px;
	height: 100%;
	background: #000;
	opacity: 0.45;}

.navigation {
	display: flex;
	align-items: center;
	padding: 5px 0;
	column-gap: 15px;}
	
.season_title {font-size: 15px;}

.season_list {
	display: flex;
	align-items: flex-end;
	align-self: end;
	column-gap: 16px;}

.season_item {
	font-family: F1YEAR;
	color: #9a9a9a;
	height: 10px;}
	
.f1tv {height: 15px;}

/*червона полоса*/
.top2 {
	background-color: var(--color-f1-red);
	box-shadow: 0 5px 10px .2px rgba(0,0,0,0.5);}

.menu_wrapper { 
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: 70px;}

.mylogo {width: 130px; transition: opacity 0.3s;}
.mylogo:hover {opacity: 0.8;}

.menu {height: 100%;}

.menu_item {
	display: inline-flex;
	align-items: center;
	font-size: 15px;
	height: 100%;
	color: #fff;
	padding: 0 1vw;
	transition: background-color 0.3s;}
.menu_item:hover {background-color: #000;}



/* А Н О Н С */
.anons_wrapper {
	height: 110px;
	background-color: #000;
}

.anons {
	height: 100%;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-content: center;}
.anons a {color: #fff;}

.map_wrapper {
	display: block;
	text-decoration: none;
	text-align: center;
	transition: opacity 0.3s;}

.map_wrapper:hover {opacity: 0.8;}

.anons_text {
	color: #fff;
	line-height: 15px;
	font-size: 16px;
	margin-bottom: 5px;}

.trasa_wrapper {
	display: flex;
	align-items: center;
	column-gap: 10px;}

.trasa {
	height: 65px;
	border-top: solid 2px #38383f;
	border-right: solid 2px #38383f;
	border-top-right-radius: 10px;}

.trasa_name_wrapper {
	height: 65px;
	display: flex;
	align-items: center;
	border-top: solid 2px #38383f;
	border-right: solid 2px #38383f;
	border-top-right-radius: 10px;
	column-gap: 10px;
	padding-right: 10px;}

.trasa_name {height: 15px; font-size: 25px;}

.racest {
	color: #fff;
	display: flex;
	height: 100%;
	justify-content: center;
	align-items: center;
	font-size: 25px;}
	
.god {font-family: F1YEAR;}

	
/* К О Н Т Е Н Т */

.content {
	float: left;
	margin-left: 8vw;
	margin-top: 1vw;
	width: 60.85vw;}
	
.container {
	display: flex;
	padding: 20px 0;}
	
.cont_news {
	display: grid;
	/* Якщо треба збільшити кількість елементів в новостній стрічці зміни 4 на іншу кількість */
	grid-template-columns: repeat(4, 1fr);
	font-family: F1Bold;
	gap: 14px;
	max-width: 1200px;
	margin: 0 auto;}

.top_news {box-sizing: border-box;
	grid-area: 1 / 1 / 3 / 3;
	border-top: solid 7px var(--color-f1-red);
	border-right: solid 7px var(--color-f1-red);
	border-bottom: solid 7px var(--color-f1-red);
	border-radius: 10px;}

.news {box-sizing: border-box;
	border-bottom: solid 1px var(--color-f1-gray);
	border-right: solid 1px var(--color-f1-gray);
	border-left: solid 1px var(--color-f1-gray);
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;}

.top_news,
.news {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1;
	width: 100%;
	height: 100%;}

.tnews {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	height: 100%;
	width: 100%;}

.top_news .tnews{
	justify-content: center;
	flex-direction: column-reverse;}

.top_news .tnews p{
	line-height: 25px;
	font-size: 20px;
	font-weight: 700;
	justify-content: center;
	flex-direction: column-reverse;
}

a:hover.tnews p{color: var(--color-f1-red);}

.img_news {
	flex-shrink: 0;
	height: 70%;
	width: 100%;
	object-fit: cover;}

.text_news {
	padding: 7px 10px;
	text-align: center;
	max-width: 90%;}

.text_news p{
	color: #000;
	line-height: 18px;
	font-size: 14px;
	font-family: F1;
	display: -webkit-box;
	-webkit-line-clamp: 4; /* number of lines to show */
	line-clamp: 4; 
	-webkit-box-orient: vertical;
	overflow: hidden;}

.news_data {
	font-family: Statistic;
	color: #fff;
	background: var(--color-f1-gray);
	position: absolute;
	bottom: -1px;
	right: 0;
	line-height: 7px;
	font-size: 6px;
	padding: 2px 5px;}
.news_text .news_data {font-size: 7px}
.top_news .news_data {background: var(--color-f1-red); bottom: -2px;}

.news_cont {
	font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
	float: left;
	width: 46vw;
	min-width: 560px;
	text-align: center;
	margin-top: 1vw;
	margin-left: 4vw;}

h1 {font-family: F1Bold;
	line-height: 22px;
	font-size: 19px;
	margin: 18px 0;}
	
.news_blok {
	width: 45vw;
	border-top: solid 0.5vw var(--color-f1-red);
	border-right: solid 0.5vw var(--color-f1-red);
	border-top-right-radius: 0.8vw;
	border-top-left-radius: 0.8vw;}

.news_img {width: 100%;	height: 100%;}

.news_text {
	position: relative;
	text-indent: 1.5vw;
	text-align: justify;
	width: 43vw;
	line-height: 18px;
	font-size: 15px;
	border-bottom: solid 0.5vw var(--color-f1-gray);
	border-right: solid 0.5vw var(--color-f1-gray);
	border-bottom-right-radius: 0.8vw;
	border-bottom-left-radius: 0.8vw;
	padding: 10px 1vw 10px 1vw;
	margin-bottom: 1vw;
}

.news_text p {text-align: justify; padding-top: 8px;}

/* ЛЕВАЯ ПАНЕЛЬ */	

.leftpanel{
	float: left;
	width: 18.7vw;
	height: 100%;
	FONT-SIZE: 0.8vw;
	BACKGROUND: #000;
	border: solid 0px #000;
	border-radius: 0.7vw;
	padding-top: 0.4vw;
	padding-bottom:0.3vw;
	margin-top: 1vw;
	margin-left: 0.7vw;
	color: #fff;
	text-align: center;}
.spisokresult{
	display: flex;
    align-items: center;
	height: 1.7vw;
	BACKGROUND: #fff;
	border: solid 1px #fff;
	border-radius: 0.5vw;
	color: #000;
	margin:0 1px 1px 1px;
	text-align: left;
	font-family:F1Bold;
	FONT-SIZE: 0.7vw;}
.driver {display: flex;
    align-items: center;
	FONT-SIZE: 0.6vw;
	margin-left: 0.6vw;}
.drface {width: 1.65vw; margin-right: 0; text-align: center;}
.drface2 {width: 1.65vw; margin-right: 0; text-align: center; transform: scaleX(-1);}
.logoteam {width: 1.6vw; margin-right: 1vw; text-align: center;}
.drname {width: 5.4vw; text-align: center; font-family:F1Bold;}
.drnambr {width: 1.4vw; margin-left: 1vw; text-align: center;}
.drslem {width: 2vw; text-align: center;}
.result {width: 4vw; font-family: 'Statistic', sans-serif; FONT-SIZE: 0.4vw;  line-height: 0.7vw; font-stretch: condensed; text-align: right;}
.img_gp {height: 0.7vw;}

.dr_spisokresult{
	display: flex;
    align-items: center;
	height: 1.81vw;
	BACKGROUND: #fff;
	border: solid 1px #fff;
	border-radius: 0.5vw;
	color: #000;
	margin:0 1px 1px 1px;
	text-align: left;
	font-family:F1Bold;
	FONT-SIZE: 0.7vw;}
	
/* навигация гонок*/
.navi_map {
	background-color: #000;
	overflow-x: scroll;
	height: 3vw;
	padding: 0.2vw;
	display: flex;
	text-align: center;
	gap: 0.35vw;
}

.navi_block {
	flex-shrink: 0;
	text-align: center;
	font-family: F1;
	border-top: solid 1px #38383f;
	border-right: solid 1px #38383f;
	border-radius: 7px;
	width: 3.74vw;
	padding: 0;}

.navi_block a {
	text-decoration: none;
	color: #fff;
	opacity: 60%;
	font-size: 0.5vw; line-height: 0.1vw;}

.navi_block a:hover {color: #fff; opacity: 100%;}

.navi_name {font-size: 0.4vw; line-height: 0.1vw;}

.navi_fl {
	height: 1vw;
	margin-bottom: 0.3vw;
	border-radius: 5px;
	border: solid 1px #38383f;}
	
/* П О Д В А Л */
.footer_map {
	background-color: #38383f;
	overflow-x: scroll;
	height: 140px;
	padding: 10px;
	display: flex;
	text-align: center;
	gap: 5px;
	margin-top: 10px;}

.foot_block {
	flex-shrink: 0;
	text-align: center;
	font-family: F1;
	border-top: solid 1px var(--color-f1-gray);
	border-right: solid 1px var(--color-f1-gray);
	border-top-right-radius: 7px;
	width: 70px;
	padding: 10px 5px 5px;}

.foot_block a {
	text-decoration: none;
	color: #fff;
	opacity: 60%;
	font-size: 10px;
	line-height: 10px;}

.foot_block a:hover {color: #fff; opacity: 100%;}

.foot_name {font-size: 8px;}

.foot_fl {
	height: 18px;
	margin-bottom: 5px;
	border-radius: 5px;
	border: solid 1px #38383f;}

.foot_trasa {height: 45px;}




.footer_bottom {
	background-color: #000;
	color: #fff;
	font-family: 'Titillium Web', sans-serif;
	padding: 10px 0 50px;}

.footer_menu {
	display: flex;
	column-gap: 30px;
	justify-content: center;
	padding: 10px;
	text-align: center;
	font-size: 12px;
	font-family: F1Bold;}

.footer_menu a:hover {opacity: 0.7;}

.footerspis {height: 8px; color: #fff;}

.footer_line {
	width: 85%;
	margin: 0 auto;
}

.logo_par,
.logo_par_fia {height: 15px;}

.foot_prava {margin: 2px 0;}

.foot_prava,
.foot_mprava {
	color: var(--color-f1-gray);
	line-height: 10px;
	font-size: 10px;}

.foot_mprava {text-align: center;}


@media (max-width: 1023px) {
	.m_width {max-width: 95vw;}
	.cont_news {
		grid-template-columns: repeat(3, 1fr);
		margin: 0 22px;}
	.mylogo {width: 120px;}
	.menu_item{padding: 0 14px;	font-size: 9px;}
	.news_cont {width: 88vw; margin: 15px;}
	.news_blok {width: 68vw;}
	.news_text {width: 66vw;}
	.leftpanel {margin: 15px 15px 0 0;}
	
}

@media (max-width: 765px) {
	.m_width {max-width: 98vw; padding: 0 10px;}
	
	.top1 {height: 20px;}
	
	.season_title {font-size: 7px;}
    .season_item {height: 5px; font-size: 7px;}
	.navigation {gap: 5px;}

	.fia{height: 10px;}

	.f1tv {height: 10px;}

	.menu_wrapper {height: 30px;}

	.mylogo {width: 48px;}

	.menu_item{padding: 0 5px; font-size: 6px;	}

	.img_menu {	height: 6px;}

	.anons_wrapper {height: 60px;}

	.trasa_name_wrapper,
	.trasa {height: 30px;}

	.trasa_name {height: 5px; font-size: 12px;}

	.racest {font-size: 16px;}

	.anons {grid-template-columns: 0 auto 1fr;	}
	.anons_text {line-height: 10px;	font-size: 8px;}

	.top_news .tnews p {font-size: 14px; line-height: 17px;}
	.news .tnews p {font-size: 9px; line-height: 11px;}

	.cont_news {grid-template-columns: repeat(2, 1fr); margin: 0 12px;}

	.leftpanel {display: none;}
	.news_cont {min-width: 320px; margin: 15px auto;}
	.news_blok {width: 86vw;}
	.news_text {width: 84vw; line-height: 15px; font-size: 12px;}
.news_text .news_data, .news_data {font-size: 0.8vw; line-height: 1.1vw; padding: 1px 2px;}
	h1 {line-height: 16px; font-size: 13px;}

	.footer_menu {font-size: 7px; column-gap: 11px; padding: 10px 5px;}
	
	.foot_prava {text-align: center;}
}