@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans:ital,wght@0,100;0,300;0,400;0,500;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,700;1,800;1,900&family=Alegreya:ital,wght@0,400..900;1,400..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root {
    --tan: #DFD7CE;
    --green: #16362A;
    --black: #000;
    --brown: #C6BAAD;
}
.modal{
    --bs-modal-width: 800px;
}

p{
    font-size: 18px;
    line-height: 1.4em;
}
.site{
    position: relative;
}
body{
    background-color: var(--green);
    font-family: 'Lato', sans-serif;
}
.main-body p{
    line-height: 1.8em;
    font-size: 18px;
}
.bg-tan{
    background-color: var(--tan);
    max-width: 100%;
}
h2, h3, h4, h5, h6{
    text-transform: uppercase;
    color:var(--green);
    font-family: 'Alegreya', serif;
    font-weight:700;
}
h2{
    font-size:2.5rem;
}
h3{
    font-size:2rem;
}

/* MAIN NAV */
header{
    z-index: 9999;
    position: relative;
}
#main-nav .nav-link{
    color: var(--black);
    font-family: 'Alegreya Sans', serif;
    font-size: 22px;
    padding-left:30px;
    padding-right: 30px;
}
.nav-link:hover{
    color: var(--green);
}
#main-nav{
    background-color: initial !important;
    padding:40px 0px;
}
#main-nav .container{
	background:rgba(223, 215, 206, .85);
    position: relative;
}
#main-nav .navbar-brand{
    z-index: 2;
    margin-right: 0px;
}
#main-nav .navbar-brand img{
    width: 130px;
    margin: -45px 0px;
    margin-left: -25px;
}
.navbar-nav .dropdown-menu{
    background-color: var(--tan);
}
.navbar-nav .dropdown-menu li a{
    padding:10px 20px;
    font-size: 18px;
}
.navbar-nav .dropdown-menu li a:hover .navbar-nav .dropdown-menu li a:focus{
    background-color:rgba(255,255,255,.25);
}
.site-name{
    font-family: 'Alegreya', serif;
    color: var(--green);
    font-size: 1.8em;
    font-weight: 700;
    margin-right: 20px;
}
/* Chevron styling for dropdown */
.navbar-nav .menu-item-has-children > a .dropdown-chevron {
    margin-left: 5px;
    width: 10px;
    height: 10px;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.3s ease;
    margin-bottom: 3px;
}

/* Rotate chevron on hover */
.navbar-nav .menu-item-has-children > a.show .dropdown-chevron {
    transform: rotate(180deg); /* Rotate the chevron when hovering */
}
.dropdown-toggle::after{
    display: none !important;
}

/* MOBILE NAV */
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2316362A' viewBox='0 0 30 30'%3E%3Cpath stroke='%2316362A' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
/* Style for the Menu label */
.navbar-toggler-label {
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 1.2rem;
    color: var(--green);
    margin-left: 10px;
    display: inline-block;
}
.navbar-nav .dropdown-menu li a.active, .navbar-nav .dropdown-menu li a:active{
	background-color:#e9ecef;
}
.navbar-toggler {
    display: flex;
    align-items: center;
}
.offcanvas-header .btn-close-white {
    filter: invert(0);
}

/* Hide the desktop menu visually on mobile */
@media (max-width: 991.98px) {
    .desktopNavMenu {
        display: none !important;
    }
	.offcanvas.bg-primary{
	    background-color: var(--tan) !important;
}
}

/* Hide the mobile menu visually on desktop */
@media (min-width: 992px) {
    .mobileNavMenu {
        display: none !important;
    }
}
@media screen and (max-width:575px){
    #main-nav{
        padding:135px 0px 0px;
    }
    #main-nav .container, #main-nav .navbar-brand{
        display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    }
    #main-nav .container{
        background: rgba(223 215 206,.75);
        padding-bottom: 5px;
    }
    #main-nav .navbar-brand img{
        margin:-120px 0px 0px
    }
    .site-name{
        margin:-10px 0px;
    }
}




/* GLOBAL HERO SECTION */
.hero-section {
    position: relative;
    width: 100%;
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: end;
    justify-content: center;
    color: #fff;
    margin-top: -175px;
    background: var(--black);
    background-position: center;
    background-size: cover;
}
.home .hero-section {
    height:95vh;
    background-position: top center;
}
.home .hero-section::after{
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,.4);
    mix-blend-mode: multiply;
}

.hero-content {
    padding: 20px;
    text-align: left;
    max-width:900px;
    position: relative;
}
.hero-content::before {
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(22, 54, 42, .6);
    mix-blend-mode: multiply;
    z-index: 0;
  }
  .hero-content .col-md-12{
    z-index: 1;
  }

.hero-content h1 {
    font-size: 5.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    font-family: 'Alegreya', sans-serif;
    max-width: 700px;
    line-height: 1em;
}

.hero-content p {
    font-size: 1.25rem;
    font-family: 'Alegreya Sans', sans-serif;
}
@media screen and (max-width:575px){
    .hero-section{
        margin-top: -265px;
    }
    .hero-content h1{
        font-size: 3rem;
        line-height: 1.2em;
    }
    .hero-section {
        height: 75vh;
    }
    .home .hero-section {
        height:85vh;
    }
}



/* HOME GRID */

/* Grid container */
.home-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    height: 80vh;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    margin-top: 75px;
}

/* Grid items */
.home-grid a {
    display: flex;
    align-items: flex-end;
    justify-content: left;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border:5px solid #fff;
    transition: 0.2s ease-in-out;
}
.home-grid a:hover{
    transform: scale(0.99);
}
.home-grid a::after{
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,.25);
    z-index: 0;
}

.home-grid .overlay {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    z-index: 1;
}

.home-grid div {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Alegreya', sans-serif;
    font-size: 2.7rem;
    margin: 0;
}

/* Specific grid item placement */
.box_1 { grid-area: 1 / 1 / 2 / 2; }
.box_2 { grid-area: 1 / 2 / 3 / 3; }
.box_3 { grid-area: 1 / 3 / 2 / 5; }
.box_4 { grid-area: 2 / 1 / 3 / 2; }
.box_5 { grid-area: 2 / 3 / 3 / 5; }


@media screen and (max-width:1200px){
    .home-grid div {
        font-size: 2rem;
    }
}


@media screen and (max-width:993px){
    .home-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        grid-column-gap: 20px;
        grid-row-gap: 20px;
        height:100vh
        }
        
        .box_1 { grid-area: 1 / 1 / 2 / 2; }
        .box_2 { grid-area: 1 / 2 / 3 / 3; }
        .box_3 { grid-area: 2 / 1 / 3 / 2; }
        .box_4 { grid-area: 3 / 1 / 4 / 3; }
        .box_5 { grid-area: 4 / 1 / 5 / 3; }
}
@media screen and (max-width:478px){
    .home-grid div {
        font-size: 1.5rem;
    }
}


/* INTRO SECTION */

.intro-image img {
    max-width: 100%;
    height: auto;
    border:3px solid #fff;
}
.intro-section{
    padding:100px 0px;
    --bs-gutter-x: 5rem;
    --bs-gutter-y: 2rem;
}
.intro-section .intro-content{
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.intro-section h2{
    margin-top: 10px;
}


/* FOR SALE ROWS */

.horse-img img {
    width: 100%;
    height:650px;
    border:3px solid #fff;
    object-fit: cover;
    object-position: top;
}
.sale-section{
    padding:100px 0px 50px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.sale-section .horse-img{
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.sale-section .row{
    --bs-gutter-x: 3rem;
    --bs-gutter-y: 2rem;
}
.sale-section hr{
    border-top: 1px solid var(--green);
    opacity: 1;
    margin: 50px 0px;
}
.sale-section h2{
    margin-top: 10px;
}
.sale-section h3{
    font-weight: 500;
    font-size:1.7em;
}
.sale-section p{
    line-height: 1.6em;
    margin-bottom: 10px;
}
.sale-section .detail-title{
    font-weight:700;
    padding-right:5px;
    width: 115px;
    text-align: right;
    display: inline-block;
}
.note-box{
	display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
@media screen and (max-width: 767px){
    .sale-section .detail-title{
        text-align: left;
    }
    .horse-img img {
        height:350px;
    }
    .sale-section .horse-img{
        margin-bottom: 0px !important;
    }
    .sale-section h3{
        margin-bottom: 30px !important;
    }
    .sale-section{
        overflow: hidden;
        padding-left: 2%;
        padding-right: 2%;
    }
}


/* NEWS SECTION */

.news-section img {
    width:100%;
    height:400px;
    object-fit: cover;
    border:3px solid #fff;
    margin-bottom: 20px;
    object-position: 50% 25%;
}
.news-section{
    padding:100px 0px;
    --bs-gutter-x: 5rem;
    --bs-gutter-y: 2rem;
}
.intro-section .intro-content{
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.news-text{
    font-size: 18px;
    line-height: 1.8em;
}
.news-modal-btn{
    background: none;
    border: 0px;
    padding: 0px;
    color: var(--green);
    text-decoration: underline;
    margin-left: 10px;
    text-transform: uppercase;
    font-weight: 700;
}
.modal-body{
    padding:30px;
}
.news-popup .btn-close{
    width: 64px !important;
    background-position: right;
    text-align: left;
    padding-left: 30px;
    line-height: 1em;
    font-size: 18px;
    background-size: 14px;
    padding-bottom: 6px;
    margin-right: 0px;
    margin-left: auto;
    display: block;
    margin-bottom: 10px;
    margin-top: -5px;
}

/* CONTACT SECTION */
.contact-section a{
    color: var(--green);
}
.contact-section a:hover{
    color: var(--black);
}
.contact-section{
    padding:75px 0px;
    --bs-gutter-x: 5rem;
    --bs-gutter-y: 2rem;
}
.contact-section .intro-content{
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.contact-section h2{
    margin-top: 10px;
}
.contact-section form{
    margin-top: 30px;
}
.contact-section iframe{
    border:4px solid #fff !important;
    margin-top: 30px;
    max-width: 100%;
}
.nf-error-msg, .ninja-forms-req-symbol, .nf-before-form-content{
    display:none;
}
.nf-form-content button, .nf-form-content input[type=button], .nf-form-content input[type=submit]{
    background: var(--green) !important;
    color:#fff !important;
    font-family: 'Alegreya', serif;
    padding: 10px 30px;
}
.nf-form-content button:hover, .nf-form-content input[type=button]:hover, .nf-form-content input[type=submit]:hover{
    background: var(--black) !important;
    color:#fff !important;
}
.nf-form-content .list-select-wrap .nf-field-element>div, .nf-form-content input:not([type=button]), .nf-form-content textarea{
    border: 1px solid var(--green) !important;
}


/* SCHEDULE SECTION */
#tribe-events-pg-template{
    width: 100%;
    max-width: none;
    background: var(--tan);
}
.tribe-events .tribe-events-header{
    z-index: 9998;
}
#tribe-events-pg-template *, {
    font-family: 'Alegreya Sans', sans-serif;
    color:var(--green);
    font-size: 20px;
}
.tribe-common .tribe-common-h5, .tribe-common .tribe-common-h6{
    font-family: 'Alegreya Sans', sans-serif;
    color:var(--green);
}
.tribe-events-single-event-title{
    font-family: 'Alegreya', serif !important;
    text-transform: uppercase;
    font-weight: 700;
    font-size:1.8em !important;
}
.tribe-events-event-meta:before, .tribe-events-event-meta~div:not(.tribe-events-event-meta,.event-tickets){
    border-top:0px;
}
.tribe-common.tribe-common--breakpoint-medium button.tribe-events-c-top-bar__datepicker-button, .tribe-events button.tribe-events-c-top-bar__datepicker-button{
    font-family: 'Alegreya Sans', sans-serif;
    text-transform: uppercase;
    color:var(--green);
}
.tribe-common .tribe-common-c-btn-border-small, .tribe-common a.tribe-common-c-btn-border-small, .tribe-events .tribe-events-calendar-list__event-datetime, .tribe-events .tribe-events-calendar-list__event-date-tag-datetime, .tribe-events .tribe-events-c-view-selector__list-item-link, .tribe-events .tribe-events-c-view-selector__list-item-text, .tribe-events .tribe-events-c-nav__list-item a{
    color:var(--green);
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 16px;
}
.tribe-events .tribe-events-calendar-list__event-wrapper{
    padding:0px !important;
}
.tribe-common .tribe-common-c-btn-border-small, .tribe-common a.tribe-common-c-btn-border-small{
    background: unset;
    border: 1px solid var(--green);
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-header{
    position: relative;
    z-index:2;
}
.tribe-events-calendar-list, .tribe-events-calendar-day, .tribe-events-calendar-latest-past{
    position: relative;
    z-index:1;
}
.tribe-common time *{
    font-size:1.1em !important;
}
.tribe-common .tribe-events-calendar-latest-past__event-date-tag-daynum, .tribe-events-calendar-list__event-date-tag-daynum{
    font-size:30px !important;
    line-height: 1em !important;
}
.tribe-events-calendar-latest-past *, .tribe-events .tribe-events-calendar-list__event-date-tag-weekday{
    font-family: 'Alegreya Sans', sans-serif !important;
    color:var(--green) !important;
}
.tribe-common .tribe-common-anchor-thin-alt{
    border-bottom: 1px solid var(--green);
}
.tribe-common .tribe-common-c-svgicon{
    color:var(--green);
}
.tribe-events .datepicker .day.active, .tribe-events .datepicker .day.active.focused, .tribe-events .datepicker .day.active:focus, .tribe-events .datepicker .day.active:hover, .tribe-events .datepicker .month.active, .tribe-events .datepicker .month.active.focused, .tribe-events .datepicker .month.active:focus, .tribe-events .datepicker .month.active:hover, .tribe-events .datepicker .year.active, .tribe-events .datepicker .year.active.focused, .tribe-events .datepicker .year.active:focus, .tribe-events .datepicker .year.active:hover{
    background-color: var(--green);
}
.tribe-events .tribe-events-calendar-list__month-separator:after, .tribe-events .tribe-events-calendar-day__time-separator:after, .tribe-events .tribe-events-calendar-day__type-separator:after{
    background-color: var(--green);
}
.tribe-common--breakpoint-medium.tribe-common .tribe-common-h6--min-medium, .tribe-events .tribe-events-calendar-day__event-datetime, .tribe-common ol, .tribe-common ul{
    color:var(--green);
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 18px;
}
.tribe-events .tribe-events-calendar-list__event-title-link, .tribe-events .tribe-events-calendar-day__event-title-link:visited, .tribe-common a:not(.tribe-common-anchor--unstyle):visited, .tribe-common--breakpoint-medium.tribe-common .tribe-common-h6{
    color:var(--green);
    font-family: 'Alegreya', serif;
    text-transform: uppercase;
    font-weight: 700;
}
.tribe-events .tribe-events-c-subscribe-dropdown__container{
    display: none;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container{
    padding-bottom: 100px !important;
    min-height: 0px;
}
.tribe-events .tribe-events-c-view-selector__button:before{
    background-color: var(--green);
}
.hero-section:not(:first-of-type){
    display: none;
}
.tribe-events-view{
    background-color: var(--tan);
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month{
    position:relative;
    z-index: 1;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__next, .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__prev{
    font-family: 'Alegreya Sans', sans-serif;
}

/* TEAM SECTION */
.team-section.odd{
    background-color: var(--brown);
}
.team-section{
    padding:75px 0px;
}
.team-section .row{
    --bs-gutter-x: 5rem;
    --bs-gutter-y: 2rem;
}
.team-section img{
    border: 3px solid #fff;
    width:100%;
}
.team-section .short-length{
    max-height:300px;
    object-fit: cover;
    object-position: 50% 35%;
}
@media screen and (max-width:767px){
    .team-section.even .row{
        display: flex;
        flex-wrap: wrap;
    }
    .team-section.even .col-md-4{
        order:2;
    }
    .team-section.even .col-md-8{
        order:1;
    }
    .team-section img{
        width:100%;
        height:50vh !important;
        object-fit: cover;
        object-position: 50% 20%;
    }
}


/* FACILITY GALLERY */

.swiper-section .splide__track--fade>.splide__list>.splide__slide{
	background-size:contain !important;
}

.swiper-section{
    min-height:650px;
    padding:50px 0px;
    background-color: var(--brown);
	display:flex;
	justify-content: center;
    align-items: center;
}
        .swiper-container {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 500px;
        }

        .splide {
            width: 60%;
            height: 100%;
        }

        #main-slider {
            width:calc(100% - 120px);
            margin-right: 0px;
			max-width:750px;
        }
        
        #main-slider .splide__track{
            height:100%;
        }
        
        #main-slider .splide__list{
            align-items: center;
        }
#main-slider .splide__track--fade>.splide__list>.splide__slide.is-active{
	max-height:440px;
}
        #thumbnail-slider {
            width:100px;
            height: 100%;
        }
#thumbnail-slider .splide__arrow{
	background:unset;
}
#thumbnail-slider .splide__arrow svg{
	fill: #16362A;
	width:25px;
	height:25px;
}
#thumbnail-slider .splide__track--nav>.splide__list>.splide__slide.is-active{
	border: 3px solid #fff;
}

        .splide__slide img {
            width: 100%;
            height: auto;
            object-fit: cover;
        }

        .splide__arrow {
            background-color: #fff;
            border-radius: 50%;
            color: #333;
        }

.gallery-caption{
    margin: 0px;
    font-family: 'Alegreya Sans', sans-serif !important;
	position: absolute;
    bottom: -35px;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    text-align: center;
}
@media screen and (min-width:1300px){
	#main-slider {
		max-width:900px;	
	}
	#main-slider .splide__track--fade>.splide__list>.splide__slide.is-active{
	min-height:500px;
		max-height:500px;
}
	.swiper-container{
		height: 600px;
	}
	#thumbnail-slider{
		max-height:500px;
	}
}
@media screen and (min-width:768px){
	#thumbnail-slider .splide__track {
    display: flex;
    justify-content: center;
    align-items: center;
		margin-top:50px;
	}
}
@media screen and (max-width: 767px) {
	.swiper-section{
		height:auto;
	}
    .swiper-container {
        flex-direction: column;
		width:88%;
		height:auto;
    }

    #main-slider {
        margin-right: 0;
        width: 100%;
		margin-bottom:60px;
    }
	#main-slider .splide__track{
		overflow:visible;
	}
	#main-slider .splide__slide{
		background-size:contain !important;
	}
    #thumbnail-slider {
        width: 100%;
        height: 100px;
    }
	#thumbnail-slider .splide__track{
		margin-left: 30px;
    	margin-right: 30px;
	}
	#thumbnail-slider .splide__arrow--prev{
		left:-10px;
	}
	#thumbnail-slider .splide__arrow--next{
		right:-10px;
	}
}


/* FOOTER STYLES */
.custom-footer {
    background-color: var(--green);
    padding: 60px 0;
}

/* Tan Container */
.tan-container {
    background-color: var(--tan);
}
.tan-container .col-md-5{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
@media screen and (max-width: 576px){
    #content, .tribe-events .tribe-events-l-container{
        overflow: hidden;
    }
    .row{
        padding-left: 6%;
        padding-right: 6%;
    }
    .intro-section{
        padding-top:50px;
    }
}

/* Footer Text */
.custom-footer p {
    color: var(--black);
    margin: 0;
    font-family: 'Alegreya', sans-serif;
}

.text-left p{
    text-align: left;
}
.tan-container .text-left{
    align-items: start;
}
.tan-container .text-right{
    align-items: end;
}
.text-right p{
    text-align: right;
}

/* Links Styling */
.custom-footer a {
    color: var(--black);
    text-decoration: none;
}

.custom-footer a:hover {
    text-decoration: underline;
}

/* Footer Logo */
.footer-logo img {
    width: 175px;
    height: auto;
    margin:-25px 0px;
}
.footer-logo .site-name{
    display: none !important;
}

/* Mobile Responsive Column Order */
@media (max-width: 768px) {
    .tan-container .row {
        display: flex;
        flex-direction: column;
    }

    .tan-container .col-md-5:nth-child(1) {
        order: 3;
        margin-bottom: 40px;
        margin-top: 20px;
    }

    .tan-container .col-md-2:nth-child(1) {
        order: 1;
    }

    .tan-container .col-md-5:nth-child(2) {
        order: 2;
    }
    .footer-logo img {
        margin-bottom: 20px;
    }
    .tan-container .col-md-5{
        align-items: center;
    }
    .tan-container .col-md-5 p{
        text-align: center;
    }
}
@media screen and (max-width: 576px) {
    .tan-container{
        max-width: 88%;
    }
}