/*         Feuille de Style FedeRez         */
/*         Pierre Montagnier, fev.2013      */

/* Couleurs du logo FedeRez
 * Cyan: #5DC3D5;
 * Bleu foncé: #415998;
 * Jaune: #FFDD04;
 * Rose: #CE4896;
 * Orange (clair): #F7A211;
 * Vert (foncé): #79B925;
 * Vert (pâle): #91C987;
 * Orange (foncé): #EC591F;
 * Rouge: #CA151A;
 */

@font-face {
  font-family: HandelGotDBol;
  src: url('./handelgotdbol.eot');  /* FOR IEs */
  src: local('Custom Font'),
    url('./handelgotdbol.woff') format("woff"),
    url('./handelgotdbol.ttf') format('truetype'); /* for other web browsers */
}

#header{
  min-height: 125px;
  width: 1000px;

  margin: auto;
  margin-bottom: 15px;
}

#logo{
  width: 125px;
  height: 125px;
  padding-top: 20px;

  float: left;
  margin: auto 45px auto 25px;
}

#logo img {
    vertical-align: baseline; /* reverts 'middle' from bootstrap */
}

#header-image {
  width: 805px;
  height: 125px;

  background-image: url('../img/header.png');
  background-repeat: no-repeat;
  background-position: center center;

  float: right;
  margin: auto;
}

#header-caption{
  height: 125px;
  width: 600px;
}

#header-caption:before {
  content: attr(caption);
  font-size: 3em;
  position: relative;
  right: -500px;
  top: 85px;

  font-family: 'HandelGotDBol';

  color: rgba(255, 255, 255, 0.9);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.9);
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: rgba(0, 0, 0, 0.7);
}

.social {
  list-style:none;
  position: relative;
  left: 985px;
  padding-top: 10px;

  width: 30px;
}

.social li {
  display: block;
  margin-top: 3px;
  background-repeat:no-repeat;
  background-size: contain;
}

.social li a {
  display: block;
  width:30px;
  height:30px;
  text-decoration:none;
}

li.facebook { background-image: url("../img/social/facebook.png"); }
li.linkedin { background-image: url("../img/social/linkedin.png"); }
li.twitter { background-image: url("../img/social/twitter.png"); }
li.mastodon { background-image: url("../img/social/mastodon.svg"); }

li.twitter, li.facebook, li.linkedin{
  background-size: 30px;
}

#wrapper{
  width: 1000px;
  margin: 20px auto;
}

#content{
  overflow: hidden;
  text-align: justify;
}

#gateway {
  margin: auto;
  text-align: center;
}

#gateway table {
  width: 80%;
  text-align: center;
  margin: 40px auto;
}

#gateway table tr td {
  width: 30%;
  padding-left: 5px;
  padding-right: 5px;
}

#gateway table tr td a img {
  height: 100px;
  text-align: center;
  margin: auto;
}

#gateway table tr td a img.youtube {
  height: 64px;
  text-align: center;
  margin: auto;
}

h1, h2, h3, h4 {
  color: #415998;
}

/* Hommage */

#hommage {
  background-color: #EEE;
  border: 1px solid #CCC;

  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;

  margin-bottom: 20px;

  overflow: hidden;
}

#hommage .hommage-text {
  font-size: 0.9em;
  margin-right: 10px;
  margin-top: 10px;
}

#hommage .hommage-image {
  float: left;

  padding: 10px;
}

#hommage .hommage-image img {
  height: 50px;
  border: 3px solid #FFF;

  box-shadow: 2px 2px 2px #888;
}

.home-banner {
  margin: 20px;
  font-size: 1.5em;
  text-align: center;
}

.home-banner .banner-link {
  padding-bottom: 5px;
}

#home-journees {
  margin-bottom: 10px;
}

#address-directions {
  float: right;
  text-align: center;
  margin-left: 2ex;
}

#address-directions figure {
  margin: 2ex 0;
}

#address {
  display: inline-block;
  padding: 2ex 4ex;
  background: #EEE;
  border-radius: 2ex;
}

#directions-car {
  margin: 2ex 0;
}

figcaption {
  text-align: center;
  font-style: italic;
}

#map {
  height: 50ex;
}

/* Menu */

#menu{
  float: left;
  width: 125px;
  margin-right: 70px;
}

#menu nav{
  padding-top: 8px;
  padding-left: 8px;
  padding-right: 8px;
}

#menu a{
  text-decoration: none;
}

.menu-link{
  display: inline-block;
  position: relative;
  width: 100%;
  padding: 6px;
  margin-bottom: 12px;
  margin-right: 8px;
  background-color: rgba(231, 231, 231, 0.6);
  box-shadow: 5px 5px 0 0px rgba(0, 0, 0, 0.25);
}

#menu nav ul{
  margin: 0;
  padding: 0;
  list-style: none;
}

#menu nav ul li{
  display: inline;
}

#menu nav ul li a:hover{
  opacity: 0.7;
}

.menu-pink{
  border-left: 32px solid #CE4896;
  color: #CE4896;
}

.menu-cyan{
  border-left: 32px solid #5DC3D5;
  color: #5DC3D5;
}

.menu-blue{
  border-left: 32px solid #415998;
  color: #415998;
}

.menu-yellow{
  border-left: 32px solid #AEB404;
  color: #AEB404;
}

.menu-orange{
  border-left: 32px solid #F7A211;
  color: #F7A211;
}

.menu-green{
  border-left: 32px solid #79B925;
  color: #79B925;
}

.menu-light-green{
  border-left: 32px solid #91C987;
  color: #91C987;
}

.menu-red{
  border-left: 32px solid #CA151A;
  color: #CA151A;
}

.menu-brown{
  border-left: 32px solid #C95B20;
  color: #C95B20;
}

/* Tableau des associations */
.associations-table td:nth-child(1){
  min-width: 200px;
}

/* Permutation circulaire des couleurs lors du survol des éléments du tableau des associations */
.associations-table tr:nth-child(8n):hover{
  background-color: rgba(121, 185, 37, 0.2);    /* vert clair */
}
.associations-table tr:nth-child(8n+1):hover{
  background-color: rgba(206, 72, 150, 0.2);    /* rose */
}
.associations-table tr:nth-child(8n+2):hover{
  background-color: rgba(145, 201, 135, 0.2);   /* vert pâle */
}
.associations-table tr:nth-child(8n+3):hover{
  background-color: rgba(247, 162, 17, 0.2);    /* orange clair */
}
.associations-table tr:nth-child(8n+4):hover{
  background-color: rgba(255, 221, 4, 0.2);     /* jaune */
}
.associations-table tr:nth-child(8n+5):hover{
  background-color: rgba(93, 195, 213, 0.2);    /* cyan */
}
.associations-table tr:nth-child(8n+6):hover{
  background-color: rgba(203, 18, 28, 0.2);    /* rouge */
}
.associations-table tr:nth-child(8n+7):hover{
  background-color: rgba(65, 89, 152, 0.2);    /* bleu foncé */
}

.associations-table td{
  padding-right: 5px;
  padding-left: 5px;
}

#associations{
  float: left;
}

/* Affichage des logos des associations au survol */
/* Petite spécialité pour I-Resam, pour que le logo rende bien */
.i-resam {
  background-color: #333;
  height: 100px;

  margin-top: 37px;
}

.i-resam > #hovered-association-logo-image {
  height: 75px;
}

#hovered-association-logo{
  width: 175px;
  float: right;
  overflow: hidden;
}

#hovered-association-logo-image{
  width: 150px;
  height: 150px;

  margin: 12px;

  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

/* Équipe */

table.team {
  text-align: center;
  width: 90%;
  margin: auto;
  padding: auto;
}

table.team tr.team-name {
  text-align: center;
  padding: 2px;
}

table.team tr.team-members-pictures img {
  height: 150px;
  text-align: center;
  padding-top: 4px;
  border-radius: 1.5em 0em 1.5em 0em;
  object-fit: cover;
}

table.team tr.team-members-names td {
  text-align: center;
}

table.team tr.team-members-titles td {
  text-align: center;
  font-style: italic;
}

table.team-compact td {
  padding: 0 1em;
}

tr.team-members-names ~ tr.team-members-titles td {
  padding-bottom: 15px;
}

table.team tr.team-name td.team-pink {
  background-color: #CE4896;
  /* border: 1px solid #CE4896; */
  border-radius: 2em 1em 4em / 0.5em 3em;
  color: #fff;
}

table.team tr.team-name td.team-cyan {
  background-color: #5DC3D5;
  border-radius: 2em 1em 4em / 0.5em 3em;
  color: #fff;
}

table.team tr.team-name td.team-orange {
  background-color: #F7A211;
  border-radius: 2em 1em 4em / 0.5em 3em;
  color: #fff;
}

table.team tr.team-name td.team-green {
  background-color: #79B925;
  border-radius: 2em 1em 4em / 0.5em 3em;
  color: #fff;
}

table.team tr.team-name td.team-blue {
  background-color: #415998;
  border-radius: 2em 1em 4em / 0.5em 3em;
  color: #fff;
}

/* Journées */

.theme{
  text-align: center;
  color: #415998;
  /*margin: 10px auto; */
  max-width: 80%;
}

.theme:before{
  content: '«\00a0';
  color: orange;
}

.theme:after{
  content: '\00a0»';
  color: orange;
}

.title{
  color: #415998;
}

.text-blue{
  color: #415998;
}

.federez-font{
  font-family: "HandelGotDBol";
  font-size: 1.4em;
}

#editions{
  background-image: url('../img/tree.png');
  height: 404px;
  background-repeat: no-repeat;

  margin: auto;
  margin-top: 30px;
}

#editions a{
  padding-left: 30px;
  font-size: 0.9em;
}

.edition-theme {
  color: #415998;
}

.edition-theme:before{
  content: '«\00a0';
  color: orange;
}

.edition-theme:after{
  content: '\00a0»';
  color: orange;
}

/* Placement des liens sur "l'arbre" */
.current-edition{ position: relative; left: 145px; top: 8px; }
.current-edition .edition-theme{ font-size: 1.8em; }

.older-edition-1{ position: relative; left: 200px; top: 48px; }
.older-edition-1 .edition-theme{ font-size: 1.25em; margin-bottom: 0px;}

.older-edition-2{ position: relative; left: 230px; top: 60px; }
.older-edition-2 .edition-theme{ font-size: 1.25em; margin-bottom: 0px;}

.older-edition-3{ position: relative; left: 235px; top: 70px; }

.older-edition-4{ position: relative; left: 162px; top: 87px; }
.older-edition-5{ position: relative; left: 182px; top: 97px; }
.older-edition-6{ position: relative; left: 182px; top: 111px; }
.older-edition-7{ position: relative; left: 166px; top: 120px; }

.older-edition-8{ font-size: 90%; position: relative; left: 159px; top: 124px; }
.older-edition-9{ font-size: 90%; position: relative; left: 147px; top: 121px; }

.conferencier { color: #79B925; font-style: italic; }
.remarque { color: #CE4896; }
.table-ronde { color: #5DC3D5; }
.atelier { color: #EC591F; }

.highlight {
  background: #EEE;
  font-style: italic;
  margin: 2ex 3ex;
  padding: 2ex 3ex;
  border-radius: 2ex;
}

.summary{
  font-style: italic;
  margin: .3em 20px;
}

.centered{
  text-align: center;
}

.red {
  color: #CA151A;
}

.wider{
  width: 50%;
}

img#poster.journees-page {
  float: right;
  margin-left: 2em;
  border-radius: 10px;
}

/* Partenaires */
div #partenaires {
  text-align: center;
  margin-top: 30px;
}

table.partenaires, table.partenaires-inline {
  margin: 20px auto;
  text-align: center;
}

table.partenaires td {
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 30px;
}

table.partenaires-inline td {
  padding-left: 20px;
  padding-right: 20px;
}

table.partenaires-inline td img {
  height: 120px;
}
