/*------------------------------*/
/* Facts on Top Page */
/*------------------------------*/
.aa-box {
    border-radius: 1rem;
    background-color: var(--lightsmoke);
    border: 1px solid var(--smoke);
    padding: 2rem;
    margin: 2rem;
}

.aa-num {
    width: 100%;
    text-align: center;
    font-size: 3rem !important;
    padding-bottom: 0.3rem;
}

.aa-des {
    text-align: center;
    font-size: 1.3rem;
}


@media (max-width: 950px) {
    .aa-box {
        padding: 1rem;
        margin: 1rem;
    }
}

@media (max-width: 775px) {
    .aa-num {
        font-size: 2rem !important;
    }
    .aa-des {
        font-size: 1.1rem;
    }
}


/*------------------------------*/
/* Season Select */
/*------------------------------*/
.ab-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 2rem 2rem 2rem;
    width: calc(100% - 4rem);
}

.ab-opt {
    background-color: var(--blue);
}
.ab-opt.selected {
    background-color: var(--lightgold);
}


@media (max-width: 400px) {
    .ab-select {
        padding: 0 0 2rem 0;
    }

    .ab-box {
        padding: 0.5rem 0.7rem;
        border-radius: 0.7rem;
    }
}



/*------------------------------*/
/* Search Result */
/*------------------------------*/
.ac-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    font-size: 1.3rem;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
}

.ac-row {
    text-align: center;
    min-width: 50%;
    height: 2rem;
    padding: 0.5rem 0.5rem;
    border: 1px solid var(--border);
    cursor: pointer;
}
    .ac-row.selected {
        background-color: var(--skyblue);
        color: var(--white);
    }
    .ac-row:hover {
        background-color: var(--gold);
        color: var(--white);
    }

.ac-row.empty {
    border: none !important;
    margin: 1px 0;
    cursor: default;
}
    .ac-row.empty:hover {
        background-color: initial !important;
        color: initial !important;
    }

.ac-img-1 {
    position: absolute;
    right: 0.5rem;
    height: 2.5rem;
}

.ac-img-2 {
    position: absolute;
    bottom: 0;
    height: 3rem;
}

.ac-search {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    height: 2.5rem;
}

@media (max-width: 750px) {
    .ac-row {
        min-width: 70%;
    }
}

@media (max-width: 550px) {
    .ac-row {
        min-width: 100%;
    }
}



/*------------------------------*/
/* Comment Box */
/*------------------------------*/
.ad-box {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: flex-start;
    min-width: 30%;
    max-width: 80%;
    padding: 1rem;
    margin: 0rem 2rem 1rem 2rem;
    background-color: rgba(221, 251, 255, 0.8);
    border: 1px solid #c5f8ff;
    border-radius: 1rem;
}
    .ad-box.blue {
        background-color: rgba(221, 251, 255, 0.8);
        border: 1px solid #c5f8ff;
    }


.ad-text {
    font-size: 1.1rem;
    height: calc(100% - 2.4rem);
    width: calc(90% - 1rem);
    padding: 0 0 2.5rem 1rem;
    white-space: pre-line;
    font-family: monospace !important; 
}


.ad-date {
    position: relative;
    top: -1.7rem;
    text-align: center;
    font-style: italic;
    padding-top: 0.4rem;
    font-size: 1rem;
}


.ad-icon-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 10%;
    height: 100%;
}

    .ad-icon {
        cursor: pointer;
        font-size: 2rem !important;
    }

    .ad-icon:hover {
        color: #616161;
    }


@media (max-width: 550px) {
    .ad-icon-box {
        padding: 0 1rem;
    }

    .ad-text {
        width: calc(90% - 3rem);
    }
}



/*------------------------------*/
/* File Upload */
/*------------------------------*/
.ae-box {
    margin: 1rem 0;
    border: 1px #c2c2c2 solid;
}

.ae-box > div {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.ae-name {
    display: flex;
    justify-content: center;
    align-items: center;

    line-height: 1.1rem;
    height: 1.5rem;
    padding: 0.5rem;
}



/*------------------------------*/
/* Transaction List */
/*------------------------------*/
.af-box {
    border-bottom: var(--grey) 1px solid;
    border-top: var(--grey) 1px solid;
    border-collapse: collapse;
    min-width: 60%;
    max-width: 90%;
    position: relative;
    margin: 0 1rem 2rem 1rem;
}

.af-plus {
    position: absolute;
    left: 10%;
    margin-top: 0.3rem;
}

.af-edit {
    position: absolute;
    right: 5%;
    font-size: 1.2rem !important;
    top: 0.425rem;
    margin: 0;
}

.af-table {
    
}
    .af-table th {
        text-align: center;
    }

.af-box summary {
    cursor: pointer;
    list-style: none; 
	-webkit-details-marker-display: none; 
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
    text-align: center;
}
    .af-box summary:hover,
    .af-box[open] summary {
        background-color: #f8f4ea;
    }

.af-box section {
    overflow-x: auto;
    white-space: nowrap;
    display: grid;
}

.af-box section span {
    display: inline-flex;
    flex-direction: row;
    border-bottom: #dddddd solid 1px;
    width: 100%;
}
    .af-box section span:last-child {
        border: none;
    }

.af-box section span div {
    padding: 0.3rem 1rem;
    text-align: left;
}
    .af-box section span div:first-child {
        min-width: 4ch;
    }
    .af-box section span div:nth-child(2) {
        margin-right: auto;
        text-align: left;
    }
    .af-box section span div:nth-child(3) {
        min-width: 20ch;
        text-align: right;
    }
    .af-box section span div:last-child {
        min-width: 10ch;
        text-align: right;
    }
    

@media (min-width: 1700px) {
    .af-box {
        min-width: 40%;
    }
}
@media (min-width: 2200px) {
    .af-box {
        min-width: 30%;
    }
}
@media (max-width: 600px) {
    .af-plus {
        left: 0%;
    }
}
@media (max-width: 470px) {
    .af-plus {
        position: relative;
        margin-left: calc(50% - 1.25rem - 10%);
        margin-right: calc(50% - 1.25rem - 10%);
    }
}