@import '../../../styles/vars/breakpoints.css';

.webinarHeader {
  width: 100%;
  min-height: 100vh;
  height: auto;
  overflow: hidden;
  position: relative;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  &.horizontal:not(.isPreviewPage) {
    min-height: calc(100vh - 70px);
    .lContainer {
      min-height: calc(100vh - 70px);
    }    
  }
  
  &.isPreviewPage {

  }
  @media (--md-and-down) {
    min-height: calc(100vh - 70px);
    .lContainer {
      min-height: calc(100vh - 70px);
    }
  }

  &:after {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
  }
}

.lContainer {
  min-height: calc(100vh);
  height: auto;
  display: flex;
  align-items: center;
}

.time {
  margin-right: 9px;
  display: flex;
  flex-wrap: wrap;
  height: 100%;
}

.content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding-top: 45px;
  padding-bottom: 50px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  @media (--ms-and-down) {
    padding-top: 25px;
    padding-bottom: 30px;
  }
}

.top {
  display: flex;
  width: 100%;
}

.left {
  width: 760px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  @media (--sm-and-down) {
    width: 100%;
  }
}

.right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: auto;
  width: calc(100% - 760px);
  position: relative;
  .play {
    display: flex;    
    margin-top: 70px;
    animation: pulse 3s infinite ease-in;
  }
  @media (--sm-and-down) {
    display: none;
    .play {
      display: none;
    }
  }
}

.bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 14px;
  @media (--sm-and-down) {
    flex-direction: column;
  }
}

.mobile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  @media (--sm-and-down) {
    margin-top: 25px;
    width: 100%;
    .play {
      display: flex;
    }
  }
}

.play {
  display: none;
}

.btnBack {
  margin-bottom: 38px;
  @media (--sm-and-down) {
    margin-bottom: 20px;
  }

  &:global(.uikit-back-button-back) {
    border-radius: var(--button-border-radius);
    background-color: rgba(40, 40, 40, 0.4);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 18px;
  }

  :global(.uikit-back-button-icon) {
    color: #FFFFFF !important;
  }
}

.type {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.55px;
  line-height: 27px;
  margin-bottom: 36px;

  .typeIcon {
    height: 22px;
    width: 22px;
    color: #F73636;
    margin-right: 12px;
  }
}

.container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  @media (--sm-and-down) {
   flex-direction: column;
  }
}

.date {
  color: #FFFFFF;
  font-size: 38px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 40px;
  display: flex;
  margin: 0;
  padding: 0;
  .clock,
  .record {
    color: #FFFFFF;
    font-size: 28px;
    margin-right: 12px;    
    margin-top: 1px;    
    flex-shrink: 0;
  }
  .clock {   
    margin-top: 6px;  
  }
  .strong {
    font-weight: 400;
    letter-spacing: -1.05px;
    margin-right: 7px;
  }

  .strongDate {
    font-weight: 500;
    margin-right: 7px;
  }

  .hours {
    margin-right: 7px;
  }

  .duration {
    letter-spacing: 0px;
  }
  
  @media (--ms-and-down) {
    font-size: 30px !important;
    line-height: 34px;
    .clock,
    .record {
      margin-top: 3px;
    }
    .strong {
    }
    .strongDate {  
    }
    .duration {
    }
  }
}

.live {
  display: flex;
  align-items: center;
}

.circle {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  margin-right: 12px;
  background-color: #F81F1F;
  flex-shrink: 0;
}

.heading {
  color: #FFFFFF;  
  font-size: rem(56px);
  font-weight: bold;
  letter-spacing: 0;
  line-height: 52px;
  margin: 0;
  margin-top: 10px;
  margin-bottom: 13px;
  word-break: break-word;
  &.longest {
    font-size: rem(20px);
  }

  &.longer {
    font-size: rem(30px);
  }

  &.long {
    font-size: rem(35px);
  }
  
  &.middle {
    font-size: rem(45px);
  }

  &.large {
    font-size: rem(48px);
  }

  @media (--md-and-down) {
    color: #ffffff;
    font-size: rem(48px);
    margin-bottom: 15px;

    &.large {
      font-size: rem(48px);
    }
    &.middle {
      font-size: rem(48px);
    }
    .long {
      font-size: rem(40px);
    }
    &.longer {
      font-size: rem(40px);
    }
    &.longest {
      font-size: rem(30px);
    }
  }

  @media (--ms-and-down) {
    font-size: rem(28px);
    font-size: 1.75rem;
    line-height: 1.21;
    letter-spacing: 0.5px;

    &.middle {
      font-size: rem(26px);
    }
    &.large {
      font-size: rem(26px);
    }
    &.long {
      font-size: rem(23px);
    }
    &.longer {
      font-size: rem(23px);
    }
    &.longest {
      font-size: rem(18px);
    }
  }
}

.desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  letter-spacing: 0.45px;
  line-height: 33px;
  max-width: 700px;
  @media (--sm-and-down) {
    max-width: 100%;
  }
}

.author {
  margin-top: 10px;
}

.bottomArrow {
  z-index: 10;
  position: absolute;
  left: calc(50% - 25px);
  bottom: 40px;
  width: 50px;
  height: 50px;
  /* transform: translateX(-50%); */
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  animation: pulseDown 3s infinite ease-in;
  .down {
    font-size: rem(18px);
    font-size: 1.125rem;
  }
  @media (--ms-and-down) {
    bottom: 13px
  }

}

.share {
  :global(.uikit-sharing-text) {
    color: rgba(255, 255, 255, 0.8);
  }
}

:global(.dir--rtl) {
  .clock,
  .record,
  .typeIcon,
  .circle,
  .typeIcon {
    margin-right: 0;
    margin-left: 12px;
  }

  .time {
    margin-right: 0;
    margin-left: 20px;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes pulseDown {
  0% {
    opacity: 1;
    transform: scale(1);
    border-color: rgba(#BFBFBF, 0.7);
  }
  50% {
    opacity: 0.9;
    transform: scale(0.9);
    border-color: rgba(#BFBFBF, 0.3);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    border-color: rgba(#BFBFBF, 0.7);
  }
}