// Page Home sans objectif
.html-no-objective{
  min-height: 100%;
}
.no-objective{
  position: relative;
  min-height: 100%;
  background-image:linear-gradient(#bceebc, #82bfa6);
  margin: 0;
  padding: 0;
  .title{
    background-color: rgba(0, 0, 0, 0.05);
    padding: 60px 0;
    z-index: 20;
    position: relative;
  }
  .content{
    z-index: 20;
    position: relative;
  }
  .nav{
    li{
      width: 100%;
      height: 260px;
      line-height: 260px;
      background-color: rgba(0, 0, 0, 0.1);
      margin: 20px 0;
      position: relative;
      a{
        width: 100%;
        height: 260px;
        line-height: 260px;
        color: $blanc;
        text-align: left;
        span{
          font-family: Montserrat-Bold;
          text-transform: uppercase;
          line-height: 2.7rem;
          margin-left: 275px;
          display: block;
          text-align: left;
          padding-top: 92px;
        }
      }
      &.affiner, &.muscler, &.fixer, &.stabiliser{
        &:before{
          content: '';
          position: absolute;
          width: 125px;
          height: 115px;
          background-repeat: no-repeat;
          background-size: auto;
          left: 75px;
          top: calc(50% - 57.5px);
        }

      }
      &.affiner{
        &:before{
          background-image:url(../images/picto-affiner.svg);
        }
      }
      &.muscler{
        &:before{
          background-image:url(../images/picto-muscler.svg);
        }
      }
      &.fixer{
        &:before{
          background-image:url(../images/picto-fixer.svg);
        }
      }
      &.stabiliser{
        &:before{
          background-image:url(../images/picto-stabiliser.svg);
        }
      }
    }
  }
}

// Page Home avec objectif
.objective{
  height: auto;
  .title{
    background-image: url(../images/bg-objective.jpg);
    background-repeat: repeat-x;
    background-color: #abdbb1;
    padding: 30px 0;
  }
  .content{
    padding: 0;
    background: $blanc;
    height: 100%;
    .controls{
      display: flex;
      flex-direction: row;
      border-bottom: 2px solid $violet;
      a{
        display: inline-block;
        width: 50%;
        text-align: center;
        font-family: Montserrat-Regular;
        color: $violet;
        font-size: 2.8125rem;
        text-transform: uppercase;
        padding: 45px 0 40px;
        opacity: 0.4;
        position: relative;
        line-height: 64px;
        height: 64px;
        float: left;
        &.active{
          &:after{
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            bottom: -3px;
            height: 6px;
            background: $violet;
          }
          opacity: 1;
          font-family: Montserrat-Bold;
        }
        img{
          margin-right: 30px;
          vertical-align: bottom;
        }
      }
    }
    .listing{
      background: $blanc;
      .element{
        opacity: 0;
        //transition: opacity .15s ease-in-out;
        top: 0;
        position: absolute;
        &.visible{
          opacity: 1;
          transition: opacity .25s ease-in-out;
        }
      }
    }
    .intro{
      margin: 60px 40px 25px;
      position: relative;
      p, .coach{
        //flex: auto;
      }
      .texte_photo{
        text-align: left;
        font-family: Montserrat-Regular;
        font-size: 1.875rem;
        line-height: 40px;
        padding-left: 10px;
        padding-right: 250px;
        display: inline-block;
        strong{
          font-family: Montserrat-SemiBold;
        }
      }
      .texte{
        text-align: left;
        font-family: Montserrat-Regular;
        font-size: 1.875rem;
        line-height: 40px;
        padding-left: 10px;
        display: inline-block;
        strong{
          font-family: Montserrat-SemiBold;
        }
      }
      .coach{
        width: 200px;
        height: 200px;
        margin: auto 0 auto 20px;
        position: absolute;
        bottom: 0;
        right: 0;
        &:before{
          content: '';
          position: absolute;
          left: -2px;
          right: -2px;
          top: -2px;
          bottom: -2px;
          background: $violet;
          opacity: 0.3;
          border-radius: 50%;
          z-index: 10;
        }
        img{
          z-index: 20;
          position: relative;
          width: 200px;
          height: 200px;
        }
      }
    }
    .liste{
      position: relative;
      padding: 40px;
      li{
        position: relative;
        margin-bottom: 30px;
          height: 320px;
          width: 100%;
          background-size: cover;
          background-repeat: no-repeat;
        img{
          position: absolute;
          z-index: 10;
          top: 0;
          bottom: 0;
          left: 0;
          right: 0;
          width: 100%;
          height: 100%;
        }
        .titre{
          height: 100%;
          width: 100%;
          color: $blanc;
          padding-top: 100px;
          z-index: 20;
          span{
            font-family: Merriweather-Italic;
            font-size: 2.5rem;
          }
          h2{
            font-family: Montserrat-Bold;
            text-transform: uppercase;
            margin: 30px 0 0;
            font-size: 3.3125rem;
            font-weight: normal;
          }
        }
        .timer{
          background: $blanc;
          width: 120px;
          height: 85px;
          border-radius: 50%;
          position: absolute;
          top: 23px;
          right: 23px;
          margin-top: 5px;
          padding-top: 35px;
          line-height: 33px;
          z-index: 20;
          span{
            display: block;
            color: $violet;
            font-family: Montserrat-SemiBold;
            &.chiffre{
              font-size: 50px;
            }
            &.unite{
              font-size: 26px;
            }
          }
        }
      }
    }
  }
}

// Page Article Sport
.article{
  .title{
    width: 100%;
    vertical-align: bottom;
    margin:0;
    .illu{
      height: 440px;
      background-size: cover;
      color: $blanc;
      position: relative;
      img{
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 10;
        width: 100%;
        height: 100%;
      }
      span{
        font-family: Merriweather-Italic;
        font-size: 3.125rem;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 135px;
        z-index: 20;
      }
      h1{
        font-family: Montserrat-Bold;
        text-transform: uppercase;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 50px;
        margin: 0;
        font-size: 3.75rem;
        z-index: 20;
      }
    }
  }
  .intro{
    background-image:linear-gradient(#bceebc, #82bfa6);
    color: $violet;
    padding: 70px 40px 20px;
    margin:0;
    div{
      font-size: 1.9rem;
      line-height: 38px;
      text-align: left;
      margin-bottom: 40px;
      display: inline-block;
      width: 100%;
      strong{
        font-family: Montserrat-Bold;
        font-weight: normal;
      }
    }
  }
  .exercice{
    background: $blanc;
    margin:0;
    padding: 1px 0px;
    border-bottom: 10px solid $vert;
    .header{
      text-align: left;
      padding: 50px 40px;
      position: relative;;
      h2{
        color: $vert;
        font-family: Montserrat-SemiBold;
        text-transform: uppercase;
        font-size: 4.125rem;
        font-weight: normal;
      }
      .semaine{
        font-family: Montserrat-SemiBold;
        text-transform: uppercase;
        font-size: 2rem;
        padding-top: 60px;
        &:before{
          content:'.....';
          position: absolute;
          top: -15px;
          left: 0;
          font-family: Montserrat-SemiBold;
          color: $vert;
          letter-spacing: 12px;
          font-size: 3.5rem;
        }
      }
      .timer{
        position: absolute;
        top: 30px;
        right: 60px;
        text-align: center;
        span{
          display: block;
          color: $violet;
          font-family: Montserrat-SemiBold;
          &.chiffre{
            font-size: 4.0265rem;
          }
          &.unite{
            font-size: 2.1875rem;
          }
        }
      }
    }
    .illu{
      height: 460px;
      background-color: $gris_clair;
      //padding: 0 40px;
      img{
        //background: $blanc;
        margin: 53px auto;
        width: 100%;
      }
    }
    .frequence{
      background: $vert_fonce;
      padding: 50px;
      .texte{
        text-align: left;
        color: $blanc;
        font-family: Montserrat-Bold;
        font-size: 3rem;
        text-transform: uppercase;
        margin-right: 180px;
        .clair{
          opacity: 0.6;
        }
        div{
          span{
            //display: inline-block;
          }
          .clair{
            font-size: 2rem;
            font-family: Montserrat-Medium;
          }
        }
      }
      .nombre{
        position: absolute;
        right: 55px;
        top: calc(50% - 85px);
        height: 170px;
        width: 170px;
        background: $blanc;
        border-radius: 50%;
        color: $violet;
        font-family: Montserrat-SemiBold;
        font-size: 3rem;
        line-height: 170px;
        .x{
          display: inline;
        }
        .chiffre{
          font-size: 6.125rem;
          display: inline;
          vertical-align: middle;
        }
      }
    }
    .description{
      background: $blanc;
      padding: 50px 40px 0 40px;
      font-family: Montserrat-Regular;
      text-align: left;
      p{
        color: $gris_fonce;
        font-size: 2rem;
        line-height: 48px;
        padding-bottom: 55px;
        font-family: Montserrat-Regular;
        strong{
          font-family: Montserrat-SemiBold;
          font-weight: normal;
        }
        &:last-child{
          margin-bottom: 100px;
        }
      }
      ul{
        li{
          color: $violet;
          list-style: decimal;
          font-size: 6.625rem;
          margin-left: 140px;
          padding-bottom: 55px;
          margin-bottom: 55px;
          margin-right: 20px;
          font-family: Montserrat-SemiBold;
          &:after{
            position: absolute;
            content: '';
            bottom: 0;
            left: -140px;
            right :0;
            background: #ebebeb;
            height: 1px;
          }
          &:last-child{
            &:after{
              display: none;
            }
          }
          div{
            color: $gris_fonce;
            font-size: 2rem;
            line-height: 48px;
            vertical-align: top;
            display: inline-block;
            font-family: Montserrat-Regular;
            strong{
              font-family: Montserrat-SemiBold;
              font-weight: normal;
            }
          }
        }
      }
    }
  }
  .coach{
    background-color: $voilet_fonce;
    position: relative;
    padding: 1px 0;
    color: $blanc;
    .illu{
      width: 180px;
      height: 180px;
      text-align: center;
      position: absolute;
      top: -90px;
      left: calc(50% - 90px);
      &:before{
        content: '';
        position: absolute;
        left: -2px;
        right: -2px;
        top: -2px;
        bottom: -2px;
        background: $blanc;
        opacity: 0.3;
        border-radius: 50%;
        z-index: 10;
      }
      img{
        z-index: 20;
        position: relative;
        width: 100%;
        height: 100%;
      }
    }
    .conseils{
      margin-top: 140px;
      padding: 0 60px;
      h2{
        color: $vert;
        font-family: Montserrat-SemiBoldItalic;
        font-size: 2.5rem;
        text-transform: uppercase;
        padding: 30px 0;
      }
      ul{
        padding-left: 40px;
        li{
          color: $vert;
          list-style: disc;
          text-align: left;
          margin-bottom: 45px;
          font-size: 3.75rem;
          div{
            color: $blanc;
            font-family: Merriweather-Italic;
            font-size: 2.125rem;
            line-height: 50px;
            margin-left: 10px;
            display: inline-table;
            span{
              color: $vert;
            }
          }
        }
      }
    }
    .conclu{
      font-family: Montserrat-SemiBoldItalic;
      text-transform: uppercase;
      font-size: 2.8125rem;
      display: block;
      height: 150px;
      line-height: 150px;
      margin-bottom: 50px;
      img{
        margin-left: 10px;
        vertical-align: middle;
      }
    }
  }
}