/*!
Theme Name: Orly ortopedia
Theme URI: http://underscores.me/
Author: Extra Digital
Author URI: https://www.extra.co.il/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: orly-ortopedia
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Orly ortopedia is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
## Links
## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
## Posts and pages
## Comments
# Infinite scroll
# Media
## Captions
## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
========================================================================== */

/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in iOS.
*/

.alignnone, .aligncenter, .alignright, .alignleft {
	max-width: 100%;
}

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float:right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	background: #fff;
	border: 1px solid #f0f0f0;
	max-width: 96%; 
	padding: 5px 3px 10px;
	text-align: center;
}

.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}

.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}


.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; 
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

.wpcf7 input[type="url"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"] {
	direction: rtl;
}

.footer .sub-menu {
	display: none;
}

section.post .img-main {
	width: auto;
	max-width: 50%;
}

.whatsapp-mobile {
	width: 45px;
	height: 45px;
	display: inline-block;
	background: #258f4d;
	border-radius: 100%;
	position: fixed;
	left: 10px;
	bottom: 10px;
	z-index: 999;
	box-shadow: 0px 2px 15px 0px rgba(50, 50, 50, 0.4);
	display: block;
}
.whatsapp-mobile img {
	width: 30px;
	position: relative;
	left: -5px;
	top: 5px;
}

@media only screen and (max-width: 950px) {
	.whatsapp-mobile {
		display: none;
	}
}

img {
	max-width: 100%;
}

section .content a {
	text-decoration: underline;
	color: #F5A12D;
}

section .content h3, section .content h2, section .content h1, section .content ul {
	margin-top: 20px;
}

/* --- EXIT FIXED */

section.call-to-action .button {
	margin-top: 0;
}

.services .icon img {
	max-height: 54px;
}

.testimonials .owl-dots {
	margin-top: 35px !important;
}
.testimonials .button {
	margin-top: 70px;
}

@media (max-width: 998px){
	.testimonials .owl-dots {
		margin-top: 16px !important;
	}  
	.testimonials .button {
		margin-top: 70px;
	}
}

body .wpcf7 .newsletter-cb {
	display: flex;
	margin-right: 0;
}

body .wpcf7 .newsletter-cb .wpcf7-list-item {
	margin-right: -0.2em;
}
@media (max-width: 998px){
	html .wpcf7 input {
		padding-right: 0;
	}

	html .wpcf7 input[type="submit"] {
		max-width: 420px;
	}
}
header .menu-item:has(.sub-menu)>a {
	display: flex !important;
	align-items: center;}
header .menu-item:has(.sub-menu)>a::after {
	content: '';
	display: inline-block;
	margin-right: 5px;
	width: 15px;
	height: 15px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' fill='none'><path d='M12.5 7.5L8.5 11.5L4.5 7.5' stroke='black' stroke-linecap='round' stroke-linejoin='round'/></svg>");
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	transition: all 0.2s ease 0s;
}

header .menu-item:has(.sub-menu):hover>a::after {
	rotate: 180deg;
	transform: translatey(1px);
}

.mob_fixed_contact {
	position: fixed;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 52px;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 999;
	background: #338DF5;
	border-radius: 20px 20px 0 0;
	-webkit-animation: w 1s ease;
	animation: w 1s ease;
}
@media (min-width: 769px){
	
	#userwayAccessibilityIcon {
		bottom: 12px !important;
		left: calc(-100vw + 100px) !important;
		border: 0;
		padding: 4px !important;
		width: 54px;
		height: 54px;
	}
	
	.mob_fixed_contact {
		background: transparent;
		height: 1px;
		
	}
	.mob_fixed_contact .mob_fixed_contact__wrapper {
		flex-direction: column;
		position: absolute;
		left: 24px;
		bottom: 87px;
		align-items: end;
		gap: 8px;
		padding:0;
		width: auto;
	}
	
	.mob_fixed_contact__phone__text {
		display: none;
	}
	
	.mob_fixed_contact__phone {
		width: 54px !important;
		height: 54px !important;
		max-width: none !important;
		max-height: none !important;
		margin: 0 !important;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.mob_fixed_contact .mob_fixed_contact__phone__box__icon {
		max-width: none;
		margin: 0 ;
		width: 100% !important;
		height: 100% !important;

	}
	.mob_fixed_contact .mob_fixed_contact__phone__box__icon.gr	{
		background: #49e670 !important;
		overflow: hidden;
	}

	.mob_fixed_contact .mob_fixed_contact__phone__box__icon.gr .mob_fixed_contact__whatsapp__icon {
		max-width: 36px;
		max-height: 36px;

	}
	.slide-in__ActivatePointerEvents-sc-c7aace0d-0 {
    scale: 0.7;
    margin: 0 -3px -12px 0px;
}
}



.sm_menu_outer.active {
	opacity: 1;
	z-index: 9999999999 !important;
}

@media (max-width: 768px){
	.btn-full {
		width: 100%;
		text-align: center;
	}
	
	#userwayAccessibilityIcon {
		bottom: -9px !important;
		left: calc(-100vw + 70px) !important;
		border: 0;
		padding: 4px !important;
		scale: 0.9;
	}
	footer .part-bottom {
		padding-bottom: 20px !important;
	}
	.slide-in__ActivatePointerEvents-sc-c7aace0d-0 {
		margin-bottom: 36px;
	}
}


@-webkit-keyframes w {
	0% {
		-webkit-transform: translateY(1000%);
		transform: translateY(1000%);
	}

	to {
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}
}

@keyframes w {
	0% {
		-webkit-transform: translateY(1000%);
		transform: translateY(1000%);
	}

	to {
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}
}

.mob_fixed_contact__wrapper {
	padding-top: 0.4375rem;
	padding-bottom: 0.4375rem;
	padding-left: 54px;
	padding-right: 8px;
	flex-direction: row;
	justify-content: center;
}

.mob_fixed_contact__phone, .mob_fixed_contact__wrapper {
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
}

.mob_fixed_contact__phone {
	max-width: 16.75rem;
	height: 2.375rem;
	
	margin-left: 0.375rem;
	font-size: 1rem;
	line-height: 120%;
	justify-content: flex-start;
	font-family: Arimo SemiBold, sans-serif;
	font-weight: 600;
	color: #000;
	background: #fff;
	border-radius: 100px;
	z-index: 2;
	text-align: center;
	transition: 1s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 768px) {
	.mob_fixed_contact__phone {
		font-size: 0.8rem !important;
		padding: 0.3125rem 0.3125rem 0.3125rem 1.125rem;
	}
}

@media (max-width: 576px) {
	.mob_fixed_contact__phone {
		font-size: 0.8rem !important;
	}
}

.mob_fixed_contact__phone:hover .mob_fixed_contact__phone__box__icon {
	-webkit-transform: scale(1.08);
	transform: scale(1.08);
	transition: 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.mob_fixed_contact__phone__text {
	margin-left: auto;
	margin-right: auto;
}

.mob_fixed_contact__phone__box__icon {
	margin-left: 0.625rem;
	min-width: 2rem;
	max-width: 2rem;
	height: 2rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	background-color: #338DF5;
	color: #fff;
	transition: 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.mob_fixed_contact__phone__icon {
	width: 0.875rem;
	height: 1.25rem;
	-webkit-transform: rotate(2.69deg);
	transform: rotate(2.69deg);
	fill: currentColor;
	color: inherit;
	transition: 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.mob_fixed--whatsapp {
	margin: 0;
}

.mob_fixed--whatsapp .mob_fixed_contact__phone__box__icon {
	background-color: transparent !important;
}
.mob_fixed--whatsapp .mob_fixed_contact__phone__box__icon.gr {
	background-color: #49E670 !important;
	overflow: hidden;
}

.mob_fixed_contact__whatsapp__icon {
	max-width: 32px;
	max-height: 32px;
	width: 100%;
	height: 100%;
	fill: currentColor;
	color: #25d366;
}

.ss-menu-toggle-wrapper {
	display: flex;
	align-items: center;
	gap: 4px;
	justify-content:space-between;
}

.ss-submenu-toggle {
	padding: 0 35px;
	width: 20px;
	height: 20px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' fill='none'><path d='M12.5 7.5L8.5 11.5L4.5 7.5' stroke='white' stroke-linecap='round' stroke-linejoin='round'/></svg>");
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	transition: all 0.2s ease 0s;
}
.page_item_has_children.open .ss-submenu-toggle {
	rotate: 180deg;
}

.page_item_has_children .children {
	height: 0;
	overflow: hidden;
	transition: all 0.2s ease 0s;
	font-size: 0.8em;	
}

.page_item_has_children .children a{
	font-size: 15px;
    padding-right: 32px;
	padding-top: 16px;
	padding-bottom: 16px;
}

.page_item_has_children .children a::before{
	content: '-';
	margin-left: 10px;
}

.whatsapp-button, 
	.call-button {
		display: none !important;
	}


/* pulsar animation */


/* @media (min-width: 768px) { */
  .pulse-btn {
    animation: pulseWiggle 7.5s ease-in-out infinite; /* 2.5s анімація + 5s пауза */
    animation-delay: 2.5s; /* Затримка для першої іконки на початку */
  }

  .pulse-btn.delay-2 {
    animation: pulseWiggle 7.5s ease-in-out infinite;
    animation-delay: 5s; /* Друга іконка стартує через 5s */
  }
/* } */

@keyframes pulseWiggle {
  0%     { transform: translateX(0) rotate(0); }
  5%     { transform: translateX(-5%) rotate(-5deg); }   /* ≈0.375s */
  10%    { transform: translateX(5%) rotate(3deg); }    /* ≈0.75s */
  15%    { transform: translateX(-3%) rotate(-3deg); }  /* ≈1.125s */
  20%    { transform: translateX(2%) rotate(2deg); }    /* ≈1.5s */
  25%    { transform: translateX(-1%) rotate(-1deg); }  /* ≈1.875s */
  33.3%  { transform: translateX(0) rotate(0); }        /* ≈2.5s — кінець активної анімації */
  100%   { transform: translateX(0) rotate(0); }        /* Решта 5s = пауза */
}