/*HODNOCENÍ OBCHODU*/

.rate-wrapper.unveil-wrapper .rate-average {
    font-size: 48px;
    font-weight: 600;
}

.rate-wrapper.unveil-wrapper .rate-star-wrap .stars-label {
    font-size: 13px;
    color: rgba(58, 53, 48, .6);
}

.stars {
    display: flex;
    gap: 2px;
    height: auto;
    margin: 0;
}

.stars a, .stars span {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.stars .star.star-half:before, .stars .star.star-on:before, .stars .star.star-off:before {
    content: "";
    position: relative;
    width: 100%;
    height: 100%;
    top: auto;
    left: auto;
    line-height: 1;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.stars .star.star-half:before {
    background-image: url("/user/documents/upload/kodovani/star-half.svg");
}

.stars .star.star-on:before {
    background-image: url("/user/documents/upload/kodovani/star-full.svg");
}

.stars .star.star-off:before {
    background-image: url("/user/documents/upload/kodovani/star-empty.svg");
}

.rate-wrapper.unveil-wrapper .rate-star-wrap {
    margin-left: 14px;
    justify-content: center;
    row-gap: 10px;
}

.rate-wrapper.unveil-wrapper .rate-star-wrap .stars {
    margin-bottom: 0;
}

.rate-wrapper.unveil-wrapper .add-comment {
    flex-grow: 1;
    margin-top: 12px;
}

.add-comment .rating-icon:before {
    content: none;
}

.add-comment .rating-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    column-gap: 13px;

    min-height: 44px;
    min-width: 176px;
    padding: 4px 16px;

    background-color: #EFF9FF;
    border-radius: 2px;
    color: #1965AD;
    font-size: 14px;
}

.add-comment .rating-icon::after {
    display: inline-block;

    content: "";
    width: 10px;
    height: 10px;
    background-image: url("/user/documents/upload/kodovani/plus.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.add-comment .rating-icon:hover {
    text-decoration: underline;
}

.rate-bar {
    background-color: #D1E4F0;
}

.rate-list .rate-star .star-off::before {
    background-image: url("/user/documents/upload/kodovani/star-full.svg");
}

.rate-wrapper.unveil-wrapper .rate-value {
    color: rgba(58, 53, 48, .6);
    font-size: 14px;
    margin-right: 7px;
}

.rate-wrapper.unveil-wrapper .rate-star {
    margin-right: 12px;
    gap: 0;
    align-items: center;
}

.rate-wrapper.unveil-wrapper .rate-count.active {
    color: rgba(58, 53, 48, .6);
    font-size: 12px;
    right: -34px;
}

.rate-wrapper.unveil-wrapper .rate-count {
    color: rgba(58, 53, 48, .6);
    font-size: 12px;
}

.rate-wrapper.unveil-wrapper .rate-list {
    margin-bottom: 2px;
}

.content .votes-wrap {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.content .vote-wrap {
    position: relative;
    border: 1px solid #D1E4F0;
    border-radius: 4px;
    padding: 20px 20px 28px 80px;
}

.vote-delimeter {
    display: none;
}

.vote-rating {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 12px;
}

.vote-header {
    position: initial;
}

.vote-pic {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    min-width: unset;
    padding: 0;
    background-image: url("/user/documents/upload/kodovani/vote-person.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.vote-pic > * {
    display: none;
}

.vote-content {
    line-height: 1.57;
}

.vote-content br {
    display: none;
}

.vote-content span.plus {
    color: #7AB52C;
    font-weight: 700;
}

.vote-content span.minus {
    color: #D9328A;
    font-weight: 700;
}

.votes-wrap.admin-response .vote-pic {
    background-image: url("/user/documents/upload/kodovani/vote-kancelar.svg");
}

.votes-wrap.admin-response .vote-pic::before {
    content: "";
    position: absolute;
    bottom: 4px;
    right: calc(100% - 4px);
    width: 12px;
    height: 12px;
    background-image: url("/user/documents/upload/kodovani/response.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.votes-wrap.admin-response .vote-wrap {
    background-color: #EFF9FF;
    border: none;
}

.admin-response .vote-name {
    display: flex;
    flex-direction: column;
    row-gap: 6px;
    font-size: 16px;
    font-weight: 600;
}

.admin-response .vote-name .vote-name__position {
    font-size: 12px;
    color: rgba(58, 53, 48, .6);
    font-weight: 400;
}

.votes-wrap.admin-response {
    padding-left: 0;
    margin-left: -56px;
}

.vote-wrap {
    margin-bottom: 0;
}

/*HODNOCENÍ NA DP*/

.myreferences {
    padding-block: 52px;
    margin-block: 52px;
    border-width: 1px 0 1px;
    border-color: #D1E4F0;
    border-style: solid;
}

.myreferences-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 40px;
}

.myreferences-title h2 {
    flex-grow: 1;

    font-size: 28px;
    margin: 0;
}

.mybtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    column-gap: 12px;

    min-height: 44px;
    padding: 8px 20px;
}

.mybtn:hover {
    text-decoration: underline;
}

.mybtn-primary {
    background-color: #EFF9FF;
    font-size: 14px;
    color: #1965AD;
    font-weight: 600;
    border-radius: 2px;
}

.myreferences .mybtn::after {
    display: inline-block;

    content: "";
    position: relative;
    width: 12px;
    height: 12px;
    mask-image: url("/user/documents/upload/kodovani/chevron-right.svg");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-image: url("/user/documents/upload/kodovani/chevron-right.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    background-color: var(--color-secondary);
}

.myreferences-inner {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.myreferences-inner .vote-wrap {
    width: calc(25% - 7.5px);
}

.myreferences-inner .vote-wrap .votes-wrap.admin-response {
    display: none;
}

.myreferences .vote-wrap.not-all .vote-content {
    position: relative;
    height: 110px;
    overflow: hidden;
}

.myreferences .show-more {
    display: inline-flex;
    column-gap: 8px;
    align-items: center;

    margin-top: 12px;

    color: #1965AD;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}

.myreferences .show-more::after {
    display: inline-block;
    content: "";
    position: relative;
    width: 8px;
    height: 10px;
    mask-image: url("/user/documents/upload/kodovani/chevron-right.svg");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-image: url("/user/documents/upload/kodovani/chevron-right.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    background-color: var(--color-secondary);
    transform: rotate(90deg);
}

.myreferences .show-more:hover {
    text-decoration: none;
}

.myreferences .vote-wrap.not-all .vote-content::after {
    display: block;

    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 60px;
    width: 100%;
    background: linear-gradient(to bottom, transparent 10%, #fff 100%);
}

/* RESPO */

@media (max-width: 1439px) {
    .myreferences-inner .vote-wrap {
        width: calc(50% - 5px);
    }
}

@media (max-width: 767px) {
    .myreferences-inner .vote-wrap {
        width: 100%;
    }
}

@media (max-width: 499px) {


    .vote-pic {
        position: relative;
        top: auto;
        left: auto;
    }

    .content .vote-wrap {
        padding-left: 20px;
    }

    .votes-wrap.admin-response {
        margin-left: 0;
    }

    .vote-header {
        flex-direction: column;
        row-gap: 4px;
        align-items: flex-start;
    }
}