﻿h1 {
    font-size: 1.5em;
    font-weight: bold;
    padding: 0px 0px 0px 0px;
    margin: 30px 0px 20px 50px;
    border-bottom: 1px dotted grey;
}

.venue-header {
    display: block;
    width: 100%;
    overflow: hidden;
    background-color: white;
    padding: 6px 0 6px 6px;
    font-weight: bold;
    font-size: 1.5em;
}

.togMenu {
    font-weight: normal;
}

    .togMenu a {
        color: white;
    }

.togContent {
    display: none;
    text-align: left;
}

.togContent_Disp {
    display: block;
    text-align: left;
}

.togBox {
    display: block;
    width: 100%;
    overflow: hidden;
    text-align: center;
    padding: 0 0 0 0;
    font-size: 0.9em;
    background-color: white;
    border: 1px solid #d3d3d3;
    margin-bottom: 20px;
}

.togItem {
    display: inline-block;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 6px;
    margin-bottom: 6px;
    padding: 6px 6px 6px 6px;
    border: 1px solid #d3d3d3;
    width: 90%;
    font-size: 0.8em;
    background-color: #E8F4F8;
    border-radius: 6px;
}

.togItem-Stakes {
    display: inline-block;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 6px;
    margin-bottom: 6px;
    padding: 6px 6px 6px 6px;
    border: 1px solid #d3d3d3;
    width: 90%;
    font-size: 0.8em;
    background-color: #19b74e;
    color:white;
    border-radius: 6px;
}

.togHeader {
    padding: 12px 0 0 24px;
    font-size: 0.9em;
}


.horse {
    background-color: #ececec;
    color: #197b9c;
    margin-top: 6px;
    padding: 3px 0px 3px 5px;
}

.horseb {
    border-top: 2px solid #d3d3d3;
    margin-top: 20px;
    padding: 3px 0px 3px 5px;
    font-size: 1em;
}

.salename-wrapper {
    display: inline-block;
    vertical-align: top;
}

.sale {
    display: inline-block;
    padding: 0;
}

.saleprice {
    display: inline-block;
    text-align: left;
}

.vendor {
    display: block;
    padding: 0px 0px 0px 0px;
}

.raceheader {
    display: block;
    width: 90%;
    background-color: grey;
    color: white;
    padding: 15px 0px 15px 15px;
    margin: 20px 0 0 10px;
    font-size: 1em;
    border-radius:20px 20px 0 0;
}

.raceheaderSR {
    display: block;
    width: 90%;
    background-color: #19b74e;
    color: white;
    padding: 15px 0px 15px 15px;
    margin: 20px 0 0 10px;
    font-size: 1em;
    border-radius: 20px 20px 0 0;
}

.sale-wrapper {
    display: block;
    width: 100%;
    overflow: hidden;
    font-size: 1em;
    background-color: #E8F4F8;
    padding: 6px 10px 6px 10px;
    margin: 10px 10px 10px 10px;
    border-radius: 10px;
}

.sale-image-wrapper {
    display: inline-block;
    padding: 0 0 0 0;
}

.sale-details-wrapper {
    display: inline-block;
    color: #666;
    width: 90%;
    overflow: hidden;
}

.meeting-header {
    background-color: #1E7D9C;
    padding: 6px 0 6px 0;
    color: white;
}

.ylgicon {
    display: inline-block;
    margin: 0;
}

.ylgimage {
    margin: 5px 0px 0px 0px;
}

    .ylgimage img {
        max-width: 400px;
        height: auto;
    }

.sale-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #4299e1;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: normal;
    text-align: center;
    transition: background 0.2s;
    margin: 0.25rem 0.75rem;
    width: 120px;
}

    .sale-link:hover {
        background: #3182ce;
    }
/* Make the RaceList menu sticky */
#RaceList {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff; /* Adjust to match your design */
}

/* Optional: Add a subtle shadow when sticky for better visibility */
#RaceList {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    /* Alternative: If you need to support older browsers, use fixed positioning with JavaScript */
    #RaceList.is-sticky {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
.mail-link{display:block;}
.top-banner-970-dt{display:none;}
.top-banner-320-mob{display:block;text-align:center;margin:20px auto 20px auto;}
.head-links{display:none;}

@media only screen and (min-width: 768px) {
    .sale-image-wrapper {
        display: inline-block;
        padding: 0 0 0 0;
        width: 50px;
    }

    .ylgimage img {
        max-width: 90%;
        height: auto;
    }

    .togItem {
        width: 30%;
        margin-left: 1%;
        margin-right: 1%;
        font-size: 0.8em;
    }

    .togItem-Stakes {
        width: 30%;
        margin-left: 1%;
        margin-right: 1%;
        font-size: 0.8em;
    }

    .saleprice {
        display: inline-block;
        text-align: left;
    }

    .vendor {
        display: inline-block;
        padding: 0px 0px 0px 0px;
    }

    .sale-link {
        display: inline-block;
        padding: 0.1rem 0.1rem;
        border-radius: 6px;
        width:100px;
        font-size:0.7rem;
    }
    .mail-link {
        display: inline-block;
    }
    .sale-wrapper {
        overflow: hidden;
        font-size: 1em;
        margin: 10px 10px 10px 30px;
    }
    .top-banner-970-dt {
        display: block;
        width:100%;
        overflow:hidden;
        text-align:center;
        margin:20px auto 20px auto;
    }
    .top-banner-320-mob {
        display: none;
    }
}

@media only screen and (min-width: 992px) {
    .head-links {
        display: block;
    }
}
