.tfw-view-expand {
    display: block;
    padding: 0 16px;
    height: 32px;
}
.tfw-view-expand.expand {
    height: auto;
}

.tfw-view-expand > div.head {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    height: 32px;
    font-family: Roboto, josefin-sans, sans-serif;
    font-size: 14px;
    font-weight: bold;
    font-variant: small-caps;
    font-variant: common-ligatures small-caps;
    cursor: pointer;
}

.tfw-view-expand > div.head > div.icons {
    position: relative;
    width: 24px;
    height: 24px;
    padding: 0;
    margin: 0 8px 0 0;
}

.tfw-view-expand > div.head > div.icons > * {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    transition: all .3s;
}

.tfw-view-expand > div.head > div.icons > *:first-child {
    transform: rotate(0);
    opacity: 1;
}
.tfw-view-expand > div.head > div.icons > *:last-child {
    transform: rotate(-90deg);
    opacity: 0;
}

.tfw-view-expand.expand > div.head > div.icons > *:first-child {
    transform: rotate(90deg);
    opacity: 0;
}
.tfw-view-expand.expand > div.head > div.icons > *:last-child {
    transform: rotate(0);
    opacity: 1;
}


.tfw-view-expand > div.body {
    display: block;
    visibility: collapse;
    padding: 0 0 0 16px;
    margin: 0;
    transition: none;
    transform: translateX(100px);
    opacity: 0;
}

.tfw-view-expand.expand > div.body {
    display: block;
    visibility: visible;
    transition: all .2s;
    transform: translateX(0);
    opacity: 1;
}
