.tabs-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}
.tab.active {
    border-color: #2196f3;
}
.tab {
    font-size: 18px;
    border-bottom: 3px solid #e2e2e2;
    padding: 10px 30px;
    user-select: none;
    cursor: pointer;
}

.events-active, .events-inactive{
    display: none;
}

.events-active.show, .events-inactive.show{
    display: block;
}

.events .table {
    margin: 0 0 40px 0;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

.events .row {
    display: flex;
    flex-wrap: nowrap;
    background: #ffffff;
    position: relative;
    margin: 0;
    align-items: center;
}

.events .row .cell:nth-child(1){
    width: 5%;
    font-weight: 600;
}
.events .row .cell:nth-child(2){
    width: 30%;
}
.events .row .cell:nth-child(3){
    width: 10%;
}
.events .row .cell:nth-child(4){
    width: 25%;
}
.events .row .cell:nth-child(5){
    width: 30%;
}

.events .row:last-child{
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.events .row:nth-of-type(odd) {
    background: #2980b917;
}
.events .events-inactive .row:nth-of-type(odd) {
    background: #a7a7a717;
}

.events .row.header {
    font-weight: 900;
    color: #ffffff;
    background: #ea6153;
    border-top-right-radius: 16px;
    border-top-left-radius: 16px;
}

.events .row.header .cell {
    text-align: center;
    padding: 15px 12px;
}

.events .row.green {
    background: #27ae60;
}

.events .row.blue {
    background: #2980b9;
}

.events .row.gray {
    background: #9e9e9e !important;
    color: #ffffff;
}

.events .cell {
    padding: 6px 12px;
    display: table-cell;
    text-align: center;
}

.award_file img {
    object-fit: contain;
    width: 40px;
}
.award_file a {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.award_file span {
    margin-top: 5px;
    font-size: 12px;
}
.award_file {
    width: 25%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.notice {
    position: absolute;
    left: -40px;
    cursor: pointer;
}

.awards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

@media screen and (max-width: 580px) {
    .events .row {
        padding: 14px 0 7px;
        display: block;
    }
    .events .row.header {
        padding: 0;
        height: 6px;
    }
    .events .row.header .cell {
        display: none;
    }
    .events .row .cell {
        margin-bottom: 10px;
    }
    .events .row .cell:before {
        margin-bottom: 3px;
        content: attr(data-title);
        min-width: 98px;
        font-size: 10px;
        line-height: 10px;
        font-weight: bold;
        text-transform: uppercase;
        color: #969696;
        display: block;
    }
}

@media screen and (max-width: 580px) {
    .events .table {
        display: block;
    }
}

@media screen and (max-width: 580px) {
    .events .cell {
        padding: 2px 16px;
        display: block;
    }
}