html,
body {
    position: relative;
    height: 100%;
}

body {
    background: #eee;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #000;
    margin: 0;
    padding: 0;
}

.account {
    color: white;
    height: 23px;
    align-items: center;
    margin-left: 25px;
    gap: 10px;
}

.account button {
    height: 23px;
    color: white;
    background: transparent;
    border: none;
}

swiper-container {
    width: 100%;
    height: 100%;
}

swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.legal-board-bg {
    background: url('/images/board-bg.jpg') center no-repeat;
}

.lesson-list-bg {
    background: url('/images/lesson-list-bg.png') center no-repeat;
}

.lesson-info-bg {
    min-height: 800px;
    height: 90vh;
    width: 100%;
    color: #ffffff;
    padding: 240px 50px 0;
    background: url('/images/lesson-info-bg.jpg') top no-repeat;
    background-size: cover;
}

.lesson-info-bg > h1 {
    font-size: 70px;
}

.lesson-benefits {
    min-height: 850px;
    padding: 130px 30px;
}

.lesson-info-page .businessContentsText a {
    width: 230px;
}

.lesson-info-page .rating span {
    font-size: 18px;
    color: #888;
    margin-right: 8px;
}

.lesson-info-page .rating img:not(:first-child) {
    margin-left: -5px;
}

.lesson-item {
    min-width: 280px;
    width: 280px;
}

.lesson-item > div:first-child {
    height: 200px;
    width: 280px;
    border-radius: 10px;
}

.lesson-item > p.lecturer {
    font-size: 16px;
    font-weight: 600;
    color: #888888;
}

.lesson-item > p.description {
    font-size: 18px;
    color: #000000;
    max-height: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    /*white-space: nowrap;*/
    margin: 5px 0 2px;
    word-break: break-word;
}

.lesson-item > p.rating {
    font-size: 12px;
    color: #848484;
    text-align: end;
}

.lesson-item > .rating img {
    margin-bottom: -3px;
}

.page-banner {
    height: 380px;
    width: 100%;
    color: #ffffff;
    background-size: cover;
}

.page-banner > h1 {
    margin: 30px 0 20px;
}

.page-banner > p {
    font-size: 18px;
    line-height: 25px;
}

.main-content {
    width: 100%;
    background-color: var(--systemWhite);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding-top: 0;
}

.table-wrapper {
    width: 100%;
}

.table td.title p {
    text-overflow: ellipsis;
    max-width: 650px;
    overflow: hidden;
    word-break: break-all;
    white-space: nowrap;
    display: block;
}

.table th, .table td {
    vertical-align: middle;
    padding: 5px 25px;
}

.table td {
    height: 50px;
}

.table th {
    height: 40px;
    color: #6B6B6B;
    border-top: 1px solid #DCDCDC;
    border-bottom: 1px solid #F1F1F1;
}

.table td:not(.title), .table th:not(.title) {
    text-align: center;
}

.legal-consult-pagination li {
    margin-right: 5px;
    width: 30px;
    height: 30px;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.legal-consult-pagination li.active {
    color: #ffffff;
    background-color: #0062DF;
}

.legal-consult-pagination li:hover {
    cursor: pointer;
}

.pagination li a {
    border-radius: 0;
    width: 30px;
    height: 30px;
    font-size: 12px;
}

.search-area {
    height: 45px;
}

.search-area input {
    height: 45px;
    max-width: 300px;
    padding: 10px 15px;
    margin-right: 6px;
    border: 1px solid #B8B8B8;
    font-size: 16px;
}

.search-area button:first-of-type {
    background-color: #0062DF;
}

.search-area button:last-of-type {
    background-color: #0D3887;
}

.search-area button {
    height: 45px;
    width: 80px;
    font-size: 16px;
    color: #ffffff;
    border: none;
}

@media (max-width: 1200px) {
    .table td.title p {
        max-width: 400px;
    }

    .table-wrapper {
        max-width: 100vw;
        overflow-x: auto;
    }

    .table {
        min-width: 700px;
    }
}

@media (max-width: 900px) {

    .search-area {
        height: 35px;
    }

    .search-area input, .search-area button, .table th, .table td {
        font-size: 11px;
    }

    .search-area input {
        height: 35px;
        padding: 5px 15px;
        margin-right: 6px;
    }

    .search-area button {
        height: 35px;
        width: 60px;
    }

    .pagination li a {
        width: 20px;
        height: 20px;
        font-size: 9px;
    }

    .lesson-benefits > div:first-of-type {
        justify-content: center !important;
    }

    .lesson-info-bg h1 {
        font-size: 50px;
    }
}