html{
    font-size : 62.5%;
}

body{
    background-image: url(../images/background.jpg);
    background-color: #525252;
    color: #525252;
    background-attachment: fixed;
    background-position: center top;

    font-size: 1.6rem;
}

#main{
    background-color: #ececec;
    margin: 1rem;

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
}
#header, #middle, #bottom{
    flex: 0 1 auto;


    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
}
footer{
    margin: 1rem 2rem 2rem 2rem;
    font-size: 1.5rem;
    color: dimgrey;
    text-align: center;
}

#logo{
    margin: 40px 11px 0px 35px;
    max-width: 100%;
    max-height: 145px;
}
#logo img{
    max-width: 100%;
    position: relative;
    top: -27px;
    left:-14px;
}
#coordonnees{
    background-color: #525252;
    height: 100px;
    color: white;
    margin: 9px 35px;
    padding: 1rem ;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
}
#coordonnees p{
    margin : 0px;
}

#coordonnees a{
    color : white;
}

#coordonnees a:hover{
    color : black;
}

#tel{
    font-size: 20px;
    font-weight: bold;
}
#middle{
    margin: 9px 35px;
}

.caption{
    display: none;
}

.fleximg{
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.fleximg img{
    flex: 1 0 auto;
}


#partenaire{
    background-color: white;
    font-size: 1.2rem;
    padding: 2px ;
    text-align: right;

}

#bottom {
    margin: 0 35px 5px 35px;
}


#map{
    min-width:100%;
    border: 1px solid lightgrey !important;
    margin-bottom: 25px;
}
#presentation{
        text-align: justify;
        font-size: 1.5rem ;
        line-height: 2rem;
}

@media screen and (min-width:940px){
    #main, footer{
        max-width: 900px;
        margin: 1rem auto;
    }
    
    #header, #bottom{
        
        flex-direction: row;
        justify-content: flex-start;
    }
    #coordonnees{
        flex : 1 1 100%;
        margin: 40px 35px 0 10px;
        letter-spacing: 1px;
    }
    #logo{
        flex : 0 0 auto;
    }
    
    #map{
        min-width: 525px;
    }
    
    #presentation{
        padding-right: 25px;
    }

}











