html {
  font-size: 62.5%;

  @include large-only {
    font-size: 60%;
  }

  @include desktop-only {
    font-size: 55%;
  }

  @include tablet-only {
    font-size: 50%;
  }

  @include mobile-only {
    font-size: 45%;
  }
}

#content-page {
  margin-top: $headerheight;

  @include mobile-only {
    margin-top: 80px;
  }
}

img {
  max-width: 100%;
  max-height: 100%;
}

li, p, a, select, option, .description {
  font-family: FranklinGothic;
}

p, .description {
  font-size: 2.0rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia;
}

h2 {
  font-size: 3.3rem;
}

input, textarea {
  font-size: 1.4rem;
}

.bold {
  font-weight: bold;
}

a:hover {
  text-decoration: none;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none;
}

.hidden {
  display: none;
}

.success-post {
  color: $green;
  border: 2px solid $green;
  text-align: center;
  padding: 15px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.button-green {
  border: 2px solid $green;
  background-color: #FFF;
  color: $green;
  text-transform: uppercase;
  font-family: dinbold;
  font-size: 2.0rem;
  padding: 15px;
  display: inline-block;

  &:hover {
    border-color: $yellow;
  }
}

.button-yellow {
  color: $yellow;
  background-color: $green;
  padding: 15px;
  font-size: 2.2rem;
  margin-top: 30px;
  display: inline-block;
  border: none;
  font-family: dinbold;
}

.alert-success {
  position: absolute;
  top: $headerheight;
  width: 100%;
  text-align: center;
  color: $green;
  font-family: dinbold;
  font-size: 1.6rem;
}

.link-slide {
  position: relative;
  overflow: hidden;
  text-decoration: none;

  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: $orange;
    transition: opacity 300ms, transform 300ms;
    opacity: 1;
    transform: translate3d(-100%, 0, 0);
  }

  &:hover::after,
  &:focus::after {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.popover {
  border: 2px solid $green;
  border-radius: 0;
  font-size: 1.4rem;

  .popover-body {
    color: $green;
    font-family: dinbold;
    padding: 0;

    span {
      padding: 10px 0 10px 50px;
      display: inline-block;

      .nb {
        padding: 0;
      }
    }

    a {
      font-family: dinbold;
      background-image: url($dir-img + 'Picto-Loupe.png');
      background-repeat: no-repeat;
      background-size: 20px;
      background-position: 15px center;
      color: $green;
      display: inline-block;
      width: 100%;
      background-color: $yellow;
      padding: 5px 0 5px 50px;
    }
  }

  .arrow {
    &:after {
      border-top-color: $green;
    }

    &:before {
      border-top-color: $green;
    }
  }
}