﻿.hero {
    display: flex;
    /* align-items: center; */
    /* gap: 24px; */
    background: var(--card);
    border: 1px solid #eaeaea;
    border-radius: 6px;
    padding: 24px;
    /* margin-bottom: 20px; */
}

.layout {
    /* display: flex; */
    /* gap: 30px; */
    /* align-items: flex-start; */
}

.left {
    /* width: 300px; */
    /* min-width: 260px; */
}

.chart {
    display: flex;
    align-items: center;
    gap: 20px;
}

    .chart .donut {
        position: relative;
        width: 160px;
        height: 160px;
    }

    .chart svg {
        transform: rotate(-90deg);
    }

    .chart .center {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-weight: 700;
    }

        .chart .center .big {
            font-size: 18px;
        }

        .chart .center .small {
            font-size: 12px;
            color: var(--muted);
        }

.ratings .row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 4px;
}

.stars {
    /* color: #f6d94f; */
    letter-spacing: 2px;
}

.card {
    background: var(--card);
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 16px;
    /* margin-bottom: 18px; */
}

.follow {
    /* background: var(--green); */
    /* background: #fc8035; */
    /* padding: 10px 12px; */
    /* text-align: center; */
    /* text-decoration: none; */
    /* font-weight: 600; */
    /* display: block; */
    /* margin-bottom: 10px; */
}

.review {
    display: flex;
    gap: 14px;
    background: var(--card);
    border: 1px solid #eaeaea;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 14px;
}

    .review .meta {
        width: 120px;
        font-size: 13px;
        color: var(--muted);
    }

        .review .meta .stars {
            font-size: 12px;
        }

    .review .body {
        flex: 1;
    }

    .review h3 {
        margin: 0 0 6px 0;
        font-size: 16px;
        color: #333;
    }

    .review p {
        margin: 0 0 6px 0;
        color: #444;
        line-height: 1.5;
    }

    .review small {
        color: var(--muted);
    }

.btn-back {
    display: inline-block;
    background: #ddd;
    color: #333;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
}

.review {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}


    .review .body {
        flex: 1;
    }

.fa-star,
.fa-star-half-stroke {
    font-size: 1rem;
}

.stars i {
    /* margin-right: 2px; */
}







.page-title h1 {
    margin-bottom: 0;
}



.layout > .row {
    margin: 0 -20px;
}

.layout h2 {
    /* font-size: 22px; */
    /* font-weight: 700; */
}

.layout h3 {
    /* font-size: 18px;
    font-weight: 700; */
}

.main {
    /* margin-bottom: -12px; */
}


/* AMS profile (listing) md and up screen size */
@media (min-width: 992px) {
    .main {
        /* margin-bottom: -24px; */
    }
}



/* Hero */

.hero {
    /* padding: 0 12px !important; */
}


    .hero img {
        object-fit: contain;
        max-height: 92px;
        max-width: 76%;
        margin: 16px 0;
        width: 100%;
    }
    /* .hero .hero-header > div > div:nth-child(1), */
    .hero .hero-body > div > div:nth-child(1) {
        border-bottom: solid 1px #ccc;
        /* padding-bottom: 24px !important; */
        padding-top: 0 !important;
    }

    .hero .hero-footer {
        border-top: solid 1px #ccc;
    }

.chart-wrapper {
    /* width: 232px;
    height: 232px; */
    width: 208px;
    height: 208px;
}
.chart-wrapper #reviewChart {
    /* width: 232px;
    height: 232px; */
    width: 208px;
    height: 208px;
}

.chart {
    /* padding-top: 8px !important; */
}

.stars i {
    font-size: 18px;
    /* color: #FFA947 !important; */
    color: #FFB108 !important;
    width: 20px;
    margin-top: 2px;
}

/* AMS profile (listing) up to sm screen size */
@media (max-width: 767px) {
    .chart .chart-ratings {
        padding-left: 0;
        padding-right: 0;
    }
}

/* AMS profile (listing) md and up screen size */
@media (min-width: 768px) {
    .stars i {
        font-size: 22px;
        width: 24px;
    }
    .chart-wrapper {
        width: 200px;
        height: 200px;
    }
    .chart-wrapper #reviewChart {
        width: 200px;
        height: 200px;
    }
}

/* AMS profile (listing) lg and up screen size */
@media (min-width: 992px) {
    .chart-wrapper {
        width: 240px;
        height: 240px;
    }
    .chart-wrapper #reviewChart {
        width: 240px;
        height: 240px;
    }
    .stars i {
        /* font-size: 22px;
        width: 24px; */
    }
}




/* Sidebar */



/* Review card */

.incentivised {
    /* min-width: 112px; */
}

    .incentivised i {
        /* color: #FFA947; */
        color: #FFB108;
    }

.review-card .incentivised {
    display: none;
}

.review-card.incentivised-review .incentivised {
    display: inline;
}

.review-card > div:nth-child(1),
.review-card > div:nth-child(2) {
    /* border-bottom: solid 1px #ccc; */
}

.layout .review-card .fa-star {
    width: 18px;
}

.layout .review-title:hover {
    color: #222;
    text-decoration: none;
}

/* .review-information > div:nth-child(n+2) > p > span:first-child {
    min-width: 176px;
    display: inline-flex;
}
.review-information > div:nth-child(2) > p:nth-child(odd) {
    background: #EAF0F7;
}
.review-information > div:nth-child(3) > p:nth-child(even) {
    background: #EAF0F7;
} */

.review-information .container > div > div p > span:first-child {
    min-width: 168px;
}
.review-information .container > .row > div:first-child {
    background: #EAF0F7;
}
.review-information p {
    padding: 2px 8px;
    margin-bottom: 0 !important;
}
.review-information a {
    color: #222;
}
span.archived-review {
    color: #9f9f9f;
    display: none;
}
span.archived-review.is-archived {
    color: #9f9f9f;
    display: inline;
    font-weight: 600;
}
.review-response {
    border-left: solid 1px #ccc;
}
.review-response > div {
    background: #EAF0F7;
    border-radius: 8px;
}
.review-response b {
    /* font-weight: 600; */
}


/* AMS profile (listing) md and up screen size */
@media (min-width: 768px) {
    .hero img {
        max-width: 304px;
    }
    .review-card .review-rating > div {
        width: 25%;
    }
    .incentivised {
        /* min-width: 112px; */
        /* height: 100%; */
        /* align-self: center; */
        /* justify-content: end; */
        /* margin-top: 10px; */
    }
}

/* AMS profile (listing) lg and up screen size */
@media (min-width: 992px) {
    .hero .supporter > div {
        /* margin-right: -12px; */
    }

    .chart {
        padding-top: 0 !important;
    }

    .hero img {
        max-width: 100%;
        max-height: 176px;
    }

    .hero .hero-header > div > div:nth-child(1),
    .hero .hero-body > div > div:nth-child(1) {
        border-right: solid 1px #ccc;
        border-bottom: none;
    }
    .review-card .review-rating > div {
        width: 100%;
    }
    .incentivised {
        /* margin-top: 0; */
    }
}

/* AMS profile (listing) xl and up screen size */
@media (min-width: 1200px) {
    /* .review-information > div:nth-child(n+2) > p:nth-child(odd) {
        background: #EAF0F7;
    }

    .review-information > div:nth-child(3) > p:nth-child(even) {
        background: transparent;
    }
    .review-information > div:nth-child(2) > p > span:first-child {
        min-width: 144px;
        display: inline-flex;
    }
    .review-information > div:nth-child(3) > p > span:first-child {
        min-width: 176px;
        display: inline-flex;
    } */

    .review-information .container > .row:nth-child(odd) {
        background: #EAF0F7;
    }
    .review-information .container > .row > div:first-child {
        background: transparent;
    }
    .hero .hero-body > div > div:nth-child(1) {
        padding-top: 0 !important;
    }
    .hero img {
        /* max-width: 88%; */
    }
}



/*Over flow text*/

/* up to sm screen size */
@media (max-width: 767px) {
    .overflow-text {
        /* white-space: nowrap;
        overflow-x: auto;
        text-overflow: unset; */
        word-break: break-word;
    }
}

.review-scroll-adjust {
    scroll-margin-top: 120px;
}