
#container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
}
#a4-page {
    width: 100%;
    height: 1460px;
    columns: 2;
    column-gap: 20px;
    column-rule: 1px solid grey;
    /*padding: 20px;*/
    box-sizing: border-box;
    padding-top: 0;
}
#single-page {
    margin-bottom: 5px;
    max-width: 1065px;
}
.race-item {
    break-inside: avoid;
    margin-bottom: 10px;
    display: inline-block;
}

.ad-container {
    margin: 5px auto;
    width: 100%;
}

@media print {
    body * {
        visibility: hidden;
    }
    #print-area, #print-area * {
        visibility: visible;
    }
    #print-area {
        position: absolute;
        top: 0;
        left: 0;
    }
    .print-button {
        display: none;
    }
    #single-page {
        break-inside: avoid;
    }
    #a4-page {
        height: auto;
    }
}

.print-button {
    margin-left: 50px;
    background-color: #afaf37;
    color: white;
    border-radius: 5px;
    padding: 10px 20px;
    border: none;
}
.page-header {
    max-width: 1065px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid grey;
    padding: 0 10px;
    margin: 0;
}
.page-footer {
    width: 1065px;
    height: 40px;
    background-color: #044493;
    margin: 0 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-header-date {

}
.race-table {
    border: none;
    border-collapse: collapse;
    width: 100%;
    font-size: 11px;
}

.race-table th {
    padding: 5px;
    text-align: left;
    border: none;
}

.race-table td {
    padding: 1px 2px;
    text-align: left;
    border: none;
}

.race-table th {
    background-color: #f2f2f2;
}

.dropdown {
    background: #f2f2f2;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.title-race-no {
    width: 85px;
    color: white;
    background-color: #044493;
    font-weight: bold;
    padding: 5px 10px
}
.title-race-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background-color: grey;
    color: white;
    padding: 5px 10px;
    font-weight: bold
}
.race-info {
    display: flex;
    justify-content: space-between;
    margin: 5px;
    font-weight: bold;
    font-size: 11px
}
.race-group {
    background-color: red;
    color: white;
    padding: 5px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 2px;
}
.runner-silks {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    max-width: 500px;
    padding: 5px
}

.runner-silks > div {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    position: relative;
}

.runner-tab {
    position: absolute;
    font-size: 11px;
    font-weight: bold;
    top: 0;
    left: 0;
}

.race-table tr[data-scratching="1"] {
    /*background-color: gray;*/
    text-decoration: line-through;
}

.venue-info-contianer {
    max-width: 1065px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*margin-top: 20px;*/
    font-weight: 700;
    background-color: rgb(4, 68, 147);
    color: white;
    padding: 5px;
}
    .venue-info-contianer > div {
        display: flex;
        gap: 10px;
    }
    .venue-info-contianer img {
        width: 50px;
    }

.venue-info-contianer p {
    margin: 0;
}

.course-name {
    font-size: 28px;
}