@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

root{
    --font-body-scale: 100;
}

html {
    box-sizing: border-box;
    font-size: calc(var(--font-body-scale) * 62.5%);
    height: 100%;
}

body{
    font-family: "Figtree", sans-serif;
}

.page-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.5rem;
    border-bottom: 4px solid #163f42;
}

.page-header .header__logo img{
    width: 100%;
    max-width: 300px;
}

.page-header  .page-title .page__title{
    max-width: 280px;
    width: 100%;
}

.show-time__screen{
    font-size: 24px;
}

.event-deactive{
    background-color: #fbfbfb;
}

.event-manager__list{
    background-color: #fbfbfb;
}

.list__table{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.event-list__item{
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 2rem 0;
}

.list__header h2{
    margin-bottom: 1rem;
    font-size: 2rem;
    text-transform: uppercase;
    color: #163f42;
}

.event-list__item .list__items{
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 2rem;
    background: #f9f9f9;
}

.event-list__item .list__content{
    padding: 1.2rem 1.5rem;;
    border: 1px solid #d5d5d5;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.event-list__item .list__content:last-child{
    margin-bottom: 0;
}

.list__content.event-active{
    border: 1px solid #99c23c;
}

.list__time,
.list__location{
    font-size: 16px;
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.list__time{
    margin-bottom: 0.8rem;
}

.list__time .fa,
.list__location .fa{
    font-size: 1.8rem;;
}

.list__event-info{
    width: 28%;
    border-right: 1px solid #d5d5d5;
}

.list__status{
    width: 28%;
    text-align: center;
}

.list__event{
    width: 44%;
    font-size: 1.4rem;
    text-align: left;
    padding: 0 0 0 50px;
}

.event__icon{
    width: 100%;
    max-width: 18px;
    margin-left: 5px;
}

.list__location .event__icon{
    width: 100%;
    max-width: 20px;
    margin-left: 5px;
}

.list__status{
    display: flex;
    align-items: center;
    justify-content: center;
}

.live__status{
    display: none;
    padding: 0.15rem 1.2rem;
    border: 1px solid #99c23c;
    border-radius: 1rem;
    font-size: 1rem;
    
}

.event-active .live__status{
    display: block;
}

.event-active .live__status span{
    border: 5px solid #99c23c;
    border-radius: 50%;
    animation: blinker 1s linear infinite;
}

.event-active .live__status{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.event-active .list__time, .event-active .list__location, .event-active .list__event{
    font-weight: 600;
}

@keyframes blinker {
    50% {
      opacity: 0;
    }
}

@media screen and (max-width: 899px) {
    .bd-content.p-5{
        padding: 1rem !important;
    }

    .list__table{
        flex-direction: column;
        gap: 1.2rem;
        align-items: flex-start;
    }

    .list__event-info,
    .list__event,
    .list__status{
        width: 100%;
        border: 0;
    }
    
    .list__event{
        padding-left: 0px;
        text-align: center;
    }

    .list__event-info{
        border-bottom: 1px solid #d5d5d5;
        padding: 1rem;
    }

    .list__time, .list__location{
        font-size: 16px;
    }

    .list__header h2{
        text-align: center;
        margin-bottom: 1rem;
        font-size: 20px;
        text-transform: uppercase;
    }
}



.loader-14 {
    width: 48px;
    height: 48px;
    display: inline-block;
    position: relative;
  }
  .loader-14::after, .loader-14::before {
    content: "";
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #cbcbcb;
    position: absolute;
    left: 0;
    top: 0;
    -webkit-animation: animloader14 2s linear infinite;
            animation: animloader14 2s linear infinite;
  }
  .loader-14::after {
    -webkit-animation-delay: 1s;
            animation-delay: 1s;
  }

  @-webkit-keyframes animloader14 {
    0% {
      transform: scale(0);
      opacity: 1;
    }
    100% {
      transform: scale(1);
      opacity: 0;
    }
  }
  @keyframes animloader14 {
    0% {
      transform: scale(0);
      opacity: 1;
    }
    100% {
      transform: scale(1);
      opacity: 0;
    }
  }

  .page-status{
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    align-items: center;
    justify-content: center;
    background: #ffffffeb;
  }

  .page-status.enable{
    display: flex;
  }

  .event__image{
    margin: 2rem 0;
    padding: 4rem 0 0;
    border-top: 2px solid #163f42;
  }

  .event__image img{
    width: 100%;
  }

  @media screen and (max-width: 899px) {
    .page-header{
        flex-direction: column;
        gap: 2rem;
    }
  }
  
  .event__content{
      width: 100%;
      font-size: 18px;
  }
  
  .event__content-header{
    font-size: 14px;
    display: grid;
    align-items: center;
    justify-content: center;
    grid-template-columns: 50px 1fr 1fr;
    padding: 20px 0px;
  }
  
  .event_content-row{
    display: grid;
    align-items: center;
    justify-content: center;
    grid-template-columns: 50px 1fr 1fr;
    padding: 15px 0px;
  }
  
  .event__content-room, .event__content-event{
    border-bottom: 2px solid #a9a9a9;
    padding-bottom: 5px; 
  }
  
  .event__content-room{
      font-weight: 700;
  }
  
  .event_content-column{
      position: relative;
  }
  
  .event__content-sn.event_content-column span {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 34px;
    height: 34px;
    background: #98c33c;
    color: #fff;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-text-orange span{
    background: #e3e425 !important;
}

.event-text-red span{
    background: #f4af1a !important;
}

.event_content-row:last-child .event__content-room, 
.event_content-row:last-child .event__content-event{
    border: 0;
}

.event__time-slot{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-right: 0.5rem;
    gap: 0.5rem;
}

.s-bold{
    font-weight: 600;
}

.event-footer{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.footer__logo{
    width: calc(16% - 1rem);
    margin-top: 2rem;
}

.footer__logo img{
    width: 100%;
    max-width: 140px;
}

.footer__content{
    width: calc(44% - 1rem);
}

.footer__content p{
    margin: 0;
    line-height: 1.8rem;
}

.footer__site-map{
    width: calc(40% - 1rem);
    text-align: right;
}

.footer__site-map h2{
    font-size: 35px;
}

.footer__site-map h4{
    font-size: 16px;
    margin: 0;
}

.list__notes{
    font-size: 16px;
    color: #f00;
}

@media screen and (min-width: 989px) {
    .list__event-info{
        /*max-width: 352px;
        width: 100%;
        padding-right: 70px;*/
    }
    .list__event{
        padding: 0 0 0 70px;
    }
}

@media screen and (max-width: 899px) {
    .event__content-sn.event_content-column span {
        left: 0%;
        top: 5%;
        transform: translate(0%, 0%);
    }
    
    .event_content-row{
        align-items: unset;
    }
    
    .event__content-room{
        padding-right: 10px;
    }
    
    .event-footer{
          flex-direction: column;
          gap: 2rem;
    }
    
    .footer__logo img {
        max-width: 180px;
    }
    
    .footer__site-map{
        text-align: left;
    }
    
    .footer__site-map, .footer__content, .footer__logo{
        width: calc(100% - 1rem);
    }
}