.terms {
    position: relative;
    left: 0;
    right: 0;
    text-align: center;
    margin: 5px auto;
    .terms-section-toggle {
        display: inline-block;
        white-space: nowrap;
        cursor: pointer;
        background-color: transparent;
        border: none;
        padding: 0;
        line-height: 2em;
        color: currentColor;
        text-align: center; // make sure we inherit font styling from the container rather than <button>
        font-family: inherit;
        font-size: $font-size;
        font-weight: normal;
        text-decoration:none;
        &.active>.arrow-icon {
            transition: transform 350ms;
            transform: rotate(90deg);
            display: inline-block;
            transform-origin: center;
        }
        span {
            vertical-align: middle;
        }
        svg {
            position: relative;
            top: 0.31em;
            fill: currentColor;
            height: 1.15em;
            pointer-events: none;
            width: 1.15em;
            transform: rotate(0deg);
        }
    }
    .terms-section-content {
        display: none;
        margin: 0px auto;
        max-width: 1000px;
        text-align: left;
        color: currentColor;
        padding-left: $unit-2;
        padding-right: $unit-2;
        overflow: hidden;
        opacity: 0;
        height: 0;
        transition: opacity 300ms;
        &.opened {
            padding-top: 30px;
            display: block;
            height: auto;
            opacity: 1;
        }
        h1, h2, p {
            margin-left: 0;
            margin-right: 0;
        }
        ul {
            padding-left: ($unit-2);
            list-style-position: outside;
            li {
                margin-bottom: $unit-2;
            }
        }
        a {
            color: #00ccff;
        }
        table {
            margin-bottom: $unit-2;
            td {
                padding: 5px;
                border: 1px solid currentColor;
            }
        }
    }
    .icon-svg {
        display: none;
    }
}