/*
Theme Name: atheme
Theme URI: https://test.tohubohu.art
Author: Pierre Jessueld
Author URI: https://test.tohubohu.art
Description: Mon premier thème !
Requires at least: WordPress 5.0
Version: 1.0
*/



* {
  box-sizing: border-box;
}


html {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400; /* 400 = Normal */
    font-variation-settings: 'wght' 380;
    font-size: 17px;
    line-height: 17px;
    margin: 0;
    padding: 0;
}
body {
    font-size: 1rem;
    line-height: 1.42rem;
    background-color: white; 
    margin: 0px;
    padding: 0px;    
}


p {
    margin-top: 0;
    margin-bottom: 0.85rem;
}

.elementor-widget-container > p { }

strong, b {
    font-family: inherit;
    font-weight: bold; /* 700 = Bold */
    font-variation-settings: 'wght' 670;
}

/*--------------------*/
/* TITRES             */
/*--------------------*/

h1, h2, h4 {
    font-family: inherit;
    font-weight: bold; /* 700 = Bold */
    font-variation-settings: 'wght' 670;
    color:inherit;
}
h3, h5, h6 {
    font-family: inherit;
    font-weight: 600; /* 700 = Bold */
    font-variation-settings: 'wght' 570;
    color:inherit;
}

/* 800 = Extra Bold */  /* 700 = Bold */
/* 600 = Semi Bold */   /* 500 = Medium */
/* 400 = Normal */      /* 300 = Light */

h1,
h1.elementor-heading-title,
h1.elementor-size-default {
    color: black;
    font-size: 1.8rem; /*32.3px*/
    line-height: 2.0rem;
    margin-top: 2.5rem; /*42.5px*/
    margin-bottom: 1.0rem; /*17px*/
}

h2 {
    font-size: 1.30rem; 
    line-height: 1.42rem;
    margin-top: 1.9rem;
    margin-bottom: 1.0rem;
}
h2.elementor-heading-title,
h2.elementor-size-default {
    line-height: 1.42rem;
    margin-top: 1.05rem;
    margin-bottom: 1.0rem;
}

h3 {
    font-size: 1.30rem; 
    line-height: 1.846rem;
    margin-top: 1.9rem;
    margin-bottom: 1.0rem;
}
h3.elementor-heading-title,
h3.elementor-size-default {
    line-height: 1.846rem;
    margin-top: 1.05rem;
    margin-bottom: 1.0rem;
}

h4 {
    font-size:1.1rem;
    line-height: 1.4rem;
    margin-top: 1.2rem;
    margin-bottom: 0.7rem;
}

h5 {
    font-size:1.1rem;
    line-height: 1.36rem;
    margin-top: 1.1rem;
    margin-bottom: 0.0rem;
}

h6 {
    font-size:1.1rem;
    line-height: 1.36rem;
    margin-top: 1.1rem;
    margin-bottom: 0.0rem;
}

/*--------------------*/
/* PICTOS             */
/*--------------------*/

/* Symbol size */
.material-symbols-outlined {
    font-size: 28px;
    line-height: 0em;
}

#picto-open-menu, #picto-close-menu {
    display: none;
    position: absolute;
    top: 55px;
    right: 60px;
}

/*--------------------*/
/* HEADER             */
/*--------------------*/

header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1000;
    margin: 0px;
    padding: 0px;
    /*width: 100%;*/
}

#bandeau {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-left: 60px;
    padding-right: 60px;
}

/*--------------------*/
/* LOGO               */
/*--------------------*/

#logoTohuBohu {
    display: inline-block;
}

#logoTohuBohu img {
    max-width: 200px;
}

.logo {
    font-family: 'Roboto', sans-serif;
    font-weight: 900; 
    font-size:2.5rem;
    display: inline-block;
    white-space: nowrap; /*pas de césure*/
}

/*--------------------*/
/* MENU               */
/*--------------------*/

#menu {
    display: block;
}
.menu-items {
    display: block;
}

.menu-items > ul{
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 30px;
    margin: 0px;
}

.menu-item {
    list-style-type: none; /*pas de puces*/
    display: inline-block; /*menus sur la même ligne*/
}
.menu-item > a {
    text-decoration: none; /*Pas de souligné*/
    color: black; /*pas en bleu*/
}
.menu-item:hover > a{
    color: grey;
}

.menu-item-has-children > a::after {
    /* content: ' \25BE'; */ /* content: \25BD "▾▼▾"; */
    /* font-size: 1.5rem;*/
}

.menu-item-has-children:hover .sub-menu{ 
    display: block;  /*rend visible sous menu*/
}

.sub-menu {
    display: none;
    position: absolute;
    box-shadow: 6px 6px 6px 0px rgba(0,0,0,0.2);
    background-color: white;
    padding-left: 0;
    padding-right: 0;
    /* max-width: 190px;*/
    margin-left: auto;
    margin-right: auto;
}

.sub-menu li {
    display: block; /*passage à la ligne*/
    list-style-type: none; /*pas de puces*/
    padding: 6px;
    padding-left: 0;
    padding-right: 0;
    
}
.sub-menu li > a {
    color: black; /*pas en bleu*/
    text-decoration: none; /*Pas de souligné*/
    padding: 6px;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
}

.sub-menu li > a:hover {
    color: white;
}
.sub-menu li:hover {
    background-color: darkgrey; 
}

/*---------------------*/
/* FOOTER ELEMENTOR    */
/*---------------------*/

.foot-adresse-elem {
    background-color: #EEEEEE;
}
.foot-adresse-elem a {
    color: black;
}

/*.foot-adresse-elem p,*/
.foot-adresse-elem a {
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
}

/*---------------------*/
/* FOOTER PAGE CONTACT */
/*---------------------*/

.bandeau-contact {
    background-color: white;
    padding-left: 60px;
    padding-right: 60px;
}

#footcontact {
    background-color: #EEEEEE;
    padding-left: 60px;
    padding-right: 60px;
    padding-top: 14px;
    padding-bottom: 30px;
}

.contact {
    display: flex;
    flex-flow: row nowrap;
    gap: 30px;
}

.contact a{
    text-decoration: none; /*Pas de souligné*/
    color: black;
}
.contact a:hover {
    color: grey;
}

.adresse {
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    width: 80vw;
}
.adresse p {
    margin-bottom: 0.0rem;
}
.adresse-bas {
    /*background-color: lightblue;*/
}
.adresse-bas p {
    font-size: 14px;
}

.form-contact {
    width: 100%;
}
.form-contact input {
    width: 100%;
    border:1px solid; 
    border-color: lightgray;
}
.form-contact textarea {
    width: 100%;
    min-height: 60px;
    border:1px solid; 
    border-color: lightgray;
}
input[type="submit"] { 
    font-family: 'Open Sans', sans-serif;
    font-weight: 600; 
    font-size: 17px;    
    color: white; 
    background-color: black; 
    border:1px solid; 
    padding: 6px;
    padding-left: 9px;
    padding-right: 9px;
    width: auto;
    margin-bottom: 0px;
}


/*--------------------*/
/* FOOTER LINES       */
/*--------------------*/

/* foot-lines lines-adresse lines-telmail lines-infos
    line-item line-item-last */

#footer {
    background-color: #EEEEEE;
    padding-left: 60px;
    padding-right: 60px;
    padding-top: 17px;
    padding-bottom: 30px;
}

.foot-lines {
    display: flex;
    flex-flow: column wrap;
    gap: 0px;
}

.lines-adresse, 
.lines-telmail {
    font-size: 17px;
    font-style: normal; /*non italique (adress)*/
}
.lines-infos .line-item {
    font-size: 14px;
}

.lines-adresse, 
.lines-telmail, 
.lines-infos {
    display: flex;
    flex-flow: row; nowrap;
    gap: 8px;
    /*justify-content: center;*/
    justify-content: flex-start;
}

.lines-telmail a {
    color: black;
    text-decoration: none; /*Pas de souligné*/
}

.item-separator { }

.line-item { }


/*--------------------*/
/* @MEDIA             */
/*--------------------*/

/* Écrans <= 1023 px - Menu court */
@media screen and (max-width: 1023px) {
    /* Menu court */

    /*BANDEAU HEADER*/

    #picto-open-menu, #picto-close-menu {
        right: 44px;
    }

    #bandeau {
        justify-content: center;
        align-items: center;
        flex-flow: column wrap;
        padding-left: 44px;    
        padding-right: 44px;    
    }

    #menu {
        display: none;
    }

    #picto-open-menu {
        display: block;
    }

    .menu-items {
        display: block;
        padding-top: 10px;
    }
    .menu-items > ul {
        display: flex;
        flex-flow: column wrap;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 0;
        padding-top: 6px;
        padding-bottom: 6px;
    }

     .menu-items li {
        text-align: center;
     }

    .sub-menu {
        position: relative;
        text-align: center;
    }

    .sub-menu li { }

    .menu-item-has-children ul {  }


    /*FOOTER PAGE CONTACT*/

    .bandeau-contact {
        padding-left: 44px;
        padding-right: 44px;
    }

    #footcontact {
        padding-left: 44px;
        padding-right: 44px;
    }

    .adresse {
        width: 100%;
    }

    /*FOOTER LINES*/

    #footer {
        padding-left: 44px;
        padding-right: 44px;
    }

}


/* Écrans <= 767 px - 1 colone image full size*/
@media screen and (max-width: 767px) {
    /* 1 colone */


    /*BANDEAU HEADER*/

    #bandeau {
        padding-left: 28px;    
        padding-right: 28px;    
    }

    #picto-open-menu, #picto-close-menu {
        right: 28px;
    }

    /*FOOTER PAGE CONTACT*/

    .bandeau-contact {
        padding-left: 28px;
        padding-right: 28px;
    }

    #footcontact {
        padding-left: 28px;
        padding-right: 28px;
    }

    .contact {
        flex-direction: column-reverse;
    }
    input[type="submit"] { 
        margin-bottom: 20px;
    }

    /*FOOTER LINES*/

    #footer {
        padding-left: 28px;
        padding-right: 28px;
    }

    .foot-lines {
        gap: 17px;
    }

    .lines-adresse, 
    .lines-telmail, 
    .lines-infos {
        flex-flow: column; wrap;
        gap: 0px;
        justify-content: flex-start;
    }
    .item-separator { 
        display: none;
    }

}

/* Smartphone paysage 320-1023 px - No Sticky */
@media screen and (min-device-width: 320px) and (max-device-width: 1023px) and (orientation : landscape) {
    /* No Sticky */

    /*Conserver taille du texte sur Safari ios en mode paysage*/
    p, form label, .foot-lines .line-item,
    .elementor-widget-container  p  {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    #logoTohuBohu img {
        max-width: 150px;
    }

    /*BANDEAU HEADER*/

    header {
        /*position: -webkit-sticky;*/
        /*position: sticky;*/
        position: relative;
    }

    #bandeau {
        padding-top: 1.0rem;
        padding-bottom: 1.0rem;
        padding-left: 28px;    
        padding-right: 28px;    
    }

    #picto-open-menu, #picto-close-menu {
        top: 30px;
        right: 28px;
    }

    .menu-items > ul {
        gap: 8px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .sub-menu li {
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .sub-menu li > a {
        padding-top: 5px;
        padding-bottom: 5px;
    }

}

/* Écrans <= 430 px - Taille logo réduit*/
@media screen and (max-width: 430px) {
    /* 1 colone */
    .logo {
        font-size:1.8rem;
    }
    #logoTohuBohu img {
        max-width: 150px;
    }

    #picto-open-menu, #picto-close-menu {
        top: 44px;
        right: 28px;
    }
}

/* Montre 0-319 px */
@media screen and (max-width: 319px) {
    /* No Sticky */
}
