/*
Theme Name: Studio Fanti
Template: healthhub
Theme URI: https://reversestudio.it/
Description: Studio Fanti Theme
Author: Reverse Studio
Author URI: https://reversestudio.it/
Version: 1.0.0
Tested up to: 6.6
Requires at least: 5.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: clinic, dental, doctor, gynecology, health, healthtech, healthyliving, hospital, medical, medicine, nutrition, pediatric, therapy
Text Domain: healthhub
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */
/* =========================
    VARIUS & UTILITY
========================= */

html {
  font-size: 62.5% !important; /* 1rem = 10px */
}
html, body, div, span, applet, object, iframe, video, audio, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, input, textarea, button, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, address, section {
		-webkit-hyphens: none;
		-ms-hyphens: none;
		hyphens: none;
		word-break: normal;
		overflow-wrap: normal;
}
.custom-logo-link img, .sc_layouts_logo img {
	width: 105px !important;
}
.f-small,
.f-small * {
	font-size: 1.4rem;	
}
.f-xsmall, 
.f-xsmall * {
	font-size: 1.3rem;
}
.sc_layouts_menu_nav > li > a, .sc_layouts_menu_nav > li.menu-item-has-children > a {
    padding-left: 12px;
	padding-right: 12px;
}
.sc_services_strong .sc_services_item_content_inner_bottom {
    align-content: space-between;
    flex-wrap: wrap;
    justify-content: space-between;
}
.sc_services_strong .sc_services_item.with_image .sc_services_item_content:before {
    background-color: #000;
    opacity: 0.5;
}
@media (min-width: 768px) {
	.sf-custom_col {
		height: 330px;
	}
}
.sc_layouts_menu_nav > li.current-menu-item > a, .sc_layouts_menu_nav > li.current-menu-parent > a, .sc_layouts_menu_nav > li.current-menu-ancestor > a {
    color: #ffffff !important;
}

@media (min-width: 1921px) {
	.elementor-top-section > .elementor-container {
		max-width: 1720px !important;
		margin-left: auto !important;
		margin-right: auto !important;
		padding-left: 90px;
		padding-right: 90px;
	}
	.atm-overflow-carousel-cpt {
		margin-left: -90px !important;
		margin-right: -90px !important;	
	}
	.sf_maps {
		position: relative;
		left: 50%;
		right: 50%;
		width: 100vw !important;
		max-width: 100vw !important;
		margin-left: -50vw !important;
		margin-right: -50vw !important;
	}
	.sf_maps .elementor-widget-container,
	.sf_maps .sc_googlemap_wrap,
	.sf_maps .sc_googlemap,
	.sf_maps .sc_item_content,
	.sf_maps iframe {
		width: 100% !important;
		max-width: 100% !important;
	}
}
.elementor-heading-title {
    hyphens: none !important;
}
/*list icon*/
.elementor-icon-list-item {
    align-items: flex-start !important;
}
.elementor-icon-list-icon {
	margin-top: 4px;
}

/* =========================
        FOOTER
========================= */

.sf-footer-menu a{
	font-size: 1.6rem !important;
}
.footer_wrap .sc_layouts_row .sc_layouts_item.sf-footer-menu {
    margin-top: 0 !important;
}
.footer_wrap .sc_layouts_row .sc_layouts_menu_nav > li > a {
    padding: 10px 0;
    font-weight: 400;
    line-height: 100%;
}
.footer_wrap .sc_layouts_row .sc_layouts_menu_nav > li:first-child > a {
    padding-top: 0;
}
.footer_wrap .sc_layouts_menu_dir_vertical.sc_layouts_submenu_dropdown .sc_layouts_menu_nav > li ul li > a {
    font-size: 1.4rem;
}
.sc_layouts_menu_dir_vertical.sc_layouts_submenu_dropdown .sc_layouts_menu_nav li.menu-item-has-children > a > .open_child_menu:before {
	content: "";
	background-image: url('data:image/svg+xml,<svg width="10" height="7" viewBox="0 0 10 7" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5 6.0625L0 1.0625L1.0625 0L5 3.9375L8.9375 0L10 1.0625L5 6.0625Z" fill="white"/></svg>');
	width: 10px;
    height: 6px;
    display: block;
}
.sc_layouts_menu_dir_vertical.sc_layouts_submenu_dropdown .sc_layouts_menu_nav li.menu-item-has-children > a > .open_child_menu {
    display: flex !important;
    align-items: center;
    justify-content: end;
}
#menu_footer .current-menu-item a span{
	color: #DCE1E9;
}

/* =========================
   DESKTOP SUBMENU header
========================= */

.sc_layouts_menu.sc_layouts_menu_dir_horizontal .sc_layouts_menu_nav > li.menu-item-has-children > a > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.sc_layouts_menu.sc_layouts_menu_dir_horizontal .sc_layouts_menu_nav > li.menu-item-has-children > a > span:first-child::after {
    content: "";
    width: 10px;
    height: 6px;
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='7' viewBox='0 0 10 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 6.0625L0 1.0625L1.0625 0L5 3.9375L8.9375 0L10 1.0625L5 6.0625Z' fill='currentColor'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    flex-shrink: 0;
}
.home .sc_layouts_menu.sc_layouts_menu_dir_horizontal .sc_layouts_menu_nav > li.menu-item-has-children > a > span:first-child::after {
    filter: brightness(0) invert(1);
}


/* =========================
        MENU MOBILE
========================= */

.menu_mobile .menu_mobile_inner.with_widgets .menu_mobile_nav_area .menu-item > a {
    padding: 5px 2.2rem 5px 0 !important;
}
.menu_mobile_nav_area .menu-item-has-children > a > span:first-child::after {
    content: none !important;
}
.menu_mobile .menu_mobile_nav_area li.menu-item-has-children > a {
    position: relative;
}
.menu_mobile .menu_mobile_nav_area li > a > .open_child_menu {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}
.menu_mobile .menu_mobile_nav_area li > a > .open_child_menu::before {
    font-family: none !important;
    content: "" !important;
    width: 12px;
    height: 12px;
    display: block;
    position: static;
    top: auto;
    right: auto;
    opacity: 1;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='7' viewBox='0 0 10 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 6.0625L0 1.0625L1.0625 0L5 3.9375L8.9375 0L10 1.0625L5 6.0625Z' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transition: transform 0.3s ease;
}
.menu_mobile .menu_mobile_nav_area li.opened > a > .open_child_menu::before,
.menu_mobile .menu_mobile_nav_area li.current-menu-parent > a > .open_child_menu::before,
.menu_mobile .menu_mobile_nav_area li.current-menu-ancestor > a > .open_child_menu::before {
    transform: rotate(180deg);
}

.menu_mobile_fullscreen .menu_mobile_inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.menu_mobile_fullscreen .menu_mobile_content_wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.menu_mobile_fullscreen .menu_mobile_content_wrap_inner {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.menu_mobile_fullscreen .socials_mobile {
    margin-top: auto !important;
}
[class^=icon-]:before, [class*=" icon-"]:before {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 32px !important;
    height: 32px !important;
    border: 1px solid #fff;
    border-radius: 100%;
    padding: 5px;
    line-height: 1;
}
.menu_mobile .socials_mobile .social_item .social_icon {
	font-size: 15px !important
}

/* =========================
        TITLE HEADER
========================= */

.sf-btn_white {
    border-color: #fff !important;
}
.sf-color_primary span,
.sf-color_primary span * {
    color: #001A29 !important;
}
.sf-breadcrumb span, 
.sf-breadcrumb span * {
    color: #fff;
    font-size: 1.5rem;
}
.sf-breadcrumb span.breadcrumb_last {
    font-weight: 600;
}

/* Yoast breadcrumb in the hero with image on the right:
   keep it inside the text column (50%) so long titles wrap
   instead of going under the image. The widget keeps the height
   of one line, so a second line floats over the empty top of the
   text column and the image column does not move down. */
@media (min-width: 1280px) {
  .sf-breadcrumb:has(+ .elementor-inner-section .elementor-widget-image) {
    z-index: 2;
  }
  .sf-breadcrumb:has(+ .elementor-inner-section .elementor-widget-image) .elementor-widget-container {
    max-width: 50%;
    padding-right: 30px;
    box-sizing: border-box;
    height: 1lh;
    overflow: visible;
  }
}

.sf-header-title .elementor-widget-wrap {
    flex-wrap: wrap;
    align-content: space-between;
}
.sc_item_subtitle {
	font-weight: 600 !important;
	letter-spacing: 0.04em !important;
}
.sc_item_descr {
	font-size: 1.7rem !important;
}

/* =========================
        ACCORDION
========================= */

.custom-toggle-svg .elementor-toggle-icon svg {
    width: 44px !important;
    height: 44px !important;
}
.custom-toggle-svg .elementor-toggle .elementor-tab-title {
	padding-top:0px;
	padding-bottom:30px;
}
@media (min-width: 768px) {
    .custom-toggle-svg .elementor-tab-content {
        padding-right: 20% !important;
    }
}
.elementor-tab-title {
	padding-left: 0px !important;
}
.elementor-tab-title.elementor-active {
	padding-bottom: 0px !important;
}
.elementor-tab-content {
	padding-top: 20px !important;
	padding-bottom: 30px !important;
	padding-left: 0px !important;
}
.elementor-toggle .elementor-tab-content.elementor-active {
	border-bottom-color: rgba(98, 107, 109, 0.40)
 !important;
}

/* =========================
        CUSTOM CARD
========================= */

.sf-custom_card .sc_icons .sc_icons_item .sc_icons_item_more_link .link_icon:before,.sf-custom_card .sc_icons .sc_icons_item .sc_icons_item_more_link span{
	color: #575FFF;
}
.sf-custom_card-2 .slider-slide.swiper-slide {
	padding: 30px;
	padding-right: 50px;
	background: #ffffff;
	border-radius: 20px;
}
.sc_icons_decoration .sc_icons_item {
	padding: 30px !important;
}	
.sc_icons_decoration .sc_icons_item_title {
	font-size: 20px !important;
}
.sc_icons_decoration .sc_icons_item_title + .sc_icons_item_description {
	margin-top: 10px !important;
}
.sf-custom_card-2 .sc_icons_item_title {
	font-weight: 600 !important;
	padding-top: 20px;
	padding-bottom: 10px;
}
@media (max-width: 465px) {
	.slider-slide.swiper-slide {
	    margin-right: 10px !important;
	}
}

/* Card Link Utili*/
.sf-custom_cards_row .elementor-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
.sf-custom_cards_row .sf-custom_card-1 {
    display: flex;
}
.sf-custom_cards_row .sf-custom_card-1 > .elementor-widget-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    min-height: 220px;
    padding: 30px 40px 30px 30px;
    box-sizing: border-box;
}
.sf-custom_cards_row .sf-custom_card .elementor-widget-button {
    margin-top: auto;
}
.sf-custom_cards_row .sf-custom_card-1 .elementor-widget-button {
    margin-top: 40px;
}
@media (max-width: 767px) {
    .sf-custom_cards_row .sf-custom_card-1 > .elementor-widget-wrap {
        min-height: auto;
        height: auto;
    }
}

/* =========================
            FORMS
========================= */

.sf-form {
  background: transparent;
}
.sf-form p {
  margin-bottom: 0;
}
.sf-row {
  display: flex;
  gap: 30px !important;
}
.sf-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sf-field label {
  color: #626B6D !important;
  font-size: inherit;
  font-weight: 400;
  line-height: 1.4;
}
.sf-form input,
.sf-form select,
.sf-form textarea {
  background: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 14px 18px !important;
  margin-top: 10px;
  font-size: inherit;
  color: #626B6D !important;
  width: 100%;
  box-sizing: border-box;
  box-shadow: none !important;
}
.sf-form textarea {
  min-height: 260px;
  resize: none;
}
.sf-form ::placeholder {
  color: #A0A7A9 !important;
  opacity: 1 !important;
}
.sf-field.sf-field-select .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin-top: 10px;
  background: #fff !important;
  border-radius: 8px !important;
}
.sf-field.sf-field-select select {
  margin-top: 0 !important;
  background-color: #fff !important;
}
.sf-submit {
  margin-top: 30px;
  width: 100%;
  display: block;
  background: #5960F2 !important;
  border-radius: 8px !important;
  overflow: hidden;
  box-sizing: border-box;
}
.sf-submit:hover {
  opacity: 0.92;
}
.sf-submit .wpcf7-spinner {
  display: none !important;
}
.sf-submit .wpcf7-submit-style,
.sf-submit .submit-style-in {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.sf-submit .submit-style-in:before,
.sf-submit .submit-style-in:after {
  display: none !important;
  content: none !important;
}
.sf-submit button[type="submit"] {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  margin: 0 !important;
  padding: 16px 32px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #FFFFFF !important;
  font-size: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-align: center !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  white-space: normal;
}
.sf-submit button[type="submit"]:hover {
  opacity: 1 !important;
}

@media (max-width: 768px) {
  .sf-row {
    flex-direction: column;
    gap: 30px !important;
  }
  .sf-form > * + * {
    margin-top: 30px !important;
  }
  .sf-form textarea {
    min-height: 180px;
  }
  .sf-submit,
  .sf-submit .wpcf7-submit-style,
  .sf-submit .submit-style-in,
  .sf-submit button[type="submit"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .sf-submit .wpcf7-submit-style,
  .sf-submit .submit-style-in {
    display: block !important;
    overflow: hidden !important;
  }
  .sf-submit button[type="submit"] {
    padding: 16px 12px !important;
    letter-spacing: 0 !important;
  }
}

.sf-upload-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin-top: 10px;
  padding: 16px 24px;
  background: #fff;
  border: 1px dashed #8DCBFF;
  border-radius: 10px;
  box-sizing: border-box;
}
.sf-upload-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sf-upload-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
}
.sf-upload-text strong {
  display: inline-block;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: #4B4B4B;
}
.sf-upload-text span {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: #A3A3A3;
}
.sf-upload-button {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
.sf-upload-button .wpcf7-form-control-wrap {
  position: absolute;
  inset: 0;
  opacity: 0;
  overflow: hidden;
}
.sf-file-upload {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
label.sf-file-label {
	color: #0F91D2 !important;
}
.sf-file-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 165px;
  height: 52px;
  padding: 0 24px;
  background: #fff;
  border: 1px solid rgba(15, 145, 210, 0.70);
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}
.sf-field-upload .wpcf7-not-valid-tip {
  margin-top: 8px;
}
@media (max-width: 767px) {
  .sf-upload-wrap {
    padding: 20px;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
  }
  .sf-upload-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
  }
  .sf-upload-icon svg {
    width: 40px;
    height: 40px;
  }
  .sf-upload-text {
    flex: 1 1 calc(100% - 56px);
    gap: 6px;
  }
  .sf-upload-text strong {
    font-size: 14px;
  }
  .sf-upload-text span {
    font-size: 12px;
  }
  .sf-upload-button {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }
  .sf-file-label {
    min-width: 140px;
    height: 46px;
    font-size: 13px;
  }
}

/* List icon */
@media (max-width: 768px) {
	.elementor-icon-list-icon {
		padding-inline-end: 6px !important;
	}
}

/* =========================
    Multiple Button MOBILE
========================= */
@media (max-width: 651px) {
	.sc_button.sc_button_bordered, .wp-block-button.is-style-outline>.wp-block-button__link {
		 margin-right: 0;
	}
  .sc_button_multiple {
    flex-direction: column;
  }
  .sc_button_multiple .sc_button_multiple_item {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }
}

/* =========================
      Sidebar Style
========================= */
.widget_categories .cat-item {
	font-size: 1.7rem;
}
.widget_area .post_item .post_categories,
aside .post_item .post_categories {
	font-size: 1.3rem;
}
.sidebar .post_title > a {
	font-size: 1.9rem;
}