/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    font-size: calc(15px + 0.1vw);
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif
}

.single h1,
.blog h1 {
    font-size: calc(35px + 0.1vw) !important;
    letter-spacing: normal !important;
    font-weight: 700 !important;
    line-height: calc(50px + 0.1vw) !important;
}

.single h2,
.blog h2 {
    font-size: calc(21px + 0.1vw) !important;
    letter-spacing: normal !important;
    font-weight: 500 !important;
    margin-bottom: 20px !important;
    line-height: calc(29px + 0.1vw) !important;
}

.single h3,
.single h3 {
    font-size: calc(17px + 0.1vw) !important;
    letter-spacing: normal !important;
    font-weight: 500 !important;
    margin-bottom: 10px !important;
    line-height: calc(24px + 0.1vw) !important;
}

#header .site-description {
    margin: 0;
    line-height: 18px;
    cursor: default;
    color: var(--porto-heading-color);
}

#header .site-title {
    margin: 0;
    cursor: default;
    color: var(--porto-primary-color);
}

#header .logo-text {
    font-size: 1.8rem;
    text-transform: uppercase;
}

.single .post-image.single {
    display: none;
}

body.single-post article.post .post-meta {
    display: none;
}

body.single-post article.post .entry-content {
    margin-top: 0;
}

body.single-post article.post .entry-content .size-full {
    margin: 1.5rem auto 0 auto;
    display: block;
}

body.home .porto-posts-grid .blog-type .porto-section {
    display: none;
}

/*body.blog .post-meta {
    display: none;
}*/

.field-space {
    margin-right: 3%;
    width: 20%;
}

.post-item.style-7 .meta-date {
    display: block;
    text-align: center;
    font-size: calc(11px + 0.1vw) !important;
    letter-spacing: normal !important;
    font-weight: normal !important;
    margin-bottom: 0px !important;
    line-height: calc(17px + 0.1vw) !important;
}

article.post .post-item .post-meta {
    display: none;
}

.field-space label {
    color: #FFF;
}

.whole-form {
    display: flex;
    align-items: center;
    justify-content: center;
}

.breadcrumbs-wrap {
    display: none;
}

.footer-main .wpml-ls-legacy-list-horizontal,
.footer-main .wpml-ls-legacy-list-horizontal a {
    padding: 0;
}

#main {
    padding-bottom: 220px;
}

.blog h2 {
    text-align: center;

}

.post-excerpt {
    text-align: justify;
}

.post-recent-main .post-meta,
.post-recent-main .post-excerpt {
    display: none;
}

.post-recent-main .text-dark {
    font-weight: 500 !important;
}

.blog-posts h2 a {
    font-size: inherit !important;
    line-height: inherit !important;
}

.single .post-date {
    display: none;
}

body.blog .blog-posts article .cat-names {
    text-transform: uppercase;
    font-size: calc(10px + 0.1vw) !important;
}


@media (min-width: 768px) {

    .blog-posts h2 a {
        transition: color 0.3s ease-in-out;
        letter-spacing: -0.5px;
    }

    .post-item.style-7 .meta-date {
        text-align: left;
    }

    .post-excerpt {
        text-align: left !important;
    }

    .blog-posts h2 a:hover {
        color: var(--porto-primary-color) !important;
    }

    .blog-posts article.post-grid {
        padding: 0;
        margin: 0;
        border: 1px solid #E7EBED;
        border-radius: 5px;
        padding: 40px;
        font-size: 2rem;
    }

    .blog h2 {
        text-align: left;
        margin-bottom: 0 !important;
    }

    body.blog .posts-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto auto auto auto auto;
        grid-column-gap: 10px;
        grid-row-gap: 10px;
    }

    .post-excerpt {
        display: none;
    }

    body.blog .blog-posts article {
        height: auto !important;
    }


    body.blog .blog-posts article:nth-of-type(2) {
        grid-area: 1 / 3 / 2 / 4;
    }

    body.blog .blog-posts article:nth-of-type(3) {
        grid-area: 2 / 3 / 3 / 4;
    }

    body.blog .blog-posts article:nth-of-type(4) {
        grid-area: 3 / 1 / 4 / 2;
    }

    body.blog .blog-posts article:nth-of-type(5) {
        grid-area: 3 / 2 / 4 / 3;
    }

    body.blog .blog-posts article:nth-of-type(6) {
        grid-area: 3 / 3 / 4 / 4;
    }

    body.blog .blog-posts article:nth-of-type(7) {
        grid-area: 4 / 1 / 5 / 2;
    }

    body.blog .blog-posts article:nth-of-type(8) {
        grid-area: 4 / 2 / 6 / 4;
    }

    body.blog .blog-posts article:nth-of-type(9) {
        grid-area: 5 / 1 / 6 / 2;
    }

    body.blog .blog-posts article:nth-of-type(10) {
        grid-area: 6 / 1 / 7 / 2;
    }

    body.blog .blog-posts article:nth-of-type(11) {
        grid-area: 6 / 2 / 7 / 3;
    }

    body.blog .blog-posts article:nth-of-type(12) {
        grid-area: 6 / 3 / 7 / 4;
    }

    body.blog .blog-posts article:first-of-type {
        grid-area: 1 / 1 / 3 / 3;
        font-size: 2rem;
    }

    body.blog .blog-posts article.post-grid:hover {
        box-shadow: 0 3px 20px 0 rgba(84, 110, 122, 0.1);
        transform: translateY(-1px);
    }

    body.blog .blog-posts article:first-of-type,
    body.blog .blog-posts article:nth-of-type(8) {
        border: none;
    }

    body.blog .blog-posts article:first-of-type:hover,
    body.blog .blog-posts article:nth-of-type(8):hover {
        box-shadow: none;
        transform: none;
    }

    body.blog .blog-posts article:first-of-type .post-excerpt,
    body.blog .blog-posts article:nth-of-type(8) .post-excerpt {
        display: block;
    }

    body.blog .blog-posts article:first-of-type h2,
    body.blog .blog-posts article:nth-of-type(8) h2 {
        font-size: calc(42px + 0.1vw) !important;
        line-height: calc(45px + 0.1vw) !important;
        margin-bottom: 20px !important;
    }

    body.blog .blog-posts article:first-of-type .cat-names,
    body.blog .blog-posts article:nth-of-type(8) .cat-names {
        margin-bottom: 25px !important;
        display: block;
    }
}

.post-author .img-thumbnail {
    background-color: transparent !important;
}


#realisations .thumb-info .thumb-info-wrapper {
    background: #333;
    border-radius: 0;
}

#realisations .thumb-info .thumb-info-wrapper .img-responsive {
    border-radius: 0;
}

span.req {
    color: darkred;
}

.portfolio-row .portfolio-col-3 {
    padding: 0px 5px 10px 5px;
}

#realisations .thumb-info .thumb-info-title {
    text-transform: uppercase;
    line-height: 37px;
    font-size: 20px;
    letter-spacing: 0;
    font-weight: 400;
}

@media (max-width: 575px) {
    .portfolio-row .portfolio-col-3 {
        width: 50%;
    }
}

.related-posts .row > .porto-carousel {
    padding-right: calc(var(--bs-gutter-x) / 2);
    padding-left: calc(var(--bs-gutter-x) / 2);
}

.related-posts .owl-carousel.owl-drag .owl-item {
    margin-right: 10px;
}

.related-posts .owl-carousel.owl-drag .owl-item:last-of-type {
    margin-right: 0 !important;
}

.blob {
    background: url('https://www.gregorychartier.fr/wp-content/uploads/2022/11/visuel-fr.jpg');
    width: 500px;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 42% 56% 72% 28% / 42% 42% 56% 48%;
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
    animation: blob 13s linear infinite;
}

@keyframes blob {
    0%, 100% {
        border-radius: 42% 56% 72% 28% / 42% 42% 56% 48%;
    }

    33% {
        border-radius: 42% 28% 48% 48% / 28% 28% 72% 72%;
    }

    66% {
        border-radius: 100% 56% 56% 100% / 100% 100% 56% 56%;
    }
}

.loadergreg {
    position: absolute;
    width: 100%;
    height: 1000%;
    background: #ecf0f1;
    z-index: 99999999999;
}

.loadergreg .loader-inner {
    position: absolute;
    top: 5%;
    left: 50%;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
}

.loadergreg span {
    position: absolute;
    width: 40%;
    height: 40%;
    border-radius: 50%;
    animation: loading 2s ease infinite;
}

.loadergreg span:nth-child(1) {
    background: var(--porto-tertiary-color);
    animation-delay: .5s;
}

.loadergreg span:nth-child(2) {
    background: var(--porto-quaternary-color);
    animation-delay: 1s;
}

.loadergreg span:nth-child(3) {
    background: var(--porto-secondary-color);
    animation-delay: 1.5s;
}

.loadergreg span:nth-child(4) {
    background: var(--porto-primary-color);

    animation-delay: 2s;
}

#nav-panel .accordion-menu li.menu-item.active > .arrow, #nav-panel .accordion-menu li.menu-item.active > a {
    color: #2e3649;
}

.nf-form-fields-required {
    text-align: right;
    font-size: .7em;
}

.illustration img {
    max-width: 85%;
    margin: 0 auto;
    display: block;
}

.nf-form-fields-required {
    display: none !important;
}

.wp-caption .wp-caption-text, .wp-caption-dd {
    text-align: center;
}

#nav_menu-2 {
    margin-top: 0;
    margin-bottom: 0;
}

#menu-footer-menu,
#menu-footer-menu-us {
    border-bottom: 0;
    margin: 0;
}

#menu-item-wpml-ls-56-en,
#menu-item-wpml-ls-56-fr {
    padding: 0;
}

.widget_archive > ul li:before, .widget_categories > ul li:before, .widget_meta > ul li:before, .widget_nav_menu > div > ul li:before, .widget_pages > ul li:before, .widget_recent_comments > ul li:before, .widget_recent_entries > ul li:before, .widget_rss > ul li:before, .wp-block-archives-list li:before, .wp-block-categories-list li:before, .wp-block-latest-comments:not(.has-avatars):not(.has-excerpts) .wp-block-latest-comments__comment:before, .wp-block-latest-posts:not(.wp-block-latest-posts__list) li:before, .wp-block-latest-posts__list.wp-block-latest-posts li:before {
    display: none;
}

.porto-view-switcher img, .wpml-ls-menu-item .wpml-ls-flag {
    margin-right: 10px;
}

.widget:first-child {
    margin-bottom: 0;
}

.thumb-info, .thumb-info .thumb-info-wrapper {
    display: block;
    position: relative;
    backface-visibility: hidden;
    transform: translate3d(0px, 0px, 0px);
    margin: 0px;
    overflow: hidden;
}

.thumb-info {
    text-decoration: none;
    max-width: 100%;
    border: 1px solid;
    overflow-wrap: break-word;
}

.thumb-info.thumb-info-centered-info .thumb-info-title {
    background: 0px 0px;
    color: rgb(255, 255, 255);
    z-index: 2;
    max-width: 90%;
    left: 5%;
    width: 90%;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
    transform: translate(0px, -30%);
    top: 50%;
    bottom: auto;
    opacity: 0;
    text-align: center;
    padding: 0px;
    position: absolute;
}


.thumb-info.thumb-info-centered-info:hover .thumb-info-title {
    opacity: 1;
    transform: translate(0px, -50%);
}

.thumb-info .thumb-info-type {
    display: inline-block;
    float: left;
    font-size: 0.6em;
    font-weight: 600;
    letter-spacing: 0px;
    margin: 8px -2px -15px 0px;
    padding: 2px 12px;
    text-transform: uppercase;
    z-index: 2;
    line-height: 2.3;
    background: var(--porto-primary-color);
}

.thumb-info.thumb-info-centered-info .thumb-info-type {
    float: none;
}

.thumb-info .thumb-info-type {
    border-radius: 2px;
}

.thumb-info .thumb-info-inner {
    transition: 0.3s;
    display: block;
    margin-bottom: 0px;
}

.thumb-info .thumb-info-wrapper::after {
    content: "";
    transition: 0.3s;
    inset: 0px;
    background: rgba(33, 37, 41, 0.8);
    position: absolute;
    display: block;
    opacity: 0;
    z-index: 1;
}

.thumb-info:hover .thumb-info-wrapper::after {
    opacity: 1;
}

.thumb-info img {
    transition: 0.3s;
    position: relative;
    width: 100%;
}

.thumb-info:hover img {
    transform: scale(1.1, 1.1);
}

/* refonte mai 2025 */

.home .blog-type-title {
    padding: 0 30px;
    font-weight: 400;
}

.home .posts-wrap img {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.testimonial.testimonial-style-4 blockquote p {
    font-size: calc(14px + 0.1vw);
}

.home .posts-wrap .porto-section {
    padding-top: 0;
    padding-bottom: 30px;
    margin-bottom: 0px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.testimonial.testimonial-style-3 .testimonial-author img {
    border-radius: 30px;
}

.testimonial.testimonial-style-4 blockquote {
    min-height: 370px;
}

.home .posts-wrap .porto-heading {
    padding: 0 30px;
    font-size: 14px;
    text-align: left;
    line-height: 23px;
    margin-bottom: 0;
    min-height: 92px;
}

.home .posts-wrap h4.porto-heading {
    margin-bottom: .5rem;
    min-height: 46px;
}

.nf-form-content .submit-container {
    margin-bottom: 0;
}

.letitrehome {
    font-weight: 700;
    font-size: 40px;
    line-height: 1.4;
}

picture.alignright,
body.single-glossaire-prestashop .page-content img,
.wpb_wrapper > p > img.alignright {
    float: right;
    padding: 40px;
    padding-right: 0;
    margin: 0;
}

.textsousblog {
    margin-top: 40px;
}

.home h1 {
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    line-height: 17px !important;
    font-weight: 700 !important;
}

.nf-form-content .list-checkbox-wrap .nf-field-element li input,
.nf-form-content .list-image-wrap .nf-field-element li input,
.nf-form-content .list-radio-wrap .nf-field-element li input {
    margin-top: 7px;
}

.btn-modern.btn-lg {
    border-radius: 4px !important;
    box-shadow: 0px 2px 14px 0px rgba(0, 0, 0, 0.1) !important;
}

.glossary-archive {
    padding: 1rem 1rem;
    margin: 0 auto;
}

.porto-faqs .toggle-content,
.porto-faqs .toggle > label {
    font-size: calc(14px + 0.1vw);
}

section.toggle label {
    color: var(--porto-body-color);
}

section.toggle.active label {
    background-color: transparent;
    border-color: transparent;
    color: var(--porto-primary-color);
}

.toggle > .toggle-content {
    padding: 0px 20px 12px 15px;
}

.archive-intro {
    margin-bottom: 3rem;
}

.glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.glossary-item {
    list-style: none;
}

.glossary-card {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.glossary-card a {
    font-size: 1.1rem;
    margin-bottom: 0;
    text-decoration: none;
    color: var(--porto-body-color);
}

.glossary-card a:hover {
    color: var(--porto-primary-color);
}

.glossary-excerpt {
    flex-grow: 1;
    color: var(--porto-body-color);
    font-size: 0.9rem;
    margin-top: 1.2rem;
}

#nav-panel,
#nav-panel .mobile-nav-wrap,
.fixed-header #header {
    background-color : #F9F9FA;
}


#menu-main-menu > li:last-child > a,
#menu-main-menu-english > li:last-child > a {
    font-size: 0!important;
}

#menu-main-menu > li:last-child > a i,
#menu-main-menu-english > li:last-child > a i {
    font-size: 16px!important;
    margin-right: 0;
}

.wc-proceed-to-checkout .btn,
.single-product .product-summary-wrap .single_add_to_cart_button,
.single-product .product-summary-wrap .view-cart-btn,
.download-file a.button {
    background-color: #9a4653;
}

.wc-proceed-to-checkout .btn:hover,
.single-product .product-summary-wrap .single_add_to_cart_button:hover,
.single-product .product-summary-wrap .view-cart-btn:hover,
.download-file a.button:hover {
    background-color: #f9f9fa!important;
    color: #9a4653!important;
}

p.demo_store {
    background-color: #9a4653;
}

p.demo_store a {
    color: #ffffff;
    text-decoration: underline;
}

ul.products .woocommerce-loop-product__title {
    white-space: normal;
}

.woocommerce-store-notice {
    display: none!important;
}

.woocommerce-page .woocommerce-store-notice {
    display: block!important;
}

@keyframes loading {
    0%, 100% {
        transform: translate(0);
    }

    25% {
        transform: translate(80px);
    }

    50% {
        transform: translate(80px, 80px);
    }

    75% {
        transform: translate(0, 80px);
    }
}

.loader.fadeOut {
    animation: fadeOut 1s alternate;
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}


@media (max-width: 1500px) {
    .home .posts-wrap .porto-heading {
        min-height: 138px;
    }

    .home .posts-wrap h4.porto-heading {
        min-height: 72px;
    }
}

@media (max-width: 1169px) {
    .home .posts-wrap .porto-heading {
        min-height: 138px;
    }

    .home .posts-wrap h4.porto-heading {
        min-height: 48px;
    }
}

@media (max-width: 767px) {
    .home .posts-wrap .porto-heading {
        min-height: 69px;
    }

    .home .posts-wrap h4.porto-heading {
        min-height: 48px;
    }
}

@media (max-width: 991px) {
    .oncachesurmobile {
        display: none !important;
    }

    #footer .footer-bottom .container > div {
        text-align: center;
    }


    #menu-item-wpml-ls-56-en, #menu-item-wpml-ls-56-fr {
        text-align: center;
    }

    #menu-item-wpml-ls-56-en a, #menu-item-wpml-ls-56-fr a {
        display: block;
    }
}

@media (max-width: 768px) {
    picture.alignright,
    body.single-glossaire-prestashop .page-content img,
    .wpb_wrapper > p > img.alignright {
        float: none;
        padding: 0px;
        margin: 0 auto;
    }
    body.blog .blog-posts article .cat-names {
        display: block;
        text-align: center;
    }

    .blog h2 {
        margin-bottom: 0 !important;
    }

    .blog .post-excerpt {
        margin-top: 10px;
    }

    #premiereligne .pb-5:first-of-type {
        padding-bottom: 50% !important;
    }

    #header .logo {
        max-width: none;
    }

    #premiereligne .align-left,
    #premiereligne .vc_column-inner,
    .centresurmobile {
        text-align: center;
    }

    .blob {
        width: 100%;
        height: 330px;
    }

    .oncachesurmobile {
        display: none !important;
    }

    .pasdepaddingsurmobile {
        padding-bottom: 0 !important;
    }

    .pasdepaddingtopsurmobile {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .pasdemarginsurmobile {
        margin-bottom: 0 !important;
    }

    .owl-dots {
        display: block !important;
    }

    .footer .links,
    #footer .widget p {
        text-align: center;
    }

    #footer .footer-main > .container {
        padding-top: 1rem;
    }

    #footer .footer-main > .container:after {
        margin-top: 1rem;
    }

    #adaptmoiaumobile {
        margin-left: 0;
        width: 100%;
        text-align: left;
    }

    .submit-wrap {
        text-align: right !important;
    }

    .pc-circles-group-1 .pc-circle-1 {
        width: 190px;
        height: 190px;
    }

    .pc-circles-group-1 .pc-circle-2 {
        left: 93%;
        top: 60%;
        width: 150px;
        height: 150px;
    }

    .pc-circles-group-1 .pc-circle-3 {
        top: 85%;
        left: 40%;
        width: 150px;
        height: 150px;
    }

    #main {
        padding-bottom: 190px;
    }

    .woocommerce-cart .woocommerce-store-notice {
        display: none!important;
    }
}

@media (max-width: 575px) {
    .home h2 {
        line-height: 27px;
    }
}