/*
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
*/

/*
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
*/


/*Suppression de l’ombrage des figures de la visionneuse lightbox*/
.elementor-lightbox .elementor-lightbox-image {
    box-shadow: none !important;
}


* {
  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*/
}

.elementor-widget-heading h1, 
.elementor-widget-heading h1.elementor-heading-title, 
.elementor-widget-heading 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, 
h2.elementor-heading-title,
h2.elementor-size-default {
    font-size: 1.30rem; 
    line-height: 1.42rem;
    margin-top: 1.9rem;
    /* margin-top: 1.05rem; */
    margin-bottom: 1.0rem;
}

.elementor-widget-heading h2, 
.elementor-widget-heading h2.elementor-heading-title, 
.elementor-widget-heading h2.elementor-size-default {
    font-size: 1.30rem; 
    line-height: 1.42rem;
    margin-top: 1.9rem;
    /* 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, 
h3.elementor-heading-title,
h3.elementor-size-default {
    font-size: 1.30rem; 
    line-height: 1.846rem;
    margin-top: 1.9rem;
    margin-bottom: 1.0rem;
    /* margin-top: 1.05rem; */
}

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:3.6rem;
    line-height: 1.36rem;
    margin-top: 1.1rem;
    margin-bottom: 0.0rem;
}

/*--------------------*/
/* h6 TEMPO             */
/*--------------------*/

/*
h6 {
    font-weight: bold; 
    font-variation-settings: 'wght' 670;
    color: black;
    font-size: 1.8rem; 
    line-height: 4.0rem;
    margin-top: 2.5rem; 
    margin-bottom: 1.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,
#logoCala8 {
    display: inline-block;
}
#logoTohuBohu img,
#logoCala8 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 LINES       */
/*--------------------*/

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

#footer {
/*    background-color: #EEEEEE;*/

    margin-top: 60px;
    border-top: thin solid;

    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 {
        padding-left: 44px;    
        padding-right: 44px;    
    }

    /*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*/

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

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

    #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 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,
    #logoCala8 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 */
}

/* PAS DE DÉCORATION POUR LES LIENS */
a {
    text-decoration: none;
}
