.fm-form .fm-scale {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  padding-top: 7px;
  justify-content: space-around;
}

.fm-scale-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.fm-scale-btns {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.fm-scale-bottom-pre {
  word-wrap: all;
  word-break: all;
  font-size: 0.85em;
}

.fm-scale-bottom-post {
  word-wrap: all;
  word-break: all;
  font-size: 0.85em;
  text-align:right;
}

.fm-form .fm-scale .fm-scale-btn {
    cursor: pointer;
    padding-left: 20px;
    float: left;
}

.fm-form .fm-scale-pre {
  padding-right: 5px;
  font-size: 0.9em;
  display: none;
}

.fm-form .fm-scale-post {
  padding-left: 10px;
  font-size: 0.9em;
  display: none;
}

.fm-form .fm-scale .fm-scale-btn input {
    margin-left: -18px;
    display: none;
    opacity: 0;
    position: absolute;
}

.fm-scale-btn-label {
    position: relative;
    z-index: 2;
}

.fm-scale-bottom-post-arrow {
  font-size: 1.5em;
}


.fm-form .fm-scale .fm-scale-btn input:checked+i {
    border-color: #000000;
}

.fm-form .fm-scale .fm-scale-btn input:checked+ div .active {
    display: inherit;
}

/* Niezaznaczona skala */
.fm-form .fm-scale .fm-scale-btn i {
  opacity: 0.2;
}

/* Zaznaczona skala */
.fm-form .fm-scale .fm-scale-btn input[type="radio"]:checked + i {
    opacity: 1;
}

.fm-form .fm-scale .fm-scale-btn input[type="radio"]:checked + i:before {
    background-color: #4873F7;
    height: 33px;
    width: 23px;
    left: 0px;
    top: 0px;    
}

/* Labelka po zaznaczeniu odpowiedzi */
.fm-form .fm-scale .fm-scale-btn input[type="radio"]:checked + i + .fm-scale-btn-label {
    font-weight: bold;
    color: white;
    font-size: 1.1em;
}


.fm-form .fm-scale .fm-scale-btn input[disabled]+i {
    border-color: #C0C0C0;
    background-color: #E6E7E2;
}

.fm-form .fm-scale .fm-scale-btn input[disabled]+i:before {
    background-color: #E6E7E2;
}

.fm-form .fm-scale .fm-scale-btn > i {
    background-color: #FFFFFF;
    border: 1px solid #000000;
    display: inline-block;
    height: 35px;
    width: 25px;
    line-height: 1;
    margin-left: -20px;
    margin-right: 4px;
    margin-top: -2px;
    position: relative;
    vertical-align: middle;    
}

.fm-form .fm-scale .fm-scale-btn>i:before {
    background-color: transparent;
    content: "";
    height: 0;
    left: 50%;
    position: absolute;
    top: 50%;
    transition: all 0.2s ease 0s;
    width: 0;
}

.fm-form .fm-scale .fm-scale-btn > div {
    display: inline-block;
    margin-left: -29px;
    width: 24px;
    text-align:center;
}

@media (min-width: 600px) {
    
 /*   .fm-form .fm-scale .fm-scale-btn {
        float: inherit;
        padding-left: 24px;
    }
*/
    .fm-scale-bottom-pre, .fm-scale-bottom-post {
      display: none !important;
    }

    .fm-scale-pre {
        display: flex !important;
        align-items: center;
        text-align: right;
        padding-left: 5px;
    }

    .fm-scale-post {
        padding-left: 0px !important;
        display: flex !important;
        align-items: center;
        padding-right: 5px;
    }


    .fm-form .fm-scale .fm-scale-btn > i {
        height: 35px;
        width: 35px;
    }

    .fm-form .fm-scale .fm-scale-btn input[type="radio"]:checked + i:before {
        height: 33px;
        width: 33px;
    }

    .fm-form .fm-scale .fm-scale-btn > div {
        margin-left: -38px;
        width: 32px;
        position: absolute; /* dostosowanie pod firefox */
        margin-top: 5px; /* dostosowanie pod firefox */
    }


}