// home
.gal{
  width: 100%;
  max-height:554px;
  overflow-y: hidden;
  position: relative;
  border-top: 1px solid $light-blue;
  border-bottom: 10px solid $green;
  .slidesjs-navigation{
    z-index: 999;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    &.slidesjs-previous{
      left: 10px;
      &:before{
        display: block;
        content: " ";
        width: 30px;
        height: 50px;
        background-image: url('/user/themes/lecampus/images/arrow.svg');
        background-repeat: no-repeat;
        background-size: 30px 50px;
      }
    }
    &.slidesjs-next{
      right: 10px;
      &:before{
        display: block;
        content: " ";
        width: 30px;
        height: 50px;
        background-image: url('/user/themes/lecampus/images/arrow.svg');
        background-repeat: no-repeat;
        background-size: 30px 50px;
        transform: rotate(180deg);
      }
    }
  }
  .title{
    position: absolute;
    right: 50px;
    width: 33%;
    background: $light-blue;
    padding: 40px;
    top: 350px;
    color: $white;
  }
}

.cat{
  height: 50px;
  z-index: 999;
  margin: 20px 0;
  .btn-group{
    @include inlineflex();
    margin-left: 15px;
  }
  label{
    padding: 10px;
    border: 1px solid black;
    margin-right: 20px;
  }
}

.start:not(#form){
  #item{
    @include inlineflex();
    width: 100%;
    .card{
      width: calc( (100% / 4) - 45px);
      min-width: 250px;
      margin: 0 15px 30px 15px;
      border: 1px solid black;
      .card-header{
        position: absolute;
        width: auto;
        right: 0;
        text-align: right;
        .publics{
          padding: 10px;
          background: grey;
          color: white;
        }
      }
      .card-body{
        padding: 15px;
        .card-title{
          margin-bottom: 10px;
        }
      }
    }
  }
}

.start#form{
  #item{
    width: calc( (100% / 2));
    min-width: 250px;
    margin: 100px auto;
    form{
      @include inlineflex();
      margin-top: 20px;
      & > div{
        margin: 20px 0;
        width: 50%;
        &:nth-of-type(3){
          width: 100%;
        }
        input{
          width: 90%;
        }
        &:nth-of-type(10){
          width: 100%;
        }
      }
    }
  }
}

.content{
  width: 50%;
  margin: 60px 20px 20px auto;
  p{
    margin: 10px 0;
  }
}

.content_s{
  margin: auto!important;
}

.entete{
  background-image: url('/user/themes/lecampus/images/Trame-bleu.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: auto;
  .entete_c{
    width: 66%;
    margin: 50px auto;
    position: relative;
    h2{
      float: left;
      width: auto;
      background: $red;
      border-radius: 30px;
      width: auto;
      padding: 10px 20px;
    }
    h3{
      float: left;
      margin-bottom: 50px;
    }
  }
}

#home{
  .entete_c{
    margin-top: 20px;
  }
  .content{
    @include inlineflex();
    & > p{
      position: relative;
      width: calc(100% / 3);
      padding: 50px 20px;
      margin-top: 10px;
      img{
        position: absolute;
        width: 50px;
        height: auto;
        top: -20px;
        left: 50%;
        transform: translate(-50%);
      }
      &:nth-of-type(n+4){
        width: calc(100% / 4);
      }
      &:last-child{
        width: auto!important;
        margin-top: 0!important;
        margin: auto;
        a{
          display: block;
          padding: 10px 20px;
          text-align: center;
          border: 2px solid $green;
          border-radius: 30px;
          margin: auto;
          transition: background-color 0.3s ease;
        }
      }
    }
  }
}

// items
.bandeau{
  width: 100%;
  max-height: 554px;
  overflow: hidden;
}

#item{
  h3{
    margin-top: 20px;
  }
  .content{
    // width: 50%;
    h4{
      &:not(:first-of-type){
        border-top: 1px solid black;
        padding-top: 30px;
        margin: 30px 0;
      }
    }
    p{

    }
  }
  .sub-content{
    border-top: 1px solid black;
    margin-bottom: 20px;
    margin-top: 20px;
    & > img{
      width: 33%;
      float: left;
      margin: 20px 10px 0px 0px;
    }
  }
}

#event{
  .content{
    margin-top: 50px;
    h2{
      float: left;
      margin-right: 20px;
    }
    .reso{
      @include inlineflex;
      flex-wrap: nowrap;
      width: 50px;
      height: 25px;
    }
  }
  .sidebar{
    margin-top: 50px;
  }
}

.sidebar{
  width: 300px;
  margin: -50px auto 0 20px;
  h2{
    background: $red;
    border-radius: 100px;
    width: 100px;
    height: 100px;
  }
  .side-agenda{
    padding: 10px 0;
    &:not(:nth-of-type(1)){
      border-top: 1px solid $light-blue;
      &::before{
        content: " ";
        display: block;
        position: absolute;
        width: 5px;
        height: 5px;
        margin-top: -13px;
        border-radius: 10px;
        background: $light-blue;
      }
    }
    &:nth-of-type(3){
      margin-bottom: 10px;
    }
  }
  .side-all-agenda{
    width: auto;
    padding: 10px;
    margin-bottom: 10px;
    float: left;
    border: 2px solid $red;
    border-radius: 30px;
  }
}

.side-newsletter{
  padding: 20px;
  background: $light-blue;
  #mc_embed_signup{
    width: 600px;
    margin: auto;
    padding: 0 0 0 10px;
    border-radius: 100px;
    border: 1px solid $white;
    form{
      @include inlineflex();
      width: 100%;
      #mc_embed_signup_scroll{
        @include inlineflex();
        width: 100%;
        margin: auto;
        label{
          text-align: center;
          color: $white;
          margin-right: 10px;
          width: 260px;
        }
        &>input{
          width: 315px;
          padding-left: 20px;
        }
        input{
          border-radius: 30px;
          height: 30px;
          box-shadow: none;
          border: none;
        }
        .clear{
          input{
            background: $white;
            margin-left: -30px;
          }
        }
      }
    }
  }
}
