/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Apr 14, 2021, 11:30:35 PM
    Author     : jcullen
*/

.accordion .card {
    border-top:1px solid #fda100;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding-bottom: 0px;
    border-radius: 0px;
}

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

/* 2nd level accordion cards don't have borders */
.accordion .card[data-level="2"] {
    border: none;
    background-color: white;
    padding: 0;
    margin-bottom: 5px;
}

/* There is extra space between the last 2nd level card and the following 1st level title */
.accordion .card[data-level="2"]:last-of-type {
    margin-bottom: 12px;
}

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

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

/* Card body is a lighter grey */
.accordion .card-body {
    background-color: #F7F7F7;
}

.accordion .card-body span {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* btn is a bootstrap class, so use xbtn to avoid having to reset most properties */
.accordion .xbtn {
    position: relative;
    min-height: 50px;
    display: flex;
    align-items: center;
    text-align: left;
}

/* Button text (title) */
.accordion .xbtn[data-level="1"] span {
    padding: 0 30px 0 0;
}

.accordion .xbtn[data-level="2"] span {
    padding: 8px 50px 8px 15px;
}

/* Collapsed second level buttons have rounded corners */
.accordion .xbtn[data-level="2"].collapsed {
    border-radius: 10px;
}

/* Open second level buttons have rounded corners on top only */
.accordion .xbtn[data-level="2"] {
    background-color: #EDEDED;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Define the generic button image attributes once */
.accordion .xbtn::after {
    position: absolute;
    color: #fda100;
    content: "";
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
}

.accordion .xbtn[data-level="1"]::after {
    right: 5px;
}

.accordion .xbtn[data-level="2"]::after {
    top: 50%;
    right: 15px;
}

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

/* First level icon, the "plus" symbol when the collapsible content is hidden */
.accordion .xbtn[data-level="1"].collapsed::after {
    background-image: url(/images/ico_+.svg) ;
    background-size: 20px 20px;
}

/* Second level icon, the "up" arrow the collapsible content is shown */
.accordion .xbtn[data-level="2"]::after {
    background-image: url(/images/seta_up_acordeaos.svg);
    background-size: 12px 6px;
}

/* Second level icon, the "down" arrow the collapsible content is hidden */
.accordion .xbtn.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: 768px) {

}

@media (min-width: 992px) {
    .accordion .card {
        border-top:1px solid #fda100;
        border-left: none;
        border-right: none;
        border-bottom: none;
        padding-bottom: 0px;
        border-radius: 0px;
    }

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

    /* 2nd level accordion cards don't have borders */
    .accordion .card[data-level="2"] {
        border: none;
        background-color: white;
        padding: 0;
        margin-bottom: 5px;
    }

    /* There is extra space between the last 2nd level card and the following 1st level title */
    .accordion .card[data-level="2"]:last-of-type {
        margin-bottom: 12px;
    }

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

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

    /* Card body is a lighter grey */
    .accordion .card-body {
        background-color: #F7F7F7;
    }

    .accordion .card-body span {
        padding-top: 10px;
        padding-bottom: 15px;
    }

    /* btn is a bootstrap class, so use xbtn to avoid having to reset most properties */
    .accordion .xbtn {
        position: relative;
        min-height: 50px;
        display: flex;
        align-items: center;
        text-align: left;
    }

    /* Button text (title) */
    .accordion .xbtn[data-level="1"] span {
        padding: 0;
    }

    .accordion .xbtn[data-level="2"] span {
        padding: 16px 50px 16px 23px;
    }

    /* Collapsed second level buttons have rounded corners */
    .accordion .xbtn[data-level="2"].collapsed {
        border-radius: 10px;
    }

    /* Open second level buttons have rounded corners on top only */
    .accordion .xbtn[data-level="2"] {
        background-color: #EDEDED;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    /* Define the generic button image attributes once */
    .accordion .xbtn::after {
        position: absolute;
        color: #fda100;
        content: "";
        background-size: 20px 20px;
        background-repeat: no-repeat;
        width: 20px;
        height: 20px;
    }

    .accordion .xbtn[data-level="1"]::after {
        margin-right: 15px;
        right: 0;
    }

    .accordion .xbtn[data-level="2"]::after {
        top: 50%;
        margin-right: 12px;
        right: 0;
    }

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

    /* First level icon, the "plus" symbol when the collapsible content is hidden */
    .accordion .xbtn[data-level="1"].collapsed::after {
        background-image: url(/images/ico_+.svg) ;
        background-size: 20px 20px;
    }

    /* Second level icon, the "up" arrow the collapsible content is shown */
    .accordion .xbtn[data-level="2"]::after {
        background-image: url(/images/seta_up_acordeaos.svg);
        background-size: 12px 6px;
    }

    /* Second level icon, the "down" arrow the collapsible content is hidden */
    .accordion .xbtn.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: 1200px) {

}

@media (min-width: 1800px) {

}
