.expansion-content {
    transition: max-height 0.3s;
    overflow: hidden;

    &[aria-hidden="true"] {
        max-height: 0;
        margin: 0px 30px;
    }

    &[aria-hidden="false"] {
        max-height: var(--containerHeight, 1000px);
        margin: 10px 30px;
    }
}

/* Everything after this is merely aesthetics */
* {
    box-sizing: border-box;
}

.container {
    font-family: sans-serif;
    line-height: 1.2;
    margin: 20px auto;
    border: 1px solid #D6D7D9;
    border-radius: 4px;
}

.trigger {
    font-size: 1em;
    background-color: transparent;
    color: #212121;
    padding: 15px 30px;
    cursor: pointer;

    &:hover[open="false"] {
        background-color: #f1f1f1;
    }
}

button {
    border: none;
    background-color: transparent;
}

.container+.container {
    margin-top: 20px;
}

.expansion-content {
    display: block;
    line-height: 1.4;
    width: 100%;
}

.align-right {
    float: right;
    color: rgba(0, 0, 0, 0.54);
}

.panel-text {
    font-family: Helvetica Neue, Helvetica, Roboto, sans-serif !important;
    font-size: 15px;
    font-weight: 600;

    &[aria-hidden="true"] {
        display: none;
    }
}

.icon {
    fill: rgba(0, 0, 0, 0.54);
}