@media (max-width: 640px) {

.modal-dialog {
    width: 100%;
}

.buttons-menu {
    margin-top: 0; 
    background-color: transparent;
    float: none;
    }
    
.buttons-menu .btn {
    margin-bottom: 0;
    margin-top: 0;
    border: 10px solid #fff
}

header, #content, #contact, #legal, footer {
	min-width: 280px;
	max-width: 640px;
	}
    
#content.small {
    margin: 56px auto auto;
    }
	
footer {
	max-width: initial;
	}

header > #espace-membre,
header > #baner,
.bg_header {
	display: none;
	}

header {
	min-height: 50px;
	height: 150px;
	left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
	width: auto;
	background-color: #FFFFFF;
    -webkit-transition: background-color 100ms linear;
    -moz-transition: background-color 100ms linear;
    -o-transition: background-color 100ms linear;
    -ms-transition: background-color 100ms linear;
    transition: background-color 100ms linear;
	}

header.small {
	height: 56px;
    box-shadow: 0px 2px 3px #353535;
    background-color: #2874b2;
    -webkit-transition: background-color 100ms linear;
    -moz-transition: background-color 100ms linear;
    -o-transition: background-color 100ms linear;
    -ms-transition: background-color 100ms linear;
    transition: background-color 100ms linear;
	}

header > #logo {
    padding-top: 100px;
    height: 150px;
    left: 0;
	width: initial;
	background-position: 0px 7px;
	background-repeat: no-repeat;
    background-image: url(../images/logo_site_174.png);
	-webkit-transition: background 100ms;
    -moz-transition: background 100ms;
    -o-transition: background 100ms;
    transition: background 100ms;
	}

header > #logo > h2 {
	font-size: 17px;
	line-height: 19px;
	margin-left: 9px;
	}

header.small > #logo,
header > #logo.small {
	height: 54px;
	width: 100px;
	padding: 0;
	background-position: left top;
	background-image: url(../images/logo_petit_blanc.png);
	-webkit-transition: background 100ms;
    -moz-transition: background 100ms;
    -o-transition: background 100ms;
    transition: background 100ms;
	}

header.small > #logo > h2 ,
header > #logo.small > h2 {
	display: none !important;
	}

header > #mebil {
    display: initial;
    position: absolute;
    height: 47px;
    right: 5px;
    top: 5px;
    color: #2874b2;
    text-align: center;
    border: 1px solid #2874b2;
    z-index: 22;
    padding: 0 10px;
    font-size: 20px;
    background-color: transparent;
	transition: background 150ms, color 150ms;
	}

header.small > #mebil {
	color: #FFFFFF;
    border: 1px solid #2874b2;
    background-color: transparent;
	transition: all 150ms;
	}

header > #mebil .glyphicon {
	font-size: 30px;
	top: 8px;
	margin-left: 8px;
	}

header > #mebil.ouvert {
	color: #b9b9b9 !important;
    border: 1px solid transparent;
	background-color: transparent;
	transition: all 150ms;
	}

header > #ppal {
    position: absolute;
    width: auto;
    height: 56px;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    border: 0;
    box-shadow: none;
	opacity: 0;
	transition: all 150ms;
	}
    
#ppal .scroll-arrow {
    background-color: rgb(85, 85, 85);
    border-radius: 4px;
    color: rgb(170, 170, 170);
    display: block;
    float: left;
    font-size: 46px;
    padding: 4px 4px 4px 0;
    top: 56px;
    z-index: 9999;
    }

#ppal .scroll-arrow.scroll-arrow-down {
    left: -51px;
    }

#ppal.ouvert {
    background-color: #404040;
    border-bottom: 1px solid #2F2F2F;
    box-shadow: 0 0 100px #1A1A1A;
	height: auto;
	opacity: 1;
	transition: all 150ms;
	}

#ppal .menu {
	margin: 56px 0 3px 0;
    padding: 0 4px;
    /*width: 100%;
    float: right;*/
    overflow-y: hidden;
	}

#ppal .menu li {
	display: none;
	width: 100%;
	text-align: right;
	}

#ppal .menu li li > a  {
	padding: 0 38px;
    font-size: 15px;
    height: 40px;
    line-height: 40px;
	}

#ppal .menu li.pull-down .glyphicon {
	display: initial;
	position: absolute;
    /*font-size: 12px;
    top: 15px;*/
    right: 12px;
    color: #b9b9b9;
    font-size: 20px;
    top: 22px;
	}
    
#ppal .menu li.pull-down li.pull-down .glyphicon {
    /*top: 10px;*/
    font-size: 15px;
    top: 13px;
	}
    
#ppal .menu li ul ul {
    left: 0 !important;
    }

#ppal .menu li.pull-down.actif > ul {
    display: block;
    width: 100% !important;
    position: relative;
    overflow: hidden;
    top: -2px;
    /*padding: 4px;*/
    padding: 0 30px 0 0;
    background-color: #404040;
    /*border: 2px solid #444444;*/
    box-shadow: none;
	}
    
#ppal .menu li.pull-down.actif > a {
    background-color: #585858;
    }

#ppal .menu li.pull-down.actif > ul a {
    color: #9F9F9F;
	}

#ppal.ouvert .menu li {
	display: initial;
	}

#ppal .menu > li > a {
	/*height: 40px;
	line-height: 40px;*/
    background-color: #444444;
    color: #b9b9b9;
	margin: 0px 0 2px 0;
	padding: 0 38px;
    height: 60px;
	line-height: 60px;
    font-size: 20px;
	}
	
#ppal .menu a.on-it {
    background-color: #484848;
    color: #b9b9b9;
	}

#content {
	max-width: 640px;
	margin-top: 148px;
	display: inline-block;
	}

#content p.subtitle {
    margin-top: 4px;
    text-align: center;
	}

#content > #start div.start {
	padding: 0 0 186px 0;
	}

#content > #start div.end {
	height: 64px;
	}

#content > #start div.alerte {
	padding: 0;
	border: 0;
	min-height: 176px;
	margin: 0;
	}

#content > #start div.alerte div.img,
#content > #start div.alerte div.plus {
	display: none !important;
	}

#content > #start div.alerte div.corps {
	margin: 0;
	}

#content > #start div.alerte.ouverte div.corps {
	margin-bottom: 60px;
	}

#content > #start div.alerte div.corps > p {
	padding: 2px 15px;
	}

#content > #start div.alerte div.suite {
    padding: 0;
    float: left;
    width: 100%;
    left: 0;
    right: 0;
    bottom: 52px;
	}

#content > #start div.alerte > div.text {
	width: 100%;
	}
	
#content > #start div.alerte div.text > h1 {
	padding: 10px 12px 6px 12px;
	}

#content #carrousel {
    padding-top: 371px;
	}

#carrousel > div.details.actif {
    max-height: 400px;
	}

div.details > div.infos > div.resume {
	width: 74%;
	padding: 6px 0 0 0;
	}

div.details > div.infos > div.resume > p  {
	margin: 0 8px 6px 8px;
	}

div.details > div.infos > div.incidence {
	width: 100%;
	}
    
div.details > div.infos > div.incidence > table div  {
	float: none;
	width: 100%;
	}
	
/*div.details > div.infos > div.incidence > table td > div > span {
	font-size: 5px;
	}*/
	
div.details > div.infos > div.courbe {
	/*width: 100%;
	margin: auto;
	height: 240px;*/
	display: none;
	}

div.details > div.infos > div.boxplot {
    margin: 24px 0;
	width: 24%;
	}

#carrousel > #situation {
    font-size: 12px;
	}

#content .glide {
    left: 0;
    position: absolute !important;
    right: 0;
    top: 24px;
	}

#content .glide .glide__bullets {
    top: 0;
}

#content .glide .glide__arrows {
    top: 325px !important;
	}

#content .glide .glide__arrows button {
	width: 58px;
    height: 32px;
    font-size: 12px;
    border-radius: 4px;
	}

#content .glide .glide__arrows .prev {
    left: 0;
	}

#content .glide .glide__arrows .next {
    right: 0;
	}

#content .glide .box {
	/* margin: auto;
	float: none; */
	margin-left: 6px;
	margin-right: 6px;
	}

#content h2{
	margin: 0;
	text-align: center;
	font-style: normal;
	}

#content hr {
	margin: 8px 0;
	}

#content > div.texte {
	padding: 20px 8px 0 8px;
	}

#content > div > p {
	margin: 4px 4px 0 4px;
	line-height: 22px;
	}

footer {
    margin-top: -5px;
	}

footer > #bg {
    display: none;
	}

footer > a.bouton {
    height: 34px;
    line-height: 34px;
    padding: 0 12px;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 300;
    width: 220px;
    top: 42px;
	}

footer #legal,
footer #contact {
	width: auto;
	}

footer #contact.ouvert {
	margin-bottom: -160px;
	}

footer #contact p {
	font-size: 13px;
    margin: 8px 5px 8px 0px;
    line-height: 20px;
	}

footer #contact > form {
	width: initial;
	margin: auto;
    border: 0;
    color: #E5E5E5;
    line-height: 24px;
    text-align: left;
	}

footer #contact > form label {
    width: 100px;
    padding-right: 4px;
    margin-bottom: 0;
    line-height: 24px;
    font-size: 13px;
	}

footer #contact > form label.moyen {
    width: 54px;
	padding-right: 4px;
	}

footer #contact > form label.moyen[for=nom] {
    width: 46px;
}

footer #contact > form input {
    width: 260px;
    height: 24px;
    margin-bottom: 0;
    line-height: 24px;
    font-size: 13px;
	padding: 0 4px;
	}

footer #contact > form input.moyen {
    width: 92px;
    margin-right: -2px;
	}

footer #contact > form input[type=email] {
    width: 185px;
	}

footer #contact > form textarea {
    width: 100%;
    max-width: 100%;
    min-height: 105px;
    line-height: 19px;
    font-size: 13px;
    padding: 4px 6px;
	margin-top: 0;
	}

footer #contact > form input[type=button],
footer #contact > form input[type=submit] {
    height: 32px;
    margin-bottom: 2px;
    line-height: 32px;
    font-size: 13px;
    font-weight: 300;
    padding: 0 8px 0 42px;
	width: initial;
	background-position: 8px center;
    background-size: 26px;
	margin-left: 4px;
	}

footer #legal {
    height: 240px;
    background-position: center 2px;
	}

footer #legal > div.partenariat {
    left: 10px;
    bottom: 4px;
    font-size: 12px;
    font-weight: 300;
    line-height: 24px;
	}

footer #legal > div.partenariat > a img {
    width: 120px;
	}

footer #legal > div.about {
    right: 10px;
    bottom: 8px;
    font-size: 12px;
    line-height: 18px;
	}

footer #legal > div.about > img {
	height: 40px;
	}


}

@media (max-width: 440px) {

div.details > div.infos > div.resume {
	width: 100%;
	}
div.details > div.infos > div.boxplot {
	width: 40%;
    margin: 20px 30%;
	}

}

@media (max-width: 400px) {

footer #legal > div.partenariat,
footer #legal > div.about {
    font-size: 10px;
	}

footer #legal > div.partenariat > a img {
    width: 95px;
	}

}

@media (max-width: 370px) {

header > #logo > h2 {
	font-size: 15px;
	}

#carrousel > #situation {
    font-size: 10px;
	}

}