@font-face {
  font-family: 'TT-Ramillas';
  font-style: bold;
  font-weight: 700;
  src: url(../../../assets/fonts/tt_ramillas/TT-Ramillas-Bold.ttf) format('ttf'),
    url(../../../assets/fonts/tt_ramillas/TT-Ramillas-Bold.ttf);
}

@font-face {
  font-family: 'TT-Ramillas';
  font-style: auto;
  font-weight: 600;
  src: url(../../../assets/fonts/tt_ramillas/TT-Ramillas-Medium.ttf) format('ttf'),
    url(../../../assets/fonts/tt_ramillas/TT-Ramillas-Medium.ttf);
}

@font-face {
  font-family: 'TT-Ramillas';
  font-style: auto;
  font-weight: 400;
  src: url(../../../assets/fonts/tt_ramillas/TT-Ramillas-Regular.ttf) format('ttf'),
    url(../../../assets/fonts/tt_ramillas/TT-Ramillas-Regular.ttf);
}

@font-face {
  font-family: 'TT-Ramillas';
  font-style: auto;
  font-weight: 300;
  src: url(../../../assets/fonts/tt_ramillas/TT-Ramillas-Light.ttf) format('ttf'),
    url(../../../assets/fonts/tt_ramillas/TT-Ramillas-Light.ttf);
}

@font-face {
  font-family: 'TT-Interphases-Pro';
  font-style: auto;
  font-weight: 400;
  src: url(../../../assets/fonts/tt_interphases_pro/TT-Interphases-Pro-Trial-Regular.ttf) format('ttf'),
    url(../../../assets/fonts/tt_interphases_pro/TT-Interphases-Pro-Trial-Regular.ttf);
}

/* h1, h2, h3, h4, h5, h6, p, a { */
p,
a {
  font-family: "The Youngest", "Sans-serif" !important;
}

body a,
body div,
body input,
body label,
body li,
body span,
body textarea {
  font-family: "TT-Interphases-Pro";
}

.ld-course-categories {
  list-style: none;
  padding: 0;
  margin-left: 5px;
}

.ld-course-categories li {
  margin: 5px 0;
}

.ld-course-categories a {
  color: #333;
  text-decoration: none;
}

.ld-course-categories a:hover {
  color: #0088cc;
}

.latest-course-title {
  font-size: 50px;
}

/* momflix style */
:root {
  --bg: #f7fbfe;
  --text: #1c2024;
  --muted: #6a7a85;
  --accent: #1fb6ff;
  --teal: #0097B2;
  --pill-bg: #ffffff;
  --card-radius: 14px;
}

* {
  box-sizing: border-box;
}

.layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
  position: relative;
}

/* Sidebar */
.sidebar {
  padding: 16px 14px;
  background: #ffffff;
  /* light sidebar */
  color: #2b3640;
  min-height: 100vh;
}

.brand {
  height: 120px;
  width: 100%;
  border-radius: 12px;
  background: linear-gradient(135deg, #2dd4bf, #60a5fa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f1720;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.nav {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.nav-section {
  margin: 10px 0 14px 0;
  color: #8aa0b5;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.nav li {
  margin: 6px 0;
}

.nav a {
  display: block;
  padding: 0px 10px;
  border-radius: 8px;
  color: #2b3640;
  text-decoration: none;
}

.nav a:hover {
  background: #f1f5f9;
}

/* Highlighted sidebar links */
.nav a.highlight-orange {
  color: #f59e0b;
  font-weight: 400;
  margin-left: 20px;
}

.nav a.highlight-teal {
  color: #06b6d4;
  font-weight: 400;
  margin-left: 20px;
}

ul.nav li a {
  font-size: 18px !important;
  /* font-family: "The Youngest", Sans-serif !important; */
}

ul.nav .sub-menu a {
  font-size: 16px !important;
}

/* Main */
main {
  padding: 28px 38px;
}

.eyebrow {
  color: #3fc3d4;
  font-weight: 400;
  letter-spacing: 0.02em;
  /* font-family: "The Youngest", Sans-serif !important; */
  font-size: 28px;
}

.title {
  font-size: 30px;
  /* line-height: 0.95;
  margin: 6px 0 12px; */
  /* font-family: "The Youngest", Sans-serif !important; */
  font-weight: 400;
}

.lead {
  /* font-family: "The Youngest", Sans-serif !important; */
  font-size: 18px;
  color: #222222;
  line-height: 1.3;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 26px;
}

.video-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 330px;
  /* background: linear-gradient(
      120deg,
      rgba(31, 182, 255, 0.2),
      rgba(31, 200, 199, 0.2)
    ),
    url("https://images.unsplash.com/photo-1516280030429-27679b3dc9cf?q=80&w=1200&auto=format&fit=crop")
      center/cover; */
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.video-card img {
  height: 100%;
  object-fit: cover;
}

.play a {
  color: #000;
}

.video-badge {
  position: absolute;
  inset: auto 16px 16px auto;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.play {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: none;
  background: #fff;
  color: #000000;
  display: grid;
  place-items: center;
  font-weight: 900;
  padding: 0;
  display: flex;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(153, 157, 157, 0.45);
}

.video-card .video-plus {
  position: absolute;
  left: 66px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: none;
  background: #000;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(153, 157, 157, 0.45);
  color: #fff;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.latest-course-featured .play:hover {
  background: #000;
}

.video-card .play:hover a {
  color: #fff;
}

.video-card .video-plus:hover {
  color: #000;
  background: #fff;
}

.navbar-nav {
  align-items: center;
}

.video-plus a {
  color: #000;
}

/* Rows */
.section-card {
  /* margin-top: 50px; */
  margin: 50px 15px 15px 15px
}

.section-card h3 {
  color: #3fc3d4;
  font-weight: 400;
  letter-spacing: 0.02em;
  /* font-family: "The Youngest", Sans-serif !important; */
  font-size: 30px;
}

aside.sidebar ul li {
  display: flex;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
}

aside.sidebar ul li .toggle-icon {
  transform: rotate(120deg);
  font-size: 25px;
}

.section-card .row {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
  /* overflow: auto; */
  overflow-x: auto;
  /* -webkit-overflow-scrolling: touch; */
  scrollbar-width: thin;
  /* -ms-overflow-style: none; */
  margin: 0;
}

.video-card button.play img {
  display: none;
}

/* .video-card button.play a:before,
#startClassBtn:before {
  content: '▶';
} */

/* button :active, button:focus, button:hover
{
  color: #fff !important;
} */
.section-card .card {
  position: relative;
  height: 110px;
  border-radius: var(--card-radius);
  overflow: hidden;
  cursor: pointer;
  background: #dbe7f3;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  /* width: 20%; */
  width: auto;
  background-image: url(../images/card-bg-img.jpg);
  background-size: cover;
  background-position: center;
  padding: unset;
}

.section-card .card a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -10px;
  right: -10px;
  height: 100%;
  box-shadow: inset 1px -30px 20px 12px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  border-radius: inherit;
}

/* .card::before{content:""; position:absolute; inset:0; background:linear-gradient(120deg, rgba(2,6,23,.1), rgba(2,6,23,.55));} */
.section-card .card .label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  color: #ffffff;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
}

/* .section-card .card::before {
  position: absolute;
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  content: "";
  background: linear-gradient(to top, rgb(0 0 0 / 65%), rgb(0 0 0 / 0%));
} */
.search-container {
  flex: 1;
  max-width: 500px;
  position: relative;
  margin: 0 20px;
}

.search-bar {
  width: 100%;
  padding: 12px 50px 12px 20px;
  border: 1px solid #7a7a7a;
  border-radius: 14px;
  background: white;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-bar:focus {
  border-color: #0097b2;
}

.search-bar::placeholder {
  color: #999;
  font-family: sans-serif;
}

.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #2a2a2a;
  cursor: pointer;
}

.search-wrapper-header {
  width: 42%;
}

.mobile-search-btn {
  width: 40px;
  height: 40px;
  background-color: #fff;
  border: 1px solid #ccc;
  justify-content: center;
  align-items: center;
  display: none;
  font-size: 14px;
  border-radius: 50px;
}

.mobile-search {
  position: absolute;
  width: 100%;
  padding: 20px;
  background-color: #fff;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s ease;
}

.mobile-search.active {
  opacity: 1;
  visibility: visible;
}

.mobile-search .close-search {
  flex: none;
  width: 40px;
  height: 40px;
  background-color: #fff;
  border: 1px solid #ccc;
  justify-content: center;
  align-items: center;
  display: flex;
  font-size: 14px;
}

.mobile-menu ul li {
  text-align: start;
}

.certification-btn {
  background: #0097B2;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}

.certification-btn:hover {
  color: #fff;
}

.video-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(350deg, rgb(0 0 0) 0%, rgb(0 0 0 / 35%) 100%);
  z-index: 1;
}

.video-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
  color: white;
  max-width: 600px;
}

.category {
  font-size: 18px;
  color: #4fc3f7;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.course-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.course-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #e0e0e0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.card a span {
  line-height: 1.3;
}

#mainTopMenu-momflix .navbar-nav .nav-item {
  padding: 0 1rem;
}

.player #learndash-content.container-full {
  width: 100%;
  position: relative;
  top: 0;
  left: 0;
  margin-left: 0;
  margin-right: 0;
}

.player .learndash-wrapper .wpProQuiz_content .wpProQuiz_button {
  text-align: center;
}

/* Responsive */


@media (max-width: 1400px) {
  .row {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width:1200px) {

  .section-card {
    position: relative;
    width: 100vw;
    max-width: 67vw;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  .section-card .card>a {
    height: 100%;
  }

  .section-card .card>a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 1100px) {
  .section-card .card {
    width: 50%;
  }

  .row {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .title {
    font-size: 36px;
  }
}

.mobile-bar {
  display: none;
}

.mobile-header-momflix.d-flex.align-items-center.justify-content-between.px-3.py-2 {
  display: none !important;
}

/* .container-fluid.site-header-container.flex.header-new.custom-top-header.justify-content-between {
    display: block;
} */
.mobile-search-btn img {
  width: 20px;
}

.mobile-search-btn {
  padding: 0px !important;
}

.sidebar-category-list a:hover,
.sidebar-category-list li.active>a,
.sidebar-category-list .sub-menu li.active>a {
  color: #259EA0;
}



.section-card .card img {
  width: 100%;
}

/* momflix style */


.video-section {
  background-size: cover;
  background-position: center;
  position: relative;
  /* min-height: 70vh; */
  color: #fff;
  overflow: hidden;
  padding: 140px 0;
}

.ld-class-player iframe,
.ratio iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.playlist-item:hover {
  background-color: #f8f9fa;
}

/* ////////////// */
/* Layout */
.main {
  position: relative;
  background: #2a2a2a;
  display: flex;
  width: 100%;
  /* margin-top:5rem; */
}

.main-inner {
  min-height: 100%;
  display: flex;
  flex: 1;
  width: 100%;
  align-items: center;
}

.player {
  width: 100%;
  /* height: 80vh; */
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
  background: #000;
}

.player video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Right sidebar */
.rail {
  background: var(--bg-darker);
  border-left: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  flex-direction: column;
  max-width: 500px;
  max-height: 80vh;
  overflow: auto;
  padding: 10px 20px 0 20px;
}

.course-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  /* align-items: center; */
  /* gap: 0px; */
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.course-card-wrapper .categories {
  font-style: italic;
  font-size: small;
}

.course-card img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 5px;
  ;
}

.badge {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: url('https://images.unsplash.com/photo-1581090700227-1e37b190418e?q=80&w=256&auto=format&fit=crop') center/cover no-repeat;
  box-shadow: 0 5px 12px var(--shadow);
}

.titlebar .meta {
  color: #b7e7ec;
  margin-top: 6px;
  font-weight: 600;
}

.intro {
  padding: 14px 18px 12px 18px;
  color: var(--muted);
  line-height: 1.45;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.intro .stats {
  margin-top: 8px;
  color: #9dd7dc;
  font-weight: 600;
}

.video-list {
  overflow-y: auto;
  /* padding: 8px 12px 16px 12px; */
  display: grid;
  gap: 14px;
}

.video-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  background: #1c1c1c;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .25);
}

.thumb {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
}

.thumb video,
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-item .label {
  font-weight: 700;
  color: #dcdcdc;
  font-size: 14px;
}

/* Bottom banner */
.banner {
  display: flex;
  background: var(--banner-cyan);
  color: #fff;
  gap: 22px;
  align-items: center;
  padding: 0px 0px 0px 26px;
  border-top: 1px solid rgba(0, 0, 0, .25);
}

.banner .book {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.book .cover {
  width: 90px;
  height: 120px;
  border-radius: 6px;
  overflow: hidden;
  background: #113a64;
  display: grid;
  place-items: center;
  font-family: Nunito, Inter, sans-serif;
  font-weight: 900;
  color: #ffdd33;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .25);
}

.banner h2 {
  margin: 0;
  font-size: 32px;
  letter-spacing: .4px;
}

.banner p {
  margin: 6px 0 0;
  color: #e9fbff;
  line-height: 1.45;
}

.cta {
  justify-self: end;
  height: 100%;
  max-width: 300px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: 0px;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 30px 18px;
}

.cta .eyebrow {
  color: #fff;
  font-weight: 400;
  opacity: .7;
  font-style: italic;
}

.cta .cta-btn {
  color: #fff;
  font-weight: 900;
  font-size: 30px;
}

.mb-0 {
  margin-bottom: 0;
}

.course-card-wrapper {
  border-radius: 10px;
  padding: 8px 16px;
  background: var(--teal);
}

.cta-btn a {
  color: #fff;
  text-decoration: none;
}

/* ////////////// */

.video-with-playlist::before {
  z-index: 0 !important;
  background: unset !important;
}

.main-inner iframe {
  width: 100%;
  height: 500px
}

.video-with-playlist .player>div>iframe {
  position: relative !important;
}

.video-with-playlist {
  display: block !important;
  padding: 0 !important
}

.play-quiz-btn:hover,
.play-quiz-btn:active,
.play-quiz-btn:focus {
  border: 1px solid;
}

.browse-all #course-grid { display: grid; grid-template-columns: repeat(4,1fr); margin-bottom: 20px; }

/* ////////////// */

/* ///////////////////////////////////////// */

/* container */
.video-with-playlist {
  display: block;
  margin: 0;
  padding: 0;
  font-family: system-ui, Arial, sans-serif;
}

/* main layout */
.video-with-playlist .main {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.video-with-playlist .main-inner {
  flex: 1;
  min-width: 0;
}

.video-with-playlist .player {
  background: #000;
  color: #fff;
  min-height: 280px;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-with-playlist .player>div {
  height: 100% !important;
  padding-top: 0px !important;
  display: flex;
  align-items: center;
}

.video-with-playlist .player>.ld-course-quizzes {
  overflow: scroll;
  width: -webkit-fill-available;
  background: #fff;
  color: #000;
}
[type=button], [type=submit], button
{
  border: 1px solid #000;
  color: #000;
}
html [type=button]:focus, html [type=submit]:focus, html button:focus
{
  border: 1px solid #000;
  color: #000;
  background: #fff;
}
/* rail (playlist) */
.video-with-playlist .rail {
  width: 360px;
  max-width: 40%;
  box-sizing: border-box;
  width: 100%;
}

/* .video-with-playlist .course-card-wrapper { padding:12px; background:#fafafa; border-radius:8px; margin-bottom:12px; } */

/* playlist items */
/* .video-list { max-height:640px; overflow:auto; border:1px solid #eee; border-radius:8px; background:#fff; padding:6px; }
.video-item { display:block; padding:10px; border-bottom:1px solid #f0f0f0; cursor:pointer; transition:background .12s; }
.video-item:hover { background:#fbfbfb; } */
.video-item.active {
  border-left: 3px solid #0097b3;
}

/* label on top */
/* .video-item .label { font-weight:600; margin-bottom:8px; color:#222; } */

/* thumbnails */
.thumb {
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f3f3;
  display: block;
}

.thumb-video {
  background-size: cover;
  background-position: center;
}

.thumb-video .play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* audio waveform style */
.thumb-audio {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 8px;
  box-sizing: border-box;
}

.waveform {
  display: flex;
  gap: 4px;
  align-items: end;
}

.waveform span {
  width: 4px;
  background: #0097b3;
  height: 10px;
  display: inline-block;
  border-radius: 2px;
  animation: wave 1s infinite ease-in-out;
}

.waveform span:nth-child(2) {
  animation-delay: 0.12s;
}

.waveform span:nth-child(3) {
  animation-delay: 0.24s;
}

.waveform span:nth-child(4) {
  animation-delay: 0.36s;
}

.waveform span:nth-child(5) {
  animation-delay: 0.48s;
}

@keyframes wave {

  0%,
  100% {
    height: 8px;
    opacity: .9
  }

  50% {
    height: 28px;
    opacity: 1
  }
}

/* embed-audio icon fallback */
.embed-audio-icon {
  font-size: 20px;
  color: #444;
}

/* small adjustments for responsive */
@media (max-width:900px) {
  .section-card a img {
    width: 100%;
  }

  .video-with-playlist .main {
    flex-direction: column;
  }

  .video-with-playlist .rail {
    width: 100% !important; 
    max-width: 100% !important;
  }
}

.player .wpProQuiz_question_text p,
.player .learndash-wrapper .wpProQuiz_content .wpProQuiz_questionList[data-type=cloze_answer] p {
  color: #000;
}



/* ///////////////////////////////////////// */


/* ////////////////////////////////////////////////////////////////// Search Ajax Form Css Start /////////////////////////////////////////////////////// */

.search-results {
  position: absolute;
  background: #fff;
  /* border: 1px solid #ddd; */
  width: 100%;
  z-index: 999;
  max-height: 300px;
  overflow-y: auto;
  border-radius: 8px;
  margin-top: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-item {
  padding: 10px;
  cursor: pointer;
}

.search-item:hover {
  background: #f5f5f5;
}

.search-item .type {
  color: #777;
  font-size: 0.8em;
  margin-left: 6px;
}
.momflix-detail-page {
    padding: 0px;
}
.momflix-header-new {
    max-width: 100% !important;
}
.search-bar {
    width: 100%;
    border: 1px solid #7a7a7a !important;
    border-radius: 14px !important;
    background: white;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s 
ease;
}
.certification-btn {
    color: #fff !important;
}
.user-profile-icon img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    margin-left: 15px;
}
button.play-quiz-btn {
    background: #fff;
    color: #000;
    border: 1px solid #000;
    border-radius: 50px;
    transition: .3s ease-in-out;
}
button.play-quiz-btn:hover {
    background: transparent;
    color: #fff;
    border: 1px solid #ffffff;
    border-radius: 50px;
}
.navbar li .nav-link {
  white-space: nowrap;
}
.menu-item-has-children > .sub-menu
{
    position: absolute;
    z-index: 2;
    padding: 10px;
    box-shadow: 0 6px 24px 0 rgba(0, 0, 0, .12), 0 3px 8px 0 rgba(0, 0, 0, .06);
    right: -22px;
    top: -webkit-calc(100% - 15px);
    top: calc(100% - 12px);
    bottom: unset;
    z-index: 100;
    background: #fff;
    min-width: 180px;
    display: none;
}
.menu-item-has-children.selected > .sub-menu
{
  display: block;
}
.menu-item-has-children.selected > .sub-menu:before {
    content: " ";
    position: absolute;
    width: 0;
    height: 0;
    top: 0;
    right: 68px;
    border: 7px solid #000;
    border-color: #fff #fff transparent transparent;
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    box-shadow: 2px -3px 3px 0 rgba(0, 0, 0, .02);
    z-index: 1002;
}
.menu-item-has-children > .sub-menu ul
{
  list-style: none;
  padding-left: 0px;
}
.sub-menu a
{
  font-size: 13px;
  font-weight: inherit;
  color: #4D5C6D !important;
  letter-spacing: -.24px;
  line-height: 1.15;
  margin-bottom: 1px;
  padding: .625rem .9375rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#mainTopMenu-momflix-mobile .user-wrap-container
{
  margin-bottom: 20px;
}
#mainTopMenu-momflix-mobile .user-wrap-container .user-link img
{
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 50%;
}
.mobile-toggle
{
  padding: 10px 20px !important;
  font-size: 15px !important;
  border-radius: 40px !important;
  border: 1px solid #000 !important;
}

/* Responsive tweaks */
/* Large tablets */
@media (max-width: 1200px) {
  .app {
    grid-template-columns: 1fr 340px;
  }

  .rail {
    min-width: 300px;
  }

  .banner {
    grid-template-columns: 260px 1fr 300px;
  }
}

@media (max-width: 1100px) {
  .app {
    grid-template-columns: 1fr 320px;
  }

  .banner {
    grid-template-columns: 240px 1fr 280px;
  }
}



@media (max-width: 920px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .row {
    grid-template-columns: repeat(2, 1fr);
  }

  /* .title {
    font-size: 36px;
  } */
  /* show mobile top bar */
  /* Sidebar drawer */
  .sidebar {
    height: auto;
    min-height: 1px;
  }

  main {
    padding: 22px 16px;
  }
  .page-momflix .sidebar-category-list
  {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  .page-momflix .sidebar-category-list > li
  {
    width: auto;
  }
  .page-momflix .sidebar-category-list > li a
  {
    padding: 8px 15px;
    border-radius: 6px;
    background: #f3f3f3;
    display: inline-block;
  }
}

@media (max-width: 900px) {
  body {
    overflow: auto;
  }

  .app {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
  }

  .rail {
    grid-column: 1 / -1;
    grid-row: auto;
    max-width: none;
  }

  .banner {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    text-align: left;
    row-gap: 14px;
  }

  .cta {
    justify-self: stretch;
  }
}




@media only screen and (max-width: 799px) {
  .section-card {
    max-width: 92vw;
  }

  .section-card .card {
    height: 150px;
  }

  .container-fluid.site-header-container.flex.header-new.custom-top-header.justify-content-between {
    display: none !important;
  }

  .mobile-header-momflix.d-flex.align-items-center.justify-content-between.px-3.py-2 {
    display: flex !important;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    z-index: 99999;
    overflow: auto;
    padding: 20px 20px 20px;
    transition: 0.4s ease;
  }

  .mobile-menu.active {
    transform: translate(0);
  }

  .mobile-search-btn {
    display: flex;
  }

  .close-menu {
    position: absolute;
    top: 20px;
    right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ccc;
    color: #000;
    font-size: 14px;
  }
  .page-momflix .sidebar-category-list
  {
    display: none;
  }
  
  #mainTopMenu-momflix-mobile .navbar-nav
  {
    margin-left: 10px;
  }
  #mainTopMenu-momflix-mobile .navbar-nav .nav-link
  {
    color: #000;
  }
  #mainTopMenu-momflix-mobile .navbar-nav .certification-btn
  {
    padding: 9px 24px;
  }
  #mainTopMenu-momflix-mobile .sidebar-category-list
  {
    flex-direction: column;
  }
  #mainTopMenu-momflix-mobile .sidebar-category-list .category-item
  {
    margin: 0;
  }
  #mainTopMenu-momflix-mobile .sidebar-category-list .category-item a
  {
    padding: 8px 10px;
    color: #000; 
    font-size: 16px !important;
  }
  .menu-item-has-children > .sub-menu
  {
    top: 88px;
    right: initial;
    left: 0;
  }
}


@media only screen and (max-width: 768px) {
  .video-with-playlist .player {
    min-height: 60vh;
    height: auto;
  }
  .browse-all
  {
    margin-top: 0px;
  }
  .browse-all #course-grid
  {
    grid-template-columns: repeat(2,1fr)
  }
  .browse-all.section-card .card
  {
    width: 100%;
  }

}

@media (max-width: 620px) {
  .row {
    grid-template-columns: 1fr;
  }

  .title {
    font-size: 30px;
  }

  .section-card .card {
    width: 50%;
  }
}



/* Small phones */
@media (max-width: 600px) {
  .course-card {
    grid-template-columns: 44px 1fr;
    gap: 10px;
  }

  .badge {
    width: 44px;
    height: 44px;
  }

  /* .titlebar .title { font-size: 14px; } */
  .intro {
    font-size: 13px;
  }

  .banner {
    padding: 18px;
  }

  .banner h2 {
    font-size: 24px;
  }

  .banner p {
    font-size: 14px;
  }

  .book {
    grid-template-columns: 70px 1fr;
  }

  .book .cover {
    width: 70px;
    height: 94px;
  }

  .cta .cta-btn {
    font-size: 18px;
    padding: 10px 12px;
  }
}




@media (max-width: 575px) {
  .section-card {
    max-width: 84vw;
  }
.video-with-playlist .player {
        height: 31vh;
    }
    .video-with-playlist .main {
        flex-direction: column !important;
    }
    .video-item .label {
        font-size: 18px !important;
    }
    .video-with-playlist .rail {
        width: 100% !important;
        max-width: 100% !important;
    }
  
}


@media screen and (max-width: 543px) {
  .player #learndash-page-content {
    padding: 30px 40px 0;
  }
}

/* ////////////////////////////////////////////////////////////////// Search Ajax Form Css END ///////////////////////////////////////////////////////// */