/* Feuille de style : contient tous les styles standard du site
    y compris pour les médias écran (screen : portable ou tablette) */
/* Google fonts*/
@import url('https://fonts.googleapis.com/css2?family=Engagement&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');
:root {
    --infosorientation: column wrap;
  }
html,
body {
  box-sizing: border-box;
  height: 100%;
  padding: 0;
  margin: 0;
}
body {
    background: url('/images/binicvueport1500.jpg')no-repeat center fixed;
    -webkit-background-size: cover;
    background-size: cover;
    font: 1em sans-serif;
    color: black;
}
page {
  box-sizing: border-box;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
a{
	color: rgb(162, 33, 33);
	text-decoration: none;
}
.atop:visited {
	color: rgb(162, 33, 33);
}   
.atop:hover {
	color: orange;
}
header, main, footer {
    display: flex;
    width: 90%;
    height: auto;
    max-width: 1500px;
}

header {
    /*display:flex;*/
    background-image: url("/logos/fondbann.png");
    flex-flow: row nowrap;
    position: sticky;
    top: 0px;
    background-color: white;
    border: 0px solid grey;
    border-radius: 0 0 10px 10px;
    border-top-style: none;
    box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.34);
    margin: 0px auto;
    z-index: 1;
    min-width: 1100px;
}
headerimg {
    display: block;
}
header>img {
    object-fit: scale-down;
    float: left;
    margin: 0px
}
banniere {
    position: relative;
    background-repeat: repeat;
    margin: 0px;
    flex-grow: 1;
    width: calc(100% - 200px);
}
.banniere { /* contient l'image svg*/
    overflow: hidden;
    padding: 0px;
}

.interface {
    display: flex;
    align-content: center;
    align-items: center;
	position: absolute;
    padding: 0px;
	top: 0px;
	right: 0px;
	background-color: whitesmoke;
    border-bottom-left-radius: 10px;
}
/*
banniere>h1 {
    display: inline-block;
    flex: 2 2 80%;
    font-family: 'Engagement', cursive;
    font-size: 2em;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #1f0a87;
    white-space: nowrap;
    margin: 0px;
    padding: 0px;
}

banniere>h1>span {
    position: relative;
}
banniere .h1et {
	left: -2.3em;
	top: 0.2em;
	font-size: 2.5em;
	font-weight: 1000;
	line-height: 0.75em;
	color: #3399FF;
	opacity: 0.8;
	}

banniere .h1suite {
	left: -8em;
    top: 0.5em;
    color: aquamarine;
    background-color: cadetblue;
    border-radius: 1.2em;
    box-shadow: 0px 0px 10px cadetblue;
    padding: 0 0.5em;
    opacity: 0.5;
}
*/
#connexion{
    position:absolute;
    top: 10px;
    right: 10px;
    border: 1px solid black;
    border-bottom-left-radius: 5px;
    border-radius: 5px;
   /* margin: 5px;*/
    padding: 5px;
} 
main {
/*    flex-wrap: wrap; */
/*    background-color: rgba(245, 245, 245, 0.6); 
    border-radius: 10px;   */
    margin: 20px auto;
    padding: 10px 0px;
    flex-grow: 1;

}

main>h1 {
    display: inline-block;
    position: relative;
    top: -10px;
    left: 0px;
    border: 1px solid black;
    border-radius: 10px 0px 10px 0px;
    margin: 0px;
    padding: 10px;
}

lesarticles {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background-color: rgba(245, 245, 245, 0.6);
    border-radius: 10px;
    height: fit-content;
    /*min-width: 50%;*/
    /*min-width: 980px;*/
}
lesarticles > a {
    margin-left: 20px;

}
article {
    background-color: white;
    border: 2px solid black;
    border-radius: 0 10px 10px;
    margin: 10px; /* auto; */
    padding: 10px;
}
article > h1 {
    display: inline-block;
    position: relative;
    top: -11px;
    left: -11px;
    border: 1px solid black;
    border-radius: 0 1em 1em;
    margin: 0px;
    padding: 10px;
    color: navy;
    box-shadow: inset 0px 0px 6px 3px navy;
}
/*.classimg {
    display: inline-grid;
}*/
article img { /*figure*/
    border: 8px solid whitesmoke;
}
.trombis {
    display: flex;
    flex-wrap: wrap;
}
.trombi {
    margin: auto;
    padding: 10px;
    max-width: 400px;
    display: flex;
    flex-wrap: wrap;
}
.trombitext {
    margin: 10px;
    padding: 10px;
    width: 200px;
}
figure {
    display: flex;
    flex-flow: column;
    max-width: 500px;
    max-height: 330px;
    margin: 5px auto;
/*en fonction de la position voulue à voir, sinon c'est centrer !*/
/*    float: left;
    float: right;
*/
}
.figuregauche {
    margin: 5px auto 5px 5px;
}
.figuredroite {
    margin: 5px 5px 5px auto;
}

figure img {
    max-width: 500px;
    max-height: 300px;
}
figcaption {
    font-size: 0.8em;
    font-style: italic;
    text-align: center;
}
.imgflotdroite {
	float: right;
}	
/*  legende {

    color: black;
    font: italic smaller;
    text-align: center;
  }*/
.avertissement {
    border: thick double salmon;
}
h1 > .avertissement {
    border: thick solid salmon;
    border-color: salmon;
}
lesinfos {
    display: flex;
    flex-flow: var(--infosorientation);
    margin: 0px auto;
/*transition de la flex qui bouge
    transition-property: flex;
    transition-duration: 2s;
    transition-delay: 1s;*/
}
info {
    margin: 0px auto;
    padding: 10px;
    font-size: 1em; /*0.8em*/
    max-width: 240px;
}
.planning {
    border: 2px solid salmon;
    border-radius: 10px;
    background-color: whitesmoke;
    margin: 10px;
    padding: 0px 10px;
    /*max-width: 240px;*/

}
info > h1 {
    text-align: center;
    font-size: 1.2em;
    color: navy;
}
info ul {
    padding-inline-start: 20px;
}
.tdLien {
    cursor: pointer;
}
/*style calendrier */
#calendrier {
    width: fit-content;
    height: 240;
    overflow: visible;
    text-align: center;
}
.calendrier {
    table-layout: auto;
    width: 200px;
    empty-cells: show;
    border: solid tomato;
    /*border: dotted thin tomato;*/
    border-collapse: collapse;
    background: rgba(0, 0, 0, .3);
}
.calendrier td {
    /*font-size: 0.8em;*/
    border: dotted thin tomato;
    text-align: center;
    width: 14%;
    height: 1.5em;
}
.calendrier a {
    color: white;
    text-decoration: none;
/*    background-color:lightcoral;
    border-radius: 0.6em;
    min-width: 2em;
    padding: 2px; */
}
.curseurmain {
    cursor: pointer;
}
.changmois{
    background-color:lightcoral;
}
.pasMois {
    /*background-color: grey;*/
    color:darkslategray; 
}
.jjCourant {
    background-color: white;
    color: coral;
}
.mmCourant {
    background-color: grey;
    color: black;
}
.calFutur {
    background-color: coral;
}
.calPasse {
    background-color: lightseagreen;
}
.calJour {
    background-color: orangered;
}

footer {
    flex-direction: column;
    border-radius: 10px 10px 0px 0px;
    margin: 0px auto;
    flex-grow: 0;
    flex-shrink: 0;
    /*padding: 10px; */
    color: #1F4D9C;
    background-color: rgb(229, 228, 228);
}
footer > p {
	margin-left: 20px;
}
footer img {
	background-color: white;
	padding: 3px;
	height: 50px;
	width: auto;
	margin: 5px;
	border: 1px solid black;
}
.footerlogos {
    width: 100%;
}
.footerlogosgauche, .footerlogosdroite{
    height: 60px;
}
.footerlogosgauche{
    float: left;
}
.footerlogosdroite{
    float: right;
}
.footertextedroite {
    padding-top: 8px;
    font-weight: bold;
    font-style: italic;
    text-align: right;

}
.footercopy {
    font-size: 0.8em;
    font-style: italic;
    text-align: center;
    margin-bottom: 0px;
    margin-top: 30px;
}
/* Fleche vers Top !*/
#scroll_to_top {
	position: fixed;
	background-color: rgba(255, 255, 255, 0.7);
	border-radius: 50%;
	width: 3em;
	height: 3em;
	bottom: 3em;
	right: 3em;
	display: flex;
	margin: auto;
	visibility: hidden;
}

#scroll_to_top.scroll_to_top_new {
	background-color: unset;
}
#toTop:hover {
	filter: brightness(1.75);
}
/*Styles des Images et des Div pour les images en Popup ! */
#agrandimage {
	position: fixed;
	display: none;
	/*Gérer par script*/
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: rgba(24, 24, 24, 0.7);
}

.flex {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	align-content: center;
}

#imgzoom {
	flex-direction: column;
	height: 100%;
	font-size: small;
	font-style: italic;
}

#navimg {
	gap: 5px;
}

#imgaff {
	padding: 10px;
	background-color: white;
}

#preced,
#apres {
	font: 20px bold;
	width: 40px;
	height: 40px;
	background-color: rgba(105, 105, 105, 0.7);
	border-radius: 20px;
}

a.pp {
	color: rgb(39, 45, 45);
	/*darkslategray;*/
	text-decoration: none;
}

#preced:hover,
#apres:hover,
a.pp:hover {
	color: black;
	background-color: white;
	cursor: pointer;
}
/* Fin Image PopUp...*/

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24;
  margin: auto;
  text-align: center;
}
.atop{
	color: black;
	text-decoration: none;
}
.atop:visited {
	color: black;
}   
.atop:hover {
	color: orange;
}

/*Style du menu déroulant inspiré de :
	https://www.pierre-giraud.com/html-css-apprendre-coder-cours/creation-menu-deroulant/ */
.menus {
    font-family: Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1em;
    font-weight: 500;
    color: white;
    /*background-color :cornflowerblue;*/
    background: linear-gradient(to right, rgb(100, 149, 237), rgb(255, 255, 255)) !important;
    white-space: nowrap;
    position:relative;
    left: 0px;
    top: 46px;    /*10px;*/
    width: 80%;
}
.conteneur-nav {
    position: static;
}
nav label,
nav input {
    display: none;
}

nav input[type=checkbox]:checked+ul,
nav ul {
    list-style-type: none;
    display: flex;
    flex-flow: row wrap;
    /*background-color: blue;*/
    padding-inline-start: 0px;
}
nav ul li {
    position: relative;
    padding-inline-start: 5px;
    padding-inline-end: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

nav a:hover {
    color: orange;
    border-bottom: 2px solid gold;
}

.menu, 
.menu2 {
    font-weight: 200;
    display: none;
    position: absolute;
    border: 1px solid silver;
    border-radius: 0 0 6px 6px;
    box-shadow: 0px 1px 2px #CCC;
    padding-inline-start: 0px;
    /*margin-block-end: 5px;*/
    margin-block-start: 2px;
    width: max-content;
    background-color: rgb(100, 149, 237); /*#3399FF;*/
}

.menu2 {
    border-radius: 0 6px 6px 6px;
    box-shadow: 0px 1px 2px #CCC;
    top: 0em;
    left: 100%;
    margin-left: -17px;
    z-index: 1001;
}

nav>div>ul li:hover .menu,
nav2>ul li:hover .menu2  {
    display: flex;
    flex-flow: column wrap;
}

.menu,
.menu2 a {
    border-bottom: none;
    /*background-color: white;*/
}
.menu li, 
.menu2 li {
    float: none; /*Portable*/
    /*flex: 1 1 auto;*/
    width: 100%;
    text-align: left;
}
.menu a:hover,
.menu2 a:hover {
    border-bottom: none;
    background-color: RGBa(200, 200, 200, 0.1);
}

.deroulant>a::after {
    content: " ▼";
    font-size: 1em;
}
.deroulant2>a::after {
    content: " ►";
    font-size: 1em;
}
sep::after {
    content: "|";
    font-size: 1em;
    font-weight: bold;
    padding-inline-end: 10px;
}

/*style Occasions Spéciales*/
.octobreRose{
	color:Fuchsia;
	font-weight: bold;
	background-color: white;
}
/* Section Style pour les portables et petits écran... */
@media screen and (max-width: 980px) {
    body {
        background: white;
    }
    header, main, footer {
        width: 100%;
        margin: 0px;
        padding: 0px;
        border-radius: 0px;
    }
    headerimg {
        display: none;
    }
    banniere>h1 {
        display: none;
    }
    main {
        border-style: none;
        border-radius: 0;
    }
    lesinfos {
        flex-flow: row wrap;
    }
/*gestion affichage du menu*/
    /*nav input */
    .menus {
        width: 100%;
        top: 0px;
       /* background-color: #1f0a87; */
    } 
    nav label {
        background-color: transparent;
        text-align: center;
        border: 1px solid white;
        border-radius: 4px;
        padding-top: 4px;
        margin: 1rem;
        display: inline-block;
        width: 30px;
        height: 30px;
    } 
    .openmenu {
        display: inline-block;
    }
    .closemenu {
        display: none;
    }
   /* .conteneur-nav {
        position: absolute;
        width: 100%;
    }*/
    .menu,
    .menu2 {
        position: relative;
        display: flex;
        flex-flow: column wrap;
        width: 100%;
        left: 0px;
        background: linear-gradient(to right, rgb(100, 149, 237), rgb(255, 255, 255)) !important;
        border: none;
        border-radius: 0px;
        box-shadow: none;
        /*padding-left: 10px; */
    }
    .menu {
        padding-left: 10px;
    }
    .menu2 {
        padding-left: 20px;
    }
    nav ul,
    nav2 ul {
        display: none;
        flex-flow : column wrap;
        margin-block-end: 0px;
        margin-block-start: 0px;
        /*padding-left: 10px; */
    }
    nav ul {
        background-color: transparent; /*blue;*/
    }
    nav, nav2 {
        /*float:right;*/
        position: sticky;
        width: 100%;
        margin: 0 auto;
        top: 0px;
    }
    .menu li, 
    .menu2 li {
        position: relative;
        display: flex;
        flex-flow: column wrap;
    }
    .deroulant>a::after {
        content: none;
        font-size: 1em;
    }
    .deroulant2>a::after {
        content: none;
        font-size: 1em;
    }
    sep{
        display: none;
    }
    input[type=checkbox]#mobile:checked ~ ul, nav2 ul {
            display: flex;
            flex-flow: column wrap;
    }
    /*input[type=checkbox]#mobile:checked  nav ~ nav2 ul {
        display: flex;
        flex-flow: column wrap;
    }*/
    input[type=checkbox]#mobile:checked ~ label .openmenu{
        display: none;
    }
    input[type=checkbox]#mobile:checked ~ label .closemenu {
        display: inline-block;
    }

    nav ul li,
    nav2 ul li{
        flex: 1 1 auto;
    }

    /*Affichage et cache des box ouverture et fermeture du menu */
/*ne fonctionne pas ! */  
/*nav input[type=checkbox]:checked label openmenu{
    display: none;
}
nav input[type=checkbox]:checked label closemenu{
    display: inline-block;
}*/
}
