/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

/* Global */
h2.elementor-size-xxl:before {
    content: url('/wp-content/uploads/2020/04/title_effect_1.png');
}
h2.elementor-size-xxl:after {
    content: url('/wp-content/uploads/2020/04/title_effect_2.png');
}


.h1_lignes h1 {
    display: inline-block;
    position: relative;
    margin-bottom: 20px;
}
.h1_lignes h1:before {
    content: "";
    position: absolute;
    top: 50%;
    left: -40px;
    width: 15px;
    border-bottom: 2px solid #E6B275;
}
.h1_lignes h1:after {
    content: "";
    position: absolute;
    top: 50%;
    right: -40px;
    width: 15px;
    border-bottom: 2px solid #E6B275;
}


.h2_lignes h2 {
    display: inline-block;
    position: relative;
    margin-bottom: 20px;
}
.h2_lignes h2:before {
    content: "";
    position: absolute;
    top: 50%;
    left: -40px;
    width: 15px;
    border-bottom: 2px solid #E6B275;
}
.h2_lignes h2:after {
    content: "";
    position: absolute;
    top: 50%;
    right: -40px;
    width: 15px;
    border-bottom: 2px solid #E6B275;
}




.btn_texte_simple a:after {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 0px;
    width: 90px;
    border-bottom: 1px solid #000;
}



/*GALLERIE BOUTONS*/
.elementor-widget-gallery .elementor-gallery__titles-container .elementor-gallery-title.elementor-item-active, .elementor-widget-gallery .elementor-gallery__titles-container .elementor-gallery-title:hover {
	color: #fff;
	background-color: #e6b275;

}
.elementor-widget-gallery .elementor-gallery__titles-container .elementor-gallery-title:after {
	content: none;
}
.elementor-widget-gallery .elementor-gallery-item__title:after {
	content: "";
	width: 40px;
	border-bottom: 1px solid #fff;
	position: absolute;
	bottom: -2px;
	left: calc(50% - 20px);
}


.page-content button.cmplz-blocked-content-notice.cmplz-accept-marketing {
    background-image: none;
    background-color: var(--e-global-color-primary) !important;
    font-family: 'Montserrat' !important;
    font-size: 14px !important;
    font-weight: normal !important;
}

/* Menu */
#main-menu nav > ul > li:not(:first-child):before {
    content: "\2022";
    color: #F26549;
    display: inline-block;
    font-size: 26px;
    padding-top: 3px;
    vertical-align: middle;
    height: 100%;
    width: 8px;
}
    #main-menu nav > ul > li > a {
        display: inline-block;
    }
    #main-menu nav > ul > li.current-menu-parent > a.has-submenu {
        color: var(--e-global-color-primary);
    }
    #main-menu nav > ul > li.current-menu-parent > a.has-submenu > span {
        color: #4C5867;
    }
#main-menu .sub-menu {
    clip-path: polygon(0 5px, 100% 0, 100% 105%, 0 100%);
    padding-top: 20px;
    padding-bottom: 15px;
}
#main-menu .elementor-nav-menu .sub-arrow {
    display: inline;
}

/* Page title & breadcrumb */
header.page-header {
    display: none;
}
#header-breadcrumb a {
    display: inline-block;
    margin-right: 5px;
}
#header-breadcrumb a:not(:first-of-type) {
    margin-left: 5px;
}
#header-breadcrumb span.breadcrumb_last {
    display: inline-block;
    margin-left: 5px;
}

/* Home Page */
body.home #header-breadcrumb {
    display: none;
}
#home-main-container {
    background-position: 30% 130px;
}
    #home-main-container h2:before {
        content: url('/wp-content/uploads/2020/04/title_effect_1.png');
    }
    #home-main-container h2:after {
        content: url('/wp-content/uploads/2020/04/title_effect_2.png');
    }

/** About block **/
#home-about-block {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 33px), 0 100%);
}
    #home-about-block #home-about-text h3 {
        font-size: 45px;
    }
    #home-about-block #home-about-text a {
        display: inline-block;
        margin-top: 20px;
        color: var(--e-global-color-primary);
        font-family: var(--e-global-typography-primary-font-family), Sans-serif;
        font-size: 30px;
        font-weight: bold;
    }
    #home-about-block #home-about-text a:hover {
        color: #000000;
    }

/** Services blocks **/
#home-main-container .services-blocks.with-background {
    background: url('/wp-content/uploads/2020/04/prestations_fond.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 300px;
    margin-bottom: -300px;
}
    #home-main-container .services-blocks .service-block:first-of-type .service-block-text {
        clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
    }
    #home-main-container .services-blocks .service-block:nth-of-type(2) .service-block-text {
        clip-path: polygon(0px 15px, 99% 0, 100% 95%, 5px 100%);
    }
    #home-main-container .services-blocks + .services-blocks .service-block:first-of-type .service-block-text {
        clip-path: none;
    }
    #home-main-container .services-blocks + .services-blocks .service-block:nth-of-type(2) .service-block-text {
        clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
    }
        #home-main-container .service-block img {
            margin: 0 30px 110px 25px;
        }
        #home-main-container .service-block h3 {
            font-size: 35px;
        }
        #home-main-container .service-block a {
            display: inline-block;
            margin-top: 20px;
            color: #ffffff;
            font-family: var(--e-global-typography-primary-font-family), Sans-serif;
            font-size: 17px;
            font-weight: bold;
            padding: 4px 20px;
            background-image: url('/wp-content/uploads/2020/04/fond_en_savoir_plus.png');
            background-size: contain;
            background-repeat: no-repeat;
        }
        #home-main-container .service-block a:hover {
            transition-duration: 0.3s;
            color: #ffffff;
            filter: brightness(75%);
        }

/** Reviews block **/
#home-reviews {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 33px), 0 100%);
}
    #home-reviews .elementor-testimonial__footer cite, .elementor-testimonial__header cite {
        width: 100%;
    }

/** News block **/
#home-news-block {
    clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
}

.b_actus h3 {
    text-overflow: clip;
    height: 66px;
    overflow: hidden;
}

.b_actus .elementor-widget-theme-post-excerpt {
        margin-bottom: 16px!important;
}

.b_actus .elementor-widget-theme-post-excerpt p {
        margin-block-end: 0;
}

@media (max-width: 767px) {
    #home-news-block .elementor-posts article.elementor-post {
        display: block;
    }
    #home-news-block .elementor-post__thumbnail__link {
        margin-bottom: 20px;
    }
}

/** Contact block **/
@media (max-width: 1400px) {
    #home-contact-block {
        background-image: none;
    }
}

/* Artist page */
#artist-container {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), 0 100%);
}
#artist-container .elementor-widget-video.cmplz-blocked-content-container {
    background-color: transparent;
    background-image: none !important;
    box-shadow: none;
}
    #artist-container .elementor-widget-video.cmplz-blocked-content-container button.cmplz-blocked-content-notice.cmplz-accept-marketing {
        position: initial !important;
        width: auto;
        left: 0;
        top: 0;
        transform: none;
    }

/* Gallery page */
#gallery-container .e--pointer-double-line .elementor-item:after,
#gallery-container .e--pointer-double-line .elementor-item:before,
#gallery-container .e--pointer-overline .elementor-item:after,
#gallery-container .e--pointer-overline .elementor-item:before,
#gallery-container .e--pointer-underline .elementor-item:after,
#gallery-container .e--pointer-underline .elementor-item:before {
    z-index: 0;
}

/* Services pages */
body:not(.home) .service-block a[role=button] {
    font-size: 18px !important;
    padding: 8px 20px !important;
}

/* Blog page */
@media (max-width: 767px) {
    #blog-container .elementor-posts article.elementor-post {
        display: block;
    }
    #blog-container .elementor-post__thumbnail__link {
        margin-bottom: 20px;
    }
}

/* Search results page */
body.search-results #header-breadcrumb h1 {
    display: none;
}

/* Contact page */
#contact-form {
    clip-path: polygon(0 2%, 100% 0, 100% 100%, 0 99%);
}

/* WooCommerce */
.woocommerce .add_to_cart_button {
    display: block;
    width: 100%;
    text-align: center;
}
.woocommerce #respond input#submit.loading::after,
.woocommerce a.button.loading::after,
.woocommerce button.button.loading::after,
.woocommerce input.button.loading::after {
    top: 10px;
    left: none;
    right: 5px;
}
.woocommerce #respond input#submit.added::after,
.woocommerce a.button.added::after,
.woocommerce button.button.added::after,
.woocommerce input.button.added::after {
    display: none;
}
.woocommerce .added_to_cart {
    display: block !important;
    width: 100%;
    text-align: center;
}

/** Product page **/
body.single-product p.price {
    margin: 0;
}
body.single-product form.cart {
    margin-bottom: 2em !important;
}
body.single-product form.variations_form table.variations td {
    background: transparent;
}
body.single-product form.variations_form .single_variation_wrap .woocommerce-variation.single_variation {
    margin-bottom: 20px;
}
body.single-product .woocommerce-Price-amount.amount {
    color: #000000;
    font-weight: bold;
}
body.single-product form.cart div.quantity .qty {
    height: 46px;
}
body.single-product table.shop_attributes {
    border-top: 1px solid rgba(0,0,0,.1);
    border-bottom: 1px solid rgba(0,0,0,.1);
}
body.single-product table.shop_attributes td {
    padding: 8px;
}

/** Cart page **/
body.woocommerce-cart form.woocommerce-cart-form .product-remove a.remove {
    line-height: 1em;
}
body.woocommerce-cart form.woocommerce-cart-form .product-quantity .quantity input.qty {
    width: 5rem;
    padding: 8px;
}
body.woocommerce-cart form.woocommerce-cart-form .actions .coupon input {
    height: 46px;
    width: 170px;
}

/* Footer */
#footer {
    clip-path: polygon(0 0, 100% 15px, 100% 100%, 0 100%);
}
body:not(.home) #footer {
    margin-top: 30px;
}
#copyright a {
    color: #bcbaba;
}
#copyright a:hover {
    color: var(--e-global-color-primary);
}
@media only screen and (max-width: 768px) {
    #footer #footer-contact {
        text-align: center;
    }
        #footer #footer-contact img {
            float: none;
            display: block;
            margin: 0 auto 10px auto;
        }
    #footer #footer-menu {
        text-align: center;
    }
        #footer #footer-menu a {
            display: inline-block;
        }
}

/* GDPR banner */
button.cc-revoke:hover {
    color: #333333 !important;
    background-color: #ffffff !important;
}


/*GALLERIE*/

.dialog-lightbox-message .elementor-slideshow__footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
    background-color: #000;
}

.dialog-lightbox-message .elementor-slideshow__footer .elementor-slideshow__title {
    font-size: 20px;
}

.dialog-lightbox-message .elementor-slideshow__footer .elementor-slideshow__title, .dialog-lightbox-message .elementor-slideshow__footer .elementor-slideshow__description {
    max-width: 600px;
    margin: auto;
}