/* 
Theme Name: Horsley 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 */

/*** nav ***/
.menu-item-140 .sub-arrow { 
	display: none; 
}

/* scroll shadow */
.scroll-element.scroll-sticky {
	box-shadow: 0px 15px 10px -15px rgba(119,122,126,.16);
		-webkit-box-shadow: 0px 15px 10px -15px rgba(119,122,126,.16);
}

/*** responsive ***/

/* typography */
@media screen and (max-width: 1024px) {
    /* headings */
    .h1, h1 {
        font-size: calc(1.375rem + 1.5vw) !important;
    }
    .h2, h2 {
        font-size: calc(1.325rem + 0.9vw) !important;
    }
    .h3, h3 {
        font-size: calc(1.3rem + 0.6vw) !important;
    }
    .h4, h4 {
        font-size: calc(1.275rem + 0.3vw) !important;
    }
    .h5, h5 {
        font-size: 1.25rem !important;
    }
    .h6, h6 {
        font-size: 1rem !important;
    }
	/** elementor custom fonts **/
	.elementor-heading-title {
		
		/* display 1 */
		--e-global-typography-36ce84c-font-size: calc(1.625rem + 2.5vw) !important;
		
		/* h1 */
		--e-global-typography-1688fd1-font-size: calc(1.375rem + 1.5vw) !important;

		/* h2 */
		--e-global-typography-1f92a74-font-size: calc(1.325rem + 0.9vw) !important;

		/* h3 */
		--e-global-typography-68addcc-font-size: calc(1.3rem + 0.6vw) !important;
	
		/* h4 */
		--e-global-typography-2f8c978-font-size: calc(1.275rem + 0.3vw) !important;
		
	}
}
/* hide elements */
@media screen and (min-width: 1025px) {
	.hide-desktop {
		display: none !important;
	}
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
	.hide-tablet {
		display: none !important;
	}
}
@media screen and (max-width: 767px) {
	.hide-mobile {
		display: none !important;
	}
}

/*** global styles ***/

/* margin top auto */
.mt-auto {
	margin-top: auto;
}

/* bold font weight */
.elementor-widget-text-editor strong {
	font-weight: 700;
}

/** images aligned within text **/
@media screen and (max-width: 768px) {
	.elementor-widget-text-editor .elementor-widget-container:has(img.alignright) {
		display: flex;
		flex-direction: column-reverse;
	}
	.elementor-widget-text-editor .elementor-widget-container img {
		display: block;
		float: none;
		clear: both;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 30px;
	}
	.elementor-widget-text-editor .elementor-widget-container img.alignright {
		margin-top: 20px;
		margin-bottom: 20px;
	}
}

/** default container padding **/
.container .e-con-inner,
.default-container-padding .e-con-inner {
	padding-top: var(--container-padding-y);
	padding-bottom: var(--container-padding-y);
	padding-left: 15px;
	padding-right: 15px;
}
@media screen and (min-width: 1025px) {
  	.container .e-con-inner,
	.default-container-padding .e-con-inner {
		--container-padding-y: 6.25rem;
	}
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
	.container .e-con-inner,
	.default-container-padding .e-con-inner {
		--container-padding-y: 3.75rem;
	}
}
@media screen and (max-width: 767px) {
	.container .e-con-inner,
	.default-container-padding .e-con-inner {
		--container-padding-y: 3.125rem;
	}
}

/** boxed left/right section **/
.width-margin {
	margin-left: auto;
	margin-right: auto;
}
@media screen and (min-width: 1025px) {
	.width-margin {
		max-width: calc(100vw - 60px) !important;
	}
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
	.width-margin {
		max-width: calc(100vw - 40px) !important;
	}
}
@media screen and (max-width: 767px) {
	.width-margin {
		max-width: calc(100vw - 20px) !important;
	}
}

/** hero min height **/
@media screen and (min-width: 1025px) {
	.hero-min-height {
		--header-height: calc(107px + 30px);
		min-height: calc(100vh - var(--header-height));
	}
	.logged-in .hero-min-height {
		--header-height: calc(139px + 30px);
	}
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
	.hero-min-height {
		min-height: calc(100vh - var(--header-height));
	}
	.hero-min-height {
		--header-height: calc(83px + 30px);
	}
	.logged-in .hero-min-height {
		--header-height: calc(115px + 30px);
	}
}
@media screen and (max-width: 767px) {
	.hero-min-height {
		min-height: 350px;
		aspect-ratio: 4 / 3;
	}
}

/* list styling */
.elementor-widget-text-editor ul,
.elementor-widget-text-editor ol {
	margin-block-end: var(--widgets-spacing-column);
}

/** buttons **/

/* default button */
.elementor-widget-button .elementor-button,
.elementor-widget-button.button-primary .elementor-button {
	background: linear-gradient(180deg, #F4E6C4 7.21%, #C2A854 100%);
	color: #000000;
	font-size: 16px;
	font-weight: 400;
	padding: 12px 24px;
	border-radius: 10px;
	opacity: 1;
	transition: .2s all ease-in-out;
}
/* secondary / emphasis button */
.elementor-widget-button .elementor-button:hover,
.elementor-widget-button.button-primary .elementor-button:hover,
.elementor-widget-button .elementor-button:active,
.elementor-widget-button.button-primary .elementor-button:active {
	opacity: .8;
	transition: .2s all ease-in-out;
}
/* excluding for global style in elementor 
.elementor-widget-button.button-secondary .elementor-button {
	background: linear-gradient(0deg, #CB8F3D 7.21%, #F5EBA7 100%);
	text-transform: uppercase;
	font-weight: 700;
}
*/
/*** single pages ***/

/** blog **/

/* read more button */
.elementor-post__read-more-wrapper {
	margin-top: 15px;
	margin-bottom: 10px;
}
.elementor-post__read-more {
	background: linear-gradient(180deg, #F4E6C4 7.21%, #C2A854 100%);
	color: #000000 !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	padding: 12px 24px;
	border-radius: 10px;
	transition: .2s all ease-in-out;
}
.elementor-post__read-more:hover,
.elementor-post__read-more:active {
	opacity: .8;
	transition: .2s all ease-in-out;
}

/** team **/
.team-grid > .e-child {
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
}

/** gravity forms **/
/* required */
.gform_required_legend {
	display: none;
}
/* fields */
.gform_fields {
	--gf-form-gap-y: 20px;
	--gf-ctrl-size: 50px !important;
	--gf-ctrl-outline-color-focus: transparent;
	--gf-ctrl-border-color: #adadad;
	--gf-ctrl-border-color-focus: var( --e-global-color-secondary ) !important;
	--gf-ctrl-radius: 10px !important;
}
.gfield_select,
.gform_body input,
.gform_body textarea,
.gform_body input::placeholder {
	color: #000000 !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	border-radius: 10px !important;
	box-shadow: none !important;
}
/* submit */
.gform-footer .gform_button:hover,
.gform-footer .gform_button:active {
	opacity: .8;
	transition: .2s all ease-in-out;
}
.gform-footer .gform_button {
	background: linear-gradient(0deg, #CB8F3D 7.21%, #F5EBA7 100%);
	text-transform: uppercase !important;
	font-weight: 700 !important;
	color: #000000 !important;
	font-size: 16px !important;
	padding: 12px 24px !important;
	border-radius: 10px !important;
	opacity: 1 !important;
	transition: .2s all ease-in-out !important;
	line-height: 1em !important;
	letter-spacing: 0.5px !important;
	border-style: none !important;
}