<style>
.ebc-staff {
    position: relative;
}/* 마스터 타이틀 */

.ebc-staff .master-title {
    position: relative;
    margin-bottom: 60px;
    text-align: center;
    background-color: #fff;
    border: 15px solid #004c8c;
}

.ebc-staff .master-title:before, .ebc-staff .master-title:after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 15px;
    background-color: #fff;/* 타이틀 상하 바 색깔*/
}

.ebc-staff .master-title:before {
    top: -15px;
}

.ebc-staff .master-title:after {
    bottom: -15px;
}

.ebc-staff .master-title h2 {
    position: relative;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 700;
}

.ebc-staff .master-title h2:before {
    content: "";
    display: block;
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 40px;
    height: 2px;
    margin-left: -20px;
    background-color: #0277bd;
}

.ebc-staff .master-title p {
    font-size: 17px;
}

@media (max-width: 991px) {
    .ebc-staff .master-title {
        padding: 20px;
        margin-bottom: 30px;
        border-width: 10px;
    }

    .ebc-staff .master-title:before, .ebc-staff .master-title:after {
        height: 10px;
    }

    .ebc-staff .master-title:before {
        top: -10px;
    }

    .ebc-staff .master-title:after {
        bottom: -10px;
    }

    .ebc-staff .master-title h2 {
        font-size: 20px;
    }

    .ebc-staff .master-title p {
        font-size: 14px;
    }

    .ebc-staff .master-title p br {
        display: none;
    }
}/* 아이템 */

.ebc-staff-innner table {
    text-align: center;
}

.ebc-staff-innner table caption {
    opacity: 0;
    position: absolute;
    left: -100%;
    height: 0;
}

.ebc-staff-innner table thead tr {
    border-top: 1px solid #114582;
    border-bottom: 1px solid #ddd;
}

.ebc-staff-innner table thead th {
    font-size: 16px;
    vertical-align: middle;
    text-align: center;
    background-color: #f5f5f5;
    border-left: 1px solid #ddd;
}

.ebc-staff-innner table thead tr > th:first-child {
    border-left: 0 none;
}

.ebc-staff-innner table.table tbody {
    border-top: 0 none;
}

.ebc-staff-innner table tbody tr {
    border-bottom: 1px solid #ddd;
}

.ebc-staff-innner table tbody th {
    padding: 13px 8px;
    vertical-align: middle;
}

.ebc-staff-innner table tbody td {
    font-size: 16px;
    color: #707070;
    vertical-align: middle;
    border-left: 1px solid #ddd;
}

.ebc-staff-innner table tbody tr > td:first-child {
    border-left: 0 none;
}

.ebc-staff-innner table tbody td strong {
    color: #333;
}

.ebc-staff-innner table tbody td ul {
 list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.ebc-staff-innner table tbody td ul li {
    flex: 0 0 auto;
    position: relative;
    padding-left: 10px;
    text-align: left;
}

.ebc-staff-innner table tbody td ul li span {
    position: absolute;
    top: 0;
    left: 0;
}

@media (max-width: 991px) {
    .ebc-staff-innner table thead th, .ebc-staff-innner table tbody th, .ebc-staff-innner table tbody td {
        padding: 10px;
        font-size: 13px;
    }

    .ebc-staff-innner table tbody td ul li {
        width: 100%;
    }
}
</style>

