/* 
    Created on : Jun 27, 2023, 09:25:00
    Author     : jcullen
*/

.accordion {
    margin-bottom: 30px;
}

/* Headings */
.accordion h1,
.accordion h3,
.accordion h4 {
    color: #FDA100;
}

/* Links */
.accordion a {
    color: #0000FF;
    text-decoration: underline;
}

/* Accordion item title (h3) */
.accordion .card-title .btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    text-transform: uppercase;
    text-decoration: none;
    color: inherit;
}

.accordion .card-title .btn[data-level="2"] {
    font-weight: normal;
    color: #000;
    text-transform: initial;
    padding: 8px 50px 8px 15px;
}

/* Accordion body text */
.accordion .card-body {
    font-size: 12px;
    line-height: 18px;
    padding: 0px; /* Override the Bootstrap default */
}

/* Padding around the body text */
.accordion .card-body.nested-accordion {
    padding: 20px 15px 15px 15px;
}

/* Headings within the body text */
.accordion .card-body h4 {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

/* Replace the dot after ordered list items with a parenthesis */
.accordion ol.legal-list {
    counter-reset: list;
}

.accordion li.legal-item {
    list-style: none;
}

.accordion li.legal-item:before {
    content: counter(list, lower-alpha) ") ";
    counter-increment: list;
}

.accordion li.lang-group {
    padding-top: 15px;
}

/* Override Bootstrap defaults for the accordion itself */
.accordion .card {
    border-top:1px solid #fda100;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding-bottom: 0px;
    border-radius: 0px;
}

.accordion .card[data-level="2"] {
    border: none;
    background-color: #f7f7f7;
    padding: 0;
    margin-bottom: 5px;
}

/* The last card also needs the bottom border */
.accordion .card[data-level="1"]:last-of-type {
    border-bottom: 1px solid #fda100;
}

/* Add space after the last data card */
.accordion .card[data-level="2"]:last-of-type {
    margin-bottom: 12px;
}

/* Override Bootstrap defaults */
.accordion .card-header {
    border: none;
    padding: 0;
    background-color: #ffffff;
}

/* Override Bootstrap defaults */
.accordion .card-title {
    padding: 0;
    margin-bottom: 0px;
}

/* Add padding around the section text */
.accordion .card-body.section-text {
    /* Card body is a lighter grey */
    background-color: #F7F7F7;
    padding: 20px 15px 15px;
}

/* Override Bootstrap defaults */
.accordion .btn {
    position: relative;
    min-height: 50px;
    display: flex;
    align-items: center;
    text-align: left;
    padding: 0 0px 0 0;
}

.accordion .btn[data-level="2"].collapsed {
    border-radius: 10px;
}

.accordion .btn[data-level="2"] {
    background-color: #ededed;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 8px 50px 8px 15px;
}

.accordion .btn::after {
    position: absolute;
    color: #fda100;
    content: "";
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
}

/* First level icon, the "minus" symbol when the collapsible content is shown */
.accordion .btn[data-level="1"]::after {
    background-image: url(/images/ico_-.svg);
    background-size: 20px 20px;
    right: 5px;
}

.accordion .btn[data-level="1"].collapsed::after {
    background-image: url(/images/ico_+.svg);
    background-size: 20px 20px;
}

.accordion .btn[data-level="2"]::after {
    background-image: url(/images/seta_up_acordeaos.svg);
    background-size: 12px 6px;
    top: 50%;
    right: 15px;
}

.accordion .btn.collapsed[data-level="2"]::after {
    background-image: url(/images/seta_down_acordeaos.svg);
    background-size: 12px 6px;
}

/* Define the cursor (pointing finger) shown when passing over the accordion items */
.accordion .toggle {
    cursor: pointer;
}

@media(min-width: 992px) {
    /* Headings */
    .accordion h1,
    .accordion h3,
    .accordion h4 {
    }

    /* Links */
    .accordion a {
    }

    /* Accordion item title (h3) */
    .accordion .card-title .btn {
        line-height: 22px;
    }

    .accordion .card-title .btn[data-level="2"] {
    }

    /* Accordion body text */
    .accordion .card-body {
        font-size: 14px;
        line-height: 20px;
    }

    /* Padding around the body text */
    .accordion .card-body.nested-accordion {
    }

    /* Headings within the body text */
    .accordion .card-body h4 {
    }

    /* Replace the dot after ordered list items with a parenthesis */
    .accordion ol.legal-list {
    }

    .accordion li.legal-item {
    }

    .accordion li.legal-item:before {
    }

    /* Override Bootstrap defaults for the accordion itself */
    .accordion .card {
    }

    .accordion .card[data-level="2"] {
    }

    /* The last card also needs the bottom border */
    .accordion .card[data-level="1"]:last-of-type {
    }

    /* Add space after the last data card */
    .accordion .card[data-level="2"]:last-of-type {
    }

    /* Override Bootstrap defaults */
    .accordion .card-header {
    }

    /* Override Bootstrap defaults */
    .accordion .card-title {
    }

    /* Add padding around the section text */
    .accordion .card-body.section-text {
        padding: 15px 20px 13px 12px;
    }

    /* Override Bootstrap defaults */
    .accordion .btn {
    }

    .accordion .btn[data-level="2"].collapsed {
    }

    .accordion .btn[data-level="2"] {
    }

    .accordion .btn::after {
    }

    /* First level icon, the "minus" symbol when the collapsible content is shown */
    .accordion .btn[data-level="1"]::after {
    }

    .accordion .btn[data-level="1"].collapsed::after {
    }

    .accordion .btn[data-level="2"]::after {
    }

    .accordion .btn.collapsed[data-level="2"]::after {
    }

    /* Define the cursor (pointing finger) shown when passing over the accordion items */
    .accordion .toggle {
    }
}