/*** coaching/menu.html page ***/

.header-title-with-image {
  height: 260px;
  background-color: black;
  background-size: cover;
  background-position: center;
  h1 {
    color: #fff;
    padding-top: 75px;
    text-align: center;
    font-family: 'Merriweather';
    font-weight: 400;
    font-style: italic;
    font-size: 2.87rem;

    span {
      font-style: normal;
      font-family: 'Montserrat';
      font-weight: 700;
      text-transform: uppercase;
      font-size: 3.31rem;
    }
  }
}
.header-paragraph {
  padding: 20px 7%;
  background-color: #472669;
  font-family: 'Merriweather';
  font-weight: 400;
  font-style: italic;
  font-size: 2rem;
  line-height: 50px;
  color: #fff;
}

.slide-day-controls {
  text-align: left;
  padding: 30px 0 30px 30px;
  max-width: 100%;
  overflow: hidden;
  font-size: 0;
  .slide {
    display: none;
    cursor: pointer;
    text-align: center;
    background-color: #ebebeb;
    color: #6a6a6a;
    font-family: 'Montserrat';
    font-weight: 400;
    padding: 0 20px;
    min-width: 200px;
    border-radius: 5px;
    font-size: 2rem;
    line-height: 120px;
    height: 120px;
    margin-right: 30px;
    &.visible {
      display: inline-block;
    }
    &.active {
      background-color: #94cead;
      color: #fff;
      font-family: 'Montserrat';
      font-weight: 500;
    }
  }
}

.collapsable-periods {
  padding-bottom: 50px;
  display: none;
  &.active {
    display: block;
  }
}


.collapsable-period {
  .period-header {
    cursor: pointer;
    background-color: #d9d9d9;
    color: #472669;
    font-family: 'Montserrat';
    font-weight: 700;
    text-transform: uppercase;
    font-size: 2.2rem;
    text-align: left;
    padding: 35px 25px 30px 25px;
    position: relative;
    border-bottom: 1px solid #fff;
  }

  .period-content {
    display: none;
    text-align: left;
    line-height: 45px;
    padding: 30px;
    max-width: 100%;
    font-family: 'Merriweather';
    font-weight: 400;
    font-style: italic;
    font-size: 2rem;
    overflow: hidden;
  }
  .collapse-period {
    position: absolute;
    right: 20px;
    cursor: pointer;
    top: 0;
    height: 100%;
    width: 30px;
    //background-color: black;
    background-image: url('../images/picto-cross.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }

  &.active {
    .period-content {
      display: block;
    }
    .collapse-period {
      background-image: url('../images/picto-reduce.png');
    }
  }
}



.collapsable-period .period-content.period-slides {
  padding: 20px 0 20px 30px;
  font-size: 0;
  font-style: normal;
  line-height: normal;
  .slide {
    text-align: center;
    background-color: #ebebeb;
    font-family: 'Montserrat';
    font-weight: 500;
    display: inline-block;
    padding: 0 20px;
    width: 320px;
    height: 390px;
    font-size: 2rem;
    line-height: 45px;
    margin-right: 30px;
    background-image: url('../images/bg-recipe.jpg');
    background-position: center;
    background-size: auto 100%;
    background-repeat: repeat-x;
    color: #fff;
    white-space: nowrap;
    position: relative;
    &.with-image {
      background-size: cover;
      background-position: center;
      .slide-overlay {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0, 0.3);
      }
      .slide-inner-wrapper {
        text-shadow: 2px 2px 7px #000;
      }
    }
    &.with-link:after {
      content: '';
      width: 45px;
      height: 45px;
      position: absolute;
      bottom: 30px;
      right: 20px;
      background-image: url('../images/picto-link.svg');
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
    }
    .slide-inner-wrapper {
      position: relative;
      display: inline-block;
      vertical-align: middle;
      white-space: normal;
      strong {
        font-weight: 700;
      }
    }
    &:before {
      content: '';
      height: 100%;
      display: inline-block;
      vertical-align: middle;
      margin-right: -0.25em;
    }
  }
}

/*** coaching/conseil.html page ***/

.switch-nav {
  background-image: linear-gradient(#bceebc, #82bfa6);
  color: #472669;
  padding: 30px 30px 30px;
  display: none;
  &.visible {
    display: block;
  }
  p {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 10px;
  }
  .links {
    font-size: 0;
    margin-top: 30px;
    border: 2px solid #fff;
    border-radius: 5px;
    a {
      color: #fff;
      display: inline-block;
      vertical-align: top;
      width: 50%;
      height: 60px;
      line-height: 60px;
      font-size: 2rem;
      font-weight: 500;
      text-transform: uppercase;
      &.active {
        background-color: #fff;
        color: #472669;
      }
    }

  }
}
.coaching .content .liste.week-liste {
  li {
    height: 225px;
    background-size: cover;
    background-position: center;
    display: none;
    &.visible {
      display: block;
    }
    a {
      cursor: pointer;
    }
    .titre {
      padding-top: 60px;
      span {
        font-size: 3.2rem;
      }
      h2 {
        margin-top: 10px;
      }
    }
  }
}

.more-detail-buttons {
  font-size: 0;
  padding: 0 40px 50px 40px;
  a {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 50%;
    height: 220px;
    color: #fff;
    font-size: 2.6rem;
    line-height: 50px;
    font-family: 'Montserrat';
    font-weight: 400;
    text-align: left;
    .button-inner-wrapper {
      display: block;
      position: relative;
      height: 220px;
      //padding: 40px 100px 40px 35px;
      background-color: #472669;
      .text {
        position: absolute;
        padding-right: 115px;
        top: 50%;
        left: 10px;
        transform: translate(0, -50%);
        //line-height: 1;
      }
      &:first-of-type {
        margin-right: 12px;
      }
      &:last-of-type {
        margin-left: 12px;
      }
      &:after {
        content: '';
        width: 70px;
        position: absolute;
        right: 30px;
        top: 0;
        height: 100%;
        background-image: url("../images/button-plus-green.png");
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
      }
    }
  }
}

/*** coaching/affiner.html page & coaching/nutrition.html page ***/

.picto-list {
  background-color: #e1e1e1;
  color: #472669;
  text-align: left;
  padding: 30px;
  .picto-item {
    position: relative;
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 2rem;
    line-height: 45px;
    padding: 30px 0 30px 135px;
    border-bottom: 1px solid #b2a9bd;
    strong {
      font-family: 'Montserrat';
      font-weight: 700;
    }
    &:last-of-type {
      border-bottom: 0;
    }
    &:before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      width: 110px;
      background-size: 80px auto;
      background-position: center;
      background-repeat: no-repeat;
    }

    // tone_up
    &.picto-salad:before {
      background-image: url("../images/picto-salad.png");
      background-size: 90px auto;
    }
    &.picto-pizza:before {
      background-image: url("../images/picto-pizza.png");
      background-size: 70px auto;
    }
    &.picto-pan:before {
      background-size: 100px auto;
      background-image: url("../images/picto-pan.png");
    }
    &.picto-yogourt:before {
      background-image: url("../images/picto-yogourt.png");
      background-size: 70px auto;
    }
    &.picto-dish:before {
      background-image: url("../images/picto-dish.png");
      background-size: 80px auto;
    }
    &.picto-brocoli:before {
      background-image: url("../images/picto-brocoli.png");
      background-size: 80px auto;
    }
    &.picto-donut:before {
      background-image: url("../images/picto-donut.png");
      background-size: 80px auto;
    }
    &.picto-drop:before {
      background-image: url("../images/picto-drop.png");
      background-size: 80px auto;
    }
    &.picto-fish:before {
      background-image: url("../images/picto-fish.png");
      background-size: 90px auto;
    }
    &.picto-hamburger:before {
      background-image: url("../images/picto-hamburger.png");
      background-size: 80px auto;
    }
    &.picto-lupin:before {
      background-image: url("../images/picto-lupin.png");
      background-size: 80px auto;
    }
    &.picto-meat:before {
      background-image: url("../images/picto-meat.png");
      background-size: 80px auto;
    }
    &.picto-salt:before {
      background-image: url("../images/picto-salt.png");
      background-size: 80px auto;
    }
    &.picto-wheat:before {
      background-image: url("../images/picto-wheat.png");
      background-size: 80px auto;
    }
    // gain_muscle
    &.picto-fish-oil:before {
      background-image: url("../images/picto-fish-oil.png");
      background-size: 90px auto;
    }
    &.picto-harvest:before {
      background-image: url("../images/picto-harvest.png");
      background-size: 90px auto;
    }
    &.picto-water:before {
      background-image: url("../images/picto-water.png");
      background-size: 55px auto;
    }
    &.picto-wheat-2:before {
      background-image: url("../images/picto-wheat-2.png");
      background-size: 90px auto;
    }
    &.picto-diet:before {
      background-image: url("../images/picto-diet.png");
      background-size: 90px auto;
    }
    // gain_weight
    &.picto-brain:before {
      background-image: url("../images/picto-brain.png");
      background-size: 90px auto;
    }
    &.picto-drop-2:before {
      background-image: url("../images/picto-drop-2.png");
      background-size: 60px auto;
    }
    &.picto-milk:before {
      background-image: url("../images/picto-milk.png");
      background-size: 90px auto;
    }
    &.picto-mineral-water:before {
      background-image: url("../images/picto-mineral-water.png");
      background-size: 37px auto;
    }
    &.picto-olive-oil:before {
      background-image: url("../images/picto-olive-oil.png");
      background-size: 90px auto;
    }
    // lose_weight
    &.picto-drink:before {
      background-image: url("../images/picto-drink.png");
      background-size: 65px auto;
    }
    &.picto-menu:before {
      background-image: url("../images/picto-menu.png");
      background-size: 85px auto;
    }
    &.picto-rosemary:before {
      background-image: url("../images/picto-rosemary.png");
      background-size: 80px auto;
    }
    &.picto-table:before {
      background-image: url("../images/picto-table.png");
      background-size: 80px auto;
    }
    // stabilize
    &.picto-farm:before {
      background-image: url("../images/picto-farm.png");
      background-size: 80px auto;
    }
    &.picto-kitchen:before {
      background-image: url("../images/picto-kitchen.png");
      background-size: 80px auto;
    }
    &.picto-restaurant:before {
      background-image: url("../images/picto-restaurant.png");
      background-size: 80px auto;
    }
  }
}

.content-list-bullet {
  text-align: left;
  font-family: 'Montserrat';
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 45px;
  padding: 45px 60px;
  strong {
    font-family: 'Montserrat';
    font-weight: 600;
  }
  li {
    position: relative;
    padding: 20px 0 20px 40px;
    &:before {
      content: '';
      position: absolute;
      top: 30px;
      left: 0;
      background-color: #5a387c;
      width: 20px;
      height: 20px;
      border-radius: 13px;
    }
  }
}

/*** coaching/welcome.html page ***/

.welcome-header {
  color: #472669;
  font-family: 'Montserrat';
  font-weight: 700;
  padding: 50px 20px 0 20px;

  h1 {
    line-height: 65px;
  }
}

.coaching .content .liste.welcome-liste {
  padding: 50px 0;
  li {
    height: 400px;
    background-size: cover;
    background-position: center;
    display: none;
    &.visible {
      display: block
    }
    a {
      cursor: pointer;
    }
    .titre {
      padding-top: 155px;
      span {
        font-size: 2.4rem;
      }
      h2 {
        margin-top: 5px;
      }
    }
  }
}


/* Helpers */

.list-header-green {
  background-color: #96cfae;
  color: #fff;
  text-align: left;
  padding: 40px 5%;
  h2 {
    font-family: 'Montserrat';
    font-weight: 700;
    text-transform: uppercase;
    font-size: 2.7rem;
    line-height: 60px;
  }
  p {
    font-family: 'Montserrat';
    font-weight: 400;
    font-size: 2.5rem;
    line-height: 60px;
  }
}

.list-header-purple {
  background-color: #472669;
  color: #fff;
  text-align: left;
  padding: 40px 5%;
  h2 {
    font-family: 'Montserrat';
    font-weight: 400;
    font-size: 2.4rem;
    line-height: 55px;
    &.is-bold {
      font-family: 'Montserrat';
      font-weight: 600;
    }
  }
  p {
    font-family: 'Montserrat';
    font-weight: 400;
    font-size: 2rem;
    line-height: 40px;
  }
}

.image-content {
  font-size: 0;
  img {
    max-width: 100%;
    height: auto;
  }
}
/* Override */
.coaching .content .intro.simple-intro {
  margin: 40px 25px;
}