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

img {
  max-width: 100%;
}



/* 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;
}

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;
}


.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;
}

div.row.avaf-main {
    border-bottom: solid;
  border-width:0.25px;
  border-color:#a5a5a5;
  display: block;
}

.avaf-row {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  border-top: solid;
  border-width:0.25px;
  border-color:#a5a5a5;
}

.avaf-col-1 {
  width: 22.84%;
  text-align: center;
  padding: 4px;
  border-left: solid;
  border-right: solid;
  border-width:0.25px;
  border-color:#a5a5a5;
}

.avaf-col-2 {
  width: 51.70%;
  padding: 4px;
  border-right: solid;
  border-width:0.25px;
  border-color:#a5a5a5;
}

.avaf-col-3 {
  width: 25.46%;
  padding: 4px;
  border-right: solid;
  border-width:0.25px;
  border-color:#a5a5a5;
}

.avaf-commune {
  text-transform: uppercase;
}

div.avaf-row p {
  font-size: 10.9px;
  margin: 3px 0 0 0;
  line-height: 10px;
  letter-spacing: -0.35px;
}

div p.avaf-plan {
  font-size: 9px;
}

div.avaf-bloc-descriptif {
margin-bottom: 5px;
}


div.avaf-bloc-horaires p {
}

.avaf-bloc-horaires:empty {
  display: none;
}

.avaf-bloc-horaires {
  /* margin-top: 12px; */
}

div.avaf-row p:empty {
  display: none;
}

div.avaf-col-1 p.avaf-nom {
  font-size: 13px;
  font-weight: bold;
  color: #2F2F2F;
}

div.avaf-col-1 p.avaf-maj {
  font-size: 8px;
  color: #A7A7A7;
}

table.office-horaire {
  margin-top: 20px;
}

table.office-horaire tr td p {
  text-align: center;
  font-size: 10px;
}

.avaf-logo {
  width: 30px;
}

/* LES ADRESSES ----------------------------------------------------*/


.bloc-horaire-office {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.bloc-horaire-office p {
  font-size: 8px;
  line-height: 7px;
  text-align: center;
  color: #6F6F6F;
  letter-spacing: -0.25px;

}

.horaire-office {
  margin-top: 10px;
  max-width: 33%;
  width: 33%;
}

p.bat-nom {
  color: #F79A3B;
  font-weight: bold;
}

.bat-adresse {
}

.bat-tel {
}

.bat-site-web {
}

.bat-adresse {
}

.bat-horaires {
}

.tiers {
  max-width: 33%;
  width: 33%;
}

.demi {
  max-width: 50%;
  width: 50%;
}

.entier {
  max-width: 80%;
  width: 80%;
}

.date-jour {
  float: right;
  font-size: 9px;
  color: gray;
  margin-bottom: -10px;
}



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


@media print {

  .container {
    width: 100%;
  }

  .box-filter {
  display: none;
  }

  .navbarw3s {
  display: none;
  }

  .resultats {
    display: none;
  }

  .avaf-maj {
    display: none;
  }

  /* .avaf-row *  {
    break-inside: avoid;
    -webkit-break-inside: avoid;
    -moz-break-inside: avoid;
    page-break-inside: avoid;
    column-break-before: avoid;
    -moz-column-break-before: avoid;
    -webkit-column-break-before: avoid; } */

  .nav-bar-lang {
    display: none;  
  }

  div.avaf-row {
      break-inside: avoid;
    }

  div.horaire-office {
      break-inside: avoid;
    }

  .screen-view {
    display: none;
  }

}

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

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