/* 
Theme Name: McNeal Orthodontics
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.0
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 */

/*** layout ***/
/* default container padding */
.default-container-padding > .e-con-inner {
	padding-top: 4rem;
	padding-bottom: 4rem;
}
.elementor-widget-text-editor ul,
.elementor-widget-text-editor ol {
	margin-block-end: var(--widgets-spacing-column);
}

body {
	font-feature-settings: "lnum";
}

/* ----- Header----- */
/*
header {
	left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    transition: background .2s ease, transform .2s ease, opacity .2s ease-in .3s, box-shadow .2s ease;
    z-index:  100;
}
header.scroll-down {
  transform: translateY(-100%);
}
header.scroll-up {
  transform: translateY(0);
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
*/
#wp-admin-bar-top-secondary {
	display: none !important;
}
@media screen and (max-width: 1455px) and (min-width: 1025px) {
	header .elementor-nav-menu .elementor-item {
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding: 10px !important;
		font-size: 16px !important;
	}
	header .elementor-button {
		font-size: 16px !important;
		padding-left: 15px !important;
		padding-right: 15px !important;
	}
	.header-buttons-container {
		gap: 10px;
	}
}
header .elementor-sticky--effects {
	background: #ffffff !important;
}
.hero-min-height {
	height: 100vh;
	z-index: 1;
	background-position: 0 20%;
}
@keyframes bounce {
   0% {
    transform: translateZ(0);
	}
	35% {
		transform: translate3d(0, -12px, 0);
	}
	50% {
		transform: translateZ(0);
	}
	75% {
		transform: translate3d(0, -8px, 0);
	}
	100% {
		transform: translateZ(0);
	}
}
@media screen and (min-width: 1025px) {
	div[data-elementor-type="wp-page"] {
		margin-top: -102px !important;
	}
}
@media screen and (max-width: 1024px) {
	div[data-elementor-type="wp-page"] {
		margin-top: -96px !important;
	}
}
@media screen and (max-width: 768px) {
	div[data-elementor-type="wp-page"] {
		margin-top: -82px !important;
	}
}
.hero-main__down {
    bottom: 2rem;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
}

.hero-main__down-icon {
    animation: bounce 2.5s cubic-bezier(.39, .575, .28, .995) infinite;
    display: block;
    fill: #fffffb;
	width: 2rem;
}

.content-only {
	color: #fffffb;
    left: 50%;
    margin-left: 0;
    padding: 0 16px;
    position: absolute;
    text-align: center;
    top: 66%;
    transform: translate(-50%, -50%);
    width: 100%;
}
.header-menu nav > ul > li >  a:after {
    bottom: -.05rem;
    content: "";
    height: .125rem;
    left: 0;
    opacity: 0;
    position: absolute;
    transform: translateY(.25rem);
    transition: opacity .2s ease, transform .2s ease;
    width: 100%;
	background: #4f4f4f;
}
.header-menu nav > ul > li:hover  > a:after {
	opacity: 1;
    transform: translateY(0);
    transition: opacity .2s ease, transform .2s ease;
}
.header-menu .sub-menu {
	background: url(/wp-content/uploads/2026/01/marble.1b19e78.jpg) no-repeat;
	box-shadow: 0 4px 6px 0 rgba(79, 79, 79, .07), 0 3px 13px -4px rgba(79, 79, 79, .18);
    left: 0;
    padding: .9rem 1.75rem!important;
    position: absolute;
}

.header-menu .elementor-nav-menu--layout-horizontal .elementor-nav-menu>li ul,
.header-menu .elementor-nav-menu--layout-horizontal .elementor-nav-menu>li>.scroll-down {
	top: 99%!important
}


.title-box h2 {
	position: relative;
	display: inline-block;
}
.title-box h2:after {
	background-color: #B79740;
	background: linear-gradient(135deg, #8c6f3a, #B79740, #8c6f3a);
    bottom: -2rem;
    content: "";
    height: .375rem;
    left: 0;
    max-width: 13.75rem;
    position: absolute;
    width: 50%;
}

.title-box-main h2.is-visible:after {
	background-color: #B79740;
	background: linear-gradient(135deg, #8c6f3a, #B79740, #8c6f3a);
    bottom: -2rem;
    content: "";
    height: .375rem;
    left: 0;
    max-width: 13.75rem;
    position: absolute;
    width: 0;
	animation: underlineGrow 1.8s ease-out forwards;
}

@keyframes underlineGrow {
  to {
    width: 50%;
  }
}
.title-box-long h2:after {
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
}
.title-box-fullwidth h2:after {
	width: 100%;
}
/* ----- Button Styles----- */
.btn-secondary a.elementor-button {
	position: relative;
	z-index: 10;
    background: linear-gradient(120deg, #8c6f3a, #b79d56, #8c6f3a, #b79d56);
}
.btn-secondary a.elementor-button:hover {
	    transition: background .2s ease, border .2s ease, color .2s ease, background-position .5s ease .2s;
}
.block-button__button--primary {
   background: linear-gradient(120deg, #8c6f3a, #b79d56, #8c6f3a, #b79d56);
    background-position: 100% 0;
    background-size: 200% 100%;
    border: 2px solid #8c6f3a;
    overflow: hidden;
    padding: 1rem 2rem;
    position: relative;
    text-transform: uppercase;
}
.block-button__button--primary:hover {
	background-position: 0 0;
}
.btn-secondary a.elementor-button:after {
	background: url(/wp-content/uploads/2026/01/marble.1b19e78.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    content: "";
    height: 100%;
    left: 0;
    opacity: .7;
    position: absolute;
    top: 0;
    transition: opacity .2s ease;
    width: 100%;
}
.btn-secondary-bg a.elementor-button:after {
	opacity: 1;
}
.elementor-6 .elementor-element.elementor-element-7026628 .elementor-button:hover, .elementor-6 .elementor-element.elementor-element-7026628 .elementor-button:focus {
	 background: linear-gradient(120deg, #8c6f3a, #b79d56, #8c6f3a, #b79d56);
}
.btn-secondary  a.elementor-button span {
	z-index: 10;
	position: relative;
}
.btn-secondary-bg a.elementor-button {
	background: transparent;
}

.follow-icons .elementor-grid-item {
	margin-right: 4rem;
}
.follow-icons .elementor-grid-item:hover {
	filter: drop-shadow(2px 2px 2px rgba(79, 79, 79, .3));
}

.btn-secondary a.elementor-button:hover:after {
	display: none;
}
/* ----- Images Box----- */
.base-image:after {
	background: linear-gradient(0deg, rgba(79, 79, 79, .9), rgba(79, 79, 79, .3) 40%, rgba(79, 79, 79, 0) 80%);
    z-index: 1;
	content: "";
	width: 100%;
	height:100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	transition: opacity .2s ease;
}
.base-image * {
	position: relative;
	z-index: 19;
}
.base-image:hover:after {
	background: linear-gradient(
		to top,
		rgba(198, 178, 122, 0.92),
		rgba(198, 178, 122, 0.47)
	);
    z-index: 2;
	opacity: 1;
}
.base-image .base-title h3:after {
    border-bottom: 2px solid #fffffb;
    bottom: -.25rem;
    content: "";
    left: 0;
    position: absolute;
    transform: translateY(1rem);
    transition: transform .2s ease;
    width: 100%;
	opacity: 0;
}
.base-image:hover .base-title h3:after {
    transform: translateY(0);
	opacity: 1;
}

/* ----- Testimonials Carousel----- */
.slider-box {
/* 	max-height: 23.125rem;
    overflow: auto; */
    position: relative;
}
.slider-box .elementor-testimonial__footer {
	justify-content: end!important;
}
.slider-box .elementor-testimonial__cite {
	font-size: 1.125rem;
}
.slider-box .elementor-testimonial__name {
	text-align: right;
	font-style: italic;
	font-size: 1.125rem;
	font-weight: 600;
}
.slider-box .elementor-swiper-button-prev {
	align-items: center;
    border: 1px solid #2F343C;
    cursor: pointer;
    display: flex;
    height: 3rem;
    justify-content: center;
    margin-right: 1.25rem;
    transition: background .2s ease;
    width: 3rem;
	top: 96%!important;
	left: 6%!important;
}
.slider-box .elementor-swiper-button-next {
	align-items: center;
    border: 1px solid #2F343C;
    cursor: pointer;
    display: flex;
    height: 3rem;
    justify-content: center;
    margin-right: 1.25rem;
	top: 96%!important;
    transition: background .2s ease;
    width: 3rem;
	left: 14%!important;
}
.slider-box .elementor-testimonial__footer {
	padding-bottom: 100px;
}
.slider-box .swiper-pagination-fraction {
	width: 100px;
    left: 200px;
    bottom: -10px!important;
}
.elementor-element .swiper .elementor-swiper-button svg, 
.elementor-element .swiper~.elementor-swiper-button svg, 
.elementor-lightbox .swiper .elementor-swiper-button svg,
.elementor-lightbox .swiper~.elementor-swiper-button svg {
	fill: rgb(47 52 60);
}
.slider-box .elementor-swiper-button-next:hover, .slider-box .elementor-swiper-button-prev:hover{
	background: rgba(183, 151, 64,1);
}
.slider-box .elementor-swiper-button-next:hover svg, .slider-box .elementor-swiper-button-prev:hover svg {
	fill: #fffffb!important;
}
/* ----- Footer----- */
.footer-menu li {
	margin: 0 19px;
}
.footer li:first-child {
	margin-left: 0;
}
.footer-copyright p {
	margin-bottom: 0;
}
.footer-menu a.elementor-item:after { opacity: 0;}
.footer-menu a.elementor-item:hover:after, .e--pointer-double-line .elementor-item:before,
.e--pointer-overline .elementor-item:after, .e--pointer-overline .elementor-item:before,
.footer-menu a.elementor-item:hover:after, .e--pointer-underline .elementor-item:before{
	background-color: #fff;
	opacity: 1;
}

.mobile-menu a.elementor-item:after, .mobile-menu .elementor-item:after { opacity: 0!important; background: transparent!important;}
.e--pointer-double-line .elementor-item:after, .e--pointer-double-line .elementor-item:before, .e--pointer-overline .elementor-item:after, .e--pointer-overline .elementor-item:before, .e--pointer-underline .elementor-item:after, .e--pointer-underline .elementor-item:before {
	background-color: transparent!important;
}
.mobile-top-side {
    background: #fffffb;
    height: 100vh;
    max-width: 480px;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition: transform .225s cubic-bezier(.65, .025, .67, .36);
    width: 100%;
    z-index: 3;
    max-width: 480px!important;
}
.close-btn {
    cursor: pointer;
    display: block;
    font-weight: 600;
    height: 100%;
    letter-spacing: .035em;
	position: absolute;
	right: 0;
	top: 1rem;
    transition: background .2s ease, color .2s ease;
}
.mobile-top-side .mobile-menu ul.elementor-nav-menu >  li {
	border-bottom: 1px solid rgba(47, 52, 60, 0.2);
}
.mobile-top-side .mobile-menu ul.elementor-nav-menu >  li > a {
	 display: flex;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
    padding: 1.5rem 2rem;
    transition: background .3s ease;
    width: 100%;
}

.mobile-top-side .mobile-menu ul.elementor-nav-menu li a.has-submenu {
	    justify-content: space-between;
}
.mobile-top-side.active {
    transform: translateX(0);
    transition: transform .365s cubic-bezier(.34, .615, .4, .985);
	z-index: 100;
}
.mobile-top-side .mobile-menu ul.elementor-nav-menu li .sub-menu {
	margin-left: 0!important;
    position: relative;
}
/* .mobile-btn-open.noactive {
  opacity: 0;
  pointer-events: none;
} */
.navigation__hamburger {
	cursor: pointer;
    height: 3.125rem;
    padding: .5rem;
    width: 3.125rem;
	margin-top: 12px;
}
.navigation__hamburger span {
    background: #4f4f4f;
	display: block;
    height: .1875rem;
    transition: background .2s ease, transform .2s ease;
    width: 100%;
}

.navigation__hamburger span:not(:last-child) {
    margin-bottom: .375rem;
}
.menu-open:before {
	background: rgba(79, 79, 79, .4);
	height: 100vh;
    width: 100%;
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
	overflow: hidden;
    touch-action: none;
	overscroll-behavior: none;
}

.menu-open {
		overflow: hidden;
    touch-action: none;
	overscroll-behavior: none;
}
@media screen and (max-width: 767px) {
	.slider-box .elementor-swiper-button-next {
		left: 27% !important;
	}
	.slider-box .swiper-pagination-fraction {
		display: none;
	}
}


.accordion-section .e-n-accordion-item:last-child .e-n-accordion-item-title {
	border: 0!important
}

.accordion-section .e-n-accordion-item[open] {
  border-bottom: 1px solid #4F4F4F;
}
.accordion-section .e-n-accordion-item[open]:last-child {
	 border-bottom: none;
}

.bg-before:before {
	content: "";
		background: url(/wp-content/uploads/2026/01/marble.1b19e78.jpg);
    background-repeat: no-repeat;
    background-size: 100%;align-content;
	position: absolute;
	top: 0;
	right: 0;
}

.block-contact-location__hours-list {
    margin: 0;
    padding: 0;	
}

.block-contact-location__row {
    align-items: center;
    display: flex;
    gap: .5rem;
    justify-content: space-between;
    line-height: 1.3;
    list-style: none;
    min-width: -moz-fit-content;
	min-width: fit-content;
	margin-bottom: 10px;
}
.block-contact-location__day {
    text-wrap: balance;
	width: 100px;
}
.block-contact-location__hours {
    text-align: right;
}

.block-contact-location__hours-list p {
	margin-bottom: 0;
}

.contact-form .gform_required_legend {
	display: none;
}

.contact-form .gform-theme--framework .gfield--type-choice .gfield_checkbox, .contact-form  .gform-theme--framework .gfield--type-choice .gfield_radio{
	flex-direction: row;
}


.contact-form input, .contact-form textarea {
	appearance: none;
    border: .0625rem solid #ccc!important;
    border-radius: 0;
    padding: .75rem;
	box-shadow: none!important;
}
.contact-form input[type="submit"]:focus {
  outline: none;
  box-shadow: none;
}
.contact-form .gform_wrapper input::placeholder,
.contact-form .gform_wrapper textarea::placeholder {
	color: #4f4f4f;
    font-size: 18px;
}
.contact-form .gform-field-label {
	font-size: 18px!important;
}


body .contact-form input[type="submit"] {
	background: url(/wp-content/uploads/2026/01/marble.1b19e78.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    height: 100%;
    width: 100%;
	border: 2px solid rgba(183, 151, 64, 1)!important;
	color: #4f4f4f!important;
	font-family: "Cormorant Garamond"!important;
    z-index: 2;
	padding: 1rem 2rem!important;
    font-size: 18px!important;
	text-transform: uppercase!important;
    font-weight: 700!important;
    border-radius: 0!important;
    cursor: pointer;
    appearance: none;

}
body .contact-form .gform-theme--foundation .gform_fields {
	row-gap: 20px;
}
body .contact-form input[type="submit"]:hover {
	color:#fff!important;
}
.gform-theme--framework input[type=checkbox]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *))::before {
	background: rgba(183, 151, 64, 1);
	color: transparent!important;
	outline: none;
}

.tech-image {
	display: none;	
	width:100%;	
	height:auto;
}

.tech-image {
  transition: opacity 0.5s ease-in-out;
  opacity: 0;
  position: absolute; /* чтобы все картинки накладывались */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.tech-image.active {
  display: block;
  opacity: 1;
}
#tech-image-container {
  position: relative;
  width: 100%;
  height: 400px; /* или под твой макет */
  overflow: hidden;
}

