/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0.17
*/

@media (max-width: 550px) {
    /*
    .portfolio-box-title .surligne {
        background-color: rgba(255, 255, 255, 0.85);
        padding: 2px;
        line-height: 1.7;
    }

    .portfolio-box-title {
        color: #000 !important;
        font-size: 12px;
        text-shadow: none;
        max-width: 200px !important;
        transform: skew(-6deg);
    }*/
    .related-posts-custom .row-slider:hover .flickity-button {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    .material .slider .flickity-button {
        display: none !important;
    }
}


/*************** GLOBAL   ***************/

h1 {
    font-size: 4.5em !important;
}

h1.title-mini {
    font-size: 2.5em !important;
    font-weight: 600;
}

.h2,
h2 {
    font-size: 3.5em;
}

.h3,
h3 {
    font-size: 2.5em;
}

.h4,
h4 {
    font-size: 2.15em;
}

b,
strong {
    font-weight: 600 !important;
}

p {
    line-height: 1.3em;
}

.dark,
.dark p,
.dark td {
    color: #fff;
}

.button,
input[type=submit] {
    font-size: 14px;
    padding: 3px 30px;
    font-weight: 300;
    border: none;
    letter-spacing: 0;
    text-transform: none;
}

.button.white {
    color: #000 !important;
}

.button.is-xlarge {
    margin-top: 15px;
    font-size: 22px;
}

@media screen and (min-width: 850px) {
    .centered .col:first-child .col-inner {
        margin-left: auto;
        margin-right: auto;
    }
}

.ic {
    max-width: 70px;
}

.ic-2 {
    max-width: 120px;
}

.slider-style-container .flickity-slider>:not(.is-selected),
.slider-style-focus .flickity-slider>:not(.is-selected),
.slider-style-shadow .flickity-slider>:not(.is-selected) {
    opacity: 1;
}


/*
.slider-nav-dots-dashes-spaced .flickity-page-dots {
    bottom: -30px;
}
    */

.flickity-page-dots .dot {
    border: 1px solid #111;
    height: 2px !important;
    width: 30px !important;
}

.bold {
    font-weight: 700;
}


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

.icon-menu:before {
    font-family: 'Material Symbols Outlined' !important;
    font-weight: 200 !important;
    font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
    font-style: normal;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-menu:before {
    color: #fff;
    font-size: 38px;
    content: "\e164" !important;
}

.direction-artistique .overlay {
    background-image: url(/wp-content/uploads/2025/10/ic-blanc-da.png);
    background-size: contain;
}

.design .overlay {
    background-image: url(/wp-content/uploads/2025/10/ic-design-blanc.png);
    background-size: contain;
}

.production .overlay {
    background-image: url(/wp-content/uploads/2025/10/ic-prod-blanc.png);
    background-size: contain;
}

.video-button-wrapper a.button {
    margin-bottom: 0px !important;
}

.button.icon.circle,
.button.icon.round {
    min-width: 100px;
    height: 100px;
}

.button.open-video i {
    top: 12px;
}

.button.open-video i {
    font-size: 2.5em !important;
}

.project-banner-video {
    left: 50%;
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.project-banner-video .video-button-wrapper {
    line-height: 1;
}

.project-banner-video .button i {
    font-size: 2.5em !important;
    top: 12px;
}

.project-banner-video .button {
    background-color: rgba(0, 0, 0, 0.2);
    border-color: #fff;
    color: #fff;
    margin: 0;
}

.project-banner-video .button:hover {
    background-color: #fff;
    color: #000;
}

.project-video-lightbox {
    align-items: center;
    display: flex;
    height: calc(100svh - 80px);
    justify-content: center;
    margin: 0 auto;
    padding: 0;
    width: min(1200px, 94vw);
}

.project-video-lightbox video {
    display: block;
    height: 100%;
    max-height: 100%;
    max-width: 94vw;
    object-fit: contain;
    width: 100%;
}

.mfp-inline-holder .mfp-content:has(.project-video-lightbox) {
    width: auto;
}

@media (max-width: 549px) {
    .mfp-container:has(.project-video-lightbox) {
        padding-left: 0;
        padding-right: 0;
    }

    .project-video-lightbox {
        height: calc(100svh - 48px);
        width: 100vw;
    }

    .project-video-lightbox video {
        max-width: 100vw;
    }
}

.skills .box-image {
    border-radius: 0;
    transition: border-radius 0.5s ease;
}

.skills .box:hover .box-image {
    border-radius: 50px;
}

@media (max-width: 550px) {
    .about-title h1.mb-0 {
        font-size: 3em !important;
    }
}


/*************** WORKS  ***************/

.nav-pills li.active a {
    color: #000;
    background-color: transparent;
    border: 2px solid #000;
}

.nav-pills li a {
    border: 2px solid #fff;
    color: #000;
    background-color: transparent;
    padding: 0px 15px;
    min-height: 2.7em;
    line-height: 18px;
    font-size: 14px;
    gap: 0;
}

@media (min-width: 850px) {
    /*
    .row.row-isotope .col:nth-child(odd) .box-text {
        text-align: left !important;
    }

    .row.row-isotope .col:nth-child(even) .box-text {
        text-align: right !important;
    }

    .row.row-isotope .col:nth-child(even) .box-text p {
        margin-left: auto;
    } */
    .home .portfolio-element-wrapper {
        margin-top: -80px;
    }
    .nav.nav-true {
        margin-bottom: 30px;
    }
}

@media (max-width: 850px) {
    .row.row-isotope .col .box-text {
        text-align: left !important;
    }
}

.box-text p {
    margin-bottom: 1em;
}

.box-overlay .box-text img {
    max-width: 50px;
}

.portfolio-box-title {
    color: #000 !important;
    font-size: 14px;
    text-shadow: none;
    /*max-width: 120px;*/
}

.box-overlay .box-text {
    top: 20px;
}

.box-bottom-text-inner {
    position: absolute;
    bottom: 70px;
    left: 40px;
    opacity: 0;
    transform: translate(10px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.row-isotope .col-inner:hover .box-bottom-text-inner {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.divider-wrapper {
    display: flex;
    justify-content: center;
    /* centre horizontalement */
    align-items: center;
}

.divider-bw {
    position: absolute;
    width: 3px;
    height: 60px;
    background: linear-gradient(to bottom, #ffffff 0 50%, #000000 50% 100%);
}

@media (max-width: 768px) {
    .divider-bw {
        height: 35px;
    }
}


/* MOBILE */

@media (max-width: 550px) {
    .desktop-banner {
        display: none !important;
    }
    .mobile-header-only {
        display: block !important;
    }
}


/* DESKTOP */

@media (min-width: 551px) {
    .desktop-banner {
        display: block !important;
    }
    .mobile-header-only {
        display: none !important;
    }
}

@media screen and (max-width: 549px) {
    .portfolio-element-wrapper .row-slider .flickity-prev-next-button {
        opacity: 0;
    }
    .portfolio-element-wrapper .row-slider:hover .flickity-prev-next-button {
        opacity: .7;
    }
}


/*************** FORM ***************/

label,
legend {
    font-size: .85em;
    font-weight: 400;
}

.wpcf7-list-item-label,
.wpcf7 .wpcf7-not-valid-tip {
    text-align: left;
}

.wpcf7-form .wpcf7-spinner {
    display: none !important;
}

.wpcf7-form .container-submit {
    display: flex;
    justify-content: flex-end;
    margin: 20px auto 0 auto;
}

.wpcf7-form-control-wrap {
    padding: 0 5px;
}

.wpcf7-form-control-wrap ::placeholder {
    color: #000;
}

.select-resize-ghost,
.select2-container .select2-choice,
.select2-container .select2-selection,
input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea {
    background-color: #F7F7F7;
    border: 1px solid #F7F7F7;
    box-shadow: none;
    color: #000 !important;
    font-size: 14px;
    height: 3em;
    padding: 0.7em 1em;
}

input[type=email]:focus,
input[type=number]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
select:focus,
textarea:focus {
    background-color: #F7F7F7;
    box-shadow: none;
    color: #000 !important;
    opacity: 1 !important;
    outline: 0;
}

[type=checkbox] {
    appearance: none;
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border: 1px solid #333;
    border-radius: 0;
    background-color: #fff;
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: all 0.2s ease;
    margin-bottom: 0;
    flex-shrink: 0;
    padding: 0px !important;
}

[type=checkbox]:hover {
    border-color: #000;
}

[type=checkbox]:checked {
    background-color: #000;
    border-color: #000;
}

.wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    gap: 0px;
}

.wpcf7 .wpcf7-not-valid-tip {
    background-color: transparent;
    font-size: 0.75em;
    margin-bottom: 10px;
}

.wpcf7 .wpcf7-not-valid-tip:after {
    display: none;
}


/*************** PORTFOLIO  ***************/

.label-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: #F4F4F4;
    border: none;
    border-radius: 9999px;
    padding: 0px 14px;
    transition: background-color 0.3s ease;
    cursor: default;
}

.label-btn:hover {
    background-color: #F4F4F4;
}

.label-btn.year {
    background-color: transparent;
    border: 2px solid #000;
    padding: 0px 15px;
    min-height: 2.7em;
    line-height: 18px;
    font-size: 12px;
    gap: 0;
}

.label-icon {
    width: 35px;
    height: 35px;
}

.project-category-icons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    margin-bottom: 24px;
}

.project-category-icon {
    width: 100%;
    flex: 0 0 100%;
}

.project-category-icons.is-multiple .project-category-icon {
    width: 42%;
    flex-basis: 42%;
}

/* Les noms de fichiers/images ne doivent pas servir de légende aux lightbox. */
.mfp-title {
    display: none !important;
}

/* Sélecteur de langues Polylang dans le header Flatsome. */
.header-language-switcher {
    display: flex;
    align-items: center;
    margin-left: 18px;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
}

.language-switcher__link {
    color: currentColor;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.08em;
    opacity: 0.45;
    padding: 5px 7px;
    position: relative;
    transition: opacity 0.2s ease;
}

.language-switcher__link + .language-switcher__link::before {
    content: "/";
    left: -2px;
    opacity: 0.45;
    position: absolute;
}

.language-switcher__link:hover,
.language-switcher__link.is-active {
    color: currentColor;
    opacity: 1;
}

@media (max-width: 849px) {
    .header-language-switcher {
        margin-left: 0;
        margin-right: 8px;
    }

    .language-switcher__link {
        font-size: 10px;
        padding-left: 5px;
        padding-right: 5px;
    }
}

.label-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    grid-auto-rows: auto;
    list-style: none;
    padding: 0;
    margin: 0;
    column-gap: 60px;
}

.skills-grid li {
    margin-bottom: 8px;
    margin-left: 0em !important;
}

.skills-grid li:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.skills-grid li:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}

.skills-grid li:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
}

.skills-grid li:nth-child(4) {
    grid-column: 1;
    grid-row: 4;
}

.skills-grid li:nth-child(5) {
    grid-column: 1;
    grid-row: 5;
}

.skills-grid li:nth-child(6) {
    grid-column: 2;
    grid-row: 1;
}

.skills-grid li:nth-child(7) {
    grid-column: 2;
    grid-row: 2;
}

.skills-grid li:nth-child(8) {
    grid-column: 2;
    grid-row: 3;
}

.skills-grid li:nth-child(9) {
    grid-column: 2;
    grid-row: 4;
}

.skills-grid li:nth-child(10) {
    grid-column: 2;
    grid-row: 5;
}


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

.logo-footer {
    max-width: 150px;
}

.absolute-footer {
    display: none;
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
}


/* REVOIR */

.material .slider-nav-reveal .flickity-prev-next-button,
.material .slider-nav-reveal .flickity-prev-next-button:hover {
    top: 32%;
    transform: translateY(-32%);
}

.slider-nav-reveal .flickity-prev-next-button,
.slider-nav-reveal .flickity-prev-next-button:hover {
    background-color: var(--red);
    box-shadow: none;
    height: 0px;
    width: 30px;
    margin: 10px !important;
    position: absolute;
    top: 40%;
    transform: translateY(-40%);
    color: #fff !important;
}

.flickity-button-icon {
    display: none;
}

.flickity-prev-next-button::after {
    font-family: 'Material Symbols Outlined' !important;
    font-weight: 100 !important;
    font-variation-settings: 'FILL' 0, 'wght' 100, 'GRAD' 0, 'opsz' 24;
    font-size: 24px;
    line-height: 1;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    content: '\ef7d';
}

.flickity-prev-next-button.next::after {
    content: '\e941';
}

.flickity-prev-next-button {
    border: 1px solid #000;
    border-radius: 0;
    width: 50px !important;
    height: 0px !important;
    background: #000 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 549px) {
    .row-slider .flickity-prev-next-button {
        background-color: #000 !important;
        width: 35px !important;
    }
}


/* Desktop - 5 colonnes */

.material .flickity-slider>* {
    max-width: 20% !important;
}


/* Large tablette - 4 colonnes */

@media (max-width: 1200px) {
    .material .flickity-slider>* {
        max-width: 25% !important;
        /* 100 / 4 */
    }
}


/* Tablette - 2 colonnes */

@media (max-width: 768px) {
    .material .flickity-slider>* {
        max-width: 50% !important;
        /* 100 / 2 */
    }
}


/* Mobile - 1 colonne */

@media (max-width: 480px) {
    .material .flickity-slider>* {
        max-width: 50% !important;
    }
}
