div.voting-form {
    background-color: #f1f1f1;
}

div.voting-form form.voting-form__form {
    padding: 6px;
}

div.voting-form .voting-form__items {
    display: flex;
    width: 100%;
    align-items: start;
    justify-content: space-between;
}

div.voting-form .voting-form__item {
    display: flex;
    margin: 5px 5px;
    align-items: start;
    justify-content: space-between;
}

div.voting-form .voting-form__item:first-child {
    width: 25%;
    margin-left: 0;
}

div.voting-form .voting-form__item:nth-child(2) {
    width: 65%;
}

div.voting-form .voting-form__item:last-child {
    width: 10%;
    margin-right: 0;
}

div.voting-form .voting-form__ratingSelect {
    min-width: 90px;
    font: normal 12px tahoma, arial, helvetica, sans-serif;
    width: calc(100% - 100px);
}

div.voting-form label.voting-form__ratingLabel,
div.voting-form label.voting-form__whyLabel {
    display: block;
    font: normal 12px tahoma, arial, helvetica, sans-serif;
    font-weight: bold;
    margin-right: 4px;
    white-space: nowrap;
}

div.voting-form .voting-form__whyBlock {
    width: calc(100% - 52px);
}

div.voting-form textarea.voting-form__whyTextarea {
    height: 20px;
    width: 100%;
    min-width: 100%;
    max-height: 300px;
    min-height: 20px;
    resize: none !important;
    font: normal 12px tahoma, arial, helvetica, sans-serif;
    box-sizing: border-box;
    padding: 2px 0 0 2px;
}

div.voting-form .voting-form__whyResizeDown {
    cursor: s-resize;
    height: 7px;
    background: url(/images/sort/arrow_down.gif) center center no-repeat;
}

div.voting-form .voting-form__button-submit {
    font: normal 12px tahoma, arial, helvetica, sans-serif;
    width: 100%;
    border: 1px solid rgb(169, 169, 169);
    border-radius: 2px;
}

div.voting-form .voting-form__button-submit:hover {
    cursor: pointer;
    border: 1px solid rgb(115, 115, 115);
}

div.voting-form .voting-form__button-submit:disabled {
    cursor: default !important;
    border: 1px solid rgb(169, 169, 169) !important;
}

@media screen and (max-width: 992px) {
    div.voting-form label.voting-form__ratingLabel {
        white-space: normal;
    }

    div.voting-form .voting-form__item:first-child {
        width: 30%;
    }

    div.voting-form .voting-form__item:nth-child(2) {
        width: 60%;
    }
}

@media screen and (max-width: 768px) {
    div.voting-form .voting-form__item {
        flex-direction: column;
    }

    div.voting-form .voting-form__item:last-child {
        margin-top: auto;
        margin-bottom: auto;
    }

    div.voting-form .voting-form__ratingSelect {
        min-width: 100%;
    }

    div.voting-form .voting-form__whyBlock {
        width: 100%;
    }

}

@media screen and (max-width: 425px) {
    div.voting-form .voting-form__items {
        flex-direction: column;
    }

    div.voting-form .voting-form__item {
        width: 100% !important;
        margin: 5px 0 0;
    }

    div.voting-form .voting-form__ratingSelect {
        min-width: 100%;
    }

    div.voting-form .voting-form__whyBlock {
        width: 100%;
    }

    div.voting-form .voting-form__button-submit {
        margin-top: 10px;
        margin-bottom: auto;
    }
}