﻿body{
    font-size: 85%;
}
.StakesHeader {
    display: inline-block;
    border-top: 1px dotted grey;
    padding-top: 3px;
    padding-bottom: 3px;
    margin-top: 5px;
    width: 100%;
}

.horsename {
    display: inline-block;
    font-weight: bold;
    padding-left: 5px;
}

.sire {
    display: inline-block;
    font-weight: normal;
    padding-left: 5px;
    font-size: 0.9em;
}

.trainer {
    display: block;
    width: 90%;
    font-size: 0.9em;
    padding-left: 20px;
}

.breeding {
    display: inline-block;
    font-size: 0.9em;
}

.sale {
    display: block;
    width: 90%;
    font-size: 0.9em;
    padding-left: 20px;
}

.runnerWrapper {
    border-top: dotted grey 1px;
    margin-top: 3px;
    padding-top: 3px;
    width: 100%;
    font-size: 0.9em;
}

.stakes-racename {
    display: inline-block;
    padding-left: 5px;
}

.stakes-location {
    display: inline-block;
}

.sortmenu {
    font-size: 1.2em;
}

.sortmenulink {
    display: inline-block;
    width: 110px;
    background-color: #084e65;
    color: white;
    border: 1px solid grey;
    border-color: #ececec;
    text-align: center;
    margin-left: 3px;
}

.refinemenu {
    font-size: 1.2em;
    margin-top: 10px;
}

.refinemenulink {
    display: inline-block;
    width: 80px;
    background-color: #4daece;
    color: white;
    border: 1px solid grey;
    border-color: #ececec;
    text-align: center;
    margin-left: 3px;
}

    .refinemenulink a {
        color: white;
    }

.sortmenuheader {
    width: 150px;
    text-align: right;
    display: inline-block;
}

.stakesmenu {
    margin-bottom: 20px;
    margin-top: 20px;
}

.history {
    background-color: orange;
    float: right;
    font-size: 0.8em;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 3px;
}

.gridcontent {
    display: block;
}

.grid-mobile-display {
    display: none;
}

@media only screen and (max-width: 1000px) {
    .horsename {
        padding-left: 0px;
    }

    .stakes-location {
        width: 95%;
    }

    .stakes-racename {
        padding-left: 0px;
    }

    .trainer {
        display: block;
        width: 90%;
        font-size: 0.9em;
        padding-left: 0px;
    }

    .breeding {
        display: block;
        width: 90%;
        font-size: 0.9em;
        padding-left: 0px;
    }

    .sale {
        display: block;
        width: 90%;
        font-size: 0.9em;
        padding-left: 20px;
    }

    .stakes-racename {
        display: block;
        padding-left: 0px;
    }

    .stakes-location {
        display: block;
    }

    .sortmenu {
        font-size: 1em;
    }

    .sortmenuheader {
        width: 70px;
        text-align: right;
        display: inline-block;
    }

    .sortmenulink {
        display: inline-block;
        width: 75px;
        background-color: #084e65;
        color: white;
        border: 1px solid grey;
        border-color: #ececec;
        text-align: center;
        margin-left: 3px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .refinemenu {
        font-size: 1em;
        margin-top: 10px;
    }

    .refinemenulink {
        display: inline-block;
        width: 60px;
        background-color: #4daece;
        color: white;
        border: 1px solid grey;
        border-color: #ececec;
        text-align: center;
        margin-left: 3px;
        padding-top: 6px;
        padding-bottom: 6px;
    }
}

@media only screen and (max-width: 500px) {
    .sortmenu {
        font-size: 1em;
    }

    .sortmenuheader {
        width: 70px;
        text-align: right;
        display: inline-block;
    }

    .sortmenulink {
        display: inline-block;
        width: 60px;
        background-color: #084e65;
        color: white;
        border: 1px solid grey;
        border-color: #ececec;
        text-align: center;
        margin-left: 3px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .refinemenu {
        font-size: 1em;
        margin-top: 10px;
    }

    .refinemenulink {
        display: inline-block;
        width: 50px;
        background-color: #4daece;
        color: white;
        border: 1px solid grey;
        border-color: #ececec;
        text-align: center;
        margin-left: 3px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .gridcontent {
        display: none;
    }

    .grid-mobile-display {
        display: block;
    }
}

.gridheader {
    background-color: #bb8042;
    padding: 4px 10px 4px 10px;
}

    .gridheader a {
        color: white;
        text-decoration: none;
    }

.gridrow {
    border-bottom: 1px dotted grey;
    padding-top: 6px;
    padding-left: 10px;
}
