﻿@media (max-width: 1400px) {
/*schedule*/
.swiper-slide.f1_program.swiper-slide-active {
    width: 40% !important;
}
.inactive-content, .active-content {
    gap: 10px;
}
/*socials*/
.f1_main_socials {
    max-width: 1100px;
}
}
@media (max-width: 1200px) {
/*curcuit*/
    .f1_races_next {
    right: -92%;
}

.f1_races_prev {
    left: -92%;
}
/*socials*/
.f1_main_socials {
    margin: 0 4rem;
}
.social_arrow_next {
    right: -92%;
}
.social_arrow_prev {
    left: -92%;
}
}
@media (max-width: 992px) {
/*videos*/
.video-list {
   flex-wrap: wrap;
   min-height: auto;
}
#main-video-list {
    width: 100%;
    margin: 0;
    margin-bottom: 10px;
}
.video-list-thum {
    width: 100%;
    position: relative;
}
.f1_vid_swipper .swiper-slide {
    height: 200px;
}
/*latest news*/
.first_article_group {
    width: calc(70% - 7.5px);
}
.second_article_group {
    width: calc(30% - 7.5px);
}
.aside_content {
    width: 100%;
    min-height:200px;
}
.aside_btn {
    top: 80%;
}
/*socials*/
.f1_main_socials {
    margin: 0 2rem;
}
}
@media (max-width: 768px) {
/*schedule*/
.swiper-slide.f1_program.swiper-slide-active {
    width: 50% !important;
}
/*results*/
.results_head_wrapper {
    justify-content: flex-start;
    flex-wrap: wrap;
}
h2.section-title.results-h1 {
    margin-bottom: 1rem;
}
.f1_breadcrumb {
    padding: 0;
}
.driver_info {
    width: calc(45% - 10px);
}
.team_info {
    width: calc(35% - 10px);
}
/*latest news*/
.first_article_group {
    width: 100%;
}
.second_article_group {
    width: 100%;
    flex-direction: row;
}
.f1_article_content {
    width: calc(33.3% - 5px);
}
.f1_content-container h2 {
    font-size: .9rem;
}
.f1_breadcrumb {
    width: 100%;
}
.races_data_cont .team_icon {
    display: none;
}
.races_data_cont .driver_content .team_info {
    display: flex;
}
}
@media (max-width: 576px) { 
.section-title {
    font-size: 2rem;
}
.paddings{
    padding: 0 1rem;
}
/*schedule*/
.swiper-slide.f1_program.swiper-slide-active {
    width: 100% !important;
}
.inactive-content, .active-content {
    border: none;
}
.swiper-slide.f1_program .active-content{
    display:flex!important;
}
.swiper-slide.f1_program .inactive-content{
    display:none!important;
}
.schedule_content {
    border-left: none;
}
/*results*/
.driver_content .team_info {
    display: none;
}
h2.section-title.results-h1 {
    margin-bottom: 0rem;
}
.driver_info {
    width: calc(70% - 7.5px);
}
.points {
    width: calc(30% - 7.5px);
}
.section-title.results-h1:before {
    right: -22%;
    width: 35px;
}
/*latest news*/
.section-title.news-h1:before {
    width: 35px;
}
.section-title.videos-h1:before {
    width: 35px;
}
.first_article_group article:first-child img,
.first_article_group article img {
    max-height: 300px;
}
.first_article_group article:nth-child(n+2) {
    width: 100%;
}
.second_article_group {
    width: 100%;
    flex-wrap: wrap;
}
.f1_article_content {
    width:100%;
}
.f1_article_content img {
    max-height:300px;
}
/*teams*/
.section-title.teams-h1:before {
    width: 35px;
}
.teams_wrapper .team_box {
    width: 100%;
}
/*curcuits*/
.swiper-slide.races-slide {
    gap: 10px;
    flex-direction: column;
}
.races-slide .circuit_info {
    text-align: center;
}
.f1_races_next {
    right: -88%;
}

.f1_races_prev {
    left: -89%;
}
.section-title.circuits-h1:before {
    top: 30%;
    right: -55%;
    width:40px;
}
/*socials*/
.section-title.stories-h1:before {
    width: 35px;
}
.social_arrow_next {
    right: -88%;
}
.social_arrow_prev {
    left: -88%;
}
.races_data_cont .best_time {
    display:none;
}
.races_data_cont .driver_content .team_info * {
    width: calc(100% - 20px);
    margin: auto;
}
.logo_sponsor {
    top: 20px;
}
}
