/** @format */

@media (max-width: 768px) {
  .class-slider .feature-content h4 {
    font-size: 16px;
  }
  .about-area {
    margin-bottom: -3rem;
  }
  .login-form {
    overflow: hidden;
    margin: -4rem auto;
    justify-content: center;
    border-radius: 12px;
    padding: 45px 25px;
  }
}

@media (max-width: 767px) {
  .site-title {
    font-size: 30px;
    margin-top: 1rem;
  }
  .sm-d-none {
    display: none;
  }

  #top {
    margin-top: -4rem;
  }

  #tops {
    margin-top: -6rem;
  }

  #counter-box div {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }

  #top-class .container {
    margin: -2.5rem auto -6rem;
  }

  #top-class .site-title {
    margin-bottom: -10px;
  }

  #top-class .row {
    margin-bottom: -2rem;
  }

  #top-video {
    margin: -3.6rem auto -1rem;
  }
  .counter-area {
    width: fit-content;
    padding: 0;
  }
  #team {
    margin-bottom: 2rem;
  }

  #team .team-slider {
    margin-top: -30px;
  }
  .team-content h5 {
    font-size: 23px;
    margin-bottom: 0;
  }

  .team-txt {
    text-align: start;
    width: 100%;
  }

  .hero-single {
    margin-bottom: -5rem;
  }

  .choose-content-info {
    margin: -50px auto;
  }
  .choose-content-info h2 {
    line-height: 1.2;
  }

  #topp {
    margin: -0.5rem auto auto;
  }

  #partner-slider img {
    width: 250px;
  }
  .footer-widget .about-us {
    margin-top: -30px;
  }
  .footer-widget .list {
    margin-top: -20px;
  }

  .footer-newsletter p {
    margin-top: -10px;
    margin-bottom: 10px;
  }

  #footer-form button {
    margin-bottom: 25px;
    border-radius: 30px;
    margin-top: 15px;
  }

  #footer-form input:focus {
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  }

  #footer-form input:focus::placeholder {
    color: #116e63;
    opacity: 1;
  }

  .footer-social li {
    border-radius: 30px;
  }

  .site-breadcrumb {
    padding-top: 110px;
    padding-bottom: 50px;
  }

  #about {
    margin-top: -5rem;
  }

  #teachers {
    margin: 2rem auto -2rem;
  }

  #faqs {
    margin: -5rem auto -5rem;
  }

  #faqs .accordion-header button {
    font-size: 18px;
  }

  .nav-item .active {
    color: var(--theme-color) !important;
  }

  #management {
    margin-top: -0.5rem;
  }

  #management .site-title {
    margin: auto auto -10px;
  }

  #management #mg {
    margin: -3rem auto 1rem;
  }

  #management .box-card {
    padding: 10px;
  }

  #management .card img {
    height: 260px;
    width: 100%;
    object-fit: cover;
    object-position: top;
  }

  #logo {
    margin-left: 0;
  }

  #main_nav {
    margin-left: 0;
    margin-top: 10px;
  }

  #btn-lg {
    margin-right: 0;
  }

  #fees {
    margin-top: -5rem;
    margin-bottom: -4rem;
  }

  table tbody tr td {
    font-weight: normal !important;
    font-size: 14px !important;
  }

  .about-experience {
    border-top-right-radius: 0;
    margin-left: 1rem;
  }

  .footer-area .container {
    margin-left: 10px;
  }

  .footer-logo {
    margin-bottom: -20px;
  }

  #apply-btn-lg {
    display: none;
  }

  #apply-btn-sm {
    display: block;
  }

  #hta {
    margin-top: -2rem;
  }

  #form {
    margin: -5rem auto -3rem;
  }

  .video-content {
    border-radius: 50px;
  }

  #gallery {
    margin-top: -5rem;
  }

  .contact-info {
    border-radius: 30px;
  }

  #map-sm {
    display: block;
  }

  #map-lg {
    display: none;
  }

  .contact-wrapper {
    margin-top: -2rem;
  }

  .terms-content {
    margin-top: -15px;
  }

  .application-form {
    padding: 20px;
  }

  .application-form .form-control,
  .application-form .form-select {
    padding: 10px 12px;
  }

  .subscribe-form {
    margin: auto 20px auto auto !important;
  }
}

/* ========= FROM HEADER ============== */
#logo img {
  width: 40px;
  border-radius: 30px;
}

#logo-txt img {
  font-size: 30px;
  width: 100px;
  margin-bottom: 10px;
}

#f-footer {
  margin-top: -2.5rem;
}

#f-footer a {
  margin-bottom: -20px;
}

#management {
  margin-bottom: 2.5rem;
}

.event-img,
.event-img img {
  border-bottom-right-radius: 0;
}

.event-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 10%;
}

.event-title,
.event-content-single .locate,
.event-single-title {
  text-transform: capitalize;
}

.event-content-single p i {
  font-size: 23px;
  margin-top: 5px;
}

.event-content-single p i {
  font-size: 23px;
  margin-top: 5px;
}

#event-single-img img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: center 15%;
}

.event-meta span {
  white-space: nowrap;
  overflow: hidden;
  margin: 4px auto;
}

.gallery-img img {
  width: 100%;
  max-width: 400px;
  height: 500px;
  object-fit: cover;
  object-position: center top;
}

#single-event-bottom {
  margin-bottom: -9rem !important;
}

.team-img img {
  object-fit: cover;
  object-position: center 10%;
}

.about-img .img-2 {
  border-radius: 50%;
  border: 2px dashed var(--theme-color2);
  padding: 8px;
  object-fit: cover;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1;
  display: block;
}

@media (max-width: 768px) {
  #management .card img {
    height: 300px;
    width: 300px;
    object-fit: cover;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  #single-event-bottom {
    margin-bottom: -10rem !important;
  }

  #event-head {
    margin-bottom: 10px;
  }

  .event-details {
    margin-top: 20px;
  }

  .gallery-img img {
    height: 400px;
  }

  .event-meta span {
    font-size: 14px;
    margin: 4px auto;
  }

  #management {
    margin-bottom: auto;
  }

  #management .box-card {
    margin-bottom: 5px;
  }

  #management .card {
    border-top-left-radius: 35%;
  }

  #management .card img {
    border-top-left-radius: 33%;
  }

  #management .card-body h4 {
    font-size: 22px;
  }

  #management .card-body p {
    font-size: 17px;
  }

  .hero-slider .hero-btn .theme-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .about-img {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .about-img .img-2 {
    margin: 0 auto;
    width: 250px;
    height: 250px;
    margin-bottom: -35px;
  }

  .about-right .site-title {
    white-space: wrap;
    font-size: 28px;
  }

  .about-experience {
    margin-top: -0.6rem !important;
  }

  #about-years {
    margin-top: -1rem !important;
  }
}

.sweet-alert {
  width: 300px !important;
  font-size: 14px;
}

.feature-icon img {
  object-fit: contain;
  object-position: center top;
  width: 55px;
  margin-top: 7px;
}
