

/* Sekcja 1  Typ sekcji Sekcja HTML Widok Sekcja HTML */





/* Sekcja 6  Typ sekcji Dedykowana sekcja rejestracji Orlen Widok Formularz kontaktowy */

#section6 {

  #contact_success {
    background-color: #00B53F;
    padding: 3rem 2rem;
    color: white;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 500;

    span.congratulations {
      font-family: 'futura-pt-bold';
      font-weight: 700;
      margin-bottom: 5px;
      font-size: 1.825rem;
    }
  }
  
  .container {
    background: linear-gradient(to bottom, #F8F8F8, #FFFFFF);
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 10%;
    padding-top: 3rem;
  }

  h2 {
    margin-bottom: 0;
  }

  p {
    font-size: 26px;
    color: #707070;
  }

  form label {
    font-size: 20px;
    color: #707070;
    font-weight: 400;
    margin-bottom: 5px;

    &.errors {
      color: #FF0000; 
    }
  }

  form .btn {
    width: 100%;
    border-radius: 0;
    background-color: #FF0000;
    color: white;
    font-family: 'futura-pt-bold';
    font-size: 2.5rem;
  }

  .form-control {
    border-radius: 0;

    &:focus {
      border-color: #ff0000;
      box-shadow: 0 0 0 .2rem rgb(255 0 0 / 25%)
    }
  }


}



/* Sekcja 5  Typ sekcji Dedykowana sekcja rejestracji Orlen Widok Formularz eseju */

#section5 {

  div.form-control {
    background-color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
  }

  label:has(div.form-control) {
    width: 100%;
  }

  .container {
    background: linear-gradient(to bottom, #F2F2F2, #F8F8F8);
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 2.5%;
  }

  span:first-of-type:not(.congratulations) {
    padding-top: 2rem;
    font-family: 'futura-pt-bold';
    color: #707070;
    font-size: 24px;
  }

  p {
    color: #707070;
    font-size: 24px;
  }

  #esej_registration_success {
    background-color: #00B53F;
    padding: 3rem 2rem;
    color: white;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 500;

    span.congratulations {
      font-family: 'futura-pt-bold';
      font-weight: 700;
      margin-bottom: 5px;
      font-size: 1.825rem;
    }
  }
}

form label {
  font-size: 20px;
  color: #707070;
  font-weight: 400;
  margin-bottom: 5px;

  &.errors {
    color: #FF0000;
  }
}

#section5 .form-group .row {
  .col-6:first-child {
    padding-left: 0;
  }

  .col-6:last-child {
    padding-right: 0;
  }

  .col-9 {
    padding-left: 0;
  }

  .col-3 {
    padding-right: 0;
  }
}

form .btn {
  width: 100%;
  border-radius: 0;
  background-color: #FF0000;
  color: white;
  font-family: 'futura-pt-bold';
  font-size: 2.5rem;
}

#section5 .form-control {
  border-radius: 0;

  &:focus {
    border-color: #ff0000;
    box-shadow: 0 0 0 .2rem rgb(255 0 0 / 25%)
  }
}



/* Sekcja 14  Typ sekcji Dedykowana sekcja rejestracji Orlen Widok Formularz rejestracji */

#section14 {
  
  h2 {
   color: #707070;
  }

  div.form-control {
    background-color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
  }

  label:has(div.form-control) {
    width: 100%;
  }

  .container {
    background: linear-gradient(to bottom, #F2F2F2, #E6E6E6);
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 2.5%;
  }

  p {
    color: #707070;
    font-size: 24px;
  }

  #registration_success {
    background-color: #00B53F;
    padding: 3rem 2rem;
    color: white;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 500;

    span.congratulations {
      font-family: 'futura-pt-bold';
      font-weight: 700;
      margin-bottom: 5px;
      font-size: 1.825rem;
    }
  }
}

form label {
  font-size: 20px;
  color: #707070;
  font-weight: 400;
  margin-bottom: 5px;

  &.errors {
    color: #FF0000;
  }
}

#section14 .form-group .row {
  .col-6:first-child {
    padding-left: 0;
  }

  .col-6:last-child {
    padding-right: 0;
  }

  .col-9 {
    padding-left: 0;
  }

  .col-3 {
    padding-right: 0;
  }
}

form .btn {
  width: 100%;
  border-radius: 0;
  background-color: #FF0000;
  color: white;
  font-family: 'futura-pt-bold';
  font-size: 2.5rem;
}

#section14 .form-control {
  border-radius: 0;

  &:focus {
    border-color: #ff0000;
    box-shadow: 0 0 0 .2rem rgb(255 0 0 / 25%)
  }
}



/* Sekcja 3  Typ sekcji Sekcja Speakers Widok Orlen Speakers */

#section3 {
  padding-top: 0;
  padding-bottom: 0;

  .container {
    background: linear-gradient(to bottom, #f3f3f3, #e6e6e6);
    padding-top: 1.5rem;
    /* box-shadow: 0px 10px 50px rgba(255, 0, 0, 0.15); */
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 5%;
  }


  .speeches-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  span[data-toggle="collapse"] {
    cursor: pointer;
  }

  p {
    text-align: center;
    color: #707070;
    font-size: 1.5rem;
  }

  h2 {
    margin-bottom: 30px;
  }

  .info-container {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    margin-top: 20px;

    .info-block {
      background-color: #747474;
      padding: 10px 15px;
      font-weight: 700;
      color: #FFFFFF;
      font-size: 1.675rem;
    }
  }

  .speakers-container {
    padding: 15px 30px;
    border: 1px solid #707070;
    background-color: #747474;
    transition: 0.3s;

    .collapse-minus {
      display: none;
    }

    .collapse-plus {
      display: inline-block;
    }

    &:has(.speakers.show) {
      background-image: url('../files/bg.png');
      background-color: rgba(255, 9, 0, 1);
      .collapse-minus {
        display: inline-block;
      }

      .collapse-plus {
        display: none;
      }
    }

    span:first-of-type {
      font-weight: 700;
      color: #ffffff;
      font-size: 1.675rem;
    }

    .speakers {
      padding-left: 15px;
      padding-right: 15px;
      margin-top: 10px;
      flex-wrap: wrap;
      position: relative;
      justify-content: space-between;   
      gap: 15px;

      &.collapsing, &.show {
        display: flex;
      }
    }

    .speaker {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 250px;
      position: relative;

      img {
        width: 140px;
      }

      .speaker-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;

        cursor: pointer;


        span:first-of-type {
          font-weight: 700 !important;
          color: #FFFFFF !important;
          font-size: 20px !important;
        }


        span:last-child {
          font-weight: 400 !important;
          color: #FFFFFF !important;
          font-size: 15px !important;
        }
      }
      span.speaker-moderator {
        color: white;
        margin-bottom: 15px;
      }

      .speaker-bio {
        background-color: #EDEDED;
        border: 1px solid #ffffff;
        padding: 1rem;
        font-weight: 500;
        color: #747474;
        font-size: 12px;
        position: absolute;
        width: 100%;
        left: 0;
        top: 30%;
        z-index: 10;
        display: none;
        cursor: pointer;
        width: 30vh !important;

        @media(min-width: 768px) {
          width: 50vh !important;
        }
      }

      .speaker-info:hover ~ .speaker-bio {
        display: block !important;
      }

      .speaker-bio:hover {
        display: block !important; 
      }
    }
  }
}

@media(max-width: 768px){ 
  .speakers {
    justify-content: center !important;
  }
}

