html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.controller-box {
    margin-bottom: 10px;
    border-bottom: 1px solid black;
}

.controller-box-info {
    position: static;
    float: left;
    height: 180px;
    width: 50%;
}
.controller-box-hardware {
    position: static;
    float: right;
    width: 50%;
    height: 180px;
}

.controller-box-buttons {
    width: 100%;
}

.pagination-bar {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
}

.pagination-bar > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

/* Search help tooltip */
.search-with-help {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.help-icon {
    width: 18px;
    height: 18px;
    line-height: 18px;
    border-radius: 50%;
    border: 1px solid #888;
    background: #f6f6f6;
    color: #333;
    font-weight: 700;
    text-align: center;
    cursor: help;
    padding: 0;
}

.help-tip {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 260px;
    max-width: 420px;
    background: #2b2b2b;
    color: #fff;
    border-radius: 4px;
    padding: 8px 10px;
    margin-top: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
    display: none;
    pointer-events: auto;
}

    .help-tip.open,
    .help-icon:hover + .help-tip,
    .help-icon:focus + .help-tip {
        display: block;
    }

    /* small arrow */
    .help-tip::before {
        content: "";
        position: absolute;
        top: -6px;
        left: 10px;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 6px solid #2b2b2b;
    }