/*
=========================================================================
    Bande du bas
=========================================================================
*/

footer {
	background-color: #212837;
	font-size: 1em;
	color: white;
}
footer nav {
	padding: 20px 35px 0px;
}
@media (min-width: 400px) {
	footer nav {
		padding: 20px 15% 0px;
	}
}
@media (min-width: 550tpx) {
	footer nav {
		padding: 20px 25% 0px;
	}
}
@media (min-width: 900px) {
	footer {
		min-height: 320px;
		position:relative;
	}
	footer nav {
		padding: 40px 0px;
		max-width: 1160px;
		margin: auto;
	}
}
/* Positionne l'élément Nous sommes Québec l'accent d'amérique */
footer nav:before {
	background-image: url(/img/logo-vdq-footer.svg);
	width: 220px;
    height: 76px;
	display: block;
	content: " ";
	margin: 0 auto 1em;
}

@media (min-width: 900px) {
	footer nav:before {
		position: absolute;
		width:200px;
		height: 70px;
	}
}
/* Styles des liens */
footer a {
	text-decoration: none;
	color: #cccccc
}
footer a:focus,
footer a:hover {
	color: white
}
/* Styles sur les listes */
footer ul {
	margin: 0;
	font-size: 13px;
}
@media (min-width: 900px) {
	footer ul {
		font-size: 14px;
	}
}
footer #footer-nav {
	overflow: hidden;
}
footer ul li {
	cursor: pointer;
	font-size: 15px;
	text-transform: uppercase;
	list-style: none;
	border-bottom: 3px solid #ccc;
	padding: 5px 15px 8px;
	position: relative;
	display: block
}

/* Image + pour le mobile */
footer ul li:focus {
	outline: none;
}
@media (max-width: 899px) {
	footer ul li:before {
		position: absolute;
		width: 25px;
		height: 25px;
		content: "";
		background-repeat: no-repeat;
		background-position: center;
		right: 0;
		top: 0;
		background-image: url('/img/pictos/picto-plus.svg');
		-webkit-filter: invert(50%) brightness(200%);
		filter: invert(50%) brightness(200%);
		background-size: 80%;
	}

	footer ul li.active::before {
		background-image: url('/img/pictos/picto-moins.svg');
	}
	footer ul li ul {
		margin-bottom:2px;
	}

	footer ul li li:before, 	footer  ul li:nth-child(4):before {
		background-image: none;
	}
		}
	footer ul li li, footer ul li:nth-child(4) {
		border-bottom: 0;
		padding: 0px;
	}
	footer ul li:nth-child(3) {
		border-bottom: 0;
	}

	@media (min-width: 900px) {
	footer ul li {
		cursor: default;
		border-bottom: 0 none;
		padding: 0px
	}
	footer ul li:after {
		background-image: none;
	}
}
footer ul li li {
	text-transform: none;
}
/* Liens boutons des médias sociaux */
footer a[class*="picto-"]:before {
	display: block;
	content: " ";
	background-position: center;
	background-repeat: no-repeat;
	width: 31px;
	height: 31px;
	position: absolute;
	text-align: center;
}
@media (min-width: 340px) {
	footer a[class*="picto-"]:before {
		width: 35px;
		height: 35px;
	}
}
@media (min-width: 570px) {
	footer a[class*="picto-"]:before {
		width: 38px;
		height: 38px;
	}
}
@media (min-width: 900px) {
	footer a[class*="picto-"]:before {
		width: 28px;
		height: 28px;
	}
}
footer .btn-medias-sociaux {
	display: inline-block;
	margin-right: 3px;
	width: 31px;
	height: 31px;
}
@media (min-width: 340px) {
	footer .btn-medias-sociaux {
		margin-right: 4px;
		width: 35px;
		height: 35px;
	}
}
@media (min-width: 570px) {
	footer .btn-medias-sociaux {
		margin-right: 5px;
		width: 38px;
		height: 38px;
	}
}
@media (min-width: 900px) {
	footer .btn-medias-sociaux {
		margin-right: 5px;
		width: 28px;
		height: 28px;
	}
}

footer .btn-medias-sociaux a:focus {
    outline: 1px solid white;
}
footer .btn-medias-sociaux .picto-courriel:before {
	filter: invert(50%) brightness(200%);
}
footer .btn-medias-sociaux-hover {
	position: absolute;
	bottom: -1.8em;
	font-family: "proxima-nova-semibold", sans-serif;
	font-size: 0.85em;
	font-weight: 600;
}

footer .btn-medias-sociaux .picto-twitter-2:before {
	background-image: url("/img/pictos/picto-twitter-2-blanc.svg")
}
footer .btn-medias-sociaux .picto-twitter .btn-medias-sociaux-hover {margin-left: 0}
@media (min-width: 900px) {
	footer .btn-medias-sociaux .picto-twitter .btn-medias-sociaux-hover {margin-left: -4px}
}
footer .btn-medias-sociaux .picto-youtube   .btn-medias-sociaux-hover {margin-left: -9px}
footer .btn-medias-sociaux .picto-instagram .btn-medias-sociaux-hover {margin-left: -13px}
footer .btn-medias-sociaux .picto-linkedin  .btn-medias-sociaux-hover {margin-left: -9px}
footer .btn-medias-sociaux .picto-rss 	    .btn-medias-sociaux-hover {margin-left: 2.5px}
footer .btn-medias-sociaux .picto-courriel  .btn-medias-sociaux-hover {margin-left: -23px}
footer ul ul {
	display: none;
}
footer ul li:nth-child(4) ul {
	display: block;
	margin-left: 0;
	text-align: center;
	margin-bottom: 0.75em;
}
@media (min-width: 900px) {
	footer ul li:nth-child(4) ul {
		margin-bottom: 0;
	}
}

/* Positionnement en 4 colonnes, une colonne pour
le nous sommes l'accent et
3 colonnes pour les listes*/


/* Positionnement de la liste Nous joindre et médias sociaux*/
footer #footer-nav > li:nth-child(4) {
	margin-bottom: 20px;
}
@media (min-width: 900px) {
	#footer-nav  {
		margin-left: 25%;
        padding-left: 11px;
	}
	footer ul li {
		width: 33%;
		float: left;
	}
	footer #footer-nav > li:nth-child(1) {
		width: 29%;
	}
	footer #footer-nav > li:nth-child(2) {
		width: 29%;
	}
	footer #footer-nav > li:nth-child(3) {
		width: 41%;
	}
	footer ul ul {
		display: block;
	}
	/* Positionnement de la liste Nous joindre et médias sociaux*/
	footer #footer-nav > li:nth-child(4) {
		margin-top: 10px;
		margin-left: 58%;
	}
	/*Efface le positionnement pour les listes de deuxième niveau*/
	footer ul li li {
		width: auto;
		float: none;
	}
	footer ul li li:nth-child(4) {
		margin-left: 0px;
		margin-top: 0.4em;
	}
	footer ul li li.btn-medias-sociaux:nth-child(4) {
		clear: none;
	}
	footer ul li:nth-child(4) ul {
		margin-left: 0;
		text-align: left;
	}
}
@media (min-width: 1000px) {
	#footer-nav  {
		margin-left: 300px;
	}
}

#copyright-site {
	font-size: 90%;
	color: #ccc;
	clear: both;
	background-color: rgba(55, 61,75,0.9);
	text-align: center;
	padding: 10px 0px;
	width: 100%;
	bottom: 0;
	margin-bottom: 0px;
}
@media (min-width: 900px) {
	#copyright-site {
		position: absolute;
	}
}
