body {
    font-family: 'Raleway', 'Helvetica', sans-serif;
    font-size: 1em;
    padding: 0;
    margin: 0;
}

.layout-100h{height: 100%;}

#header{
    background-color: #ab186b;
    padding: 15px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

#header a{
    color: #fff;
    position: relative;
}


#header .brand:before{
    content: "";
    background: url('/assets/img/chamois.svg') center 8px no-repeat;
    height: 50px;
    width: 50px;
    position: absolute;
    top: -15px;
    left: -60px;
    background-size: 75%;
}

#container{
    display: flex;
    flex-direction: column;
    height: 100%;
}

h1 { 
    color: #000;
    text-align: center;
    font-weight: normal;
    font-size: 1.4em;
}
h2 {
    font-size: 1.6em;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}
a {
    color: #000;
    text-decoration: none;
}
.avertissement a {
    text-decoration: underline;
}

hr {
    display: block;
    height: 2px;
    width: 60%;
    margin: 3em auto;
    background-color: #ab186b;
    border: none;
}

#container-map{
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

#container-map section p{
    margin: 0;
}

#englob-itineraire {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: auto;
}

#infos-itineraire{
    padding: 0 10px 10px 10px;
}

#englob-map{
    flex: 1;
    display: flex;
    flex-direction: column;
    border-left: 5px #e6e6e6 solid;
}

#map {
    height: 500px;
    border: 1px solid #ccc;
}

#profil{
    font-family: Montserrat;
    font-size: 1em;
}

#profil text{
    font-size: 0.8em;
}

.aralt-chart .profil {
    stroke: #ab186b;
}

.aralt-chart .profil-bg polygon {
  fill: #f7eaf2;
}

.aralt-chart .xaxis .tick text, .aralt-chart .yaxis .tick text {
  color: #000;
  font-family: Montserrat;
}


#telecharger-trace{
    display: block;
    margin: auto;
    background-color: #e6e6e6;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease 0s;
    border: 1px solid #f6f1eb;
    color: #000;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    display: flex;
}

a#telecharger-trace:hover{
    background-color: #ccc;
}


#telecharger-trace:before{
    content: "";
    background: url('/assets/img/telecharger.svg') center 8px no-repeat;
    width: 50px;
    position: relative;
    top: -5px;
}

#bloc-gpx-depart {
    display: flex;
}


#gpx {
    width: 50%;
}

#gpx a {
    display: inline-block;
    border-radius: 10px;
    background-color: #e6e6e6;
    margin: 0 10px 0 0 ;
    padding: 20px;
}

#depart {
    background-color: #e6e6e6;
    padding: 10px;
    text-align: center;
    width: 50%;
    border-radius: 10px;
}
#depart .libelle {
    display: block;
    font-weight: bold;
    text-align: center;
}
#depart .liens-pk {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 0.2em;
}
#depart .liens-pk a {
    text-decoration: underline;
    color: #ab186b;
}



#retour{
    color: #000;
    display: flex;
    margin: 1em 0;
}

#retour:before{
    content: "";
    background: url('/assets/img/fleche.svg') center 8px no-repeat;
    width: 23px;
    position: relative;
    top: -4px;
    background-size: 53%;
}

#liste-itineraires{

}

#liste-itineraires li{
    margin: 5px 0;
}

.message{
    text-align: center;
}

.numeros{
    display: flex;
    justify-content: space-around;
}

.numeros section{
    width: 40%;
    font-family: 'Montserrat', sans-serif;
}

.numeros section p{
    text-align: center;
}

.numeros section p#liens-cta{
    font-size: 0.85em;
}

.numeros section p#liens-cta a{
    margin: 0 10px;
    color: #ab186b;
    text-decoration: underline;
}

.numeros section p#liens-cta a:hover{
    text-decoration: none;
}

.numeros section h2 {
    font-weight: normal;
    font-size: 1.5em;
}

.numeros section h2 a{
    display: block;
    font-weight: bold;
}


#sommaire img,
.numeros section img{
   box-shadow: 0px 0px 10px 4px rgba(119, 119, 119, 0.29);
    -moz-box-shadow: 0px 0px 10px 4px rgba(119, 119, 119, 0.29);
    -webkit-box-shadow: 0px 0px 10px 4px rgba(119, 119, 119, 0.29); 
    max-width: 100%;
}

#sommaire{
    display: flex;
    justify-content: space-between;
    max-width: 1024px;
    margin: auto;
}

#sommaire #couverture{
    margin: 20px;
    width: 50%;
}

#sommaire #liste-itineraires{
    width: 50%;
}

.leaflet-bar .leaflet-control-bt {
    padding: 5px;
    box-sizing: border-box;
    position: relative;
    z-index: 3;
}
.leaflet-bar .control-icon {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.leaflet-control-container .leaflet-top.leaflet-left{
    position: absolute;
    width: 53px;
    padding: 2px 3px 10px 2px;
    left: 12px;
    top: 12px;
    background-color: #fff;
    box-shadow: 3px 3px 3px 0 rgba(0,0,0,0.20);
}




@media only screen and (max-width: 600px) {


    .numeros{
        flex-direction: column ;
        padding: 20px;
    }

    .numeros section{
    width: 100%;
    }

    #sommaire #couverture{
        display: none;
    }

    #sommaire #liste-itineraires{
        width: 100%;
    }

}

@media only screen and (max-width: 980px) {

    #englob-itineraire {
        flex-direction: column;
    }

    #infos-itineraire{
        /*width: 100%;*/
    }

    #infos-itineraire h2{
        font-size: 1em;
    }

    #englob-map {
        border-left: 0px;
    }

    #infos-itineraire{
        /*padding: 0px;*/
    }

}