:root {
    --primaryColor: #0067B1;  // Saddlebrook Blue
    --secondaryColor: #B5985A; // Saddlebrook Gold
    --tertiaryColor: #2A465A; // Saddlebrook Dark Blue
    --color-grey-dark: #5E717F;
    --color-grey-mid: #64727C;
    --color-grey-light: #8A9AA5;
    --highest-zindex: 2147483647;
}

/***************************************************
/* Global Overrides */
/***************************************************/

.hdr {
    z-index: calc(var(--highest-zindex) - 2) !important;
}
header.hfixed .navbar-default {
    box-shadow: unset !important;
}
#testimonials {
    max-width: 100vw !important;
    height: fit-content;
}
#updates {
    max-width: 100vw !important;
}
section.pswp__scroll-wrap {
    max-width: 100% !important;
}


/***************************************************
/* Utilities */
/***************************************************/

.flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.grid-item {
    height: 100%;

    img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }
}
.desktop-only {
	@media (max-width: 900px) {
        display: none;
    }
}
.mobile-only {
    display: none;
}

@media (max-width: 900px) {
	.mobile-only
        display: block;
    }
}

@media (max-width: 900px) {
	.mobile-fullwidth {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }
}


/***************************************************
/* Containers */
/***************************************************/

main {
    padding: 0 1.5rem;
}

@media (max-width: 900px) {
	main {
		padding: 0;
	}
}
section {
    max-width: 1300px !important;
    margin: 0 auto !important;
}
section.bordered {
	padding-block: 3rem;
	border-top: 1px solid #DBE5ED;
}
section:last-child {
	padding-bottom: 0;
}

@media (max-width: 900px) {
	section {
        padding-block: 3rem !important;
        padding-inline: 1.5rem !important;
        max-width: 100vw !important;
    }
}
#content {
    display: flex;
    gap: 80px;
    padding: 2rem 0;
    max-width: 1300px !important;
    margin: 0 auto !important;
}
@media (max-width: 900px) {
	#content {
        padding: 0 !important;
        max-width: 100vw !important;
        flex-direction: column;
        gap: 0;
	}
}

.content-container {
    width: 60%;
}
@media (max-width: 900px) {
	.content-container {
		width: 100%
	}
}

/***************************************************
/* Typography */
/***************************************************/

section h2.title {
    text-align: left;
    margin: 0 0 1.75rem;
    line-height: 1;
    font-size: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 900px) {
    section h2.title {
        font-size: 2rem;
    }
}

section h2.title .title-callout {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-family: var(--bodyFont);
    font-weight: 300;
    font-size: 1.15rem;
}

section p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.45;
}

section p:last-of-type {
    margin: 0;
}


/***************************************************
/* Component: Tabs */
/***************************************************/

nav.tabs {
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    gap: 2rem;
    border-width: 1px;
    border-style: solid;
    border-color: #0000001A;
    box-shadow: 0px 4px 32px 0px #0000000F;
    position: sticky;
    z-index: calc(var(--highest-zindex) - 67) !important;
}

@media (max-width: 768px) {
    nav.tabs {
        display: none;
    }
}

nav.tabs a {
    font-family: var(--bodyFont);
    color: var(--tertiaryColor);
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding-block: 1.5rem;
}

nav.tabs a.active,
nav.tabs a:hover {
    color: var(--primaryColor);
}

nav.tabs a.active::after,
nav.tabs a:hover::after {
    content: '';
    display: block;
    width: 100%;
    height: 5px;
    background-color: var(--primaryColor);
    position: absolute;
    bottom: -1px !important;
    left: 0;
}

/***************************************************
/* Section: Title */
/***************************************************/

#top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 0;
    margin: 0;
}

@media (max-width: 768px) {
    #top {
        padding: 0 !important;
        display: block;
    }
}

#top .title {
    color: var(--tertiaryColor);
    font-size: 3.75rem;
    line-height: 1;
    margin: 0;
    padding: 0;
    font-weight: 400;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex !important;
    gap: 8px;
    font-family: var(--bodyFont);
    align-items: center;
    margin: 0 0 0.75rem;
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 1rem;
        margin: 0;
        border-width: 1px 0;
        border-style: solid;
        border-color: #0000001A;
    }
}

.breadcrumbs a {
    color: #5E717F;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.breadcrumbs a:not(:first-of-type) {
    color: var(--color-grey-light);
}

@media (max-width: 768px) {
    .breadcrumbs a:not(:first-of-type),
    .breadcrumbs span {
        display: none;
    }
}

.breadcrumbs svg {
    transform: translateY(1px);
    margin-right: 0.5rem;
}

/***************************************************
/* Component: Lightbox */
/***************************************************/

.pswp.pswp--open {
    z-index: calc(var(--highest-zindex) - 1) !important;
}

/***************************************************
 * Component: Splide
 ***************************************************/

.custom-pagination {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: #3333339c;
    z-index: 100000;
    padding: 5px 10px 6px;
    line-height: 1;
    color: #fff;
    backdrop-filter: blur(2px);
    border-radius: 4px;
    font-size: 12px;
}

@media (max-width: 900px) {
    .splide__arrows {
        display: none;
    }
}

.splide__arrow {
    background-color: #fff !important;
    opacity: 1 !important;
    color: var(--primaryColor) !important;
    border-radius: 50% !important;
    height: 60px;
    width: 60px;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 10px 0px #00000033 !important;
}

.splide__arrow svg {
    fill: var(--primaryColor) !important;
}

.splide__arrow[disabled] {
    opacity: 0 !important;
}

.splide__arrow--next {
    right: 0;
    transform: translateX(50%) translateY(-50%);
}

.splide__arrow--prev {
    left: 0;
    transform: translateX(-50%) translateY(-50%);
}
.splide__slide img {
	border-radius: 16px
}

/***************************************************
/* Section: Elevations */
/***************************************************/

#elevations-splide .splide__slide img {
	object-fit: cover;
	height: 100%;
	border-radius: 12px;
	overflow: hidden;
}

#elevations-gallery .title-container {
	display: flex;
	justify-content: space-between;
}

.disclaimer { 
	display: flex;
	gap: 5px;
	width: 70%;
}
.disclaimer--text {
	color: var(--color-grey-mid);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.25;
}

@media (max-width: 900px) {
	#elevations-gallery .title-container { flex-direction: column }
	#elevations-gallery .disclaimer svg { width: 5rem }
	#elevations-gallery .disclaimer { 
		width: 100%;
		margin-bottom: 1rem;
	}
	#elevations-gallery .mobile-fullwidth {
        margin-left: unset !important;
        margin-right: unset !important;
		width: 100vw !important;
    }
	#elevations-splide .splide__slide img {
		border-radius: 0;
		object-fit: contain;
		height: auto;
		width: 100%;
	}
	section#elevations-splide {
		padding-block: 0 !important;
		padding-inline: 0 !important;
	}
}

/***************************************************
 * Section: Floorplans
 ***************************************************/

h3.label-text {
	color: var(--tertiaryColor);
}
#floor-plan {
    padding-top: 1.5rem !important;
}

#floor-plan .flex-container {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    #floor-plan .flex-container {
        flex-direction: column;
        margin: 0 0 10px;
    }
}

@media (max-width: 768px) {
    #floor-plan .flex-item {
        width: 100%;
    }

    #floor-plan .flex-item:nth-child(2) {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 1.5rem;
    }
}

#floor-plan h2.title {
    padding-bottom: 1.5rem;
    font-size: 1.75rem !important;
    margin-bottom: 1.5rem;
}

#floor-plan a.link-to-floorplan {
    background-color: #F7F7F7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #0000001A;
}

@media (max-width: 768px) {
    #floor-plan a.link-to-floorplan {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

#floor-plan span.link-to-floorplan-text {
    color: var(--tertiaryColor);
}

#floor-plan span.link-to-floorplan-arrow {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#floor-plan span.link-to-floorplan-arrow svg {
    transform: translateY(1px);
}

#floor-plan .price {
    font-size: 48px;
    color: var(--tertiaryColor);
    margin-bottom: 10px;
    margin: 0;
    line-height: 1;
}

@media (max-width: 768px) {
    #floor-plan .price {
        font-size: 2rem;
    }
}

#floor-plan .info-items {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    #floor-plan .info-items {
        display: grid;
        align-items: center;
        justify-content: flex-end;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

#floor-plan .info-item {
    padding-right: 1rem;
    margin-right: 1rem;
    border-right: 1px solid #DBE5ED;
}

#floor-plan .info-item:last-child {
    margin: 0;
    padding: 0;
    border: none;
}

@media (max-width: 768px) {
    #floor-plan .info-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        border: 1px solid #0000001A !important;
        border-radius: 8px;
        width: 100%;
        background: #F7F7F7;
        padding: 0.5rem !important;
        margin: 0 !important;
    }
}

#floor-plan .icon-flex {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-end;
}

#floor-plan .info-type {
    font-size: 12px;
    text-align: right;
    color: var(--color-grey-mid);
}

#floor-plan .number {
    font-size: 24px;
    color: var(--tertiaryColor);
    line-height: 1;
}

#floor-plan .info-left .lot-info {
    font-size: 16px;
    display: flex;
    gap: 10px;
}

#floor-plan .info-left .community {
    font-weight: 600;
    color: #333333;
}

#floor-plan .info-left .location {
    color: #888888;
}

#floor-plan .icon-flex .icon {
    font-size: 18px;
    color: #0077b6;
    transform: translateY(2px);
}

#floor-plan .property-meta {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

#floor-plan .description {
    font-size: 16px;
    line-height: 1.5;
    color: #444;
    margin-bottom: 2rem;
}

#floor-plan .splide__slide {
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	border: 1px solid gray;
	border-radius: 25px;
}

#floor-plan .splide__slide img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
}


/***************************************************
 * Section: Sidebar
 ***************************************************/

aside {
    width: 40%;
    position: sticky;
    top: var(--scroll-offset);
    align-self: flex-start;
    border-radius: 16px;
    overflow: hidden;
    background: #F7F7F7;
    border: 1px solid #0000001A;
    padding: 2rem;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* aside .intro {
    margin: 0 0 1.5rem;
    line-height: 1;
    color: #9AA3AA;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    position: relative;
} */

aside .intro::after {
    content: "";
    height: 2px;
    background-color: #0000001A;
    position: absolute;
    right: 0;
    top: 50%;
    flex: 0 0 auto;
    width: 100%;
}

aside .intro span {
    background-color: #f7f7f7;
    padding: 5px 2rem 5px 0;
    border-radius: 4px;
    z-index: 1000;
    position: relative;
}

aside h3 {
    color: var(--primaryColor);
    font-size: 1.5rem;
    margin: 0;
    font-family: var(--bodyFont);
    font-weight: 600;
}

aside .form-intro {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 1rem;
}

aside .form-intro .position {
    margin: 0;
    color: #8A9AA5;
    font-size: 14px;
	font-family: var(--bodyFont);
}

aside .desc {
    color: #5E717F;
    font-size: 14px;
    font-weight: 300;
}

aside .gform_wrapper {
    width: 100%;
}

aside .gform_wrapper input:not([type="submit"]),
aside .gform_wrapper textarea {
    border: 1px solid #0000001A;
    padding: 0.75rem !important;
    line-height: 1;
    font-size: 0.85rem !important;
    font-weight: 300;
    border-radius: 4px;
}

aside .gform_wrapper input:not([type="submit"])::placeholder,
aside .gform_wrapper textarea::placeholder {
    font-weight: 300;
    font-size: 14px !important;
}

aside .gform_wrapper textarea {
    line-height: 1.25;
}

aside .gform-grid-col {
    padding: 0 !important;
}

aside .gform_fields {
    grid-row-gap: 8px !important;
}

aside .ginput_complex {
    display: flex;
    flex-flow: row wrap;
    gap: 8px;
}

aside .gform-footer {
    padding: 0 !important;
    margin: 1rem 0 0 !important;
    border-radius: 4px;
    overflow: hidden;
}

aside label,
aside legend {
    display: none !important;
}

aside input[type="submit"] {
    width: 100%;
    border-radius: 4px;
    font-family: var(--bodyFont) !important;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
}

/* Mobile overrides */
@media (max-width: 900px) {
    aside {
        width: 100%;
        border: none;
        border-radius: 0;
        padding-top: 3rem;
    }
}


/***************************************************
/* Section: 3D Tour */
/***************************************************/

#matterport-tour p {
    color: #5E717F;
}

@media (max-width: 768px) {
  #matterport-tour h2 {
    display: block;
  }

  #matterport-tour .title-callout {
    font-size: 0.9rem;
    font-weight: 300;
  }

  #matterport-tour .matterport-container.active {
    height: 400px;
  }
}

#matterport-tour .title-callout svg {
  height: 30px;
  width: auto;
  flex: 0 0 auto;
  transform: translateY(1px);
}

#matterport-tour .matterport-container {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #0000001A;
  height: 360px;
  width: 100%;
  margin-top: 1.5rem;
  position: relative;
}

#matterport-tour .matterport-container.active {
  height: 600px;
}

#matterport-tour .matterport-container img {
  object-fit: cover;
  filter: blur(5px);
}

#matterport-tour .play {
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #ffffff;
  font-weight: 500;
  font-size: 1.25rem;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}

#matterport-tour .play::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #444444b5;
  backdrop-filter: blur(3px);
  z-index: -1;
}

#matterport-tour .play svg {
  transition: all 0.3s ease;
  pointer-events: auto;
}

#matterport-tour .play svg:hover {
  transform: scale(1.05);
}

#matterport-tour .disclaimer {
	width: 100%;
	border-radius: 12px;
	margin: 1.5rem 0 0;
	border: 2px solid var(--primaryColor);
	background-color: #0067b112;
	padding: 1.15rem;
}
#matterport-tour .disclaimer--text {
	color: var(--primaryColor);
}

/***************************************************
/* Section: Media Gallery */
/***************************************************/
#gallery .disclaimer {
	width: 100%;
	margin-bottom: 1rem;
}

.vimeo iframe {
	border-radius: 16px;
}

/**************************************************
/* Section: Home Details
/**************************************************/
#details p {
	color: #5E717F;
}
#details-container {
	display: flex;
	gap:50px;
}

#details-container h3 {
	padding: 1rem 0;
	border-bottom: 1px solid #DBE5ED;
	color: var(--tertiaryColor);
}
.details-50 {
	width: 45%;
}
#features-list h4 { color: var(--tertiaryColor) }
#features-list,
#square-footage-list {
	padding: 1rem 0;
}
.footage-container {
	display: flex;
	justify-content: space-between;
}

.floor-name {
	color: var(--color-grey-dark);
	font-size: 16px;
}
.floorplan-features {
	color: var(--color-grey-mid);
	list-style-position: inside;
    margin: 0 0 1.5rem;
    padding: 0;
}
.floorplan-features li::marker{
	color: var(--primaryColor);
}
.floor-footage {
	color: var(--color-grey-mid);
	font-weight: 600;
}
@media (max-width: 900px) {
	#details-container {
		flex-direction: column;
		gap: 0px;
	}
	.details-50 {
		width: unset;
	}
}
/**************************************************
/* Section: Communites
/**************************************************/
#communities-container {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.community-box {
	color: white;
	padding: 2rem;
	border-radius: 12px;
	flex: 0 0 calc(50% - 1rem);
	box-sizing: border-box;
	background-size: cover;
    background-position: 50% 50%;
    background-color: grey;
    transition: all 0.2s ease-out 0.2s;
    position: relative;
    z-index: 10;
    overflow: hidden;
    transition: all 0.3s ease;
}
.community-box:before {
	content: "";
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    border-radius: 3px;
}
.community-box:after {
	content: "";
    background: linear-gradient(90deg, rgba(2, 21, 34, 0.6) 0%, rgba(2, 24, 40, 0.144) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    border-radius: 3px;
    transition: background 0.2s ease;
}
#communities-container a:hover {
	color: white;
	transform: scale(1.05);
}
#map {
	margin: 1rem 0;
	height: 400px;
	border-radius: 12px;
	overflow: hidden;
}

@media (max-width: 768px) {
	.community-box {
		width: 100%;
		flex: unset;
	}
}

/***************************************************
/* Section: Similar Floorplans */
/***************************************************/

#similar-floorplans .splide__slide {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #DDDDDD;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    #similar-floorplans .splide__slide:first-child {
        margin-left: 1.5rem;
    }
}

#similar-floorplans .splide__track::after {
    content: "";
    width: 20%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(270deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
}

#similar-floorplans .featured-image {
    position: relative;
    height: 180px;
}

#similar-floorplans .featured-image img {
    height: 180px;
    object-fit: cover;
    width: 100%;
	border-radius: 0;
}

#similar-floorplans .featured-image span.badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.6rem 1.2rem;
    background-color: var(--primaryColor);
    color: #fff;
    font-weight: 500;
    border-radius: 0;
    border-bottom-left-radius: 8px;
}

#similar-floorplans .home-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
#similar-floorplans .home-info p {
	color: #767676;
	font-size: 14px;
}

#similar-floorplans .home-info .floorplan-name {
    margin: 0 0 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #DDDDDD;
    line-height: 1;
}

#similar-floorplans .home-info h3 {
    color: var(--tertiaryColor);
    line-height: 1;
	margin-bottom: 0;
	padding-bottom: 0;
}
/* 
#similar-floorplans .home-info a p {
    line-height: 1;
    border-radius: 6px;
    font-size: 0.85rem;
    text-align: center;
} */

#similar-floorplans .home-info a:hover {
    filter: brightness(0.9);
}

#similar-floorplans .home-info .global-btn {
    white-space: nowrap;
    margin: auto 0 0;
}

#similar-floorplans .specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 0 0 1rem;
	padding: 0 0 1rem;
	border-bottom: 1px solid #DDDDDD;
}

#similar-floorplans .specs > span,
#similar-floorplans .community-tag {
    background-color: #F1F1F1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    border-radius: 4px;
    line-height: 1;
    font-weight: 500;
    font-size: 14px;
    color: var(--tertiaryColor);
}
.available-at {
	font-size: 12px;
	color: #767676;
}
.community-container {
	display: flex;
	flex-wrap: wrap;
}
.community-tag {
	margin: .25rem 0;
	padding: 1rem;
	text-align: start !important;
	gap: .5rem;
	font-size: 12px !important;
}

@media (max-width: 768px) {
    #similar-floorplans .specs > span {
        font-size: 0.8rem;
    }
}

@media (max-width: 900px) {
	section {
		padding-block: 3rem !important;
		padding-inline: 1.5rem !important;
		max-width: 100vw !important;
	}
}
	