@font-face {
    font-family: 'Permanent Marker';
    src: url('../fonts/permanentmarker-regular-webfont.woff2') format('woff2'),
         url('../fonts/permanentmarker-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Abril Fatface';
    src: url('../fonts/abrilfatface-regular-webfont.woff2') format('woff2'),
         url('../fonts/abrilfatface-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.header-fixed header{
    z-index: 1001;
}

body.header-fixed.header-animated #header.scrolled .logo img, body.header-fixed.header-animated #header.scrolled .logo svg {
    height: 42px !important;
}

#header .logo img, #header .logo svg {
    display: inherit;
    height: 4rem !important;
}

#header .navbar img {
  float: left;
  margin-right: 1rem;
}

#logo-text {
  display: block;
  font-size: min(36px,7vw);
  margin-top: 10px;
  margin-left: 1rem;
  font-family: 'Permanent Marker', cursive;
  white-space: nowrap;
}

@media(max-width: 500px){
	#header .navbar img {
		display: none;
	}
	#logo-text  {
		margin-top: 0px;
		margin-left: 10px;
		font-size: min(36px,7vw);
	}
}

#header.scrolled #logo-text{
  font-size: min(25px,7vw);
  margin-top: 0px;
  margin-left: 10px;
}

.card{
	max-width: 590px;
	margin-left: 5px;
	margin-right: 5px;
}

a.bouton-adhesion{
	background-color: #1c87c9;
     border: none;
     color: white;
     padding: 20px 34px;
     text-align: center;
     text-decoration: none;
     display: block;
     font-size: 20px;
     margin: 4px auto;
     cursor: pointer;
     transition: background-color 0.7s;
     max-width: 250px;
     border-radius: 20px;
}

a.bouton-adhesion:hover, a.bouton-adhesion:focus{
	background-color: 	#dec210;
	color: white;
}

  a.series-white-button{
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    bottom: 0px;
    left: 10%;
    text-align: center;
    margin: 2rem auto;
    border: 1px solid white;
    padding: 2rem;
    width: 300px;
    color: white;
    font-size: 22px;
    display: block;
  }
  a.series-white-button:hover, a.series-white-button:focus{
    background-color: white;
    color: rgba(0,0,0,.8);
    text-decoration: none;
  }

  a.series-black-button{
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    bottom: 0px;
    left: 10%;
    text-align: center;
    margin: 2rem auto;
    border: 1px solid black;
    padding: 2rem;
    width: 300px;
    color: rgba(0,0,0,0.8);
    font-size: 22px;
    display: block;
  }
  a.series-black-button:hover, a.series-black-button:focus{
    background-color: #4287f5;
    color: white;
    text-decoration: none;
  }

  section .hero2{
  	padding-bottom: 3rem !important;
  	padding-top: 3rem !important;
  }

#footer-left{
	overflow: hidden;
}

#footer-right{
	max-width: 40%;
	margin-left: 10%;
	float: right;
}

#footer-left p{
	margin-right: 0;
	text-align: left;
}

#footer-right ul{
	margin-top: 0;
	margin-left: 0;
	list-style: none;
}
  #footer-right ul li{
  	margin-top: .1rem;
  	text-align: right;	
  }

.float-right{
	float: right;
}
.float-left{
	float: left;
}
.float-center{
	display: block;
	margin: auto;
}


/* Calendrier Framagenda */

.containerAgenda {
  overflow: hidden;
}

.agenda iframe{
  position: relative;
  top: -50px;
  left: 0;
  width: min(440px, 90vw);
  height: 440px;
}

.agendaPublic iframe{
  position: relative;
  top: -50px;
  left: 0;
  width: 100%;
  height: 620px;
}

.callToActions{
  text-align: right;
}

.callToActions a{
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  position: relative;
  top: -30px;
  text-align: center;
  margin: 0.5rem;
  margin-left: auto;
  border: 1px solid black;
  padding: 0.5rem;
  width: 300px;
  color: rgba(0,0,0,0.8);
  font-size: 1rem;
  display: block;
  }
 .callToActions a:hover, .calltoActions a:focus{
    background-color: #4287f5;
    color: white;
    text-decoration: none;
  }
}

/* Calendrier */
.calendar {
  width: min(440px,80vw);
  margin: 1em auto;
  padding: 1em;
  background: #EEE;
  font-family: arial, helvetica, san-serif;
  box-shadow: 0 0 0.1em rgba(0, 0, 0, 0.5);
  border-radius: 0.2em;
}
.calendar{
  border-top: 6px solid red;
}
.calendar h1 {
  margin: 0 0 0.4em;
  font-weight: bold;
  font-size: 1rem;
  text-align:   center;
  color: #3a414e;
  font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',sans-serif;
}
.calendar .event {
  color: #333;
  display: block;
  padding: 0.1em;
  transition: all 0.25s ease;
  margin-bottom: 0.5em;
}
.calendar .event:hover {
  background: #d5d5d5;
  text-decoration: none;
  color: black;
}
.calendar .event_icon {
  width: 3em;
  float: left;
  margin-right: 0.75em;
}
.calendar .event_month, .calendar .event_day {
  text-align: center;
}
.calendar .event_month {
  padding: 0.1em;
  margin-top: 0.05em;
  background: #555;
  font-size: 0.75em;
  color: white;
  border-bottom-left-radius: 0.3em;
  border-bottom-right-radius: 0.3em;
}
.calendar .event_day {
  border: 1px solid #999;
  background: white;
  color: black;
  font-size: 1.25em;
  font-weight: bold;
  border-bottom-left-radius: 0.1em;
  border-bottom-right-radius: 0.1em;
}
.calendar .event_text {
  font-size: 0.9em;
  height: 3em;
  display: table-cell;
  vertical-align: middle;
}
  .calendar .event_text .event_category {
    text-transform: uppercase;
    font-family: "Permanent Marker";
  }
  .calendar .event_text .event_subtitle {
    font-style: italic;
  }
  .calendar .event_text .event_desc {
    display: none;
    border-left: 2px solid gray;
    padding-left: 8px;
    margin-top: 5px;
  }
  .calendar .event:hover .event_desc {
    display: block;
  }
.calendar .btn {
  margin-top: 0.5em;
  width: 100%;
  font-size: 1.5em;
}
