body {
    font: 100% "Roboto", Verdana;
    font-size: 12px;
    line-height: 20px;
    margin: 0;
    padding: 0;
    text-align: center;
    color: #444444;
}

#container {
    width: 100%;
    background: #FFFFFF;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

@media only screen and (min-width: 950px) {
    .bodyContainer #mainContent {
        width: 950px;
        margin: 0 auto;
    }
}

.bodyContainer #containerWide {
    width: 100%;
    /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
    background: #FFFFFF;
    margin: 0 auto;
    /* the auto margins (in conjunction with a width) center the page */
    border: 1px solid #000000;
    text-align: left;
    /* this overrides the text-align: center on the body element. */
    /*	background-image:url(images/container_bg.gif); */
}

.bodyContainer #header {
    background: #DDDDDD;
    padding: 0 0px 0 0px;
    /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
}

.bodyContainer #header h1 {
    margin: 0;
    /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
    padding: 10px 0;
    /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}


.bodyContainer #mainContent {
    /* margin: 0 230px 0 0; the right margin on this div element creates the column down the right side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
    padding: 30px 0px 0px 40px;
    /* remember that padding is the space inside the div box and margin is the space outside the div box */
    background-color: #ffffff;
    flex-grow: 1;
}

.bodyContainer #mainContentWide {
    margin: 0 0 0 0;
    /* the right margin on this div element creates the column down the right side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
    padding: 30px 40px 0px 40px;
    /* remember that padding is the space inside the div box and margin is the space outside the div box */
}

.bodyContainer #footer {
    padding: 0 10px 0 20px;
    /* this padding matches the left alignment of the elements in the divs that appear above it. */
    background: #DDDDDD;
}

.bodyContainer #footer p {
    margin: 0;
    /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
    padding: 10px 0;
    /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}        

td {
    background-color: #dddddd;
}

.clear_bg {
    background-color: #ffffff;
}

th {
    background-color: #cccccc;
}

h3 {
    margin-top: 30px;
    color: #a80000;
}

#home_box1,
#home_box2,
#home_box3 {
    width: 200px;
    height: 284px;
    border: 1px solid #ccc;
    float: left;
    margin-right: 12px;
    background-image: url(images/home_box_background.jpg);
    padding: 8px;
    overflow: hidden;
}

#home_box3 {
    margin-right: 0px;
    width: 202px;
}

.result_box li {
    list-style: none;
    margin-left: 0px;
    padding-left: 0px;
}

.result_box ul {
    margin-left: 0px;
    padding-left: 0px;
}

.updated-member-details{
    color: red;
}


.form-group.updated-member-details label {
    color: #d32f2f;
    font-weight: 600;
}

label{
    padding-left: 0;
    position: static;
    padding-top: 0;
    margin-top: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 0;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    max-width: 300px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group-checkbox {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 0;
}

.form-group-checkbox label{
    font-size: 16px;
}

.primary-button{
    background-color: #123b58;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
}

.booking input,
.booking select,
.booking textarea {
    margin-left: 190px;
    margin-top: 12px;
}

.booking input,
.booking textarea {
    width: 250px;
}

.booking textarea {
    height: 120px;
}


/* Athlete search - shared by the handicapper, password reset and athlete check pages */

.athlete-search {
    position: relative;
    max-width: 300px;
}

#athleteList {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    max-height: 260px;
    overflow-y: auto;
    background-color: #fff;
}

.athleteList-active {
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

#athleteList p {
    cursor: pointer;
    padding: 6px 10px;
    margin: 0;
}

#athleteList p:hover {
    background-color: var(--league-primary, #003551);
    color: #fff;
}

/* set marks styles */

th,
td {
    padding: 6px;
}

button {
    font-size: 10px;
    margin-top: 5px;
}

#textInput {
    outline: none;
    color: black;
    border: 1px solid #000000;
    background-color: #dddddd;
}

#textInput:focus {
    border: 1px solid #000000;
}

.hidden_runs {
    padding: 0px;
    background-color: #ebebeb;
}
.run-box{
    cursor: pointer;
}
.run-box:hover{
    background-color: #cecece;
}


/* Live program */
@media only screen and (max-width: 800px) {
    .welcome {
        font-size: .6em;
    }
}
.program-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.meeting-button{
    background-color: #000;
    border-radius: 10px;
}
.meeting-button a{
    color: #fff;
    text-decoration: none;
    display: inline-block;
    padding: 20px;
}



body {
    font: 100% "Roboto", Verdana;
    font-size: 12px;
    line-height: 20px;
    margin: 0;
    padding: 0;
    color: #444444;
}
.nomination-state-container {
    display: flex;
    flex-direction: row;
    gap: 50px;
    justify-content: space-evenly;
    max-width: 1288px;
    margin: 0 auto;
}
.submit-noms-val,
.submit-noms-saal {
    padding: 3px 10px;
    border-radius: 15px;
    color: #fff;
    height: 34px;
    font-size: 20px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}
.submit-noms-saal { background-color: #123b58; }
.submit-noms-val  { background-color: #9e1c20; }

@media screen and (max-width: 1000px) {
    .nomination-state-container { flex-direction: column; }
}

h3 { margin-top: 30px; color: #a80000; font-size: 20px; }

#home_box1, #home_box2, #home_box3 {
    width: 200px; height: 284px; border: 1px solid #ccc; float: left;
    margin-right: 12px;
    background-image: url(images/home_box_background.jpg);
    padding: 8px; overflow: hidden;
}
#home_box3 { margin-right: 0px; width: 202px; }

.agree-container { display: flex; }

.result_box li, .result_box ul { list-style: none; margin-left: 0px; padding-left: 0px; }


.booking input, .booking select, .booking textarea { margin-left: 190px; margin-top: 12px; }
.booking input, .booking textarea { width: 250px; }
.booking textarea { height: 120px; }

td { background-color: #dddddd; }
.clear_bg { background-color: #ffffff; }
th { background-color: #cccccc; }


            #form-new-athlete{ display: none; }
            #form-new-coach{ display: none; }
            #form-returning-athlete{ display: none; flex-direction: column; }
            #form-returning-coach{ display: none; flex-direction: column; }
            #form-interstate{ display: none; }
            body{ margin: 0; font-family: "Roboto", Verdana; }
            .page-container{
                display: flex;
                flex-direction: column;
                align-items: center;
                max-width: 800px;
                margin: 0 auto;
                padding: 0 20px;
            }
            .back-button{ display: none; }
            .form{
                display: flex;
                flex-direction: column;
                gap: 20px;
                border: 1px solid #ececec;
                background-color: #fcfcfc;
                border-radius: 5px;
                padding: 30px;
                width: 80%;
            }
            .input-container{ display: flex; flex-direction: column; }
            .input-container input{ height: 25px; }
            .input-container select{ width: 100%; height: 25px; }
            .button{
                width: 150px;
                height: 50px;
                margin: 30px;
                color: #fff;
                background-color: #0066AE;
                cursor: pointer;
                font-size: 20px;
                font-weight: 600;
            }
            .error{
                border: solid 1px #e9e9e9;
                border-radius: 5px;
                padding: 10px;
                width: 100%;
                background-color: #c8e8ff;
            }
            .error-text{ text-align: center; }
            .renew-user-check{ display: flex; gap: 10px; }
            .hidden-row{ display: none; }
            .radio-interstate-input{ display: flex; gap: 10px; }
            #interstate-input-new{ display: flex; gap: 10px; flex-direction: column; }
            .distance-input-container{ display: flex; align-items: center; }


    /* Registration report (include/registration_report.php) */
.rr-top { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.rr-filters { flex: 1 1 520px; display: grid; grid-template-columns: repeat(3, minmax(140px, 1fr)); gap: 6px 10px; padding: 10px; border: 1px solid #e3e3e3; background-color: #fafafa; border-radius: 6px; }
.rr-field { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rr-field span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: #666; }
.rr-field select, .rr-field input { width: 100%; height: 28px; padding: 3px 6px; font-size: 13px; border: 1px solid #ccc; border-radius: 4px; background-color: #fff; box-sizing: border-box; }
.rr-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; font-size: 13px; }
.rr-button { background-color: #123b58; color: #fff; border: none; padding: 5px 14px; border-radius: 14px; font-size: 13px; cursor: pointer; }
.rr-summary { flex: 0 1 320px; min-width: 240px; }
.rr-summary h4 { margin: 0 0 8px; }
.rr-stats { display: flex; gap: 8px; margin-bottom: 10px; }
.rr-stat { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 6px 4px; border: 1px solid #e3e3e3; border-radius: 6px; background-color: #fafafa; }
.rr-stat b { font-size: 22px; line-height: 1.1; color: #123b58; }
.rr-stat span { font-size: 11px; text-transform: uppercase; color: #666; }
.rr-class-wrap { max-height: 220px; overflow-y: auto; border: 1px solid #e3e3e3; border-radius: 6px; }
.rr-class-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.rr-class-table th, .rr-class-table td { padding: 3px 8px; text-align: left; }
.rr-class-table td:last-child, .rr-class-table th:last-child { text-align: right; }
.rr-class-table tr:nth-child(even) td { background-color: #f7f7f7; }
@media (max-width: 700px) {
    .rr-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); flex-basis: 100%; }
    .rr-summary { flex-basis: 100%; }
}
