/* --------------------------------------------------------------

   layout.css
   Disposition des blocs principaux
   cf.: http://romy.tetue.net/structure-html-de-base

-------------------------------------------------------------- */

/* Elements principaux
------------------------------------------ */
body { text-align: center; background:#ddd;}
.page { position: relative; max-width: 960px; /*max-width:95%;*/ margin:2em auto; text-align: left;  }
/*.page{max-width: 1080px; margin:auto; padding:0.4em; text-align: left;}*/
.header {}
.main { padding: .1em 0; }
.footer { clear: both; /*padding: 1em 0 0;*/ margin:1em 0 0 0; }
.footer figure{margin-left:.4em;}

/* largeur calculee du wrapper: 960*70%  = 672px */
.wrapper { clear: both; float: left; width: 68%; overflow: hidden; }
.content { min-height: 450px; }
/* largeur calculee du aside: 672px / 3 = 224px = 23.333 %*/
.aside { float: right; width: 22.333%; overflow: hidden; }  
  
/* Entete et barre de navigation
------------------------------------------ */
.header { padding-bottom: .1em;  }
.header .spip_logo_site { display: block; margin: 0; line-height: 1em; font-weight: bold;text-align:center;  }
.header .spip_logo_site,
.header .spip_logo_site a,
.header .spip_logo_site a:hover { background: transparent; margin-top:50px;text-decoration:none; color:#222; }
.header .spip_logo_site a:hover  {color:#b60083;}
.header .spip_logo_site a:hover img {opacity:0.7;}
.header .spip_logo {margin-bottom:0;}
.header #slogan { margin: 0;margin-bottom:.7em;text-align:center; }

.formulaire_menu_lang { position: absolute; right: 0; top: .9em; display: block; width: 30%; }

.nouscontacter  {text-align:center;line-height:1.6em;/*background: #dde6d0;margin:auto;*/font-family: 'latomedium';/*border:1px solid black;*/margin-bottom:1em; padding:0;}
.nouscontacter li {display:inline;}
.nouscontacter li a { display: inline; margin-left:6px;padding:.2em .6em; border-radius: 120px 10px / 120px;text-decoration: none;  /*background: #fee9f8;*/ color: #222;font-family: 'latomedium'; border:1px solid #999;}
.nouscontacter li a img {margin-right:6px;}
.nouscontacter li.on a {background:#b60083; color:#fff;}
.nouscontacter li a:focus,
.nouscontacter li a:hover,
.nouscontacter li a:active{background: #e4b7e4; color:#000;}

.nav {text-align:center;/*background: #dde6d0;margin:auto;*/font-family: 'latomedium';}
.nav li {display:inline;}
.nav li a { display: inline-block; padding: 0.35em .9em; margin: 0.1em 0.25em;/*border-radius: 0.25em;*/border-radius: 1em 10em / 12em;  text-decoration: none;  background: #0000001e; color: #222; }
.nav li.on a { background:#b60083; color:#fff; font-weight: normal; }
.nav li a:focus,
.nav li a:hover,
.nav li a:active { background: #e4b7e4; color:#000; }

.asideaccueil { float: right; overflow: hidden; }   
/*Petite boîte affichant le descriptif rapide de l'asso*/
a.homedescribe,
a.homedescribe:visited{font-family: 'latomedium', sans-serif;
                font-weight: 500;
                text-align:right;
                margin-top:10px;
                float:right;
                padding:20px 10px;
                border-radius: 4em .4em ;
                border:2px solid #e4e3e4;
                text-decoration:none;
                max-width:252px ;
                color:#222;
                }
a.homedescribe:hover{background: #cc00931b;color:#222;}

/*boutons des permanences à droite à l'accueil*/

a.itemperm {float:right;width:252px ;text-align:left;padding:.8em;text-decoration:none;font-family:'latobold';font-size:.9em;background-color:#ffe9f9;margin-top:8px;margin-bottom:3px;}

/*encart lettre d'infos*/

div.lettreinfos{float:right;
                border-radius: 2em;
                text-align:left;
                margin-top:8px;
                padding:22px 14px;
                border:2px solid #e4e3e4;
                max-width:252px ;
}

a.abo{font-family:'latobold';text-decoration:none;border-radius: 120px 10px / 120px;border:2px solid #999;margin-left:42px;padding:.2em .6em;color:#222;}

/*Bouton dons*/

a.don {
  float:right;
  text-align:center;
  font-weight:bold;
  text-decoration:none;
  width:200px ;
  color: #a61369;
  padding:20px 10px;
  margin-top:20px;
  margin-right:25px;
  margin-bottom:20px;
  background-color: #cc00931b;
  cursor: pointer;
  border: 1px solid #e8e8e8;
  border-radius: 1em;
  transition: all 0.3s;
  box-shadow: 6px 6px 12px #a61369, -6px -6px 12px #ccc;
  }

a.don:active {
  color: #666;
  box-shadow: inset 4px 4px 12px #a61369, inset -4px -4px 12px #ffffff;
}

/*dates rencontres rubrique 3*/

.date_rencontre{font-family: 'latomedium';color:#5c0042;float:right;margin-bottom:.5em;border: 1px solid #ccc;padding:0.2em;}
 
.footer{float: left; min-height: 200px; width: 100%; height:auto;margin: 0; margin-top: 30px;background: #cc00931b;}
.colophon { display:inline;float: left; height: 100px; width: 100%; margin: .5em; }

.soutiens a{ display:inline;float: center; margin:0;padding:0; }

.footer .generator { float: right;margin: .5em; }
.footer .generator a { padding: 0; background: none; }
.footer .generator a:hover  {color:#c41558;}

/* Gabarit d'impression
------------------------------------------ */
@media print {
    .page,
    .wrapper,
    .content { width: auto; }
    .nav,
    .arbo,
    .aside,
    .footer { display: none; }
}

/* Affichage sur petits ecrans  
Cf.: http://www.alsacreations.com/astuce/lire/1177
------------------------------------------ */

/* largeur maximum 767px */
@media (max-width: 767px) {
	body {   	width: 100%;		padding: 0 20px;	}
	.page {  	width: 100%;  	max-width: none; 	}
}
 
/* largeur maximum 640px */
@media (max-width: 640px) {
     /* layout */
    .wrapper,
    .content,
    .aside { width: 100%;}
    .content,
    .aside { clear: both; float: none; width: 100%; }

    /* Passer a une seule colonne (a appliquer aux elements multi-colonnes) */
    .nav ul li a { float: none; border: 0; }
    .arbo { display: none; }
    .footer .colophon { width: auto; float: none; }
    .footer .generator { display: none; }

    /* header du calendrier full-calendar */
    table.fc-header td { display: block; text-align: left; }

}

/* fin */
