/*
 Theme Name:   Zone W3 GeneratePress Child Theme for Équiliste
 Theme URI:    https://zonew3.com
 Description:  GeneratePress child theme for equiliste.humanovis.ca
 Author:       Stéphane Bergeron
 Author URI:   https:/zonew3.com
 Template:     generatepress
 Version:      1.0.0
 Tags: two-columns, three-columns, one-column, right-sidebar, left-sidebar, fluid-layout, responsive-layout, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, featured-images, theme-options, light, white, dark, black, blue, brown, gray, green, orange, pink, purple, red, silver, tan, yellow
*/

/* # Table of Contents
-GENERAL
-HEADER
-FOOTER
-PAGE SPECIFIC
--Home
-RESPONSIVE MEDIA QUERIES

*/

/* # GENERAL */

.full-width-content .site.container {
    width: 100%;
    margin: 0;
    padding: 0;
}

p:last-child{
    margin-bottom: 0;
}

.page-template-default #page.container {
    padding-left: 0;
    padding-right: 0;
}
.page-template-default.separate-containers .site-main {
    margin-top: 0;
}

/* # HEADER */

/* # FOOTER */

body .footer-widgets .footer-widget-1 {
    text-align: center;
    flex-grow: 4;
}
body .footer-widgets .footer-widget-2 {
    flex-grow: 4;
}
body .footer-widgets .footer-widget-3 {
    flex-grow: 2;
}
/*body .site-footer .footer-widgets-container .footer-widget-2 {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
body .site-footer .footer-widgets-container .footer-widget-2 aside.inner-padding {
    padding: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}*/

body .footer-widgets .footer-widget-1 .footer-propulse,
body .footer-widgets .footer-widget-1 .footer-partenaire {
    margin-bottom: 0;
}
body .footer-widgets .footer-widget-1 .footer-propulse .custom-html-widget {
    font-weight: 600;
    font-size: 20px;
    padding-bottom: 15px;
    padding-top: 10px;
}

/* # PAGE/POST SPECIFIC */

/* ## Home */

.elementor .elementor-element.home-intro-text {
    max-width: 520px;
}

/* ## Cartes virtuelles - Single */

.item-grille-cartes .elementor-flip-box__back {
    background-color: #ededed;
}
.wrapper-grille .item-grille-cartes {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    border-radius: 20px;
}

.wrapper-grille .item-grille-cartes .elementor-flip-box__back {
    background-color: #fff;
}

body .elementor .elementor-widget-wrap .cartes-grille .eael-grid-post-holder {
    border: none;
}
body .elementor .elementor-widget-wrap>.cartes-propulse-humanovis {
    /*max-width: 40%;*/
}

body .carte-thematique .carte-verso-2 p:nth-last-of-type(2) {
    margin-bottom: 0;
}
body .carte-thematique .carte-verso-2 a:link {
    text-decoration: underline;
}

body.label-verso-2-narrow-wide .carte-thematique .carte-verso-2 .elementor-column.elementor-col-50:first-child {
    width: 30%;
}
body.label-verso-2-narrow-wide .carte-thematique .carte-verso-2 .elementor-column.elementor-col-50:last-child {
    width: 70%;
}
body.label-verso-2-narrow-wide .carte-thematique .carte-verso-2 .elementor-column.elementor-col-50:first-child .elementor-image img {
    max-width: 70%;
}

div#n2-ss-2 .slider-left-content-col .n2-ss-layer-content {
    border-radius: 30px 30px 0 0;
}

/* ## Ressources */

body .cartes-ressources .elementor-button-text {
    text-align: left;
}

/* ## Formulaires */

body .with_frm_style select[multiple="multiple"] {
    padding: 20px 20px;
    border-radius: 30px 0 0 30px;
}

/* # RESPONSIVE MEDIA QUERIES */

@media only screen and (max-width: 1280px) {

    .page-template-default #page.container {
        padding-left: 20px;
        padding-right: 20px;
    }

}

@media only screen and (max-width: 700px) {

    div#n2-ss-2 .slider-left-content-col .n2-ss-layer-content {
        border-radius: 0 0 30px 30px;
    }

}

@media only screen and (max-width: 768px) {

    .page-template-default #page.container {
        padding-left: 0;
        padding-right: 0;
    }
    .page-template-default.separate-containers .site-main {
        margin-top: 0;
    }
    .separate-containers .inside-article {
        padding: 0 20px 20px 20px
    }
}


@media only screen and (max-width: 530px) {

    body .has-inline-mobile-toggle .inside-header {
        text-align: center;
    }
    body .has-inline-mobile-toggle .inside-header .site-logo {
        width: 100%;
        text-align: center;
    }
    body .mobile-menu-control-wrapper {
        margin-left: auto;
        margin-right: auto;
    }

}