/*************************
 * #header
 *************************/
#header {
	background-color: #00235c;
}

#header_banner {
    display: grid;
    grid-template-columns: 1fr 953px 1fr;
}

#header_banner_left {
    background-image: url("images/banniere-gauche.png"), url("images/filet-gauche.png");
    background-repeat: no-repeat, repeat-x;
    background-position: top right;
}

#header_banner_right {
    background-image: url("images/banniere-droite.png"), url("images/filet.png");
    background-repeat: no-repeat, repeat-x;
}

#header_home {
	background-image: url("images/banniere-centrale.png");
	max-width: 953px;
	height: 172px;
	position: relative;
	background-repeat: no-repeat;
	display: block;
}

#header_home_slogan {
	color: #fff;
	position: absolute;
	/*background-color: #00235c;*/
	top: 127px;
	left: 6px;
	width: 240px;
	font-size: 13px;
	line-height: 1.3;
	font-weight: bold;
	text-transform: uppercase;
}

#header_home_logo {
	background-image: url("images/logo.png");
	position: absolute;
	width: 133px;
	height: 80px;
	display: block;
	top:30px;
	left: 30px;
}


/*************************
 * #header_menu
 *************************/

#header_menu {
	background-color: #00235c/*bleu marine*/;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #fff;
	padding: 5px 10px 10px 10px; 
	text-align: center;
}

#header_menu a {
	text-decoration: none;
	color: #0099ff/*bleu ciel*/;
	font-weight: bold;
}

#header_menu a:visited {
	color: #0099ff;
}

#header_menu a:hover {
	color: white;
}

#header_menu_bar li {
	display: inline-block;
	padding-right: 8px;
}

#header_menu_bar li::before {
	content: " ";
	padding-left: 20px;
	background-image: url("images/pellicule.png");
	background-repeat: no-repeat;
	background-position: center left;
}

#header_menu_bar li:last-child::after {
	content: " ";
	padding-right: 20px;
	background-image: url("images/pellicule.png");
	background-repeat: no-repeat;
	background-position: center right;
}

#header_menu_bar {
	display: inline-block;
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

#header_menu_details {
	display: none;
}


@media screen and (max-width: 1099px) {
	
	#header_menu_bar li {
		font-size: 0.9em;
	}
}

@media screen and (max-width: 952px) {
    
    #header_banner {
        display: block;
    }
	
	#header_menu_details {
        display: block;
        position: relative;
        padding-top: 32px;
    }
    
    #header_menu_details summary {
        height: 26px;
        width: 30px;
        display: block;
        position: absolute;
        top: 4px;
        right: 20px;
        box-sizing: border-box;
        border-color: #fff;
        padding-left: 4px;
        padding-top: 1px;
    }
    
    #header_menu_details summary {
        list-style: none;
    }
    
    #header_menu_details summary::-webkit-details-marker {
        display: none;
    }
    
    #header_menu_details summary span {
        display: block;
        margin-top: 4px;
        width: 20px;
        height: 2px;
        background-color: #fff;
    }
    
    #header_menu_details ul {
        margin: 0;
        padding-left: 0;
        padding-bottom: 10px
    }
    
    #header_menu_details li {
        text-align: center;
        list-style: none;
        margin-left: 0;
		font-size: 0.9em;
		margin-bottom: 15px;
    }
    
    #header_menu_details li::before {
		content: " ";
		padding-left: 20px;
		background-image: url("images/pellicule.png");
		background-repeat: no-repeat;
		background-position: center left;
	}

	#header_menu_details li::after {
		content: " ";
		padding-right: 20px;
		background-image: url("images/pellicule.png");
		background-repeat: no-repeat;
		background-position: center right;
	}
	
	#header_menu_details form {
		display: inline-block;
	}
	
	#header_menu_details input {
		border-radius: 6px;
		padding: 3px;
	}
	
	#header_menu_details button {
		color: #00235c/*bleu marine*/
		border: none;
		background-color: #fff;
		border-radius: 6px;
	}
		
	#header_menu_bar {
		display: none;
	}
}

@media screen and (max-width: 500px) {
	
	#header {
		max-width: 1200px;
		margin: auto;
		background-image: none;
		background-color: #36a9e1;
	}

	#header_home {
		background-image: none;
		width: 143px;
		height: auto;
		position: relative;
		padding-top: 8px;
		padding-bottom: 8px;
	}

	#header_home_slogan {
		display: none;
	}

	#header_home_logo {
		position: static;
		background-image: url("images/logo.png");
		width: 133px;
		height: 80px;
		display: block;
		margin-left: 10px;
		
	}
	
	#header_menu {
		padding: 0;
		border: none;
	}
	
	#header_menu_details {
		position: static;
		padding-top: 2px;
		
	}
	
	#header_menu_details[open] {
		padding-top: 20px;
	}
	
	#header_menu_details summary {
        top: 25px;
		width: 45px;
		height: auto;
    }
    
    #header_menu_details summary span {
        margin-top: 8px;
        height: 3px;
		width: 30px;
    }
}

@media screen and ((min-width: 501px) and (max-width: 952px)) { 
	
	#header_home {
		background-image: url("images/banniere-moyen.png");
		width: auto;
		height: auto;
		position: relative;
		padding-top: 10px;
		padding-bottom: 10px;
		background-color: #36a9e1;
		background-position: right top;
	}
	
	#header_home_slogan {
		background-color: #36a9e1;
		top: 58px;
		left: 180px;
	}
	
	#header_home_logo {
		position: static;
		background-image: url("images/logo.png");
		width: 133px;
		height: 80px;
		display: block;
		margin-left: 10px;
		
	}
}
