html {
    background: url(../images/fond.jpg) no-repeat center fixed;
    background-position: center!important;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0 !important;
    margin: 0 !important;
}


div#popup-rgpd{
    width: 100%;
    padding: 20px 0px 10px 20px;
    height: auto;
    overflow: auto;
    position: fixed;
    left: 0;
    z-index: 500;
    bottom: 0px;
    background-color: white;
}
div#setings{
    z-index: 5000;
}
div#popup-rgpd p{
    font-size: 14px;
}
div#popup-rgpd .link{
    color: #e7472f;
}
body {
  background-color: #f9f9f9;
  width: 100%;
}

.choix {
  position: fixed;
  background-color: #222;
  width: 200px;
  padding: 10px;
  z-index: 50;
  margin-left: -15px;
  margin-top : 105px;
}

.choix a {
  color: #9d9d9d;
}

.choix a:hover {
  color: white;
}

a, a:visited, a:link {
  text-decoration: none;
}


.chargement_produit {
  background-color: #222;
  width: 100%;
  height: 20px;
  margin-bottom: 20px;
  border: 2px solid black;
}

#indication {
  display: none;
}

.element {
  background-color: #f9f9f9;
  border-bottom: 2px solid black;
}

.navbar-inverse {
  background-color: #f9f9f9;
  border-bottom: 3px solid #3b55ae;
  }

body {
  font-size: 1.9rem;
  font-family: "Open Sans", sans-serif;
}

.img_marge {
  margin-top: 25px;
}

.img_marge2 {
  margin-top: 60px;
}

nav {
  font-family: xbol;
}

@font-face {
    font-family: xbol;
    src: url(../fonts/tertre-xbol.otf);
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
  color: #3b55ae;
  background-color: transparent;
}

.navbar-inverse .navbar-nav > li > a{
  font-size: 2.3rem;
}

.navbar-inverse .navbar-nav {
  margin-left: 25px;
}

h1:not(#titre_accueil) {
  color : #3b55ae !important;
  font-family: xbol;
}

h1[data-content]:after {
  color: white;
}


h2 {
  color: #3b55ae;
  font-family: xbol;
}

p {
  font-size: 1.9rem;
}

strong {
  font-weight: normal;
}

.cd-btn, .cd-btn > .main-action {
  background-color: white !important;
  color: #3b55ae;
}

.cd-btn:hover, .cd-btn > .main-action:hover {
  background-color: #f9f9f9 !important;
}

.cs-btn a {
  color: #3b55ae;
}

.glyphicon {
  float: left;
  margin-top: 13px;
  margin-right: 10px;
}

.navbar-inverse .navbar-toggle {
  border-color: #333;
  background-color: #333 !important;
}

/* ---- Timeline ---- */

ol {
  position: relative;
  display: block;
  margin: 100px;
  height: 4px;
  background: #3b55ae;
}
ol::before,
ol::after {
  content: "";
  position: absolute;
  top: -8px;
  display: block;
  width: 0;
  height: 0;
  border-radius: 10px;
  border: 10px solid #3b55ae;
}
ol::before {
  left: -5px;
}
ol::after {
  right: -10px;
  border: 10px solid transparent;
  border-right: 0;
  border-left: 20px solid #3b55ae;
  border-radius: 3px;
}

/* ---- Timeline elements ---- */

.timeline {
  position: relative;
  top: -77px;
  display: inline-block;
  float: left;
  width: 145px;
  transform: rotate(-45deg);
  font-size: 1.4em;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 3px;
  left: -29px;
  display: block;
  width: 6px;
  height: 6px;
  border: 4px solid #3b55ae;
  border-radius: 10px;
  background: #eee;
}

.premiere {
  left: 0%;
}

.deuxieme {
  left: 2.5%;
}

.troisieme {
  left: 5%;
}

.quatrieme {
  left: 7.5%;
}

.cinquieme {
  left: 10%;
}

.sixieme {
  left: 12.5%;
}


@media (min-width: 769px) and (max-width: 1200px) {
  .timeline {
    width: 75px !important;
    top: -53px;
  }
}

@media (min-width: 665px) and (max-width: 768px) {
  .timeline {
    width: 58px !important;
    top: -47px;
  }
}

@media (min-width: 555px) and (max-width: 665px) {
  .timeline {
    width: 41px !important;
    top: -40px;
  }
}

@media (max-width: 555px) {

  .timeline {
    display: inline-block;
    width: 100%;
    transform: rotate(0deg);
    font-size: 1.4em;
    top: initial;
    text-align: center;
  }

  .timeline::before {
    content: initial;
    position: relative;
    top: initial;
    left: initial;
    display: initial;
    width: 100%;
    height: initial;
    border: initial;
    border-radius: initial;
    background: initial;
  }

  ol {
    position: relative;
    display: block;
    margin: initial;
    height: initial;
    background: initial;
  }

#indication {
  display: initial;
  font-style: italic;
  font-size: 0.9em;
  text-align: center;
}

  ol li {
    background-color: white;
  }


  ol::before,
  ol::after {
    content: "";
    position: relative;
    top: initial;
    display: initial;
    width: initial;
    height: initial;
    border-radius: initial;
    border: initial;
  }
  ol::before {
    left: initial;
  }
  ol::after {
    right: initial;
    border: initial;
    border-right: initial;
    border-left: initial;
    border-radius: initial;
  }

  .premiere {
    left: initial;
  }

  .deuxieme {
    left: initial;
  }

  .troisieme {
    left: initial;
  }

  .quatrieme {
    left: initial;
  }

  .cinquieme {
    left: initial;
  }

  .sixieme {
    left: initial;
  }

}


/* ---- Hover effects ---- */

.timeline:hover {
  cursor: pointer;
  color: #28e;
}
.timeline:hover::before {
  top: 1px;
  left: -31px;
  width: 8px;
  height: 8px;
  border-width: 5px;
  border-color: #28e;
}


.ligne {
  border-bottom: 3px solid #3b55ae;
  width: 100%;
}

#ajouter_ftp, #modifier_ftp, #supprimer_ftp, #ajouter_certificat, #modifier_certificat, #supprimer_certificat, #ajouter_galerie, #modifier_galerie, #supprimer_galerie, #modifier_histoire, #modifier_contact, #marge_xs, #a_ftp,  #a_certificat, #a_informations, #a_histoire, #a_contact, #texte_1986, #texte_1998, #texte_2004, #texte_2010, #texte_2014, #texte_2016,#trm_nul {
  display: none;
}

.certif {
  text-align: center;
}

.glyphicon-user {
  margin-top: 2px;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f9f9f9;
  border-top: 3px solid #3b55ae;
}

footer p {
  padding-left: 20px;
  padding-top: 5px;
}

footer a {
  color : #3b55ae;
}
/*------------------------------------------------PARTIE RESPONSIVE------------*/

/*Responsive design*/

/*Grand écran - Ordinateur de bureau*/
@media screen and (min-width: 1200px) {
  body {
  padding-top: 100px;
}
}


/*Ecran moyen - Ordinateur portable*/
@media screen and (min-width: 992px) and (max-width: 1200px) {
  body {
  padding-top: 180px;
}
}


/*Petits écrans - Tablettes*/
@media screen and (min-width: 769px) and (max-width: 992px) {
  .choix {
    margin-top: 135px;
  }

  body {
    padding-top: 180px;
  }

  .margegalerie {
    margin-top: 20px;
  }
}

/*Très petits écrans - Portables*/
@media (min-width: 506px) and (max-width: 768px){
  .choix {
    margin-top: 135px;
  }

  body {
    padding-top: 50px;
  }

}

@media (max-width: 768px) {

  .galerie:nth-child(2) {
    padding-bottom: 20px !important;
  }

  .galerie:nth-child(4) {
    margin-top: 20px !important;
  }

div.modal-body.hover_modal > img, .scale > img {
  -webkit-transition: all .3s ease; /* Safari and Chrome */
  -moz-transition: all .3s ease; /* Firefox */
  -o-transition: all .3s ease; /* IE 9 */
  -ms-transition: all .3s ease; /* Opera */
  transition: all .3s ease;
}

div.modal-body.hover_modal > img:hover, .scale > img:hover {
    -webkit-transform:translateZ(0) scale(1.40); /* Safari and Chrome */
    -moz-transform:scale(1.0); /* Firefox */
    -ms-transform:scale(1.00); /* IE 9 */
    -o-transform:translatZ(0) scale(1.00); /* Opera */
    transform:translatZ(0) scale(1.00);
    z-index: 4;
}


}

@media (max-width: 505px) {
  .choix {
    margin-top: 170px;
  }
}

@media (min-width: 200px) and (max-width: 450px) {
  .choix {
    margin-top: 210px;
  }
}
/*-----------------------------*/

div.modal-body.hover_modal > img, .scale > img {
  -webkit-transition: all .3s ease; /* Safari and Chrome */
  -moz-transition: all .3s ease; /* Firefox */
  -o-transition: all .3s ease; /* IE 9 */
  -ms-transition: all .3s ease; /* Opera */
  transition: all .3s ease;
}

div.modal-body.hover_modal > img:hover, .scale > img:hover {
    -webkit-transform:translateZ(0) scale(1.40); /* Safari and Chrome */
    -moz-transform:scale(1.40); /* Firefox */
    -ms-transform:scale(1.40); /* IE 9 */
    -o-transform:translatZ(0) scale(1.40); /* Opera */
    transform:translatZ(0) scale(1.40);
    z-index: 4;
}

div.img-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

div.img-list a {
  display: inline-block;
  position: relative;
}

span.text-content span {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}


div.img-list a:hover span.text-content {
  opacity: 1;
}

span.text-content {
  background: rgba(0,0,0,0.5);
  color: white;
  cursor: pointer;
  display: table;
  left: 10;
  position: absolute;
  top: 0;
  width: 90%;
  height: 100%;
  opacity: 0;
  -webkit-transition: opacity 500ms;
  -moz-transition: opacity 500ms;
  -o-transition: opacity 500ms;
  transition: opacity 500ms;
}