.video_thumbnail {
  width: 100%;
  height: 225px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

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

.animate_video_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video_thumbnail:hover .animate_video_image {
  transform: translateY(-15px);
}

.video_thumbnail {
  transition: box-shadow 0.3s ease;
}

/* Custom modal size */
.custom-modal .modal-dialog {
    max-width: 900px;
}

/*.modal-content {
    max-height: 500px;
    overflow: hidden;
}*/

/* Custom modal size */


.video_container {
    padding: 30px;
}

.videocontent {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}
.videocontent .video-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Ensure controls are visible */
.video-js .vjs-control-bar {
  display: flex !important;
}

/* Modal body padding adjustment */
.modal-body {
  padding: 0;
}