.gal{
  margin-left: 15%;
  .content_gal{
    width: 2.2%!important;
    &[aria-hidden="false"]{
      .title_gal{
        opacity: 1;
        right: 70px;
        transition: right 1s ease, opacity 1s ease;
      }
    }
  }
  .title_gal{
    position: absolute;
    right: 50px;
    max-width: 50%;
    background: $light-blue;
    padding: 25px;
    bottom: 20%;
    color: $white;
    opacity: 0;
  }
}

.cat{
  height: 50px;
  z-index: 999;
  margin: 20px 0;
  .btn-group{
    @include inlineflex();
    &:nth-of-type(1){
      label{
        margin-right: 20px;
      }
    }
    &:nth-of-type(2){
      float: right;
    }
  }
  label{
    padding: 10px;
    cursor: pointer;
    &.tous{
      border-top: 2px solid $green;
      border-bottom: 2px solid $green;
    }
    &.professionnels{
      border-top: 2px solid $red;
      border-bottom: 2px solid $red;
    }
    &.grand_public{
      border-top: 2px solid $light-blue;
      border-bottom: 2px solid $light-blue;
    }
    &.formations{
      border-top: 2px solid $grey;
      border-bottom: 2px solid $grey;
    }
    &.archive{
      border-top: 2px solid $dark-blue;
      border-bottom: 2px solid $dark-blue;
    }
  }
  input{
    visibility: hidden;
    position: absolute;
  }
}

.bandeau{
  width: 100%;
  height: auto;
  max-height: 500px;
  position: relative;
  overflow: hidden;
  &::before{
    position: absolute;
    display: block;
    content: ' ';
    background-image: url('/user/themes/lecampus/images/Trame-bleu2.svg');
    background-repeat: repeat;
    // background-position: center;
    // background-size: cover;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: -1;
  }
  .img{
    width: 70%;
    margin: auto;
  }
  .title_gal{
    position: absolute;
    right: 25%;
    max-width: 50%;
    background: $light-blue;
    padding: 25px;
    top: 20vw;
    color: $white;
    p{
      font-family: now_alt_bold;
      font-size: 1.2rem;
      font-weight: 400;
      line-height: 2.2rem;
    }
  }
}

.container{
  & > .title{
    background: $red;
    border-radius: 30px;
    width: auto;
    float:left;
    padding: 10px 20px;
    color: white;
  }
}

.start{
  min-height: calc(100vh - 325px);
  &:not(#home){
    .entete{
      border-bottom: 10px solid $light-blue;
    }
  }
}

.start:not(#form){
  &#calendrier,   &#archive, &#articles{
      width: 70%;
      margin: 40px auto 40px auto;
      .header-wrapper{
        .title{
          display: flex;
        h1{
          width: auto;
          margin-bottom: 20px;
          background: $red;
          border-radius: 30px;
          padding: 10px 20px;
          color: white;
          font-size: 1.2rem;
        }
      }
    }
  }
  &#event{
    margin: 40px auto 40px auto;
    .title{
      display: flex;
    h1{
      width: auto;
      margin-bottom: 20px;
      background: $red;
      border-radius: 30px;
      padding: 10px 20px;
      color: white;
      font-size: 1.2rem;
    }
  }
  }
  .body-wrapper{
    @include inlineflex();
    justify-content: center;
    width: 100%;
    position: relative;
    .card{
      width: calc( (100% / 3) - 27px);
      min-width: 200px;
      margin: 0 0 40px 0;
      max-width: 1200px;
      .card-header{
        position: relative;
        width: 100%;
        right: 0;
        text-align: right;
        &.professionnels{
          background-color: $red;
        }
        &.grand_public{
          background-color: $light-blue;
        }
        &.formations{
          background-color: $grey;
        }
        .publics{
          padding: 2.5px 10px;
          color: white;
        }
      }
      .card-body{
        padding: 15px;
        background-image: url('/user/themes/lecampus/images/Trame-bleu2.svg');
        // background-position: center;
        background-repeat: repeat;
        // background-size: cover;
      }
    }
    .event{
      width: 45%;
      .card-content{
        .reso{
          @include inlineflex;
          flex-wrap: nowrap;
          justify-content: space-between;
          & > div, & > a{
            margin-right: 15px;
          }
          a{
            display: block;
            margin-bottom: 10px;
            img{
              margin-left: 10px;
              width: 20px;
            }
          }
        }
        .txt{
          width: 80%;
        }
      }
    }
  }
}

#articles{
  .cat{
    label{
      &:not(.active){
        border: none;
      }
      &.active, &:hover{
        border-top: 1px solid #0093a3;
        border-bottom: 2px solid #b5cb3a;
      }
    }
  }
  .articles-listing{
    flex-direction: column;
    .card{
      width: 100%!important;
      & > a{
        display: grid;
        grid-template-columns: minmax(300px, 25%) minmax(400px, calc(75% - 40px))  ;
        grid-template-rows: 250px;
        grid-column-gap: 40px;
        position: relative;
        .card-image{
          grid-column-start: 1;
          grid-row-start: 1;
          object-fit: contain;
          overflow: hidden;
          display: inline-flex;
          justify-content: center;
          img{
            display: inline-block;
            height: 250px;
            width: auto;
          }
        }
        .wrapper-content{
          grid-column-start: 2;
          grid-row-start: 1;
          background-image: url(/user/themes/lecampus/images/Trame-bleu2.svg);
          background-repeat: repeat;
          padding: 20px 20px;
          width: 100%;
          height: 100%;
          .date{
            float: left;
          }
          .cat{
            margin-left: 3px;
          }
          .readmore{
            float: right;
          }
        }
      }
      .card-content{
        overflow: hidden;
        height: 7.7rem;
        h2{
          font-size: 0.9rem;
        }
      }
      &:last-child{
        margin-bottom: 0;
      }
    }
  }
}

.paginations{
  max-width: 1200px;
  & > ul{
    & > li{
      border: none;
      & > span{
        &.active{
          &::after{
            content: " ";
            width: 100%;
            height: 5px;
            display: block;
            background: #b5cb3a;
          }
        }
      }
      span, a{
        padding: 4px 5px;
      }
      &:first-child{
        float: left;
        & > a, & > span{
          &::before{
            content: "<";
            margin-right: 10px;
            display: inline-block;
            transform: translateX(0px);
            transition: 0.3s transform ease;
          }
        }
        & > a{
          &:hover{
            &::before{
              transform: translateX(-3px);
              transition: 0.3s transform ease;
            }
          }
        }
      }
      &:last-child{
        float: right;
        & > a, & > span{
          &::after{
            content: ">";
            margin-left: 10px;
            display: inline-block;
            transform: translateX(0px);
            transition: 0.3s transform ease;
          }
        }
        & > a:hover{
          &::after{
            transform: translateX(3px);
            transition: 0.3s transform ease;
          }
        }
      }
    }
  }
}

.start#form{
  .entete{
    border-top: 1px solid $light-blue
  }
  h2{
    margin-top: 0;
  }
  .body-wrapper{
    width: 100%;
    min-width: 250px;
    margin: auto auto 140px auto;
    form{
      width: calc( (100% / 2));
      margin-top: 20px;
      margin: auto;
      & > div{
        width: 100%;
        margin: 20px 0;
        border-bottom: 1px solid $red;
        .form-data{
          @include inlineflex();
          margin: 20px 0px;
          &> div{
            overflow: hidden;
            margin: 10px 10px;
            min-width: 100px;
            border: 2px solid $red;
            border-radius: 30px;
            padding: 10px 20px;
            &.check{
              background: $red;
              color: white;
            }
            input{
              border: none;
            }
            input[type='radio'] {
              visibility: hidden;
              position: absolute;
            }
            label{
              cursor: pointer;
            }
          }
        }
        &:nth-of-type(n+5):not(:nth-of-type(n+12)){
          width: 50%;
          float: left;
          border-bottom: 0px;
          .form-data{
            width: 100%;
            & > div{
              width: 100%;
            }
          }
        }
        &:nth-of-type(11){
          border-bottom: 1px solid $red !important;
          width: 100%!important;
          .form-data {
            width: 50%!important;
          }
        }
        &.button-wrapper{
          background: $red;
          height: 100px;
          position: absolute;
          left: 0;
          width: 100%;
          button{
            margin-right: 25%;
            position: absolute;
            right: 0;
            top: 50%;
            -webkit-transform: translateY(-50%);
                    transform: translateY(-50%);
            background: white;
            border-radius: 30px;
            padding: 10px 35px;
            box-shadow:none;
            border:0;
          }
        }
      }
    }
    #send-valide{
      -webkit-transform: translate(-50%, -50%);
              transform: translate(-50%, -50%);
      background: $red;
      border-radius: 20px;
      position: fixed;
      width: 30%;
      min-height: 30%;
      left: 50%;
      top: 50%;
      padding: 50px;
      .toast{
        position: relative;
        text-align: center;
        color: white;
      }
      .ok{
        color: white;
        position: absolute;
        right: 20px;
        bottom: 20px;
      }
    }
  }
}

.header-wrapper{
.title{
  h2{
    width: auto;
    margin-bottom: 20px;
    background: $red;
    border-radius: 30px;
    width: auto;
    padding: 10px 20px;
    color: white;
    font-size: 1.2rem;
    width:115px;
  }
}
}

.content{
  width: 50%;
  margin: 4rem auto;
  p{
    margin: 10px 0;
  }
}

.content_s{
  margin: auto!important;
}

.entete{
  @include inlineflex;
  padding: 20px;
  background-image: url('/user/themes/lecampus/images/Trame-bleu2.svg');
  // background-position: center;
  background-repeat: repeat;
  // background-size: cover;
  height: auto;
  border-top: 10px solid $green;
  .entete_c{
    @include inlineflex;
    text-align: center;
    width: 70%;
    margin: 50px auto;
    position: relative;

    h1{
      width: auto;
      margin-bottom: 20px;
      background: $red;
      border-radius: 30px;
      width: auto;
      padding: 10px 20px;
    }
  }
}

.body-wrapper{
  .content{
    h4{
      &:not(:first-of-type){
        border-top: 1px solid black;
        padding-top: 30px;
        margin: 30px 0 0 0;
      }
    }
  }
  .sub-content{
    border-top: 1px solid black;
    margin-bottom: 20px;
    margin-top: 20px;
    & > img{
      width: 33%;
      float: left;
      margin: 20px 10px 0px 0px;
    }
  }
}

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

.sidebar{
  position: absolute;
  right: 0;
  width: 20%;
  margin: -55px auto 0 20px;
  h2{
    background: $red;
    border-radius: 100px;
    width: 100px;
    height: 100px;
  }
  .side-agenda{
    padding: 10px 20px 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{
    background: white;
    width: auto;
    padding: 10px 20px;
    margin-bottom: 10px;
    float: left;
    border: 2px solid $red;
    border-radius: 30px;
    transition: background-color 0.3s ease;
    a{
      color: black;
    }
    &:hover{
      background-color: $red;
      transition: background-color 0.3s ease;
      a{
        color: white;
      }
    }
  }

}



#newsletter{
  display: none !important;
  padding: 20px 0;
  background: $light-blue;
  /* LOADER */
      .ml-form-embedSubmitLoad {
        display: inline-block;
        width: 20px;
        height: 20px;
      }
      .ml-form-embedSubmitLoad:after {
        content: " ";
        display: block;
        width: 11px;
        height: 11px;
        margin: 1px;
        border-radius: 50%;
        border: 4px solid #fff;
        border-color: #ffffff #ffffff #ffffff transparent;
        -webkit-animation: ml-form-embedSubmitLoad 1.2s linear infinite;
                animation: ml-form-embedSubmitLoad 1.2s linear infinite;
      }
      @-webkit-keyframes ml-form-embedSubmitLoad {
        0% {
        -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
        }
        100% {
        -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
        }
      }
      @keyframes ml-form-embedSubmitLoad {
        0% {
        -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
        }
        100% {
        -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
        }
      }
        #mlb2-985974.ml-form-embedContainer {
          box-sizing: border-box;
          display: table;
          height: 100%;
          margin: 0 auto;
          width: 100% !important;
        }
        #mlb2-985974.ml-form-embedContainer h4,
        #mlb2-985974.ml-form-embedContainer p,
        #mlb2-985974.ml-form-embedContainer span,
        #mlb2-985974.ml-form-embedContainer button {
          text-transform: none !important;
          letter-spacing: normal !important;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper {
          display: inline-block !important;
          margin: 0;
          padding: 0;
          position: relative;
                }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper.embedPopup,
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper.embedDefault { width: 400px; }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper.embedForm { width: 750px; }
        #mlb2-985974.ml-form-embedContainer .ml-form-align-left { text-align: left; }
        #mlb2-985974.ml-form-embedContainer .ml-form-align-center { text-align: center; }
        #mlb2-985974.ml-form-embedContainer .ml-form-align-default { display: table-cell !important; vertical-align: middle !important; text-align: center !important; }
        #mlb2-985974.ml-form-embedContainer .ml-form-align-right { text-align: right; }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedHeader img {
          border-top-left-radius: 4px;
          border-top-right-radius: 4px;
          height: auto;
          width: 100%;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody,
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody {
          // padding: 20px 20px 0 20px;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody.ml-form-embedBodyHorizontal {
          padding-bottom: 0;
          justify-content: center;
          display: flex;
          border: 1px solid white;
          border-radius: 30px;
          overflow: hidden;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent,
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent {
          width: 100%;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent{
          color: white;
          p{
            color: white;
            text-align: center;
            font-family: $Regular;
          }

        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent label {
          color: white;
          white-space:nowrap;
          padding: 0 20px;
          line-height: 40px;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent p,
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent p {
          color: #000000;
          font-family: 'Open Sans', Arial, Helvetica, sans-serif;
          font-size: 14px;
          font-weight: 400;
          margin: 0 0 10px 0;
          text-align: left;
          text-align: center;
          color: white;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent ul,
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent ol,
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent ul,
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent ol {
          color: #000000;
          font-family: 'Open Sans', Arial, Helvetica, sans-serif;
          font-size: 14px;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent p a,
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent p a {
          color: #000000;
          text-decoration: underline;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent p:last-child,
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent p:last-child {
          margin: 0;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody form {
          margin: 0;
          width: 100%;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-formContent,
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow {
          margin: 0 0 20px 0;
          width: 100%;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-formContent.horozintalForm {
          margin: 0;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow {
          margin: 0 0 10px 0;
          width: 100%;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow.ml-last-item {
          margin: 0;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow.ml-formfieldHorizintal {
          margin: 0;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input {
          background-color: #ffffff !important;
          color: #333333 !important;
          border-color: #cccccc !important;
          border-radius: 4px !important;
          border-style: solid !important;
          border-width: 1px !important;
          font-size: 14px !important;
          line-height: 20px !important;
          padding: 10px 10px !important;
          width: 100% !important;
          box-sizing: border-box !important;
          max-width: 100% !important;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input::-webkit-input-placeholder { color: #333333; }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input::-moz-placeholder { color: #333333; }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input:-ms-input-placeholder { color: #333333; }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input:-moz-placeholder { color: #333333; }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow {
          height: 40px;
          display: flex;
        }
        .ml-form-formContent.horozintalForm .ml-form-horizontalRow .ml-input-horizontal { width: 100%; }
        .ml-form-formContent.horozintalForm .ml-form-horizontalRow .ml-button-horizontal { width: auto; margin-left: -45px;}
        .ml-form-formContent.horozintalForm .ml-form-horizontalRow .horizontal-fields { box-sizing: border-box; float: left;  }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow input {
          background-color: #ffffff;
          color: #333333;
          border-radius: 30px;
          border-style: solid;
          border-width: 0px;
          font-size: 14px;
          line-height: 20px;
          padding: 10px 10px;
          width: 100%;
          box-sizing: border-box;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow button {
          background-color: transparent;
          border-color: transparent;
          border-style: solid;
          box-shadow: none;
          color: black !important;
          font-family: 'Open Sans', Arial, Helvetica, sans-serif;
          font-size: 14px !important;
          font-weight: 700;
          line-height: 20px;
          padding: 10px !important;
          width: 100%;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow input[type="checkbox"] {
          display: inline-block;
          float: left;
          margin: 1px 0 0 0;
          opacity: 1;
          visibility: visible;
          appearance: checkbox !important;
          -moz-appearance: checkbox !important;
          -webkit-appearance: checkbox !important;
          position: relative;
          height: 14px;
          width: 14px;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow .label-description {
          color: #000000;
          display: block;
          font-family: 'Open Sans', Arial, Helvetica, sans-serif;
          font-size: 12px;
          text-align: left;
          padding-left: 25px;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow label {
          font-weight: normal;
          margin: 0;
          padding: 0;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow label a {
          color: #000000;
          text-decoration: underline;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow label p {
          color: #000000 !important;
          font-family: 'Open Sans', Arial, Helvetica, sans-serif !important;
          font-size: 12px !important;
          font-weight: normal !important;
          line-height: 18px !important;
          padding: 0 !important;
          margin: 0 5px 0 0 !important;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow label p:last-child {
          margin: 0;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit {
          margin: 0 0 20px 0;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button {
          background-color: #000000 !important;
          border: none !important;
          border-radius: 4px !important;
          box-shadow: none !important;
          color: #ffffff !important;
          font-family: 'Open Sans', Arial, Helvetica, sans-serif !important;
          font-size: 14px !important;
          font-weight: 700 !important;
          line-height: 20px !important;
          padding: 10px !important;
          width: 100% !important;
          box-sizing: border-box !important;
        }
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button:hover {
          background-color: #333333 !important;
        }
        .ml-subscribe-close {
          width: 30px;
          height: 30px;
          background: url(https://bucket.mlcdn.com/images/default/modal_close.png) no-repeat;
          background-size: 30px;
          cursor: pointer;
          margin-top: -10px;
          margin-right: -10px;
          position: absolute;
          top: 0;
          right: 0;
        }
        .ml-error input {
          background: url(https://bucket.mlcdn.com/images/default/error-icon.png) 98% center no-repeat #ffffff !important;
          background-size: 24px 24px !important;
        }
        .ml-error .label-description {
          color: #ff0000 !important;
        }
        .ml-error .label-description p {
          color: #ff0000 !important;
        }

        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow.ml-error .label-description p,
        #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow.ml-error .label-description p:first-letter {
          color: #ff0000 !important;
        }
        //   @media only screen and (max-width: 400px){
        //   .ml-form-embedWrapper.embedDefault, .ml-form-embedWrapper.embedPopup { width: 100%!important; }
        //   .ml-form-formContent.horozintalForm { float: left!important; }
        //   .ml-form-formContent.horozintalForm .ml-form-horizontalRow { height: auto!important; width: 100%!important; float: left!important; }
        //   .ml-form-formContent.horozintalForm .ml-form-horizontalRow .ml-input-horizontal { width: 100%!important; }
        //   .ml-form-formContent.horozintalForm .ml-form-horizontalRow .ml-input-horizontal > div { padding-right: 0px!important; padding-bottom: 10px; }
        //   .ml-form-formContent.horozintalForm .ml-button-horizontal { width: 100%!important; }
        // }

  @media only screen and (max-width: 400px) {
         .ml-form-formContent.horozintalForm .ml-form-horizontalRow .horizontal-fields {
          margin-bottom: 10px !important;
          width: 100% !important;
        }
      }

  #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: 31px;
          box-shadow: none;
          border: none;
        }
        .clear{
          input{
            background: $white;
            margin-left: -30px;
          }
        }
      }
    }
  }
}

#home{
  .content{
    // min-width: 800px;
    @include inlineflex();
    & > p{
      position: relative;
      width: calc(100% / 3);
      padding: 50px 20px;
      margin-top: 10px;
      img{
        position: absolute;
        width: auto;
        height: 50px;
        top: -20px;
        left: 50%;
        -webkit-transform: translate(-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;
        }
      }
    }
  }
}

#item, #item-article{
  .item-wrapper{
  width: 45%;
  margin: auto;
  .title-wrapper{
    display: inline-flex;
    align-items: baseline;
    width: 100%;
    margin: 40px 0;
    .back{
      margin-right: 10px;
      margin-left: -80px;
      &::before{
        content: "<";
        display: inline-block;
        margin-right: 5px;
      }
    }
    .title{
      width: auto;
      margin: 0;
      h1{
        width: auto;
        padding: 10px 20px;
        border-radius: 30px;
        background: #9e0027;
      }
    }
  }
  .info-wrapper{
    display: inline-flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-end;
    .date{
      width: 100%;
      background-image: url('/user/themes/lecampus/images/Trame-bleu2.svg');
      background-repeat: repeat;
      padding: 5px 10px;
      text-align: right;
      margin-bottom: 20px;
    }
    .reso{
      display: inline-flex;
      margin-bottom: 20px;
      a{
        display: inline-flex;
        margin: 0 0 0 10px;
        align-items: center;
        img{
          margin-left: 5px;
          width: 20px;
          height: auto;
        }
      }
    }
  }
  .body-wrapper{
    .card-image{
      width: 100%;
    }
    .card-content{
      margin: 40px 0;
      .txt{
        p{
          margin: 0 0 1.2rem 0;
          line-height: 1.5rem;
        }
        h2{
          font-size: 1.2rem;
          font-family: $Bold;
          font-weight: normal;
          margin: 0;
        }
        ul{
          margin-bottom: 1.2rem;
          li{
            &::before{
              content: " ";
              width: 5px;
              height: 5px;
              border-radius: 10px;
              display: inline-block;
              vertical-align: middle;
              background: $red;
              margin-right: 5px;
            }
          }
        }
      }
    }
  }
  }
}

#item, #item-article{
  .content{
    @include inlineflex;
    .images_s{
      // width: calc(100% / 2 - 15px);
      width: 40%;
      align-self: center;
      // min-width: 300px;
      margin-right: 15px;
      img{
        margin-bottom: 15px;
      }
    }
    .content_s{
      width: calc(60% - 30px);
    }
    .icones{
      margin: 70px 0;
      @include inlineflex;
      justify-content: space-around;
      width: 100%;
      .icon{
        height: 50px;
        width: auto;
        max-width: 200px;
        img{
          height: 50px;
          width: 100%;
        }
        p{
          text-align: center;
        }
      }
    }
  }
}
#devis {
  &.home{
    .title{
      visibility: hidden;
    }
  }
}

#devis{
  @include inlineflex();
  justify-content: center;
  align-items: center;
  background-image: url('/user/themes/lecampus/images/Trame-bleu2.svg');
  background-repeat: repeat;
  width: 100%;
  // height: 300px;
  .title{
    width: 200px;
    height: 200px;
    background: $red;
    border-radius: 200px;
    -webkit-transform: translateX(80px);
            transform: translateX(80px);
    h4{
      text-align: center;
      color: white;
      margin: 50% 10px 0 10px;
      -webkit-transform: translateY(-50%);
              transform: translateY(-50%);
    }
  }
  .txt{
    @include inlineflex();
    background: white;
    width: 25%;
    margin-right: 20px;
    height: auto;
    p{
      padding: 20px 20px 20px 20px;
      color: black;
      text-align: left;
      strong{
        font-size: 1.3rem;
      }
    }
  }
  .demander-votre-devis{
    margin-top: 0;
    -webkit-transform: translate(50%, -125%);
            transform: translate(50%, -125%);
  }
  .img{
    width: 400px;
    height: 300px;
    position: relative;
    .content-img{
      width: auto;
      height: auto;
      overflow: hidden;
      & > img{
        width: 100%;
        height: 100%;
      }
    }
  }
}

#devis{
  &.item, &.sublog, &.item-article, &.nos-offres, &.nos-packs, &.le_campus{
    background: $red;
    height: auto;
    padding: 20px 0;
    a{
      color: white;
    .title{
      vertical-align: baseline;
      border-radius: 30px;
      border: 1px solid white;
      padding: 5px 20px;
      height: 35px;
      width: auto;
      -webkit-transform: translateX(0);
              transform: translateX(0);
      }
      &:hover{
        color: black;
        .title{
          background: white;
          transition: background 0.3s ease;
        }
      }
    }
  }
}

// .bx-viewport{
//     height: 30vw!important;
// }

#reco{
  background: $dark-blue;
  .title{
    display: flex;
    cursor: pointer;
    width: 100%;
    padding: 10px;
    h2{
      width: auto;
      margin: auto;
      color: white;
      padding: 10px;
      text-align: center;
      border-top: 1px solid white;
      border-bottom: 1px solid white;
      font-size: 1rem;
      &::after{
        display: inline-flex;
        margin-left: 10px;
        content: " ";
        background: url('../images/fleche-top.svg');
        background-size: 15px 18px;
        background-repeat: no-repeat;
        width: 15px;
        height: 18px;
      }
    }
    &.open{
      h2:after{
        -webkit-transform: rotate(180deg);
                transform: rotate(180deg);
      }
    }
  }
  .txt{
    z-index: -1;
    position: relative;
    width: 100%;
    display: none;
    p{
      color: white;
      width: 300px;
      a{
        color: white;
        text-decoration: underline;
      }
    }
    &.open{
      @include inlineflex;
      justify-content: center;
      padding-top: 20px;
      z-index: 999;
      background: $dark-blue;
      .item{
        display: block;
      }
    }
    h3{
      color: $green;
    }
  }
  .item{
    margin: 0 0px 20px 20px;
    border-left: 1px solid white;
    padding-left: 20px;
    img{
      width: 50px;
      margin-bottom: 10px;
    }
  }
}

.content_s{
  &.map{
    width: 100%!important;
    height: auto;
    p{
      &:last-child{
        height: 500px;
      }
    }
    a#carte{
      display: block;
      width: 100%;
      height: 100%;
    }
  }
}

#event, #item, #item-article{
  .title{
    width: 45%;
    margin: auto;
  }
  .head-event{
    .tags{
      width: 100%;
      &.professionnels{
        background-color: $red;
      }
      &.grand_public{
        background-color: $light-blue;
      }
      &.formations{
        background-color: $grey;
      }
      &.publics{
        padding: 2.5px 10px;
        color: white;
      }
    }
}
.card-header{
  @include inlineflex;
  flex-direction: column;
  width: 100%;
  &.professionnels{
    background-color: $red;
  }
  &.grand_public{
    background-color: $light-blue;
  }
  &.formations{
    background-color: $grey;
  }
  .publics{
    text-align: right;

    &.publics{
      padding: 2.5px 10px;
      color: white;
    }
  }
}
.card-body{
  padding: 15px;
  background-image: url('/user/themes/lecampus/images/Trame-bleu2.svg');
  // background-position: center;
  background-repeat: repeat;
  // background-size: cover;
  }
  .card-content{
    margin-top: 20px;
  }
}

.demander-votre-devis{
  padding: 10px;
  z-index: 999;
  -webkit-transform: translate(0, -50%);
          transform: translate(0, -50%);
  background: $red;
  position: absolute;
  width: 200px;
  height: 200px;
  right: 5%;
  color: white;
  text-align: center;

  strong{
    font-weight: bold!important;
  }
  a{
    color: white;
  }
  img{
    margin-top: 10px;
    width: 50px;
  }
}

#sublog{
  .body-wrapper{
    background-image: url('../images/Trame-gris.svg');
    background-repeat: repeat;
  }
  .content{
    @include inlineflex;
    width: 90%;
    flex-direction: row-reverse;
    justify-content: space-between;
    .txt{
      width: 50%;
      .content_txt{
        width: 50%;
      }
      & > p{
        font-size: 1.2rem;
        font-family: $Bold;
      }
    }
  }
  svg{
      pointer-events: none;
  }
  .mapsalles{
    width: 50%;
    position: relative;
    .contour{
      position: relative;
      z-index: 1;
      pointer-events: none;
      display: inline-block;
      width: 100%;
      vertical-align: middle;
      overflow: hidden;
    }
    .fond{
      position: absolute;
      display: inline-block;
      width: 100%;
      vertical-align: middle;
      overflow: hidden;
      z-index:0;
      left: 0;
      top: 5.3%;
      path{
        fill: none;
        pointer-events: all;
        transition: fill 0.3s ease;
        &:hover{
          fill: $light-blue!important;
          transition: fill 0.3s ease;
        }
      }
    }
  }

  .content_salle{
    visibility: hidden;
    overflow-x: hidden;
    position: absolute;
    left: 50%;
    top: 300px;
    width: 40%;
    background: white;
    & > p{
      padding-left: 10px;
    }
    .header-salles{
      height: 100%;
      background: $light-blue;
      padding: 5px 10px;
      color: white;
      margin-top: 0;
      width: 100%;
      h3{
        width: 100%;
      }
      img{
        display: none;
      }
    }
    .gal-salles{
      height: 100%;
      position: relative;
      img{
        width: 100%;
        height: 100%;
      }
    }
    h4{
      background: $green;
      font-size: 1.2rem;
      font-family: $Bold;
      padding: 5px 10px;
      margin-top: -1px;
    }
  }
  .slidesjs-navigation{
    margin-right: 5px;
    float: left;
    display: block;
    width: 30px;
    height: 30px;
    padding-top: 13px;
    background-position: 0 0;
    overflow: hidden;
    z-index: 999;
    position: absolute;
    top: 50%;
  }
    .slidesjs-previous {
      left: 10px;
      background-image: url('/user/themes/lecampus/images/arrow-gal.svg');
    }

    .slidesjs-next {
      background-image: url('/user/themes/lecampus/images/arrow-gal-next.svg');
      right: 10px;
    }

}

#default{
  .header-wrapper{
    width: 45%;
    margin-top: 50px;
    margin: auto;
  }
  .body-wrapper{
    margin-bottom: 50px;
  }
  .title{
    width: 80%;
    margin: auto;
  }
  .txt{
    margin:auto;
  }
  p{
    margin-bottom: 10px;
  }
}

.ok{
  cursor: pointer;
}

.cookie-banner {
  display: none;
  position: fixed;
  top: 0;
  width: 100%;

  &.active {
    display: block;
  }
}

// Overlay de la boite de dialogue
.cookie-inform-and-ask {
  background-color: green;
  display: none;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;

  &.active {
    display: block;
  }

  // La vraie boîte de dialogue
  .cookie-dialog {
    left: 50%;
    position: absolute;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    width: 70%;
  }
}
