/* CSS Document for Screens */

@import url(https://fonts.googleapis.com/css?family=Open+Sans:300italic,700italic,300,700);


body { font-family: 'Open Sans', sans-serif; font-size: 16px; font-weight: 300; color: #555; margin: 0; padding: 0;color: #000000; background-color:#545454;}

#page { max-width: 1200px; margin: 0 auto; position: relative;  background-color:#fff;}

/* Text */

h1 { margin: 0 0 1em 0; font-size: 2.8em; font-weight: 700; }
h2 { margin: 0 0 .5em 0; font-size: 1.6em; font-weight: 700; line-height: 1.1em; }
h3 { margin: 0 0 .5em 0; font-size: 1.3em; font-weight: 700; }
h4 { margin: 0 0 1.5em 0; font-size: 1em; font-weight: 700; }

p { margin: 0 0 1em 0; }

a { color: #007eff; }
a:visited { color: #65b1ff; }

a.btn { font-size: 1.2em; text-decoration: none; color: #fff; border: 1px solid #fff; padding: 4px 15px; background-color:rgba(0,0,0,.8); transition: background-color .5s; }
a.btn:hover { background-color: rgba(0,0,0,.3); }



/* Header */

header {
	height: 300px;
	background: #000 url(../images/banner_1200.jpg) no-repeat center bottom;
	src:index.php;
	a : 
	position: relative;
	background-color: #000;
}

header a.logo {
	z-index: 1;
	position: absolute;
	display: block; width: 160px; height: 66px;
	background: url(../images/logo.svg) no-repeat 0 0; background-size: contain;
	top: 15px; left: 20px;
}
header a.logo span { display: none; }

header div.hero { position: absolute; width: 42%; top: 330px; left: 55%; }
header div.hero h1 { line-height: 1em; margin: 0 0 30px 0; color: #000; }



/* Section - All */

section { padding: 0 15px; }

section::after { content:''; display: block; clear: both; }


/* Section - Main */

section.main { margin-top: 0px; margin-bottom: 0px; padding: 0; background-color:#FFF }
section.main aside { width: 25%; float: left; text-align: center; }

section.main .content { margin: 15px; background: no-repeat center top; background-size: 75px 75px; padding-top: 85px; }

section.main aside h3 a { color: #000; text-decoration: none; }
section.main aside h3 a:hover { text-decoration: underline; }

section.main aside .content.trending { background-image: url(../images/icon_star.svg); }
section.main aside .content.find-it { background-image: url(../images/icon_marker.svg); }
section.main aside .content.tools { background-image: url(../images/icon_gear.svg); }
section.main aside .content.inscription { background-image: url(../images/icon_check.jpg); }

/* Section - Accueil */
section.accueil { padding: 25px 50px 10px 50px; background-color:#fff }
section.accueil article {  background-color:#fff }
/* Section - Conferenciere */

section.conferenciere { background-color: #f9f9f9; padding-top: 30px; padding-bottom: 30px; color: #000; }

section.conferenciere article { padding: 0 20px 0 310px; background: url(../images/jessica-mccarty.jpg) no-repeat 5px 0 ; min-height: 200px; }

section.horaire { padding: 25px 50px 10px 50px; min-height: 258px; background-color:#f2f2f2 }
section.horaire article {  min-height: 258px; background-color:#f2f2f2 }

/* Section - Affiches */

section.affiches { background-color: #000000; padding-top: 30px; padding-bottom: 30px; color: #fff; }
section.affiches a {color: #fff;}

modal-body.affiche {border:thick !important}

/* Section - Salles UQAM SH */

section.salles_uqam_sh { background-color: #749c46; padding-top: 30px; padding-bottom: 30px; padding-left:20px; color: #fff; min-height:auto; }
section.salles_uqam_sh article { padding: 0 20px 0 850px; background: url(../images/Plan-3eSH_800.jpg) no-repeat 0 0px; min-height: 620px; }

a.btn_salle { font-size: 1.2em; text-decoration: none; color: #fff; border: 1px solid #fff; padding: 4px 15px; background-color:rgba(0,0,0,.8); transition: background-color .5s; float:left; clear: both; margin-bottom:10px; }
a.btn_salle:hover { background-color: rgba(0,0,0,.3); }

/* Section - Atmosphere */

section.atmosphere { background-color: #c3d5e1; padding-top: 30px; padding-bottom: 30px; padding-left:20px; color: #fff; }

section.atmosphere article { padding: 0 20px 0 450px; background: url(../images/campus_us.jpg) no-repeat 0 5px; background-size: 425px auto; min-height: 258px; }


/* Section - How To */

section.how-to { background-color: #e0e9f0; position: relative; }

section.how-to aside { width: 30%; float: left; margin-right: 10px; }

section.how-to aside .content { padding: 30px 30px 20px 0; min-height:450px }

section.how-to aside .content img { display: block; margin-bottom: 15px; width: 70%; border:thin; }

section.how-to aside .content h4 { margin-bottom: 0; }
section.how-to aside .content p { margin-bottom: .5em; }
section.how-to aside .content a { display: inline-block; color: #cc6633; font-weight: 700; }

section.how-to blockquote {
	margin: 0; width: 32%;
	color: #444;
	background-color: #fff;
	position: absolute; bottom: 0; right: 4%;
}

section.how-to blockquote p { margin: 30px 30px 20px 50px; }

section.how-to blockquote p.quote { font-style: italic; font-size: 1.2em; }

section.how-to blockquote p.credit {
	color: #777;
	font-size: .9em; margin-top: 0; padding-left: 20px; line-height: 1.3em;
	position: relative;
}

section.how-to blockquote::before {
	content:'\201c'; color: #d2bd65;
	position: absolute;
	top: 10px; left: 8px;
	font-size: 5em;
	font-family: serif;
}

section.how-to blockquote p.quote::after { content:'\201d'; font-family: serif; }

section.how-to blockquote p.credit::before { content:'\2014'; position: absolute; top: -1px; left: 0; }


.local1{background-color:#ffec89;}
.local2{background-color:#FF8000;}
.local3{background-color:#FF3;}
.local4{background-color:#009500; color:#FFF;}
.local5{background-color:#C66;}




/* top-level */

nav > ul { padding-left: 20px; }
nav > ul > li { float: left; }
nav > ul > li > a { width: auto; padding: 10px 20px 15px 20px; }


nav a[aria-haspopup="true"]::after {
	content: '';
	display: block; width: 0px; height: 0px;
	position: absolute;
	top: 16px; right: 15px;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 4px solid #fff;
}

nav > ul > li > a[aria-haspopup="true"]::after {
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid #fff;
	left: 20px; right: auto;
	bottom: 6px; top: auto;
}



/* Footer */

footer { font-size: .8em; margin: 40px; color: #999; background-color:#fff;  }

footer .content { display: inline; }
footer img { display: inline; margin: 15px; width: auto; }

footer a { margin-left: 30px; color: #777; }
footer a:visited { color: #777; }
footer a:hover { color: #000; }

input[type=button]{
width:125px;
background-color:#1c4d99;
color:#fff;
border:2px solid #C0C0C0;
padding:10px;
font-size:20px;
cursor:pointer;
border-radius:5px;
margin-bottom:15px;
}



/* Media Queries */

@media screen and (max-width: 1000px) {

	h1 { font-size: 2.4em; }

	/* Header */
	header { height: 250px; background-image: url(../images/banner_1000.jpg); }
	header div.hero { position: absolute; width: 42%; top: 275px; left: 55%; }
	
	/* Section - Salles UQAM SH */
	section.salles_uqam_sh article { padding-left: 725px; background-size: 700px auto; }
	a.btn_salle { font-size: 1.0em; text-decoration: none; color: #fff; border: 1px solid #fff; padding: 4px 15px; background-color:rgba(0,0,0,.8); transition: background-color .5s; float:left; clear: both; margin-bottom:5px; }
	a.btn_salle:hover { background-color: rgba(0,0,0,.3); }


	/* Section - Atmosphere */
	section.conferenciere article { padding-left: 400px; background-size: 352px auto; }


}

@media screen and (max-width: 825px) {

	h1 { font-size: 2.2em; }

	/* Header */
	header { height: 206px; background-image: url(../images/banner_825.jpg); }
	header div.hero { top: 230px; left: 55%; }
	
	/* Section - Conferenciere */
	section.conferenciere article { padding-left: 325px; background-size: 300px auto; }

	/* Section - Salles UQAM SH */
	section.salles_uqam_sh article { padding-left: 625px; background-size: 600px auto; min-height:450px; }

	a.btn_salle { font-size: 0.9em; text-decoration: none; color: #fff; border: 1px solid #fff; padding: 4px 5px; background-color:rgba(0,0,0,.8); transition: background-color .5s; float:left; clear: both; margin-bottom:10px; }
	a.btn_salle:hover { background-color: rgba(0,0,0,.3); }



	/* Section - Atmosphere */
	section.atmosphere article { padding-left: 325px; background-size: 300px auto; }

	/* Section - How To */
	section.how-to blockquote p.quote { font-size: 1.1em; line-height: 1.2em; }
	section.how-to blockquote p.credit { font-size: .85em; }

}


@media screen and (max-width: 760px) {

	h1 { font-size: 1.8em; }
	h2 { font-size: 1.4em; }
	h3 { font-size: 1.1em; }
	a.btn { font-size: 1em; }

	/* Header */
	header a.logo { width: 145px; height: 60px; }
	header div.hero { top: 225px; left: 56%; }

	/* Section - Main */

	section.main { margin-top: 0px; margin-bottom: 0px; }
	section.main aside div.content { background-size: 55px 55px; padding-top: 60px; }


	/* Section - Salles UQAM SH */
	section.salles_uqam_sh { background-color: #749c46; padding-top: 30px; padding-bottom: 30px; padding-left:20px; color: #fff; }

	section.salles_uqam_sh article {padding: 470px 200px 10px 0px; background-size:600px; float:left; clear:both; min-height:10px }

	a.btn_salle { font-size: 1.1em; text-decoration: none; color: #fff; border: 1px solid #fff; padding: 4px 5px; background-color:rgba(0,0,0,.8); transition: background-color .5s; float: none; clear: both; margin-right:10px; }
	a.btn_salle:hover { background-color: rgba(0,0,0,.3); }

	/* Section - How To */
	section.how-to aside div.content img { width: 85%; }

	/* Navigation */
	
	nav > ul { padding-left: 10px; }

}


@media screen and (max-width: 625px) {

	h1 { font-size: 1em; }
	h3 { margin-bottom: 10px; }
	a.btn { font-size: .9em; }
	#auteur { font-size: .75em; }
	

	/* Header */
	header { height: 156px;background-image: url(../images/banner_625.jpg); background-position: left top; }
	header a.logo {
		width: 100%; height: 66px;
		left: 0px; top: 0px;
		background-color: rgba(0,0,0,.65);
		background-size: 112px 46px;
		background-position: 20px center;
	}
	header div.hero {
	width: 300px;
	top: 160px;
	left: 345px;
}
	header div.hero h1 { margin-bottom: 10px; }
	
	/* Section - Main  */
	section.horaire article { padding: 0 5px 0 5px; min-height: 258px; }


	section.main aside { width: 100%; float: none; text-align: left; }

	section.main aside div.content {
		margin: 8px 20px 8px 0;
		padding: 5px 0px 10px 85px;
		background-size: 50px 50px;
		background-position: 20px 5px;
		
	}

	/* Section - Conferenciere  */

	
	section.conferenciere article { padding-left: 290px; background-size: 250px auto; }
	/* Section - Salles UQAM SH */
	section.salles_uqam_sh { background-color: #749c46; padding-top: 20px; padding-bottom: 0px; padding-left:20px; color: #fff; min-height:auto; }
	section.salles_uqam_sh article {padding: 440px 100px 20px 0px; background-size:550px; float:left; clear:both; min-height:10px }
		
	a.btn_salle { font-size: 1.2em; text-decoration: none; color: #fff; border: 1px solid #fff; padding: 4px 15px; background-color:rgba(0,0,0,.8); transition: background-color .5s; float: none;  margin-right:10px; }
	a.btn_salle:hover { background-color: rgba(0,0,0,.3); }


	/* Section - Atmosphere  */

	section.atmosphere article { padding: 240px 20px 10px 0px; background-size: 280px auto; min-height: initial; }


	/* Section - How To */

	section.how-to aside { width: 100%; float: none; margin: 0; position: relative; }

	section.how-to aside div.content { padding: 20px 20px 20px 150px;margin: auto; min-height:200px; }

	section.how-to aside div.content p { font-size: .9em; }

	section.how-to aside div.content img {
		display: inline-block;
		width: 125px;
		position: absolute;
		top: 30px; left: 0px;
	}

	section.how-to blockquote {
		margin: 0 20px 0 40px;
		width: 90%;
		padding: 1px 0px 20px 0px;
		position: relative;
	}

	section.how-to blockquote p.credit { margin-bottom: 0; }


	/* Navigation */
	nav { position: static; width: auto; padding: 20px 15px;}

	nav ul,
	nav ul ul,
	nav ul ul ul { display: block; position: static; }

	nav > ul { padding: 0; }
	nav > ul > li { float: none; margin-top: 25px; }

	nav ul li:hover { background: none; }

	nav ul li a {
		width: auto;
		display: block;
		margin: 8px 10px;
		padding: 8px 15px;
		border: 1px solid rgba(255,255,255,.25);
	}

	nav ul li a:hover { background-color: rgba(255,255,255,.2); }

	nav ul ul { background: none; }

	nav ul ul li a { margin-left: 30px; }
	nav ul ul ul li a { margin-left: 60px; }

	nav a[aria-haspopup="true"]::after { display: none; }

	/* Footer */

	footer { display: block;margin-top: 15px; }

	footer a { margin: 0 20px 0 0; }


}


@media screen and (max-width: 425px) {

	/* Header */
	header { height: 425px; background-image: url(../images/banner_425.jpg); }

	

	header div.hero { width: 100%; left: 85px; top: 105px; text-align: center; }

	header div.hero h1 { font-size: 1em; margin-bottom: 10px; color:#000; }

	header div.hero a.btn { padding: 2px 30px; font-size: .8em; color:#fff; }

	header div.hero a.btn span { display: none; color:#000; }

	/* Section - Conferenciere  */

	section.conferenciere article { padding: 450px 20px 10px 10px; background-size: 100% auto; min-height: initial; }


	/* Section - Salles UQAM SH */
	section.salles_uqam_sh { background-color: #749c46; padding-top: 30px; padding-bottom: 30px; padding-left:20px; color: #fff; min-height:auto; }
	section.salles_uqam_sh article { padding: 250px 20px 10px 0px; background-size: 100% auto; min-height: initial;  }
	
	a.btn_salle { font-size: 0.7em; text-decoration: none; color: #fff; border: 1px solid #fff; padding: 4px 10px; background-color:rgba(255,0,0,.8); transition: background-color .5s; float: none;  margin-right:5px; }
	a.btn_salle:hover { background-color: rgba(0,0,0,.3); }

	/* Section - Atmosphere  */

	section.atmosphere article { padding: 290px 20px 10px 0px; background-size: 100% auto; min-height: initial; }

	/* Section - Horaire */
	section.horaire { padding: 15px 10px 10px 10px; }

	/* Section - How To */

	section.how-to aside div.content { padding: 230px 20px 20px 0px; }

	section.how-to aside div.content img { width:auto; top: 30px; }

	section.how-to blockquote { margin: 10px 40px 0 20px; }


	/* Footer */
	
	footer::after { content:''; display: block; clear: both; }

	footer div.content a {
		display: inline-block; margin: 0 0 10px 0;
		float: left;
		clear: both;
	}

	footer img { display: inline; margin: 15px; width: 85px; }	


}

@media screen and (max-width: 325px) {

	/* Header */
	header { height: 325px; background-image: url(../images/banner_325.jpg); }
	header div.hero { width: 100%; left: 75px; top: 85px; text-align: center; }

	header div.hero h1 { font-size: 1em; margin-bottom: 10px; color:#000; }

	/* Section - Conferenciere  */

	section.conferenciere article { padding: 350px 20px 10px 10px; background-size: 100% auto; min-height: initial; }
	
	/* Section - Salles UQAM SH */
	section.salles_uqam_sh { background-color: #749c46; padding-top: 30px; padding-bottom: 30px; padding-left:20px; color: #fff; min-height:auto; }
	section.salles_uqam_sh article { padding: 225px 5px 10px 0px; background-size: 100% auto; min-height: initial;  }
	
	a.btn_salle { font-size: 0.9em; text-decoration: none; color: #fff; border: 1px solid #fff; padding: 4px 10px; background-color:rgba(255,255,0,.8); transition: background-color .5s; float: none;  margin:5px; clear:right; }
	a.btn_salle:hover { background-color: rgba(0,0,0,.3); }


	/* Section - Atmosphere  */

	section.atmosphere article { padding: 210px 20px 10px 0px; background-size: 100% auto; min-height: initial; }


	/* Footer */

	footer img { display: inline; margin: 10px; width: 85px; }	