/* ==================>
VIDEO GALLERY MAIN PAGE
<================== */
 
.video-gallery-main a {
  display: block;
  position: relative;
}

.video-gallery-main .video-thumb {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 10px;
}

.video-gallery-main .video-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--clr-main);
  opacity: 0;
  transition: 300ms ease-in-out;
  z-index: 10;
}

.video-gallery-main h4 {
  color: #fff;
  position: absolute;
  padding-inline: 1.5rem;
  bottom: 0;
  left: 0;
  opacity: 0;
  transition: 300ms ease-in-out;
  z-index: 11;
}
.video-gallery-main a:hover h4 {
  opacity: 1;
}

.video-gallery-main a:hover .video-thumb::before {
  opacity: 0.85;
}
.video-gallery-main img {
  transition: 300ms ease-in-out;
  width: 100%;
}
.video-gallery-main a:hover img {
  transform: scale(1.1);
} 

/* ==================>
VIDEO GALLERY INNER PAGE
<================== */

.video-gallery {
  text-align: center;
}

.video-gallery-img {
  margin: 3% 0 4%;
  text-align: left;
}

.video-gallery-img table {
  border: 1px solid #d6d4d4;
  border-collapse: collapse;
}

.video-gallery-img tr td {
  font-size: 14px;
  color: #333333;
  line-height: 20px;
  padding: 10px;
}

tr.Hall-Topic {
  background: var(--clr-accent);
}

.video-gallery-img tr.Hall-Topic td {
  font-size: 18px;
  color: #fff;
}

table.one tr:nth-child(even) {
  background: rgba(57, 94, 155, 0.039);
}

.video-gallery-img tr td a {
  cursor: pointer;
  background: url(../img/icon/youtube.png) center no-repeat #ffffff;
  display: inline-block;
  width: 36px;
  height: 30px;
  margin: 0 3px;
  border-radius: 2px;
  transition: 0.5s;
}

.video-gallery-img tr td strong {
  color: var(--clr-accent-light);
  font-weight: 700;
}


/* ==================>
VIDEO GALLERY INNER PAGE
<================== */

.video-section {
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.25);
  margin: 0 0 8px;
}

.video-gallerys-table table {
  width: 100%;
  border: none;
  border-collapse: collapse;
}

.video-gallerys-table {
  padding: 30px;
  width: 100%;
  margin: 0 auto 20px;
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.25);
}

.video-gallerys-table tr.trhead {
  background: var(--clr-accent);
  color: #fff;
}

.video-gallerys-table tr.border-none td {
  border: none;
}

.video-gallerys-table tr h2 {
  float: left;
  color: #ffff;
}

.video-gallerys-table tr.trhead .hall {
  float: right;
  background: #fff;
  color: #000;
  padding: 5px 20px;
  font-size: 18px;
  border-radius: 50px;
}

.video-gallerys-table td {
  padding: 12px;
  border-bottom: 1px solid #d8d8d8;
}

.title1 {
  font-size: 18px;
  text-transform: capitalize;
  margin: 0px 0 0px;
  font-weight: bold;
  color: #000000;
  border-bottom: 2px solid #000000;
  padding: 2px 0;
}
.video-gallerys-table p {
  font-size: 14px;
  margin: 0 0 10px;
  line-height: 24px;
  text-transform: capitalize;
}

p.speaker {
  font-size: 12px;
  background: #eaeaea;
  display: inline-block;
  padding: 2px 10px;
  color: #000;
  border-radius: 20px;
  font-weight: bold;
}

.title {
  font-size: 16px;
  margin: 0 0 10px;
  font-weight: bold;
  color: var(--clr-accent);
  text-transform: capitalize;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
}

.youtube-icon {
  cursor: pointer;
  background: url(../img/icon/youtube.png) center no-repeat #ffffff;
  display: inline-block;
  width: 46px;
  height: 34px;
  margin: 0 3px;
  border-radius: 2px;
  transition: 0.5s;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.18);
}

.video-gallerys-table tr h2 span {
  display: block;
  margin: 5px;
  font-size: 16px;
}


/* ==================>
  LECTURE PAGE
<================== */

ul.videospeaker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.video-gallery ul.videospeaker li {
  padding: 10px 30px;
  text-align: center;
  font-size: 16px;
  color: #000000;
  margin: 10px 5px;
  border-radius: 1rem;
  background: #0217380a;
  box-shadow: rgba(218, 212, 212, 0.2) 0px 2px 8px 0px;
  width: 345px;
}


/* ==================>
  GALLERY IMAGE
<================== */
.gallery-thumbnail {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  grid-gap: 20px;
}
.gallery-thumbnail :is(img, video) {
  width: 100%;
  height: 100%;
  overflow: hidden;
  object-fit: cover;
  object-position: center 35%;
  transition: all 0.5s ease;
  border-radius: 0.5rem;
}
/*  */

.gallery-details {
  color: #fff;
  background-color: var(--clr-accent-light);
  padding: 1.5rem 0;
}

.gallery-details h3 {
  line-height: 38px;
  color: #ffff;
}

.gallery-details h3 span {
  font-weight: 300;
}
