/*
input[type="range"] {
    height: 15px;
    background: #ccc;
    border-radius: 16px;
}
*/

datalist  {
    width: 100%;
}

datalist {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

option {
    text-align: center;
    width: 0.89rem;
}

/*
input[type=range] {
    -webkit-appearance: none;
    margin: 7px 0;
    width: 100%;
}
input[type=range]:focus {
    outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    animate: 0.2s;
    background: #ec5d37;
    border-radius: 25px;
}
input[type=range]::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 4px 0 rgba(0,0,0, 1);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -8px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
    background: #ec5d37;
}
.range-wrap{
    width: 100%;
    position: relative;
}
.range-value{
    position: absolute;
    top: -50%;
}
.range-value span{
    width: 30px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: #03a9f4;
    color: #fff;
    font-size: 12px;
    display: block;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    border-radius: 6px;
}
.range-value span:before{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 10px solid #03a9f4;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    margin-top: -1px;
}
*/

.go-top {
    color: #ec5d37;
    font-size: 17px;
    padding: 2px;
}

.q-t {
    font-size: 20px;
    font-weight: bold;
    color: #ec5d37;
}

.q-t2 {
    font-size: 18px;
    font-weight: bold;
    color: #ec5d37;
}
.q-t3 {
    font-size: 16px;
    font-weight: bold;
    /*color: #ec5d37;*/
    margin-left: 5px;
}
.q-t4 {
    font-size: 15px;
    color: black;
    margin-left: 5px;
}

.q-spacer {
    border-top: 1px solid #332b4d;
    margin-top: 45px;
    margin-bottom: 45px;
}
.title-q-pointer {
    cursor: pointer;
    font-size: 15px;
    margin-bottom: 20px;
}
.title-q-pointer a {
    color: black;
    text-decoration: none;
}

.title-q-pointer a:hover {
    color: #ec5d37;
    text-decoration: underline;
    text-decoration-color: #ec5d37;
}

.blocco-qa {
    margin-top: 50px;
    background-color: rgb(248, 234, 220, .3);
    padding: 25px;
    border-radius: 20px;
    border: 2px solid #ec5d37;
/*    box-shadow: 5px 10px 8px #f9c82c;*/
}

.div-block-q-title {
    background-color: #f0edfb;
    padding: 10px 5px 10px 5px;
    margin-bottom: 20px;
    font-size: 17px;
}

.rating{
    display : flex;
}

.rating input{
    position : absolute;
    left     : -100vw;
}

.rating label{
    width      : 48px;
    height     : 48px;
    padding    : 48px 0 0;
    overflow   : hidden;
    background : url('/assets/img/stars.svg') no-repeat top left;
    cursor: pointer;

}

.rating:not(:hover) input:indeterminate + label,
.rating:not(:hover) input:checked ~ input + label,
.rating input:hover ~ input + label{
    background-position : -48px 0;

}

.rating:not(:hover) input:focus-visible + label{
    background-position : -96px 0;
}

.radio-botton-block {
    font-size: 15px;
    margin-bottom: 20px;
}

.slider-input-value {
    width: 57px;
    background-color: transparent;
    border: none;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid #ec5d37;
    border-radius: 15px;
    padding: 4px !important;
    text-align: center;
}

/*
.waiting-while-send-answer {
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 10000;
}
*/









/*
 * Hide the inputs.
 */

input[type="radio"] {
   /* display: none;*/
    
}


/*
 * Then, style the label so it looks like however you want.
 * Here's a quick rundown of how I did it here:
 */


/*
 * Some basic positioning styles, and we give it the pointer cursor to show
 * that it's clickable
 */

.label-radio {
    display: inline-block;
    padding: 5px 10px;
    cursor: pointer;
}


/*
 * With how I decided to build this, the position: relative is super important.
 * We're going to position a pseudo element within this element(As it is the containing box)
 */

.label-radio span {
    position: relative;
    line-height: 22px;
}


/*
 * Because we're using pseudo elements, a content property is required to make them appear.
 */

.label-radio span:before,
.label-radio span:after {
    content: '';
}


/*
 * We are using the :before peudo elemnt as the actual button,
 * then we'll position the :after over it. You could also use a background-image,
 * font-icon, or really anything if you want different styles.
 * For the specific style we're going for, this approach is simply the easiest, but
 * once you understand the concept you can really do it however you like.
 */

.label-radio span:before {
    border: 1px solid #ec5d37;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    display: inline-block;
    vertical-align: top;
}

.label-radio span:after {
    /*background: #fcc90f;*/
    background: #ec5d37;
    width: 14px;
    height: 14px;
    position: absolute;
    top: 2px;
    left: 3px;
    transition: 300ms;
    opacity: 0;
}

/*
 * This is the most important part of this whole file, if you understand what's happening here
 * you can really make this in so many different ways.
 *
 * We start by selecting the input inside of the label, with "label input". From there we use the
 * ":checked" selector to *only* select the input when it is checked. We then use the immediate sibling
 * selector(+) to select the span, and then it's pseudo element :after(What we are using to mark the button)
 * Because we already styled the :after, all we have to do is set the opacity to 1, making it fade in.
 */
.label-radio input:checked+span:after {
    opacity: 1;
}

