/*========= common design=======*/

html,
body {
    overflow: unset;
}

.page-terms .main-container,
.main-container {
    overflow: unset !important;
}

.terms h2 {
    font-size: 32px !important;
    line-height: 4.5rem;
    letter-spacing: -0.02em;
    padding: 20px 0 !important;
    font-weight: inherit;
}

.terms h3 {
    padding-top: 0 !important;
}

.terms .main-container {
    display: flex;
    gap: 50px;
    position: relative;
    align-items: start;
}

.terms .main-container .terms-content-wrapper-1 {
    padding: 20px;
    position: sticky;
    top: 200px;
    left: 0;
    flex-basis: 431px;
    max-height: 600px;
    overflow: auto;
}

.terms .main-container .terms-content-wrapper-1 h4 {
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    color: #0D0D0D;
    padding: 10px 10px 20px 10px !important;
}

.terms .main-container .terms-content-wrapper-1 ol {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 !important;
    margin: 0 !important;
}

.terms .main-container .terms-content-wrapper-1 ol li {
    cursor: pointer;
    transiton: 0.5s all;
    margin: 0 !important;
    padding: 10px;
}

.terms .main-container .terms-content-wrapper-2,
.terms .main-container .terms-content-wrapper-2>ol {
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex-basis: calc(100% - 431px);
}

.terms .main-container .terms-content-wrapper-2 .table-area {
    margin: 0 !important;
}

.terms .main-container .terms-content-wrapper-2 p {
    padding: 0 !important;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    color: #414141;
}

.terms .main-container .terms-content-wrapper-2 li {
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 44px;
    letter-spacing: -0.72px;
    color: #0D0D0D;
}

.terms .main-container .terms-content-wrapper-2 li ul {
    list-style-type: disc;
}

.terms .main-container .terms-content-wrapper-2 li ul li {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    color: #414141;
}

.terms .main-container .terms-content-wrapper-2 p strong,
.terms .main-container .terms-content-wrapper-2 li strong {
    display: block;
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 44px;
    letter-spacing: -0.72px;
    color: #0D0D0D;
    margin-bottom: 24px;
}

.terms .main-container .terms-content-wrapper-2 li strong {
    display: inline-block;
}

.terms .main-container .terms-content-wrapper-2 li p {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    color: #414141;
}

.terms table {
    background: #F7F6F3;
    border-collapse: separate !important;
    border-spacing: 0 10px;
    padding: 20px 14px !important;
    border-radius: 5.767px;
}

.terms table,
.terms table thead tr,
.terms table tbody tr {
    border: none !important;
}

.terms table tbody tr td {
    padding: 10px !important;
    background: #EAE6E5;
}

.terms table thead tr th {
    color: var(--color-white);
    font-size: 12px !important;
    font-style: normal;
    font-weight: 700;
    line-height: 18px;
    text-transform: capitalize !important;
}

.terms table tr td {
    color: #414141;
    font-size: 12px !important;
    font-style: normal;
    font-weight: 700;
    line-height: 18px;
}

.terms table thead tr th:first-child,
.terms table tbody tr td:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.terms table thead tr th:last-child,
.terms table tbody tr td:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

/*======= design one========*/

.terms.terms_style_1 .main-container .terms-content-wrapper-1 {
    border-radius: 16px;
    border: 1px solid #A8A8A8;
    background: #FFF;
}

.terms.terms_style_1 .main-container .terms-content-wrapper-1 ol li.active,
.terms.terms_style_1 .main-container .terms-content-wrapper-1 ol li.active strong,
.terms.terms_style_1 .main-container .terms-content-wrapper-1 ol li:hover,
.terms.terms_style_1 .main-container .terms-content-wrapper-1 ol li:hover strong {
    color: #0066cc !important;
    font-weight: bold;
}

.terms.terms_style_1 table thead tr {
    background: #0D0D0D !important;
    padding: 10px;
}

/*======= design two========*/

.terms.terms_style_2 .main-container .terms-content-wrapper-1 {
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0px 4px 21.4px 0px rgba(0, 0, 0, 0.13);
}

.terms.terms_style_2 .main-container .terms-content-wrapper-1 ol li {
    border-bottom: 1px dashed #AFA3FF;
}

.terms.terms_style_2 .main-container .terms-content-wrapper-1 ol li.active,
.terms.terms_style_2 .main-container .terms-content-wrapper-1 ol li.active strong,
.terms.terms_style_2 .main-container .terms-content-wrapper-1 ol li:hover,
.terms.terms_style_2 .main-container .terms-content-wrapper-1 ol li:hover strong {
    color: #fff !important;
    font-weight: bold;
    border-radius: 6px;
    background: #7868E6;
    border-bottom: none;
}

.terms.terms_style_2 table thead tr {
    background: #7868E6 !important;
    padding: 10px;
}

/*====== Dark Mode design one==*/

.terms.terms_style_1.terms_style_dark table thead tr {
    background: var(--color-white) !important;
}

.terms.terms_style_1.terms_style_dark table thead tr th {
    color: #414141;
}

/*====== Dark Mode design two==*/

.terms.terms_style_dark {
    background-color: #0D0D0D;
}

.terms.terms_style_dark .terms-content-wrapper-1 {
    background: #414141 !important;
    box-shadow: 0 4px 21.4px 0 rgba(0, 0, 0, 0.13) !important;
}

.terms.terms_style_dark table {
    background: #414141;
}

.terms.terms_style_dark table tbody tr td {
    background: rgba(234, 230, 229, 0.06);
}

.terms.terms_style_dark table tr td {
    color: #fff !important;
}

.terms.terms_style_dark h1,
.terms.terms_style_dark h2,
.terms.terms_style_dark h3,
.terms.terms_style_dark h4,
.terms.terms_style_dark h5,
.terms.terms_style_dark p,
.terms.terms_style_dark a,
.terms.terms_style_dark td {
    color: var(--color-white) !important;
}

.terms.terms_style_dark .main-container .terms-content-wrapper-2 li,
.terms.terms_style_dark .main-container .terms-content-wrapper-2 li strong {
    color: var(--color-white) !important;
}

.terms.terms_style_dark .main-container .terms-content-wrapper-1 ol li,
.terms.terms_style_dark .main-container .terms-content-wrapper-1 h4 {
    color: var(--color-white) !important;
}

.terms.terms_style_2.terms_style_dark .main-container .terms-content-wrapper-1 ol li.active,
.terms.terms_style_2.terms_style_dark .main-container .terms-content-wrapper-1 ol li.active strong,
.terms.terms_style_2.terms_style_dark .main-container .terms-content-wrapper-1 ol li:hover,
.terms.terms_style_2.terms_style_dark .main-container .terms-content-wrapper-1 ol li:hover strong {
    color: var(--color-white) !important;
    font-weight: bold;
}

/*====== Sidebar Direction =======*/

.terms.navigation_right .main-container {
    flex-direction: row-reverse;
}

/*======== Mobile Responsive=======*/

@media (max-width: 1024px) {
    .terms .main-container .terms-content-wrapper-1 {
        position: unset;
    }
    .terms .main-container {
        flex-direction: column;
    }
    .terms .main-container .terms-content-wrapper-2 {
        margin: 0 auto;
    }
    .terms .main-container .terms-content-wrapper-2 p strong {
        font-size: 24px;
    }
}
