body {
	margin:0;
}

#tf_map {
height: 100%;
width: 100%;
background-color: rgb(255,255, 255);
}
#tf_legende {
font-size: 12px;
z-index: 0;
width: 170px;
text-align: left;
display: none;
}
#tf_legende-content {
background: rgba(255, 255, 255, 0.8) none repeat scroll 0% 0%;
padding: 5px;
}
.tf_legende-item {
height: 22px;
line-height: 22px;
}
.tf_couleur {
display: inline-block;
width: 30px;
background: #ccc;
height: 16px;
margin: 0 5px;
}
.tf_eligible {
background: #8EF488;
}
.tf_eligible-t2 {
background: #F6F4AE;
}
.tf_eligible-2017-s2 {
background: #F6B089;
}
.tf_eligible-t4 {
background: #C9837E;
}
.tf_eligible-2017-s1 {
background-color: #f0f18f;
}
.tf_texte {
display: inline-block;
height: 22px;
}
#tf_map > div > div.ol-overlaycontainer-stopevent > div.ol-attribution.ol-unselectable.ol-control > ul {
padding: 0;
}
#tf_map > div > div.ol-overlaycontainer-stopevent > div.ol-attribution.ol-unselectable.ol-control > button {
display: none;
}
#tf_map > div > div.ol-overlaycontainer-stopevent > div.ol-attribution.ol-unselectable.ol-control > ul > li:nth-child(1){
display: none;
}
.ol-attribution {
left: .5em;
right: auto;
}
#switchButton {
width:70px;
height:20px;
border-radius: 2px 2px 0 0;
display: block;
margin: 1px;
padding: 0;
color: #fff;
font-size: 15px;
font-weight: 700;
text-decoration: none;
text-align: center;
line-height: .4em;
background-color: rgba(0,60,136,.5);
border: none;
}
#switchButton:hover {
text-decoration: none;
background-color: rgba(0,60,136,.7) !important;
}
#switchButtonBorder{
background-color: rgba(255,255,255,.4);
border-radius: 4px;
position: relative;
left: 7px;
bottom: 605px;
width: 72px;
padding: 2px;
}

header {
    position: absolute;
    left: 43%;
    top: 5px;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: 20px;
}
legend {
position: relative !important;
left: -37px !important;
}

#fancybox-overlay {
	z-index: 2000;
}
#fancybox-wrap {
	z-index: 2001;
}