/* 
Theme Name: Hello Elementor Child
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 */

/* General */
.no-margin-bot div p {
    margin-bottom: 0;
}

a {
	transition: color .3s ease;
}

/* list */
.space-after-list li {
	margin-bottom: 0.9rem!important;
}

/* center list */
.center-list div ul {
	list-style-position: inside;
	padding-left: 0;
}

.center-list div ul li span {
	margin-left: -10px;
}

/*
a svg {
	transition: opacity .2s ease!important;
}

a svg:hover {
	opacity: 0.7;
}*/

/* Icon fix */
.elementor-icon-wrapper {
	line-height: 0!important;
}

.icon-image .elementor-icon svg {
    width: 100%!important;
	height: auto!important;
}

.elementor-icon svg {
	transition: fill .2s ease;
}

/* Icon List Fix */
.elementor-icon-list-item a {
	align-items: center!important;
}

.elementor-icon-list-item .elementor-icon-list-icon svg {
	transition: fill 0.2s ease;
}

.elementor-icon-list-item .elementor-icon-list-text {
	transition: color 0.2s ease;
}

.elementor-icon-list-icon {
	line-height: 0!important;
}

/* Icon Button Fix */
.elementor-button-content-wrapper .elementor-button-icon {
    display: flex;
    align-items: center;
}

/* Elementor Icon normalize */
.icon-normal div div .elementor-icon svg {
	height: auto!important;
}

/* Icon hover transition */
a.elementor-icon i {
	transition: color 0.3s ease;
}

/* Webkit shear x fix */
#Search::-webkit-search-cancel-button {
    color: var( --e-global-color-primary );
}

/* remove button outline */
[type=submit], 
[type=submit]:focus,
button,
button:focus {
    outline: none!important;
	border: none;
}

/* Remove field focus-visible */
:focus-visible {
    outline: none;
}

/* remove safari form styling */
input[type=text], input[type=email], input[type=tel], textarea, input[type=button] {   
    -webkit-appearance: none;
    -moz-appearance: none;
	-webkit-border-radius: 0;
    appearance: none;
}

/* Visually Hidden */
.visually-hidden {
	font-size: 0!important;
	width: 1px!important;
	height: 1px!important;
	display: inline-block!important;
	overflow: hidden;
	position: absolute!important;
	border: 0!important;
	padding: 0!important;
	margin: 0!important;
	clip: rect(1px,1px,1px,1px);
}

.elementor-editor-active .visually-hidden {
font-size: inherit!important;
	width: inherit!important;
	height: inherit!important;
	display: inherit!important;
	overflow: inherit!important;
	position: inherit!important;
	border: inherit!important;
	padding: inherit!important;
	margin: inherit!important;
}

/* popup close button */
.dialog-close-button svg {
	transition: fill 0.3s ease;
}

/************/
/* Specific */
/************/
/* type */
.text-primary {
	color: var(--e-global-color-secondary);
}

/* Animated Highlight */
span.highlight {
    display: inline-block;
    position: relative;
}

span.highlight:before {
    display: block;
    content: "";
    position: absolute;
    background: var( --e-global-color-88b10a7 );
    left: 0;
    bottom: 0;
    width: 100%;
    height: 40%;
    z-index: -1;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transition: -webkit-transform 1s cubic-bezier(.15,.75,.4,1), opacity 0.25s ease;
    transition: transform 1s cubic-bezier(.15,.75,.4,1), opacity 0.25s ease;
}

span.highlight.animated:before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}


/* Sticky Header */
/*
.sticky-header .e-con-inner,
.sticky-header-community .e-con-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
	align-items: end!important;
	align-content: start!important;
}

@media (max-width: 1024px) {
    .sticky-header .e-con-inner,
	.sticky-header-community .e-con-inner {
        grid-template-columns: auto auto;

    }
}

.sticky-header,
.sticky-header-community {
    width: 100%!Important;
}

.sticky-header.elementor-sticky--effects {
	background-color: var( --e-global-color-d8bad1e )!important;
	transition: all 0.3s ease;
}
*/

#SW-wordmark,
#SW-wordmark div,
#SW-wordmark div a {
	line-height: 0;
}
.sticky-header #Starwood-Homes-Logo-anim svg {
	overflow: visible;
    fill: var( --e-global-color-secondary )!important;
}

.sticky-header #Starwood-Homes-Logo-anim:hover svg {
    fill: var( --e-global-color-primary )!important;
}

@media (max-width: 1024px) {
	#Starwood-Homes-Logo-anim svg {
		width: 170px;
		height: auto;
	}
}

@media (max-width: 767px) {
	#Starwood-Homes-Logo-anim svg {
		width: 140px;
		height: auto;
	}
}

.sticky-header-community #Starwood-Homes-Logo-anim svg {
	overflow: visible;
    fill: #fff;
}

.sticky-header-community #Starwood-Homes-Logo-anim:hover svg {
    fill: var( --e-global-color-primary );
}

.sticky-header-community.elementor-sticky--effects #Starwood-Homes-Logo-anim svg {
    fill: var( --e-global-color-secondary );
}

.sticky-header-community.elementor-sticky--effects #Starwood-Homes-Logo-anim:hover svg {
    fill: var( --e-global-color-primary );
}

.sticky-header-community.elementor-sticky--effects {
	background-color: var( --e-global-color-d8bad1e );
	transition: all 0.3s ease!important;
}

.sticky-header-community.elementor-sticky--effects .elementor-icon svg {
	fill: var( --e-global-color-secondary )!important;
}

.sticky-header-community.elementor-sticky--effects .elementor-icon:hover svg {
	fill: var( --e-global-color-primary )!important;
}
/*
.sticky-header-community.elementor-sticky--effects .elementor-nav-menu--main .elementor-item {
	color: var( --e-global-color-primary )!important;
}

.sticky-header-community.elementor-sticky--effects .elementor-nav-menu--main .elementor-item:hover {
	color: var( --e-global-color-secondary )!important;
}
*/
/* Header Animations */
.logo-grid .e-con-inner {
    display: grid;
	grid-template-columns: min-content;
	align-items: center;
	justify-items: center;
}

@media (max-width: 767px) {
    .logo-grid .e-con-inner {
    	justify-items: start;
    }
}

.logo-grid .e-con-inner #SW-symbolmark,
.logo-grid .e-con-inner #SW-wordmark {
    grid-row-start: 1;
	grid-column-start: 1;
	transition: opacity 1.3s ease;
	z-index: 1;

}

.logo-grid .e-con-inner .logo-hidden {
	opacity: 0!important;
	z-index: 0!important;
}

#Starwood-Homes-Logo-anim {
    overflow: visible;
}

#Starwood-Homes-Logo-anim .starwood-letter,
#Starwood-Homes-Logo-anim .homes-letter {
    transform: translateX(50px);
    opacity: 0;
    transition: all 0.5s ease;
}

#Starwood-Homes-Logo-anim .starwood-letter.SW-fadein,
#Starwood-Homes-Logo-anim .homes-letter.SW-fadein {
    transform: translateX(0px);
    opacity: 1;
}

/* Portfolio Gallery */
.portfolio-gallery .elementor-widget-container .e-gallery-grid {
	grid-template-columns: repeat(9, 1fr);
	grid-template-rows: auto;
	transition-property: none!important;
}

.portfolio-gallery .e-gallery-grid .e-gallery-item,
.portfolio-gallery .e-gallery-grid .e-gallery-item div.e-gallery-image,
.portfolio-gallery .e-gallery-grid .e-gallery-item div.elementor-gallery-item__overlay {
	height: 500px;
	transition-property: none!important;
}

@media (max-width: 1024px) {
	.portfolio-gallery .e-gallery-grid .e-gallery-item,
	.portfolio-gallery .e-gallery-grid .e-gallery-item div.e-gallery-image,
	.portfolio-gallery .e-gallery-grid .e-gallery-item div.elementor-gallery-item__overlay {
		height: 300px;
	}
}

@media (max-width: 767px) {
	.portfolio-gallery .e-gallery-grid .e-gallery-item,
	.portfolio-gallery .e-gallery-grid .e-gallery-item div.e-gallery-image,
	.portfolio-gallery .e-gallery-grid .e-gallery-item div.elementor-gallery-item__overlay {
		height: 260px;
	}
}

.portfolio-gallery .e-gallery-grid .e-gallery-item:nth-child(5n+1) {grid-column: span 4;}
.portfolio-gallery .e-gallery-grid .e-gallery-item:nth-child(5n+2) {grid-column: span 5;}
.portfolio-gallery .e-gallery-grid .e-gallery-item:nth-child(5n+3) {grid-column: span 3;}
.portfolio-gallery .e-gallery-grid .e-gallery-item:nth-child(5n+4) {grid-column: span 3;}
.portfolio-gallery .e-gallery-grid .e-gallery-item:nth-child(5n+5) {grid-column: span 3;}

@media (max-width: 767px) {
	.portfolio-gallery .e-gallery-grid .e-gallery-item {grid-column: span 9!important;}
}

/* container gallery */

/* Gravity Forms */
.gform_wrapper .gform_footer {
    justify-content: center;
}

.gform_wrapper .gform_footer input.gform_button {
    border: 1px solid var(--e-global-color-secondary)!important;
    border-radius: 100px!important;
    background-color: transparent!important;
    color: var(--e-global-color-secondary)!important;
    padding: 12px 24px!important;
    font-family: var(--e-global-typography-d9b37ef-font-family), Sans-serif!important;
    font-size: var(--e-global-typography-d9b37ef-font-size)!important;
    font-weight: var(--e-global-typography-d9b37ef-font-weight)!important;
    text-transform: var(--e-global-typography-d9b37ef-text-transform)!important;
    letter-spacing: var(--e-global-typography-d9b37ef-letter-spacing)!important;
    box-shadow: none!important;
}

.gform_wrapper .gform_footer input.gform_button:hover {
    background-color: var(--e-global-color-secondary)!important;
    color: #fff!important;
}

/* Jet Engine Fixes */
h1, h2, h3, h4, h5, h6 {
    margin-block-start: 0;
    margin-block-end: 0;
}

/* Footer */

@media (max-width: 1024px) {
	.footer-menu .elementor-widget-container nav ul li a {
		justify-content: center;
	}
}

.footer-copyright a {
	color: var(--e-global-color-accent);
}

.footer-copyright a:hover {
	color: var(--e-global-color-secondary);
}