/*
Theme Name: Districash
Author: La petite boite
Version: 1.0
*/


@import url("bgv3hip.css");
@import url('https://fonts.googleapis.com/css?family=Caveat:400,700');


/** 

COLORS :

jaune : #ffe900;
bleu : #003056;
emeraude : #068587;
orange : #f38626;
mandarine : #f0412c; 

**/

body {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow-x: hidden;
    font-family: "proxima-nova", sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 25px;
}

#message {
    position: relative;
    padding: 10px;
    font-size: 14px;
    background: #ffe901;
    z-index: 10;
}

#message p {
    margin-bottom: 0;
}

img {
    max-width: 100%;
    height: auto;
}

.alignleft {
    float: left;
    margin-right: 2em;
}

.alignright {
    float: right;
    margin-left: 2em;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.gallery {
    margin: 1em 0;
}

.gallery img {
    border: 0 !important;
}

.wp-block-columns {
    width: 100%;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 26px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 16px;
}

h1,
h2 {
    font-weight: 300;
}

h3,
h4,
h5,
strong {
    font-weight: 800;
}

a,
a:hover,
a:active,
a:visited {
    outline: 0;
    color: #000;
    text-decoration: none;
    outline: none;
}

a.link,
a.link.jaune,
a.link.bleu,
a.btn,
a.btn-yellow,
a.btn-back,
a.wp-block-button__link,
.list-articles a {
    text-decoration: none !important;
}

a.link {
    color: #bababa;
    border-bottom: 2px solid #575452;
}

a.link.jaune {
    color: #ffe900;
    border-color: #ffe900;
}

a.link.bleu {
    color: #003056;
    border-color: #003056;
}

a.btn,
button {
    padding: 5px 20px !important;
    border-radius: 0;
    outline: 0 !important;
}

a.btn-yellow,
button.btn-yellow {
    background-color: #ffe900;
}

button.hamburger {
    z-index: 99;
    display: none !important;
}

hr.cale {
    clear: both;
    border: 0;
}

ul {
    padding-left: 0;
    list-style: none;
}

/* Btn burger */

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner:after,
.hamburger.is-active .hamburger-inner:before {
    background-color: #ffe902;
}

a.btn-back {
    position: relative;
    padding-bottom: 5px;
    border-bottom: 1px solid #ffe902;
    color: #FFF;
}

a.btn-back:before {
    content: '←';
    position: absolute;
    left: -22px;
    color: #FFF;
}

a.wp-block-button__link {
    background-color: #ffe902;
    color: #313131;
    font-weight: bold;
}

blockquote {
    margin: 2em 0 2em 1em;
    padding-left: 20px;
    font-family: 'Caveat', sans-serif;
    font-weight: bold;
    font-size: 24px;
    background-repeat: no-repeat;
    background-position: left center;
    background-image: url(../png/mini-pneu-jaune.png);
}

small.error {
    color: #f00 !important;
}

hr.separator {
    border: 3px solid;
    margin: 3em 0;
}

em {
    font-style: italic;
}

.ws-po-box {
    width: 200px;
}

.flex-center {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

/*.container {
    max-width: 1280px;
    margin: 0 auto;
}*/

.visible {
    opacity: 1 !important;
    visibility: visible;
}

#site-overlay,
#loading-overlay {
    z-index: 99;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

#site-overlay {
    display: none;
    background: rgba(95, 95, 94, 0.4196078431372549);
    cursor: pointer;
}

#loading-overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: #fff;
}

fieldset {
    margin-bottom: 2em;
    padding: 20px;
    border: 1px solid #cecece;
}

fieldset legend {
    text-align: center;
    font-weight: 600;
}

span.required {
    font-weight: 600;
    font-size: 20px;
    color: red;
}

.yellow {
    color: #ffe902;
}

.black {
    color: #000;
}

.recaptcha .wpcf7-not-valid-tip {
    text-align: center;
}

/* Spinner */

.lds-dual-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 64px;
    height: 64px;
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 100px;
    height: 100px;
    margin: 1px;
    border-radius: 50%;
    border: 5px solid #fff;
    border-color: #ffe902 transparent #ffe902 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Recaptcha */

.errorRecaptcha {
    display: block;
    margin: 15px auto;
    text-align: center;
    color: red;
    font-size: 12px;
    clear: both;
}

.g-recaptcha > div {
    margin: 0 auto;
}

.g-recaptcha iframe {
    margin: 0;
}

/* Form */

form label.error {
    position: absolute;
    width: 100%;
    bottom: 2em;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 300 !important;
    color: #812c00;
    font-size: 12px;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
    border: none;
    background-color: transparent;
}

.btn-primary.focus,
.btn-primary:focus {
    box-shadow: none !important;
}

#download-file {
    display: none;
    padding: 10px 0;
}

#download-file a {
    padding: 10px;
    font-size: 12px;
    background: #ffe902;
}

.g-recaptcha {
    margin-top: 2em;
}

/* Map SVG */

#Points path {
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.search-agences #Points path {
    fill: #FFF;
}

#Points path:hover {
    cursor: pointer;

}

.ville-active {
    fill: #000;
}

.search-agences #Points path.ville-active {
    fill: #ffe900;
}

form.offres .form-check label {
    font-size: 14px;
    font-weight: 400;
}

#site-wrapper {
    overflow: hidden;
}

/*
** GUTENBERG    
*/

.wp-block-file .wp-block-file__button {
    padding: 0.5em 1em;
    background: #000;
    border-radius: 5px;
}

.wp-block-file .wp-block-file__button::after {
    content: '\F1BC';
    margin-left: 5px;
    font-family: bootstrap-icons !important;
    color: #ffe900;
}

.wp-block-button__link {
    font-size: 16px;
    padding: 10px 15px;
    border-width: 1px !important;
    transition: all .3s ease;
}

.wp-block-button__link:hover {
    background-color: #000 !important;
    color: #fff !important;
}

.wp-block-button__link::after {
    content: '\F138';
    margin-left: 10px;
    font-family: bootstrap-icons !important;
    vertical-align: bottom;
}


/**
** SHARE BUTTONS
**/

.apss-social-share {
    margin-top: 2em;
}

.apss-share-text {
    margin-left: 0;
    margin-bottom: 5px;
}

.apss-theme-6 .apss-single-icon a:before {
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}

/**
 * STORE LOCATOR
 * */

.asl-cont.asl-template-3 .infoBox #style_2 h3,
.asl-cont.asl-template-3 .asl-map .map-image #agile-modal-direction h4,
.asl-cont.asl-template-3 .asl-map .map-image .agile-modal .agile-modal-content .sl-form-group .btn-submit {
    color: #000 !important;
}

.asl-cont.asl-template-3 .infoBox #style_2 a,
.asl-cont.asl-template-3 #p-statelist .addr-loc a {
    border: none;
}

.asl-cont .infoBox #style_2 .asl-btn-full .action {
    display: inline-block;
}

/****************/
/**** HEADER ****/
/****************/

#header,
.news-wrapper .container-fluid  {
    max-width: 1440px;
}

#top-header {
    position: relative;
    padding: 3em 0 2.5em 0;
}


/* SEARCH FORM */

#wrapper--searchfrom {
    position: absolute;
    top: 10px;
    right: 255px;
}

#wrapper--searchfrom form{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#search,
#search:focus {
    height: 35px;
    outline: 0;
    border: 0;
    border-bottom: 2px solid;
}

#search::placeholder {
    color: #000;
}

#searchsubmit {
    width: 30px;
    height: 35px;
    background: none;
    border: 0;
    border-bottom: 2px solid;
    background-image: url(../svg/search.svg);
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;

    transition: border-color .3s ease-in-out;
}

#searchsubmit:hover {
    border-color: #ffe900;
}

#top-header .logo a {
    display: block;
    line-height: 80px;
}

.main-nav {
    height: 100px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex !important;
    -ms-align-items: center;
    align-items: center;
}

#main-menu,
#secondary-menu {
    margin: 0;
}

#main-menu > li,
#secondary-menu li {
    display: inline-block;
    position: relative;
    padding: 5px 10px;
    text-align: center;
}

#main-menu li a {
    font-size: 14px;
}

#main-menu > li.pro-access {
    position: relative;
    padding: 10px 20px;
    background-color: #ffe900;
}

#main-menu > li.pro-access > a {
    position: relative;
    border-bottom: 2px solid;
}

#main-menu > li:not(.pro-access) > a {
    display: block;
    position: relative;
}

#main-menu > li:not(.pro-access) > a::before {
    opacity: 0;
    position: absolute;
    height: 0;
    width: 0;
    left: 50%;
    top: -25px;
    content: '';
    background-color: #ffe900;
    -webkit-transform: rotate(35deg);
    -ms-transform: rotate(35deg);
    transform: rotate(35deg);
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

#top-header #main-menu > li.current-menu-item > a::before,
#top-header #main-menu > li.current-menu-parent > a::before {
    position: absolute;
    opacity: 1;
    height: 25px;
    width: 3px;
    left: 50%;
    top: -25px;
    content: '';
    background-color: #ffe900;
    -webkit-transform: rotate(35deg);
    -ms-transform: rotate(35deg);
    transform: rotate(35deg);
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

#main-menu > li:hover > a::before {
    opacity: 1;
    height: 25px;
    width: 3px;
}

#main-menu > li.pro-access::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100px;
    top: -100px;
    left: 0;
    background: #ffe900;
}

/*
.second-nav {
    overflow: hidden;
}
*/

#secondary-menu {
    text-align: center;
}

body:not(.home) #secondary-menu {
    border-bottom: 10px solid #000;
}

#secondary-menu li {
    position: relative;
    padding: 0;
    margin-right: 3em;
}

#secondary-menu li a {
    display: block;
    padding: 7px 30px;
    font-weight: 800;
    font-size: 16px;
}

#secondary-menu > li::after {
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    width: 5px;
    height: 50px;
    z-index: -1;
    -webkit-transform: rotate(35deg);
    -ms-transform: rotate(35deg);
    transform: rotate(35deg);
    -webkit-transition: all .2s cubic-bezier(.25, .1, .25, 1);
    -o-transition: all .2s cubic-bezier(.25, .1, .25, 1);
    transition: all .2s cubic-bezier(.25, .1, .25, 1);
}

#secondary-menu li:hover::after,
#secondary-menu li.active::after {
    top: -10px;
    height: 60px !important;
}

.menu-item-has-children:hover .sub-menu {
    visibility: visible;
    opacity: 1;
}

.menu-item-has-children .sub-menu {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    width: 220px;
    top: auto;
    z-index: 99;
    line-height: 30px;
    background: #e6e6e6;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.menu-item-has-children .sub-menu li a {
    display: block;
    text-align: left;
    padding: 6px 10px;
    margin: 0;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.menu-item-has-children .sub-menu li a:hover {
    padding-left: 10px;
    border-left: 4px solid #ffe900;
}

/*************
 * CAROUSEL
 * ***********/

#carousel-accueil .carousel-inner,
#carousel-accueil .carousel-item {
    height: 350px;
}

#carousel-accueil img {
    object-fit: cover;
    height: 100%;
}

.carousel {
    overflow: hidden;
}

.carousel h2 {
    font-size: 3em;
}

.carousel-indicators {
    bottom: 0;
    margin: 0;
}

#carousel-accueil .carousel-indicators button {
    width: 25px;
    height: 0px;
    margin-right: 0px;
    -webkit-transform: rotate(35deg);
    -ms-transform: rotate(35deg);
    transform: rotate(300deg);
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.carousel-indicators button:nth-child(1) {
    background-color: #ffe900;
}

.carousel-indicators button:nth-child(2) {
    background-color: #003056;
}

.carousel-indicators button:nth-child(3) {
    background-color: #068587;
}

.carousel-indicators button:nth-child(4) {
    background-color: #f38626;
}

.carousel-indicators button:nth-child(5) {
    background-color: #f0412c;
}

.carousel-caption {
    max-width: 75%;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/****************/
/***** NEWS *****/
/****************/

.news-wrapper,
.main {
    margin-top: 2em;
    padding: 2em 0;
    background-color: #ebebeb;
}

.header-news {
    margin-bottom: 1em;
    overflow: hidden;
}

span.date {
    font-size: 12px;
    color: #808080;
}

.news-wrapper {
    padding-top: 3em;
    padding-bottom: 3em;
}

.news-wrapper .news {
    padding-right: 4em;
}

.header-highlight {
    margin-bottom: 10px;
}

.header-highlight h4,
.header-highlight h5 {
    margin-bottom: 0;
}

.list-article h4 {
    margin-bottom: 0;
}

.news-wrapper .highlight-img {
    min-height: 210px;
    max-height: 210px;
}

.highlight-img {
    min-height: 100%;
    max-height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.highlight-excerpt {
    width: 100%;
    padding: 0.5em 1em 0.5em 1.5em;
}

.news-wrapper .highlight-excerpt {
    padding: 1em 0;
}

.highlight-img a {
    display: block;
    height: 100%;
}

.list-article ul li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
    margin-bottom: 1.5em;
}

.list-article .article-img {
    width: 150px;
    height: 90px;
    max-height: 90px;
    margin-right: 20px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

aside {
    position: relative;
    text-align: center;
}

aside .map-wrapper  {
    padding: 1.8em 2em 2.8em;
    background-color: #ff691a;
    color: #FFF;
}

aside .map-wrapper h2 {
    text-align: left;
}

span.divider {
    display: block;
    width: 213px;
    height: 13px;
    margin: 0 auto;
    margin-bottom: 10px;
    background-image: url(../gif/trait-bulle-carte.gif);
    background-size: contain;
    background-repeat: no-repeat;
}

aside #carousel-agences {
    font-size: 14px;
}

aside #carousel-agences a.mailto {
    color: #FFF;
}

aside .carousel-control-next-icon,
aside .carousel-control-prev-icon {
    width: 24px;
    height: 51px;
}

aside #carousel-agences .carousel-control-prev-icon {
    background-image: url(../png/precedent.png);
}

aside #carousel-agences .carousel-control-next-icon {
    background-image: url(../png/suivant.png);
}

aside #carousel-agences a.link {
    color: #000;
    border-bottom-color: #000;
}

aside form.form-commercial,
aside form.form-commercial .form-group {
    overflow: hidden;

}

aside form.form-commercial {
    margin-top: 2em;
}

aside form.form-commercial label {
    margin-bottom: 0.5em;
}

aside form.form-commercial input {
    float: left;
    height: 50px;
    width: calc(100% - 50px);
    border: 0;
    border-radius: 0;
}

aside form.form-commercial input:focus {
    border-color: transparent;
    box-shadow: none;
}

aside form.form-commercial button {
    float:  left;
    position: relative;
    width: 50px;
    height: 50px;
    padding: 0 !important;
    background-color: #000;
    border: 0;
    border-radius: 0;
    color: #fff;

}

aside form.form-commercial button:hover {
    background-color: #fff;
}

aside form.form-commercial button i {
    position: absolute;
    font-size: 28px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}

aside form.form-commercial button:hover i {
    color: #ff691a;
}

.list-commerciaux-container {
    width: 100%;
    color: #fff;
}

.container-commerciaux {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    content: '';
    position: absolute;
    padding: 2em 1em;
    top: 0;
    left: 12px;
    right: 12px;
    bottom: 0;
    background-color: #3c3c3c;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    overflow-y: auto;
    z-index: 2;
}

.container-commerciaux .close {
    position: absolute;
    top: 15px;
    right: 5px;
    color: #FFF;
    text-shadow: none;
    opacity: 1;
    background: transparent;
    border: 0;
}

.container-commerciaux h3 {
    margin-bottom: 1em;
    color: #fff;
}

.container-commerciaux form .form-group {
    margin-bottom: 5px;
}

.container-commerciaux form input:not(.wpcf7-submit):not(#rgpd_commerciaux) {
    width: 100%;
    height: 40px;
    padding: 5px 10px;
}

.container-commerciaux form a {
    color: #ffe902;
}

.container-commerciaux form input.wpcf7-submit {
    display: block;
    margin: 1em auto 0;
    padding: 10px 30px;
    background-color: #ffe902;
    border-radius: 0;
    color: #000;
}

.container-commerciaux form .wpcf7-spinner {
    margin-top: 1em;
}

.container-commerciaux form.sent .wpcf7-response-output {
    margin-top: 0;
}

.list-commerciaux {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;    
    -ms-flex-pack: center;    
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 2em;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.item-commercial {
    margin-bottom: 2em;
}

.item-commercial a {
    color: #FFF;
}

.item-commercial .thumbnail {
    width: 70px;
    height: 70px;
    margin: 0 auto 10px;
    border-radius: 50px;
    background-image: url('../png/user.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.item-commercial h5 {
    max-width: 200px;
    margin-bottom: 2px;
    font-size: 14px;
}

.item-commercial .list-coord {
    font-size: 14px;
}

/***********************/
/****** NEWSLETTER *****/
/***********************/

.forms-home {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.news-wrapper .wrapper-newsletter {
    padding: 1.8em;
    background-color: #ffe902;
}

.wrapper-newsletter h2 {
    margin-bottom: 1em;
}

.wrapper-newsletter h2::before {
    content: url(../png/newsletter.png);
    float: left;
    margin-right: 15px;
}

.wrapper-newsletter h2 span {
    display: block;
    color: #808080;
    font-size: 22px;
}

.news-wrapper .wrapper-newsletter form a {
    text-decoration: underline;
}

.news-wrapper .wrapper-newsletter form,
.news-wrapper .wrapper-newsletter input[type="email"]  {
    width: 100%;
}

.news-wrapper .wrapper-newsletter input[type="email"],
.news-wrapper .wrapper-newsletter input[type="email"]::placeholder {
    color: #808080;
}

.news-wrapper .wrapper-newsletter form .policy .wpcf7-list-item {
    margin-left: 0;
}

.news-wrapper .wrapper-newsletter input.wpcf7-submit {
    margin-left: auto;
    padding: 10px 30px;
    background-color: #000;
    border-radius: 0;
    color: #fff;
}

.news-wrapper .wrapper-newsletter .g-recaptcha > div {
    margin: 0;
}

/***********************/
/****** SEARCH MAG *****/
/***********************/

.wrapper-search {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
        flex-direction: column;
    height: 100%;
    padding: 1.8em;
    background-image: url(../jpg/fond-particuliers.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.wrapper-search h2 {
    width: 60%;
    margin-bottom: 1em;
    color: #fff;
}

.wrapper-search h2 span {
    display: block;
}

#asl-search h3,
#asl-search .sl-geo-btn {
    display: none;
}

#asl-search .asl-search-cont {
    padding: 0;
}

#asl-search .sl-row {
    flex-wrap: nowrap;
}

#asl-search input,
#asl-btn-search {
    border-radius: 0;
}

#asl-search input {
    font-size: 16px;
}

#asl-btn-search {
    visibility: hidden;
}

#asl-btn-search::after {
content: ' \F138';
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    font-family: bootstrap-icons !important;
    background-color: #ffe902;
    color: #000;
    visibility: visible;
    font-size: 28px;
    line-height: 50px;

    transition: all .3s ease;
}

#asl-btn-search:hover::after {
    background-color: #000;
    color: #fff;
}

.btn-asl.s-direction::before {
    content: '\F2D1';
    display: inline-block;
    padding-right: 5px;
    vertical-align: middle;
    font-family: bootstrap-icons !important;
    color: #000;
}

#asl-search input,
aside form.form-commercial input,
.news-wrapper .wrapper-newsletter input[type="email"] {
    padding: 10px 10px 10px 40px;
    background-image: url(../svg/at.svg);
    background-position: 10px center;
    background-size: 25px;
    background-repeat: no-repeat;
}

#asl-search input,
aside form.form-commercial input {
    background-image: url(../svg/geo-alt.svg);
}


/****************/
/****** CAT *****/
/****************/

.category-wrapper,
.main,
.footer-wrapper {
    padding: 4em 0;
}

.category-wrapper {
    background: #fff;
    text-align: center;
}

.category-wrapper .category ul {
    margin-top: 2em;
}

.category-wrapper .category ul li {
    width: 161px;
    height: 161px;
    margin-right: 3em;
    vertical-align: top;
    border-radius: 50%;
}

.category-wrapper .category li a {
    position: relative;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: flex-end;
    -ms-align-items: center;
    align-items: center;
    height: 100%;
    border-radius: 50%;
}

.category-wrapper .category li a:before {
    content: '';
    position: absolute;
    width: 60%;
    height: 80%;
    background: #FFF;
    border-radius: 50%;
    right: 10px;
    top: 17px;
    bottom: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-transition: all .2s cubic-bezier(.25, .1, .25, 1);
    -o-transition: all .2s cubic-bezier(.25, .1, .25, 1);
    transition: all .2s cubic-bezier(.25, .1, .25, 1);
}

.category-wrapper .category li a h5 {
    max-width: 50%;
    margin-right: 1.5em;
    text-align: right;
    z-index: 20;
}

.category-wrapper .category .bg-pneu:hover h5 {
    visibility: hidden;
}

.category-wrapper .category .bg-pneu:hover a:before {
    width: 87%;
    height: 87%;
    top: 10px;
    border-radius: 50%;
}


/****************/
/***** MAIN *****/
/****************/

.main main {
    padding: 0 3em;
    font-size: 16px;
    line-height: 24px;
}

.carousel-fournisseurs-wrapper {
    margin: 2em 0;
}

#carousel-fournisseurs {
    margin-bottom: 15px;
}

#carousel-fournisseurs .carousel-item {
    width: 100%;
    height: 200px;
    background-color: #FFF;
    background-position: center center;
    background-repeat: no-repeat;
}

.main .content-main {
    padding: 0 6em;
    font-size: 16px;
}

.main .stroke {
    position: relative;
}

.main .stroke::before {
    content: url(../png/trait-gris.png);
    position: absolute;
    width: 45px;
    height: 65px;
    bottom: 0px;
    right: 10px;
}

.main .stroke a.wheels {
    content: '';
    position: absolute;
    width: 29px;
    height: 28px;
    bottom: 0;
    right: 0;
    background-image: url(../png/roue.png);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

/**************/
/**** PAGE ****/
/**************/

.page-default.header-page {
    padding: 2.5em 3em 1em 3em;
}

.page-default.header-text-page {
    margin-left: 30px;
}

.page-default.wrapper-page {
    padding: 3em 0;
    margin-top: 0;
}

.page-default.wrapper-page ul:not(.page-default.wrapper-page #files):not(.list--results):not(.sl-list):not(.sl-list ul) {
    padding-left: 20px;
    list-style: disc;
}

#files {
    text-align: center;
    margin: 3em 0;
}

#files .item-file {
    display: inline-block;
    width: 24%;
    margin-bottom: 2em;
    padding: 0 1.5em;
    vertical-align: top;
    text-align: center;
}

#files .item-file .card-file {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#files .item-file .card-file .content {
    position: relative;
    height: 280px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
            align-items: center;
    padding: 2em 10px;
    margin-bottom: 10px;
    background: rgba(36, 36, 36, 0.8);
    color: #FFF;
    -webkit-box-shadow: 5px 10px 13px 0px rgb(202 202 202 / 75%);
    box-shadow: 5px 10px 13px 0px rgb(202 202 202 / 75%);
}

/*#files .item-file .card-file .content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #767676;
    opacity: 0.6;
    z-index: -1;
}
*/

#files .item-file .card-file .content h3 {
    font-size: 18px;
    font-weight: normal;
    word-break: break-word;
    text-transform: lowercase;
}

#files .item-file .card-file .content h3:first-letter {
    text-transform: uppercase;
}

#files .item-file .card-file .content img {
    width: 100px;
    margin-bottom: 10px;
}

/* PAGINATION */

.pagination .page-numbers {
    padding: 5px 10px;
    background: #646464;
    color: #FFF;
    margin-right: 5px;

    transition: all .3s ease;
}

.pagination .page-numbers:hover {
    background-color: #ffe902;
    color: #000;
}

.pagination .page-numbers.current {
    color: #646464;
    background-color: #ffe902;
}


/***********************/
/**** DOWNLOAD FILE ****/
/***********************/


body.page-id-2950 .content-page {
    max-width: 660px;
    padding: 3em;
    background-color: #fff;
}

body.page-id-2950 .content-page input:not(.wpcf7-submit):not(input[type="checkbox"]) {
    width: 100%;
    height: 50px;
    padding: 5px 1em;
    background-color: #f2f2f2;
}

body.page-id-2950 .content-page .wpcf7-spinner {
    display: block;
    margin: 15px auto 0;
}


/********************/
/**** PAGE INTRO ****/
/********************/

.header-page {
    padding: 3em;
    font-size: 22px;
    line-height: 30px;
}

.header-text-page {
    position: relative;
    padding-right: 2em;
}

.header-text-page:before {
    content: '';
    position: absolute;
    left: -20px;
    top: -10px;
    width: 5px;
    height: 50px;
    -webkit-transform: rotate(35deg);
    -ms-transform: rotate(35deg);
    transform: rotate(35deg);
    background-color: #ffe900;
}


.thumbnail-page img {
    width: 100%;
}

.wrapper-page {
    padding: 6em;
    margin-top: -7em;
    background-color: #f2f2f2;
    font-size: 16px;
}

.content-page h4:before,
.faq-list li p:before {
    content: url('../png/petite-fleche-fine.png');
    width: 27px;
    height: 10px;
    float: left;
    margin-right: 5px;
}

iframe {
    max-width: 100%;
}

.content-page a:not(.wp-block-button__link):not(.wheels):not(.page-numbers):not(.btn):not(.remove-file){
    display: inline;
    border-bottom: 2px solid;
}

.list-keysnumbers li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    line-height: 22px;
    padding: 1em;
    border-bottom: 5px solid #ffe900;
    font-family: 'futura-pt', sans-serif;
}

.list-keysnumbers .picto {
    min-width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
}

.list-keysnumbers li span.description {
    font-size: 26px;
    color: #068587;
}

.list-keysnumbers li:nth-child(2) span.description {
    color: #003056;
}

.list-keysnumbers li:nth-child(3) span.description {
    color: #f0412c;
}

/**************************/
/**** PAGE RECRUTEMENT ****/
/**************************/


.content-page table thead th {
    background: #ffe902;
    border-bottom: 10px solid #f2f2f3;
}

.content-page table td {
    border-bottom: 5px solid #f2f2f3;
}

.content-page table tr:nth-of-type(even) {
    background-color: #fff;
}

.content-page table td a {
    font-weight: 800;
    color: #023056;
}


.empty_offers {
    margin-top: 1em;
    padding: 10px;
    background-color: #fff;
}

/***********************/
/**** SINGLE OFFRES ****/
/***********************/

.wrapper-page.page-offres {
    margin-top: 0;
    background-color: #2d2d2c;
    background-image: url(../gif/pneus-fond-form.gif);
    background-repeat: repeat;
    background-size: contain;
}

article.offres-details,
article.offres-form,
article.mail-success,
.not-found {
    width: 60%;
    margin: 5em auto 0 auto;
    padding: 2em;
}

article.offres-details,
article.mail-success,
.not-found {
    background-color: #fff;
    border-top: 10px solid #ffe902;
}

article.offres-form {
    margin-top: 0;
}

.offres-ref {
    display: block;
    margin-bottom: 1em;
    font-size: 12px;
    color: #575756;
}

.offres-infos {
    display: inline-block;
    padding: 5px 15px;
    background-color: #ffe902;
}

.offres-content {
    margin: 2em 0;
}

.offres-liste {
    padding-left: 15px;
    list-style: disc;
}

.offres-form {
    background-color: #f2f2f2;
}

/* Form offres */

.page-offres form.offres .form-group {
    margin-bottom: 15px;
}

form.offres,
form.wpcf7-form {
    width: 85%;
    margin: 0 auto;
}

form.offres label,
form.wpcf7-form label {
    font-size: 16px;
    margin-bottom: 0;
    font-weight: 600;
}

form.offres input:not(.wpcf7-submit),
form.wpcf7-form input:not(.wpcf7-submit) {
    cursor: pointer;
    border: 0;
    padding: 10px 10px;
    margin-right: 5px;
}

form.offres .custom-file-label,
form.wpcf7-form .custom-file-label {
    padding: 0;
    background-color: transparent;
    border: 0;
}

/*form.offres .custom-file-label::after,
form.wpcf7-form .custom-file-label::after {
    content: "Joindre un fichier";
    background-color: #2d2d2c;
    color: #ffffff;
    border-radius: 0.25rem;
    cursor: pointer;
}*/

form.offres .form-control:focus,
form.wpcf7-form .form-control:focus {
    border-color: #ffe902;
    box-shadow: 0 0 0 0.2rem rgb(255, 233, 2);
}

form.wpcf7-form .link-form {
    color: #429597;
}

/*
.page-template-page-candidature .page-offres {
    margin-bottom: 6em;
}
*/

/************************/
/**** PAGE GARANTIE ****/
/************************/

table.garantie {
    font-size: 14px;
}

table.garantie td {
    border-bottom: 0;
    border: 1px solid;
    padding: 5px;
    vertical-align: middle;
}

.wrapper-content-form ol {
    list-style-type: decimal;
    padding-left: 25px;
}

.page-form header {
    margin-bottom: 2em;
}

form.wpcf7-form > p {
    text-align: center;
}

form.wpcf7-form button.form-collapse {
    display: block;
    width: 100%;
    text-align: left;
    background-color: #2d2d2c;
    border-color: #2d2d2c;
}

form.wpcf7-form .collapse {
    margin-bottom: 1em;
}

form.wpcf7-form .custom-file-label {
    display: block;
}

form.wpcf7-form input.ws-date {
    width: 100% !important;
}

input.wpcf7-submit {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    background-color: #ffe902;
}

form.wpcf7-form .list-pj {
    padding-left: 2em;
    list-style: disc;
    font-size: 14px;
}

a.photo-example {
    float: right;
    padding: 0;
    font-size: 14px;
    font-style: italic;
}

form.wpcf7-form .wpcf7-form-control-wrap {
    margin: 1em 0;
}

.page-template-page-form form.wpcf7-form .recaptcha {
    display: block;
    margin-bottom: 2em;
}

body.page-template-page-form form.wpcf7-form .wpcf7-spinner {
    display: block;
    margin:  24px auto;
}

form.wpcf7-form #policy {
    margin-top: 2em;
    margin-bottom: 2em;
    font-size: 14px;
}

form.wpcf7-form #policy .wpcf7-list-item-label {
    font-weight: normal;
    font-size: 14px;
}

.ws-popover-opener {
    background-color: transparent;
    margin: 0 0 0 -13px;
}


/***********************************/
/**** PAGE AGENCE & COMMERCIAUX ****/
/***********************************/


.page-id-55 #content-page {
    background-color: #f2f2f2;
}

.search-agences {
    padding: 2em;
    color: #FFF;
    background-color: #000;
}

.agences-details {
    padding: 0 3em;
}

.agences-infos {
    margin-bottom: 0.8em;
}

.agence-infos a {
    color: #fff;
}

.search-agences .col-md-6 {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-template-page-introduction .search-commerciaux {
    margin: 0 auto;
    background: #ffe902;
    padding: 2em;
}

body.page-template-page-introduction .search-commerciaux .form-group {
    margin: 0 auto;
}

body.page-template-page-introduction .search-commerciaux .form-commercial {
    padding: 10px;
    position: relative;
}

body.page-template-page-introduction .search-commerciaux .form-commercial label.error {
    position: absolute;
    bottom: -20px;
    color: #f00;
    text-align: center;
}

body.page-template-page-introduction .search-commerciaux .form-commercial input {
    margin: 0 15px;
}

.liste-agences > ul {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: stretch;
    flex-wrap: wrap;
    padding: 3em 0;
}

body.page-template-page-introduction .form-commercial > div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    max-width: 80%;
    margin: 0 auto;
}

body.page-template-page-introduction .form-commercial label{
    -webkit-box-flex: 2;
        -ms-flex: 2;
            flex: 2;
}

body.page-template-page-introduction .form-commercial input,
body.page-template-page-introduction .form-commercial button {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
}

.liste-agences > ul > li {
    width: 24%;
    margin: 0.5%;
    padding: 2em;
    border: 1px solid;
}

.liste-agences h4::before {
    display: none;
}

.liste-agences .liste-item-link {
    margin-top: 0.5em;
    padding-left: 20px;
}

.liste-agences .liste-item-link li {
    position: relative;
}

.liste-agences .liste-item-link li a.link::before {
    content: '→';
    position: absolute;
    left: -20px;
    color: #023056;
}

.container-commerciaux.block {
    visibility: hidden;
    display: none;
    min-height: 220px;
    position: relative;
    padding-bottom: 0;
    background-color: transparent;
}

.container-commerciaux.block.visible {
    visibility: visible;
    display: block;
}

.container-commerciaux.block .list-commerciaux {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
}

.container-commerciaux.block .item-commercial {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
    margin-right: 2em;
    text-align: center;
}

.container-commerciaux.block .item-commercial .thumbnail {
    margin-right: 10px;
}

.container-commerciaux.block .list-coord {
    margin: 0;
    text-align: left;
}

.page-template-page-introduction form.form-commercial button {
    background-color: transparent;
    border: 0;
    border-bottom: 2px solid #000;
    border-radius: 0;
    color: #000;
    padding: 0;
}

.page-template-page-introduction .list-commerciaux-container,
.page-template-page-introduction .container-commerciaux h3,
.page-template-page-introduction .container-commerciaux.block a,
.search-commerciaux .container-commerciaux .close {
    color: #000;
}

.page-template-page-introduction .container-commerciaux form {
    max-width: 400px;
}

.page-template-page-introduction .container-commerciaux form input.wpcf7-submit {
    background-color: #000;
    color: #fff;
}

.page-template-page-introduction .list-commerciaux {
    margin-bottom: 2em;
}


/***********************/
/**** PAGE PRODUITS ****/
/***********************/

/* Header */

.single-produits .header-page,
.single .header-page {
    padding: 2.5em 3em 1em 3em;
}

.single-produits .header-text-page,
.single .header-text-page {
    margin-left: 30px;
}

.single-produits .header-text-page:before {
    background-color: transparent;
}

/* Content */

.single-produits .wrapper-page.products,
.single .wrapper-page.single {
    margin-top: 0;
    padding: 3em 1.5em 5em;
}

.single-produits .products .content-page #custom_margin {
    margin-top: -5em;
}

.single-produits .list-marques {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 3em;
}

.single-produits .list-marques li {
    position: relative;
    width: 31%;
    text-align: center;
    margin-right: 25px;
    margin-bottom: 25px;
}

.single-produits .list-marques li:nth-child(3n) {
    margin-right: 0;
}

.single-produits .list-marques li img {
    width: 100% !important;
}

.single-produits .list-marques li .caption-text {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0;
    padding: 2em 3em;
    background: rgba(0, 0, 0, 0.77);
    color: #fff;
    text-align: left;
    font-size: 14px;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    opacity: 0;
    visibility: hidden;
}

.single-produits .list-marques li .caption-text h5 {
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 18px;
}

.single-produits .gallery {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
     align-items: center;
    padding: 2em; 
    background-color: #fff;
}

.single-produits .gallery .gallery-item {
    padding: 2em;
}

/***********************/
/******** SINGLE *******/
/***********************/

.single .thumbnail-post img {
    display: block;
    margin: 0 auto;
}

.single h2.title-post {
    font-weight: 800;
}

.header-single-post {
    margin-bottom: 0.8em;
}

.header-single-post h2 {
    margin-bottom: 0;
}

.list-articles {
    width: 80%;
    margin: 0 auto;
    margin-top: 2em;
    margin-bottom: 2em;
}

.list-articles article {
    position: relative;
    min-height: 250px;
    padding: 1.5em;
    margin-bottom: 2em;
    font-size: 14px;
    background-color: #fff;
}

.list-articles article .highlight-img {
    width: 100%;
    min-height: 250px;
    margin-bottom: 1em;
}

.list-articles article.stroke:before {
    content: url(../png/trait-gris.png);
    position: absolute;
    width: 45px;
    height: 65px;
    bottom: 10px;
    right: 30px;
}

.list-articles article.stroke a.wheels {
    content: '';
    position: absolute;
    width: 29px;
    height: 28px;
    bottom: 20px;
    right: 15px;
    background-image: url(../png/roue.png);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}


/*******************************/
/******** CAT TÉMOIGNAGE *******/
/*******************************/


body.category-temoignages .highlight-content::before {
    content: url(../png/guillemets.png);
    float: left;
    padding-right: 0.5em;
}

body.category-temoignages .highlight-excerpt {
    padding: 0.5em 3em 0.5em 3.5em;
}

body.category-temoignages .highlight-img iframe {
    float: none;
    margin: 0;
    width: 100%;
    max-height: 250px;
}

body.category-temoignages .highlight-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/**********************************/
/********* BANDEAU OFFRES *********/
/**********************************/

.bandeau-offres {
    padding: 4em;
}

.content-bandeau-offres {
    width: 50%;
    margin: 0 auto;
    padding: 2em 4em;
    border: 1px solid #eee;
}

.bg-wheels {
    background-image: url(../png/mini-pneu-jaune.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}


/***********************/
/********* FAQ *********/
/***********************/


.page-id-15 .content-page {
    padding: 1em 0;
}

.page-id-15 .content-page .has-2-columns {
    flex-wrap: nowrap;
}

.page-id-15 .content-page button {
    width: 100%;
    background: transparent;
    border: 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #000;
    cursor: pointer;
    outline: 0;
}

.page-id-15 .content-page button h3 {
    font-weight: 200;
}

.page-id-15 .content-page button.active {
    border-bottom-width: 5px;
}

.page-id-15 .content-page button.active h3 {
    font-weight: 800;
}

.faq-list.visible {
    opacity: 1;
    visibility: visible;
    display: block;
}

.faq-list {
    opacity: 0;
    visibility: hidden;
    display: none;
    padding: 2em;
    list-style: disc;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.faq-list li {
    position: relative;
    margin-bottom: 10px;
}

.faq-list li:before {
    content: '';
    position: absolute;
    left: -30px;
    top: 0;
    width: 25px;
    height: 25px;
    background-image: url(../png/mini-pneu-jaune.png);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
}

.faq-list h4:before {
    font-weight: 800;
    content: none;
}

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

ul.list--results {
    max-width: 990px;
    margin: 0 auto;
}

ul.list--results li {
    margin-bottom: 1em;
    padding-top: 1em;
    padding-bottom: 2em;
    border-bottom: 3px solid #d7cfcf;
    padding-left: 60px;
    position: relative;
    padding: 2em 2em 2em 6em;
    background: #ffffff;
}

ul.list--results li::before {
    content: url(../png/mini-pneu-jaune.png);
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
}


/****************/
/**** FOOTER ****/
/****************/

.footer-wrapper {
    position: relative;
    padding-bottom: 1em;
    background-color: #2d2d2c;
    color: #FFF;
}

.footer-wrapper:before {
    content: '';
    position: absolute;
    width: 50px;
    height: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    background-color: #ffe900;
}

.footer-wrapper p {
    margin: 0 auto;
    padding-top: 1em;
}

.footer-wrapper p a {
    margin-right: 10px;
    font-size: 12px;
}

#list-subpages {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#list-subpages > li {
    width: 50%;
}

#list-subpages a,
#list-pages a {
    display: inline-block;
    position: relative;
    margin-bottom: 2px;
    font-size: 14px;
}

#list-subpages a:after,
#list-pages a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffe900;
    transition: width .4s cubic-bezier(.25, .1, .25, 1);
}

#list-subpages a:hover:after,
#list-pages a:hover:after {
    width: 100%;
}

#list-subpages a,
.footer-wrapper p a {
    color: #bababa;
}

#list-pages {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
}

#list-pages a,
#list-subpages > li > span {
    font-weight: 800;
    color: #f2f2f2;
}

#list-subpages > li > span {
    display: block;
    padding-bottom: 0.8em;
}

#list-social-media {
    -webkit-box-pack: flex-start;
    -ms-flex-pack: flex-start;
    justify-content: flex-start;
}

#list-social-media li {
    margin-right: 5px;
    z-index: 999;
}

#list-social-media li a {
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 2px;
    background-color: #fff;

    transition: all .3s ease;
}

#list-social-media li a:hover {
    background-color: #ffe900;
}

#list-social-media li i {
    vertical-align: text-top;
}

/* RGPD */

#tarteaucitronManager {
    opacity: 0.4;
}

#tarteaucitronManager:hover {
    opacity: 1;
}

/* SPINNER */

.lds-ellipsis {
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    position: absolute;
    width: 64px;
    height: 64px;
    z-index: 9999;
}

/*form-inline form-commercial {
    transform: translateX(-50%);
}
*/

.lds-ellipsis div {
    position: absolute;
    top: 27px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 6px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 6px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 26px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 45px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(19px, 0);
    }
}

body:not(.page-id-3) #tarteaucitronAlertSmall {
    display: none !important;
}

#tarteaucitronAlertBig #tarteaucitronPersonalize,
#tarteaucitronPercentage,
#tarteaucitronAlertSmall #tarteaucitronManager #tarteaucitronDot #tarteaucitronDotGreen {
    background: #FDEB43 !important;
}




/*********************************/
/********* MEDIA QUERIES *********/
/*********************************/


@media (max-width: 1400px) {

    /* Menus */

    #header {
        margin-top: 0;
    }

    #top-header {
        margin-top: 0;
    }

    #top-header .logo {
        width: 70%;
        height: 100px;
    }

    #wrapper--searchfrom {
        right: 10px;
    }

    button.hamburger {
        height: 100px;
        display: inline-block !important;
        position: relative;
    }

    #site-wrapper,
    #site-overlay,
    #loading-overlay {
        transition: transform .4s cubic-bezier(.25, .1, .25, 1);
    }

    .collapse-menu {
        overflow: visible !important;
        transform: translate3d(-250px, 0, 0);
        transition: transform .4s cubic-bezier(.25, .1, .25, 1);
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: auto;
        z-index: 999;
        background: #ffffff;
        border-left: 5px solid #ffe902;
    }

    .main-nav nav {
        width: 100%;
    }

    #main-menu {
        line-height: 30px;
    }

    #main-menu li {
        display: block;
        padding: 0;
        background: #fff;
        border-bottom: 1px solid #eee;
        text-align: left;
    }

    #main-menu li a {
        display: block;
        padding: 1em !important;
    }

    #top-header #main-menu > li.current-menu-item > a:before,
    #top-header #main-menu > li.current-menu-parent > a:before,
    #main-menu > li:not(.pro-access) > a:before {
        height: 100%;
        width: 7px;
        left: 0;
        top: 0;
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
    }

    #main-menu > li.pro-access {
        padding: 0;
    }

    #main-menu > li.pro-access > a,
    .menu-item-has-children .sub-menu li:last-of-type {
        border-bottom: 0px !important;
    }

    #main-menu > li.pro-access:before {
        display: none;
    }

    .menu-item-has-children > a:after {
        content: "\203A";
        position: absolute;
        top: 50%;
        bottom: 0;
        right: 20px;
        font-size: 30px;
        color: black;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        -webkit-transition: all .3s;
        -o-transition: all .3s;
        transition: all .3s;
        transform-style: preserve-3d;
        transform-origin: 0 0;
    }

    .menu-item-has-children a.active:after {
        -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        transform: rotate(90deg);
    }

    .menu-item-has-children .sub-menu {
        width: 100%;
        opacity: 0;
        visibility: hidden;
        top: 0 !important;
        display: none;
        position: relative !important;
    }

    .menu-item-has-children .sub-menu li {
        background: #eee !important;
        border-bottom-color: #d0d0d0 !important;
    }

    #secondary-menu li {
        margin-right: 0;
    }

    .footer-wrapper:before {
        width: 10px;
    }
}

@media (max-width: 1280px) {

    .news-wrapper .news {
        padding-right: 15px;
    }

    .news-wrapper .highlight-img {
        min-height: 300px;
        max-height: 300px;
    }

    .forms-home {
        margin-bottom: 1em;
    }

    .wrapper-search {
        min-height: 350px;
    }

    .wrapper-search h2 {
        width: 100%;
    }

    #files .item-file {
        padding: 0 1em;
    }
}

@media (max-width: 1080px) {

    /* Accueil */
    /* News */
    .carousel h2 {
        font-size: 2em;
    }

    aside .map-wrapper .map {
        float: left;
        width: 45%;
    }

    aside #carousel-agences {
        margin-top: 6em;
    }

    aside .map-wrapper h5 {
        font-size: 22px;
    }

    aside .form-commercial {
        clear: both;
    }

    aside .divider {
        display: none;
    }

    aside .list-commerciaux {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
    }

    aside .list-commerciaux .item-commercial {
        margin-right: 2em;
    }

    /* Main */
    .main {
        padding: 4em 2em !important;
    }

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

    .category-wrapper .category ul li {
        margin-right: 1em;
    }

    /* Bandeau */
    .content-bandeau-offres,
    article.offres-details,
    article.offres-form,
    article.mail-success,
    .not-found {
        width: 85%;
    }

    /* Form */

    form.offres {
        width: 80%;
    }

    article.offres-form.spontane {
        padding: 2em 2em;
    }

    .form-inline.form-commercial .form-group {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
    }

    .search-commerciaux .form-commercial label.error {
        bottom: -25px;
    }

    .form-inline.form-commercial label {
        margin-bottom: 1em;
    }

    .liste-agences > ul > li {
        width: 49%;
    }

    .container-commerciaux.block {
        padding-left: 0;
        padding-right: 0;
    }

    .container-commerciaux.block .list-coord {
        font-size: 14px;
    }

    /* Page */
    .wrapper-page {
        padding: 3em;
        margin-top: 0em;
    }

    .list-articles {
        width: 100%;
    }

    #files .item-file {
        width: 32%;
    }



    /* Produits */

    .single-produits .list-marques li .caption-text {
        font-size: 11px;
    }

    .single-produits .gallery-item {
        margin-right: 1em;
        width: 23% !important;
    }

    iframe {
        width: 100%;
        float: none;
    }

    /*
    .single-produits .list-marques li {
        width: 49%;
        margin-right: 5px;
        margin-bottom: 5px;
    }

    .single-produits .list-marques li:nth-child(3n) {
        margin-right: 5px;
    }
*/
}

@media (max-width: 990px) {
    .form-commercial > div {
        flex-direction: column;
    }

    #search-commercial {
        margin: 0;
    }
}

@media (max-width: 955px) {

    #secondary-menu {
        margin-bottom: 1rem;
        border: 0 !important;
    }

    #secondary-menu li {
        padding: 0;
        margin: 0.5em 0;
    }

    #secondary-menu li a {
        font-size: 14px;
        margin: 0 15px;
    }

    #secondary-menu > li:after,
    body:not(.home) #secondary-menu > li:hover:after {
        top: 100%;
        bottom: -6px;
        width: 100%;
        height: 3px;
        z-index: 0;
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    body:not(.home) #secondary-menu > li:after {
        height: 3px;
    }

    #secondary-menu li:hover:after,
    #secondary-menu li.active:after {
        top: 100%;
        height: 3px !important;
    }

    .wp-block-column:not(:first-child) {
        margin-left: 0;
    }

    .single-produits .gallery-item {
        margin-right: 1em;
        width: 22% !important;
    }
}

@media (max-width: 768px) {

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 22px;
    }

    /* Home */
    .second-nav {
        padding: 1.5em;
        background-color: #f1f1f1;
    }

    #secondary-menu,
    #top-header {
        margin-bottom: 0;
    }

    #secondary-menu li {
        margin: 5px 5px;
    }

    #secondary-menu li a {
        padding: 0px 0px;
        margin: 5px 0px;
    }

    #header {
        padding: 0;
    }

    .category ul {
        flex-wrap: wrap;
    }

    /* Page */

    .wrapper-page {
        padding: 3em;
        margin-top: 0;
    }

    .list-keysnumbers li {
        display: block;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        width: 100%;
        padding: 0;
        border-bottom: 0;
        flex-basis: 50%;
    }

    .list-keysnumbers li:not(:last-of-type) {
        border-bottom: 2px solid #303b59;
    }

    .list-keysnumbers li span.description,
    .list-keysnumbers li h2 {
        font-size: 20px;
    }

    .wp-block-columns {
        justify-content: center;
    }

    .wp-block-column {
        flex-basis: 75%;
    }

    .main .wp-block-column {
        flex-basis: 100%;
    }

    .wp-block-column:not(:first-child) {
        margin-left: 0;
    }

    .category-wrapper .category ul li {
        margin-right: 2em;
    }

    /*  Articles  */

    .list-articles {
        width: 90%;
    }

    .thumbnail-post {
        height: 200px;
        margin-bottom: 1em;
    }

    .single .thumbnail-post img {
        object-fit: cover;
        height: 100%;
        width: 100%;
    }

    /* Produits */

    .single-produits .list-marques li {
        width: 48%;
        margin-right: 13px;
        margin-bottom: 13px;
    }

    .single-produits .list-marques li:nth-child(3n) {
        margin-right: 13px;
    }

    .single-produits .list-marques li .caption-text {
        font-size: 14px;
    }

    /* Footer */
    #list-pages,
    #list-subpages,
    footer.container aside {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #list-pages,
    #list-subpages {
        text-align: center;
    }

    #list-pages {
        columns: 3;
        -webkit-columns: 3;
        -moz-columns: 3;
        margin: 2em 0;
    }

    #list-social-media {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    /* Form */

    article.offres-details,
    article.offres-form,
    article.mail-success,
    .not-found {
        padding: 2em 2em;
    }

    article.offres-form {
        width: 100%;
    }

    form.offres {
        width: 100%;
    }

    article.offres-form.spontane {
        padding: 2em 1em;
    }

    article.offres-form .form-group:not(#policy) .wpcf7-list-item {
        display: block;
        margin: 0px 0 0 0em;
        text-align: left;
    }


}

@media (max-width: 767px) {
    .highlight-img {
        height: 200px;
        margin-bottom: 1em;
    }

    body.category-temoignages .highlight-excerpt {
        padding: 0.5em 1em 0.5em 1.5em;
    }
}

@media (max-width: 600px) {
    .single-produits .products .content-page #custom_margin {
        margin-top: 0; 
    }
}

@media (max-width: 560px) {

    /* Carousel */
    .carousel-caption {
        width: 90%;
        display: block !important;
    }

    .carousel h2 {
        font-size: 1.5em;
    }

    #carousel-accueil .carousel-indicators button {
        width: 10px;
    }

    .wrapper-page {
        padding: 1em;
    }

    .category-wrapper,
    .main,
    .footer-wrapper {
        padding: 2em 0;
    }

    .main {
        padding: 4em 0em !important;
    }

    .category ul li {
        margin: 10px;
    }

    /* News accueil */

    .list-article .article-img {
        width: 100%;
        height: 250px;
        max-height: 250px;
        margin-bottom: 1em;
    }

    /* Map accueil */
    aside .map-wrapper .map {
        float: none;
        width: 100%
    }

    aside #carousel-agences {
        margin-top: 1em;
    }

    .wrapper-search h2 span {
        display: inline;
    }

    /* Page */

    .header-page {
        padding-top: 1em;
        font-size: 16px;
    }

    .page-default.header-page {
        padding: 1.5em 3em 1em 3em;
    }

    .list-keysnumbers li {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .single-produits .list-marques li {
        width: 100%;
    }

    .page-template-page-introduction .header-text-page:before,
    .page-template-page-recrutement .header-text-page:before {
        left: 0px;
        width: 3px;
        -webkit-transform: rotate(25deg);
        -ms-transform: rotate(25deg);
        transform: rotate(25deg);
    }

    #files .item-file {
        width: 80%;
    }

    /* Articles */
    .list-article ul {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
    }

    .list-article ul li {
        display: block;
        width: 100%;
        margin-bottom: 2em;
    }

    .highlight-excerpt {
        padding: 0;
        padding-right: 2em;
    }

    /* Forms */
    article.offres-details,
    article.offres-form,
    article.mail-success,
    .not-found {
        margin: 2em auto 0 auto;
        padding: 2em 2em;
    }

    form.offres {
        width: 100%;
    }

    .table thead th {
        vertical-align: middle;
    }

    .page-id-15 .content-page button h3 {
        font-size: 16px
    }

    .search-commerciaux .form-commercial {
        text-align: center;
    }

    .search-commerciaux .form-commercial input {
        margin: 0 auto;
    }

    .search-commerciaux .form-commercial label.error {
        width: 100%;
        bottom: -30px;
        left: 50%;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    }

    .container-commerciaux.block .list-commerciaux {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .search-agences {
        min-height: 707px;
    }

    /* Bandeau */
    .bandeau-offres {
        padding: 0em;
        margin-bottom: 1em;
    }

    .content-bandeau-offres {
        padding: 2em 1em;
    }

    /* Produits */

    .content-column div {
        padding: 0 !important;
    }

    .single-produits .wrapper-page.products .last_column {
        margin-top: 0;
    }

    .single-produits .list-marques li {
        width: 48%;
        margin-right: 9px;
        margin-bottom: 9px;
    }

    .single-produits .list-marques li:nth-child(3n) {
        margin-right: 9px;
    }

    .single-produits .list-marques li .caption-text {
        font-size: 11px;
    }

    .single-produits .list-marques li .caption-text {
        padding: 1em 1em;
    }

    .single-produits .gallery-item {
        margin-right: 4px;
        width: 24% !important;
    }


    /* Contact Form page */

    body.page-template-page-form .advgb-accordion-header-title {
        font-size: 14px;
    }

    form.wpcf7-form {
        width: 100%;
    }

    form.wpcf7-form .custom-file-label {
        padding-right: 30%;
        line-height: normal;
    }

    form.wpcf7-form .custom-file-label::after {
        content: 'Importer'
    }

    form.wpcf7-form button.form-collapse {
        font-size: 14px;
        white-space: break-spaces;
    }

    form.wpcf7-form #policy,
    form.wpcf7-form .custom-file-label,
    form.wpcf7-form a.photo-example {
        font-size: 12px;
    }

    /* Table */
    .content-page table td,
    .content-page table thead th {
        padding: .25rem;
    }

    .content-page table td a,
    .content-page table thead th,
    .content-page table td {
        font-size: 10px;
    }

    /* Footer */

    #list-subpages,
    #list-pages {
        text-align: center;
    }

    #list-subpages {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
    }

    #list-subpages > li {
        width: 100%;
        margin-bottom: 1em;
    }

    #list-pages {
        columns: 1;
        -webkit-columns: 1;
        -moz-columns: 1;
        margin-top: 0;
    }
}

@media (max-width: 425px) {

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 20px;
    }

    h4,

    body p,
    body a,
    label,
    legend,
    ul li {
        font-size: 14px;
    }

    h5 {
        font-size: 12px;
    }

    blockquote {
        margin: 2em 0 2em 0em;
        background-image: none;
    }

    .carousel h2 {
        font-size: 1em;
    }

    .single-produits .list-marques li {
        width: 100%;
        margin-right: 0;
    }

    .single-produits .list-marques li .caption-text {
        padding: 2em 3em;
    }

    .single-produits .list-marques li .caption-text p {
        font-size: 12px !important;
    }

    .single-produits .list-marques li:nth-child(3n) {
        margin-right: 0;
    }

    .single-produits #gallery-1 .gallery-item {
        width: 100% !important;
        margin-top: 0 !important;
        margin-bottom: 5px;
        background-color: #fff;
    }

    .page-id-15 .content-page button h3 {
        font-size: 14px;
    }

    .content-bandeau-offres,
    article.offres-details,
    article.offres-form,
    article.mail-success,
    .not-found {
        width: 99%;
    }

    .liste-agences > ul > li {
        width: 100%;
    }

    #files .item-file {
        width: 100%;
    }

    #list-social-media li i {
        vertical-align: initial;
    }

    .footer-wrapper p {
        padding: 1em;
    }
}

@media (max-width: 375px) {

    h4,
    body p,
    body a,
    label,
    legend,
    ul li {
        font-size: 14px;
    }

    .header-page {
        padding-top: 3em;
    }

    /* FORM */

    form.wpcf7-form small.file {
        margin-bottom: 1em;
    }
}
