/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
 Text Domain: generatepress-child
*/
h1, h2, h3, h4, h5, h6 {
    font-family: var(--default-title-font) !important;
    line-height: 1.1em; 
}

h1, h2{
    font-weight: 600;
    margin-bottom: 30px;
}

h1 {
    font-size: 35px !important;
}

h2 { /* Titre section page */
    font-size: 30px !important;
}

h3 {  /* "Section" des articles  */
    font-size: 22px !important;
}

h4 { /* Nom produit */
    font-size: 25px !important;
    font-weight: 400;
}

h5, .box-notre-choix .su-box-title, .box-normal .su-box-title, .entry-title {
    font-size: 20px !important;
    font-weight: 400;
}

h6 {
    font-size: 18px !important;
    font-weight: 400;
}

.flex-column-container{
    display: flex;
    flex-direction: column;
}

#page {
    max-width: 100vw;
}

#main {
    max-width: 1080px;
    margin: 0 auto;
}

.site-footer, .site-info{
    background-color: var(--secondary-color);
    color: #fff;
}

.footer-container {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    color: white;
    padding: 0 15px;
    padding-top: 25px;
}

.footer-newsletter-container, .footer-description-container {
    max-width: 400px;
    margin-right: 15px;
}

.footer-menu {
    margin-bottom: 15px;
}

.footer-menu a{
    color: #fff;
    text-decoration: none;
}

.footer-menu a:hover{
    color: #fff;
}

.footer-menu a:visited{
    color: #fff;
}

.footer-lang-container {
    margin: 0 20px 0 0;
}

.footer-lang-socials-container {
    display: flex;
    flex-wrap: wrap;
}

.footer-socials-icon {
    margin-right: 10px;
}

.content_container {
    max-width: 1080px;
    margin: 0 auto;
}

.content_container_short {
    max-width: 810px;
    margin: 0 auto;
}

.content_container_shortest {
    max-width: 600px;
    margin: 0 auto;
}

section{
    padding: 50px 0;
}

.inside-section{
    margin-top: 70px;
}

@media only screen and (max-width: 815px) {
    .footer-container{
        flex-wrap: wrap;
        justify-content: center;
    } 

    .footer-description-container {
        margin-top: 25px;
    }

    .footer-lang-socials-container {
        justify-content: center;
    }

    section {
        padding-left: 10px !important;
        padding-right: 10px !important;
      }
}

p, a, span{
    font-family: var(--default-text-font);
}

h4 a{
    font-family: var(--default-title-font) !important;
    text-decoration: underline !important; 
}

.text_center {
    text-align: center;
}

/* Header */

.site-logo{
    width: 10em;
}

#site-navigation{
    margin: 0 auto;
}

.main-navigation .main-nav ul li a{
    padding: 0 10px;
}

.wp-block-search__button{
    margin: 0;
    background-color: var(--main-color);
    padding: 5px 10px;
}

.wp-block-search__button svg{
    min-height: 2em;
    min-width: 2em;
}

.header-widget{
    margin-left: 10px !important;
}

.widget_search form{
    margin: 0 !important;
}

@media(max-width:1000px){
    .widget_search form{
        float: none;
    }

    .header-widget{
        display: none;
        margin: 10px 0 0 !important;
        max-width: 100%;
      }
    
    #site-navigation{
        order: 4;
    }
}