/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Breakpoint */

@media (min-width: 1025px) and (max-width: 1600px) {
  .e-con-boxed .e-con-inner {
    width: 100% !important;
    max-width: 95% !important;
  }

  .home h1.elementor-heading-title {
    font-size: 18px !important;
  }

  .home h2.e-animated {
    font-size: 60px !important;
  }

  .elementor-kit-13 h1 {
    font-size: 64px !important;
  }

  .elementor-kit-13 h2 {
    font-size: 52px !important;
  }

  .elementor-kit-13 h3 {
    font-size: 30px !important;
  }

 .elementor-kit-13 h4 {
    font-size: 26px !important;
  }
	
.elementor-kit-13 h5 {
    font-size: 22px !important;
  }
}

/* Navbar Style */

.navbar .e-con-inner .mothers-glory-solid-logo img{
display:none !important;
}

.navbar.elementor-sticky--effects .e-con-inner .mothers-glory-solid-logo img{
display:block !important;
}

.navbar.elementor-sticky--effects .elementor-widget-theme-site-logo{
display:none;
}

.navbar.elementor-sticky--effects {
  background: #fff !important;
  border-bottom: 1px solid #0017330d !important;
}

.navbar.elementor-sticky--effects .pp-advanced-menu li a{
  color: #000c1a !important;
}

.navbar.elementor-sticky--effects .pp-advanced-menu li.current-menu-item a,
.navbar.elementor-sticky--effects .pp-advanced-menu li:hover a {
  color: #2d70b3 !important;
}

.navbar ul li .sub-arrow {
  padding-left: 4px;
}

.navbar .pp-advanced-menu li .sub-menu li.current-menu-item a:before,
.navbar .pp-advanced-menu li .sub-menu li:hover a:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #2d70b3;
}

.navbar .menu-item .sub-menu {
  left: -80px !important;
}

.navbar .menu-item .sub-menu:before {
  content: "";
  position: absolute;
  top: -9px;
  left: 90px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 6px 9px 6px;
  border-color: transparent transparent #fff transparent;
}

@media (max-width: 1024px) {
  .navbar .pp-advanced-menu li .sub-menu li.current-menu-item a:before,
  .navbar .pp-advanced-menu li .sub-menu li:hover a:before {
    display: none !important;
  }

  .navbar .menu-item .sub-menu:before {
    display: none !important;
  }

  .navbar ul li .sub-arrow {
    margin-bottom: 0 !important;
  }
}

/* Navbar Button Style */

.navbar ul li.primary-btn a,
.navbar.elementor-sticky--effects ul li.primary-btn a {
  background: #2d70b3;
  color: #fff !important;
  padding: 18px 34px !important;
  border-radius: 6px;
  transition: none !important;
  font-size: 18px !important;
}

.navbar ul li.primary-btn a:hover,
.navbar.elementor-sticky--effects ul li.primary-btn a:hover {
  background: #000c1a !important;
  color: #fff !important;
}

@media (max-width: 1024px) {
  .navbar .pp-advanced-menu--dropdown {
    padding: 0 40px !important;
  }

  .navbar .pp-advanced-menu--dropdown ul li.primary-btn {
    text-align: center !important;
  }

  .navbar .pp-advanced-menu--dropdown ul li.primary-btn a {
    background: #2d70b3;
    color: #fff !important;
    padding: 18px 34px !important;
    border-radius: 6px;
    transition: none !important;
    font-size: 18px !important;
    margin-top: 50px !important;
    display: inline-block;
  }
}

/* Our Process */

#our-process {
  overflow: hidden !important;
}

#our-process:before,
#our-process:after {
  content: "";
  position: absolute;
  top: 0;
  background-repeat: no-repeat !important;
  opacity: 0.6;
  mix-blend-mode: soft-light;
}

#our-process:before {
  background: url("/wp-content/uploads/2023/07/mgs-dotted-circle.svg");
  width: 360px;
  height: 378px;
  left: -8%;
}

#our-process:after {
  background: url("/wp-content/uploads/2023/07/dotted-graphic.svg");
  width: 360px;
  height: 378px;
  left: unset !important;
  right: -3% !important;
}

@media (max-width: 600px) {
  #our-process:before {
    width: 230px;
    height: 218px;
    left: -34%;
    top: -20%;
    background-size: cover !important;
  }

  #our-process:after {
    width: 196px;
    height: 195px;
    left: unset !important;
    right: -34% !important;
    top: 30%;
  }
}

#our-process .dotted-triangle-graphic img {
  mix-blend-mode: soft-light;
}

@media (max-width: 1024px) {
  #our-process .dotted-triangle-graphic {
    left: unset !important;
    right: -80px !important;
  }
}

@media (max-width: 600px) {
  #our-process .dotted-triangle-graphic {
    left: unset !important;
    right: -100px !important;
    top: 50% !important;
  }
}

/* Our Process */

#our-facilities .pp-advanced-tabs-wrapper {
  justify-content: space-between !important;
}

#our-facilities .pp-advanced-tabs-wrapper .pp-tabs-label {
  flex-grow: 1;
}

/* Our Toppers */

#our-toppers .pp-info-box-title-wrap {
  display: flex !important;
  flex-direction: column !important;
}

#our-toppers .pp-info-box-icon-wrap {
  margin-bottom: 15px !important;
}

#our-toppers .pp-info-box-title-wrap .pp-info-box-subtitle {
  order: 1 !important;
}

#our-toppers .pp-info-box-title-wrap .pp-info-box-title-container {
  order: 2 !important;
  margin-bottom: 10px;
}

#our-toppers .swiper-wrapper {
  margin-bottom: 1px;
}

#our-toppers .pp-info-box-content {
  position: relative;
}

#our-toppers .pp-info-box-content:before {
  content: "";
  background: url("/wp-content/uploads/2023/07/trophy.svg");
  width: 80px;
  height: 80px;
  position: absolute;
  top: 6px;
  right: 10px;
  filter: grayscale(1);
  opacity: 0.1;
}

#our-toppers .pp-info-box-carousel-wrap,
#our-toppers .elementor-widget-pp-info-box-carousel {
  position: unset !important;
}

#our-toppers .pp-slider-arrow {
  bottom: 60px;
  top: unset;
}

#our-toppers .pp-slider-arrow.elementor-swiper-button-next {
  right: unset;
  left: 70px;
}

#our-toppers .swiper-pagination {
  display: none;
}

#our-toppers .swiper-pagination .swiper-pagination-bullet-active {
  outline-offset: 4px;
  outline: 2px solid #2d70b3;
}

@media (max-width: 1024px) {
  #our-toppers .swiper-pagination {
    display: block !important;
  }

  #our-toppers .pp-slider-arrow {
    display: none !important;
  }
}

@media (max-width: 600px) {
  #our-toppers .pp-info-box-content:before {
    width: 48px;
    height: 48px;
    background-size: cover;
    right: 0;
  }

  #our-toppers .pp-info-box-icon-wrap {
    margin-bottom: 5px;
  }
}

/* Our Testimonials */

#our-testimonials .pp-testimonials .slick-dots .slick-active button {
  outline-offset: 8px;
  outline: 2px solid #2d70b3;
}

#our-testimonials .pp-testimonial-footer .pp-testimonial-footer-inner {
  flex-direction: column;
}

#our-testimonials .pp-testimonial-footer .pp-testimonial-cite {
  text-align: center;
}

#our-testimonials .pp-testimonial-image {
  margin-bottom: 20px !important;
}

#our-testimonials .pp-testimonial-outer .pp-testimonial {
  min-height: 410px;
position:relative !important;
}

#our-testimonials .pp-testimonial-content:after {
  content: url("/wp-content/uploads/2023/07/quote.svg");
  margin-top: 36px;
  display: block;
    position: absolute;
    left: 50%;
    bottom: 40px;
    -webkit-transform: translate(-50%, 0%);
    transform: translate(-50%, 0%);
}

#our-testimonials .pp-testimonial-text {
  max-height: 84px !important;
  overflow-y: auto !important;
}

#our-testimonials .pp-testimonial-text::-webkit-scrollbar {
  width: 4px;
}

#our-testimonials .pp-testimonial-text::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

#our-testimonials .pp-testimonial-text::-webkit-scrollbar-thumb {
  background-color: #2d70b3;
}

@media (min-width: 1025px) and (max-width: 1600px) {
  #our-testimonials .pp-testimonial-outer .pp-testimonial {
    min-height: 434px;
  }
}

@media (max-width: 1024px) {
  #our-testimonials .pp-testimonial-outer .pp-testimonial {
    min-height: unset !important;
  }

  #our-testimonials .pp-testimonial-text {
    max-height: 100px !important;
  }
}

/* Col Img Fill */

.col-img-fill .elementor-widget-image,
.col-img-fill .elementor-widget-image img {
  height: 100% !important;
}

.col-img-fill .elementor-widget-image img {
  object-fit: cover !important;
}

/* Our Events */

#our-events .pp-post-wrap {
  background: #f2f0f0;
  border-radius: 6px !important;
  position: relative;
}

#our-events .pp-posts-button .elementor-button-icon {
  display: none !important;
}

#our-events .pp-post-wrap .pp-post-title {
  margin-bottom: 30px !important;
  margin-top: 0 !important;
}

#our-events .pp-post-wrap:before {
  content: "";
  background: url("/wp-content/uploads/2023/07/book.svg");
  width: 134px;
  height: 85px;
  position: absolute;
  bottom: 10px;
  right: 10px;
  filter: grayscale(1);
  opacity: 0.05;
}

#our-events .elementor-form-fields-wrapper label {
  display: none;
}

#our-events .elementor-form-fields-wrapper input {
  padding: 1rem;
}

#our-events .pp-posts-button{
    position: absolute;
    bottom: 50px;
}

 #our-events .pp-post-title {
padding-bottom:30px !important;
  }

#our-events .newsletter {
  overflow: hidden !important;
}

#our-events .newsletter:before,
#our-events .newsletter:after {
  content: "";
  position: absolute;
  top: 0;
  background-repeat: no-repeat !important;
  opacity: 0.6;
  mix-blend-mode: soft-light;
}

#our-events .newsletter:before {
  background: url("/wp-content/uploads/2023/07/dotted-graphic.svg");
  width: 112px;
  height: 112px;
  left: 0;
}

#our-events .newsletter:after {
  background: url("/wp-content/uploads/2023/07/dotted-graphic.svg");
  width: 112px;
  height: 112px;
  left: unset !important;
  right: 0 !important;
}

@media (min-width: 1025px) and (max-width: 1600px) {
  #our-events .pp-post-title {
    font-size: 24px !important;
  }
}

@media (max-width: 600px) {
  #our-events .newsletter:before,
  #our-events .newsletter:after {
    width: 63px;
    height: 63px;
    background-size: cover !important;
  }

  #our-events .elementor-form-fields-wrapper input {
    padding: 0.5rem 1rem;
  }
}

/* Our Chairman */

#our-chairman {
  overflow: hidden !important;
}

#our-chairman:before,
#our-chairman:after {
  content: "";
  position: absolute;
  background-repeat: no-repeat !important;
  opacity: 0.8;
}

#our-chairman:before {
  background: url("/wp-content/uploads/2023/07/dotted-dark-triangle-graphic.svg");
  background-size: cover;
  width: 145px;
  height: 168px;
  left: 0;
  top: 60px;
}

#our-chairman:after {
  background: url("/wp-content/uploads/2023/07/mgs-dark-dotted-circle.svg");
  background-size: cover;
  width: 200px;
  height: 190px;
  left: unset !important;
  right: -5% !important;
  top: 100px;
}

@media (max-width: 1024px) {
  #our-chairman:before {
    width: 68px;
    height: 75px;
  }

  #our-chairman:after {
    width: 114px;
    height: 108px;
    top: unset;
    bottom: 0;
    right: -16% !important;
  }
}

/* Hide instagram feed */

.page-id-93 #instagram-feed,
.page-id-88 #instagram-feed,
.error404 #instagram-feed,
.page-id-2071 #instagram-feed{
  display: none !important;
}

/* Hide Recaptcha */

.grecaptcha-badge {
  display: none !important;
}

/* Contact Info */

@media (min-width: 1025px) and (max-width: 1600px) {
  #contact-info .elementor-icon-box-description {
    font-size: 18px !important;
  }
}

/* Contact Us Form */

#contact-us-form input,
#contact-us-form textarea {
  background: linear-gradient(90deg, #ffffff 0%, #f2eded 100%);
}

#contact-us-form input::placeholder,
#contact-us-form textarea::placeholder {
  font-weight: 500 !important;
}

#contact-us-form .ff-btn {
  opacity: 1 !important;
}

#contact-us-form .frm-fluent-form .ff-t-container {
  gap: 40px;
}

#contact-us-form .ff-message-success {
  border: 0 !important;
  box-shadow: none !important;
  margin-top: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}
