/**
 * @file
 * The footer components.
 *
 * It includes styles for the footer itself and its
 * components.
 */


/**
 * Global footer rules
 */

 .main__footer {
  background-color: white;
  color: var(--color-primary-grad);
  font-weight: 500;
}
.footer__bloc{
  display:flex;
  flex-direction: column;
  position: relative;
  justify-content: center;
  align-items: center;
  padding-top: 3em;
  padding-bottom: 2em;
}
.footer__bloc-wrapper{
  margin-left: 1.5rem;
}

.footer__bloc p{
  margin-top: 0;
  margin-bottom: 8px;
}
.footer__bloc-bold{
  font-size: 1.167rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-left: -18px;
  margin-bottom: -5px;
}

.footer__bloc-adress::before{
  content: url(../images/icons/icon-adresse.svg);
  position: absolute;
  left: -25px;
  top: 15px;
}
.footer__bloc-phone::before{
  content: url(../images/icons/icon-tel.svg);
  position: absolute;
  left: -25px;
  top: 3px;
}

.field--name-field-body-right p{
  margin-bottom: 17px;
}

.footer__bloc-socials{
  text-align: center;
}
.footer__bloc-socials a{
  text-decoration: underline;
}
.footer__bloc-socials a:hover{
  color: var(--primary);
}

@media(min-width: 800px){
  .footer__bloc{
    flex-direction: row;
    flex-wrap: wrap;
  }
  .footer__bloc .field__item{
    margin: 0 1rem
  }
  .footer__bloc-socials{
    text-align: inherit;
  }
}


/**
 * Footer menu
 */

 .footer__menu {
  border-top: solid 1px #E9ECF3;
}
.footer__menu ul {
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  margin: 0;
}
.footer__menu .menu__link{
  color: var(--color-primary-grad);
}

.footer__menu .menu__link.is-active{
  text-decoration: underline;
  color: var(--color-primary-grad);
}

.footer__menu .menu__link:hover{
  text-decoration: underline;
}

@media(min-width: 800px){
  .footer__menu ul{
    flex-direction: row;
    padding: 2rem;
  }
  .footer__menu .menu__link{
    margin-left: 2rem;
  }
}
