@charset "utf-8";

/*
=========================================================================
	Bande haut
     Tout le css qui concerne la zone du haut qui est commun à l'ensemble du site web.
=========================================================================
*/


#bande-haut-niv1 {
	background: #186db7 linear-gradient(to bottom, #186db7 1%, #074b98 100%);
}
#bande-haut-niv2 {
	background-color: #1b4588;
}

@media (min-width: 767px) {
	#bande-haut-niv1 div.contenu,
	#bande-haut-niv2 div.contenu {
		max-width: 1160px;
		margin: auto;
		height: 48px;
	}
	#bande-haut-niv1 {
		height: 93px;
		background-color: #186db7;
		background-image: url(/img/fond-entete.jpg), linear-gradient(to bottom, #186db7 1%, #074b98 100%);
		background-repeat: no-repeat;
		background-position: center;
	}
	#bande-haut-niv2 {
		border-top: 1px solid #325998;
		border-bottom: 1px solid #a6b8d8;
	}
}
/* Logo de la ville */
header#bande-haut #logo-vdq {
	display: block;
	background-image: url(/img/logo-ville-quebec.svg);
	background-repeat: no-repeat;
	height: 90px;
	width: 220px
}

@media (min-width: 767px) {
	header#bande-haut #logo-vdq {
		float: left;
	}
}
/* Tous les menus qui sont dans cette zone */
header#bande-haut a {
	color: white;
	text-decoration: none;
}
header#bande-haut a:hover {
	text-decoration: underline
}
header#bande-haut ul {
	list-style: none;
	margin: 0;
}
@media (min-width: 790px) {
	header#bande-haut ul#menu-utilitaires > li {
		display: inline-block;
		margin: 0;
	}
	header#bande-haut ul#menu-principal > li {
		display: inline-block;
	}
}
@media (min-width: 790px) and (max-width: 960px) {
	header#bande-haut ul#menu-utilitaires > li:first-child {
		display: none;
	}
}
/* Menu utilitaires (emplois et stages, espace presse et nous joindre) */
header#bande-haut ul#menu-utilitaires {
	display: none;
}

@media (min-width: 790px) {
	header#bande-haut ul#menu-utilitaires {
		display: block;
		float: right;
		font-size: 15px;
		margin-top: 10px
	}
	header#bande-haut ul#menu-utilitaires > li > a,
	header#bande-haut ul#menu-utilitaires > li .bloc_langue  a {
		display: inline-block;
		padding: 8px 7px;
	}
}
@media (min-width: 820px) {
	header#bande-haut ul#menu-utilitaires > li > a,
	header#bande-haut ul#menu-utilitaires > li .bloc_langue  a {
		padding: 8px 11px;
	}
}
/* Langues*/
header .langues ul {
	display:inline;
	margin:0;
	padding:0;
}
header .langues ul {
	text-transform: uppercase;
}
header .langues ul li.active {
	padding:10px 0;
}
header .langues ul li.active {
	display:none;
}

@media (min-width: 767px) {
	.bloc_langue {
		display: inline;
	}
}
/*
@media (max-width: 1160px) {
	#menu-utilitaires li.lien {
		display: none;
	}
}
*/

#bande-haut-niv1 #connexion {
	min-width: 57px;
}
header#bande-haut ul#menu-utilitaires #connexion > a {
	display: block;
	margin-left: 8px;
	padding-left: 25px;
	padding-right: 15px;
	position: relative;
}
@media (min-width: 1190px) {
	header#bande-haut ul#menu-utilitaires #connexion > a {
		padding-right: 1px;
	}
}

#bande-haut-niv1 #connexion > a:before {
	background-image: url(/img/pictos/picto-personne-blanc.svg);
	content: " ";
	position: absolute;
	left: 0;
    top: 50%;
	width: 25px; height: 25px;
	transform: translateY(-50%);
}
/*
#bande-haut-niv1 .connexion  {
	padding: 4px 0 4px 12px;
	cursor: pointer;
	position: relative;
	transition: background-color 0.1s;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
}*/
#bande-haut-niv1 .connexion.connecte  {
	background-color: #f2f2f2;
	padding: 4px 0 4px 12px;
	cursor: pointer;
	margin-left: 10px;
	min-height: 40px;
	position: relative;
	transition: background-color 0.1s;
    user-select: none;
}
/*
#bande-haut-niv1 .connexion img {
	
	height: 36px;
	display: inline;
	vertical-align: middle;
	padding: 6px 13px 6px 3px;
	position: relative;
	top: -3px;
	width: 45px;
}*/
#bande-haut-niv1 .connexion.connecte img {

	display: inline;
	height: 23px;
	padding: 0 13px 0 3px;
	position: absolute;
	top: 9px;
	left: 6px;
	vertical-align: middle;
	
}

#bande-haut-niv1 .connexion.connecte ul:last-child {
	background-color: white;
	box-shadow: -1px 7px 41px -15px rgba(0,0,0,0.75);
	display: none;
	position:absolute;
	top: 40px; right: 0;
	width: 300px;
	z-index: 600;

}
#bande-haut-niv1 .connexion.connecte ul:last-child li {
	padding:0;
	margin:0;
	text-align:left;
}

#bande-haut-niv1 .connexion.connecte ul:last-child li a {
	border-bottom:1px solid #cdcbcb;
	color: #545454;
	display: block;
	font-family: "proxima-nova", sans-serif;
	font-size: 15px;
	padding:14px 13px 14px 23px	;
	position: relative;
	text-decoration:none;
	width: 100%;
	transition: background 0.1s;
}
#bande-haut-niv1 .connexion.connecte ul:last-child li a:hover {
	background: #f2f2f2;
	transition: background 0.3s;
}
#bande-haut-niv1 .connexion.connecte ul:last-child li a::after {
	background-image: url(/img/pictos/picto-fleche-droite-gris.svg);
	background-repeat: no-repeat;
	content: ' ';
	position: absolute;
	width: 15px; height: 15px;
	top: 50%; right: 12px;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

#bande-haut-niv1 .connexion.connecte ul:last-child li:nth-child(4) a::after {
	background-image: none;
}

#bande-haut-niv1 ul#gestion_compte  {
	position:relative;
	display:inline-block;
	width:auto;
}
#bande-haut-niv1 ul#gestion_compte a {
	color: #545454;
	display: inline-block;
	font-size: 15px;
	margin-bottom: -4px;
	margin-left: -14px;
	max-width: 210px;
	min-width: 135px;
    overflow: hidden;
	padding: 0 35px 0 40px;
	position: relative;
	text-overflow: ellipsis;
    white-space: nowrap;

}
#bande-haut-niv1 ul#gestion_compte a:hover {
	text-decoration:none;
}

#bande-haut-niv1 ul#gestion_compte a::after{
	content: " ";
	background: url(/img/pictos/picto-fleche-droite-gris.svg) no-repeat center center;
	background-size: 12px 12px;
    width: 21px;
	height: 21px;
	position: absolute;
    right: 8px;
	top: 0;
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
	-webkit-transform-origin: center 49%;
	transform-origin: center 49%;
	transition: transform 0.3s;

}
#bande-haut-niv1 ul#gestion_compte li.open a::after{
	-webkit-transform: rotate(-90deg);
	transform: rotate(-90deg);
}
#bande-haut-niv1 .connexion ul#gestion_compte_popup {
	width: 256.5px;
}


/*
=========================================================================

	Menu principal desktop

=========================================================================

*/
#menu-principal {
	display: none;
}

@media (min-width: 767px) {
	#menu-principal {
		display: block;
		text-transform: uppercase;
		float: left;
	}
	#menu-principal > li {
		margin-top: 0;
		position:relative;
		float: left;
		display: block;
	}
	#menu-principal li a {
		display: block;
		padding: 0 18px;
	}
	#menu-principal > li > a {
		border-left: 1px solid #325998;
		font-family: "proxima-nova-medium", sans-serif;
		padding: 0 18px;
		transition: background-color 0.2s;
		letter-spacing: 0.4px;
		line-height: 48px;
	}
	#menu-principal > li:last-child > a {
		border-right: 1px solid #325998;
	}
	#menu-principal > li > a:hover {
		text-decoration: none;
		transition: background-color 0.1s;
		border-bottom: 1px solid #a6b8d8;
	}
	#menu-principal > li > a.hover {
		background-color: #1b4588;
		border-bottom: 1px solid #a6b8d8;
	}

	#menu-principal li:nth-child(1) a.hover {
		background-color: #108848;
	}
	#menu-principal li:nth-child(2) a.hover {
		background-color: #027AC5;
	}
	#menu-principal li:nth-child(3) a.hover {
		background-color: #cd4c1d;
	}
	#menu-principal li:nth-child(4) a.hover {
		background-color: #697697;
	}
	#bande-haut-niv2 > div > ul.citoyens > li:nth-child(1) > a {
		background-color: #108848;
	}
	#bande-haut-niv2 > div > ul.gensaffaires >  li:nth-child(2) > a {
		background-color: #027AC5;
	}
	#bande-haut-niv2 > div > ul.touristes > li:nth-child(3) > a {
		background-color: #cd4c1d;
	}
	#bande-haut-niv2 > div > ul.apropos > li:nth-child(4) > a {
		background-color: #697697;
	}
}
@media (min-width: 900px) {
	#menu-principal > li > a {
		padding: 0 24px;
	}
}

/* Menu principal - Hover */
@media (min-width: 767px) {
	/* Submenu */
	#menu-principal > li ul {
		position:absolute;
		list-style-type: none;
		z-index:10002;
	    column-count: 3;
		background-color:white;
		box-shadow: 0 7px 54px -10px rgba(0,0,0,0.75);
		left: 1px;
		top: 49px;
		background: white;
		padding:30px 25px 37px 19px;
		display: none;
		width: 787px;
	}



	#menu-principal > li:nth-child(2) ul {
		width:525px;
		column-count: 2;

	}
	#menu-principal > li:nth-child(3) ul {
		width:520px;
		column-count: 2;

	}
	#menu-principal > li:nth-child(4) ul {
		width:515px;
		column-count: 2;

	}

	html[lang="en"] #menu-principal > li:nth-child(3) ul,
	html[lang="en"] #menu-principal > li:nth-child(4) ul {
		width: 227px;
		column-count: 1;
	}
	html[lang="en"] #menu-principal > li:nth-child(1) ul,
	html[lang="en"] #menu-principal > li:nth-child(2) ul {
		width:317px;
		column-count: 1;
	}
	#menu-principal > li ul li {
		display: inline-block;
		width: 100%;
	}
	#menu-principal > li ul li a {
		padding: 6px 5px 7px;
		font-size: 15px;
		display: block;
		color: #545454;
		border: none;
		text-transform: none;
	}
	#menu-principal > li ul li a:hover { text-decoration:underline; }


}

/* Engin de recherche :
- Header est important car dans 311, il réutilise le même contrôle */
header #recherche {
	display: none;
}

@media (min-width: 767px) {
	header #recherche {
		display: block;
		float: right;
	}
	header #recherche label {
		position: absolute;
	  	width: 1px;
	  	height: 1px;
	  	padding: 0;
	  	margin: -1px;
	  	overflow: hidden;
	  	clip: rect(0, 0, 0, 0);
	  	border: 0;
        color: white;
	}
	header #recherche .easy-autocomplete{
		display: inline-block;
		text-align: right;
		width: auto !important;
	}
	header #recherche .easy-autocomplete-container ul{
		border-left: 1px solid #cbcbcb;
		border-bottom:1px solid #cbcbcb;
		border-right:1px solid #cbcbcb;
		text-align: left;
		z-index:1000;
	}
	header #recherche .easy-autocomplete-container ul li{border:none;}
	header #recherche input[type=search] {
		border: 0 none;
		border-radius: 0;
		padding-left: 20px;
		padding-right:10px;
		font-family: "proxima-nova-medium", sans-serif;
		font-size: 18px;
		color: #545454;
		height: 48px;
		width: 150px;
		-webkit-appearance: none;
	}

	header input.ClassBoutonRecherche {
		width: 0; /* width et height à 0 pour tricher le src sur le input image*/
		height: 0;
		padding: 48px 0 0 60px;
		background: url(../img/pictos/picto-loupe-blanc.svg) no-repeat 50% 50%;
		background-color: #108848;
		background-size: 55%;
		float: right;
		transition: background 0.3s;
	}
	header input.ClassBoutonRecherche:hover {
		background-color:#007236;
	}
}

@media (min-width: 800px) {
	header #recherche input[type=search] {
		width:180px;
	}
}
@media (min-width: 850px) {
	header #recherche input[type=search] {
		width:230px;
	}
}
@media (min-width: 950px) {
	header #recherche input[type=search] {
		width:280px;
	}
}
@media (min-width: 990px) {
	header #recherche input[type=search] {
		width:310px;
	}
}
/* Fil d'ariane */
#bc_filariane {
	font-family: "proxima-nova-semibold";
	padding: 12px 15px 0;
	font-size: 14px;
	font-weight: 400;
}
@media (min-width: 767px) {
	#bc_filariane {
		font-size: 16px;
		max-width: 1160px;
		margin: auto;
		padding: 1.8em 15px /*10px*/;
	}
	#bc_filariane a,
	#bc_filariane span{
		padding: 0 4px;
		text-decoration: none;
	}
	#bc_filariane a:first-child,
	#bc_filariane span:first-child{
		padding-left: 0;

	}
}
@media (min-width: 1190px) {
	#bc_filariane {
		padding: 1.8em 2px;
	}

}
