/*
 Theme Name:   Zone W3 GeneratePress child theme for AAPARS.com Virtual Gallery 2020 (artists sites)
 Theme URI:    https://zonew3.com
 Description:  GeneratePress child theme for AAPARS.com 2020 version web site
 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
-Font Resizer
-MENU
-MENU CONTEXTUEL
-CONTENT
---PAGE CA
-FOOTER
-RESPONSIVE MEDIA QUERIES

*/

/* # GENERAL
***************************/

.last-element,
p:last-child {
    margin-bottom: 0 !important;
}

/* # HEADER
***************************/

@media(min-width: 1024px) {
    .site-header .inside-header {
        display: grid;
        grid-template-columns: 250px 1fr;
        grid-template-rows: 1fr 1fr;

    }
    .site-logo {
        grid-column: 1;
        grid-row: 1 / -1;
        margin-left: -20px;
    }
    .header-widget {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        padding-right: 20px;
    }

}

.site-header .header-links-artist {
    /*font-size: 28px;*/
}
.site-header .header-links-artist .artiste {
    font-weight: bold;
    color: #61B0BC;
}
.site-header .header-links-artist .sep {
    color: #989EA4;
}
.site-header .header-links-artist .connexion {
    font-size: 16px;
}

.site-header .main-navigation.toggled a {
    background-color: #f9f9f9;
    border-bottom: 1px solid var(--base-3);
}

/* Sidebars */

.is-right-sidebar .gform_widget .gform_wrapper,
.is-right-sidebar .s2_form_widget {
    background-color: #e7e8ea;
    padding: 20px;
}
.is-right-sidebar .s2_form_widget label {
    font-weight: 700;
    display: block;
    margin-top: 20px;
    margin-bottom: 0;
    line-height: 1;
}
.is-right-sidebar .s2_message {
    font-weight: 700;
    margin: 20px 0 0 0;
}
body .is-right-sidebar .gform_widget .gform_wrapper input[type=text],
body .is-right-sidebar .gform_widget .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.is-right-sidebar .s2_form_widget input[type=email] {
    border: none;
    background-color: #fff;
}
body .is-right-sidebar .gform_widget .gform_wrapper .gform_footer {
    margin-top: 0;
    padding-bottom: 0;
}
body .is-right-sidebar .gform_widget .gform_wrapper .gform_heading,
body .is-right-sidebar .gform_widget .gform_wrapper .gform_heading .gform_description {
    margin-bottom: 0;
    margin-right: 0;
    padding-right: 0;
    line-height: 1.3;
    font-weight: 500;
}
body .is-right-sidebar .gform_widget .gform_wrapper .gform_body ul.gform_fields li.gfield {
    padding-right: 0;
}

body .is-right-sidebar .widget .royalSlider {
    margin-right: 0 !important;
    padding-right: 0 !important;
}

.is-right-sidebar .royalSlider {
    max-width: 100% !important;
}

/* NEXTGEN */
.widget.widget_slideshow .ngg_slideshow.widget {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.widget.widget_slideshow .widget-title {
    display: none !important;
}
.ngg-slideshow.slick-slider {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    height: auto !important;
    max-height: 100% !important;
}
.ngg_slideshow.widget .slick-slide {

}
.ngg_slideshow.widget .slick-slide a img {
    /*max-height: 100% !important;*/
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* # CONTENT
***************************/

body p.read-more {
    padding-top: 20px;
}

.archive .sharedaddy,
.blog .sharedaddy {
    display: none;
}

body ol, body ul {
    margin: 0 0 1em 1em;
}

/* Gravity Forms + Other Forms Styles */

body input[type=text],
body .gform_wrapper input[type=text],
body textarea,
body .gform_wrapper textarea,
body input[type=select],
body .gform_wrapper input[type=select],
body .gform_wrapper.gf_browser_chrome select,
body .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
    border: 1px solid #323e48;
    background-color: #E7E8EA;
    color: #323e48;
    padding: .75em;
    font-size: 16px;
}
body .gform_wrapper select {
    min-height: 3em;
}
body .gform_wrapper input[type=submit],
body input[type="button"], body input[type="submit"], body input[type="reset"],
body .gform_wrapper input[type="button"], body .gform_wrapper input[type="submit"], body .gform_wrapper input[type="reset"] {
    background-color: #947287;
    color: #fff;
}
body .gform_wrapper input[type=submit]:hover,
body input[type="button"]:hover, body input[type="submit"]:hover, body input[type="reset"]:hover,
body .gform_wrapper input[type="button"]:hover, body .gform_wrapper input[type="submit"]:hover, body .gform_wrapper input[type="reset"]:hover {
    background-color: #61B0BC;
    color: #fff;
}

body .gform_required_legend {
    display: none !important;
}

/* Tableaux TablePress */

body .tablepress tfoot th,
body .tablepress thead th {
    background-color: #61B0BC;
    color: #fff;
}

.tablepress.tablepress-id-1 {
    margin-top: 30px;
}

/* NextGen Gallery */

body .ngg-galleryoverview.default-view .ngg-gallery-thumbnail a {
    margin: 0 3px;
}
body .ngg-galleryoverview.default-view .ngg-gallery-thumbnail-box:first-of-type .ngg-gallery-thumbnail a {
    margin-left: 0;
}
body .ngg-galleryoverview.default-view .ngg-gallery-thumbnail-box:last-of-type .ngg-gallery-thumbnail a {
    margin-right: 0;
}
body .ngg-navigation a.page-numbers {
    background: #989EA4;
}
body .ngg-navigation span.current {
    background: #61B0BC;
}
body .ngg-navigation a.page-numbers:hover,
body .ngg-navigation span.current:hover {
    background: #323E48;
}

body .tiled-gallery,
body .tiled-gallery .gallery-row {
    width: 100% !important;
}
.tiled-gallery-item a .ngg-figure.ngg-figure-fade {
    max-width: 100% !important;
}


/* # FOOTER
***************************/

.footer-widgets .contact-artiste p {
    margin-bottom: 0.5em;
}
.footer-widgets ul.global-footer-links,
.footer-widgets ul.wp-block-navigation__container {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-widgets ul.global-footer-links li,
.footer-widgets ul.wp-block-navigation__container li {
    padding: 0.25em 0;
    text-align: left;
}
.footer-widgets ul.global-footer-links li:first-child,
.footer-widgets ul.wp-block-navigation__container li:first-child {
    padding-top: 0;
}

.site-footer .wp-block-site-title {
    margin-bottom: 0;
}

/*body .site-footer-section {
    justify-content: start;
}
.site-footer-below-section-1 .ast-builder-layout-element.ast-footer-copyright,
.site-footer-below-section-2 .footer-widget-area.widget-area {
    align-items: start;
}*/

/* # RESPONSIVE MEDIA QUERIES
***************************/

@media only screen and (max-width: 1270px) {

    .ast-custom-header.ast-header-sticky-active {
        background-color: #fff;
        background-color: rgba(255 , 255, 255, 0.9);
    }
    .ast-custom-header .elementor-column:first-of-type .elementor-widget-wrap {
        padding-bottom: 0;
    }
    .ast-custom-header .elementor-element #header-main-menu li a.elementor-item {
        padding-left: 5px;
        padding-right: 5px;
    }

}

@media only screen and (min-width: 1025px) and (max-width: 1235px) {

    .ast-custom-header header.elementor-section.elementor-element {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .ast-custom-header .elementor-element .logo-col {
        width: 18%;
    }
    .ast-custom-header .elementor-element .menus-col {
        width: 82%;
    }
    .ast-custom-header .elementor-element #header-main-menu li a.elementor-item,
    .ast-custom-header .elementor-element #header-secondary-menu li a.elementor-item {
        padding-left: 5px;
        padding-right: 5px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

}

@media only screen and (min-width: 1025px) and (max-width: 1210px) {

    .ast-custom-header .elementor-element .logo-col {
        width: 17%;
    }
    .ast-custom-header .elementor-element .menus-col {
        width: 83%;
    }

}

@media only screen and (min-width: 1025px) and (max-width: 1195px) {

    .ast-custom-header header.elementor-section.elementor-element {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .ast-custom-header .elementor-element .logo-col {
        width: 15%;
    }
    .ast-custom-header .elementor-element .menus-col {
        width: 85%;
    }

}

@media only screen and (min-width: 1025px) and (max-width: 1170px) {

    .ast-custom-header .elementor-element #header-main-menu li a.elementor-item,
    .ast-custom-header .elementor-element #header-secondary-menu li a.elementor-item {
        font-size: 16px;
    }

}

@media only screen and (min-width: 1025px) and (max-width: 1050px) {

    .ast-custom-header .elementor-element #header-main-menu li a.elementor-item,
    .ast-custom-header .elementor-element #header-secondary-menu li a.elementor-item {
        font-size: 15px;
    }

}

@media only screen and (max-width: 1024px) {

    .ast-inside-advanced-header-content .ast-advanced-headers-layout {
        padding-top: 115px;
        padding-bottom: 115px;
    }
    .ast-custom-header header.elementor-section.elementor-element {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .ast-custom-header.ast-header-sticky-active header.elementor-section.elementor-element {
        padding-top: 10px;
        padding-bottom: 10px;
    }

}

@media only screen and (max-width: 960px) {

    body.nav-float-right .header-widget {
        padding: 10px 0 0 0;
        margin: -30px 0 0 0;
        text-align: right;
    }

}

@media only screen and (max-width: 768px) {

    .ast-inside-advanced-header-content .ast-advanced-headers-layout {
        padding-top: 75px;
        padding-bottom: 75px;
    }
    .ast-inside-advanced-header-content h1.ast-advanced-headers-title {
        font-size: 50px;
    }

}

@media only screen and (max-width: 767px) {

    .ast-custom-header .elementor-container .logo-col .elementor-widget-wrap {
        padding-bottom: 10px;
    }

    .ast-custom-header .slogan-container {
        max-width: 100% !important;
    }
    .ast-custom-header .header-search-secondary-nav ul.elementor-nav-menu {
        margin-left: auto;
        margin-right: auto;
    }

    .ast-custom-header.ast-header-sticky-active .slogan-container,
    .ast-custom-header.ast-header-sticky-active .header-search-secondary-nav .elementor-column:last-of-type {
        display: none !important;
    }

}

@media only screen and (max-width: 680px) {

    .has-inline-mobile-toggle .header-widget {
        margin-top: 10px;
        text-align: left;
        padding-left: 30px;
    }

    #artistes li {
        display: block;
        float: none;
        width: 100%;
        margin-right: 0;
    }

}

@media only screen and (max-width: 600px) {

    body.nav-float-right .header-widget {
        padding: 10px 0 0 0;
        margin: 0 0 0 0;
        text-align: center;
    }

}

@media only screen and (max-width: 440px) {

    .site-logo {
        width: 100%;
        text-align: center;
    }
    body .mobile-menu-control-wrapper {
        margin: 0 auto 0 auto;
    }
    body.nav-float-right .header-widget {
        padding: 0;
    }

}

