
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
body {
  background-color: #f0f2f5;
  font-family: 'Roboto', sans-serif;
}

.padding-16 {
  padding: 16px;
}

.margin-b-0 {
  margin-bottom: 0px !important;
}

.page-logo img {
  width: 150px;
}

.margin-t-0-8 {
  margin-top: 0.8rem !important;
}

.margin-b-0-8 {
  margin-bottom: 0.8rem !important;
}

.margin-l-0-8 {
  margin-left: 0.8rem !important;
}

.custom-border-light {
  --bs-border-opacity: 1;
  border-color: rgb(218 223 229) !important;
}

.custom-container {
  max-height: calc(100vh - 78px);
  height: calc(100vh - 78px);
  overflow-x: hidden;
}

.custom-row-wrapper {
  padding: 16px 0;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

.custom-row {
  max-height: 100%;
  height: 100%;
  width: 100%;
}

.not-found-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
  max-height: calc(100vh - 100px);
  text-align: center;
  padding: 20px;
}

.not-found-image {
  width: 400px;
  height: auto;
  margin-bottom: 20px;
}

.not-found-title {
  margin-bottom: 15px;
}

.not-found-text {
  color: #6c757d;
  margin-bottom: 20px;
}

.try-again-button {
  margin-top: 20px;
  color: white !important;
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-40%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes smallSlideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(50%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.card {
  background-color: #fff;
  color: rgba(0, 0, 0, 0.87);
  -webkit-transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  border-radius: 4px;
  box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2),
    0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  position: relative;
  min-width: 0;
  word-wrap: break-word;
  background-color: #ffffff;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  border: 0 solid rgba(0, 0, 0, 0.125);
  border-radius: 0.75rem;
  box-shadow: 0rem 0.25rem 0.375rem -0.0625rem rgba(0, 0, 0, 0.1),
    0rem 0.125rem 0.25rem -0.0625rem rgba(0, 0, 0, 0.06);
  overflow: visible;
  padding: 8px;
  position: relative;
}

.card-title {
  font-size: 1rem;
  line-height: 1.625;
  color: #1a73e8;
  font-weight: 700;
  letter-spacing: 0.0075em;
}

.margin-b-0-5 {
  margin-bottom: 0.5rem !important;
}

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  animation: slideInFromLeft 0.8s ease-out forwards;
  border-radius: 10px;
  max-height: 600px;
}

/* .video-container.is-horizontal {
  width: 95%;
  height: auto;
}

.video-container:not(.is-horizontal) {
  width: auto;
  height: 66%;
} */

.card-section {
  display: none;
}

.responsive-card {
  width: 360px;
  margin: 0;
  padding: 20px 16px 30px 16px;
  position: relative;
  margin-top: 0;
  margin-bottom: 20px;
}

.cta-btn-wrapper {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 40px;
  width: 94%;
}

.video-wrapper {
  width: calc(100% - 2px);
  height: calc(100% + 1px);
  /* max-height: 600px; */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.video-container.is-horizontal .video-wrapper {
  width: calc(100% - 2px);
  height: calc(100% + 1px);
}
.video-container.is-square .video-wrapper,
.video-container:not(.is-horizontal) .video-wrapper {
  width: 100%;
  height: 100%;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: 'start';
  justify-content: start;
  background-color: rgb(21 20 20 / 50%) !important;
  z-index: 9999;
  border-radius: 11px;
  cursor: pointer;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
  background-image: url('/images/playIcon.png');
  background-position: center;
  background-size: 100px 100px;
  background-repeat: no-repeat;
}

.video-overlay.hide {
  display: none;
}

.video-overlay-title {
  overflow: hidden;
  text-wrap: nowrap;
  text-overflow: ellipsis;
  width: 100%;
  color: #fff !important;
  padding: 6px 15px;
  font-weight: bold;
  font-size: 1.5rem;
}

.plyr {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-container {
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  /* border: 2px solid green; */
  animation: slideInFromRight 0.8s ease-out forwards;
}

.right-animation {
  transition: all 0.3s ease-in-out;
  animation: slideInFromRight 0.8s ease-out forwards;
}

.small-right-animation {
  transition: all 0.3s ease-in-out;
  animation: smallSlideInFromRight 0.8s ease-out forwards;
}

.manage-video {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: #ffffff !important;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.3) 0px 8px 16px -8px !important;
  color: rgb(24, 25, 27);
}

.manage-video:hover {
  background-color: rgb(255, 255, 255);
}

.manage-video.active {
  background-color: #257eea !important;
}

.manage-video i {
  font-size: 27px;
  color: black;
}

.manage-video.active i {
  color: white;
}

@media (max-width: 990px) {
  .btn-container {
    display: none;
  }
}

/* Custom textfield style */
.custom-textfield {
  border: 1px solid #ced4da;
  border-radius: 4px;
  padding: 12px 12px 12px 12px !important;
  background-color: #fff;
  font-size: 16px;
  width: 100%;
  position: relative;
  height: calc(1.5em + 0.75rem + 10px);
  padding: 0.675rem 0.75rem;
  box-shadow: none !important;
  outline: none !important;
}

.custom-textfield:focus {
  border-color: #007bff;
  outline: none;
}

.label-centered {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  transition: top 0.2s ease, font-size 0.2s ease, left 0.2s ease;
  font-size: 0.875rem;
  color: rgb(106 109 121 / 57%);
  font-weight: 500;
  margin-bottom: 0 !important;
}

.custom-textfield:focus + .form-label {
  color: #007bff;
}

.custom-btn {
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  background-color: transparent;
  outline: 0;
  border: 0;
  margin: 0;
  border-radius: 7px;
  padding: 0;
  cursor: pointer;
  /* font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif; */
  font-size: 12px;
  font-weight: 550;
  line-height: 2;
  text-transform: uppercase;
  letter-spacing: 0.02857em;
  min-width: 64px;
  padding: 6px 16px;
  -webkit-transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2),
    0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  outline: none;
  box-shadow: none;
}

.btn-primary {
  color: #fff;
  background-color: #1a73e8;
}

.btn-transparent {
  color: rgb(72 74 82 / 57%);
  background-color: transparent;
  border: 1px solid #1a73e8;
}

.btn-transparent:hover {
  color: #757575;
  border: 1px solid rgba(233, 30, 99, 0.5);
}

.btn-bg-blue {
  background-color: #344767;
  color: #fff;
}

.btn-blue {
  color: rgb(72 74 82 / 57%);
  background-color: transparent;
  border: 1px solid #344767;
}

.btn-blue:hover {
  color: #757575;
  border: 1px solid rgba(233, 30, 99, 0.5);
}

.btn-close {
  color: #1a73e8 !important;
  --bs-btn-close-color: #1a73e8 !important;
}

.btn-close:hover {
  color: #1a73e8 !important;
  --bs-btn-close-color: #1a73e8 !important;
}

.close-btn {
  position: absolute;
  top: 9px;
  right: 22px;
  cursor: pointer;
  color: #757575;
  font-size: 32px;
  font-weight: bold;
}

.margin-t-24 {
  margin-top: 24px;
}
.margin-b-8 {
  margin-bottom: 8px;
}

.custom-button-wrapper {
  margin: 0px 0px 9px 0px;
  display: flex;
  flex-direction: column;
  /* gap: 10px; */
}

.custom-button-link {
  text-decoration: none;
}

.card-description {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.02857em;
  margin-top: 8px;
  opacity: 1;
  text-transform: none;
  vertical-align: unset;
  -webkit-text-decoration: none !important;
  text-decoration: none !important;
  color: #7b809a;
  cursor: default;
  font-weight: 400;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-container {
  width: 53%;
}

.waveform-wrapper {
  position: relative;
    display: flex;
    align-items: center;
    height: 43px;
    width: 100%;
    margin: 0px 50px 0px 10px;
    background: #FFFFFF;
    /* padding: 0 10px; */
    overflow: hidden;
}

#audio-waveform {
  width: 100%;
  height: 43px;
  margin: 0 10px;
  position: relative; /* IMPORTANT */
}

/* Extra Extra Small Screens (xs) */
@media (max-width: 390px) {
  .video-overlay {
    background-size: 40px 40px;
  }

  .custom-col {
    justify-content: start;
  }
   #video-detail-form .btn-wrapper {
      flex-direction: column;
   }
   #video-detail-form .btn-wrapper button {
      width: 100%;
   }
   #video-detail-form .btn-wrapper button:first-child {
      margin-bottom: 10px;
   }
}

/* Extra Small Screens (xs) */
@media (max-width: 575px) {
  .video-overlay {
    background-size: 60px 60px;
  }

  .custom-col {
    justify-content: start;
  }
  /* If horizontal view is true */
  .audio-container,
  .video-container.is-horizontal {
    width: 95%;
    height: auto;
  }

  /* If horizontal view is false */
  .video-container:not(.is-horizontal) {
    width: auto;
    height: 66%;
  }

  .video-container.is-square {
    width: auto;
    height: 45%;
  }

  .card-section {
    width: 100%;
    transition: all 0.3s ease-in-out;
  }

  .responsive-card {
    width: 94%;
    margin: auto;
    margin-top: 20px;
  }

  .cta-btn-wrapper {
    margin-bottom: 40px;
    width: 94%;
  }

  .waveform-wrapper {
    position: relative;
    margin: 0px 39px 0px 0px;
  }

  #audio-waveform {
    margin: 0 5px;
  }
}

/* Small Screens (sm) */
@media (min-width: 576px) and (max-width: 767px) {
  .video-overlay {
    background-size: 100px 100px;
  }

  .custom-col {
    justify-content: center;
  }

  .audio-container,
  /* If horizontal view is true */
  .video-container.is-horizontal {
    width: 95%;
    height: auto;
  }

  /* If horizontal view is false */
  .video-container:not(.is-horizontal) {
    width: auto;
    height: 66%;
  }

  .card-section {
    width: auto;
  }

  .responsive-card {
    width: 360px;
    margin: auto;
    margin-top: 20px;
  }

  .cta-btn-wrapper {
    margin-bottom: 40px;
    width: 360px;
  }
}

/* Medium Screens (md) */
@media (min-width: 768px) and (max-width: 991px) {
  .video-overlay {
    background-size: 100px 100px;
  }

  .custom-col {
    justify-content: center;
  }
  .audio-container,
  /* If horizontal view is true */
  .video-container.is-horizontal {
    width: 95%;
    height: auto;
  }

  /* If horizontal view is false */
  .video-container:not(.is-horizontal) {
    width: auto;
    height: 90%;
  }

  .responsive-card {
    width: 360px;
    margin: auto;
    margin-top: 20px;
    position: relative !important;
  }
}

/* Large Screens (lg) */
@media (min-width: 992px) and (max-width: 1199px) {
  .video-overlay {
    background-size: 100px 100px;
  }

  .custom-col {
    justify-content: center;
  }

  .audio-container,
  /* If horizontal view is true */
  .video-container.is-horizontal.show-card {
    width: 68%;
    height: auto;
  }

  .video-container.is-horizontal:not(.show-card) {
    width: 72%;
    height: auto;
  }

  /* If horizontal view is false */
  .video-container:not(.is-horizontal) {
    width: auto;
    height: 95%;
  }

  .video-container.is-square {
    width: auto;
    height: 60%;
  }

  .responsive-card {
    margin: 0;
    margin-top: 0px;
  }

  .cta-btn-wrapper {
    margin-bottom: 0px;
    width: 360px;
  }
}

/* Extra Large Screens (xl) */
@media (min-width: 1200px) and (max-width: 1499px) {
  .video-overlay {
    background-size: 110px 110px;
  }

  .custom-col {
    justify-content: center;
  }

  .audio-container,
  /* If horizontal view is true */
  .video-container.is-horizontal.show-card {
    width: 68%;
    height: auto;
  }

  .video-container.is-horizontal:not(.show-card) {
    width: 72%;
    height: auto;
  }

  /* If horizontal view is false */
  .video-container.is-square,
  .video-container:not(.is-horizontal) {
    width: auto;
    height: 100%;
  }

  .responsive-card {
    margin: 0;
    margin-top: 0px;
  }
}
@media (min-width: 1500px) {
  .video-container .video-overlay {
    background-size: 100px 100px;
  }

  .video-container.is-horizontal .video-overlay {
    background-size: 13% 22%;
  }

  .custom-col {
    justify-content: center;
  }
  /* If horizontal view is true */
  .video-container.is-horizontal.show-card {
    width: 68%;
    height: auto;
  }

  .video-container.is-horizontal:not(.show-card) {
    width: 72%;
    height: auto;
  }

  /* If horizontal view is false */
  .video-container.is-square,
  .video-container:not(.is-horizontal) {
    width: auto;
    height: 100%;
    max-height: 600px;
  }

  .video-container.is-horizontal.show-card  {
    max-height: 100%;
  }

  .video-container.is-horizontal:not(.show-card)  {
    max-height: 100%;
  }

  .audio-container {
    width: 53% !important;
  }


  /* If horizontal view is false */
  /* .video-container:not(.is-horizontal)  {
    max-height: 600px;
  } */

  .responsive-card {
    margin: 0;
    margin-top: 0px;
  }
}


/* toastr css */
.toast {
  display: flex;
  align-items: center;
}

#toast-container.toast-bottom-center>div, #toast-container.toast-top-center>div {
  min-width: 300px !important;
  max-width: 400px !important;
  width: auto;
  margin-left: auto;
  margin-right: auto;
}

.toast-message {
    font-size: 18px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toast-close-button {
    top: 0 !important;
}

.plyr--full-ui video {
  object-fit: contain;
}

.plyr--fullscreen .plyr__video-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  /* background-color: black; */
}

.plyr--fullscreen video {
  width: auto;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}

.custom-buttons-container {
  display: none;
}

.video-unavailable {
  padding-top: 10%;
  background-color: black;
  text-align: center;
  font-size: 36px;
  word-wrap: break-word;
  overflow: visible;
  color: white;
  text-wrap: balance;
  height: 100%;
  width: 100%;
}

.video-available {
  display: none;
}

@media (max-width: 720px) {
  .video-unavailable {
    padding-top: 4%;
    background-color: black;
    text-align: center;
    font-size: 16px;
    word-wrap: break-word;
    overflow: visible;
    text-wrap: balance;
    color: white;
    height: 100%;
    width: 100%;
  }
}

#details-card-description {
  white-space: pre-line;
}

.h-530 {
  height: 530px !important;
}

.audio-player-container {
      position: relative;
    border-radius: 8px;
    box-sizing: border-box;
    overflow: hidden;
    height:280px;
    width:100%;
}

.audio-player-header {
  width: 100%;
  height: 60px;
  width: 100%;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  position: absolute;
  top: 0px;
  z-index: 8;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  box-sizing: border-box;
  background: #1a73e8;
      display: flex;
    align-items: center;
}

.audio-player-header .video-overlay-title {
  margin-bottom: 0px;
}

.audio-player-wrapper {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
      border-radius: 11px;
    border: 2px solid #1a73e8;
}

.audio-player-card {
  width: 100%;
  height:60px;
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: #ffffff;
  border-radius: 54px;
  gap: 10px;
  box-sizing: border-box;
  margin-top:57px;
  position: relative;
}

.audio-play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #1a73e8;
  color:#ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-size: 30px;
  padding: 0;
  margin: 0;
  outline: none;
}

.audio-play-btn i {
  margin-top: 2px;
  /* margin-left: 2px; */
}

.audio-duration { 
    margin-left: 10px;
   position: absolute;
    right: 10px;
}