
* {
    margin:0;
    padding:0;
    box-sizing: border-box;
    max-width: 100%;
}

body {
    font: normal normal normal 14px / 24px "Arial", Helvetica, Arial, Verdana, sans-serif;
    word-spacing: normal;
    color: #443d3d;
    background: #ffffff;
}

.page {
    max-width: 1350px;
    margin:0 auto;
}

h3 {
    color: #C00C00;
    font: normal normal normal 24px / 30px "Open Sans", Helvetica, Arial, Verdana, sans-serif;
    font-size: 160%;
}

a {
    color: inherit;
    text-decoration: none;
}

.map-container{
    max-width: 900px;
    display:block;
    margin-right: 425px;
}

#map {
    max-width:100%;
}
#map path {
    fill:#b7a1a1;
    stroke:#FFFFFF;
    stroke-width:0.6;
    transition: fill 0.2s, stroke 0.3s;
    cursor: pointer;
}
#map text {
    fill:white;
    font-size: 11px;
    font-family: open-sans, tahoma, arial;
    font-weight: bold;
    z-index:100;
    cursor: pointer;
    position:relative;
}
#map path[data-num]:hover, 
#map g[data-num]:hover path{
    fill: #804242;
}

#map .selected,
#map .selected path {
    fill: rgb(153, 53, 53);
}

#map .separator {
    stroke: #ccc;
    fill: none;
    stroke-width:1.5;
}
#map .separator:hover {
    stroke: #ccc;
    fill: none;
}

#instituts {
    float:right;
    padding-top: 40px;
    padding-left: 30px;
    width: 420px;
}

#instituts ul {
    height: 600px;
    overflow-y: auto;
    padding-right:12px;
}

#instituts li {
    background: url("data:image/svg+xml,%3Csvg%20version=%221.1%22%20xmlns=%22http://www.w3.org/2000/svg%22%20xmlns:xlink=%22http://www.w3.org/1999/xlink%22%20x=%220px%22%20y=%220px%22%20width=%2213px%22%20height=%2213px%22%20viewBox=%220%200%2013%2013%22%20enable-background=%22new%200%200%2013%2013%22%20xml:space=%22preserve%22%3E%3Cpath%20fill=%22%23bd0b00%22%20d=%22M6.501,1.084c1.448,0,2.812,0.565,3.836,1.593c1.019,1.022,1.581,2.38,1.581,3.823c0,1.445-0.56,2.801-1.581,3.823c-1.022,1.027-2.388,1.595-3.836,1.595c-1.45,0-2.812-0.567-3.836-1.595C1.646,9.301,1.084,7.945,1.084,6.5c0-1.442,0.561-2.801,1.58-3.823C3.688,1.649,5.051,1.084,6.501,1.084%20M6.501,0%09C2.91,0,0,2.911,0,6.5C0,10.091,2.91,13,6.501,13C10.09,13,13,10.091,13,6.5C13,2.911,10.09,0,6.501,0L6.501,0z%22/%3E%3Cpolygon%20fill=%22%23bd0b00%22%20points=%225.547,2.766%209.229,6.534%205.702,10.256%204.625,9.219%207.285,6.474%204.547,3.797%20%22/%3E%3C/svg%3E") no-repeat 5px 5px;
    padding-left: 26px;
    margin-top: 10px;
    list-style: none;
    width: 400px;
}
#instituts li:nth-child(2n) {
    background-color: #fbf7f7;
}

#instituts li span {
    display: block;
}
#instituts li span.raison-sociale {
    color: black;
    font-family:"Open Sans",Helvetica,Arial,Verdana,sans-serif;
    font-size: 115%;
}
#instituts li span.adresse .complement {
    display: none;
}
#instituts li span.adresse[data-complement]:not([data-complement=""]) .complement {
    display: block;
}


@media screen and (max-width: 1100px) {
    #instituts ul {
        height: 450px;
    }
}


@media screen and (max-width: 800px) {
    
    .page {
        display:flex;
        flex-direction: column-reverse;
    }
    .map-container {
        text-align: center;
        margin-right: 0;
    }
    #map {        
        max-width: 100%;
        width: 550px !important;
        margin: 0 auto;
        float: none;
    }

    #instituts {
        max-width: 100%;
        margin: 0 auto;
        float:none;
        padding-top: 10px;
    }
    
    h3 {
        text-align: center;
    }
    
    #instituts ul {
        height: auto;
        overflow-y: visible;
    }
    
    #instituts ul li {
        margin: 0 auto;
    }
}

@media screen and (max-width: 640px) {
    body {font-size: 13px;}
}