/* General */

body {
  background-color: #f0f4f4;
}

.section {
  background-color: white;
  margin: 0;
}

.content {
  margin: 0 2em;
}

@media only screen and (max-width: 1024px) {
  .content {
    width: 85vw;
    min-width: 200px;
  }
}

hr {
  position: relative;
  display: block;
  transform: translateY(-80px);
  top: 4.5em!important;
  width: 80%;
  border: 0;
  margin-bottom: 2em;
  height: 6px;
  border-top: solid 1px rgba(128, 128, 128, 0.2);
  border-bottom: solid 1px rgba(128, 128, 128, 0.2);
}

hr::before, hr::after {
  content: none;
}

a {
  color: inherit;
  border-bottom: solid 1px rgba(128, 128, 128, 0.15);
  text-decoration: none;
  -moz-transition: background-color 0.35s ease-in-out,
                   color 0.35s ease-in-out,
                   border-bottom-color 0.35s ease-in-out;
  -webkit-transition: background-color 0.35s ease-in-out,
                      color 0.35s ease-in-out,
                      border-bottom-color 0.35s ease-in-out;
  -ms-transition: background-color 0.35s ease-in-out,
                  color 0.35s ease-in-out,
                  border-bottom-color 0.35s ease-in-out;
  transition: background-color 0.35s ease-in-out,
              color 0.35s ease-in-out,
              border-bottom-color 0.35s ease-in-out;
}

.is-fullwidth {
  width: 100%!important;
}

.is-inline-block {
  display: inline-block;
}

.is-borderless {
  border: none;
}

@media only screen and (max-width: 768px) {
  .mobile-only {
    display: inline!important;
  }
}

.mobile-only {
  display: none;
}

/* Text */

.alinea {
  margin-left: 1.5em;
}

.has-text-centered {
  text-align: center;
}

.has-text-left {
  text-align: left!important;
}

.has-text-right {
  text-align: right;
}

.has-text-weight-semibold {
  font-weight: 550;
}

.has-text-weight-bold {
  font-weight: bold;
}

.is-underlined {
  text-decoration: underline;
}

.is-italic {
  font-style: italic;
}

/* Liste */

.liste-a-puce {
  list-style-type: circle;
}

.liste-a-puce li {
  margin-left: 4em;
}

/* Padding */

.p-0 {
  padding: 0!important;
}

.pt-0 {
  padding-top: 0!important;
}

.pt-05 {
  padding-top: 0.5em!important;
}

.pt-1 {
  padding-top: 1em!important;
}

.pb-1 {
  padding-bottom: 1em!important;
}

.pb-2 {
  padding-bottom: 2em!important;
}

/* Margin */

.m-auto {
  margin-left: 50%!important;
  transform: translateX(-50%);
}

.m-0 {
  margin: 0!important;
}

.mt-0 {
  margin-top: 0em!important;
}

.mt-05 {
  margin-top: 0.5em;
}

.mt-075 {
  margin-top: 0.75em!important;
}

.mt-1 {
  margin-top: 1em!important;
}

.mt-125 {
  margin-top: 1.25em!important;
}

.mt-2 {
  margin-top: 2em!important;
}

.ml-3 {
  margin-left: 3em!important;
}

.mr-05 {
  margin-right: 0.5em;
}

.mb-0 {
  margin-bottom: 0!important;
}

.mb-05 {
  margin-bottom: 0.5em!important;
}

.mb-1 {
  margin-bottom: 1em!important;
}

.mb-2 {
  margin-bottom: 2em!important;
}

/* Taille */

.is-size-075 {
  font-size: 0.75rem;
}

.is-size-125 {
  font-size: 1.25rem;
}

.is-size-15 {
  font-size: 1.5rem;
}

.is-size-175 {
  font-size: 1.75rem;
}

.is-size-2 {
  font-size: 2rem;
}

/* Couleurs */

.is-blue {
  background-color: #2ba9e3!important;
}

.is-green {
  background-color: #79c6c0!important;
}

.is-red {
  background-color: #ff5c5c!important;
}

/* Colonnes */

.columns {
  display: flex;
}

.column {
  display: block;
  flex-basis: 0;
  flex-grow: 1;
  flex-shrink: 1;
  padding: .75rem;
}

@media only screen and (max-width: 768px) {
  #deg3:last-child .columns .column:last-of-type {
    display: none;
  }

  #deg3:last-child .columns {
    transform: none!important;
  }

  #deg3:last-child .columns .column:first-of-type {
    width: 100%!important;
  }

  #deg3:last-child .columns .column:first-of-type ul {
    text-align: center!important;
  }
}

#deg3:last-child .columns {
  transform: translateX(18%);
}

#deg3:last-child .columns .column:first-of-type {
  flex: none;
  width: 20em;
}

/* Header */

.logoBanner {
  width: 550px;
  max-width: 90vw;
}

a .logoBanner {
  width: 450px;
}

.bouge {
  width: 4.5em;
  height: 4.5em;
}

/* Commun */

#fondplan {
  border-radius: 15px;
  margin-top: 1em;
}

@media only screen and (max-width: 768px) {
  #fondplan {
    width: 95%;
  }
}

#deg3 {
  max-width: 95vw;
}

/* Bouton */

/* .btn {
  background-color: #fff;
  border-color: #dbdbdb;
  border-width: 1px;
  border-radius: 0.3em;
  color: white;
  cursor: pointer;
  justify-content: center;
  padding-bottom: calc(.375em - 1px);
  padding-left: .75em;
  padding-right: .75em;
  padding-top: calc(.375em - 1px);
  text-align: center;
  white-space: nowrap;
  padding: 0.6em 1em;
  font-weight: bold;
} */

.btn:hover {
  color: white;
}

.btn a {
  color: #fff;
  transition: none;
  border-bottom: none;
  padding: .84rem 2.14rem;
}

/* .btn.has-icon-left i {
  margin-right: 1em;
}

.btn.has-icon-right i {
  margin-left: 1em;
} */

/* Formulaire */

.input, .select {
  -webkit-appearance: none!important;
  align-items: center!important;
  border: 1px solid transparent!important;
  border-radius: 4px!important;
  box-shadow: none!important;
  display: inline-flex!important;
  font-size: 1rem!important;
  height: 2.25em!important;
  justify-content: flex-start!important;
  line-height: 1.5!important;
  padding-bottom: calc(.375em - 1px)!important;
  padding-left: calc(.625em - 1px)!important;
  padding-right: calc(.625em - 1px)!important;
  padding-top: calc(.375em - 1px)!important;
  position: relative!important;
  vertical-align: top!important;
  background: #fff!important;
  border-color: #dbdbdb!important;
  box-shadow: inset 0 1px 2px rgba(10,10,10,.1)!important;
}

fieldset {
  background: none;
  box-shadow: none;
}

/* Tableau */

.table {
  text-align: center;
}

/* Home */

#main {
  background-image: none;
}

#header .inner {
    padding: 0;
    padding-top: 1.5em;
}

.home-wrapper {
  background-image: url('images/fond2.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
}

@media screen and (max-width: 736px) {
  .carousel article {
    overflow: hidden;
    padding: 0;
    padding-bottom: 3em;
  }
}

/* Conduite Accompagnée */

#laac {
  background-image: -moz-linear-gradient(right top, #DCDDE2 40%, #C5C6CD 60%);
  background-image: -webkit-linear-gradient(right top, #DCDDE2 40%, #C5C6CD 60%);
  background-image: -o-linear-gradient(right top, #DCDDE2 40%, #C5C6CD 60%);
  background-image: -ms-linear-gradient(right top, #DCDDE2 40%, #C5C6CD 60%);
  box-shadow: 10px 10px 12px #555;
  border-radius: 1em;
  margin: 1em 2em;
  padding: 2em;
  box-sizing: border-box;
  min-width: 300px;
}

/* Tarif Permis B */

#deg3:hover {
  background-image:-moz-linear-gradient(right top, #F6FB6D 0%, #FFFFFF 100%);
  background-image:-webkit-linear-gradient(right top, #F6FB6D 0%, #FFFFFF 100%);
  background-image:-o-linear-gradient(right top, #F6FB6D 0%, #FFFFFF 100%);
  background-image:-ms-linear-gradient(right top, #F6FB6D 0%, #FFFFFF 100%);
  background-image:linear-gradient(right top, #F6FB6D 0%, #FFFFFF 100%);
}
