/*
Theme Name:   AITD
Theme URI:    https://training.americanitdepartment.com/
Description:  Custom Design
Author:       Suhan Alam Rana
Author URI:   https://www.fiverr.com/ranakpik
Text Domain:  aitd
Template:     generatepress
Version:      0.1
*/

.col_1 {
  width: 8.33%;
}
.col_2 {
  width: 16.66%;
}
.col_3 {
  width: 25%;
}
.col_4 {
  width: 33.33%;
}
.col_5 {
  width: 41.66%;
}
.col_6 {
  width: 50%;
}
.col_7 {
  width: 58.33%;
}
.col_8 {
  width: 66.66%;
}
.col_9 {
  width: 75%;
}
.col_10 {
  width: 83.33%;
}
.col_11 {
  width: 91.66%;
}
.col_12 {
  width: 100%;
}
button {
  border-radius: 5px;
}
.weight-700 {
  font-weight: 700;
}
.weight-600 {
  font-weight: 600;
}
.weight-500 {
  font-weight: 500;
}
.weight-400 {
  font-weight: 400;
}
.font-size-20 {
  font-size: 20px;
}
.font-size-16 {
  font-size: 16px;
}
.color-text {
  color: var(--text-color);
}
.color-white {
  color: var(--text-white);
}
.color-main{
  color: var(--main);
}
.width-100 {
  width: 100%;
}
.max-width {
  max-width: 100%;
}
.h-100 {
  height: 100%;
}
.sec-padding {
  padding: 50px 0px;
}
.p-10 {
  padding: 10px;
}
.p-15 {
  padding: 15px;
}
.p-20 {
  padding: 20px;
}
.pt-0 {
  padding-top: 0px;
}
.pb-0 {
  padding-bottom: 0px;
}
.pt-10 {
  padding-top: 10px;
}
.pb-10 {
  padding-bottom: 10px;
}
.pt-20 {
  padding-top: 20px;
}
.pb-20 {
  padding-bottom: 20px;
}
.pt-30 {
  padding-top: 30px;
}
.pb-30 {
  padding-bottom: 30px;
}
.m-10 {
  margin: 10px;
}
.m-20 {
  margin: 20px;
}
.mt-0 {
  margin-top: 0px;
}
.mb-0 {
  margin-bottom: 0px;
}
.mt-10 {
  margin-top: 10px;
}
.mb-10 {
  margin-bottom: 10px;
}
.mb-15 {
  margin-bottom: 15px;
}
.mt-20 {
  margin-top: 20px;
}
.mb-20 {
  margin-bottom: 20px;
}
.mt-30 {
  margin-top: 30px;
}
.mb-30 {
  margin-bottom: 30px;
}
.mr-10 {
  margin-right: 10px;
}
.mr-15 {
  margin-right: 15px;
}
.mr-20 {
  margin-right: 20px;
}

.m-10 {
  margin: 0px -10px;
}
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.align-items-center {
  -webkit-box-align: center !important;
  -ms-flex-align: center !important;
  align-items: center !important;
}
.d-flex {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  justify-content: space-between;
}
.gap-10 {
  gap: 10px;
}
.gap-15 {
  gap: 15px;
}
.gap-20 {
  gap: 20px;
}
.gap-30 {
  gap: 30px;
}
.light-ping-bg {
  background: #f0f3ff;
}

.radius {
  border-radius: 5px !important;
}
.radius-3 {
  border-radius: 3px !important;
}
.radius-10 {
  border-radius: 10px !important;
}
i.fas.fa-phone {
  transform: rotate(90deg);
}

.img-black {
  filter: brightness(0); /* Makes it appear black */
}
.mb-0, .mb-0 p{
  margin-bottom: 0px;
}
.bg-white {
    background-color: #fff;
}
/*End Global CSS*/
/*Global responsive*/
.mobile-only {
    display: none;
}
/*End Global responsive*/

/*Start Header*/
.inside-header {
    padding: 10px 0px;
}
.main-navigation .main-nav ul li a {
    padding-left: 15px;
    padding-right: 15px;
    line-height: 40px;
}
/*End Header*/


/*video Lesson css*/
.video-lesson-wrapper {
    padding: 10px;
    color: var(--white);
}

.left-panel {
  flex: 1;
}

.right-panel {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
}

.left-panel .section-title {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
}

.lesson-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

#video-lessons .lesson-filters button {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
  padding: 8px 12px;
  border-radius: 3px;
  cursor: pointer;
}

#video-lessons .lesson-filters button.active,
#video-lessons .lesson-filters button:hover {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--white);
}

.left-panel .section-description {
    margin-top: 20px;
    bottom: 0;
    max-width: 340px;
    color: var(--white);
}

.lesson-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
}

.right-panel .lesson-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  height: 150px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.lesson-card:hover img {
  transform: scale(1.03);
}

.lesson-card .play-icon {
  font-size: 12px;
  color: var(--white);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--main);
  margin-bottom: 10px;
}

.lesson-card .card-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.7);
    margin: 0;
    background: linear-gradient(to top, rgb(0 0 0 / 80%), transparent);
    padding: 0px 10px;
}
.lesson-card .card-text h4 {
    font-size: 16px;
    color: var(--white);
}
#video-modal.hidden {
  display: none;
}

#video-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.video-container {
  position: relative;
  width: 80%;
  max-width: 800px;
  background: #000;
}

#modal-close {
  position: absolute;
  top: -40px;
  right: -5px;
  font-size: 30px;
  color: var(--white);
  cursor: pointer;
}

#video-modal iframe,
#video-modal video {
  width: 100%;
  height: 450px;
  border: none;
}
/*end video Lesson css*/
/*End desktp*/

/*Responsive rana*/

/* Tablets (768px–920px) */


@media (min-width: 769px) {}
/* Tablet desktop :768px. */
@media (min-width: 768px) and (max-width: 1024px) {
.inside-top-bar {
    padding: 10px 20px;
}
.inside-header {
    padding: 10px 20px;
}
  .crypto-lesson-wrapper {
    display: block;
  }
  .left-panel .section-description {
    position: inherit;
    max-width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 920px) { }

/*Mobile*/
@media (max-width: 768px) {
  .m-d-none {
    display: none;
  }
  .mobile-only {
    display: block !important;
  }
  .desktop-only {
    display: none !important;
  }
  .mobile-none {
    display: none !important;
  }
  .m-d-block {
    display: block !important;
  }
  .main-navigation .main-nav ul li.btn a {
    background: var(--main);
    border-radius: 5px;
    text-align: center;
    color: var(--white);
    margin-top: 10px;
    margin-bottom: 20px;
}
  .inside-header {
    padding: 10px 20px;
  }

  .crypto-lesson-wrapper {
    display: block;
  }
  .left-panel .section-description {
    position: inherit;
    max-width: 100%;
    margin-bottom: 20px;
  }
  .left-panel .section-title {
    align-items: start;
  }
  .left-panel .section-title i {
    margin-top: 3px;
  }
  .crypto-grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

}
/*end mobile rana*/

/* Mobile (481px–767px) */
@media (min-width: 481px) and (max-width: 767px) { }

/* Extra small mobile (0–480px) */
@media (max-width: 480px) { }


