/*
Theme Name: Medicora Child
Theme URI: https://medicora.keydesign.xyz/
Description: Doctor & Medical Clinic Elementor WordPress Theme
Author: Key-Design
Author URI: http://themeforest.net/user/Key-Design
Template: medicora
Version: 1.0
License: Envato Standard License
License URI: https://themeforest.net/licenses/standard
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-menu, featured-images, flexible-header, post-formats, sticky-post, translation-ready
Text Domain: medicora-child
*/

/* nav */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:focus,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link {
  font-weight: 500;
}
/*#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row li.mega-menu-item.mega-menu-columns-12-of-12 > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
  font-weight: 500;
}*/
@media only screen and (max-width: 768px) {

  /* Add breathing room inside the opened mobile panel */
  #mega-menu-wrap-primary #mega-menu-primary {
    padding-top: 18px;
    padding-bottom: 24px;
  }

  /* Top level items */
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    padding: 14px 24px !important;
    line-height: 1.35 !important;
    font-size: 18px !important;
  }

  /* Second level items */
  #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item li.mega-menu-item > a.mega-menu-link {
    padding: 10px 24px 10px 34px !important;
    line-height: 1.45 !important;
    font-size: 17px !important;
  }

  /* Third level items, if used */
  #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item li.mega-menu-item li.mega-menu-item > a.mega-menu-link {
    padding-left: 46px !important;
    font-size: 16px !important;
  }

  /* Add a little separation between submenu links */
  #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item li.mega-menu-item {
    margin-bottom: 4px !important;
  }

  /* Headings inside mobile menu */
  #mega-menu-wrap-primary #mega-menu-primary .mega-menu-column-heading,
  #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.menu-heading > a.mega-menu-link {
    font-weight: 700 !important;
    font-size: 18px !important;
    color: #111111 !important;
    padding-top: 14px !important;
    padding-bottom: 8px !important;
  }

  /* Make the open parent slightly tinted */
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
    background: #f3f4ea !important;
  }
}

/* Hide the mobile-only CTA on desktop */
#mega-menu-wrap-primary #mega-menu-primary > li.mobile-book-button {
  display: none !important;
}

@media only screen and (max-width: 768px) {

  /* Show the CTA inside mobile menu */
  #mega-menu-wrap-primary #mega-menu-primary > li.mobile-book-button {
    display: block !important;
    padding: 18px 24px 8px !important;
    margin-top: 10px !important;
  }

  #mega-menu-wrap-primary #mega-menu-primary > li.mobile-book-button > a.mega-menu-link {
    display: block !important;
    height: auto !important;
    line-height: 1.2 !important;
    padding: 16px 20px !important;
    text-align: center !important;
    background: #8b8a66 !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    font-size: 14px !important;
    font-weight: 500 !important;
  }

  #mega-menu-wrap-primary #mega-menu-primary > li.mobile-book-button > a.mega-menu-link:hover {
    background: #7d7c5c !important;
    color: #ffffff !important;
  }
}

@media only screen and (min-width: 769px) {
  /* Open parent item and parent item on child pages */
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link,
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-current_page_ancestor > a.mega-menu-link,
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-current-menu-ancestor > a.mega-menu-link,
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-current-menu-parent > a.mega-menu-link,
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-current-page-parent > a.mega-menu-link {
	  font-weight: 500 !important;
	}
}

.kodes-reg {
	font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
  font-weight: 400 !important;
  font-size: 0.45em;
  vertical-align: super;
  line-height: 0;
 color: inherit !important;
}

.elementor-23962 .elementor-element.elementor-element-7262b70 .elementskit-section-title-wraper .elementskit-section-title span.homesubtitle {
	display: block;
	font-size: 36px !important;
	background: none !important;
	width: 61% !important;
}

@media screen and (max-width: 1024px) {
	h1 + .ekit-heading__description p, 
	h2 + .ekit-heading__description p,
	h2 + .ekit-heading__description p + ul,
	h2 + .ekit-heading__description p + ul li,
	.ekit-wid-con .elementskit-infobox .box-body p,
	.elementskit-section-title-wraper p,
	.ekit-wid-con li, .ekit-wid-con ul,
	.ekit-stylish-list-content-description,
	.ekit-wid-con .elementskit-accordion .elementskit-card-body p {
		font-size: 19px !important;
	}
	.ekit-wid-con .elementskit-accordion .elementskit-card-header>.elementskit-btn-link {
		font-size: 21px !important;
	}
	.elementskit-section-title-wraper .elementskit-section-subtitle {
		font-size: 16px !important;
	}
	
	.ekit-btn-wraper .elementskit-btn {
		line-height: 1.6em !important;
		font-size: 18px !important;
        letter-spacing: 0 !important;
	}
}

@media screen and (max-width: 1024px) {
	.homesubtitle,
	.elementor-23962 .elementor-element.elementor-element-7262b70 .elementskit-section-title-wraper .elementskit-section-title span.homesubtitle {
		display: block;
		font-size: 40px !important;
		width: 76% !important;
	}
}

@media screen and (max-width: 767px) {
	.homesubtitle,
	.elementor-23962 .elementor-element.elementor-element-7262b70 .elementskit-section-title-wraper .elementskit-section-title span.homesubtitle {
		display: block;
		font-size: 26px !important;
		width: 84% !important;
	}
	.ekit-wid-con .ekit-stylish-list,
	.ekit-wid-con .ekit-stylish-list-content-wrapper,
	.ekit-wid-con ul.ekit-stylish-list {
		margin-left: 0 !important;
	}
	.ekit-wid-con .elementskit-accordion .elementskit-card-body {
		font-size: 18px !important;
	}
	
	.ekit-wid-con h4.elementskit-info-box-title {
		font-size: 21px !important;
	}
	.ekit-wid-con h4.elementskit-section-title {
		font-size: 24px !important
	}
	.menu-hip-container ul li, .menu-knee-container ul li {
		font-size: 18px;
	}
	
	

	.elementor-23499 .elementor-element.elementor-element-c5c07f9 .ekit-form form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .elementor-23499 .elementor-element.elementor-element-c5c07f9 .ekit-form form textarea, .elementor-23499 .elementor-element.elementor-element-c5c07f9 .ekit-form form select,
	.elementor-23499 .elementor-element.elementor-element-c5c07f9 .ekit-form form label,
	.ekit-wid-con .ekit-form .wpcf7 .wpcf7-acceptance .wpcf7-list-item, .ekit-wid-con .ekit-form .wpcf7 .wpcf7-checkbox .wpcf7-list-item,
	.site .ekit-wid-con .ekit-form form input[type=submit] {
		font-size: 18px !important;
	}
	
	.ekit-wid-con .ekit-price-menu,
	.ekit-wid-con .ekit-price-menu li{
		margin-left: 0 !important;
	}
}

.homesubtitle,
.elementor-23962 .elementor-element.elementor-element-7262b70 .elementskit-section-title-wraper .elementskit-section-title span.homesubtitle {
	background-image: none !important;		
}

.hero-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  overflow: hidden;
}
.hero-video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

.keydesign-sidebar section:not(:last-child) {
	margin-bottom: 20px;
}
.blog-cta {
	background-color: #EEF1E4;
	padding: 20px;
	border-radius: 20px;
}
.blog-cta h4,
.ekit-wid-con h4.elementskit-section-title {
	font-size: 22px;
}

.blog-cta a {
	font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 18px 24px 18px 24px;
	border-radius: 30px;
	background-color: #7C8264;
	text-align: center;
	color: #fff;
	display: block;
}

.blog-cta a:hover {
	background-color: #373A2C;
    color: #FFFFFF;
    fill: #FFFFFF;
}

.wpcf7-form-control.wpcf7-validates-as-date {
	text-align: right;
}


.keydesign-h5 .ekit-stylish-list,
.keydesign-h5 .ekit-stylish-list li {
	margin-left: 0 !important;
}

/* icons boxes for treatment pages */
/* ElementsKit Stylish List: keep number icons perfectly circular */
.round-step-icons .ekit-stylish-list-content-icon{
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;

  flex: 0 0 30px;         /* fixed size, no flex shrink */
  padding: 0 !important;  /* remove the left padding that distorts it */

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50% !important;
  box-sizing: border-box;
  line-height: 1;
}

/* If the number/icon inside needs nudging */
.round-step-icons .ekit-stylish-list-content-icon i,
.round-step-icons .ekit-stylish-list-content-icon svg,
.round-step-icons .ekit-stylish-list-content-icon span{
  line-height: 1;
}

/* Google Reviews */
.ti-white-bg {
	background: #fff;
}

/* Repair infographic */
.js-accordion-img img {
	border-radius: 0 !important;
}


/* lists */
.ekit-wid-con li, .ekit-wid-con ul {
	margin-left: 10px !important;
}

/* Treatment hip/knee sidebar */
.menu-hip-container ul,
.menu-knee-container ul {
	list-style-type: circle;
	margin-left: 20px;
}
.menu-hip-container ul li,
.menu-knee-container ul li {
	margin-bottom: 5px;
}

/* Sticky sidebar: keep it fully reachable */
@media (min-width: 1367px) {
	.sticky-container {
		scrollbar-gutter: stable;
		top: calc(var(--admin-bar) + 90px) !important;
	}
}
@media (min-width: 1681px) {
	.sticky-container {
		max-height: calc(100vh - 160px);
	}
}
/* disable sicky nav below 1367 */
@media (max-width: 1366px) {
   .sticky-container {
    position: static !important;
    top: auto !important;
  }

}


/* Blog items on 2 cols */
.blog-items ul.ekit-post-list-wrapper {
	display: flex;
	flex-wrap: wrap;
	padding: 0 !important;
	margin: 0 !important;
	list-style: none !important;
}

.blog-items ul.ekit-post-list-wrapper > li.col-lg-6 {
	flex: 0 0 50% !important;
	max-width: 50% !important;
	width: 50% !important;
	margin: 0 !important;
	box-sizing: border-box;
}

@media (max-width: 1024px) {
	.blog-items ul.ekit-post-list-wrapper > li.col-lg-6 {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}
}


/*FAQ*/
@media (min-width: 1025px) {
  .faq-sticky-nav {
    position: sticky;
    top: 140px;
    align-self: flex-start;
    z-index: 2;
  }

  .faq-sticky-nav,
  .faq-sticky-nav > .e-con-inner {
    height: fit-content;
  }
}

/* Footer social media icons hover fix */
.elementor-23538 .elementor-element.elementor-element-fad6b97 .ekit_social_media > li > a {
  background-color: #9aa072 !important;
  border: 1px solid #9aa072 !important;
  color: #ffffff !important;
  transition: all 0.25s ease;
}

.elementor-23538 .elementor-element.elementor-element-fad6b97 .ekit_social_media > li > a i,
.elementor-23538 .elementor-element.elementor-element-fad6b97 .ekit_social_media > li > a i:before {
  color: #ffffff !important;
  transition: all 0.25s ease;
}

.elementor-23538 .elementor-element.elementor-element-fad6b97 .ekit_social_media > li > a:hover,
.elementor-23538 .elementor-element.elementor-element-fad6b97 .ekit_social_media > li > a:focus {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: #7c8264 !important;
}

.elementor-23538 .elementor-element.elementor-element-fad6b97 .ekit_social_media > li > a:hover i,
.elementor-23538 .elementor-element.elementor-element-fad6b97 .ekit_social_media > li > a:hover i:before,
.elementor-23538 .elementor-element.elementor-element-fad6b97 .ekit_social_media > li > a:focus i,
.elementor-23538 .elementor-element.elementor-element-fad6b97 .ekit_social_media > li > a:focus i:before {
  color: #7c8264 !important;
}

/* Privacy policy page */
/* Anchor offset for sticky header */
h2[id],
h3[id] {
  scroll-margin-top: 120px;
}

/* Extra offset while logged into WordPress because of the admin bar */
body.admin-bar h2[id],
body.admin-bar h3[id] {
  scroll-margin-top: 155px;
}