.arrow_tooltip strong {
    font-weight: 600;
}

.js_rating_barPercentage {
    height: 100%;
}

.margin_right_5 {
    margin-right: 5px;
}

.ratings {
    margin-bottom: 0;
}

.ratings .w_100p {
    display: block;
    margin-top: 10px;
}

.rating_details_close {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* We draw the close button wtih css */
.rating_details_close_button {
    width: 24px;
    height: 24px;
    position: relative;
    display: inline-block;
    padding: 0;
    border: 0;
    background: transparent;
    color: #000;
    cursor: pointer;
}
.rating_details_close_button::before,
.rating_details_close_button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background: #53535F;
    transform-origin: center;
}
.rating_details_close_button::before {
    transform: translate(-50%, -50%) rotate(45deg);
}
.rating_details_close_button::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.rating_details_header {
    display: flex;
}

.rating_details_header > div:first-child {
    width: 90%;
}

.ratings-header {
    display: flex;
}

.ratings-header > div {
    flex: 1 1 0;
}

.rating_interactive_flex {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.rating_wrapper strong {
    font-weight: 600;
}

.rating_preview {
    cursor: pointer;
}

[class*="rating_col-"] {
    float: left;
}

.rating_col_all {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    }

.rating_col-1 {
    width: 70px;
}

.rating_col-1--number-only {
    flex: 0 0 20px;
}

.rating_col-2 {
    border: 1px solid #666666;
    height: 23px;
    margin-bottom: 5px;
    margin-right: 20px;
    width: 150px;
}

.rating_col-2--number-only {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    max-width: 80%;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid #666666;
    height: 23px;
    margin-right: 20px;
    margin-bottom: 5px;
}

.rating_col-3 {
    text-align: right;
    width: 20px;
}

.rating_interactive .t3-star {
    cursor: pointer;
}

.recommendation-form .button-bar {
    display: flex;
    gap: 2rem;
}

.t3-star.size_f_16, .t3-star-empty.size_f_16 {
    line-height: 18px;
}

.social_leiste .size_f_22 {
    line-height: 24px;
}

/* Bugfix für IE */
.social_leiste a {
    text-decoration: none;
}

.social_leiste a:hover {
    color: #666666;
}

.rating_interactive_fontsize {
    font-size: 100%;
}

@media screen and (max-width: 640px) {

    .icon-whatsapp::before {
        color: #093;
    }

    .ratings, .social_leiste {
        margin-bottom: 10px;
    }

    /* Center pop-up on small screens */
    .arrow_tooltip.arrow_tooltip--center-on-mobile {
        position: fixed;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    /* Remove the top left arrow from the border */
    .arrow_tooltip.arrow_top_left--hide-on-mobile:before,
    .arrow_tooltip.arrow_top_left--hide-on-mobile:after {
        display: none;
    }

    .rating_col-2--number-only {
        margin-right: 10px;
    }
}

@media screen and (min-width: 300px) and (max-width: 400px) {

    .arrow_tooltip {
        padding: 15px 16px 15px 18px;
        width: 90%;
    }

    .arrow_tooltip .margin_right_10, .rating_preview .margin_right_10 {
        margin-right: 7px !important;
    }

    .rating_wrapper {
        padding: 15px 16px 15px 18px;
        width: 90%;
    }

    .rating_wrapper .margin_right_10, .rating_preview .margin_right_10 {
        margin-right: 7px !important;
    }

    .rating_col-2 {
        margin-right: 15px;
        width: 140px;
    }

    /* size_f_18 sets the size to 18px, we need to overrite it at small screens */
    .rating_interactive_fontsize,
    .rating_interactive_fontsize.size_f_18 {
        font-size: 95%;
    }
}

@media screen and (min-width: 300px) and (max-width: 500px) {
    .rating_stars_partial .arrow_tooltip{
        width: 90%;
    }

    .rating_stars_partial .rating_wrapper{
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
    }
}

@media screen and (max-width: 300px) {

    /* size_f_18 sets the size to 18px, we need to overrite it at small screens */
    .rating_interactive_fontsize,
    .rating_interactive_fontsize.size_f_18 {
        font-size: 85%;
    }
}
