

.normal-mode {
    --bg-color:                 white;
    --txt-color:                black;

    --btn-carousel-bg-color:        #F4F6F6;        /* gris clair */
    --btn-carousel-border-color:    #F4F6F6;
    --btn-carousel-color:           #F04459;        /* rouge Apple */

    --pt-page-bg-color:             white;
    --rubrique-color:               #F04459;  

}


.dark-mode {
    --bg-color:                     black;
    --txt-color:                    white;
        
    --btn-carousel-bg-color:        rgb(28,28,30);
    --btn-carousel-border-color:    rgb(28,28,30);
     --btn-carousel-color:          white;

    --pt-page-bg-color:             black;
    --rubrique-color:               grey;  


}



* {
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}



body {
    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
    -webkit-user-select: none;                  /* prevent copy paste, to allow, change 'none' to 'text' */


    font-family:        system-ui, -apple-system, -apple-system-font, 'Segoe UI', 'Roboto', sans-serif;
    font-size:          12px;
    height:             100vh;
    margin:             0px;
    padding:            0px;

    overflow-y:         hidden;
    overflow-x:         hidden;
    width:100%;

    background-color: var(--bg-color);
    color           : var(--txt-color);

    /* Padding to avoid the "unsafe" areas behind notches in the screen */
    /* padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);  */

}




h1            { font-size: 1.5em; font-weight: bold;  }
h2            { font-size: 1.4em; font-weight: bold;  }
h3            { font-size: 1.3em; font-style: italic; }
a             { font-size: 1.0em;                     }
blockquote    { font-size: 1.0em;                     }

blockquote p  { font-size: 1.0em;                     }
p             { font-size: 1.3em;                     }
figcaption    { font-size: 0.8em; color:grey;         }
li            { font-size: 1.3em;                     }
ul            { font-size: 1.0em;                     }
ul li         { font-size: 1.3em;                     }
ul li a h3    { font-size: 1.3em;                     }
p a           { font-size: 1.0em;                     }


td {
    display:    block; 
    width:      100%; 
    height:     100%;
}

.modal {
   position:    absolute;
   top:         60px;
   z-index:     10040;
   overflow:    scroll;
   overflow-y:  scroll;
   color:       black;
}
.infoCenter {
    
    font-weight:        bold;
    font-size:          2.0em; 
    color:              grey;
    width:              100%;
    text-align:         center;
    position:           absolute;
    top:                35%;




}


.btn-carousel {
    font-weight:        bold;
    height: 3.0em;
    font-size: 1.1em;
    border-radius: 7px;

    background-color: var(--btn-carousel-bg-color);   
    border-color:     var (--btn-carousel-border-color); 
    color:            var(--btn-carousel-color);     



}

.btn-carousel:active,
.btn-carousel:focus,
.btn-carousel:hover {
    background-color:   #F4F6F6;        /* gris clair */
    border-color:       #F4F6F6;
    outline:            none;
    color:              #F04459;        /* rouge Apple */
        
}

.rubrique {
    color:  var(--rubrique-color);           
    font-size: 1.8em;
}

.iconeLargeVueRight {
    float:right;
    padding: 8px;
    font-size: 1.5em;
}

.iconeLargeVueLeft {
    float:left;
    padding: 15px;
    font-size: 1.5em;
}

.comment {
    font-size: 1.0em; 
    line-height: 1.2em;
}

#ToggleDark {

    margin-right: 1.0em;
}

#table_liste a { 
    text-decoration:    none;
    color:              #5D6D7E ; gris fonce
    font-size:          1.6em;
}


#ListeRss {
    height: 350px;
    overflow: scroll;
    -webkit-overflow-scrolling:touch;
}


#container_bp {
    margin-top:     .7em;
    margin-bottom:  .7em;
}

#carousel-wrapper {
    margin-top: 3.0em;
    overflow: scroll;
    -webkit-overflow-scrolling:touch;
}

#rssContainer, #rssContainerCarte {

    margin-top: 2.5em;
    position: absolute;
    top: 6%;
    left:0;
    height: 84%;
    width: 100%;
    overflow-y: : scroll;
    overflow-x: hidden; 
    -webkit-overflow-scrolling:touch;
    z-index: 1;

}

#fluxTexte {

    margin-top: 2.5em;
    position: absolute;
    top: 6%;
    left:0;
    height: 84%;
    width: 100%;
    overflow-y: : scroll;
    overflow-x: hidden; 
    -webkit-overflow-scrolling:touch;
    z-index: 1;

}

.addRss {
    max-height: 120px;
    overflow: scroll;
    -webkit-overflow-scrolling:touch; 
}

.logo {

    border-radius: 5px;
    width: 100%;
}

#ListeRssLabel {
    margin-top:40px;
    font-size: 20px;
    margin-bottom:20px;
}


#loader {
    position: absolute;
    top: 40%;
    left: 43%;
    width: 60px;
    height: 60px;
    z-index: 2;
}

#photoLoaded {
    position: absolute;
    top: 38%;
    left: 43%;
    width: 60px;
    height: 20px;
    font-size: 1.5 em;
    text-align:center;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 3px;
    z-index: 100;
}

#bp_enter {
    position: absolute;
    top: 300px;
    left: 43%;
    width: 60px;
    height: 60px;
    
    border: none;
    color: white;
    background-color: red;
    border-radius: 50%;
    vertical-align: middle;
    font-size: 16px;
    z-index: 100;
}

.buttonGo {
    background-color: red;
    border: none;
    color: white;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

.imageshadow {
    padding: 1px;
    border: solid 1px #CCC;
    -moz-box-shadow: 1px 1px 7px #999;
    -webkit-box-shadow: 1px 1px 7px #999;
    box-shadow: 1px 1px 7px #999;
}

.thumb {
    display: inline-block;
    width:100%;
    padding-top: 100%;
    margin-right: 0px;
    background-position: center center;
    background-size: cover;
    
}


/* Header Style */
.codrops-top {

    text-transform: uppercase;
    position:       fixed;
    top: 0;
    left:0;
    
    width: 100%;
    font-size: 1.8em;

    z-index: 99;
    margin-top: 2.0em;

}

.codrops-top a {
    padding: 0 0.5em;
    display: inline-block;
    color: grey;
    text-decoration: none;
    

}


.codrops-top span.right {
    float: right;
}

.codrops-top span.right a {
    float:      left;
    display:    block;
}

.codrops-icon:before {
    font-family: 'codropsicons';
    margin: 0 4px;
    speak: none;
    font-style:     normal;
    font-weight:    normal;
    font-variant:   normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}
