.flatBtn-bar-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.flatBtn-bar-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.flatBtn {
    font-size: 1.5em;
    font-weight: bold;
    border: 1px solid #999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    margin: 10px;
    padding: 5px;
    white-space: nowrap;
    width: 60px;
    height: 60px;
    background-color: rgba(255,255,255,0.1);
    flex-shrink: 0;
    flex-grow: 0;
}
.flatBtn ion-icon:not(:last-child) {
    margin-right: 5px;
}
.flatBtn:hover {
    background-color: rgba(255,255,255,0.5);
}
.flatBtn.disabled {
    opacity: 0.5;
}
.flatBtn.disabled:hover {
    background-color: rgba(255,255,255,0.1);
}
.flatBtn.success {
    background-color: rgba(0, 188, 140, 0.6);
}
.flatBtn.success:hover {
    background-color: rgba(0, 188, 140, 0.9);
}
.flatBtn-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: rgba(0,0,0,0.6);
    border-radius: 6px;
    border: 1px solid gray;
    backdrop-filter: blur(2px);
}
/* horizontal layout by default */
.flatBtn-bar-container>.flatBtn-bar {
    flex-direction: row;
    width: 100%;
    height: 80px;
    position: absolute;
    bottom: 0;
}
.flatBtn-bar>div {
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    display: flex;
}
.flatBtn-bar-content {
    padding-bottom: 80px;
}
@media screen and (orientation: landscape) {
    .flatBtn-bar-container>.flatBtn-bar {
        flex-direction: column;
        width: 80px;
        height: 100%;
        left: 0;
    }
    .flatBtn-bar>div {
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: auto;
        max-height: 100%;
        max-width: none;
    }
    .flatBtn-bar-content {
        margin-left: 80px;
        width: calc(100% - 80px);
        height: 100%;
        padding-bottom: 0px;
    }
}