/*CSS for Legal Page template*/

.legal-page-breadcumbs {
    background-color: #fff;
    border-bottom: 1px solid #e6e8f0;
    padding: 16px 0px;

    .breadcrumbs {
        padding: 0px;
        margin: 0px;

        .current {
            color: #001965;
        }
    }
}

.legal-page-header {
    background-color: #fff;
    border-bottom: 1px solid #e6e8f0;
    padding: 16px 0px;
    margin-bottom: 24px;

    .flex {
        align-items: start;
        gap: 8px;
    }

    .flex-column {
        gap: 4px;
    }

    h1 {
        font-size: 32px;
        line-height: 40px;
        font-weight: 700;
        color: #001965;
    }

    p.pretitle {
        text-transform: uppercase;
        font-size: 16px;
        line-height: 20px;
        color: rgba(230, 74, 13, 1);
    }

    p.subtitle {
        font-size: 16px;
        line-height: 20px;
        color: rgba(77, 94, 147, 1);
    }

    .date-updated {
        border: 1px solid #4d5e9345;
        border-radius: 16px;
        padding: 3px 13px;
        color: #566698;
        background-color: #EDF3FF;
        font-size: 16px;
        line-height: 20px;
    }
}

.legal-page-intro {
    padding:0 0 24px 0px;

    .container-inner {
        padding: 12px;
        border: 1px solid #CCD5E4;
        border-radius: 0 8px 8px 0;
        border-left: 4px solid #0B2A7A;
        background-color: #EDF3FF;
    }

    .title {
        color: #0b2a7a;
        font-size: 20px;
        line-height: 28px;
        font-weight: 600;

        span {
            color: #001965;
            font-weight: 700;
            border: 1px solid #001965;
            padding: 0px;
            border-radius: 16px;
            width: 29px;
            display: inline-block;
            align-content: center;
            text-align: center;
            margin-right: 7px;
        }
    }

    .description p {
        font-size: 16px;
        line-height: 20px;
        color: #2f3564;
        margin: 16px 0 0 0;
    }


    .update-date-data {
        margin-top: 16px;
        padding-top: 16px;
        gap: 32px;
        width: 100%;
        border-top: 1px solid #CCD5E4;

        .date-updated {
            color: #001965;
            font-weight: 700;
            font-size: 16px;
            line-height: 20px;

            span {
                font-weight: 500;
                color: #596279;
            }
        }
    }
}

.legal-page-clauses-content {
    margin-bottom: 60px;

    >.flex {
        gap: 24px;
    }

    .clauses-content {
        background-color: #fff;
        padding: 24px;
        border: 1px solid #e6e8f0;
        border-radius: 8px;

        ul.clause-items {
            margin: 0px;
            list-style: none;

            li.clause-item {
                padding: 24px 0px;
                border-bottom: 1px solid #E6E8F0;
            }

            li.clause-item:first-child {
                padding: 0 0 24px 0;
            }

            li.clause-item:last-child {
                border: none;
                padding: 24px 0 0 0px;
            }
        }

        .clause-title-content {
            align-items: start;

            .ordering-number {
                display: inline-block;
                width: 32px;
                color: #fff;
                background-color: #001965;
                height: 32px;
                align-content: center;
                text-align: center;
                border-radius: 6px;
                margin-right: 16px;
            }

            h2 {
                font-size: 24px;
                color: #001965;
                line-height: 1.25;
                font-weight: 700;
                margin:0 0 8px 0;
            }
        }

        .clause-description {
            p {
                font-size: 15px;
                margin: 0px;
            }

            ul,
            ol {
                margin: 0 0 1.5em 2em;
            }
        }

        .clause-item>.clause-description {
            margin-left: 49px;
        }

        .subclauses-content {
            margin: 16px 0 0 0;
            padding: 16px 0 0 0;
            border-top: 1px solid #E6E8F0;
            gap: 32px;

            .ordering-number {
                display: inline-block;
                min-width: 49px;
                color: #fff;
                height: 24px;
                font-size: 18px;
                color: rgba(230, 74, 13, 1);
            }

            h3 {
                font-size: 18px;
                color: #001965;
                line-height: 1.25;
                font-weight: 600;
                margin:0 0 8px 0;
            }
        }
    }
}

@media (max-width: 768px) {
    .clause-description {

        ul,
        ol {
            margin: 0 0 1.5em 1em !important;
        }
    }
}