input[type="text"], input[type="email"], input[type="password"], input[type="date"], select, textarea {
    border: none;
    padding: 12px 20px !important;
    font-family: 'Poppins Bold', sans-serif !important;
    font-size: 16px !important;
    color: black;
    margin-top: 0 !important;
    border-radius: 5px;
    font-weight: bold;
    background: var(--theme--color--1);
}

label, legend, .gfield_description, .wp-elements-7ffbf51c2c10ebe6ef077da32f5631ec {
    font-family: var(--wp--preset--font-family--satoshi) !important;
}

body {
    overscroll-behavior: none;
}

.gfield_description {
    padding: 0 !important;
}

.filtres {
    font-size: 20px;
}

.hide {
    display: none;
}

.genres {
    display: flex;
    justify-content: center;
}

.justifier {
    text-align: justify;
}

.filtre input[type="checkbox"] {
    display: none;
}

.post-type-archive-resume .accordion {
    margin: 0;
}

input::placeholder, textarea::placeholder {
    color : #838E85;
    font-weight: 500;
}

.listThumbnails {
    display: flex;
    /*flex-wrap: wrap;*/
    gap: 0;
}

.listThumbnails .credit {
    color: white;
}

.listThumbnails > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.thumbnails {
    width: 150px;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    object-position: top;
}

.filtre {
    display: flex;
    /* flex-direction: column; */
    gap: 10px;
    padding: 5px 0;
}

input:is(.category-filter, .genre-filter, .age-filter, .language-filter):not(:checked) + label {
    opacity: 0.5;
}

/* When checkbox is checked */
.category-filter:checked + label, .tous.active {
    opacity: 1 !important;
}

.openfilter img {
    width: 20px;
    opacity: 0.5;
    transition: 0.5s all ease-in-out;
}

.openfilter:hover img, .openfilter.active img {
    opacity: 1;
}

.filtreResume > div {
    width: 100%;
}

.sectionFiltre {
    overflow: hidden;
    max-height: 0vh;
    transition: 0.5s all ease-in-out;
}

.filtreResume {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    height: 100%;
    overflow: hidden;
    margin-top: 0 !important;
}

.sectionFiltre.visible {
    max-height: 200vh;
    /* margin-top: 24px !important; */
    padding-top: var(--wp--preset--spacing--30);
    padding-bottom: var(--wp--preset--spacing--30);
}

.currentCat {
    display: block;
    font-family: var(--wp--preset--font-family--satoshi);
    margin-top: 0 !important;
    text-align: center;
    text-transform: uppercase;
}

.caseArtisteCtn {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 20px;
}

.caseArtiste {
    /*width: calc(33% - 20px);*/
    overflow: hidden;
}

.caseArtiste a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: black;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.caseArtiste div {
    position: absolute;
    background: white;
    width: 80%;
    text-align: center;
    top: 7%;
    transform: rotate(-45deg);
    left: -25%;
}

.caseArtiste div p {
    font-size: 12px;
    line-height: 1;
}

.caseArtiste a:hover img {
    transform: scale(1.1);
}

a {
    text-decoration: none;
}

.single-resume h1 {
    color: #0d1e69;
}

.caseArtiste img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 5px;
    filter: grayscale(1);
    transition: 0.5s all ease-in-out;
}

.caseArtiste a > span {
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    /*height: 100%;*/
    background: #ffffffbf;
    margin: 0;
    display: flex;
    padding: 10px;
    box-sizing: border-box;
    transition: 0.5s all ease-in-out;
    justify-content: flex-end;
    align-items: center;
    font-weight: 500;
    flex-direction: column;
    font-size: 15px;
    color: #0d1e69;
}

.caseArtiste a > span .categorieArtiste {
    font-size: 18px;
    font-weight: 500;
}

.noPhoto {
    background: linear-gradient(40deg, rgb(244, 244, 244) 21%, rgb(218, 218, 220) 76%);
    object-fit: none !important;
    width: 100% !important;
}

.content1_3 {
    flex-basis: calc(1440px * 0.333 + (50vw - 720px)) !important;
}

.content2_3 {
    flex-basis: calc(1440px * 0.666666 + (50vw - 720px)) !important;
}

.padding-left {
    padding-left: clamp(20px, calc( ( 100vw - var(--wp--style--global--content-size) ) / 2 ), 100vw) !important;
}

.padding-right {
    padding-right: clamp(20px, calc( ( 100vw - var(--wp--style--global--content-size) ) / 2 ), 100vw) !important;
}

a {
    transition: 0.5s all ease-in-out;
}

.gform_required_legend {
    display: none;
}

.gform_wrapper.gravity-theme .gfield textarea.small {
    height: 126px !important;
}

figure.photo {
    display: flex;
    height: 100%;
    /*min-height: clamp(300px, 36vw, 700px);*/
    position: relative;
}

figure.photo div {
    position: absolute;
    background: white;
    width: 90%;
    text-align: center;
    top: 7%;
    transform: rotate(-45deg);
    left: -27%;
}

figure.photo div p {
    font-size: 14px;
    line-height: 1;
}

figure.photo .wp-block-cover {
    width: 95%;
    /*height: 100%;*/
    /*object-fit: cover;*/
}

.mediaCtn {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.mediaCtn figure {
    flex-basis: calc(50% - 13px);
}

.credit {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    /*text-orientation: upright;*/
    margin: 0;
}

.filtresAccordion {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 5px;
    padding-top: 17px;
    justify-content: flex-start;
}

@media screen and (max-width: 1200px) {
    .content2_3, .content1_3 {
        flex-basis: 50% !important;
    }

    .decaleHaut {
        margin-top: 0 !important;
    }
}

@media screen and (max-width: 992px) {
    .caseArtiste h3 {
        text-align: center;
        position: relative;
        bottom: -100%;
        width: 100%;
        height: 100%;
        background: #ffffffbf;
        margin: 0;
        display: flex;
        padding: 10px;
        box-sizing: border-box;
        transition: 0.5s all ease-in-out;
        justify-content: center;
        align-items: center;
        font-weight: 500;
        flex-direction: column;
    }

    .caseArtiste {
        display: flex;
        align-items: flex-start;
    }

    .caseArtiste a > span {
        bottom: 0;
    }
}

@media screen and (max-width: 782px) {
    .photo .wp-block-cover {
        width: 100% !important;
        height: 500px;
        /*object-fit: cover;*/
    }

    .credit {
        writing-mode: initial;
        transform: none;
        /*text-orientation: upright;*/
        margin: 0;
    }

    .photo {
        display: flex;
        flex-direction: column-reverse;
    }

    .caseArtiste {
        /*width: calc(50% - 20px);*/
    }

    /*.thumbnails {*/
    /*    width: calc(50% - 10px);*/
    /*    height: 150px;*/
    /*    object-fit: cover;*/
    /*}*/

    .noPaddingMobile {
        padding: 0 !important;
    }

    .wp-block-group {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 640px) {
    .gform_wrapper.gravity-theme .ginput_complex span {
        flex: 0 0 100%;
        margin-bottom: 16px !important;
        padding-left: 0;
    }

    #input_1_1_6_container {
        margin-bottom: 0 !important;
    }
}

@media screen and (max-width: 500px) {
    .caseArtiste {
        /*width: 100%;*/
    }

    .filtreResume {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .filtre {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 49%;
    }
}