
a{color:inherit}
.main{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    
}
section{

    flex:1 100%;
    display:inline-block;
    
    box-sizing: border-box;
}
#gradeRace{
    flex:1 100%;
}
h3.raceTitle{
    /*font-size: 2.5em;*/
    font-size: 1.7em;
    font-weight: 100;
    /*height: 1.2em;*/
    text-align: center;
    font-weight: bold;
    margin: 5px;
    padding: 10px;
}

.raceUList{
    background-color: #FFE2E2;
    padding: 0.5em 0;
    margin: 0 0.5em;
    border-radius: 5px;
}
.raceList{
    margin: 0.5em 10px 10px 10px;
    padding: 10px;
    background-color: #FFF;
    border-radius: 10px;
}
.raceGread{
    display: flex;
    text-align: center;
}
.raceGread div{
    margin: 5px;
    padding: 10px;
    background-color: #E8FFCA;
    /*font-size: 2.5em;*/
    font-size: 1.7em;
    font-weight: bold;
    border-radius: 10px;
}

h3.raceYosou{
    background:rgb(0, 100, 250);
    color:white;
    line-height: 1.2em;
    margin-bottom: 0.5em;
    padding: 0.5em 0;
    text-align: center;
}

h4.raceErr{
    background:rgb(175, 0, 0);
    color:white;
    line-height: 1.5em;
    text-align: center;
    margin-bottom: 0.5em;

}
#gradeRace {
    /*animation: grow 0.3s linear;*/
    min-height: 220px;
  }
  
  @keyframes grow {
    from {
      transform: scale(0);
    }
    to {
      transform: scale(1);
    }
  }
.raceNo{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
    gap:3px;
}
.raceNo .race{
    background:white;
}
.race.noRace {
    color: gray;
}
.race a{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background: #dde7ff;
}
.race{
    display: flex;
    border: solid 1px #AAA;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    height: 4em;
    justify-content: space-evenly;
    border-radius: 5px;
    box-shadow: 1px 1px #ccc;
    width: calc(33% - 6px);
}
.card.dayList .daySelector{

    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    height: 3.5em;
    margin-top:1em;

}
.race h4{
    font-size: 1.3em;
}
.time{
    font-size: 0.9em;
}
#gradeRace{
    display: flex;
    flex-wrap: wrap;
    width:100%;
}
#gradeRace div.data{
    width: 100%;
}
#gradeRace img.raceImage{
    width: 100%;
}
#gradeRace .raceInfo{
    width:100%;
    padding:0.3em;

    box-sizing: border-box;
}
#gradeRace .raceInfo span{
    border-radius: 5px;
    width:1.5em;
    height: 1.5em;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-right: 0.2em;
}
#gradeRace .raceInfo span.G3{
    background: #7B78FF;
    color:white;
    
}
#gradeRace .raceInfo h3{
    padding:3px;
    display:flex;
    overflow: auto;
    align-items: center;
    word-break: keep-all;
    font-size:1.2em;
}

@media screen and (max-width: 960px) {
#dayList{
order:2;
}
}

@media screen and (min-width: 960px) {
    .race{
        width: calc(25% - 6px);
    }
    section{
        flex:1 50%;
        padding: 0.3em;
    }
    section>.card{
        border-radius: 3px;
        background: white;
        border:solid 1px;
        width:100%;
        height:100%;
    }
    #gradeRace img.raceImage{
        width:50%;
    }
    #gradeRace div.raceInfo{
        width:50%;
    }
    #gradeRace .raceInfo h3{
        overflow: auto;
    }
}

/* DayList*/
.dayList .lastday{
    display:none;
}
.dayList .nextday{
display:none;
}
.dayList .today{
display: none;
}
.dayList .dayActive{
display:block;
}
li.cOnButtons{background:rgb(138, 138, 138);
    display: flex;
    align-items: center;}
li.cOnButtons{
    background: #CCC;
    display: flex;
    align-items: center;
    height: 3.5em;
    text-align: center;
    width: 30%;
    justify-content: center;
    flex-flow: column;
}
li.cOnButtons.daySelect {
    font-weight: bold;
    background-color: #FFE2E2;
}
.dayTitle{
    font-size: 1.2em;
    margin: 0.2em;
}
.dayDate{
    font-size: 0.8em;
}

#resultList .recode{

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* align-content: space-around; */
    align-items: center;
    /* gap: 0px 10px; */
    padding: 1em;
    text-align: center;
}

#resultList .recode:nth-child(even) {
    background-color: #EEEEEE;
}
.Jou_card{
    display: none;
    width: 95%;
    margin: 0 auto;
    border: solid 1px gray;
    border-radius: 5px;
}
.Jou_card.view{
    display: block;
    background:white;
}
h2.jou_title {
    text-align: center;
    border: solid 1px gray;
    padding: 1em;
    box-sizing: border-box;
    margin: 3px;
    border-radius: 5px;
    background: white;
}
}