.customer-detail-fly-out-box.ybl-customer-seminar-detail{
    position: fixed;
    top: 170px;
    max-width: 360px;
    background-color: #fff;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    z-index: 2;
    right: -360px;
    transition: all .5s ease-in-out;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.10);
    padding: 0;
    @media only screen and (min-width: 2000px) {
      right: 0;
    }
    @media only screen and (max-width: 400px) {
      max-width: 300px;
      right: -300px;
      top: 125px;
    }
    @media only screen and (max-width: 350px) {
      max-width: 270px;
      right: -270px;
    }

    &.active{
      right: 0;
      > .slide-in-btn{
        > .fly-out-arrow-icon{
          transform: rotate(-90deg);
        }
      }
    }
    @media only screen and (min-width: 2000px) {
      right: 0;
      &.active{
        right: -360px;
        > .slide-in-btn{
          > .fly-out-arrow-icon{
            transform: rotate(-90deg);
          }
        }
      }
    }
    
  > .slide-in-btn{
    position: absolute;
    background-color: #fff;
    top: 0;
    left: -55px;
    width: 56px;
    height: 56px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.10);
    padding: 6px;

    @media only screen and (max-width: 568px) {
        top: 100px;
    }
    
    
    > .fly-out-arrow-icon{
      transition: all .5s ease-in-out;
      width: 100%;
      height: auto;
      transform: rotate(90deg);
    }
  }

  > .image-wrapper{
    @media only screen and (min-height: 900px) and (max-height: 1200px) {
      display: flex;
      max-height: 220px;
      overflow: hidden;
      border-top-left-radius: 12px;
      > img.fly-out-image{
        
        object-fit: cover;
      }
    }
    @media only screen and (max-height: 900px) {
      display: none;
    }
  }
  
  > .content-wrapper{
      padding: 44px 32px;
      @media only screen and (max-width: 568px) {
        padding: 20px 16px;
      }
      @media only screen and (max-height: 1200px) {
        padding: 24px 20px;
      }

      h3, p{
        margin: 0;
      }

      > .richtext-wrapper{
        margin-top: 32px;
        @media only screen and (max-height: 1200px) {
          margin-top: 16px;
        }

        &.mb-0{
          margin-bottom: 32px;
          @media only screen and (max-height: 1200px) {
            margin-bottom: 16px;
          }
        }
      }

      .button {
        margin-right: 0;
        margin-bottom: 0;
        
        &.button--primary{
          margin-top: 32px;
          margin-bottom: 16px;
          @media only screen and (max-height: 1200px) {
            margin-top: 16px;
          }
        }
    }
  }
}

.ybl-seminar-detail-overview{
  position: relative;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 20px;
  padding-top: 60px;
  
  .customer-detail-header-wrapper{
      position: relative;
      margin-bottom: 32px;

      .ybl-customer-breadcrumb{
          position: relative;
          margin-bottom: 32px;

          span,
          .breadcrumb-item{
              color: #033E46;
              font-size: 16px;
              line-height: 26px;

              &.breadcrumb-link{
                  text-decoration: none;
                  &:hover{
                    text-decoration: underline;
                  }
              }
          }
      }

      .customer-headline-wrapper{
          position: relative;
          display: grid;
          grid-template-columns: auto 1fr;
          grid-gap: 32px;
          align-items: center;

          @media only screen and (max-width: 568px) {
              grid-template-columns: 1fr;
              grid-gap: 16px;
          }

          > h1{
            font-size: 48px;
            margin: 0;
            @media only screen and (max-width: 568px) {
              font-size: 32px;
            }
          }

         > .seminar-teaser-image{
           max-width: 110px;
           border-radius: 8px;
         }
      }
  }

  .seminar-navigation{
    > ul{
      list-style: none;
      padding: 0;
      > li{
        display: inline-block;
        padding: 13px 20px;
        border-radius: 16px;
        background-color: #FFF;
        border: 1px solid #033E46;
        color: #033E46;
        margin-right: 32px;
        line-height: initial;
        font-size: 20px;
        line-height: 30px;

        > a{
          color: #033E46;
        }
        &:hover{
          border-color: #033E46 !important;
          > a{
            color: #033E46;
          }
        }

        &.active{
          background-color: #033E46;
          color: #FFF; 
          > a{
            color: #FFF;
            font-family: Mulish-Bold;
            text-decoration: none;
          }
          &:hover {
            background-color: #033E46 !important;
            border-color: #033E46 !important;
            > a{
            color: #FFF;
            }
          }
        }

        &:last-of-type{
          margin-right: unset;
        }

      }  
    }
  }

  .ybl-seminar-detail-category{
    position: relative;
    margin-bottom: 32px;
  
    > ul{
      list-style: none;
      padding-left: 0;
      margin: 0;
    }

    .category-icon{
      position: relative;
      width: fit-content !important;
      display: inline-block;
      margin-right: 8px;
      cursor: pointer;

      border: 1px solid #033E46; 
      padding: 13px 20px;
      border-radius: 16px;
      font-family: Mulish;
    }
  }

  .ybl-seminar-detail-referent{
    position: relative;
    margin-bottom: 32px;
  }

  &.supervision-detail{
    .ybl-seminar-detail-content-wrapper{
      position: relative;
      display: grid;
      grid-template-columns: 900px 1fr;
      grid-gap: 32px;

      @media only screen and (max-width: 1140px) {
          grid-template-columns: 1fr auto;
      }
      @media only screen and (max-width: 768px) {
          grid-template-columns: 1fr;
          grid-gap: 16px;
      }

      .video-content-wrapper{
        position: relative;
        margin-bottom: 120px;

        @media only screen and (max-width: 768px){
          margin-bottom: 60px;
        }
        
        .video-iframe-wrapper{
          position: relative;
          overflow: hidden;
          
          &.video{
            width: auto;
            padding-bottom: 56.25%;
          }

          &.preview-image{
            position: relative;
            overflow: hidden;
            max-width: 756px;
            max-height: 400px;

            > img.lock-icon{
              position: absolute;
              top: 50%;
              left: 50%;
              width: 40px;
              height: 40px;
              transform: translate(-50%, -50%);
              z-index: 100;
            }
          }

          .seminar-teaser-image {
              width: 100%;
            height: auto;
            max-height: 500px;
          }

          .video-follows-blocker{
            max-width: 756px;
            width: 100%;
            height: 100%;
            background-color: #cae9d5;
            border-radius: 20px;
            min-height: 400px;
            display: flex;
            justify-content: center;
            align-items: anchor-center;
            @media only screen and (max-width: 768px) {
              min-height: 200px;
            }

            > .inside-text{
              display: flex;
              justify-content: center;
              align-items: center;
              img{
                width: 40px;
                height: 40px;
                margin-right: 16px;
              }
              > span{
                font-size: 24px;
                font-family: Mulish-ExtraBold, Mulish;
                letter-spacing: 0.72px;
              }
            }
          }
        }

        .seminar-video-desc{
            margin-top: 44px;
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: 24px;
            letter-spacing: 0.64px;
        }
      }

      .video-text-content-wrapper{
          position: relative;

          ul.section-content{
            list-style: none;
            padding: 0;

            > li{
              > input[type="checkbox"]{
                position: absolute;
              }
            }
          }

          .pdf-download-button{
              position: relative;
              display: block;
              padding-left: 28px;
              color: #033E46;
              line-height: 24px;
              margin-bottom: 24px;
              text-decoration: underline;
              text-underline-offset: 0.3rem;

              &:before{
                  display: block;
                  content: '';
                  width: 20px;
                  height: 20px;
                  position: absolute;
                  left: 0;
                  top: 0;
                  background: url('/cdn/shop/files/next-download-icon.svg?v=1790277799') no-repeat center center;
                  background-size: contain;
              }

              &.ybl-help-icon{
                &:before{
                  background: url('/cdn/shop/files/help-circle.svg?v=1736956380') no-repeat center center; 
                  background-size: contain;
                }
              }

              &:hover{
                text-decoration-thickness: 0.2rem;
              }
          }
      }
    }
  }
}

.ybl-seminar-detail-products{
  position: relative;
  background-color: #ededed !important;
  padding-top: 60px;
  padding-bottom: 60px;

  .ybl-seminar-detail-products-inner-wrapper{
    > h2{
      margin-bottom: 32px;
    }
  }
}

.ybl-customer-seminar-detail{
    position: relative;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
    
    h2{
        margin: 0 0 44px 0;
    }

    .customer-connection-banner{
        position: relative;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-gap: 0;
        background-color: #9FD8B4;
        border-radius: 12px;
        margin-top: 32px;
        margin-bottom: 60px;
        overflow: hidden;

        &.certificate{
          grid-template-columns: 1fr 1fr;
          @media only screen and (max-width: 900px) {
            grid-template-columns: 1fr ;
          }
        }

        @media only screen and (max-width: 900px) {
          grid-template-columns: 1fr ;
        }

        .content-half{
          .header-wrapper{
            position: relative;
            height: 150px;
            background-color: #9FD8B4;
            display: flex;
            align-items: center;

            > .header-item{
              display: grid;
              grid-template-columns: 40px 1fr;
              grid-gap: 16px;
              padding: 0 44px;
              cursor: pointer;
              align-items: center;

              @media only screen and (max-width: 578px) {
                grid-template-columns: 1fr ;
                padding: 0 24px;
              }

              > .ybl-headline-icon{
                @media only screen and (max-width: 578px) {
                  display: none;
                }
              }


              > h2{
                margin-bottom: 0;
                padding-right: 50px;
                font-size: 24px;
                line-height: 25px;
              }

              &:after {
                display: block;
                content: '';
                width: 40px;
                height: 40px;
                position: absolute;
                right: 44px;
                top: 58px;
                transition: all .5s ease;
                background: url('/cdn/shop/files/Dropdown_arrow_collapsed.svg?v=1712929128') no-repeat center center;
                @media only screen and (max-width: 578px) {
                  right: 24px;
                }
              }
            }
            &.active{
              > .header-item{
                &:after{
                  transform: rotate(180deg);
                }
              }
            }
          }

          > .content{
            overflow: hidden;
            height: 0;
            padding: 0 44px;
            transition: all .5s ease-in-out;
            
            &.active{
              min-height: 140px;
            }
            
            @media only screen and (max-width: 578px) {
              padding: 0 24px;
            }

            .content-inner-wrapper{
              margin-bottom: 24px;;
            }

            h3{
              font-size: 20px;
              margin: 0 0 24px 0;
            }
            p,
            a {
              margin: 0 0 24px 0;
            }
            a{
              display: block;
            }
            p > strong{
              font-family: Mulish-ExtraBold, Mulish;
              font-weight: bold;
            }
            
          }
        }


        .teaser-image-half{
          position: relative;
          display: block;
          
          .teaser-image{
            position: absolute;
            width: 100%;
            height: 800px;
            top: 25%;
            left: 0;
            transform: translateY(-25%);
          }

          @media only screen and (max-width: 900px) {
            display: none;
          }
        }
    }

    .customer-judgme-teaser-anchor{
      margin-bottom: 44px;

      > p.judgme-teaser-text{
        font-family: Mulish-Bold;
        margin: 0 0 16px 0;
      }
      > a.text-link{
        display: block;
        color: #033E46;
        text-decoration: none;

        &:hover{
          text-decoration: underline;
          text-underline-offset: 4px !important;
          text-decoration-thickness: 2px !important;
        }

        > img.judgme-teaser-stars{
          display: block;
          margin-bottom: 16px;
          max-width: 200px;
          width: 200px;
        }
        &.custom-jdgm-stars{
          color: transparent;
          width: 200px;
          display: block;
          height: 40px;
          margin-bottom: 16px;

          > span > .jdgm-star.jdgm--on{
            width: 30px;

            &:before{
              width: 30px;
              height: 30px;
            }

          }

        }
      }
      
    }
  
    .customer-seminar-progress{
        position: relative;
        margin-bottom: 44px;
        display: grid;
        grid-template-columns: auto auto 200px;
        grid-gap: 32px;
        align-items: center;

        @media only screen and (max-width: 990px) {
          grid-template-columns: 1fr;
          grid-gap: 16px;
        }

        > .progress-bar{
            position: relative;
            align-items: center;
            display: grid;
            grid-template-columns: auto 130px;  
            grid-gap: 24px;
            border: unset;

            @media only screen and (max-width: 568px) {
                grid-template-columns: 1fr;
                width: 100%;
                grid-gap: 16px;
            }

            > .progress-fill-wrapper{
                position: relative;
                height: 5px;
                background-color: #D2D2D1;
                border-radius: 5px;

                > .progress-fill {
                    width: 0%; /* Anfänglicher Wert */
                    height: 5px;
                    background-color: #033E46;
                    border-radius: 5px; /* Abgerundete Ecken, um es dem äußeren Balken anzupassen */
                }
            }

            > .progress-text-wrapper{
                position: relative;
                p{
                  margin: 0;
                  font-size: 14px;
                  font-style: normal;
                  font-family: Mulish-ExtraBold, Mulish;
                  font-weight: bold;
                  line-height: 20px; /* 142.857% */
                  letter-spacing: 0.42px;
                  width: max-content;
                }
            }
        }


        .expired-soon{
          color: #EC2D2D;
        }
    }

    .ybl-countdown-teaser{
      position: relative;
      display: grid;
      grid-template-columns: 1fr auto;
      grid-gap: 24px;
      padding: 32px;
      background-color: #9FD8B4;
      border-radius: 12px;
      margin-top: 32px;
      margin-bottom: 60px;

      @media only screen and (max-width: 1024px) {
        grid-template-columns: 1fr;
        padding: 24px;
      }
    
      > .content-wrapper{
        position: relative;
        display: grid;
        grid-template-columns: 47px 1fr;
        align-items: center;
        grid-gap: 24px;

        @media only screen and (max-width: 578px) {
          grid-template-columns: 1fr;
        }
        
        > .countdown-icon{
          max-height:45px;
          @media only screen and (max-width: 578px) {
            display: none;
          }
        }
        > p{
          line-height: 36px;
          margin: 0;
          .fs-32{
            font-family: Mulish-ExtraBold, Mulish;
            font-weight: bold;
            font-size: 32px;
            line-height: 36px;
            > span{
              font-size: 16px;
            }
          }

          #eventName{
            line-height: 28px;
            @media only screen and (max-width: 578px) {
              > span {
                display: none;
              }
            } 
          }
          
          @media only screen and (max-width: 578px) {
            margin-left: 0;
          }
        }
      }
      > .button-wrapper{
        display: flex;
        align-items: center;
      }
    }
  
    .customer-seminar-available{
        > p{
          margin: 0;
          color: inherit;
          font-size: 20px;
          line-height: 30px;
          font-family: Mulish-ExtraBold;
        }
    }
  
    h3.first-seminar-day-soon{
      position: relative;
      color: #033E46;
      font-size: 20px;
      padding-left: 56px;
      &:before{
        position: absolute;
        content: "";
        background-image: url("/cdn/shop/files/icon-green-calendar.svg?v=1744646594");
        width: 40px;
        height: 40px;
        left: 0;
        top: -3px;
        background-repeat: no-repeat;
      }
    }

    h3.no-documents-available{
      position: relative;
      color: #033E46;
      font-size: 20px;
      padding-left: 56px;
      &:before{
        position: absolute;
        content: "";
        background-image: url("/cdn/shop/files/icon-folder.svg?v=1744646594");
        width: 40px;
        height: 40px;
        left: 0;
        top: -3px;
        background-repeat: no-repeat;
      }
    }

    .ybl-green-banner{
        position: relative;
        padding: 32px;
        border-radius: 12px;
        background-color: #9FD8B4;
        margin-bottom: 80px;
        display: block;
        @media only screen and (max-width: 990px) {
          margin-bottom: 60px;
        }
        
        .ybl-headline-icon{
            position: absolute;
            left: 32px;
            top: 38px;

            @media only screen and (max-width: 568px) {
                position: relative;
                top: unset;
                left: unset;
            }
        }
        .banner-content-wrapper{
            padding-left: 64px;
            @media only screen and (max-width: 568px) {
                padding-left: unset;
            }

            
            .ybl-banner-desc{
                font-size: 16px;
                font-style: normal;
                font-weight: 400;
                line-height: 24px;
                letter-spacing: 0.64px;
                display: grid;
                grid-template-columns: 1fr auto;
                grid-gap: 24px;
                @media only screen and (max-width: 768px) {
                  grid-template-columns: 1fr;
                }
                > div > h2{
                  font-size: 28px;
                  line-height: 46px;
                  font-family: Mulish-ExtraBold;
                  margin: 0 0 0 0;
                }
                p{
                  margin: 0;
                }
            }
        }
        a.banner-cert-btn{
            font-size: 16px;
            font-style: normal;
            line-height: 25px;
            letter-spacing: 0.48px;
            max-height: 50px;
            margin: 0;
          
            &:after,
            &:before{
                display: none;
            }
            @media only screen and (max-width: 568px) {
              width: 100%;
            }
            &:hover{
              background-color: #5FBE82;
              border-color: #5FBE82;
            }
        }
    }

    .dynamic-content{
      display: grid;
      grid-template-columns: auto 1fr;
      grid-gap: 16px;
      margin-bottom: 32px;
      > p{
        line-height: 50px;
        margin: 0;
      }
      @media only screen and (max-width: 768px) {
        grid-template-columns: 1fr;
        grid-gap: 8px;
        > p{
          line-height: 24px;
        }
      }
    }

    .customer-seminar-day-accordion{
        position: relative;
        margin-bottom: 100px;

        @media only screen and (max-width: 568px){
            margin-bottom: 60px;
        }

        .customer-seminar-accordion-item{
            position: relative;
            border-top: 1px solid #033E46;

            .accordion-item-header{
                position: relative;
                padding: 32px 0;
                cursor: pointer;
                @media only screen and (max-width: 568px){
                    padding: 16px 0;
                }

                &:before{
                    display: block;
                    content: '';
                    width: 40px;
                    height: 40px;
                    position: absolute;
                    left: 0;
                    top: 32px;
                    background: url('/cdn/shop/files/date-icon.svg?v=1721314736') no-repeat center center;
                }
                &.check-icon:before{
                    background: url('/cdn/shop/files/check-icon_green.svg?v=1721314160') no-repeat center center;
                }
                &.date-icon:before{
                    background: url('/cdn/shop/files/date-icon.svg?v=1721314736') no-repeat center center;
                }
                &.loading-icon:before{
                    background: url('/cdn/shop/files/loading-icon.svg?v=1721314736') no-repeat center center;
                }

                h3,p{
                    font-size: 20px;
                    font-style: normal;
                    line-height: 28px;
                    letter-spacing: 0.6px;
                    margin: 0;
                    padding-left: 72px;
                    @media only screen and (max-width: 968px) {
                        padding-right: 40px;
                    }
                    @media only screen and (max-width: 568px) {
                        font-size: 16px;
                        line-height: 24px;
                    }
                }
                p{
                  font-size: 18px;
                }
                > .acc-content-wrapper > input[type="checkbox"]{
                  position: absolute;
                }

                &.active{
                    &:after{
                        transform: rotateZ(180deg);
                    }
                }

                &:after {
                    display: block;
                    content: '';
                    width: 28px;
                    height: 100%;
                    position: absolute;
                    right: 0;
                    top: 0;
                    transition: all .5s ease;
                    transform: rotateZ(0deg);
                    background: url('/cdn/shop/files/Dropdown_arrow_collapsed.svg?v=1712929128') no-repeat center center;
                    background-size: contain;
                }
            }

            .accordion-item-content{
                position: relative;
                height: 0;
                overflow: hidden;
                transition: all .5s ease-in-out;

                .accordion-item-content-wrapper{
                    position: relative;
                    display: grid;
                    grid-template-columns: 900px 1fr;
                    grid-gap: 32px;
                    padding-top: 44px;

                    @media only screen and (max-width: 1140px) {
                        grid-template-columns: 500px 1fr;
                    }
                    @media only screen and (max-width: 768px) {
                        grid-template-columns: 1fr;
                        grid-gap: 16px;
                    }

                    &.no-video-grid{
                      grid-template-columns: 1fr;

                      > .video-content-wrapper{
                        display: none;
                      }
                    }

                    .video-content-wrapper{
                        position: relative;

                        .ybl-content-follows{
                          max-width: 700px;
                          margin: 0 0 32px 0;
                        }

                        .video-iframe-wrapper{
                            position: relative;
                            width: auto;
                            padding-bottom: 56.25%;
                            margin-bottom: 32px;
                            @media only screen and (max-width: 568px){
                                margin-bottom: 16px;
                            }
                        }

                        .seminar-video-desc{
                            font-size: 16px;
                            font-style: normal;
                            font-weight: 400;
                            line-height: 24px;
                            letter-spacing: 0.64px;
                            margin-bottom: 32px;
                            @media only screen and (max-width: 768px) {
                                margin-bottom: unset;
                            }
                            @media only screen and (max-width: 568px){
                                margin-bottom: 16px;
                            }
                        }
                    }

                    .video-text-content-wrapper{
                        position: relative;

                        ul.section-content{
                          list-style: none;
                          padding: 0;

                          > li{
                            > input[type="checkbox"]{
                              position: absolute;
                            }
                          }
                        }

                        .pdf-download-button{
                            position: relative;
                            display: block;
                            padding-left: 28px;
                            text-decoration: underline;
                            color: #033E46;
                            line-height: 26px;
                            margin-bottom: 32px;
                            cursor: pointer;
                            text-decoration: underline;
                            text-decoration-thickness: 1px !important;
                            text-underline-offset: 4px !important;

                            &:hover{
                              text-decoration-thickness: 2px !important;
                            }

                            &:before{
                                display: block;
                                content: '';
                                width: 20px;
                                height: 20px;
                                position: absolute;
                                left: 0;
                                top: 0;
                                background: url('/cdn/shop/files/download-icon.svg?v=1721314160') no-repeat center center;
                                background-size: contain;
                              pointer-events: none;
                            }

                            &.ybl-help-icon{
                              &:before{
                                background: url('/cdn/shop/files/help-circle.svg?v=1736956380') no-repeat center center; 
                                background-size: contain;
                              }
                            }
                        }
                    }
                }
            }

            &:last-of-type{
                border-bottom: 1px solid #033E46;
            }
        }
    }
}
.ybl-login-form-wrapper{
  .field.ybl-customer-login-input-wrapper{
    &:after{
      border-radius: 8px !important;
    }
    &:before{
      border-radius: 8px !important;
    }
    input{
      border-radius: 8px !important;
    }
  }
}