#wrapper_header_catalogue {
    display: flex;
    justify-content: center;
}

#header_catalogue {
    max-width: 1280px;
    display: flex;
    width: 100%;
}

#header_catalogue .container {
    max-width: 700px;
    text-align: justify;
    text-align-last: center;
}

.logo {
    padding-right: 140px;
}

h1 {
    font-family: montserrat-black;
    font-size: 40px;
    padding-top: 40px;
    text-align: center;
    padding-bottom: 20px;

}

.sous_titre_catalogue {
    font-family: barlow-medium;
    font-size: 28px;
    line-height: 33px;
}

#wrapper_filtres {
    display: flex;
    justify-content: center;
}

#wrapper_filtres #filtres {
    display: flex;
    width: 100%;
    max-width: 1280px;
    justify-content: space-around;
    flex-wrap: wrap;
}

#wrapper_filtres .filtre {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 0;
    background: transparent;
    width: 125px;
    cursor: pointer;
}

.wrapper_filtre {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wrapper_filtre span,.filtre span {
    font-family: opensans-light;
    font-size: 17px;
    line-height: 20px;
    padding-bottom: 30px;
}

#filtres i {
    font-size: 20px;        padding-bottom: 10px;
}

#wrapper_main {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

#main {
    display: flex;
    max-width: 900px;
    flex-wrap: wrap;
    justify-content: space-around;
    justify-content: flex-start;
    min-width: 900px;
}

#main .formation {
    width: 253px;
    display: flex;
    flex-direction: column;
    position: relative;
    text-decoration: none;
    padding-bottom: 50px;
    padding-left: 20px;
    padding-right: 20px;
}
#main .formation.formation_hidden{
/* display: none; */
opacity: 0;
width: 0%;
padding:0;
overflow: hidden;
position:absolute;
transition: width 1s linear;
}
#main .formation h3 {
    text-decoration: none;
    color: black;
    font-family: barlow-light;
    font-size: 20px;
    line-height: 24px;
}

#main .formation.hidden {
    /* display: none; */
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    position: absolute;
    transition: all 1s linear;
    z-index: -5;

}

#main .formation img {
    padding-bottom: 10px;
    height: 127px;
    width: 253px;
}

#main .etiquette {
    position: absolute;
    top: -8px;
    color: white;
    font-family: 'barlow-medium';
    background: #6AE8CE;
    padding-left: 10px;
    padding-right: 10px;
left: 20px;
    border-radius: 15px;

}

#search_catalogue {
    display: flex;
    justify-content: center;
    padding-bottom: 80px;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    height: 15px;
    width: 26px;
    width: 15px;
    left: 4px;
    bottom: 5px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #6AE8CE;
}

input:focus+.slider {
    box-shadow: 0 0 1px #6AE8CE;
}

input:checked+.slider:before {
    -webkit-transform: translateX(36px);
    -ms-transform: translateX(36px);
    transform: translateX(36px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
    height: 20px;
    padding: 3px;
}
.slider.round:before {
    border-radius: 50%;
}
#filtres_main {
    padding-left: 30px;
    padding-right: 30px;
    width: 72px;
}

#search_catalogue *{
width: 440px;
}
#search_catalogue b{display: none;}
@media(max-width:1200px){
    #search_catalogue{
        padding-bottom: 40px;
        padding-top: 40px;
    }
    #header_catalogue .wp-block-column{
        display: none;
    }
    #header_catalogue .wp-block-column.container{
        display: block;
    }
    #wrapper_header_catalogue{
        background-color: #6AE8CE;
        padding-left: 20px;
        padding-right: 20px;
    }
    #wrapper_header_catalogue h2{
        font-size: 25px;
        line-height: 34px;
        color: white;
        text-align: center;
        font-family: barlow-light;
        /* padding-top: 100px; */
        padding-bottom: 100px;
    }
    #wrapper_header_catalogue h1{
        line-height: normal;
        font-size: 40px;
        color: white;
        text-align: center;
        font-family: montserrat-black;
    }
    #main{
        min-width: 0;
        width: 100%;
    }
    #wrapper_main{
        justify-content: flex-start;
    }
}