/* ----------------------------------------------------------------------------- */
/** GLOBAL **/
/* ----------------------------------------------------------------------------- */
/**FONT**/
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i&display=swap');

@font-face {
    font-family: "bmw rg";
    src: url("fonts/bmwrg.ttf") format("ttf"),
        url("fonts/bmwrg.woff") format("woff");
}

@font-face {
    font-family: "bmw lt";
    src: url("fonts/bmwlt.ttf") format("ttf"),
        url("fonts/bmwlt.woff") format("woff");
}

:root :where(a:where(:not(.wp-block-navigation))),
:root :where(a:where(:not(.wp-element-button))) {
    text-decoration: initial;
}

body {
    font-family: "Open Sans", sans-serif;
    color: #212529;
}

body,
html {
    overflow-x: hidden;
}

body.no-scroll,
html.no-scroll {
    overflow: hidden;
}

*:focus {
    outline: none;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'bmw rg';
}

a {
    transition: 0.3s;
    color: #fe0000;
}

a,
a:hover {
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
    color: #212529;
}

.wp-block-separator {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

body:not(.home) .main-content {
    padding-top: 150px;
    min-height: calc(100vh - 41px);
}

.single-post h1 {
    margin-bottom: 20px;
    font-family: 'bmw rg';
}

.single-races h1 {
    font-family: 'bmw rg';
    margin-bottom: 0;
}

.single-racers .img-wrap {
    overflow: hidden;
    background-image: url(../images/background-racer.jpg);
    background-size: cover;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.single-racers .etapes {
    margin-bottom: 40px;
}

.single-racers .step {
    padding: 0px 0px 40px 20px;
    border-left: 2px solid #000;
    position: relative;
    font-size: 18px;
    font-family: 'bmw rg';
}

.single-racers .step:last-child {
    padding: 0px 0px 0px 20px;
}

.single-racers .step:after {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    left: 0;
    top: 0;
    position: absolute;
    z-index: 1;
    background-color: #fe0000;
    content: "";
    transform: translateX(-60%) translateY(60%);
}

.single-racers h1 {
    margin: 0;
    font-size: 50px;
    font-family: 'bmw rg';
}

.single-racers .age {
    display: block;
    width: 100%;
    font-size: 22px;
    font-family: 'bmw rg';
}

.single-racers .citation {
    padding: 40px;
    margin-top: 50px;
    background-color: #eee;
    position: relative;
    font-family: 'bmw rg';
    font-size: 18px;
    margin-bottom: 60px;
}

.single-racers .citation:after {
    position: absolute;
    top: 0;
    font-family: 'Font Awesome 5 Pro';
    left: 0;
    content: "\f10d";
    font-size: 52px;
    z-index: 1;
    transform: translateX(0%) translateY(-50%);
    opacity: 1;
    color: #fe0000;
}

.single-racers .citation:before {
    position: absolute;
    bottom: 0;
    font-family: 'Font Awesome 5 Pro';
    right: 0;
    content: "\f10e";
    font-size: 52px;
    z-index: 1;
    transform: translateX(0%) translateY(50%);
    opacity: 1;
    color: #fe0000;
}

.races-top-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.single-races .races-info {
    text-align: right;
    font-size: 18px;
}

.single-races span.teaser {
    font-size: 18px;
}

.single-races span.location {
    display: block;
}

.single-races span.date {
    font-size: 20px;
    color: #fe0000;
    text-transform: uppercase;
    font-family: 'bmw rg';
}

.single-races span.location img {
    width: 15px;
    display: inline-block;
    margin: 0;
    margin-bottom: 2px;
}

.single-post .img-single-post,
.single-races .img-single-post {
    background-color: rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.single-post .img-single-post img,
.single-races .img-single-post img {
    max-height: 500px;
    width: auto;
}

.single-racers .img-single-post {

}

.home .main-content {
    padding: 0;
}

.home.main-content {
    padding-bottom: 100px;
}

.btn {
    color: #fff;
    background-color: #32373c;
    border-radius: 9999px;
    box-shadow: none;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
    overflow-wrap: break-word;
    box-sizing: border-box;
    border: none;
}

.is-type-video .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.2%;
    height: 0;
    overflow: hidden;
}

.is-type-video .wp-block-embed__wrapper iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.wp-block-image.is-style-width-100 img {
    width: 100%;
    height: auto;
}

.wp-block-image.is-style-width-50 img {
    width: 50%;
    height: auto;
}

/* ----------------------------------------------------------------------------- */
/** MENU **/
/* ----------------------------------------------------------------------------- */
#website-menu {
    transition: all 0.3s ease;
    width: 100%;
    position: fixed;
    background: transparent;
    padding: 20px 30px;
    z-index: 100;
}

#website-menu.sticky,
body:not(.home) #website-menu {
    box-shadow: 0 2px 8px 0 rgb(0 0 0 / 6%);
    background: #fff;
}

.menu-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.logo-area {
    z-index: 1;
}

.logo-area img {
    width: 200px;
    height: auto;
}

#website-menu.sticky .logo-area img,
body:not(.home) .logo-area img {
    content: url(../images/Dimab_Logo_Ecurie_Noir.png);
}

.menus-area {
    display: flex;
    align-items: center;
}

.search-content {
    position: relative;
    z-index: 10;
}

.search-content .search-area {
    position: absolute;
    display: none;
    transition: all 0.3s ease;
    right: -100%;
    opacity: 0;
    top: 50%;
    transform: translateY(-50%);
}

.search-content .search-area .main-search {
    display: flex;
}

.search-content .search-area .main-search {
    box-shadow: 0 19px 60px rgb(0 0 0 / 10%), 0 15px 60px rgb(0 0 0 / 10%);
}

.search-content .search-area .main-search input[type="text"] {
    border-bottom-left-radius: 100%;
    border-top-left-radius: 100%;
    border: none;
    padding: 15px 20px;
    line-height: 1;
}

.search-content .search-area .main-search .search-send {
    border: none;
    background: #fff;
    padding: 0 15px 0 0;
}

.search-content .search-area.active {
    display: block;
}

.search-content .search-area.show {
    opacity: 1;
    right: -15px;
}

.search-content .fa-times {
    display: none;
}

.search-send {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.main-menu-inner {
    padding: 0px;
    margin-bottom: 0px;
}

.main-menu-inner ul {
    padding: 0;
    margin: 0;
}

.main-menu-inner li {
    list-style-type: none;
    display: inline-block;
    margin-right: 30px;
    position: relative;
}

.main-menu-inner li:last-child {
    margin-right: 0;
}

.main-menu-inner li a {
    font-size: 22px;
    color: #fff;
    transition: all 0.3s ease;
    font-family: 'bmw lt';
}

.main-menu-inner li a:after {
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -5px;
    left: 0;
    content: "";
    z-index: 1;
    background-color: #fe0000;
    transition: 0.3s ease;
}

.main-menu-inner li a:hover:after {
    width: 100%;
}

#website-menu.sticky .main-menu-inner li a,
body:not(.home) .main-menu-inner li a {
    color: #212529;
}

.main-menu-inner li a:hover,
.main-menu-inner li.current_page_item > a,
.main-menu-inner li.current_page_ancestor > a {
    color: #fff;
    text-decoration: none;
}

.main-menu-inner li .sub-menu {
    position: absolute;
    top: calc(100% + 10px);
    background: #fff;
    left: 0;
    z-index: 1;
    padding: 20px;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    transform: translateY(20px);
    box-shadow: 0 2px 8px 0 rgb(0 0 0 / 6%);
}

.main-menu-inner li.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}

.main-menu-inner li .sub-menu li {
    margin-bottom: 10px;
}

.main-menu-inner li .sub-menu li:last-child {
    margin-bottom: 0px;
}

.is-style-section {
    padding: 100px 0;
}

.home h2 {
    font-size: 60px;
    margin-bottom: 40px;
    font-family: 'bmw rg';
    display: inline-block;
    position: relative;
}

.col-intro {
    padding: 40px;
    margin-left: -100px;
    background-color: #fff;
    box-shadow: 0 19px 60px rgb(0 0 0 / 10%), 0 15px 60px rgb(0 0 0 / 10%);
}

.col-intro h3 {
    margin-bottom: 20px;
    font-size: 22px;
}

#news h2:after,
#races h2:after,
#team h2:after {
    position: absolute;
    background-color: #fe0000;
    content: "";
    width: 75px;
    height: 5px;
    right: -20px;
    top: 50%;
    transform: translateX(100%) translateY(50%);
}

/* ----------------------------------------------------------------------------- */
/** NEWS **/
/* ----------------------------------------------------------------------------- */

#news {
    margin-top: -170px;
    z-index: 20;
    position: relative;
    padding-top: 0;
    scroll-margin-top: 150px;
}

#news h2 {
    color: #fff;
}

#news .wp-element-button {
    background-color: transparent;
    padding: 0;
    color: #fff;
    font-size: 22px;
    position: relative;
    margin-bottom: 40px;
}

#news .wp-element-button:hover:after {
    width: 100%;
}

#news .wp-element-button:after {
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -5px;
    left: 0;
    content: "";
    z-index: 1;
    background-color: #fe0000;
    transition: 0.3s ease;
}

/* ----------------------------------------------------------------------------- */
/** SEARCH PAGE **/
/* ----------------------------------------------------------------------------- */

.search-item {
    color: #34424c;
    padding: 30px;
    background-color: #f7f7f7;
    border-radius: 2px;
    transition: 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: calc(100% - 30px);
    margin-bottom: 30px;
}

.search-item .top-content {
    position: relative;
    display: flex;
    align-items: flex-start;
}

.search-item:hover .search-item-type {
    background-color: #fff;
    color: #34424c;
}
.search-item .img-content {
    width: 150px;
    min-width: 150px;
    margin-right: 10px;
}

.search-item .img-content img {
    width: 100%;
    height: auto;
}

.search-item .text-content {
    padding-top: 10px;
}
.search-item p {
    margin-top: 5px !important;
}

.search-item .search-item-type {
    /*position:absolute;
	top:30px;
	right:30px;
	z-index:1;*/
    padding: 5px 10px;
    background-color: rgba(214, 218, 220, 0.7);
    font-size: 13px;
    color: rgb(52, 66, 76) !important;
    transition: color 0.25s ease, background-color 0.25s ease;
    display: inline-block;
}

.search-item .search-term {
    color: #21b894;
    font-weight: 800;
    transition: 0.3s;
}

.search-item .text-content {
    padding-top: 30px;
}

.search-item:hover {
    background-color: #34424c;
    color: #fff;
    text-decoration: none;
}

.search-item:hover .search-term {
    color: #fff;
}

/* ----------------------------------------------------------------------------- */
/** SLIDER **/
/* ----------------------------------------------------------------------------- */

.slider {
    position: relative;
}

.slider-load .slide {
    position: relative;
    height: 60vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    display: flex;
}

.slider-load .slide:after {
    background: linear-gradient(0deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.75) 80%);
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    content: "";
}

.slider-load .slide .slick-caption {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    z-index: 10;
    font-family: 'bmw lt';
    flex-direction: column;
}

.slider-load .slide .slick-caption img {
    width: 550px;
    height: auto;
}

.slider-load .slide .slick-caption .slick-caption-inner {
    margin-bottom: 0px;
}

.slider-load .slide .slick-caption h1 {
    font-size: 100px;
    margin: 0;
    line-height: 100px;
    font-family: 'bmw rg';
}

.slider-load .slide .slick-caption h2 {
    font-size: 100px;
    font-family: 'bmw lt';
    margin: 0;
}

.slider-load .slide .slick-caption p {
    font-size: 34px;
    margin: 0;
    padding: 0;
}

.slider-load .slide a.btn {
    background-color: #fe0000;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 18px;
    margin-top: 40px;
}

.slider-load .slide a.btn:hover {
    color: #212529;
    background-color: #fff;
}

.home video {
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.slick-prev,
.slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
    z-index: 1;
}
.slick-prev:before,
.slick-next:before {
    font-weight: 400;
    font-family: "Font Awesome 5 Pro";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-size: 50px;
    line-height: 1;
    opacity: 0.75;
    color: white;
}
.slick-prev {
    left: 30px;
}
.slick-prev:before {
    content: "\f104";
}
.slick-next {
    right: 30px;
}
.slick-next:before {
    content: "\f105";
}

/* ----------------------------------------------------------------------------- */
/** GALLERY **/
/* ----------------------------------------------------------------------------- */
.gallery {
    margin-bottom: 50px;
}
.lightgallery {
    margin: 0 -5px;
}
.grid-item {
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 10px;
}
.lightgallery .gallery-item {
    position: relative;
    display: block;
}
.grid-item img {
    width: 100%;
    height: auto;
}

.lightgallery .gallery-item .gallery-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.6s;
    background: #46b2a8;
}
.lightgallery .gallery-item:after {
    content: "\f002";
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-size: 38px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: 0.6s;
}
.lightgallery .gallery-item:hover .gallery-overlay {
    opacity: 0.55;
    visibility: visible;
}
.lightgallery .gallery-item:hover:after {
    opacity: 1;
    visibility: visible;
}

/* ----------------------------------------------------------------------------- */
/** RACES **/
/* ----------------------------------------------------------------------------- */

#races {
    position: relative;
    scroll-margin-top: 50px;
}

#races p {
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
}

#races h2 {
    color: #fff;
    font-size: 60px;
}

.page-id-653 .main-content {
    padding-top: 110px!important;
}

#races .btn {
    color: #212529;
    font-size: 16px;
}

#races:after {
    position: absolute;
    height: 100%;
    background: url(../images/pexels-gustavo-salazar.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    width: 100vw;
    z-index: -2;
    content: "";
    top: 0;
    left: calc(0px - ((100vw - 100%) / 2));
}

#races:before {
    position: absolute;
    height: 100%;
    background: linear-gradient(180deg, rgba(33,37,41,1) 0%, rgba(33,37,41,0.5) 100%);
    width: 100vw;
    z-index: -1;
    content: "";
    top: 0;
    left: calc(0px - ((100vw - 100%) / 2));
}

.slider-races {
    width: calc(100vw - ((100vw - 1440px) / 2));
}

.slider-races a {
    padding: 60px 40px;
    display: inline-block;
    width: 100%;
    height: 100%;
    color: #fff;
    transition: 0.3s ease;
}

.slider-races .slide {
    background-color: rgba(33, 37, 41, 1);
    transition: 0.3s ease;
    border-radius: 10px;
    margin-right: 30px;
    height: inherit;
}

.slider-races .slick-track {
    display: flex!important;
    margin: 0;
}

.slider-races .slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slider-races .title-race {
    font-size: 26px;
    margin-bottom: 20px;
    font-family: 'bmw rg';
    font-weight: bold;
}

.slider-races .race-location {
    padding-bottom: 20px;
    margin: 0;
}

.slider-races .race-date {
    margin: 0;
    font-weight: bold;
}

.slider-races .race-teaser {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 0;
    opacity: 0.6;
}

.slider-races .race-flag {
    width: 15px;
    display: inline-block;
    margin: 0;
    margin-bottom: 2px;
}

.slider-races img {
    width: 150px;
    height: auto;
    display: block;
    margin-bottom: 40px;
}

.slider-races .slick-prev {
    position: absolute;
    top: -85px;
    left: calc(80vw - 60px);
    right: inherit;
    background-color: transparent;
    border: solid 2px #fff;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    transform: translateX(-50%) translateY(-25%);
    transition: 0.3s ease;
}

.slider-races .slick-slide:not(.slick-active) {
    filter: grayscale(0.75);
}

.slider-races .slick-next {
    position: absolute;
    top: -85px;
    left: calc(80vw);
    right: inherit;
    background-color: transparent;
    border: solid 2px #fff;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    transform: translateX(-50%) translateY(-25%);
    transition: 0.3s ease;
}

.slider-races .slick-prev:hover,
.slider-races .slick-next:hover {
    background-color: #fff;
}

.slider-races .slick-prev:before,
.slider-races .slick-next:before {
    font-size: 30px!important;
    color: #fff!important;
}

.slider-races .slick-prev:hover:before,
.slider-races .slick-next:hover:before {
    color: #212529!important;
}

.slider-races .btn {
    margin-top: 30px;
    padding: 8px 16px;
    border-radius: 10px;
    background-color: #fff;
    color: #212529;
    font-size: 16px;
    transition: 0.3s ease;
}

.wp-element-button,
.wp-block-button__link {
    padding: 8px 16px;
    border-radius: 10px;
    background-color: #fff;
    color: #212529;
    font-size: 16px;
    transition: 0.3s ease;
}

.single-races .wp-block-button__link {
    background-color: #fe0000;
    color: #fff;
}

.slider-races .slide:hover .btn {
    background-color: #fe0000;
    color: #fff;
}

.single-races .wp-block-button__link:hover {
    background-color: #212529;
    color: #fff;
}

.wp-element-button:hover,
.wp-block-button__link:hover {
    background-color: #fe0000;
    color: #fff;
}

/* ----------------------------------------------------------------------------- */
/** TEAM **/
/* ----------------------------------------------------------------------------- */

#team {
    position: relative;
    scroll-margin-top: 50px;
}

#team .wp-block-image {
    margin: 0;
}

#team .wp-block-image img,
.team-img img {
    border: 2px solid #fff;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.racer-card {
    border: 2px solid #fff;
    position: relative;
}

.racer-card:after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    background: linear-gradient(179deg, rgba(33,37,41,0.0) 0, rgba(33,37,41,1) 100%);
    height: 60%;
    width: 100%;
}

.racer-card .btn {
    transition: 0.3s ease;
}

.racer-card:hover .btn {
    background-color: #fe0000;
}

.racer-card .racer-card-img {
    overflow: hidden;
    background-image: url(../images/background-racer.jpg);
    background-size: cover;
    height: 450px;
    display: flex;
    justify-content: center;
}

.racer-card .racer-card-img img {
    transition: 0.3s ease;
    display: flex;
    width: 100%;
    height: auto;
    transform: scale(1);
    object-fit: cover;
}

.racer-card .racer-card-content {
    transition: 0.3s ease;
    position: absolute;
    bottom: 20px;
    left: 30px;
    z-index: 1;
}

.racer-card .racer-card-content h3 {
    font-size: 32px;
    font-family: 'bmw rg';
    color: #fff;
    font-weight: 800;
    transition: 0.3s ease;
}

.racer-card .racer-card-content .racer-number {
    font-size: 34px;
    font-family: 'bmw rg';
    margin-bottom: 10px;
    color: #fe0000;
    display: none;
}

.racer-card:hover .racer-card-img img {
    transform: scale(1.05);
}

.racer-card:hover .racer-card-content h3 {
    color: #fff;
}

/* ----------------------------------------------------------------------------- */
/** CONTACT **/
/* ----------------------------------------------------------------------------- */

#contact {
    position: relative;
    text-align: center;
    padding: 50px 0;
    scroll-margin-top: 50px;
}

#contact:after {
        position: absolute;
        height: 100%;
        background: #eeeeee;
        width: 100vw;
        z-index: -2;
        content: "";
        top: 0;
        left: calc(0px - ((100vw - 100%) / 2));
}

#contact h2 {
    color: #212529;
    font-size: 25px;
    font-family: 'bmw lt';
}

#contact a {
    color: #212529;
    display: inline-block;
    font-size: 40px;
    font-family: 'bmw rg';
    opacity: 0.3;
    transition: 0.3s ease;
}

#contact a:hover {
    opacity: 1;
}

/* ----------------------------------------------------------------------------- */
/** ACCORDION **/
/* ----------------------------------------------------------------------------- */
.accordions {
    margin-bottom: 50px;
}
.accordion-item {
    background: #eee;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}
.accordion-item .accordion-header h1,
.accordion-item .accordion-header h2,
.accordion-item .accordion-header h3,
.accordion-item .accordion-header h4,
.accordion-item .accordion-header h5 {
    font-size: 20px;
    font-weight: 500;
    color: #585756;
    margin: 0px;
    padding: 0px;
    text-align: left;
}
.accordion-item .accordion-header {
    padding: 37px 94px 37px 37px;
    display: block;
    position: relative;
    transition: 0.3s;
    transition-delay: 0.35s;
    cursor: pointer;
}
.accordion-item .accordion-header:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 35px;
    width: 22px;
    height: 2px;
    background: #32373c;
    transform: translateY(-50%);
    transition: 0.3s;
}
.accordion-item .accordion-header:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 45px;
    width: 2px;
    height: 22px;
    background: #32373c;
    transform: translateY(-50%);
    transition: 0.3s;
}
.accordion-item .accordion-header.active:before {
    transform: translateY(-50%);
    height: 0px;
}
.accordion-item .accordion-content {
    padding: 10px 37px 25px 37px;
    display: none;
}
.accordion-item .accordion-content p:last-child {
    margin-bottom: 0px !important;
}
.accordion-item.active,
.accordion-item:hover {
    background: #32373c;
}
.accordion-item.active .accordion-header h1,
.accordion-item.active .accordion-header h2,
.accordion-item.active .accordion-header h3,
.accordion-item.active .accordion-header h4,
.accordion-item.active .accordion-header h5,
.accordion-item:hover .accordion-header h1,
.accordion-item:hover .accordion-header h2,
.accordion-item:hover .accordion-header h3,
.accordion-item:hover .accordion-header h4,
.accordion-item:hover .accordion-header h5,
.accordion-item.active .accordion-content p,
.accordion-item.active .accordion-content,
.accordion-item:hover .accordion-content p,
.accordion-item:hover .accordion-content {
    color: #fff;
}
.accordion-item.active .accordion-header:after,
.accordion-item:hover .accordion-header:after {
    background: #fff;
}
.accordion-item.active .accordion-header:before,
.accordion-item:hover .accordion-header:before {
    background: #fff;
}

/* ----------------------------------------------------------------------------- */
/** TABS **/
/* ----------------------------------------------------------------------------- */
.tabs {
    margin-bottom: 50px;
}
.tabs-nav ul {
    padding: 0px;
}
.tabs-nav ul li {
    display: inline-block;
    list-style-type: none;
    padding: 6px 12px 4px 12px;
    margin-right: 15px;
    background: #eee;
    transition: all 0.3s ease;
    border-radius: 5px;
    letter-spacing: 1px;
    cursor: pointer;
}
.tabs-nav ul li:hover,
.tabs-nav ul li.active {
    background: #32373c;
    color: #fff;
}
.tabs-content .tab {
    display: none;
}

.tabs-content .tab.active {
    display: block;
}

/* ----------------------------------------------------------------------------- */
/** BOX COLOR **/
/* ----------------------------------------------------------------------------- */
.is-style-box-color {
    padding: 40px 45px 40px 48px;
    margin-bottom: 40px;
    border: 5px solid transparent;
}

.is-style-box-color.has-blue-background-color {
    background: #46b2a8;
    color: #fff;
}

/* ----------------------------------------------------------------------------- */
/** POSTS LIST **/
/* ----------------------------------------------------------------------------- */
.posts-by-category {
    margin-bottom: 50px;
}

.posts-by-category-list > a {
    margin-bottom: 20px;
}

.card {
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 19px 60px rgb(0 0 0 / 10%), 0 15px 60px rgb(0 0 0 / 10%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #3e3e3e;
}
.card .img-wrap img {
    max-width: 100%;
    height: auto;
}
.card .post-content {
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height: 100%;
    transition: 0.3s;
}
.card h3 {
    margin-bottom: 10px !important;
    padding: 0;
}
.card .categories .category {
    color: #fff;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    display: inline-block;
    margin-right: 5px;
    background: #32373c;
    padding: 2px 10px;
    border-radius: 5px;
    transition: 0.3s;
}
.card:hover .post-content {
    background: #32373c;
    color: #fff;
}
.card:hover .categories .category {
    color: #32373c;
    background: #fff;
}

/* ----------------------------------------------------------------------------- */
/** TABLE **/
/* ----------------------------------------------------------------------------- */

table {
    width: 100%;
    border: 0;
}

table tr {
    background: #fafafa;
    border-bottom: 0;
}

table tr:nth-child(even) {
    background: transparent;
}

table tr td {
    border: 0;
    padding: 19px 25px 21px 25px;
}

table tr td:first-of-type {
    padding-left: 35px;
}

table tr td a {
    color: #353b40;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    display: inline;
    box-shadow: inset 0px -1px 0px 0px #46b2a8;
    padding: 0px 0px 3px 0px;
}

table tr td a:after {
    display: none;
}

table tr td a:hover {
    color: #46b2a8;
    text-decoration: none;
}

table p {
    margin-bottom: 0px;
}

.wp-block-table {
    scrollbar-width: thin;
    scrollbar-color: #46b2a8 #d2dce1;
    margin-bottom: 60px;
}

.wp-block-table::-webkit-scrollbar-track {
    background-color: #d2dce1;
}

.wp-block-table::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    background-color: #d2dce1;
}

.wp-block-table::-webkit-scrollbar-thumb {
    background-color: #46b2a8;
}

/* ----------------------------------------------------------------------------- */
/** BLOCKQUOTE **/
/* ----------------------------------------------------------------------------- */

blockquote {
    border-left: 3px solid #46b2a8;
    margin: 0px;
    margin-bottom: 40px;
    padding: 9px 0px 5px 34px;
}

blockquote p:first-of-type {
    font-size: 24px;
    font-style: italic;
    line-height: normal;
    font-style: italic;
    margin-bottom: 15px;
}

blockquote p + * {
    font-size: 18px;
    padding-left: 25px;
    position: relative;
    margin-bottom: 0px;
    font-style: normal;
}

blockquote p + *:before {
    content: "";
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 1px;
    background-color: #252626;
}

/* ----------------------------------------------------------------------------- */
/** FORM **/
/* ----------------------------------------------------------------------------- */

input[type="checkbox"] {
    vertical-align: top;
    border: 1px solid #ccc !important;
    border-radius: 0px !important;
    line-height: 0;
    height: 19px;
    margin-right: 10px !important;
    outline: 0;
    padding: 0 !important;
    position: relative;
    top: 3px;
    text-align: center;
    vertical-align: middle;
    width: 19px !important;
    min-width: 18px;
    -webkit-appearance: none;
    transition: 0.3s;
    background: #fff;
}

.gform_wrapper.gravity-theme .gfield_checkbox label,
.gform_wrapper.gravity-theme .gfield_radio label {
    font-size: 18px;
}

.gform_wrapper.gravity-theme .gfield_label {
    font-size: 22px;
    font-weight: normal;
}

.gform_wrapper.gravity-theme .ginput_container_checkbox,
.gform_wrapper.gravity-theme .ginput_container_radio {
    margin-top: 0;
}

.gform_wrapper .gform_fields.gfield_checkbox li input[type="checkbox"] {
    width: 19px !important;
}

.gform_wrapper .hidden_label input,
.form_body .form_field .hidden_label input {
    margin-top: -9px;
}

.gfield_consent_label {
    display: initial !important;
}

.gfield_visibility_visible {
    margin-bottom: 20px;
}

.gfield_visibility_visible.hidden_label {
    margin-bottom: 0;
}

input[type="checkbox"]:hover {
    border: 1px solid #46b2a8 !important;
}

input[type="checkbox"]:checked {
    background: #46b2a8 !important;
    border: 1px solid #46b2a8 !important;
}

input[type="checkbox"]:checked:before {
    content: "";
    margin: 1px 6px;
    color: #fff;
    float: left;
    display: inline-block;
    transform: rotate(45deg);
    height: 12px;
    width: 6px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
}

input[type="radio"]:checked,
input[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}

.gform_wrapper.gravity-theme .gfield-choice-input {
    top: inherit;
}

input[type="radio"]:checked + label,
input[type="radio"]:not(:checked) + label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
}

input[type="radio"] + label {
    padding-left: 30px;
}

input[type="radio"]:checked + label:before,
input[type="radio"]:not(:checked) + label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0px;
    width: 20px;
    height: 20px;
    border: solid 1px #ccc;
    border-radius: 100%;
    background: #fff;
    transition: 0.3s;
}

input[type="radio"]:disabled + label:before {
    opacity: 0.35;
}

input[type="radio"]:disabled + label {
    cursor: not-allowed;
}

input[type="radio"]:not(:checked):hover + label:before {
    border: 1px solid #46b2a8;
}

input[type="radio"]:checked + label:before {
    border: 1px solid #46b2a8;
}

input[type="radio"]:checked + label:after,
input[type="radio"]:not(:checked) + label:after {
    content: "";
    width: 12px;
    height: 12px;
    background: #46b2a8;
    position: absolute;
    top: 4px;
    left: 4px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

input[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}

input[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.ginput_container_fileupload {
    padding-bottom: 12px;
    border-bottom: solid 1px #cccccc;
    max-width: 335px;
}

.ginput_container_fileupload input[type="file"] {
    font-size: 14px;
    width: 100% !important;
}

select {
    display: none !important;
}

.ui-datepicker-month,
.ui-datepicker-year {
    display: inline-block !important;
    background: transparent;
    border: none;
}

.gform_wrapper .gfield.open label.gfield_label {
    left: 10px !important;
    font-size: 15px !important;
    color: #353b40 !important;
    font-weight: 600 !important;
    letter-spacing: 1px;
}

.dropdown {
    border: none;
    border: 0px;
    color: #353b40;
    box-sizing: border-box;
    background: #fff;
    cursor: pointer;
    display: block;
    outline: none;
    padding: 15px 20px;
    position: relative;
    text-align: left !important;
    transition: all 0.2s ease-in-out;
    user-select: none;
    width: 100%;
    height: 57px;
    font-size: 18px !important;
    border-radius: 0px;
    box-shadow: -5px -5px 60px 0 rgb(255 255 255 / 50%), 5px 5px 60px 0 rgb(205 207 211 / 50%);
}

.gform_wrapper .gfield.open .dropdown {
    background-color: #dee1e1 !important;
}

.variations .dropdown {
    display: none;
}

.dropdown:after {
    content: "\f107";
    font-weight: 400;
    font-family: "Font Awesome 5 Pro";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    display: block;
    pointer-events: none;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    transform-origin: 50% 25%;
    color: #46b2a8;
}

.dropdown.open:after {
    transform: rotate(-180deg);
}

.gform_wrapper .ginput_container span:not(.ginput_price),
.form_body .input_container span:not(.ginput_price) {
    margin-bottom: 0px !important;
}

.dropdown.open .list {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

.dropdown.open .option {
    cursor: pointer;
    margin-bottom: 0px;
}

.dropdown.wide {
    width: 100%;
}

.dropdown.wide .list {
    left: 0 !important;
    right: 0 !important;
}

.dropdown .list {
    box-sizing: border-box;
    transition: all 0.15s cubic-bezier(0.25, 0, 0.25, 1.75), opacity 0.1s linear;
    transform: scale(0.75);
    transform-origin: 50% 0;
    background-color: #fff;
    border-radius: 0px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    min-width: 100%;
    left: 0px;
    z-index: 999;
    top: 100%;
    box-shadow: -5px -5px 60px 0 rgb(255 255 255 / 50%), 5px 5px 60px 0 rgb(205 207 211 / 50%);
}

.dropdown .list:hover .option:not(:hover) {
    background-color: transparent !important;
}

.dropdown .list ul {
    height: auto;
    max-height: 400px;
    overflow: auto;
    padding: 0;
    margin: 0;
}

.dropdown .list ul {
    scrollbar-width: thin;
    scrollbar-color: #46b2a8 #d2dce1;
}

.dropdown .list ul::-webkit-scrollbar-track {
    background-color: #d2dce1;
}

.dropdown .list ul::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    background-color: #d2dce1;
}

.dropdown .list ul::-webkit-scrollbar-thumb {
    background-color: #46b2a8;
}

.dropdown .option {
    cursor: default;
    font-weight: normal;
    color: #353b40;
    outline: none;
    display: block;
    font-size: 18px;
    text-transform: none;
    padding: 12px 19px;
    text-align: left;
    transition: all 0.2s;
}

.dropdown .option:before {
    display: none;
}

.dropdown .option:hover,
.dropdown .option:focus {
    background-color: #fafafa !important;
    color: #353b40;
}

.dropdown .option.selected {
    font-weight: 600;
    color: #353b40;
}

.dropdown .option.selected:focus {
    font-weight: 700;
}

.dropdown:hover {
    border: 0px;
}

.dropdown .current {
    opacity: 1;
    transition: all 0.3s ease;
}
.gfield .dropdown .current {
    opacity: 1;
    transition: all 0.3s ease;
}

.gfield.open .dropdown .current {
    opacity: 1;
}

.gfield.open .dropdown {
    border: 0px;
}

.gform_required_legend {
    display: none;
}

/* ----------------------------------------------------------------------------- */
/** FOOTER **/
/* ----------------------------------------------------------------------------- */
.footer {
    background: #212529;
}

.footer-bottom {
    background: #212529;
    color: #fff;
    padding: 10px 0px;
    display: flex;
    font-size: 14px;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
}

.footer-bottom .menu-footer-bottom ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer-bottom .menu-footer-bottom ul li {
    margin-right: 10px;
    display: inline-block;
}

.footer-bottom p {
    margin-bottom: 0;
}

.footer-bottom a {
    font-weight: bold;
    color: #fff;
}

.footer-bottom a:hover {
    opacity: 0.5;
}

.burger-button {
    cursor: pointer;
    display: none;
    margin-left: 20px;
    transform: translateY(25%);
}

.burger-button span {
    width: 40px;
    height: 4px;
    background: #fff;
    display: block;
    margin: 0 auto 10px;
    transition: all 0.3s ease;
    transform-origin: 20px center;
    border-radius: 5px;
}

.burger-button span:nth-child(2) {
    position: relative;
    right: 0;
    opacity: 1;
}

.burger-button span:nth-child(1) {
    top: 0px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.burger-button span:nth-child(2) {
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.burger-button span:nth-child(3) {
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.burger-button.open span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: -3px;
    left: 8px;
}

.burger-button.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

.burger-button.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 39px;
    left: 8px;
}

/*/ CONTAINER /*/

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl {
    max-width: calc(100% - 100px) !important;
}

@media (min-width: 1440px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1440px !important;
    }

    .slider-races .slick-prev {
        left: inherit;
        right: calc(((100vw - 1440px) / 2) + 60px);
    }

    .slider-races .slick-next {
        right: calc(((100vw - 1440px) / 2));
        left: inherit;
    }
    
}

@media (max-width: 992px) {
    .col-intro {
        margin: 0;
    }
}

@media (max-width: 850px) {
    .main-menu-inner li a {
        font-size: 20px;
    }

    .main-menu-inner li {
        margin-right: 20px;
    }

    .home h2 {
        font-size: 40px;
        margin-bottom: 30px;
    }

    #news .wp-element-button {
        margin-bottom: 30px;
        font-size: 18px;
    }

    .card .post-content .teaser {
        font-size: 14px;
    }

    .logo-area img {
        width: 150px;
    }


}

@media (max-width:767px) {
    .slider-races {
        margin-top: 100px;
    }

    .races-top-content {
        width: 100%;
        display: block;
    }

    .single-races .races-info {
        text-align: left;
        margin-top: 20px;
    }
}

@media (max-width: 650px) {
    .col-intro h3 {
        font-size: 20px;
    }

    body {
        font-size: 16px;
    }

    #races p {
        font-size: 16px;
    }

    .slider-races {
        width: 100%;
    }

    .slider-races .slide {
        margin-right: 0;
    }

    .slider-races a {
        padding: 40px;
    }

    .slider-races img {
        margin-bottom: 20px;
    }

    .racer-card .racer-card-content h3 {
        font-size: 26px;
    }

    .racer-card .racer-card-img {
        height: 400px;
    }

    #contact a {
        font-size: 25px;
    }

    .footer-bottom {
        padding: 5px 0px;
        font-size: 12px;
    }

    #races .btn {
        font-size: 14px;
    }

    #news h2:after,
    #races h2:after,
    #team h2:after {
        width: 35px;
        height: 3px;
    }

    .burger-button {
        display: block;
    }

    .main-menu-outer {
        position: absolute;
        display: flex;
        top: 0;
        width: 100vw;
        left: 0;
        height: 100vh;
        margin: 0;
        padding: 0;
        align-content: center;
        justify-content: center;
        align-items: center;
        background-color: #212529;
        transform: translateY(-150vw);
        opacity: 0;
        transition: 0.5s ease;
    }

    .main-menu-outer.open {
        transform: translateY(0);
        opacity: 1;
    }

    .main-menu-outer ul {
        display: flex;
        flex-direction: column;
        margin: 0;
    }

    .main-menu-outer ul li {
        text-align: center;
        margin: 0;
        padding: 0;
    }

    .main-menu-outer ul li a {
        font-size: 32px;
    }

    #website-menu.sticky.open .logo-area img {
        content: url(../images/Dimab_Logo_Ecurie_blanc.png);
    }

    #website-menu.sticky.open .main-menu-outer ul li a {
        color: #fff;
    }

    #website-menu.sticky .burger-button span {
        background: #212529;
    }

    #website-menu.sticky.open .burger-button span {
        background: #fff;
    }

    body:not(.home) #website-menu.open .main-menu-outer ul li a {
        color: #fff;
    }

    body:not(.home) #website-menu.open .logo-area img  {
        content: url(../images/Dimab_Logo_Ecurie_blanc.png);
    }

    body:not(.home) #website-menu .burger-button span {
        background: #212529;
    }

    body:not(.home) #website-menu.open .burger-button span {
        background: #fff;
    }

    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: calc(100% - 20px)!important;
    }

    .footer-bottom .container {
        display: block;
    }

    .menu-footer-bottom {
        margin-bottom: 5px;
    }

    .menu-footer-bottom,
    .footer-credits {
        width: 100%;
        text-align: center;
    }

    .slider-races .slick-prev {
        left: calc(50% - 30px);
    }

    .slider-races .slick-next {
        left: calc(50% + 30px);
    }
}