.sidebar {
    background-color: var(--shade3);
    border-right: var(--border-thin);

    .sidebar-item {
        padding: 20px 5px;
        margin: 4px 4px;
        border-bottom: var(--border-thin);

        .button {
            width:100%;
        }

        &:last-child {
            border-bottom: none;
        }
    }

    .sidebar-flex {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;

        button {
            margin-bottom: 10px;
            flex: 0 0 55%;
        }
    }

    .sidebar-subheader {
        display: inline-block;
        text-align: center;
        width: 100%;
        margin: 3px;
    }
}

.radio-switch {
    display: flex;
    flex-direction: row;
    justify-content: center;
    overflow: hidden;

    input {
        clip: rect(0, 0, 0, 0);
        height: 0px;
        width: 0px;
        border: 0;
        overflow: hidden;
        margin: 0;

        &:first-of-type + label {
            border-radius: 5px 0px 0px 5px;
        }

        &:last-of-type + label {
            border-radius: 0 5px 5px 0;
        }
    }

    label {
        background-color: ghostwhite;
        color: var(--nearblack);
        line-height: 1;
        text-align: center;
        padding: 6px 10px;
        margin-right: 0;
        border: var(--border-inner);
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
        transition: all 0.1s ease-in-out;
    }

    label:hover {
        box-shadow: none;
        cursor: pointer;
        background-color: var(--hover);
    }

    input:checked + label {
        background-color: var(--checked);
        box-shadow: none;
        font-weight: bolder;
    }
}