.terms_and_conditions {
    margin-top: 173px;
    margin-bottom: 100px;
}

.terms_and_conditions-holder h3 {
    color: #333;
    font-family: 'Literata', sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 38px;
    margin-bottom: 16px;
}

.terms_and_conditions-holder p {
    color: #333;
    font-family: 'Figtree', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    margin-bottom: 64px;
}

.terms_and_conditions-holder__content-holder {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}

.terms_and_conditions-holder__content-holder__left-holder {
    flex: 0 0 100%;
    max-width: 26%;
    position: sticky;
    top: 0;
    padding-top: 100px;
    margin-top: -100px;
}


.terms_and_conditions-holder__content-holder__left-sticky {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    padding-right: 32px;
    height: 420px;
    overflow: auto;
}


.terms_and_conditions-holder__content-holder__left-sticky a:hover {
    border-radius: 8px;
    background: #FAFAFA;
}

.terms_and_conditions-holder__content-holder__left-sticky a {
    flex: 0 0 100%;
    max-width: 100%;

    color: #333;
    font-family: 'Figtree', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    padding: 12px 20px;
    text-decoration: none;
    transition: all 300ms ease;
}

.terms_and_conditions-holder__content-holder__right {
    flex: 0 0 100%;
    max-width: 72%;

    border-radius: 16px;
    background: #FAFAFA;
    padding: 32px;
}

#agreement_to_terms {
    padding-top: 100px;
    margin-top: -100px;
}

.page-template-terms_and_conditions .terms_and_conditions-holder__content-holder__left-holder [id],
.page-template-template-privacy .terms_and_conditions-holder__content-holder__left-holder [id],
.page-template-template-cookie-policy .terms_and_conditions-holder__content-holder__left-holder [id]{
    padding-top: 80px;
    margin-top: -80px;
}

.terms_and_conditions-holder__content-holder__right h5 {
    color: #333;
    font-family: 'Literata', sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    margin-bottom: 32px;

    /*padding-top: 100px;*/
    /*margin-top: -60px;*/
}

.terms_and_conditions-holder__content-holder__right h5:first-of-type {
    margin-top: 0;
    padding-top: 0;
}

.terms_and_conditions-holder__content-holder__right h6,
.terms_and_conditions-holder__content-holder__right h6 a{
    color: #333;
    font-family: 'Figtree', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
}

.terms_and_conditions-holder__content-holder__right p {
    color: #333;
    font-family: 'Figtree', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    margin-bottom: 32px;
}

.terms_and_conditions-holder__content-holder__right p a{
    color: #333;
}

.terms_and_conditions-holder__content-holder__right ul {
    padding-left: 20px;
    margin-bottom: 32px;
}

.terms_and_conditions-holder__content-holder__right ul li,
.terms_and_conditions-holder__content-holder__right ul li a{
    color: #333;
    font-family: 'Figtree', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    margin-bottom: 8px;
}

.terms_and_conditions-holder__content-holder__right .wp-block-table{
    margin-bottom: 24px;
}

.terms_and_conditions-holder__content-holder__right .wp-block-table table tbody{
    display: flex;
    flex-flow: row wrap;
    width: 100%;
}

.terms_and_conditions-holder__content-holder__right .wp-block-table table tbody tr{
    border-bottom: 1px solid #C8C8C8;
    display: flex;
    flex-flow: row wrap;
    justify-content: left;
    width: 100%;
    padding: 24px 0;
}

.terms_and_conditions-holder__content-holder__right .wp-block-table table tbody tr:first-of-type{
    padding: 0 0 24px;
}

.terms_and_conditions-holder__content-holder__right .wp-block-table table tbody tr td{
    border: none;
    color: #333;
    font-family: 'Figtree', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    width: 80px;
    padding: 0;
}

.terms_and_conditions-holder__content-holder__right .wp-block-table table tbody tr td a{
    color: #333;
}

.terms_and_conditions-holder__content-holder__right .wp-block-table table tbody tr td:first-of-type{
    flex: 0 0 100%;
    max-width: 10%;
}

.terms_and_conditions-holder__content-holder__right .wp-block-table table tbody tr td:last-of-type{
    flex: 0 0 100%;
    max-width: 90%;
}

@media only screen and (max-width: 768px) {
    .terms_and_conditions {
        margin-top: 113px;
    }

    .terms_and_conditions-holder p {
        margin-bottom: 40px;
    }

    .terms_and_conditions-holder__content-holder__left-holder {
        display: none;
    }

    .terms_and_conditions-holder__content-holder__right {
        max-width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    .terms_and_conditions {
        margin-top: 90px;
    }

    .terms_and_conditions-holder h3 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .terms_and_conditions-holder p {
        margin-bottom: 30px;
    }

    .terms_and_conditions-holder__content-holder__right {
        padding: 20px;
    }

    .terms_and_conditions-holder__content-holder__right h5 {
        margin-bottom: 20px;
        /*margin-top: -100px;*/
    }
}