body {
    position: relative;
}

#home {
    width: 40%;
    min-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    background-color: #964587!important;
}

.mCSB_scrollTools .mCSB_draggerRail {
    background-color: $bkg-d!important;
}

.section-content {
  p{
    text-align: center;
  }
    .block{
      width: 100%;
    }
    .content {
        width: 50%;
        margin: 70px auto;
    }
}

.sous-section {
    width: 100%;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
            justify-content: space-evenly;
    h3 {
        @include filet;
    }
    & > section{
      .title{
        margin-bottom: 70px;
      }
    }
    .item{
      p{
        text-align: justify;
      }
    }
}

.blocks {
  width: 35%;
  margin-bottom: 50px;
  .title{
    margin-bottom: 10px;
  }
}

.item-etapes {
    position: relative;

    .title {
        @include triangle;
        pointer-events: none;
    }

    h4 {
        @include rotateH;
    }

    .content {
        overflow: hidden;
        position: relative;
        .txt {
            display: -webkit-inline-box;
            display: -ms-inline-flexbox;
            display: inline-flex;
            -webkit-box-pack: center;
                -ms-flex-pack: center;
                    justify-content: center;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
                -ms-flex-direction: column;
                    flex-direction: column;
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0%;
            left: 0;
            background: transparent;
            -webkit-transform: scale(0.95);
                    transform: scale(0.95);
            -webkit-transition: background 0.5s ease, -webkit-transform 0.5s ease;
            transition: background 0.5s ease, -webkit-transform 0.5s ease;
            transition: transform 0.5s ease, background 0.5s ease;
            transition: transform 0.5s ease, background 0.5s ease, -webkit-transform 0.5s ease;
            .content{
              padding: 20px;
            }
            p, ul, li, a{
              color: transparent;
            }
            ul{
              margin-left: 20px;
              margin-bottom: 20px;
            }
            li{
              list-style: initial!important;
            }
        }
    }

    &:hover {
        .txt {
            -webkit-transition: background 0.5s ease, -webkit-transform 0.5s ease;
            transition: background 0.5s ease, -webkit-transform 0.5s ease;
            transition: transform 0.5s ease, background 0.5s ease;
            transition: transform 0.5s ease, background 0.5s ease, -webkit-transform 0.5s ease;
            -webkit-transform: scale(1);
                    transform: scale(1);
            background: $blue;
            p, ul, li, a{
              color: white;
            }
            .content{
              overflow: auto;
            }
        }
    }
}

.arrow {
    @include arrow;
}

.no-gal {
    .section_n2 {
        display: -webkit-inline-box;
        display: -ms-inline-flexbox;
        display: inline-flex;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        -webkit-box-pack: space-evenly;
            -ms-flex-pack: space-evenly;
                justify-content: space-evenly;
    }
}

.galerie{
  h5{
    margin-bottom: 0;
  }
}

#start {
  margin: 0 50px;
    & > section{
      position: relative;
      margin-bottom: 150px;
      &:not(:first-child){
        margin-bottom: 150px;
      }
      &:last-child{
        margin-bottom: 0px!important;
      }
      h2 {
        @include filet-b;
      }
      .sous-section{
        & > section{
          padding: 0 50px;
        }
      }
      #clients{
        .images {
            display: -webkit-inline-box;
            display: -ms-inline-flexbox;
            display: inline-flex;
            -ms-flex-wrap: wrap;
                flex-wrap: wrap;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
            -webkit-box-pack: space-evenly;
                -ms-flex-pack: space-evenly;
                    justify-content: space-evenly;
            img {
                width: 15%;
                min-width: 150px;
                height: 100%;
                margin-bottom: 10px;
            }
        }
      }
    }

    .section:not(#home) {
        background: $section;

        & > .sous-section {
            section {
                width: 100%;
            }
        }
    }


    #contact {
        background: transparent!important;
        .blocks{
          display: -webkit-inline-box;
          display: -ms-inline-flexbox;
          display: inline-flex;
          -webkit-box-orient: vertical;
          -webkit-box-direction: reverse;
              -ms-flex-direction: column-reverse;
                  flex-direction: column-reverse;
          -webkit-box-pack: center;
              -ms-flex-pack: center;
                  justify-content: center;
          &:nth-of-type(1){
            -webkit-box-align: end;
                -ms-flex-align: end;
                    align-items: flex-end;
            p{
              text-align: right!important;
            }
          }
          &:nth-of-type(2){
            -webkit-box-align: start;
                -ms-flex-align: start;
                    align-items: flex-start;
          }
          .title{
            display: none;
          }
          .content{
            margin-top: 20px;
          }
          .images {
              width: 10%;
              min-width: 180px;
              height: auto;
              img{
              border-radius: 150px;
              }
          }
        }
        h2 {
            background: transparent!important;
        }
    }
}
