
body {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  background: #dc1b20 url(../img/bg-nuages.png) repeat-x center top;
  box-sizing: border-box;
}
main {
  margin: 1% auto 1%;
  max-width: 1000px;
  font-size: 26px;
}

nav {position:absolute;right: 25px; top: 5px;font-size: 1.5vh;}
nav a {padding: 0 5px;font-size: 2vh;}
h1,
h2 {color: rgba(255,255,255,1)}
#programmation h1,
#programmation h2 {color: #2f4f8d }
h2 {font-size:1.17em}
.section-title {font-size:1.37em;margin-top: 75px;text-shadow: 1px 1px 3px rgba(0,0,0,0.6)}

#programmation h3 {font-size:1.1em;margin-bottom:-13px}
#programmation .section-title{ text-shadow: 0 0 rgba(0,0,0,0)}


a {color: rgba(0,76,139,1)}
a:hover {color: rgba(25,101,164,1)}
section {
  margin: 0 0 50px;
  background-color: white;
  padding: 4% 8% 5%;
}
#section-logo {
  margin: 0;
  padding:1%;
  text-align: center;
  background:transparent}
@media only screen and (max-width: 1300px) {
  #section-logo {
    padding:17px 0 0}
}
#section-logo img {
  max-width: 345px;
  margin-bottom: 15px;
  margin-top:-13px;
}

#section-intro {
  background-color:transparent;
  margin-top: -90px;
  margin-bottom:8%;
  padding: 10% 8% 0 0;
  color: white;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6)
}
#programmation #section-intro {
	background-color: white;
	margin-bottom: 0;
	color: black;
	text-shadow: 0 0 rgba(0,0,0,0);
	padding: 4% 8% 5%;
}
@media only screen and (max-width: 890px) {
  #section-intro {
    padding: 10% 0 0;
  }
  #section-intro {
    padding: 12% 8% 5%;
  }
}
#section-intro a,
#section-revue a {
  	color: white;
  	border-radius: 20px;
  	display: inline-block;
  	padding: 5px 30px 8px 30px;
  	margin-left: -30px;
  	transition: background-color 0.3s;
  	width: auto;
}
#programmation #section-intro a {
	color: rgba(0,76,139,1);
	display:inline-block;
    font-size: 2.6vh;
    padding: 15px 35px 17px;
	margin-left: -35px;
    border-radius: 70px;
    transition: color 1.6s;
    transition: background-color 0.6s;
}
@media only screen and (max-width: 660px) {
	#programmation #section-intro a {
    	padding: 7px 18px 10px;
        margin-left: -18px;
        border-radius: 30px;
    }
}
#section-intro a:hover,
#section-revue a:hover {
    background-color: #2f4f8d;
}
#programmation #section-intro a:hover {
	color: white;
    background-color: #2f4f8d;
}


#section-activites {
  display: flex;
  flex-flow: row wrap;
    padding: 0;
  background-color:transparent;
}
#section-activites h3 {margin-top: 0;margin-bottom: -10px;font-size:1.2em;text-shadow: 1px 1px 2px rgba(0,0,0,0.6)}
#section-activites i, #section-activites em {font-size:75%;font-style: normal;text-shadow: 1px 1px 1px rgba(0,0,0,0.6)}

#section-activites a.cover {
        transition: background-color 0.3s;
        background-color: rgba(0,0,0,0.4);
  color:white;
  width: 33%;
  height:250px;
  margin:0;
  padding: 25px;
        position:relative;
  text-decoration:none;
  box-sizing:border-box}

    #section-activites a.cover::after {
        transition: opacity 0.3s;
        content: "";
        opacity: 0.4;
        background-size: cover;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        position: absolute;
        z-index: -1;   }

    #section-activites a.cover-ile-verte::after {background-image: url(../img/ph-ile-verte.jpg)}
    #section-activites a.cover-pointe-au-pere::after {background-image: url(../img/ph-pointe-au-pere.jpg)}
    #section-activites a.cover-cap-madeleine::after {background-image: url(../img/ph-cap-madeleine.jpg)}
    #section-activites a.cover-pointe-renommee::after {background-image: url(../img/ph-pointe-renommee.jpg)}
    #section-activites a.cover-cap-des-rosiers::after {background-image: url(../img/ph-cap-des-rosiers.jpg)}
    #section-activites a.cover-bon-desir::after {background-image: url(../img/ph-cap-desir.jpg)}
    #section-activites a.cover-pointe-des-monts::after {background-image: url(../img/ph-pointe-des-monts.jpg)}
    #section-activites a.cover-metis::after {background-image: url(../img/ph-metis.jpg)}
    #section-activites a.cover-matane::after {background-image: url(../img/ph-matane.jpg)}

@media only screen and (max-width: 890px) {
  #section-activites a.cover {
    width:50%;
  }
}
@media only screen and (max-width: 625px) {
  #section-activites a.cover {
    width:100%;
  }
}
    #section-activites a.cover:hover { background-color: rgba(0,0,0,0.1);}
    #section-activites a.cover:hover::after {
        opacity: 0.8;
        content: "Cliquez pour connaître la programmation.";
        padding: 48% 25px 25px;
        font-size: 2vh;
        color:white;
        text-shadow: 2px 2px 2px rgba(0,0,0,1);
        line-height: 2.2vh;
    }

    @media only screen and (max-width: 625px) {
        #section-activites a.cover {
            background-color: rgba(0,0,0,0.2)}
        #section-activites a.cover::after {
            opacity: 1;
            content: "Cliquez pour connaître la programmation.";
            padding: 48% 25px 25px;
            font-size: 3vh;
            color:white;
            text-shadow: 2px 2px 2px rgba(0,0,0,1);
        }
        #section-activites a.cover:hover::after {
            opacity: 1;
            content: "";
        }
}

#section-revue {
  background: white;
  color: black;
  padding: 1% 12% 3% 4%;
}
#section-revue h3, #section-revue p {
  color: black;
  text-shadow: none;
}
#section-revue h4 {margin-bottom:-20px}
#section-revue a {
  color: #2f4f8d;
  text-shadow: none;
}
#section-revue a:hover {
  color: white;
}


#section-apropos {
	background-color: white;
    color: #1f2f4d;
    padding: 4% 12% 5% 8%;
    margin-bottom: 0;
}


blockquote {
  margin: 1em 10px 1em 2em;
  padding: 0.5em 10px;
  quotes: "« " " »";
  text-align: left;
}
blockquote:before {
  content: open-quote;
}
blockquote:after {
  content: close-quote;
}



header h1 {
	line-height: 1em;
	margin-top: 0;
}
header .surtitre {margin-bottom: 0}

footer {
  text-align: center;
  margin: 0 auto 4%;
  font-size: 2.5vh;
  padding: 2% 0;
  max-width: 960px;

}
footer img {max-width: 70%;}


#map {
	width: 100%;
	height: 375px;
	margin-bottom: 5%
}
 .photo-right {
	 float:right;
	 max-width:35%;
	 margin-left: 5%;
  }
  @media only screen and (max-width: 760px) {
   .photo-right {
	 float:none;
	 max-width:75%;
	 margin-left: 0;
  }
}
#backlink {color:white;display:block;padding: 1% 8% 2%;margin-bottom:10%}
.lien-clair {
	color: rgba(255,255,255,0.85);
	transition: color 0.3s;
}
.lien-clair:hover {
	color: rgba(255,255,255,1)
}
table.programmation {
			width: 100%;
			border-collapse: collapse;
			border-spacing: 0;
		}
		table.programmation td, table.programmation th {
			background: #F3F3F3;
			border: 1px solid #CCC;
			height: 30px;
			padding: 5px 16px;
			vertical-align: top;
		}
table.programmation tr:nth-child(even) td { background: #F1F1F1; }
table.programmation tr:nth-child(odd) td { background: #FEFEFE; }

#programmation header>h1 {margin-bottom:0}
#programmation header>h2 {margin-top:0;font-size:90%}
