/* Copyright (c) 2011 Raphaël Velt
 * Licensed under the MIT License
 * */

body {
    font-family: Helvetica, Arial, sans-serif; font-size: 12px;
    background-color: #e0e0e8; color: #204020; margin: 0;
}

.clear {
    clear: both;
}

.gradient {
    background-color: #f0f0f8; 
    background-image: -webkit-radial-gradient(#ffffff, #d8d8e0); background-image: -moz-radial-gradient(#ffffff, #d8d8e0);
}

/* EN HAUT */

#titlebar {
    background: #ffffff; 
    /* border-bottom: 1px solid #CCC;  */
    position: fixed; 
    margin: 0; 
    padding: 0; 
    left: 0; 
    top: 0; 
    right: 0; 
    /* height: 45px;  */
    overflow: hidden;
}

#maintitle {
    position: absolute; left: 0; top: 0; width: 250px; text-align: center;
}


h1 {
    margin:0;
}

h1 a {
    background: url(../img/gephi.png) no-repeat;
    color: #208020;
    display: block;
    height:45px;
    margin: 0;
    text-indent: -9999px;
    width: 195px;
}

.grey {
    color: #cccccc; font-style: italic;
}

/* AU CENTRE */

#zonecentre {
    position: fixed; top: 45px; bottom: 0; left: 0; right: 0; overflow: hidden;
}


#carte {
    position: absolute; left: 0px;
}

/* ZOOM IN OUT */

#ctlzoom {
    position: absolute; 
    left: 5px; 
    bottom: 5px; 
    list-style: none; 
    padding: 0; 
    margin: 0;
}

#ctlzoom li {
    padding: 0; 
    margin: 10px 0; 
    width: 36px; 
    text-align: center;
}

#zoomSliderzone {
    height: 120px;
}

#zoomMinusButton, #zoomPlusButton {
    display: block; 
    width: 24px; 
    height: 24px; 
    background:url(../img/plusmoins.png);  
    margin: 0 auto;
}

#zoomMinusButton {
    background-position: 0 -24px;
}

#zoomMinusButton:hover {
    background-position: -24px -24px;
}

#zoomPlusButton {
    background-position: 0 0;
}

#zoomPlusButton:hover {
    background-position: -24px 0;
}

#lensButton, #edgesButton {
    display: block; width: 36px; height: 36px; background:url(../img/loupe-edges.png); margin: 0 auto;
}

#lensButton {
     background-position: -72px 0;
}

#lensButton:hover {
    background-position: -36px 0;
}

#lensButton.off {
    background-position: 0 0;
}

#lensButton.off:hover {
    background-position: -108px 0;
}

#edgesButton {
    background-position: -72px -36px;
}

#edgesButton:hover {
    background-position: -36px -36px;
}

#edgesButton.off {
    background-position: 0 -36px;
}

#edgesButton.off:hover {
    background-position: -108px -36px;
}

#zoomSlider {
    background:#fff;
    border:1px solid #aaa;
    height: 120px; margin: 0 auto;
}

/* EN BAS A GAUCHE */

#overviewzone {
    position: fixed; right: 0; bottom: 0;
    border-style: solid none none solid; border-width: 5px; border-color: #ffffff;
}

/* COLONNE DE GAUCHE */

#leftcolumn {
    position: absolute; top: 45px; bottom: 0px; left: -250px; width: 250px; background-color: rgb(250, 250, 252); box-shadow: 2px 0 2px #808090; padding: 0;
}


/* GESTION DE LA BARRE DE GAUCHE */

#unfold {
    position: absolute; top: 40px; right: -14px; width: 12px; height: 12px; background: rgb(250, 250, 252); padding: 2px 2px 2px 0; border-top-right-radius: 5px; border-bottom-right-radius: 5px; box-shadow: 1px 1px 2px #808090;
}

#aUnfold {
    float: left; width: 12px; height: 12px; background-image: url(../img/fleches-horiz.png);
}

.leftarrow {
    background-position: -12px 0;
}

.rightarrow {
    background-position: 0 0;
}

.leftarrow:hover {
    background-position: -12px -12px;
}

.rightarrow:hover {
    background-position: 0 -12px;
}


/* ZONE GAUCHE */

#leftcontent {
    position: absolute; 
    left: 0; 
    top: 25px; 
    bottom: 0; 
    right: 0; 
    overflow: auto; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
}

div.largepill {
    float: left; 
    width: 16px; 
    height: 16px; 
    border-radius: 8px; 
    margin: 0 5px 0 0;
}

div.smallpill {
    float: left; 
    width: 12px; 
    height: 12px; 
    border-radius: 6px; 
    margin: 0 5px 0 0;
}

#leftcontent h3 {
    font-size: 16px;
}

#leftcontent h4 {
    font-size: 14px;
}

#leftcontent h3, #leftcontent h4, #leftcontent p, #leftcontent ul {
    margin: 5px;
}

#leftcontent ul {
    list-style: none; padding: 0;
}

#leftcontent li {
    margin: 2px 0; padding: 0; font-size: 12px;
}

#leftcontent img {
    max-width: 100%;
    max-height: 300px;
}

a {
    /* color: #152F4F;  */
    color: #151815; 
    font-weight: bold; 
    text-decoration: none;
}

a:hover {
    color: #212621;
}

/* AUTOCOMPLETE */

#autocomplete {
    position: absolute; 
    display: none; 
    padding: 0; 
    margin: 0;
    border-style: none solid; 
    border-color: #ccc; 
    border-width: 1px;
    z-index: 999;
}

#autocomplete div {
    border-bottom: 1px solid #ccc; 
    padding: 0; 
    margin: 0; 
    float: left; 
    clear: both; 
    background: #fff;
}

#autocomplete h4 {
    float: left; 
    width: 80px; 
    margin: 5px; 
    font-size: 12px;
}

#autocomplete ul {
    float: left; 
    width: 250px; 
    list-style: none; 
    padding: 0; 
    margin: 0;
}

#autocomplete li {
    display: block; 
    margin: 0; 
    width: 250px; 
    padding: 6px 0; 
    font-size: .8rem;
}

#autocomplete li.a {
    color: #151815;
}

#autocomplete li.hover {
    background: #151815;
}

#autocomplete li.hover a {
    color: #ffffff;
}

#autocomplete img {
    float: left; 
    border: 0; 
    width: 24px; 
    height: 24px; 
    margin: 2px 6px;
}

@media only screen and (max-width: 768px){
    
.form-btn, .referencies {
    margin: 1rem 0;
    }
}