:root{
    --font-playfair: 'Playfair Display', serif;
    --font-poppins: 'Poppins', sans-serif;
    --color-light-gold: #bbb4a4;
    --gold-alt: #d3b66c;
    --color-gold: #edcea2;
    --gold-border: rgb(237 206 162 / 60%);
    --gold-bg: #f0e6d7;
}

html, body{
    height: 100%;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    background: #000;
    color: #eee;
}

/** Nav Icon Start **/
.nav-icon{
    width: 40px;
    height: 29px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

.nav-icon span{
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--color-light-gold);
    border-radius: 0;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.nav-icon span:nth-child(1) {
    top: 0px;
}

.nav-icon span:nth-child(2), .nav-icon span:nth-child(3) {
    top: 12px;
}

.nav-icon span:nth-child(4) {
    top: 24px;
}

.nav-icon.open span{
    background: var(--gold-alt);
}

.nav-icon.open span:nth-child(1) {
    top: 12px;
    width: 0%;
    left: 50%;
}

.nav-icon.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.nav-icon.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.nav-icon.open span:nth-child(4) {
    top: 12px;
    width: 0%;
    left: 50%;
}
/** Nav Icon End **/

.topbar-fluid{
    display: flex;
    align-items: center;
    height: 70px;
    position: fixed;
    background: #000;
    top: 0;
    z-index: 2;
}

.topbar-left{
    padding: 0 8px;
}

.topbar-logo-container{
    height: 50px;
    flex: 1;
    display: flex;
    justify-content: center;
    padding-left: 104px;
}

.topbar-logo{
    height: 100%;
    font-family: var(--font-playfair);
    font-size: 38px;
    display: flex;
    align-items: center;
}

.topbar-logo img{
    height: 100%;
    margin-right: 15px;
}

.topbar-right{
    display: flex;
}

.sidebar-inner .topbar-right{
    display: none;
}

.topbar-social-icon{
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 10px;
    color: var(--color-light-gold);
    transition: all 0.25s;
}

.topbar-social-icon:last-child{
    margin-left: 10px;
}

.topbar-social-icon img{
    height: 100%;
    object-fit: contain;
}

.topbar-social-icon:hover{
    color: var(--color-gold);
}

.topbar-page-title{
    text-align: center;
    color: var(--color-gold);
    font-size: 28px;
    font-family: var(--font-playfair);
    padding-top: 70px;
}

.home-fluid{
    height: calc(100% - 106px);
    display: flex;
}

.home-col{
    width: 50%;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.home-col-photo{
    width: 60%;
    overflow: hidden;
    height: 100%;
}

.home-col-photo img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-col-info{
    padding: 0 15px;
    box-sizing: border-box;
    width: 40%;
}

.home-col-name{
    font-size: 24px;
    font-weight: 600;
    font-family: var(--font-playfair);
    color: var(--color-gold);
    margin-bottom: 5px;
}

.home-col-title{
    font-size: 16px;
    font-weight: 500;
}

.home-col-dob span{
    font-weight: 600;
}

.home-col-more{
    width: 100%;
    display: flex;
    height: 40px;
    border: 1px solid;
    color: var(--color-light-gold);
    align-items: center;
    justify-content: center;
    max-width: 150px;
    margin-top: 20px;
    font-family: var(--font-poppins);
    text-transform: uppercase;
    font-size: 13px;
}

.home-col-more:hover{
    text-decoration: none;
    color: var(--color-gold);
}

.home-col-right .home-col-info{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.home-col-right .home-col-photo{
    transform: scale(-1, 1);
}

.sidebar-container{
    position: fixed;
    background: #333;
    width: 25%;
    height: 100%;
    top: 0;
    z-index: 3;
    display: none;
}

.sidebar-inner{
    padding: 20px;
    padding-top: 90px;
    padding-left: 28px;
    box-sizing: border-box;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.topbar-fixed-toggle{
    position: fixed;
    z-index: 5;
    left: 15px;
    height: 70px;
    display: flex;
    align-items: center;
    top: 0;
}

.sidebar-menu-item{
    font-size: 24px;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-playfair);
    color: var(--color-light-gold);
    padding: 10px 0;
    transition: all 0.3s;
}

.sidebar-menu-item:hover{
    color: var(--color-gold);
    padding-left: 5px;
    text-decoration: none;
}

.menu-wrap-title{
    font-size: 24px;
    font-weight: 500;
    color: var(--color-gold);
    font-family: var(--font-playfair);
    padding: 10px 0;
}

.sidebar-menu-wrap .sidebar-menu-item{
    font-size: 20px;
}

.sire-container{
    padding: 10px 25px;
    border: 1px solid #444;
    border-radius: 3px;
    background: #1b1b1b;
    margin-bottom: 30px;
}

.sire-container-open{
    padding-bottom: 25px;
}

.sire-header{
    display: flex;
    align-items: center;
    height: 50px;
    justify-content: space-between;
}

.sire-container-open .sire-header{
    border-bottom: 1px solid #333;
}

.sire-header-title{
    font-size: 24px;
    font-family: var(--font-playfair);
}

.sire-body{
    padding-left: 30px;
    flex: 1;
}

.sire-body-text{
    font-family: var(--font-poppins);
    font-size: 13px;
    color: #bababa;
    padding-top: 20px;
    text-align: justify;
}

.sire-body-text span{
    font-weight: 600;
    color: #eee;
}

.dam-sire-header{
    display: flex;
    align-items: center;
}

.sire-body-title{
    font-size: 20px;
    font-family: var(--font-playfair);
    letter-spacing: 2px;
    margin-top: 10px;
}

.sire-body-subtitle{
    font-size: 16px;
    font-family: var(--font-playfair);
    color: #bababa;
    margin-top: 10px;
    margin-bottom: -10px;
    text-transform: uppercase;
}

.dam-sire-icon, .sire-header-icon{
    font-size: 24px;
    color: #666;
    width: 40px;
    text-align: center;
    cursor: pointer;
}

.dam-sire-container{
    padding: 15px;
    padding-left: 30px;
    display: none;
}

.main-dam-container{
    display: flex;
    background: #222;
    padding: 10px;
    font-family: var(--font-poppins);
}

.dam-year{
    font-weight: 600;
    margin-right: 10px;
}

.sec-dam-container{
    margin-left: 30px;
    background: #333;
    display: flex;
    padding: 10px;
    font-family: var(--font-poppins);
}

.dam-body-text{
    margin-bottom: 10px;
    color: #bababa;
}

.dam-body-text:last-child{
    margin-bottom: 0;
}

.dam-body-text span{
    font-weight: 500;
    color: #eee;
}

.result-table-wrap{
    position: relative;
    width: 100%;
    max-width: 1028px;
    margin: 0 auto;
}

.result-table-header{
    display: flex;
    font-weight: 600;
    height: 40px;
    align-items: center;
    border-bottom: 1px solid #444;
    padding: 0 5px;
    font-size: 13px;
    font-family: var(--font-playfair);
    text-transform: uppercase;
}

.result-table-item{
    display: flex;
    padding: 10px 5px;
    font-size: 12px;
    font-family: var(--font-poppins);
    color: #bababa;
}

.result-table-item:nth-child(2n + 1){
    background: #111;
}

.table-col{
    box-sizing: border-box;
    padding-right: 10px;
}

.table-date{
    width: 10%;
}

.table-show{
    width: 20%;
}

.table-event{
    width: 10%;
}

.table-competition{
    width: 25%;
}

.table-height{
    width: 10%;
}

.table-athlete{
    width: 15%;
}

.table-position{
    width: 10%;
}

.result-table-viewmore{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

.result-table-extra{
    display: none;
}

.table-viewmore-btn{
    color: var(--color-light-gold);
    border: 1px solid #555;
    padding: 7px 30px;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.table-viewmore-btn:hover{
    color: var(--color-gold);
    text-decoration: none;
    border: 1px solid var(--color-gold);
}

.horse-page-fluid{
    display: flex;
    padding-top: 40px;
    padding-bottom: 40px;
}

.horse-page-text, .horse-page-photo{
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.horse-page-photo{
    position: sticky;
    top: 85px;
    transition: all 0.3s;
    opacity: 0.3;
    filter: blur(3px);
}

.photo-slider-button{
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    z-index: 2;
    backdrop-filter: blur(5px) saturate(180%);
    position: absolute;
    width: 100%;
}

.slider-button-up{
    top: 0;
}

.slider-button-down{
    bottom: 0;
}

.slider-button-inactive{
    color: #555;
    cursor: default;
}

.horse-photo-slider{
    height: 100%;
    position: relative;
}

.photo-slider-inner{
    height: 100%;
    overflow: hidden;
}

.photo-slider-item{
    width: 50%;
    height: 100px;
    margin: 10px auto;
    opacity: 0.5;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
}

.photo-slider-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.photo-item-active{
    width: 100%;
    height: calc(100% - 200px);
    opacity: 1;
}

.photo-item-active img{
    height: 100%;
    width: auto;
    border-radius: 20px;
    overflow: hidden;
}

.photo-slider-item:last-child{
    margin-bottom: 110px;
}

.photo-slider-item:first-child{
    margin-top: 110px;
}

.horse-info-item-wrap{
    display: flex;
    flex-wrap: wrap;;
}

.page-gallery-container{
    display: grid;
    gap: 15px;
    grid-template-columns: auto auto auto;
}

.page-gallery-item{
    cursor: pointer;
    transition: all 0.3s;
    background: var(--color-light-gold);
}

.page-gallery-item img, .page-gallery-item video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item-dark{
    opacity: 0.5;
}

/** New Slider Start **/

.slider-photo-container{
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slider-photo-zoom{
    position: absolute;
    background: rgba(0,0,0,0.8);
    top: 10px;
    right: 10px;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 9;
}

.slider-photo-holder{
    position: relative;
    height: 100%;
}

.slider-photo-holder img{
    width: 100%;
    height: 100%;
    border-radius: 24px;
    object-fit: contain;
}

.slider-thumb-container{
    display: flex;
    margin-top: 20px;
}

.slider-thumb-button{
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    cursor: pointer;
}

.slider-thumb-holder{
    flex: 1;
    display: flex;
    overflow: hidden;
}

.slider-thumb-inner{
    display: flex;
}

.slider-thumb-item{
    width: 100px;
    height: 66px;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 10px;
    opacity: 0.6;
    cursor: pointer;
    transition: all 0.25s;
    border: 2px solid transparent;
}

.slider-thumb-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-thumb-item:hover{
    opacity: 1;
}

.slider-thumb-selected{
    opacity: 1;
    border: 2px solid var(--color-gold);
}

.slider-viewmore-thumb{
    margin: 0 10px;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.slider-viewmore-thumb:hover{
    text-decoration: underline;
}

.slider-thumb-video .thumb-video{
    width: 100px;
    height: 66px;
}

.slider-video-container{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

/** New Slider End **/

.horse-info-item-wrap .horse-info-item{
    width: 50%;
}

.horse-info-item-wrap .horse-info-item-full{
    width: 100%;
}

.horse-info-item{
    font-size: 24px;
    margin: 15px 0;
    font-weight: 600;
    font-family: var(--font-playfair);
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-light-gold);
    text-align: center;
}

.horse-info-item span{
    font-weight: 400;
}

.page-section-title{
    font-size: 36px;
    font-family: var(--font-playfair);
    margin-bottom: 30px;
    margin-top: 50px;
    text-align: center;
}

.breeding-container{
    padding-top: 40px;
    padding-bottom: 40px;
}

.breeding-button-container{
    position: sticky;
    top: 70px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    z-index: 2;
}

.breeding-button-item{
    font-size: 14px;
    padding: 15px;
    background: #222;
    margin-bottom: 10px;
    font-weight: 600;
    transition: all 0.3s;
    flex: 1;
    text-align: center;
    position: relative;
    height: 50px;
    cursor: pointer;
}

.breeding-button-item:hover{
    color: var(--gold-alt);
}

.breeding-button-item i{
    color: var(--color-gold);
    margin-left: 5px;
}

.breeding-button-active{
    background: var(--gold-alt);
    color: #000;
    cursor: default;
}

.breeding-button-active:hover{
    color: #000;
}

.breeding-form-container{
    width: 60%;
    margin: 30px auto;
    box-sizing: border-box;
    padding: 15px 20px;
    background: #111;
}

.form-input-holder{
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.form-input-container{
    width: 100%;
}

.form-input-50{
    width: calc(50% - 10px);
}

.form-input-wrap{
    width: 100%;
}

.form-label{
    font-size: 12px;
}

.form-label span{
    color: '#f44336';
    font-size: 12px;
    margin-left: 5px;
}

.form-input{
    width: 100%;
    height: 50px;
    padding: 0 10px;
    background: none;
    border: 1px solid #444;
    border-radius: 5px;
    transition: all 0.3s;
    color: #eee;
}

.form-input:focus{
    outline: none;
    border: 1px solid var(--color-gold);
}

.form-section-title{
    position: relative;
    font-size: 16px;
    display: flex;
    align-items: center;
    color: var(--color-gold);
    font-family: var(--font-playfair);
    margin-bottom: 20px;
    margin-top: 30px;
}

.form-submit-holder{
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 35px;
    margin-bottom: 20px;
}

.form-submit-button, .form-next-button{
    width: 250px;
    height: 55px;
    background: var(--gold-alt);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 600;
    cursor: pointer;
}

.form-back-button{
    width: 250px;
    height: 55px;
    background: #222;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-alt);
    font-weight: 600;
    cursor: pointer;
}

.form-submit-button i, .form-next-button i{
    font-size: 24px;
    margin-left: 20px;
}

.form-back-button i{
    font-size: 24px;
    margin-right: 20px;
}

.breeding-form{
    display: none;
}

#mare-owner-form{
    display: block;
}

.form-checkbox-holder{
    margin-bottom: 10px;
}

.form-checkbox{
    display: flex;
    align-items: center;
    color: var(--color-light-gold);
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
}

.form-checkbox-icon{
    font-size: 24px;
    color: #444;
    margin-right: 10px;
}

.form-checkbox:hover, .checkbox-checked{
    color: var(--color-gold);
}

.checkbox-checked .form-checkbox-icon{
    color: var(--color-gold);
}

.contact-container{
    height: calc(100% - 106px);
    display: flex;
    align-items: center;
}

.contact-detail-container, .contact-form-container{
    box-sizing: border-box;
    width: 50%;
    padding: 20px;
}

.contact-form-container{
    background: #111;
}

.contact-flag-wrap{
    height: 60px;
}

.contact-flag-wrap img{
    height: 100%;
}

.contact-name-wrap{
    font-size: 18px;
    color: var(--color-gold);
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-call-wrap{
    font-size: 16px;
    font-weight: 500;
    color: var(--color-light-gold);
    margin-bottom: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-call-wrap:hover{
    color: var(--color-gold);
}

.home-result-wrap{
    margin-top: 10px;
}

.home-result-licensed{
    padding: 3px;
    height: 40px;
}

.home-result-item{
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.home-result-year{
    font-size: 13px;
    font-weight: 500;
}

.home-result-detail{
    display: flex;
    align-items: center;
    font-size: 12px;
    margin-left: 10px;
    overflow: hidden;
}

.home-result-flag{
    width: 25px;
}

.home-result-flag img{
    width: 100%;
}

.home-result-title{
    font-weight: 500;
    margin-left: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-result-special{
    color: var(--color-gold);
}

#result-title{
    text-align: center;
}

.result-graph-container{
    margin-bottom: 30px;
}

.result-graph-container img{
    width: 100%;
}

.payment-popup-fluid{
    position: fixed;
    z-index: 9999;
    background: rgba(0,0,0,0.6);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backdrop-filter: saturate(180%) blur(5px);
    overflow-x: hidden;
    display: none;
}

.payment-popup-container{
    width: 100%;
    max-width: 700px;
    margin: auto;
    padding: 50px 15px;
    display: none;
}

.payment-popup-inner{
    background: #333;
    width: 100%;
}

.payment-popup-header{
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-poppins);
    color: var(--color-gold);
}

.close-payment-popup{
    color: #f44336;
    width: 30px;
    font-size: 28px;
    text-align: right;
    cursor: pointer;
}

.payment-popup-body{
    padding: 20px;
}

.payment-loading-item{
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.payment-loading-avatar{
    width: 80px;
    height: 80px;
    background: #454545;
    border-radius: 8px;
}

.payment-loading-detail{
    flex: 1;
    margin-left: 20px;
}

.payment-loading-name{
    background: #454545;
    height: 20px;
    width: 40%;
    border-radius: 3px;
}

.payment-loading-price{
    background: #454545;
    width: 75%;
    height: 20px;
    margin-top: 15px;
    border-radius: 3px;
}

.payment-horse-radio{
    margin-bottom: 60px;
}

.breeding-horse-radio{
    display: flex;
    background: #333;
    width: 100%;
    justify-content: space-between;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 8px;
}

.horse-radio-item{
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid transparent;
    flex: 1;
    max-width: 45%;
}

.horse-radio-selected{
    background: #444;
    border: 1px solid var(--color-gold);
    cursor: default;
}

.horse-radio-icon{
    font-size: 32px;
    margin-left: 10px;
    color: #666;
}

.horse-radio-selected .horse-radio-icon{
    color: var(--color-gold);
}

.horse-radio-item:hover{
    background: #444;
}

.horse-radio-avatar{
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
    margin-left: 20px;
    margin-right: 30px;
}

.horse-radio-avatar img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.horse-radio-name{
    font-size: 18px;
    font-family: var(--font-playfair);
    font-weight: 600;
    color: var(--color-gold);
}

.horse-radio-price{
    font-weight: 600;
    font-family: var(--font-poppins);
    font-size: 24px;
}

.horse-radio-price span{
    text-decoration: line-through;
    font-size: 0.9em;
    color: #ccc;
    padding-right: 5px;
}

.horse-radio-note{
    text-align: center;
    margin-bottom: 20px;
}

.horse-radio-note span{
    font-style: italic;
}

.StripeElement{
    box-sizing: border-box;
    height: 40px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 4px;
    background-color: #eee;
}

#submit{
    min-width: 250px;
    height: 55px;
    background: var(--gold-alt);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    margin: auto;
    margin-top: 50px;
    border: none;
}

#card-errors{
    font-size: 13px;
    color: #f44336;
}

.payment-confirm-title{
    text-align: center;
    font-size: 24px;
}

.payment-confirm-message{
    text-align: center;
    font-size: 16px;
    margin-top: 10px;
}

.payment-confirm-button{
    background: var(--gold-bg);
    color: #000;
    width: 250px;
    margin: 50px auto 20px;
    text-align: center;
    height: 50px;
    align-items: center;
    justify-content: center;
    display: flex;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 600;
}

.payment-confirm-button:hover{
    color: #000;
    text-decoration: none;
}

.horse-mobile-slider{
    display: none;
    margin: 0 -30px;
}

.mobile-slider-main{
    height: 200px;
    background: #333;
}

.mobile-slider-main img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mobile-slider-thumb-container{
    display: flex;
    margin-top: 10px;
}

.mobile-slider-button{
    font-size: 32px;
    display: flex;
    align-items: center;
    width: 35px;
    background: rgba(0,0,0,0.5);
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.mobile-slider-button:hover{
    background: rgba(255,255,255,0.8);
    color: #000;
}

.mobile-slider-thumb-wrap{
    width: 100%;
    overflow-y: hidden;
}

.mobile-slider-thumb-inner{
    display: flex;
    width: max-content;
}

.mobile-slider-thumb{
    width: 100px;
    height: 60px;
    margin: 5px;
    overflow: hidden;
    border-radius: 5px;
    opacity: 0.5;
    transition: opacity 0.3s;
    cursor: pointer;
}

.mobile-slider-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-slider-thumb:hover, .mobile-thumb-selected{
    opacity: 1;
}

.media-popup-fluid{
    position: fixed;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background: #222;
    padding-left: 0;
    padding-right: 0;
    display: none;
}

.media-popup-sidebar{
    position: absolute;
    width: 25%;
    height: 100%;
    background: #333;
    display: none;
}

.media-sidebar-header{
    display: flex;
    align-items: center;
    padding: 10px 15px;
    justify-content: space-between;
    font-size: 24px;
    font-family: var(--font-playfair);
    color: var(--color-gold);
}

.close-media-popup{
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
}

.media-sidebar-tab{
    display: flex;
    align-items: center;
    border-bottom: 1px solid #000;
    margin-top: 10px;
}

.sidebar-tab-item{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: -1px;
    border-bottom: 1px solid transparent;
    cursor: pointer;
}

.sidebar-tab-item i{
    font-size: 18px;
    margin-right: 10px;
}

.sidebar-tab-selected{
    border-bottom: 1px solid var(--color-gold);
    color: var(--color-gold);
    cursor: default;
}

.media-sidebar-body{
    padding: 10px;
    height: calc(100% - 94px);
    overflow-x: hidden;
}

.sidebar-photo-container{
    display: block;
}

.sidebar-photo-thumbs{
    display: grid;
    gap: 10px;
    grid-template-columns: auto auto;
    padding-bottom: 10px;
}

.sidebar-thumb-item{
    opacity: 0.5;
    border: 2px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
}

.sidebar-thumb-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-thumb-item:hover{
    opacity: 1;
}

.sidebar-thumb-selected{
    opacity: 1;
    border: 2px solid var(--color-gold);
    cursor: default;
}

.media-popup-container{
    width: 100%;
    height: 100%;
    padding-left: 25%;
}

.media-popup-inner{
    width: 100%;
    height: 100%;
    padding: 10px;
}

.popup-photo-holder, .popup-video-holder{
    width: 100%;
    height: 100%;
}

.popup-photo-holder img, .popup-video-holder video{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sidebar-video-container{
    display: none;
}

.sidebar-video-thumbs{
    display: grid;
    gap: 10px;
    grid-template-columns: auto;
    padding-bottom: 10px;
}

.video-thumb-item{
    cursor: pointer;
    position: relative;
    opacity: 0.5;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.sidebar-thumb-video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumb-item:hover{
    opacity: 1;
}

.video-thumb-selected{
    opacity: 1;
    border: 2px solid var(--color-gold);
}

.object-right{
    object-position: right;
}

.object-left{
    object-position: left;
}

/** Elliot Breeding Start **/

.elliot-breeding-container{
    font-size: 13px;
    margin-right: -20px;
    padding-left: 10px;
    position: relative;
    color: var(--color-light-gold);
    margin-bottom: 50px;
}

.breeding-top{
    display: flex;
    position: relative;
    z-index: 1;
}

.breeding-top-title{
    font-size: 16px;
    font-weight: 500;
    line-height: 40px;
    padding-left: 5px;
}

.breeding-top-box{
    display: flex;
    border: 1px solid var(--color-light-gold);
    padding: 10px;
    flex: 1;
    align-items: flex-end;
    margin-left: 15px;
    background: #000;
}

.top-box-item{
    flex: 1;
}

.breeding-body{
    display: flex;
    height: 830px;
    margin-top: 15px;
    margin-left: 15px;
}

.breeding-col, .breeding-col-one{
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.breeding-box{
    border: 1px solid var(--color-light-gold);
    padding: 10px;
    background: #000;
    position: relative;
}

.breeding-col-one{
    justify-content: space-around;
}

.breeding-col-one .breeding-box{
    height: 300px;
    display: flex;
    flex-direction: column;
}

.breeding-col-one-line{
    position: absolute;
    border: 2px solid var(--color-light-gold);
    border-right: none;
    left: -15px;
    top: -65px;
    width: 100%;
    height: 400px;
}

.breeding-col{
    justify-content: space-between;
    margin-left: 30px;
    background: #000;
}

.breeding-col .breeding-box{
    display: flex;
    height: 200px;
    flex-direction: column;
}

.breeding-box-item{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.breeding-box-divider{
    height: 1px;
    background: var(--color-light-gold);
    margin: 0 -10px;
}

.breeding-line-col{
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    left: -15px;
    flex-direction: column;
    justify-content: space-around;
}

.breeding-line-box{
    height: 100px;
    border: 2px solid var(--color-light-gold);
    background: #000;
}

.breeding-line-box-two{
    height: 200px;
    border: 2px solid var(--color-light-gold);
    background: #000;
    width: calc(100% + 50px);
}

.breeding-line-box-one{
    height: 420px;
    border: 2px solid var(--color-light-gold);
    background: #000;
    width: calc(100% + 50px);
}

.horse-mobile-breeding{
    margin: 0 -15px;
    display: none;
}

.mobile-breeding-container{
    position: relative;
    font-size: 12px;
    color: var(--color-light-gold);
    margin-bottom: 50px;
}

.mobile-breeding-top{
    margin-left: 15px;
    position: relative;
}

.mobile-breeding-title{
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.mobile-top-box{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border: 1px solid var(--color-light-gold);
    padding: 5px;
    background: #000;
}

.mobile-box-two, .mobile-box-three, .mobile-box-four{
    height: 80px;
    border: 1px solid var(--color-light-gold);
    padding: 5px;
    margin: 10px 0;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-box-two{
    margin-left: 30px;
}

.mobile-box-three{
    margin-left: 45px;
}

.mobile-box-four{
    margin-left: 60px;
}

.mobile-box-line{
    position: absolute;
    border: 2px solid var(--color-light-gold);
    border-right: none;
}

.top-box-line{
    height: 725px;
    width: 80%;
    top: 65px;
}

.top-box-line .mobile-box-divider{
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--color-light-gold);
    top: 90px;
}

.mobile-box-two .mobile-box-line{
    height: 350px;
    top: 50px;
    left: -15px;
    width: 80%;
    z-index: -1;
}

.mobile-box-two .mobile-box-line .mobile-box-divider{
    position: absolute;
    width: 80%;
    height: 2px;
    left: 0;
    top: 75px;
    background: var(--color-light-gold);
}

.mobile-box-three .mobile-box-line{
    height: 170px;
    width: 80%;
    z-index: -1;
    left: -15px;
    top: 50px;
}

.mobile-box-three .mobile-box-line .mobile-box-divider{
    height: 2px;
    width: 80%;
    position: absolute;
    left: 0;
    top: 76px;
    background: var(--color-light-gold);
}

/** Elliot Breeding End **/

/** Chadino Pedigree Start **/

.horse-page-pedigree{
    margin-bottom: 50px;
}

.horse-pedigree-container{
    height: 800px;
    display: flex;
}

.horse-pedigree-col{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.pedigree-line{
    height: 1px;
    background: var(--color-light-gold);
    position: relative;
}

.pedigree-box{
    border: 1px solid var(--color-light-gold);
    border-right: none;
    position: relative;
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pedigree-col-two .pedigree-box{
    height: 400px;
}

.pedigree-col-three .pedigree-box{
    height: 200px;
}

.pedigree-col-four .pedigree-box{
    height: 100px;
}

.horse-pedigree-detail{
    margin-bottom: -23px;
}

.horse-pedigree-detail:first-child{
    margin-top: -29px;
}

.horse-pedigree-name{
    color: var(--color-light-gold);
    font-weight: 500;
    line-height: 30px;
    font-size: 15px;
}

.horse-pedigree-name span{
    font-weight: 400;
}

.horse-pedigree-type{
    font-size: 12px;
    line-height: 22px;
}

.horse-mobile-pedigree{
    margin-bottom: 50px;
    position: relative;
    display: none;
}

.mobile-pedigree-box{
    height: 70px;
    display: flex;
    align-items: center;
}

.mobile-pedigree-line{
    height: 1px;
    background: var(--color-light-gold);
    padding-left: 15px;
    width: 100%;
}

.mobile-line-two{
    margin-left: 0;
    padding-left: 30px;
}

.mobile-line-three{
    margin-left: 15px;
    padding-left: 30px
}

.mobile-line-four{
    margin-left: 30px;
    padding-left: 30px;
}

.mobile-side-line{
    position: absolute;
    width: 1px;
    background: var(--color-light-gold);
}

.mobile-sideline-one{
    height: 560px;
    left: 0;
    top: 35px;
}

.mobile-sideline-two{
    top: 105px;
    left: 15px;
    height: 280px;
}

.mobile-sideline-three{
    left: 15px;
    height: 280px;
    top: 595px;
}

.mobile-sideline-four{
    left: 30px;
    top: 175px;
    height: 140px;
}

.mobile-sideline-five{
    left: 30px;
    top: 385px;
    height: 140px;
}

.mobile-sideline-six{
    left: 30px;
    top: 665px;
    height: 140px;
}

.mobile-sideline-seven{
    left: 30px;
    top: 875px;
    height: 140px;
}

/** Chadino Pedigree End **/

.contact-success-wrap{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-success-icon{
    font-size: 60px;
    color: var(--color-gold);
}

.contact-success-title{
    font-size: 24px;
    color: var(--color-gold);
    margin: 20px 0;
    text-align: center;
}

.contact-success-message{
    font-size: 16px;
    text-align: center;
}

.button-loading{
    background: #aaa;
    cursor: default;
}

@media screen and (max-width: 700px){
    
    .topbar-fixed-toggle{
        right: 10px;
        height: 60px;
        left: unset;
    }
    
    .topbar-fluid{
        height: 60px;
    }
    
    .topbar-logo-container{
        height: 38px;
        flex: 1;
        display: flex;
        padding-left: 0;
        justify-content: flex-start;
    }
    
    .topbar-logo{
        font-size: 20px;
    }
    
    .topbar-right{
        display: none;
    }
    
    .sidebar-inner .topbar-right{
        display: flex;
        flex: 1;
        align-items: flex-end;
    }
    
    .topbar-page-title{
        font-size: 18px;
        padding-top: 60px;
    }
    
    .home-fluid{
        height: auto;
        flex-direction: column;
    }
    
    .home-col{
        width: 100%;
        flex-direction: column;
    }
    
    .home-col-right{
        flex-direction: column-reverse;
        margin-top: 50px;
        margin-bottom: 50px;
    }
    
    .home-col-photo{
        width: 100%;
        height: 300px;
        margin-bottom: 30px;
    }
    
    .home-col-info{
        width: 100%;
    }
    
    .home-col-right .home-col-info{
        align-items: flex-start;
    }
    
    .home-col-right .home-col-photo{
        transform: scale(1, 1);
    }
    
    .sidebar-container{
        width: calc(100% - 70px);
    }
    
    .horse-page-photo{
        display: none;
    }
    
    .horse-page-text{
        width: 100%;
    }
    
    .horse-mobile-slider{
        display: block;
        margin-bottom: 50px;
    }
    
    .horse-info-item-wrap{
        flex-direction: column;
    }
    
    .horse-info-item-wrap .horse-info-item{
        width: 100%;
        margin: 5px 0;
    }
    
    .sire-body{
        padding-left: 0;
    }
    
    .dam-sire-container{
        padding: 15px 0;
        padding-left: 0;
    }
    
    .result-table-container{
        display: none;
    }
    
    .breeding-button-container{
        flex-direction: column;
        position: static;
    }
    
    .breeding-form-container{
        width: 100%;
    }
    
    .form-submit-holder{
        justify-content: space-between;
    }
    
    .form-next-button, .form-back-button, .form-submit-button{
        max-width: 48%;
        height: 45px;
    }
    
    .contact-container{
        height: auto;
        flex-direction: column;
    }
    
    .contact-detail-container, .contact-form-container{
        width: 100%;
    }
    
    .horse-page-breeding{
        display: none;
    }
    
    .horse-mobile-breeding{
        display: block;
    }
    
    .page-gallery-container{
        grid-template-columns: auto auto;
    }
    
    .media-popup-sidebar{
        position: absolute;
        width: 100%;
        height: 174px;
        background: #333;
        display: none;
    }
    
    .media-sidebar-body{
        padding: 10px;
        height: 70px;
        overflow-x: unset;
        overflow-y: hidden;
    }
    
    .sidebar-photo-thumbs, .sidebar-video-thumbs{
        display: flex;
        overflow-y: hidden;
        width: max-content;
    }
    
    .sidebar-thumb-item, .video-thumb-item{
        border: 2px solid #222;
        transition: all 0.3s;
        cursor: pointer;
        width: 50px;
        height: 50px;
        margin: 0 3px;
    }
    
    .sidebar-thumb-selected, .video-thumb-selected{
        opacity: 1;
        border: 2px solid var(--color-gold);
    }
    
    .media-popup-container{
        width: 100%;
        height: 100%;
        padding-left: 0;
        padding-top: 170px;
    }
    
    .popup-photo-holder img{
        background: #333;
    }
    
    .horse-page-pedigree{
        display: none;
    }
    
    .horse-mobile-pedigree{
        display: block;
    }
    
    .breeding-horse-radio{
        flex-direction: column;
    }
    
    .horse-radio-item{
        width: 100%;
        max-width: unset;
    }
    
    .horse-radio-item:first-child{
        margin-bottom: 20px;
    }
}
