.content {
    padding: 24px 24px 30px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 20px;
    position: relative;
    transition: max-height 0.5s ease-in-out;
    background-color: var(--white-color);
    width: 1000px;
    margin: 0 auto;
    max-width: 100%;
}

.content-des {
    max-height: 300px;
    overflow: hidden;
}

.content.content-des {
    width: auto;
}

.content .button-toggle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100%;
    text-align: center;
    background-image: linear-gradient(0deg, #f7f7f7, transparent);
    padding-bottom: 30px;
}

.button-toggle button {
    font-size: 15px;
    padding: 10px 50px;
    display: inline-block;
    border-radius: 999px;
    background: linear-gradient(135deg, #029651, var(--main-color));
    color: var(--white-color);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.button-toggle button:hover {
    color: var(--yellow-color);
    box-shadow: 0 8px 20px rgba(0, 190, 117, 0.25);
}

.content-des.view {
    max-height: 100000px;
    padding-bottom: 80px;
}
.content p {
    font-size: 16px;
    text-align: justify;
}

.content .heading-2 {
    width: 800px;
    margin: 0 auto 20px;
    max-width: 100%;
    font-size: 24px;
    font-weight: 700;
}

.content h2 {
    font-size: 22px;
    padding: 10px 0 10px 0;
    color: var(--main-color);
    font-weight: 800;
}


.content h3 {
    margin-bottom: 10px;
    font-weight: 700;
}



.content ul,
.content ol {
    margin-left: 30px;
}

.content table td ul {
    margin-left: 0;
}

.content table td p {
    text-align: left;
}

.content ul li,
.content ol li {
    font-size: 16px;
    margin-bottom: 6px;
}

.content ul li {
    list-style: disc;
}

.content ol li {
    list-style: decimal;
}

.content a {
    color: var(--blue-color);
    font-weight: 700;
}

.content figure {
    background: #f0f0f0;
    width: 600px;
    max-width: 100%;
    margin: 20px auto;
}

.content img {
    max-width: 100%;
    height: auto !important;
}

.content figcaption {
    text-align: center;
    font-size: 16px;
    padding: 10px;
}

.content iframe {
    width: 600px;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

.main-content em {
    color: var(--red-color);
}

.main-content strong em {
    color: initial;
}
.content-relaytion p {
    font-size: 26px;
    font-weight: 500;
}

.content-relaytion ul li a {
    font-size: 16px;
    padding: 14px;
    display: block;
}

.content-relaytion ul li:not(:last-child) {
    border-bottom: 1px dashed #ccc;
}

.content-relaytion a {
    color: var(--sublink-color);
    font-weight: 500;
}

.content-relaytion a:hover {
    color: var(--blue-color);
}

.date-creat {
    color: #002717;
    justify-content: end;
}

.date-creat span:first-child {
    margin-right: 20px;
}

.note-content {
    background-color: #edf0f3;
    padding: 30px;
    border-radius: 20px;
    width: 1000px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    border-bottom: 8px solid #cccc;
    max-width: 100%;
}

.note-content span {
    content: '';
    position: absolute;
    font-size: 50px;
    top: -35px;
    left: 46px;
}

.table-content {
    padding: 20px;
    border: 2px dashed var(--main-color);
    border-radius: 20px;
    margin-bottom: 20px;
    background-color: #edf6ff;
}
.toc-list {
    overflow: hidden;
}

.toc-list ul{
    opacity: 0;
    height: 0;
    transform: translateY(-200%);
    transition: all 0.2s ease;

}

.toc-list.active {
    margin-top: 10px;
}

.toc-list.active ul {
    height: auto;
    animation: showTocList 0.5s ease forwards;
}

.toc-list ul li a {
    color: var(--toc-color);
    font-weight: 400;
    text-transform: unset;
}

@keyframes showTocList {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.toggle-table,
.table-content p,
.table-content span {
    display: inline-block;
}

.table-content p {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0;
}

.table-content span {
    font-size: 16px;
    padding: 0 10px;
    margin-left: 10px;
    position: relative;
}

.table-content span:before,
.table-content span:after {
    position: absolute;
    font-size: 16px;
}

.table-content span:before {
    content: '\005B';
    left: 0;
}

.table-content span:after {
    content: '\005D';
    right: 0;
}

.content table {
    width: 100% !important;
    border: none;
    margin-bottom: 14px;
    table-layout: fixed
}

.content table td {
    font-size: 16px;
    border: 1px solid #ccc;
    padding: 14px 10px;
}

.main-content table tr:nth-child(even) {
    background-color: var(--white-color);
}

.main-content table tr:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

.main-content table tr:first-child,
.content table tr td:first-child  {
    font-weight: 700;
}

.active>.page-link, .page-link.active {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

a.page-link {
    color: var(--main-color);
}

.page-link:hover {
    border-color: var(--main-color);
    color: initial;
}
