/******/
/*** GLOBAL ***/
/******/

html {
	scroll-behavior: smooth;
	scroll-padding-top: 9rem;
}

.wpml-ls-statics-footer {
	display: none;
}

nav .wpml-ls-link {
	padding: 0 0;
}

.wpml-ul span {
	font-size: 0.875rem;
}

.wpml-ul {
	margin-block-end: 0;
	margin-block-start: 0;
}

.z-index-1 {
	z-index: 1;
}

nav a img {
	max-width: 30rem;
}

nav a, li {
	text-decoration: none;
  	font-optical-sizing: auto;
}

nav ul, footer ul {
	padding-inline-start: 0;
	list-style-type: none;
	float: left;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
	justify-content: center;
}

nav ul li {
	padding: 0 .5rem;
}

blockquote {
	border-left: solid .125rem red;
	padding: .25rem .25rem .25rem .125rem;
	margin-inline-start: 0;
	margin-inline-end: 0;
	padding-inline-end: .25rem;
	padding-inline-start: .75rem;
	background-color: var(--light-gray);
}

footer ul {
	padding-inline-start: 0!important;
}

footer ul li {
	padding: 0 1.5rem;
	margin-block-start: .0625rem;
}


.footer-logo img {
	width: 9.5rem;
}

.social-icons img, .contact-icons img {
	width: 1.5rem;
	margin-right: .5rem;
}

.social-icons a {
	text-decoration: none;
}

.contact-icons img {
	padding-right: 1rem;
}

.footer-documentation a {
	padding-right: .625rem;
}

.footer-links a {
	font-weight: 600;
	text-decoration: none;
}

.global-nav {
	position: fixed;
	width: 100%;
}

/* BUTTONS */

.button-container {
	padding: 1.25rem 0 .875rem 0;
	width: 100%;
}

.button-container-small {
	padding: .75rem 0;
	width: 100%;
}

a, a.button, .background-white .gform_footer input.gform_button, .background-white .gform_footer input.gform_button, input[type=password], form.post-password-form input[type=submit], a .article__body, .tags ul li a, p.button-mimic, .cta-menu a {
	cursor: pointer;
	-webkit-transition: all .2s ease-in-out, border .2s ease-in-out;
	-moz-transition: all .2s ease-in-out, border .2s ease-in-out;
	-o-transition: all .2s ease-in-out, border .2s ease-in-out;
	transition: all .2s ease-in-out, border .2s ease-in-out;
}

a.button, p.button-mimic, .cta-menu a, p.button-mimic {
	padding: .5rem .75rem .5rem .75rem;
	text-decoration: none;
}

a.text-link, p.text-link {
	text-decoration: none;
}

a.button:hover, nav a:hover, input[type=password]:hover, form.post-password-form input[type=submit]:hover, .gform_footer input.gform_button:hover, form.post-password-form input[type=submit]:hover, body .gform_wrapper .gform_footer input[type=submit]:hover, a .article__body:hover, p.button-mimic:hover, .cta-menu a:hover {
	opacity: .6!important;
}

a.text-link:after, p.text-link:after {
	content: '›';
	margin-left: .5rem;
}

/* GRAVITY FORMS */

.ginput_container input[type=text], .ginput_container input[type=email], .ginput_container textarea.textarea {
	padding: .5rem;
	font-size: 1rem!important;
	min-height: 2rem!important;
}

.gform_footer input.gform_button, input[type=password] {
	border-radius: .25rem!important;
	padding: .75rem!important;
}

.gform-theme--foundation .gfield textarea.medium {
	min-height: 20rem!important;
}

label.gform-field-label--type-inline) {
	width: 100%;
	float: left;
}

.gform-theme--foundation {
	--gf-form-gap-y: 1rem;
}

.gform-theme--foundation .gform_fields {
	grid-row-gap: 1rem!important;
	row-gap: 1rem!important;
}

.ginput_container input, .ginput_container textarea {
	border: solid .0625rem var(--finish-green)!important;
}

.gform_button, .gform-button {
	background-color: var(--evergreen) !important;
	text-transform: uppercase !important;
	color: var(--white);
	font-size: 0.875rem !important;
	font-weight: 600 !important;
}

.background-gray .gform_button {
	background-color: var(--finish-green) !important;
	color: var(--concrete-gray) !important
}

.banner .gform-footer {
	display: none !important;
}

.banner .gfield--type-email {
	margin-top: 10.1px;
}

.banner .gform-button {
	border-radius: 0 !important;
    letter-spacing: 0.05em !important;
	width: 100% !important;
}

.banner input {
	border-radius: 0 !important;
}

/* BANNER */

.banner-close {
	position: absolute;
	top: .75rem;
	right: .75rem;
	background: transparent;
	border: 0;
	font-size: 1.5rem;
	cursor: pointer;
	line-height: 1;
}

/* BLOG */

a.article {
	text-decoration: none;
}

/* NAV */
section.global-nav .navigation__links a{
	font-size: 0.875rem;
	text-transform: uppercase;
	font-weight: 600;
}

/* FOOTER */

.footer-menu ul {
	display: -webkit-box;
  	display: -webkit-flex;
  	display: -ms-flexbox;
  	display: flex;
  	align-items: flex-start;
  	justify-content: center;
	flex-wrap: wrap;
}

.footer-menu li {
	margin-bottom: .75rem;
}

/* COLUMNS */

section.columns .column {
	transition: background 0.3s ease;
	height: 25rem;
}

section.columns .column-image {
	display: block;
}

section.columns .column-image img {
	height: 300px;
	width: 300px;
	object-fit: cover;
}

section.columns .column-text {
	display: none;
	margin-left: 5%;
	margin-right: 5%;
}

section.columns .column:hover {
	background: var(--stone-khaki);
}

section.columns .column:hover .column-image {
	display: none;
}

section.columns .column:hover .column-text {
	display: block;
}

section.columns .column:hover p,  section.columns .column:hover h6 {
	color: var(--concrete-gray);
}

.columns p {
	margin-left: 5%;
	margin-right: 5%;
}

.column-border {
	margin-left: 33%;
	margin-right: 33%;
    width: 33%;
    margin-top: 1rem;
	border-top: solid .0625rem var(--stone-khaki);
}

section.columns .column:hover .column-border {
	border-color: var(--concrete-gray);
}

.column-title {
	margin-block-start: 1.5rem;
}

/* LISTING */

.image-gallery {
    display: flex;
    flex-wrap: wrap;
	align-items: stretch;
	padding: 1rem;
}

.gallery-item {
    display: block;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images maintain aspect ratio */
}

.image-width-100 { 
    width: calc(100% - .0625rem);
	padding-right: .0625rem;
	padding-bottom: .0625rem;
}

.image-width-50 { 
   	width: calc(50% - .0625rem);
    padding-right: .0625rem;
	padding-bottom: .0625rem;
}

.image-grid {
	display: flex;
	padding-top: .0625rem;
}

/* Height classes (relative to a row) */
.image-height-100 { height: 100%; }
.image-height-75 { height: 75%; }
.image-height-50 { height: 50%; }
.image-height-25 { height: 25%; }


/* SECTIONS */

#placeholder {
	height: 60vh;
}

#placeholder .grid-container, #placeholder .padding-equalize, #placeholder .column {
	height: 100%;
}

/* BACKGROUND IMAGE TEXT */
.background-image-text img {
	max-width: 18.75rem;
}

.background-image-text-title {
	text-transform: uppercase;
	color: var(--khaki);
}

.background-image-text .column img {
	width: 1.5rem;
}

/* CAREERS */

.career-item {
	background-color: var(--white);
}

.career-title {
	margin-block-end: 0;
}

.career-location {
	margin-block-start: 0;
}

.career-wrapper {
	display: flex;
    flex-direction: column;
    gap: 2rem; 
}


.faq-drawer__trigger:checked + .faq-drawer__title + .faq-drawer__content-wrapper {
    max-height: 1000vh !important;
}

section.careers-section .faq-drawer__title::after {
	top: -1.8rem;
}


@media screen and (max-width: 93.75rem) {
	
	section.careers-section .faq-drawer__title::after {
		top: -1.5rem;
	}
	
}

/* FAQs */

.faq-category-content {
	display: none;
}

.faq-category {
	cursor: pointer;
}

.faq-category-content.active {
	display: block;
}

.faq-category.active {
	color: #B2CC75;
}

.faq-title {
	color: var(--khaki);
}

.faq-categories {
	list-style-type: none;
	margin-top: 0;
	padding-left: 0;
}

.faq-border {
	border-bottom: solid .0625rem var(--green) !important;
}

#active-faq-title {
	text-transform: uppercase;
	color: #B2CC75;
}


/* FEATURES */

.feature-title {
	text-transform: uppercase;
}

.features-list {
    list-style: none; 
    padding: 0;
    margin: 0;
}

.features-list li {
    cursor: pointer; 
    padding: .625rem;
    color: #AAAAAA;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.features-list li.active { 
    background-color: var(--warm-khaki); 
    color: #000; 
}

/* FIXTURES */

.finish-shape {
    height: 6.25rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

section.fixtures-section .shape-left {
	width: 70%;
    clip-path: polygon(90% 0%, 100% 50%, 90% 100%, 0% 100%, 0% 0%);
}

section.fixtures-section .shape-right {
	width: 30%;
    clip-path: polygon(100% 0, 100% 100%, 0% 100%, 25% 50%, 0% 0%);
}

.finish-title {
    margin-top: 1rem;
}
	
.finish-item:nth-child(2n + 1) {
	padding-right: 1rem; /* Left item in pair */
}

.finish-item:nth-child(2n) {
	padding-left: 1rem; /* Right item in pair */
}

.finishes-page {
	display: none;
}
.finishes-page.active {
	display: block;
}
	
.finishes-tabs {
	gap: .625rem;
}

.finishes-tab {
    background-color: #E4DBCD;
    color: #000;
    border: none;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
}
	
.finishes-tab.active {
	background-color: #B2CC75;
}
	
section.fixtures-section .swiper-container {
    position: relative; /* This makes the nav arrows anchor here */
}
	
section.fixtures-section .swiper-button-prev,
section.fixtures-section .swiper-button-next {
	color: var(--evergreen);
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

section.fixtures-section .swiper-button-prev {
    left: 0;
}

section.fixtures-section .swiper-button-next {
    right: 0;
}

.fixture-pattern {
	padding-right: .3125rem;
}

.pattern-image img{
	height: 7rem;
}

.finish-image img {
	height: 31.25rem;
}

@media screen and (max-width: 93.75rem) {
	.finish-image img {
		height: 25rem;
	}
}

@media screen and (max-width: 63rem) {
	.finish-image img {
		height: 18.75rem;
	}
}

@media screen and (max-width: 47.9375rem) {
	.pattern-image img{
		height: 12.5rem;
	}
	
	
	.finish-image img {
		height: auto;
	}
	
	.finish-item:nth-child(2n + 1) {
		padding-right: 0rem;
	}

	.finish-item:nth-child(2n) {
		padding-left: 0rem;
	}
}


/* FLOORPLANS */

.floorplan {
	width: 48%;
	padding-right: 2%;
}

.floorplans-title {
	color: #05352F !important;
}

.floorplan-type {
	font-weight: 600;
}

.floorplan-container {
	gap: 1rem;
	display: flex;
}

.mobile-filters h4 {
	text-transform: none;
}


.floorplan-type, .filter-singlewide {
	background-color: var(--green);
	padding: .3125rem;
	color: var(--grey);
}

.doublewide, .filter-doublewide {
	background-color: var(--evergreen);
	color: var(--white);
}

.park_tiny, .filter-park_tiny {
	background-color: var(--warm-khaki);
	color: var(--gray);
}

.filter-type {
	padding: .3125rem;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.floorplan-photo {
	height: 12.5rem;
}

.floorplan-photo img {
	object-fit: cover;
	height: 100%;
}

span.price-number {
	font-size: 1.25rem;
	font-style: normal;
	font-weight: 600;
	line-height: 150%; /* 1.875rem */
	letter-spacing: -0.01875rem;
	color:var(--evergreen);
}

.floorplan-sqft {
	font-size: 1.25rem;
	font-style: normal;
	font-weight: 600;
	line-height: 150%; /* 1.875rem */
	letter-spacing: -0.01875rem;
}

/* GALLERY */

.gallery-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--concrete-gray) !important;
    overflow: hidden;
}

.gallery-modal-content {
    position: relative;
    width: 100%;
    height: 80%;
	margin-top: 5%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 93.75rem) {
	.gallery-modal-content {
		margin-top: 7%;
	}
}

@media screen and (max-width: 64.0625rem) {
	.gallery-modal-content {
		margin-top: 9%;
	}
}

@media screen and (max-width: 63rem) {
	.gallery-modal-content {
		margin-top: 11%;
	}
}

@media screen and (max-width: 47.9375rem) {
	.gallery-modal-content {
		margin-top: 20%;
	}
}

.gallery-modal-close {
    position: absolute;
    top: 0;
    right: 1.875rem;
    width: 3.125rem;
    height: 3.125rem;
    background-color: #B2CC75;
    color: #000;
    font-size: 1.625rem;
    font-weight: bold;
    line-height: 3.125rem;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 .125rem .5rem rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.gallery-modal .gallery-slider .slide {
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0;
}

.gallery-modal .slider-image {
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    display: block;
}
	
.gallery-modal .bx-wrapper, .gallery-modal .bx-viewport, .gallery-slider {
	height: 100% !important;
}

.bx-wrapper {
	border: none !important;
}
	
	
.gallery-slider img {
	width: 100vw!important;
	object-fit: contain;
	background-color: var(--concrete-gray) !important;
}

/* HISTORY */
.history-section {
	background: var(--concrete-gray)
}

/* INTRO FLOORPLAN*/

.category-name.active {
    font-weight: 600;
	border-bottom: .1875rem solid var(--green);
}

.category-description.active .category-text {
    display: block; /* Show the active category's text */
}

.category-description .category-text {
    display: none; /* Hide all category descriptions by default */
}


.khaki-detail {
	background-color: var(--stone-khaki);
	flex-grow: 1;
}

.green-detail {
	background-color: var(--green);
	flex-grow: 1;
}

.detail-container {
	align-items: stretch;
	gap: 2rem;
}

@media screen and (max-width: 47.9375rem) {
	.detail-container {
		gap: 1rem;
	}
}


/* INTRO HOME */

section.intro-home h1{
	text-transform: uppercase;
}

/* IMAGE TEXT COLUMN */

.column-item {
    position: relative;
}

.column-image-container {
    position: relative;
    overflow: hidden;
	height: 18.75rem;
	width: 100%;
}

.column-image {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
	object-fit: cover;
}

.column-text-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
	height: 75%;
    background-color: var(--warm-khaki);
	color: var(--black);
    text-align: center;
    transition: bottom 0.3s ease;
    clip-path: polygon(0% 25%, 0% 100%, 100% 100%, 100% 25%, 50% 0%);
	box-shadow: 0 -2.5rem 0 0 black;
}

.overlay-text {
	
}

.overlay-text p {
	padding-left: .3125rem;
	padding-right: .3125rem;
}

.column-item:hover .column-image {
    transform: scale(1.1);
}

.column-item:hover .column-text-overlay {
    bottom: 0;
}

.column-name {
    margin-bottom: .625rem;
}

.column-sqft {
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}

.background-gray .column-link {
	color: var(--evergreen);
}


/* IMAGES */

.images-slider {
  width: 100%;
  height: 31.25rem;
  overflow: hidden;
}

.slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bx-wrapper .bx-prev {
    left: 1.25rem !important;
    background: url('/wp-content/themes/marathon/assets/images/left-arrow.svg') no-repeat center center !important;
    background-size: contain !important;
    width: 2.5rem !important;
    height: 2.5rem!important;
}

.bx-wrapper .bx-next {
    right: 0!important;
    background: url('/wp-content/themes/marathon/assets/images/right-arrow.svg') no-repeat center center!important;
    background-size: contain !important;
    width: 2.5rem!important;
    height: 2.5rem!important;
}

.bx-wrapper .bx-prev::before,
.bx-wrapper .bx-next::before {
    content: none!important;
}

.bx-wrapper .bx-prev,
.bx-wrapper .bx-next {
    position: absolute!important;
    top: 50%!important;
    transform: translateY(-50%)!important;
    transition: none !important; 
}

.bx-wrapper .bx-prev:hover,
.bx-wrapper .bx-next:hover {
    transform: translateY(-50%) !important;
	background-position: 0 0 !important;
}

.bx-wrapper .bx-next, 
.bx-wrapper .bx-prev {
    background-position: 0 0!important; /* Normal state */
}

.bx-wrapper .bx-next:focus, 
.bx-wrapper .bx-next:hover, 
.bx-wrapper .bx-prev:focus, 
.bx-wrapper .bx-prev:hover {
    background-position: 0 0!important; /* Hover and focus state */
}

.bx-wrapper .bx-pager.bx-default-pager a.active, .bx-wrapper .bx-pager.bx-default-pager a:focus, .bx-wrapper .bx-pager.bx-default-pager a:hover {
    background: #B2CC75 !important;
}

.bx-wrapper .bx-pager.bx-default-pager a {
	background: #FEFEFE !important;
}

.bx-wrapper .bx-controls-auto, .bx-wrapper .bx-pager {
    margin-top: -3.75rem;
	bottom: auto;
}

/* LEADERSHIP */

.cursor-pointer {
    cursor: pointer; 
}

.member-photo-container {
	width: 400px;
	height: 400px;
}

.leadership-member-image {
	height: 100%;
	object-fit: cover;
}

.leadership-member-name {
	margin-block-start: 1.5rem;
	margin-block-end: 0;
}

.leadership-member-title {
	margin-block-start: 0;
}
.member-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
}

.member-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 1.875rem;
    width: 80%;
    max-width: 50rem;
    border-radius: .3125rem;
    box-shadow: 0 .25rem .5rem rgba(0,0,0,0.2);
    position: relative;
}

.member-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 1.75rem;
    font-weight: bold;
    cursor: pointer;
    color: #666;
}

.member-modal-close:hover {
    color: #333;
}

.member-modal-header {
    display: flex;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}

.member-modal-image {
    width: 9.375rem;
    height: auto;
    margin-right: 1.25rem;
    border-radius: .3125rem;
}

.member-modal-info {
    flex: 1;
}

.member-modal-name {
    margin-top: 0;
    margin-bottom: .3125rem;
}

.member-modal-title {
    margin-top: 0;
    color: #666;
}

.member-modal-body {
    line-height: 1.6;
}

@media (max-width: 47.9375rem) {
    .member-modal-content {
        width: 90%;
        margin: 20% auto;
        padding: 1.25rem;
    }
    
    .member-modal-header {
        flex-direction: column;
    }
    
    .member-modal-image {
        width: 100%;
        max-width: 1.25rem;
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* PROPERTIES */

section.properties .swiper-button-prev,
section.properties .swiper-button-next {
	color: var(--green);
}

/* STEPS */

.step-shape {
	width: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.step-shape1 {
	width: 100%;
	height: 20%;
	margin-bottom: -2rem;
	clip-path: polygon(0% 0%, 50% 0%, 100% 0%, 100% 100%, 50% 40%, 0% 100%);
}
.step-shape2 {
	clip-path: polygon(0% 100%, 0% 15%, 50% 0%, 100% 15%, 100% 100%);
	height: 80%;
}

.step-item {
	border-bottom: solid .3125rem #DCC6A6;
}

.step-icon-number {
	display: flex;
	align-items: center;
}

.step-icon-number img {
	margin-right: .625rem;
	width: 2.25rem;
}

.height-100 {
	height: 100%;
}

.step-image-container {
	min-height: 31.25rem;
}

@media screen and (max-width: 47.9375rem) {
	.step-shape1, .step-shape2 {
		margin-bottom: -3.3125rem;
	}
}

/* TITLE IMAGE */

.title-images-title {
	color: var(--stone-khaki);
}

.title-images-slider {
	position: relative;
}

.title-images-prev {
	left: -5rem;
}

.title-images-next {
	right: -5rem;
}

.title-images-slider {
	padding-left: 3rem;
	padding-right: 3rem;
}

.title-images-slider .title-image {
	height: 350px;
	object-fit: cover;
}

.title-images .swiper-button-next, .title-images .swiper-button-prev {
	color: var(--white);
}

/* VIDEO */
.vimeo-single {
	height: 70vh;
}

.no-padding {
	padding-left: 0;
	padding-right: 0;
}

.title-image {
	height: 100%;
	object-fit: cover;
}

@media screen and (max-width: 47.9375rem) {
	.vimeo-single {
		height: 35vh;
	}
}

@media screen and (min-width: 48rem) {
	
	/* NAV */
	
	.cta-container, .navigation__logo {
		width: 15rem;
	}
	
	.navigation__logo img {
		width: 75%;
	}
	
	.intro {
		padding-top: 8rem;
	}
	
}

@media screen and (min-width: 87.5rem) {
	
}

@media screen and (min-width: 64rem) {
	
}

@media screen and (max-width: 63.9375rem) {

}

@media screen and (max-width: 47.9375rem) {
	.mobile-padding {
		padding-top: 1rem;
	}
	
	.mobile-wrap {
		flex-wrap: wrap;
	}
	
	.floorplan {
		width: 100%;
	}
	
	.mobile-filters {
		display: flex;
		flex-wrap: wrap;
	}
	
	.mobile-filter {
		width: 50%;
	}
	
	.member-photo-container {
		width: auto;
		height: auto;
	}
}


.hidden {
	display: none;
}

.bx-slider img {
	max-width: 100%;
	max-height: 100%;
}