@media screen and (min-width: 1450.98px) {
  .principle_message:after {
    height: 60%;
  }

  .msg_cnt {
    margin-top: 70px;
  }
}

@media screen and (max-width: 1450.98px) {
  /* .slider_video {
    margin-top: -79px;
  } */

  .logo img {
    max-width: 320px;
  }


  .topbar ul li a {
    color: #fff;
    font-size: 14px;
  }
}

@media screen and (max-width: 1199.98px) {
  .h8_course-active {
    overflow-x: scroll;
  }

  .topbar ul li a {
    font-size: 12px;
  }

  .h8_course-wrap {
    justify-content: flex-start;
  }
}

@media screen and (max-width: 991.98px) {
  .principle_message_box p {
    color: #fff;
  }

  .background-images-add {
    background-image: none !important;
  }

  .box_students {
    flex-wrap: wrap;
    text-align: center;
  }

  .img_students_birthday {
    margin: auto;
  }

  .content_students_birthdays {
    width: 100%;
  }

  .swiper.myBirthdaySlider {
    margin-left: 0px !important;
  }

  html.header-scrolled .header-style-1 .header_main_wrapper {
    padding: 10px 15px;
  }

  .navbar .menu-items {
    scrollbar-gutter: stable;
    position: fixed;
    top: 0px;
    left: 0;
    display: block;
    width: 260px;
    height: 100%;
    padding-top: 30px;
    padding-bottom: 100px;
    padding-right: 0px;
    background: #9E2940;
    overflow-y: auto;
    transform: translateX(-100vh);
    -webkit-transition: all 0.4s linear 0s;
    -moz-transition: all 0.4s linear 0s;
    -ms-transition: all 0.4s linear 0s;
    -o-transition: all 0.4s linear 0s;
    transition: all 0.4s linear 0s;
  }

  .navbar .menu-items>li>.menu-item {
    line-height: normal;
    padding: 10px 0px;
    font-family: "Playfair Display", serif;

  }

  .navbar .menu-item {
    color: #fff;
  }

  .navbar .dropdown-menu .menu-item {
    text-transform: capitalize;
  }

  .navbar .dropdown-menu {
    font-family: "Playfair Display", serif;
    background-color: transparent;
    background: transparent;
    padding: 0px;
    border: 0px;
    padding-left: 0px !important;
  }

  .navbar .menu-item:hover {
    color: #fff;
  }

  .navbar .menu-items.open {
    transform: translateY(0);
  }

  .topbar ul {
    gap: 10px;
  }

  .container,
  .container-md,
  .container-sm {
    max-width: 100%;
    width: 100%;
  }

  .header-style-1 .header_main_wrapper {
    padding: 10px 15px;
  }

  .since_school_date {
    text-align: right;
    background-color: #9E2940;
    padding: 14px 40px;
    padding-right: 60px;
    color: white;
  }

  .since_outer p br {
    display: none;
  }

  .since_outer p {
    text-align: left;
    margin-top: 0px;
    font-size: 20px;
    margin-bottom: 0px;
    line-height: 30px;
    padding: 15px 20px;
    margin-left: -40px;
    width: calc(100% + 40px);
  }

  .since_outer {
    align-items: center;
  }

  .principal_img {
    margin: auto
  }

  .principle_message {
    padding: 80px 0;
  }

  .principle_message:after {
    height: 45%;
    clip-path: polygon(0 28%, 100% 0, 100% 100%, 0 100%);
  }


  .slider_video .video_box:after {
    width: 100%;
  }

  .slider_video video {
    width: 100%;
  }

  .hero__down {
    display: none;
  }

  .bradcrumb_parts_img {
    margin-bottom: 0px;
  }

  .inners_bradcrumb_parts {
    margin-bottom: 0px;
    padding-bottom: 10px;
  }

  div#smooth-wrapper {
    inset: 102px 0px 0px !important;
  }

  .header-style-1.scrolled~div#smooth-wrapper {
    inset: 0px 0px 0px !important;
  }

  .dropdown.pay_fees.open ul.dropdown-menu {
    display: block !important;
  }
  
  .dropdown.pay_fees .dropdown-menu {
    position: absolute;
    top: 100%;
    left: -130px !important;
    display: none;
    width: 220px;
    right: auto !important;
    padding: 5px 0;
    background: #fff;
    border-radius: 0 0 5px 5px;
    border: 0px;
    border-top: 1px solid #adb5bd;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.16);
    transition: 0.5s;
    border-radius: 0 0 25px 0;
  }
  .topbar ul.dropdown-menu li:nth-child(1), .topbar ul.dropdown-menu li:nth-child(2), .topbar ul.dropdown-menu li:nth-child(3) {
display: block;
  }
}

@media screen and (max-width: 767.98px) {
  .progress-container {
    width: 240px;
  }

  .copy_right {
    background: #4A000F;
  }

  .in_this_sec {
    background-color: #002262;
    padding: 15px 15px 20px 30px;
    z-index: 99;
    position: relative;
    position: relative;
    top: 0px;
    border-bottom-left-radius: 0px;
    margin-top: 40px;
  }

  .image-fountders {
    margin-top: 20px;
  }

  .inner_sections_pages .global_heading {
    margin-bottom: 10px;
  }

  .principle_message_box h4.global_heading div {
    text-align: center !important;
  }

  .msg_cnt div {
    text-align: center !important;
  }

  .footer_bottom {
    background-color: #9E2940;
    width: 100%;
    border-radius: 0px 150px 0px 0px;
  }

  .footer_logo img {
    width: 250px !important;
  }

  .social_icon ul {
    justify-content: flex-start;
  }

  .goverment_school {
    padding-top: 15px;
    margin-top: 5px;
    padding-bottom: 15px;
  }

  .footer_inner {
    padding-right: 0px;
  }

  .padding_sections {
    padding: 100px 0px 100px;
    position: relative;
    z-index: 2;
  }

  .triangle-shape {
    padding: 30px;
  }

  .slider_video {
    margin-left: 0px;
  }

  .principle_message:after {
    clip-path: none;
    height: 100%;
  }

  .principle_message .msg_cnt {
    color: #fff;
    text-align: center;
  }

  .principle_message_box .btn__underline {
    color: #fff;
  }

  .principle_message_box {
    text-align: center;
  }

  .global_heading {
    font-size: 32px;
  }

  .school_name_short {
    font-size: 38px;
  }

  .since_outer p {
    background-color: #002262;
    font-size: 24px;
  }

  .topbar ul li:nth-child(1),
  .topbar ul li:nth-child(2),
  .topbar ul li:nth-child(3) {
    display: none;
  }

  .principle_quoate p {
    padding: 0px 30px;
    font-size: 18px;
    line-height: 25px;
    margin-right: 0px;
  }

  .msg_cnt {
    font-size: 16px;
  }

  .gallery_school {
    padding: 50px 0px 30px;
  }

  .camp_facilities .msg_cnt {
    color: black;
  }

  .contact-page {
    padding: 40px 0px;
  }

  .task_block {
    padding-top: 30px !important;
    text-align: center;
  }


  .download_app .app_btn {
    margin-top: 10px;
    justify-content: center;
  }

  .download_app .task_block .global_heading {
    text-align: center;
  }

  .download_app .task_block {
    padding: 40px 30px 0px;
  }

  .download_app .app_btn li a img {
    transition: .4s all;
    height: 40px;
    width: auto;
  }
}

@media screen and (max-width: 575.98px) {


  .school_information_heading:after,
  .school_information_heading:before {

    height: 14px;
  }

  .school_name_short {
    padding: 0px 20px;
  }

  .principle_message {
    padding: 60px 0 50px;
  }

  .h8_course-m-title-vertical {
    font-size: 16px;
  }

  .h8_course-m-title {
    width: 50px;
  }

  .h8_course-item.expand {
    width: 340px;
  }

  .navbar .logo {
    border-radius: 0px 0px 30px 0px;
    padding: 6px 10px;
  }

  .slider_video .video_box:after,
  .slider_video video {
    border-radius: 0px 0px 0px 100px;
  }

  .footer_inner {
    padding-top: 40px;
  }

  .footer_bottom,
  .footer_inner {
    border-radius: 0px 100px 0px 0px;
  }

  .header-style-1 .header-logo {
    max-width: 210px;
  }

  .global_heading {
    font-size: 28px;
    line-height: 40px;
  }

  .since_school_date h2 {
    font-size: 40px;
  }

  .since_school_date span {
    font-size: 18px;
    margin-bottom: -15px;
  }

  .since_school_date {
    text-align: center;
    background-color: #9E2940;
    padding: 15px 10px;
    padding-right: 20px;
    color: white;
  }

  .count-area {
    padding-top: 20px;
  }

  .col-sm-6.col-md-3:not(:last-child) .count-area-content {
    margin-bottom: 20px;
  }

  .since_outer p {
    background-color: #002262;
    font-size: 16px;
    line-height: 22px;
  }

}