/*----------------------------------------------------------------*/
/*              formatage des affichages du site                  */
/*               Mairie de Cornillon-en-Trieves                   */
/*                       16 décembre 2024                        */
/*----------------------------------------------------------------*/

/*------------------------ mise en page --------------------------*/
body {
  background-color: #FFF5E6;        /* fond beige                 */
  font-family: "Helvetica Neue",    /* fonte si disponible        */
               sans-serif;          /* par defaut                 */
  margin: 0;
  padding: 0.5em;
}

.pleine_page {                      /* inutile mais au cas ou...  */
  width: 100%;                      /* occupation de l'ecran      */
  margin-left: auto;                /* marges libres pour centrer */
  margin-right: auto;
  background-color: #FFF5E6;        /* fond beige                 */
  border: none;
}

.corps {
  width: 100%;                      /* occupation de l'ecran      */
  display: grid;
  grid-template-columns: 300px 1000px;
  grid-template-rows:    250px auto;
  grid-template-areas:
     "logo bandeau"
     "menu contenu";
  colums-gap: 0px;
  row-gap: 10px;
  margin-left: auto;                /* marges libres pour centrer */
  margin-right: auto;
  background-color: #FFF5E6;        /* fond beige                 */
}

.logo{
  margin: auto;
  width: 60%;
  justify-content: center;
}

.bandeau{
  margin: auto;
  justify-content: center;
}

.menu{
   background: #FFF5E6;
   padding: 0;
}

.contenu{
  background: #FFF5E6;
  padding: 0;
  border-width: 1px;
  border-style: solid;
  border-color: #000000;
}

.entete{
  background: #FFF5E6;
  width: 80%;
  margin: auto;
}

.tablephotos{
  background: #FFF5E6;
  width: 45%;
  margin: auto;
}
/*---------------------------- texte -----------------------------*/

p {                                 /* justifier les paragraphes  */
  text-align: justify;
  margin: 0.6em;
  }

p.pentete {                             /* justifier les paragraphes  */
    text-align: justify;
    font-style: italic;
    margin: 0.6em;
    }

p.centre {                          /* pour les liens centres     */
    text-align: center;
  }

/*---------------------------- titres ----------------------------*/
h1 {                                /* titre                      */
  font-size: 150%;
  font-style: boldface;
  margin-top: 0.2em;
  margin-left: 1em;
  margin-bottom: 0.2em;
  margin-right: 0.2em;
  text-align: center;
}

h1.menu {
   display: block;
   float: none;
   clear: both;
   line-height: 30px;
   margin: 0;
   padding: 0 10px;
   background-image: url(./img/barre_menu.jpg);
   background-repeat: no-repeat;
   background-color: transparent;
   color: #FFFFFF;
   border-width: 0 0 0 0px;
   border-style: solid;
   font-size: 16px;
   text-align: left;
   text-transform: uppercase;
   font-weight: bold;
   text-decoration: none;
}

h1.titre {
   display: block;
   text-align: center;
   float: none;
   clear: both;
   line-height: 60px;
   line-width: 600px;
   margin-left: 300;
   padding: 0;
   background-image: url(./img/barre_titre.jpg);
   background-repeat: no-repeat;
   background-color: transparent;
   background-position: center;
   color: #FFFFFF;
   border-width: 0 0 0 0px;
   border-style: solid;
   font-size: 30px;
   font-weight: bold;
/*   text-transform: uppercase;*/
   text-decoration: none;
}

h2 {                                /* sous-titre                 */
  font-size: 120%;
  font-style: italic;
  margin-top: 0.2em;
  margin-left: 1.2em;
  margin-bottom: 0.2em;
  margin-right: 0.2em;
}

h3 {                                /* titre de rubrique          */
  font-size: 100%;
  font-style: bold;
  margin-top: 0.5em;
  margin-left: 3em;
  margin-bottom: 0.5em;
  margin-right: 0.2em;
}

/*----------------------- listes ---------------------------------*/

ul {
  list-style-image: url(./img/puce.gif);
  list-style-position: outside;
  width: 90%
}

ul li {
    text-align: justify;
    color:  #000000;
    margin-bottom:8px;
}

/*----------------------- liens ----------------------------------*/
                                    /* style liens generiques     */
a:link {
  color: #B36B00;                   /* liens bleu orange          */
  text-decoration:none;
}
a:visited {
  color:  #B36B00;
  text-decoration:none;
}
a:hover {
  color: #FFD699;                    /* survol plus clair        */
  cursor: pointer;
  text-decoration:none;
}

/*----------------------- albums photos -------------------------*/
.album{
    margin: 5% 0 0 28%;
    padding: 10px;
    width: 430px; /*62%*/
    border: 10px groove rgba(0, 0, 0, 0.575);
    box-shadow: 10px 10px 8px rgba(0, 0, 0, 0.424);
}

/*--------------------- fin styles Cornillon --------------------*/
