:root {
  --black-color: #222222;
  --orange-color: #d35317;
}

.service-duration {
	background: var(--e-global-color-secondary);
    color: #fff;
    padding: 0.1rem 1rem;
    border-radius: 0.2rem;
	margin-top: 0.4rem;
    display: inline-block;
}

.list__blogs-items {
	& .blog_post_content_wrapper.layout_grid {
	  display: flex;
	  flex-wrap: wrap;
	  align-items: stretch;
	  gap: 2rem;
		
		& .blog-posts-grid {
			background: white;
			margin: 0;
		}
	}
}

.tg_navigation_wrapper.menu_style1 .nav > li.current-menu-item > a{
	color: var(--e-global-color-secondary) !important;
}

a#toTop {
    background: var(--e-global-color-secondary) !important;
}

input[type="submit"], .dotlife-contact-form-content-wrapper input[type="submit"] {
    border-color: var(--orange-color) !important;
    background: var(--orange-color) !important;
}

p {
  & a {
    color: var(--e-global-color-secondary);
    text-decoration: underline !important;

    &:hover {
      color: var(--black-color);
      text-decoration: none !important;
    }
  }
}

.blog-featured_image {
  & img {
    border-radius: .8rem !important;
    width: 100%;
  }
}

.service-post-grid {
  & .tutor-course-name {
    color: var(--e-global-color-text);
    & a:hover {
      color: var(--tutor-body-color);
    }
  }
}

.service-button {
  background-color: #ffffff;
  border-color: #222222;
  color: #222222;

  &:hover {
    background-color: #222222;
    border-color: #222222;
    color: #ffffff;
  }
}

.discount_code {
  border: 1px dashed #000;
  padding: 1rem;
  border-radius: .8rem;
}

.container-mx-w-86>div {
  max-width: 100rem !important;
  margin: 0 auto;
}


.subscribe-container {
  display: flex;
  gap: 1rem;
  justify-content: space-between;

  & input.wpcf7-email {
    padding: 0.7rem 1rem;

    &::placeholder {
      color: #303030a4;
    }
  }
}

.mt-3 {
  margin-top: 1rem;
}

.mobile_menu_wrapper {
  background-image: url(/wp-content/uploads/2025/05/isotipo.png);
  background-size: 220%;
  background-repeat: no-repeat;
  background-position: center center;
  background-blend-mode: soft-light;

  & #sub_menu li {
    margin-bottom: 2rem;
  }
}

.history__section {

  & .timeline-entry {
    & .timeline-body {
      overflow: hidden;
      height: 150px;
      transition: height 0.3s ease;
      position: relative;
      interpolate-size: allow-keywords;
    }

    & .timeline-body.expanded {
      height: auto;
    }

    & .read-more-toggle {
      display: inline-block;
      color: var(--e-global-color-secondary);
      cursor: pointer;
      margin-top: 10px;
      font-weight: bold;
    }
  }
}

.post_content_wrapper {
    & h5 > a, & p {
        color: var(--e-global-color-text) !important;
    }
}

#page_content_wrapper .sidebar .content .sidebar_widget li h2.widgettitle, h2.widgettitle, h5.widgettitle, .sidebar_widget .widget_block h2 {
    color: var(--e-global-color-text) !important;
}

.wp-block-latest-posts__list.wp-block-latest-posts {
    & li {
        & a {
            color: var(--e-global-color-secondary) !important;
        }
    }
}


@media (width <=768px) {
  .history__section {

    & .timeline-wrapper {
      &::before {
        left: 95% !important;
      }

      & .timeline-entry {
        width: calc(95% - 10px);
        margin-top: 0 !important;

        &:nth-child(2n) {
          float: inherit !important;
        }

        & .timeline-title {
          &::before {
            left: inherit !important;
          }
        }
      }

    }
  }
	
	.testimonials-slider-wrapper .testimonial-carousel .owl-nav {
		bottom: inherit;
		top: -3rem !important;
		right: 0 !important;
		left: 0 !important;
		text-align: right;
		position: absolute !important;
	}
	
	#page_content_wrapper {
		& .page_title_content.title_align_left {
			h1 {
			font-family: "Open Sans Primary", Sans-serif !important;
			font-size: 32px !important;
			font-weight: 600 !important;
			text-transform: uppercase !important;
			line-height: 2rem !important;
			}
		}
	}
	
	.global__form form p{
		padding: .1rem 0 !important;
	}
	
	.mobile_main_nav li a, #sub_menu li a {
	  font-size: 18px !important;
	  line-height: 1.5rem !important;
	  font-family: var( --e-global-typography-1936b9e-font-family ), Sans-serif !important;
	}
}

.elementor-widget-custom_post_grid {
	& .tutor-card-body {
		& h3 {
			font-family: "Open Sans Primary", Sans-serif;
			font-size: 18px;
			font-weight: 600;
			text-transform: uppercase;
			line-height: 1.6rem;
		}
	}
	
	& .service-button {
		font-family: var(--e-global-typography-1936b9e-font-family);
	}
}

.service__title {
	& h2 {
		font-family: "Open Sans Primary", Sans-serif;
		font-size: 20px;
		font-weight: 600;
		text-transform: uppercase;
		line-height: 2rem;
	}
}



/*** RESET ***/

body:where(.single.single-service, .wp-singular) {
		& h1, h2, h3, h4, h5, h6, h7, .post_quote_title, strong[itemprop="author"], #page_content_wrapper .posts.blog li a, .page_content_wrapper .posts.blog li a, #filter_selected, blockquote, .sidebar_widget li.widget_products, #footer ul.sidebar_widget li ul.posts.blog li a, .woocommerce-page table.cart th, table.shop_table thead tr th, .testimonial_slider_content, .pagination, .pagination_detail, .appointment-form-shortcode .mpa-booking-step.mpa-booking-step-period .mpa-shortcode-title, .appointment-form-shortcode .mpa-booking-step.mpa-booking-step-cart .mpa-shortcode-title, .appointment-form-shortcode .mpa-booking-step.mpa-booking-step-checkout .mpa-shortcode-title, .appointment-form-shortcode .mpa-booking-step.mpa-booking-step-payment .mpa-shortcode-title, #respond.comment-respond .comment-reply-title, .course-curriculum .section-left .section-title, .lp-checkout-form__before .lp-checkout-block h4, .lp-checkout-form__after .lp-checkout-block h4 {
		font-family: var( --e-global-typography-1936b9e-font-family ), Sans-serif;
	}
}

/*** testimonios ***/
.testimonials-slider-wrapper .testimonial-carousel  {
	& .owl-stage {
		/*display: flex;
    	min-height: 790px;*/
		
		& .owl-item {
			/*min-height: 100%;*/
			& .inner-box {
				/*height: 100%;*/
				
				& .info-box > .name {
					padding-left: 0;
					font-weight: 600;
				}
			}
		}
	}	
}

#page_content_wrapper {
	& .page_title_content.title_align_left {
		width: 100% !important;
		& h1 {
			font-family: "Open Sans Primary", Sans-serif !important;
			font-size: 48px !important;
			font-weight: 600 !important;
			text-transform: uppercase !important;
			line-height: 3rem !important;
		}
	}
}

.global__form form p{
	padding: .5rem 0 !important;
}

:where(.global__form, .contact-page__form) #kajabi-form {
	font-family: Mulish;
	padding: 0;
	
	& .kajabi-form__content {
		padding: 0;
        margin: 0;
		width: 100%;
        max-width: 100% !important;
		
		& fieldset {
			& .kajabi-form__form-item {
				border-radius: 5px;
				margin-block-end: 20px;
				
				& :where(input, textarea):hover, & :where(input, textarea):focus {
					border-color: transparent;
				}
			}
			
			& button.kajabi-form__btn {
				padding: 0.8rem 3rem;
                border-radius: 50px;
				margin: 0;
				font-family: Mulish;
				&:hover {
					background-color: #b54612 !important;
				}
			}
		}
	}
}

.contact-page__form #kajabi-form {
	& fieldset {
		& .kajabi-form__form-item {
			& :where(input, textarea) {
				background: #fff !important;
				border: none !important;
			}
		}
		
		& #form_submission_custom_3 {
			display: none !important;
		}
	}
}


.subscribe__form #kajabi-form {
	font-family: Mulish;
	padding: 0 !important;
	
	& .kajabi-form__content {
	  width: 100% !important;
	  margin: 0 !important;
	  max-width: 100% !important;
		
		& fieldset {
			display: flex;
		    gap: 1rem;
		    align-items: center;
		    width: 100%;
			
			& .email-field.kajabi-form__form-item {
				margin: 0;
			    width: 100%;
				
				& > input {
					background: #fff;
				    border-radius: 5px;
				    border: 1px solid #D8D8D8;
				    color: #222;
				}
			}
			
			& .kajabi-form__btn.kajabi-form__btn--block-mobile {
				margin: 0;
			    border-color: var(--orange-color) !important;
			    background: var(--orange-color) !important;
			    padding: 0.6rem 2rem;
				border-radius: 50px;
				font-family: Mulish;
				&:hover {
					background-color: #b54612 !important;
				}
			}
		}
	}
}


@media (width < 768px) {
	.subscribe__form #kajabi-form {
		& .kajabi-form__content {
			& fieldset {
				flex-wrap: wrap;
			}
		}
	}
}


