.br-theme-bars-square .br-widget {
    white-space: nowrap;
    overflow: hidden;
    width: fit-content;
    width: -moz-fit-content;
    margin: auto;
}

.br-theme-bars-square .br-widget a {
    display: block;
    width: 35px;
    height: 35px;
    float: left;
    border: 2px solid #bbcefb;
    background-color: white;
    margin: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 2.3;
    text-align: center;
    font-weight: 600;
}

.br-theme-bars-square .br-widget a:nth-child(-n+3) {
    border-color: red; 
    color: red;
}

.br-theme-bars-square .br-widget a.br-active:nth-child(-n+3),
.br-theme-bars-square .br-widget a.br-selected:nth-child(-n+3){
    border-color: red; 
    background-color: #ff9999;
    color: white;
}

.br-theme-bars-square .br-widget a:nth-child(n+4):nth-child(-n+7) {
    border-color: orange;
    color: orange;
}

.br-theme-bars-square .br-widget a.br-active:nth-child(n+4):nth-child(-n+7),
.br-theme-bars-square .br-widget a.br-selected:nth-child(n+4):nth-child(-n+7){
    border-color: orange; 
    background-color: #ffc965;
    color: white;
}

.br-theme-bars-square .br-widget a:nth-child(n+8) {
    border-color: green;
    color: green;
}

.br-theme-bars-square .br-widget a.br-active:nth-child(n+8),
.br-theme-bars-square .br-widget a.br-selected:nth-child(n+8){
    border-color: green; 
    background-color: #4abd73;
    color: white;
}

.br-theme-bars-square .br-widget a.br-active,
.br-theme-bars-square .br-widget a.br-selected {
    border: 2px solid #4278F5;
    color: #4278F5;
}
.br-theme-bars-square .br-widget .br-current-rating {
    clear: both;
    width: 330px;
    text-align: center;
    font-weight: 600;
    display: block;
    padding: .5em 0;
    color: #646464;
    margin: auto;
}
.br-theme-bars-square .br-readonly a {
    cursor: default;
}
.br-theme-bars-square .br-readonly a.br-active,
.br-theme-bars-square .br-readonly a.br-selected {
    border: 2px solid #729bf8;
    color: #729bf8;
}
@media print {
    .br-theme-bars-square .br-widget a {
        border: 2px solid #b3b3b3;
        color: #b3b3b3;
    }
    .br-theme-bars-square .br-widget a.br-active,
    .br-theme-bars-square .br-widget a.br-selected {
        border: 2px solid black;
        color: black;
    }
}
