#floatingWindows {
    position: absolute;
    top: 0;
    left: 0;
}
#floatingWindows * {
    box-sizing: border-box;
}
#floatingWindows > .windowFrame {
    border-radius: 8px;
    border: 2px solid #666;
    background-color: #ccc;
    position: absolute;
    top: 0;
    left: 0;
}
#floatingWindows > .windowFrame > .wfTopBar {
    height: 29px;
    border-bottom: 1px solid #666;
    min-width: 425px;
    display: flex;
    padding: 4px;
    position: relative;
}
#floatingWindows > .windowFrame > .wfTopBar > .wfHandle {
    height: 2px;
    width: 50px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #666;
}
#floatingWindows > .windowFrame > .wfTopBar > .wfHandle::before,
#floatingWindows > .windowFrame > .wfTopBar > .wfHandle::after {
    content: "";
    display: block;
    position: absolute;
    top: -4px;
    height: 2px;
    width: 120%;
    left: -10%;
    background-color: #666;
}
#floatingWindows > .windowFrame > .wfTopBar > .wfHandle::after {
    top: 4px;
}
#floatingWindows > .windowFrame > .wfTopBar .wftButton {
    background-color: #666;
    border-radius: 2px;
    width: 21px;
    height: 21px;
    margin-right: 4px;
    border: none;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
#floatingWindows > .windowFrame > .wfTopBar .wftButton:hover {
    opacity: 0.7;
}
#floatingWindows > .windowFrame > .wfTopBar .wftButton:last-child {
    margin: 0;
}
#floatingWindows > .windowFrame > .wfTopBar .wftButton.rollup::before {
    content: "";
    display: block;
    height: 2px;
    width: 60%;
    left: 50%;
    top: 50%;
    position: absolute;
    background-color: #fff;
    transform: translate(-50%, -50%);
}
#floatingWindows > .windowFrame > .wfTopBar .wftButton.close::before,
#floatingWindows > .windowFrame > .wfTopBar .wftButton.close::after {
    content: "";
    display: block;
    height: 2px;
    width: 70%;
    left: 50%;
    top: 50%;
    position: absolute;
    background-color: #fff;
    transform: translate(-50%, -50%) rotate(45deg);
}
#floatingWindows > .windowFrame > .wfTopBar .wftButton.close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
#floatingWindows > .windowFrame > .wfTopBar .wftTitle {
    line-height: 21px;
    flex-grow: 1;
    color: #666;
    user-select: none;
}
#floatingWindows > .windowFrame > .wfWinBody {
    min-height: 50px;
    min-width: 50px;
    display: flex;
}
#floatingWindows > .windowFrame > .wfWinBody > .wfbToolbar {
    flex-shrink: 0;
}
#floatingWindows > .windowFrame > .wfWinBody > .wfbToolbar > .wfbtHR {
    width: 40px;
    height: 2px;
    margin: -2px 7px;
    background-color: #000;
}
.wfbtItem {
    width: 50px;
    height: 50px;
    margin: 2px;
    transition: background-color 300ms;
    background-color: #8cc6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.wfbtItem:hover {
    background-color: #7bb5ee;
}
.wfbtItem > input {
    border: none;
    width: 100%;
    height: 100%;
    font-size: 24px;
    font-weight: bold;
    background: transparent;
    text-align: center;
}
#floatingWindows > .windowFrame > .wfWinBody > .wfbWidget {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}
#floatingWindows td {
    padding: 0;
}
#floatingWindows table {
    border-collapse: collapse;
}
#floatingWindows table .wfbtItem {
    margin: 1px 0;
}

@media (max-width: 600px) {
    .wheelNav {
        z-index: 2000;
    }
    #floatingWindows {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1000;
    }
    #floatingWindows > .windowFrame {
        border-radius: 0;
        border: none;
        width: 100vw;
        height: 100vh;
        left: 0 !important;
        top: 0 !important;
        background-color: #e8e8e8;
        display: flex;
        flex-direction: column;
    }
    #floatingWindows > .windowFrame > .wfTopBar {
        height: 56px;
        background-color: #2196f3;
        border: none;
        padding: 0;
        align-items: center;
        flex-direction: row-reverse;
        flex-shrink: 0;
        box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.16), 0px 2px 10px 0px rgba(0, 0, 0, 0.12);
        min-width: auto;
    }
    #floatingWindows > .windowFrame > .wfTopBar > .wfHandle {
        display: none;
    }
    #floatingWindows > .windowFrame > .wfTopBar .wftButton {
        padding: 0 15px;
        background: none;
        border-radius: 0;
        transition: background-color 300ms;
        height: 100%;
        width: 56px;
        height: 56px;
        margin: 0;
    }
    #floatingWindows > .windowFrame > .wfTopBar .wftButton.wftMaxmin {
        display: none;
    }
    #floatingWindows > .windowFrame > .wfTopBar .wftButton.rollup {
        display: none;
    }
    #floatingWindows > .windowFrame > .wfTopBar .wftButton:hover {
        opacity: 1;
        background-color: rgba(0, 0, 0, 0.1);
    }
    #floatingWindows > .windowFrame > .wfTopBar .wftButton.rollup::before {
        width: 40%;
    }
    #floatingWindows > .windowFrame > .wfTopBar .wftButton.close::before,
    #floatingWindows > .windowFrame > .wfTopBar .wftButton.close::after {
        width: 50%;
    }
    #floatingWindows > .windowFrame > .wfTopBar .wftTitle {
        flex-grow: 1;
        color: #fff;
        font-size: 1.4em;
        padding: 0 15px;
    }
    #floatingWindows > .windowFrame > .wfWinBody {
        flex-direction: column;
        flex-grow: 1;
    }
    #floatingWindows > .windowFrame > .wfWinBody > .wfbToolbar {
        width: 54px;
        flex-shrink: 0;
        display: flex;
        overflow-y: auto;
        background-color: rgba(0, 0, 0, 0.1);
        width: 100%;
        padding: 2px 4px;
    }
    #floatingWindows > .windowFrame > .wfWinBody > .wfbToolbar > * {
        flex-shrink: 0;
    }
    #floatingWindows > .windowFrame > .wfWinBody > .wfbWidget {
        padding: 10px;
    }
}
