/*
Theme Name: The Smile Code
Description: Child theme
Author: Sidekick Digital
Author URI: https://sidekickdigital.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

.border-bottom-hover-a a {
	border-bottom: 1px solid transparent;
}
.border-bottom-hover-a a:hover {
	border-bottom: 1px solid #A4A69B;
}

.small-text-box p {
	background: #5B605959;
	width: fit-content;
	padding: 8px 48px;
}

/* Video Lightbox */
.video-lightbox-button img {
	transition: all .2s ease-out;
}
.video-lightbox-button:hover img {
	filter: brightness(80%);
}
.video-lightbox-button {
	position: relative;
	text-align: center;
}
.video-lightbox-button::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 124px;
	height: 124px;
	transform: translate(-50%, -50%);
	background: url(/wp-content/uploads/2026/05/smc-play-button.png) center / contain no-repeat;
	cursor: pointer;
	transition: transform .25s ease, opacity .25s ease;
}
.video-lightbox-button:hover::after {
	transform: translate(-50%, -50%) scale(1.1);
	opacity: .9;
}

.down-arrow {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.down-arrow::after {
	content: url(/wp-content/uploads/2026/05/down-arrow.png);
	display: block;
	margin-top: 10px;
}

.hover-scale-x span {
	overflow: visible !important;
}
.hover-scale-x img {
	transition: all 0.3s ease;
}
.hover-scale-x p,
.hover-scale-x h3 {
	color: #5B6059 !important;
	transition: all 0.3s ease;
}
.hover-scale-x:hover p,
.hover-scale-x:hover h3 {
	color: #A4A69B !important;
	font-weight: 700;
}
.hover-scale-x:hover img {
	transform: scaleX(1.5);
	filter: brightness(2.5);
	transform-origin: left center;
}

.services-border {
	border-top: 1px solid #a4a69b26;
	padding: 20px 0;
}
.services-border-last {
	border-top: 1px solid #a4a69b26;
	border-bottom: 1px solid #a4a69b26;
	padding: 20px 0;
}

/* Button Border */
.fusion-button.btn-border-hover {
	position: relative !important;
	border-left: none !important;
	border-right: none !important;
}
.fusion-button.btn-border-hover::before,
.fusion-button.btn-border-hover::after {
	content: '' !important;
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 1px !important;
	height: 20px !important;
	background-color: #a4a69b !important;
	transition: height 0.3s ease !important;
}
.fusion-button.btn-border-hover::before {
	left: 0 !important;
}
.fusion-button.btn-border-hover::after {
	right: 0 !important;
}
.fusion-button.btn-border-hover:hover::before,
.fusion-button.btn-border-hover:hover::after {
	height: 30px !important;
}
.fusion-button.btn-border-hover.dark::before,
.fusion-button.btn-border-hover.dark::after {
	background-color: #000000 !important;
}

.max-width-1920px > div {
	max-width: 1420px !important;
	margin: 0 auto !important;
}
.con-max-width-1900px {
	max-width: 1400px !important;
	margin: 20px auto !important;
}
.con-max-width-1900px .fusion-flex-content-wrap {
	max-width: 1300px !important;
}

.awb-toc-el__list-item--highlighted .awb-toc-el__item-anchor, .awb-toc-el__item-anchor:hover {
	text-decoration: underline;
}

.real-people-img-hover {
	position: relative !important;
	display: block !important;
}
.real-people-img-hover::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(164, 166, 155, 0);
	transition: background 0.3s ease;
	pointer-events: none;
	z-index: 1;
}
.real-people-hover {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	z-index: 2;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}
.fusion-layout-column:hover .real-people-img-hover::after {
	background: rgba(164, 166, 155, 0.70);
}
.fusion-layout-column:hover .real-people-hover {
	opacity: 1;
}
.real-people-text-hover p,
.real-people-hover p {
	color: #000 !important;
}

/* Hide header when off-canvas menu is active */
body:has(.awb-off-canvas-wrap.awb-show) .fusion-tb-header {
	opacity: 0 !important;
	pointer-events: none !important;
}
.fusion-tb-footer li span.menu-text {
	border-bottom: 1px solid transparent !important;
	transition: all 0.3s ease;
}
.fusion-tb-footer li.current-menu-item span.menu-text,
.fusion-tb-footer li:hover span.menu-text {
	border-bottom: 1px solid #a4a69b !important;
}

.load-more-btn button {
	width: auto;
	margin: 30px auto;
	text-transform: lowercase;
	border: 1px solid #A4A69B;
	padding: 14px 24px;
	line-height: 1;
}

/* Tab Section */
.reconstructive-tab-section {
	flex: 1;
	min-width: 200px;
	border: 1px solid #40494373;
	padding: 20px;
	box-sizing: border-box;
	transition: border 0.2s, background 0.2s;
}
.reconstructive-tab-section:hover {
	border: 1px solid #404943;
	background: #40494326;
}
.reconstructive-tab-section h4 {
	font-family: termina, Arial, Helvetica, sans-serif !important;
	font-weight: bold !important;
	font-size: 20px !important;
	line-height: 160% !important;
	text-transform: uppercase !important;
	color: #a4a69b !important;
	margin: 0 0 12px 0;
}
.reconstructive-tab-section p {
	font-family: termina, Arial, Helvetica, sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 160%;
	color: #a4a69b;
	margin: 0 !important;
}

.cosmetic-dentistry-hover-box:hover h3,
.cosmetic-dentistry-hover-box:hover p,
.cosmetic-dentistry-hover-box:hover a,
.cosmetic-dentistry-hover-box:hover li,
.cosmetic-dentistry-hover-box:hover span {
	color: #000000 !important;
}

.table-of-contents a.awb-toc-el__item-anchor {
	padding-left: 0 !important;
}

.tabs-content h3 {
	transition: all 0.3s ease;
}

.tabs-content li.active h3,
.tabs-content li:hover h3 {
	text-decoration: underline;
}

.airway-therapy-nav {
	margin: 0 !important;
}

.fusion-form-form-wrapper .fusion-form-field{
	margin-top: 0 !important;
	margin-bottom: 20px !important;
}
.fusion-form-form-wrapper .fusion-form-submit-field{
	margin-bottom: 0 !important;
}
.fusion-form-form-wrapper .fusion-form-submit-field{
	margin-bottom: 0 !important;
}
.fusion-form-tooltip{
	font-size: var(--awb-label-font-size, 1rem);
}
.fusion-form-checkbox label{
	padding: 0 0 0 1.6em !important;
}
.fusion-form-checkbox label a{
	color: inherit;
}
.fusion-form-checkbox label a:hover{
	color: var(--link_hover_color) !important;
}

.fusion-form-recaptcha-v3 {
	display: flex;
    justify-content: center;
}
@media screen and (max-width: 1024px) {
	.hero-subheading p {
		font-size: 20px !important;
	}
}
@media screen and (max-width: 768px) {
	.mobile-letter-spacing {
		letter-spacing: 5px !important;
	}
	.services-border h3,
	.services-border-last h3 {
		font-size: 16px !important;
	}
	.mobile-20px {
		font-size: 20px !important;
	}
	.mobile-18px {
		font-size: 18px !important;
	}
	.mobile-16px {
		font-size: 16px !important;
	}
	h1 {
		letter-spacing: 6px !important;
	}
	.hero-subheading,
	.hero-subheading h3,
	.hero-subheading p {
		letter-spacing: 5px !important;
		line-height: 1.2 !important;
	}
	.tabs-content .tab-colum {
		display: flex !important;
		flex-direction: column;
	}
}
@media screen and (max-width: 661px) {
	.justify-center-mobile > div {
		justify-content: center !important;
	}
}