@page {
  size: 21cm 29.7cm;
  margin: auto;
}

img {
  max-width: 100%;
}

.largeur-max {
  width: 21cm;
}





/* reset chapter and figure counters on the body */
body {
  font-family: /*Lato, "Trebuchet MS", */"Open Sans", sans-serif, "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
  font-size: 1.4em;
  padding: 0;
}

.page-1  {
  max-height: 28.5cm;
  overflow: hidden;
}
/* .page-2 {
  max-height: 26cm;
  overflow: hidden;
} */

p, ul, li, table, span, tr, td {
  color: #333;
}

strong {
  color: #151515;
}

h2 {
  line-height: 1;
}


.break {
  page-break-before: always;
}

/* supprime l'espace qui se colle avant le premier row*/
.row:before {
  display: none;
}

ul.toc {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  color: #000;
}

p {
  margin: 0;
}

.break {
  page-break-before: always;
}


.titre-journal {
  padding: 1em;
  margin-top: -3em;
  margin-bottom: 1em;
  width: 100%;
}

.titre-partie {
  padding: 5px;
  margin-top: 0px;
  margin-bottom: 5px;
  width: 100%;
}

.titre-journal h1 {
  font-family: "Digital-medium", "Lucida Grande", "Trebuchet MS", "Lucida Sans", "Lucida Sans Unicode", sans-serif;
  font-size: 3.2em;
  letter-spacing: 0.1em;
  margin-bottom: 0;
  margin-top: 0.6em;
  text-align: center;
  font-weight: lighter;
}

.titre-partie h2 {
  font-family: "Digital-medium", "Lucida Grande", "Trebuchet MS", "Lucida Sans", "Lucida Sans Unicode", sans-serif;
  font-size: 3em;
  letter-spacing: 0.1em;
  margin-bottom: 0;
  margin-top: 0.5em;
  text-align: center;
  font-weight: lighter;
}

.listeVille {
  font-family: "Digital-medium", "Lucida Grande", "Trebuchet MS", "Lucida Sans", "Lucida Sans Unicode", sans-serif;
  display: block;
  text-transform: uppercase;
  font-size: 1em;
  color: #fff !important;
  text-align: center;
  padding-top: 1em;
  margin-top: -1em;
  background-color: #000;
  height: 12mm;
  font-weight: lighter;
}

.smallFont {
    font-size: 0.95em;
}

div.listeVille span {
    color: #fff;
}

#logoOtl {
  width: 7em;
  margin-top: 1.8em;
  float: left;
  margin-left: 0em;
  transform: translateX(-15%);
}

#logoBretagne {
  float: right;
  margin-top: 1.8em;
  margin-right: 0em;
  transform: translateX(40%);
  width: 1.8em;
}
#logoDrapeau {
  float: right;
  margin-top: 1.8em;
  margin-right: 0.5em;
  transform: translateX(40%);
  width: 1.8em;
}

#logoOtf {
  float: left;
  transform: translateX(20%);
  width: 2.3em;
  margin-top:8px;
  margin-right: -50px;
}

#logoDq {
float: right;
transform: translateX(-10%);
width: 3.25em;
margin-top: -40px;
}


h2.chapter {
  font-weight: bold;
}

p {
  /* line-height: 1em; */
  /*hyphens: auto;*/
}

span {
  margin: 0em;
}

ul {
  margin: 0em;
  padding: 0em;
}

li {
  margin: 0em;
  line-height: 1em;
}

.hide {
  display: none;
}


/* Ligne coloré première page -------------------------------------*/
.ligne {
  display: flex;
}

#violet {
  background-color: #5D92CD;
  width: 16.667%;
  display: inline-block;
  min-height: 3mm;
}
#rose {
  background-color: #C44BA1;
  width: 16.667%;
  display: inline-block;
  min-height: 3mm;
}
#bleu {
  background-color: #35BCC4;
  width: 16.667%;
  display: inline-block;
  min-height: 3mm;
}
#orange {
  background-color: #F79A3B;
  width: 16.667%;
  display: inline-block;
  min-height: 3mm;
}
#vert {
  background-color: #87C399;
  width: 16.667%;
  display: inline-block;
  min-height: 3mm;
}
#rose2 {
  background-color: #FB3099;
  width: 16.665%;
  display: inline-block;
  min-height: 3mm;
}

/*Boite des filtres*/

label:hover, input:hover{
cursor: pointer;
}

.box-filter {
  margin: 20px 0 20px 0;
}

.input-group-text {
  margin-top: 10px;
}

.input-group-text label {
  align-items: center;
  padding: 2px 5px 5px 5px;
  margin-bottom: 2px;
  font-size: 12px;
  color: #495057;
  text-align: center;
  white-space: nowrap;
  background-color: #e9ecef;
  border: 1px solid #ced4da;
}

.input-group-text label input {
  margin-right: 5px;
  position: relative;
  /* top: 4px; */
  }

.btn-secondary {
  margin-top: 10px;
  background-color: #e9ecef;
}

.resultats {
  margin-left: 10px;
}
.nb-resultats {
  margin-left: 10px;
}

/* A VOIR A FAIRE ----------------------------------------------------*/
.navbar-nav {
  float: none;
}

.nav-bar-lang {
position: fixed;
z-index: 15;
top: 5px;
left: 5px;
}

.nav-bar-lang:hover {
  cursor: pointer;
}

.dropdown {
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  padding: 12px 16px;
  z-index: 1;
  width: 50px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.row-resume {
  display: flex; /* or inline-flex */
  flex-direction: row;
}

.illustration {
width: 40%;
height: 275px;
}

.illustration img {
  object-fit: cover;
  height: 275px;
  width: 100%;
}

h3 {
  font-size: 28px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.phrase-promo {
  font-size: 18px;
  line-height: 18px;
  margin-top: 15px;
  margin-bottom: 15px;
  font-weight: 600;
}

.bloc-descriptif {
  display: flex;
}

.descriptif {
  width: 100%;
  padding: 0px 20px 0px 0px;
}

.col1 {
  column-count: 1;
}

.col2 {
  column-count: 2;
}

.col3 {
  column-count: 3;
}

.descriptif p.grand {
  font-size: 16px;
  line-height: 26px;
}

.descriptif p.normal {
  font-size: 14px;
  line-height: 22px;
}

.descriptif p.petit {
  font-size: 11px;
  line-height: 18px;
}

.descriptif p.trespetit {
  font-size: 10px;
  line-height: 16px;
}

.descriptif p {
    font-size: 14px;
    line-height: 22px;
}

.resume {
  display: flex;
  padding-bottom: 15px;
  width: 100%;
}

.resume-img {
  display: flex;
  width: 40%;
  align-items: center;
}

.picto-distance {
  font-size: 64px;
  font-weight: bold;
  color: black;
  font-family: "Open Sans", sans-serif, "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
}
.picto-distance::after {
  content: " km";
  font-size: 12px;
  margin-right: 15px;
}

.resume-infos {
  width: 60%;
}

.resume img {
  height: 80px;
}

.resume p {
  line-height: 24px;
}




/* Carte */

/* .gpx {
  border: 2px #aaa solid;
  border-radius: 5px;
  box-shadow: 0 0 3px 3px #ccc;
  min-width: 20cm;
  max-width: 20cm;
  margin: 1em auto;
  height: 27cm;
} */

.map {
  border: 1px #888 solid;
  border-left: none;
  border-right: none;
  /*width: 100%;*/
  min-width: 20cm;
    max-width: 20cm;
  height: 28.5cm;
  margin: 0;
}

.minimap {
  border: 1px #888 solid;
  border-left: none;
  border-right: none;
  width: 60%;
  max-width: 500px;
  height: 275px;
  margin: 0;
}



.leaflet-control-zoom, .leaflet-control-attribution {
  visibility: hidden;
}

/* test avec les chart elevation*/
.chart-placeholder {
  min-height: 20px;
  text-align: center;
  font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
  font-style: italic;
  opacity: 0.6;
  font-size: 0.9rem;
}


/* MEDIA PRINT ----------------------------------------------------*/


@media print {

  .container {
    width: 100%;
  }

  .box-filter {
  display: none;
  }
  .navbarw3s {
  display: none;
  }
  .resultats {
    display: none;
  }
  .nav-bar-lang {
    display: none;  }

  .screen-view {
    display: none;  }

    .illustration {
      width: 40%;
    }

}

/* MEDIA SCREEN ----------------------------------------------------*/

@media only screen and (max-width: 9999px) {
  .print-view {
    display: none;
  }

  .map {
    margin-top : 30px;
  }
}

@media only screen and (max-width: 600px) {
  .id {
    display: none;
  }
}
