/* Sign up page */

#organizations__container--registration {
  background-color: var(--color-dark-blue);
  width: 34%;
  margin: auto;
  margin-top: 15px;

  .signup__form{
    width: 78%;
    margin-right: auto;
    margin-left: auto;
  }

  .panel-danger{
    background-color: var(--color-dark-blue);
    color: var(--color-destroy);
    border: none;
    font-family: var(--font-family-text);
    width: 67%;
    margin-right: auto;
    margin-left: auto;
    ul{
      text-align: left;
    }
    .panel-heading{
      background-color: var(--color-dark-blue);
      border: none;
      h3{
        line-height: 25px;
      }
    }
  }
  .header__content{
    .header__text{
      text-align: center;
    }
  }
  .body-signup{
    text-align: center;
    h2{
      font-family: var(--font-family-text);
      color: var(--color-white);
    }
    p{
      color: var(--color-white);
    }
  }
  .signup__button{
    ;
  }

  .signup__button{
    text-align: center;
    margin-top: 20px;
    a, button{
      background-color: var(--color-purple);
      color: var(--color-white);
      width: 100%;
      padding: 15px;
      border-radius: 5px;
      border: none;
      font-weight: bold;
      font-size: 16px;
      width: 270px;
      display: block;
      margin: auto;
      &:hover{
        background-color: var(--color-hover-purple);
        color: var(--color-white);
        text-decoration: none;
      }
    }
  }

  .cgu {
    font-family: var(--font-family-text);
    color: var(--color-white);
    font-size: 12px;
    input[type='checkbox'] {
      width: 14px;
      height: 14px;
      margin-top: 0px;
      margin-bottom: 0;
      margin-right: 5px;
      display: inline;
      border: 1px solid #c1c1c1;
      border-radius: 4px;
      opacity: 1;
      background: var(--color-white);
    }
    a {
      color: var(--color-white);
      font-size: 12px;
      text-decoration: underline;
      line-height: 20px;
    }
  }

  .cgu--highlight {
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
  }
}

/* Acceptances page */

#organizations__container--registration {
  p.invitation-text{
    margin-top: 30px;
    font-size: 18px;
  }
  p.itsnotme-text{
    font-size: 12px;
    line-height: 20px;
  }
}

/* Onboarding - Set up bots */

.organizations-onboarding__container{
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  max-width: 850px;

  .loom__container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
}

.organizations-pretrained-bots__container, .organizations-onboarding__container {
  .mybots-list__content{
    width: 80%;
    margin: auto;
    margin-top: 15px;
  }
  .search-bar {
    width: 40%;
    display: flex;
    border: 1px solid var(--color-dark-blue);
    border-radius: 30px;
    padding: 1px 10px 1px 10px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    margin-right: auto;
    margin-left: auto;
    input[type="text"]{
      margin-left: 10px;
      border: none;
      box-shadow: none;
      font-size: 15px;
    }
    img{
      width: 25px;
    }
  }

  .bots__list{
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    .mybot-description__menu{
      position: relative;
    }
  }

  .arrowup {
    display: inline-block;
  }

  .organization {

  }

  .onboarding_instruction{
    margin-top: 2%;
    margin-bottom: 2%;
    padding: 20px;
    line-height: 30px;
    font-family: var(--font-family-text);
    text-align: left;
    color: var(--color-dark-blue);
    p{
      font-size: 16px;
    }
  }

  .organization__name {
    color: var(--color-dark-blue);
    font-size: 26px;
    text-align: center;
    font-family: var(--font-family-text);
    margin-top: 40px;
    font-weight: bold;
    text-shadow: 0px 0px 0.4px;
  }

  .bundle {
    color: var(--color-black);
  }

  .bundle__title {
    padding: 15px 15px;
    margin-bottom: 10px;
    text-align: left;
    border-radius: 5px;
    color: var(--color-purple);
    font-family: var(--font-family-text);
    font-size: 24px;
    font-weight: bold;
    display: block;
    width: 100%;

    img {
      width: 15px;
      margin-right: 20px;
      filter: invert(24%) sepia(19%) saturate(1502%) hue-rotate(242deg) brightness(90%) contrast(93%);
    }
  }


  input[type='submit'] {
    background-color: var(--color-dark-blue);
    color: var(--color-white);
    border: none;
    border-radius: 5px;
    padding: 10px 15px 10px 15px;
    font-family: var(--font-family-text);
    font-size: 13px;
  }

  .bundle__bot {
    color: var(--color-black);
    text-align: center;
    margin-bottom: 40px;
    width: 29%;
  }

  .bundle__bot__actions {
  }

  .bundle__bot--not-selected {
  }

  .bundle__bot--selected {
    .bundle__bot__actions{
      a{
        background-color: var(--color-white);
        color: var(--color-dark-blue);
        border: 1px solid var(--color-dark-blue);
        border-radius: 5px;
        padding: 10px 15px 10px 15px;
      }
      a:hover{
        text-decoration: none;
      }
    }
  }

  .bundle__bot__name {
    margin-top: 10px;
    font-size: 16px;
    color: var(--color-purple);
    font-family: var(--font-family-text);
    font-weight: bold;
    min-height: 35px;
    max-height: 50px;
  }

  .bundle__bot__avatar {
    img {
      max-width: 70px;
    }
  }
}


@media (max-width: 767px) {

  .organizations-pretrained-bots__container {
    width: 100%;
    .mybots-list__content{
      width: 90%;
    }
    .signup__form{
      width: 100%;
    }
    .organization_welcome_container{
      width: 90%;
    }
    .search-bar {
      width: 100%;
    }
    p.invitation-text{
      font-size: 16px;
    }
    .sticky-bar-infos{
      height: 80px;
    }
    .onboarding_instruction{
      font-size: 16px;
      padding: 0;
      margin-top: 25px;
      margin-bottom: 25px;
    }
    .organization__name{
      font-size: 24px;
    }
    .bundle__bot--selected .bundle__bot__actions a {
      font-size: 13px;
    }
    .bundle__bot__avatar img {
      max-width: 70px;
    }
    .bundle__bot__name{
      font-size: 15px;
    }
    .bundle__bot {
      width: 50%;
    }
    .onboarding_instruction{
      width: 100%;
      margin-top: 20px;
    }
    .bundle__title{
      font-size: 18px;
    }
  }
  #organizations__container--registration {
    color: var(--color-white);
    width: 94%;
    margin-top: 15px;
    padding: 30px;
    margin: 0;
    .panel-danger{
      width: 100%;
    }
    .signup__button{
      width: 100%;
    }
  }
}

/* Ipad */

@media only screen
and (min-device-width : 768px)
and (max-device-height : 1080px)
and (orientation : portrait) {
  #organizations__container--registration {
    width: 38%;
    .signup__form{
      width: 100%;
    }
  }
  .organizations-pretrained-bots__container {
    width: 100%;
    .organization_welcome_container{
      width: 90%;
    }
    .search-bar {
      width: 50%;
    }
    .bundle__bot {
      width: 25%;
    }
    .onboarding_instruction{
      width: 90%;
    }
  }
}


@media only screen
and (min-device-width : 768px)
and (max-device-height : 1080px)
and (orientation : landscape) {
  #organizations-registrations-container {
    .signup__form{
      width: 100%;
    }
  }
}


/* Ipad pro portrait */

@media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: portrait) {
  .organizations-pretrained-bots__container {
    .onboarding_instruction{
      width: 87%;
    }
    .search-bar {
      width: 40%;
    }
  }
}

/* Ipad pro landscape */

@media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: landscape) {
}
