
/* Variable css pour prendre en compte la hauteur du footer */
:root {
  --footer-height: 8.5rem;
}

/* Chargement des polices de caracteres */
@font-face {
  font-family: 'Montserrat-Regular';
  src: url("fonts/montserrat/Montserrat-Regular.ttf")
    format('truetype');
}

@font-face {
  font-family: 'Open-sans-regular';
  src: url("fonts/opensans/OpenSans-Regular.ttf")
    format('truetype');
}

@font-face {
  font-family: 'Open-sans-bold';
  src: url("fonts/opensans/OpenSans-Bold.ttf")
    format('truetype');
}

html {
  height: 100%;
}

/* Prise en compte d'un padding bottom pour le footer  */
body {
  min-height: 100%;
  position: relative;
  padding-bottom: var(--footer-height);
}

/* Indique au navigateur de prendre en compte la bordure et le remplissage 
  dans la valeur définie pour la largeur et la hauteur */
* {
  box-sizing: border-box;
  /* border: red solid 1px; */
}

/* Coin carre pour bouttons, forms, card, etc... */
 .form-control {
  border-radius: 0;
  color: #b39555;
  border: none;
  border-bottom: rgb(179, 149, 85) solid 0.15rem;
}

.btn-outline-secondary, .card {
  border-radius: 0;
  color: #b39555;
  border-color: #b39555;
}

.navbar-light .navbar-toggler {
  color: rgba(179, 149, 85);
  border-color: rgba(179, 149, 85);
  border-radius: 0;
}

.admin-title {
  width: 100%;
}
/* Container fluid de bootstrap fond gris pour toutes les pages */
.container-fluid {
  background-color: #f4f4f4;
  padding: 1rem 1rem 1rem 1rem;
}

/*  pour tous les titres*/
.container-fluid.page-title {
  background-color: white;
  /* padding: 0 0 0 0; */
}

/* Caroussel photos de la page d'accueil */
.carousel {
  position: relative;
}

.carousel-item img {
  width: 100%;
  height: 50vh;
  object-fit: cover;
}  

/* Titre sur images du caroussel */
div.title {
  box-sizing: content-box;
  position: absolute;
  z-index: 9000;
  width: 100%;
  left: 50%;
  top: 50%;
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  color: white;
  /* text-transform: uppercase; */
  text-align: center;
}

/* choix de police, justification de text */
p, li {
  text-align: justify;
  text-justify: inter-word;
}

a, li, p {
  font-family: 'Open-sans-regular';
}

.reg-title {
  font-family: 'Montserrat-Regular';
}

.bold-title {
  font-family: 'Open-sans-bold';
}

/* Couleur de surbrillance dans navbar, text */
.navbar-brand,
.active,
.highlight-color {
  color: #b39555 !important;
}

/* Cursor help pour expliquer CSV */
.csv {
  cursor: help;
}

/* Reset du text pour la partie tarification */
p.price, li.user-task {
  text-align: initial;
  text-justify: initial;
}

/* Partie tarification, gestion du cercle avec prix au centre */
.circle {
  background-color: #b39555;  
  font-family: 'Open-sans-regular' !important;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.price {
  position: absolute;
  font-family: 'Open-sans-bold' !important;
  width: 23vw;
  left: 50%;
  top: 50%;
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/* gestion des screenshots pour les differents registres, ajout de marges */
img.screenshot {
  border-top: white 1rem solid ;
  border-bottom: white 1rem solid ;
}

/* liens telephone et email de la partie contact */
a.contact:link {
  color: #332c22;
  text-decoration: none;
}

a.contact:visited {
  color: #a1a1a1;
  text-decoration: none;
}

a.contact:hover {
  color: #b39555;
  text-decoration: none;
}

/* Formulaire focus sur les champs changer la couleur par defaut */
.form-control:focus {
  color: #b39555;
  background-color: #fff;
  border-color: #b39555;
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(219, 133, 13, 0.2);
}

/* Pour ne pas afficher le badge erreur */
.badge-danger {
  display: none;
}

/* Section Footer */
/* Couleur des liens */
a.footer:link {
  color: #b39555;
  text-decoration: none;
}

a.footer:visited {
  color: #a1a1a1;
  text-decoration: none;
}

a.footer:hover {
  color: #f0f0f0;
  text-decoration: none;
}

/* div footer, taille, hauteur, couleurs */
div.footer {
  color: #b39555;
  background-color: #332c22;
  height: var(--footer-height);
  align-self: stretch;
  overflow: hidden;
  width: 100%;
  padding-right: 0;
  padding-left: 0;
  margin-right: 0;
  margin-left: 0;
  position: absolute;
  bottom: 0;
}

/* alert success et warning */
.alert.alert-success.flash-success, .alert.alert-warning.flash-warning {
  max-width: 80%;
  left: 50%;
  padding: 1rem;
  transform: translateX(-50%);
  border-radius: 0;
}

/* Section Admin du site */

.action-buttons {
  max-height: 60px;
  max-width: 180px;
  display: flex;
  flex-direction: row;
}

.action-buttons a.btn-sm, .action-buttons button.btn-sm {
  padding: .125rem .25rem;
  font-size: 66% !important;
}

.btn-outline-dark, .btn-outline-danger {
    border-radius: 0;
}

/* Media queries */
@media only screen and (max-width: 575px) {
  .circle {
    height: 60vw;
    width: 60vw;
  }

  :root {
    font-size: 14px;
  }

/* centrage du label avec les bouttons check du formulaire */
  .form-check-label {
    margin: 0.2rem 0 0 0.2rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {   
  .circle {
  height: 35vw;
  width: 35vw;
  } 

  :root {
    font-size: 15px;
  }

  .form-check-label {
    margin: 0.2rem 0 0 0.4rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
.circle {
  height: 30vw;
  width: 30vw;
  }

  :root {
    font-size: 16px;
  }

  .form-check-label {
    margin: 0.2rem 0 0 0.4rem;
  }
}
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px){
  .circle {
    height: 25vw;
    width: 25vw;
    }

    :root {
      font-size: 17px;
    }

    .form-check-label {
      margin: 0 0 0 0.4rem;
    }
  }

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px){
  .circle {
    height: 20vw;
    width: 20vw;
    }

    :root {
      font-size: 18px;
    }

    .form-check-label {
      margin: 0.05rem 0 0 0.1rem;
    }
  }

/* Fin Section Media Queries */