.buttons-wrapper {
    display: none;
}

.control-panel {
    background-image: none;
}

.control-panel {
    display: block;
    padding: 0.5em;
    text-align: center;
    font-weight: bold;
    background-color: var(--light-gray);

}

.control-panel:after {
    content: "";
    display: block;
    clear: both;
}

.lbl1 {
    position: relative;
    display: inline-block;
    height: 1.5rem;
    width: 2.25rem;
    background: var(--color-gray);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.lbl1:after {
    position: absolute;
    left: 2px;
    top: 2px;
    display: block;
    width: calc(1.5rem - 4px);
    height: calc(1.5rem - 4px);
    border-radius: 100px;
    background: #fff;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.05);
    content: '';
    transition: all 0.3s ease;
}

.lbl1:active:after {
    transform: scale(1.15, 0.85);
}

.cbx:checked ~ label {
    background: var(--primary-color);
}

.cbx:checked ~ label:after {
    left: 1rem;
    background: var(--text-color-light);
}

.cbx:disabled ~ label {
    background: #d5d5d5;
    pointer-events: none;
}

.cbx:disabled ~ label:after {
    background: #bcbdbc;
}

.digits-form label.radio input {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    pointer-events: none;
}

.digits-form label.radio input + b {
    width: 1.5em;
    height: 1.5em;
    display: inline-block;
    border-radius: 100%;
    border: 1px solid var(--color-gray);
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
}

.digits-form label.radio input:checked + b {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http:%2F%2Fwww.w3.org%2F2000%2Fsvg" xmlns:xlink="http:%2F%2Fwww.w3.org%2F1999%2Fxlink" version="1.1" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="%23CE1B14"%2F><%2Fsvg>');
}

.digits-form label.radio * {
    vertical-align: middle;
}

.digits-form label.radio[data-value="0"] span:after {
    content: " Đầy đủ";
}

.digits-form label.radio[data-value="2"] span:after {
    content: " 2 số";
}

.digits-form label.radio[data-value="3"] span:after {
    content: " 3 số";
}

.digits-form {
    float: left;
}

.digits-form label.radio {
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
}

.digits-form label.radio + label.radio {
    margin-left: 1em;
}

@media (max-width: 640px) {

    .digits-form {
        float: none;
        margin: auto;
    }
}

.arr-right-black, .arr-left-black {
    padding: 5px 15px;
    height: 20px;
    cursor: pointer;
    opacity: 0.5;
    margin-top: 4px;
}

.arr-left-black {
    background: url('/images/icons8-go-back-30.png');
    margin-top: -4px;
    height: 30px;
}

.arr-right-black {
    background: url('/images/icons8-arrow-right-30.png');
    margin-top: -4px;
    height: 30px;
}

.flex-wrap-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 640px) {
    .flex-wrap-right {
        justify-content: center !important;
        text-align: left;
    }

    .col-one-third {
        flex: 1 1 33.33%;
    }
}

/* Hover Panel */
.hover-panel {
    position: absolute;
    bottom: 8px;
    right: 0;
    width: initial;
}

.hover-panel #hover-row {
    text-align: center;
}

.hover-panel span {
    /*border: 1px solid #cecece;*/
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    margin: 0 5px 0 0;
    text-align: center;
    font-weight: 700;
    color: var(--text-color-light);
}

.hover-panel span:hover, .hover-panel span.hl {
    background: var(--secondary-color);
    color: var(--text-color);
}


@media (max-width: 640px) {
    .hover-panel {
        padding: 5px 0;
        background: var(--light-gray);
        position: relative;
    }

    .hover-panel span {
        margin: 5px;
    }
}

.result-book-bar{
    background: var(--secondary-color-light);
    /*border: 1px solid var(--color-gray);*/
}

.result-book-bar.no-border{
    border: none;
    border-radius: 5px;
    overflow: hidden;
}

.result-book-bar ul{
    display: flex;
}

.result-book-bar ul li{
    flex: 1;
    text-align: center;
    padding: 5px 0;
}

.result-book-bar ul li:first-child{
    background: var(--secondary-color);
}

.bg-green.bg-yellow {
    background: var(--secondary-color);
}

.bg-orange.bg-yellow {
    background: var(--secondary-color);
}