@charset "utf-8";
/* CSS Document */
html {
  scroll-behavior: smooth;
}
/* Bannière */
.bandeau{
	background-image: url(../Panorama/DSC03201mod.jpg);
}

/* Couleur liens et visités */
a:link {
	text-decoration: none;
	color: black;
}

a:visited {
	text-decoration: none;
	color:black;
}
/* concerne tous les elements */
*{
  font-family: Avenir, sans-serif;
  font-size: 1em;
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

h1{/* taille h1 et souligné */
    font-size: 1.5em;
    margin: 2px auto;
    text-align: center;
    text-transform: uppercase;
}

.sans-modif {
	font-size: 1.5em;
	margin: 20px auto;
	text-align: center;
	text-transform: none;
	background-color:  	Salmon;
}

body {/* fond derriere menu deroulant */
	background-image: url(../Fonds/ata-fond-orange.jpg);
}

body > header{
    position: sticky;
    top: 0px;
}

body > header > nav{
    width: 100%;
    height: 42px;
    margin: 0 auto;
}
/* Largeur menu mobile */
.conteneur-nav{
    position: absolute;
    width: 45%;
	min-width: 150px			 
	
}

body > header > nav input[type=checkbox]{
    display: none;
}

body > header > nav label{
    display: inline-block;
    width: 100%;
    padding: 10px 0px;
    text-align: center;/* centrage titre menu mobile */
	
    background-color: Silver;/* couleur menu */
}

body > header > nav ul{
	display: none;
	list-style-type: none;
	background-color: Gray;/* couleur menu titre*/
}

body > header > nav input[type=checkbox]:checked + ul{
    display: flex;
    flex-flow : column wrap;
	
}

body > header > nav ul li{
    flex: 1 1 auto;
    text-align: center;/* centrage liste des menus  */
	
}

body > header > nav > div > ul > li > a{
    color: black;/* couleur survol menu mobile deroulant titre*/
}

body > header > nav a{
	display: block;
	text-decoration: none;
	color: black;
	padding: 10px 0px;
}
body > header > nav a:hover{
	color: white;/* couleur survol menu mobile */
	border-bottom: 4px solid gold;/* souligné doré */
    }
	
.sous{
    display: flex;
    flex-flow: column wrap;
    z-index: 1000;
}

.sous li{
    flex: 1 1 auto;
    text-align: center;/* centrage sous-menu mobile */
}

.sous a{
    padding: 10px;
    background-color: Silver;
}

.conteneur{
    display: flex;
    flex-flow: column wrap;
}
.g1, .g4{
	background-image: url(../Fonds/ata-fond-orange.jpg);
}
.g2, .g5{background-color: RGBa(225,100,175,0.4);}
.g1, .g2, .g4, .g5{min-height: 100px;}

.sousconteneur{
	display: flex;
	flex-flow: column wrap;
	text-align: center;
	background-image: url(../Fonds/dernier%20train12.jpg);
}

.sousconteneur h1{
	font-size: 1.2em;
	margin: 10px 0px 0px 0px;
	color: #0F0;
}

.sousconteneur nav ul{
    display: flex;
    flex-flow: row wrap;
    list-style-type: none;
    justify-content: space-around;
}

.sousconteneur nav a{
	display: block;
	color: black;/* couleur ?*/
}

.sousconteneur article{
    margin: 10px;
}

.sousconteneur footer{
    margin-bottom: 10px;
}

body > footer{
	width: 100%;
	height: 150px;
	color: white;
	text-align: center;
	padding: 20px;
	background-image: url(../Fonds/ata-fond-orange.jpg);
}

.titre{
	background-color: Salmon;
}


/* Version bureau */
@media screen and (min-width: 980px){
    .conteneur-nav{
        position: static;
		width: 100%;
    }
	
    body > header > nav label, nav input{
        display: none;
    }
	
    body > header > nav input[type=checkbox]:checked + ul, body > header > nav ul{
	display: flex;
	flex-flow: row wrap;
	background-color: silver;/* couleur fonds menu bureau*/
    }
	
    body > header > nav ul li{
        position: relative;
    }
	
    body > header > nav > div > ul > li > a{
	color: black;
    }
	
    body > header > nav a{
        border-bottom: 2px solid transparent;
    }
	
    body > header > nav a:hover{
	color: Green;/* couleur survol */
	border-bottom: 4px solid gold;/* souligné doré */
    }
	
    .sous{/*  background-color: white; */
        display: none;
        box-shadow: 0px 1px 2px #CCC;
        background-color: white;
        position: absolute;
        width: 100%;
    }
	
    body > header > nav > div > ul li:hover .sous{
        display: flex;
        flex-flow: column wrap;
    }
	
    .sous a{/* fond sous menus background-color: white; */
        border-bottom: none;
        background-color: white;
    }
	
    .sous a:hover{
        border-bottom: none;
        background-color: silver;
    }
	
    .deroulant > a::after{
        content:" ▼";
        font-size: 12px;
    }
	
    .conteneur{
        display: grid;
        grid-template-columns: 0fr 10fr 0fr;/* Nombre de colonnes et largeur. */
        grid-template-rows: repeat(1,minmax(300px, 1fr));
    }
	
	/* Positions des boites entres elles */
    .g1{
        grid-column: 1 / 2;
    }
    .g2{
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
    .g3{
        grid-column: 2 / 3;
        grid-row: 1 / 3;
    }
    .g4{
        grid-column : 3 / 4;
    }
    .g5{
        grid-column : 3 / 4;
        grid-row: 2 / 3;
    }
}	
	/* Taille photo adaptable */
	.responsive { /* Taille photo adaptable */ 
	width: 70%;
	height: auto;
	color: #FFF;

}
.tableaux{
  display:inline-block;
  vertical-align:top;
  
}

.news tableaux {/* encore utilisé? */		
  display:inline-block;
  vertical-align:top;
  color: #F00;
}
.flotte {
float:left;
 padding: 1em;
}
.container {
	display: inline-block;
	align-items: center;
	justify-content: center;
	border: black;
	border-top-color: #000;
	border-right-color: #300;
	border-bottom-color: #C39;
	border-left-color: #CF3;
}
.container2 {
  display:inline-block;
     vertical-align:top;
    justify-content: center;
}	 
.image2 {
  max-width: 25%;
    max-height:15%;
    float:left;
}

.text {
	font-size: 20px;	
	padding-left: 10px;
	padding-top: 20px;
	float: left;
	border-top-color: #F00;
	background-color: #CECECE;
	color: #000;
	;
}	
.text1 {
   font-size: 20px;
   
   
    
}	
.text2 {
   font-size: 20px;
    padding-left: 5%;
   
    
}  
.soustitre {
   font-size: 25px;
}	
.retraite {
	font-size: 30px;
	text-decoration: underline;
	color: #000;
	background-color: Salmon;
}
.retraitedeparts {
	text-decoration: underline;	
}

/* liens tableau liste retraités */
.lien a{		
	border-bottom: 2px solid black;
}
.lien a:hover{
	color: Green;/* couleur survol */
	border-bottom: 4px solid gold;/* souligné doré */
}

/* liens footer */
.lienfooter a{
 color: black;	
 padding-left: 5px;
 padding-right: 5px;
 border: 1px solid black;
 border-radius: 50px;
 
 	
}	
.lienfooter a:hover{
	
	color: Salmon;
	background-color: black;
	padding-left: 5px;
 	padding-right: 5px;
	border: 1px solid white;
	border-radius: 50px;
}

/* bouton flottant retour haut de page */
a#cRetour{
	background-image: url(../Fonds/button-top.png);
	padding: 24px;	
	position: fixed;
	right: 30px;
	opacity: 1;
	z-index: 99999;
	transition: all ease-in 0.2s;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	text-decoration: none;
	
}
a#cRetour:before{ background-image: url(../Fonds/button-top.png); }
/* couleur survol */
a#cRetour:hover{
	background-image: url(../Fonds/button-top-vert.png);
	transition: all ease-in 0.2s;
	
}
a#cRetour.cInvisible{
  bottom:-35px;
  opacity:0;
  transition:all ease-in 0.5s;
}

a#cRetour.cVisible{
  bottom:20px;
  opacity:1;
}
