.eventPage .tableWrap {
    overflow: initial;
}

#contents table.event {
    width: 100%;
}

#contents table.event thead tr {
    visibility: hidden;
    display: flex;
    flex-direction: row;
}

#contents table.event thead th {
    padding: 0;
    font-size: 0px;
}

#contents table.event,
#contents table.event th,
#contents table.event td {
    border: none;
}

#contents table.event tbody tr {
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
    border-left: 10px solid #007972;
    border-radius: 8px;
    padding-left: 20px;
    margin-bottom: 15px;
}

#contents table.event.others tbody tr {
    border-left: 10px solid #cc4e00;
}

#contents table.event tbody tr td {
    padding: 5px 15px;
}

#contents table.event tbody tr td:first-child {
    font-weight: bold;
    font-size: 1.2em;
}

#contents table.event tbody tr td:nth-child(2),
#contents table.event tbody tr td:nth-child(2) p {
    color: #a34400;
    font-size: 0.9em;
}

#contents table.event tbody tr td:nth-child(3) {
    font-size: 0.9em;
    line-height: 1.4em;
    padding: 5px 15px 15px;
}

#contents table.event tbody tr td:nth-child(3) p {
    font-size: 1em;
    line-height: 1.8em;
    padding: 0;
}


#contents #tableSearch {
    width: 100%;
    border: 1px solid #CCC;
    padding: 10px 20px;
    background: #F0F0F0;
    border-radius: 4px;
    margin-bottom: 20px;

    display: flex;
    align-items: center;
    gap: 0 10px;
}

#contents #tableSearch button {
    padding: 10px 20px;
    border: none;
    background: #0e8065;
    color: #FFF;
    border-radius: 4px;
    cursor: pointer;
}

#contents #tableSearch button#resetBtn {
    background: #FFF;
    border: 1px solid #0e8065;
    color: #0e8065;
}

#contents #tableSearch input {
    padding: 10px;
    vertical-align: middle;
    width: 50%;
    border: 1px solid #EEE;
}

#contents ul.tab {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 4px;
    border-bottom: 4px solid #0e8065;
    margin: 0 0 10px 0;
}

#contents ul.tab li {
    background: none;
    padding: 0;
    margin: 0;
}

#contents ul.tab li a {
    display: block;
    padding: 15px 30px;
    border: 1px solid #0e8065;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    text-decoration: none;
    color: #0e8065;
    font-size: 1.25em;
    font-weight: bold;
}

#contents ul.tab li a.active {
    background: #0e8065;
    color: #FFF;
    font-size: 1.5em;
}

@media screen and (max-width:599px) {
    #contents #tableSearch {
        flex-direction: column;
        gap: 10px 0;
    }

    #contents #tableSearch>*,
    #contents #tableSearch input {
        width: 100%;
    }

    #contents table.event tbody tr td:first-child {
        font-size: 1em;
    }

    #contents table.event tbody tr td:nth-child(2) {
        font-size: 0.8em;
    }

    #contents ul.tab li a {
        padding: 10px 10px;
        font-size: 0.8em;
        font-weight: bold;
        line-height: 1.4;
    }

    #contents ul.tab li a.active {
        font-size: 1em;

    }