/**
* Template Name: The Rawdah Madrasah - v1.0
* Template URL: https://zohirs.com
* Author: Zohir
*/


@media (min-width: 1400px) {

  html {
    font-size: 18px;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    line-height: 1.4em;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 48px;
  }

  h3 {
    font-size: 42px;
  }

  h4 {
    font-size: 34px;
  }

  h5 {
    font-size: 28px;
  }

  h6 {
    font-size: 24px;
  }

  p,
  a,
  li {
    font-size: 18px;
  }

  .site-logo {
    height: 50px;
    width: 180px;
  }

  .logo {
    font-size: 1.3rem;
  }

  .navbar ul,
  .navbar ul {
    margin-bottom: 0;
    padding-left: 0.75rem;
  }

  .nav-menu li,
  .nav-btn li {
    padding: 0 0.15rem;
  }

  .nav-menu a.nav-link {
    font-size: 0.9rem;
    line-height: 1;
    padding: 0.5rem;
  }

  .nav-btn a.btn-nav {
    padding: 0.5rem 1rem;
    margin-left: 0.75rem;
    height: 35px;
    min-width: 100px;
    font-size: 0.9rem;
  }

  .nav-btn a.btn-nav img {
    height: 15px;
  }

  .hero-banner .banner-content {
    padding: 1rem 10rem;
  }
}

/* ------------------------------------------------------------------------ */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    line-height: 1.3em;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 18px;
  }

  h6 {
    font-size: 16px;
  }

  p,
  a,
  li {
    font-weight: 400;
    font-size: 15px;
  }

  .site-logo {
    height: auto;
    width: 130px;
  }

  .hamburger {
    display: block;
  }

  .nav-menu {
    width: 340px;
    max-width: 90vh;
    height: 100%;
    padding: 1.5rem;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: flex-start;
    align-items: start;
    position: fixed;
    top: 80px;
    right: -120%;
    -webkit-transition: 0.5s;
    transition: 0.5s ease-in-out;
    margin: 0 auto;
    background-color: var(--rm-primary);
  }

  .navbar ul,
  .navbar ul {
    padding-left: 1.25rem;
  }

  .nav-menu li {
    padding: 0.5rem 0;
  }

  .navbar.active .nav-menu {
    right: 0;
    z-index: 99999;
    transition: 0.2s ease-in-out;
  }

  .nav-menu a.nav-link {
    color: var(--rm-white);
    font-size: 0.8rem;
    padding: 0.25rem;
  }

  a.nav-link:hover {
    color: var(--rm-secondary);
  }

  .main-header.transparent.fixd .nav-menu a.nav-link {
    color: var(--rm-white);
  }

  .main-header.transparent.fixd a.nav-link:hover {
    color: var(--rm-secondary);
  }

  .nav-btn a.btn-nav {
    min-width: 75px;
  }

  section {
    padding: 3rem 0;
    min-height: 50vh;
  }

  .bar-bg-l::after,
  .bar-bg-r::after {
    width: 30px;
  }

  .bar-bg-l {
    padding-left: 1rem;
  }

  .bar-bg-r {
    padding-right: 1rem;
  }

  /* .hero-banner, */
  .faqs-section,
  .registration-section {
    background-size: 100px;
  }

  .hero-banner .banner-content,
  .about-section,
  .vision-section,
  .educating-child-section,
  .principles-teachers-section,
  .programme-study-section,
  .ascending-levels-section,
  .important-dates-section,
  .parent-handbook-section,
  .fees-section,
  .support-section,
  .contact-us-section,
  .complaint-form-section {
    background-size: 240px auto;
  }

  .aim-section,
  .objectives-section,
  .learning-outcomes-section,
  .parent-partnership-section,
  .assessment-progress-section,
  .scholarships-section {
    background-size: 200px auto;
  }

  .faqs-section .faqs-row {
    padding: 1.5rem 1.5rem;
    padding-left: 3rem;
  }

  .faq-nav .faq-nav-link {
    padding: 1rem;
    width: calc((100% / 2) - 0.5rem);
  }

  .our-curriculum-section .curriculum-img,
  .levels-section .levels-img {
    width: 180px;
  }

  .madrasah-classes-image img,
  .uniform-section-image img,
  .zakah-learning-image img {
    width: 300px;
  }

  .video-container {
    padding-left: 20px;
  }

  .video-container::after {
    width: 20px;
    background-size: 20px auto;
  }

  .video-player {
    padding-bottom: 56.25%;
  }

  .video-player .play-btn {
    font-size: 2.5rem;
    width: 35px;
    height: 35px;
  }
}

/* ------------------------------------------------------------------------ */
@media (max-width: 992px) {
  html {
    font-size: 14px;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    line-height: 1.3em;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 24px;
  }

  h4 {
    font-size: 20px;
  }

  h5 {
    font-size: 16px;
  }

  h6 {
    font-size: 14px;
  }

  p,
  a,
  li {
    font-size: 14px;
  }
}


/* ------------------------------------------------------------------------ */
@media (max-width: 767px) {
  .site-logo {
    width: 90px;
  }

  .nav-btn a.btn-nav {
    padding: 0.5rem 0.75rem;
    min-width: 70px;
  }

  .bar-bg-l::after,
  .bar-bg-r::after {
    width: 20px;
  }

  /* .hero-banner, */
  .faqs-section,
  .registration-section {
    background-size: 80px;
  }

  .hero-banner .banner-content {
    background-size: 190px auto;
    padding: 2rem 2rem;
    background-position: right -20px top 60%;
  }

  .curriculum-page-title,
  .parents-page-title {
    background-position: left 80% top 50%
  }

  .about-section,
  .vision-section,
  .educating-child-section,
  .principles-teachers-section,
  .programme-study-section,
  .ascending-levels-section,
  .important-dates-section,
  .parent-handbook-section,
  .fees-section,
  .support-section,
  .contact-us-section,
  .complaint-form-section {
    background-size: 90px auto;
  }

  .vision-section,
  .programme-study-section,
  .important-dates-section,
  .parent-handbook-section,
  .fees-section,
  .support-section,
  .contact-us-section,
  .complaint-form-section {
    padding-right: 80px;
  }

  .about-section,
  .educating-child-section,
  .principles-teachers-section,
  .ascending-levels-section {
    padding-left: 80px;
  }

  .aim-section,
  .objectives-section,
  .learning-outcomes-section,
  .parent-partnership-section,
  .assessment-progress-section,
  .scholarships-section {
    background-size: 120px auto;
    background-position: right top;
    padding-top: 100px;
  }

  .parent-partnership-section,
  .objectives-section,
  .assessment-progress-section,
  .scholarships-section {
    padding-top: 3rem;
    padding-right: 85px;
  }

  .learning-outcomes-section {
    background-position: right 15px top;
    padding-top: 5rem;
    padding-right: 110px;
  }

  .teachers-list-items .techers-photo {
    width: 20%;
  }

  .teachers-list-items .techers-info {
    width: 80%;
  }

  .madrasah-classes-image img,
  .uniform-section-image img,
  .zakah-learning-image img {
    width: 280px;
  }

  .our-curriculum-section .curriculum-img,
  .levels-section .levels-img {
    width: 150px;
  }

  .registration-form .btn {
    font-size: initial;
    padding: 0.5rem 1rem;
    margin: 1rem auto;
    min-width: 100%;
  }

  .contact-us-section .contact-form .btn {
    padding: 0.5rem 1rem;
    min-width: 100%;
  }

  .contact-us-section .contact-info {
    padding-left: 0;
    border-left: none;
  }
  .complaint-form-section .complaint-form-body .btn {
    padding: 0.5rem 1rem;
    min-width: 100%;
  }

}

@media (max-width: 375px) {
  .no-xsm {
    display: none;
  }
}