html,
body {
    overflow-x: hidden;
    height: 100%;
}

html {
    font-size: 62.5%;
}

body {
    background: #0E0E0E;
    color: #E5E5E5;
    font-family: "Prompt", Arial, Helvetica, sans-serif;
    font-size: 1.6rem;
}

.grid {
    max-width: 1450px;
    width: 84%;
    margin: 0 auto;
}

#scroll-observer {
    pointer-events: none !important;
    position: absolute !important;
    top: 50px !important;
}

a.button, button {
    background-color: transparent;
    border: 1px solid #707070;
    border-radius: 11px;
    color: #ffffff;
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 400;
    padding: 6px 20px;
    text-align: center;
    text-decoration: none;
    transition: all .2s linear;
    cursor: pointer;
    text-transform: uppercase;
}

a,
body,
input,
textarea {
    font-family: Arial, Helvetica, sans-serif;
    color: #E5E5E5;
    font-size: 1.6rem;

}


input{
    color: #0E0E0E;
}

a {
    text-decoration: underline;

}

a:hover,
a:focus {
    color: #E5E5E5;
    text-decoration: none;
}

h1,
h2,
h3 {
    line-height: 1.2;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    color: #E5E5E5;
}

h1 {
    font-size: 3.4rem;
    font-weight: 400;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 2rem;
}

input[type=text]{
    display: block;
}

fieldset{
    padding: 10px 20px;
}

@media screen and (min-width: 1040px) {
    h1 {
        font-size: 7rem;
    }

    h2 {
        font-size: 2.5rem;
    }
}

p, li {
    line-height: 1.5;
    margin: 0;
}

/*
 Review-Home Site
 */

.review-wrapper {
    padding: 40px 0 80px;
}

.review-head {
    display: flex;
    justify-content: space-between;
}

.search-bar {
    display: flex;
    align-items: center;
    justify-content: right;
    max-width: 300px;
    position: relative;
    margin-left: 30px;
}

.search-bar input {
    border: solid 1px #747474;
    padding: 2px 5px;
    background: transparent;
    width: 100%;
}

.search-bar img {
    width: 20px;
    rotate: 90deg;
    scale: 1;
    margin-right: 6px;
}

.table-header {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-bottom: 10px;
    position: relative;
    border-bottom: rgba(255, 255, 255, 0.8) 3px solid;
}

.table-header h2:first-child {
    padding-left: 6px;
}

.table-header h2:last-child {
    padding-right: 6px;
}

.table-content {

}

.table-content a {
    text-decoration: none;
}

.table-content p {
    font-size: 1.6rem;
}

.rating-wrapper {
    display: flex;
    gap: 2px;
    align-content: center;
    justify-content: center;
}

.table-content .rating-wrapper{
    padding-right: 6px;
}

.row-sub .rating-wrapper {
    font-size: 1.4rem;
}

.table-content img {
    scale: 1;
    width: 16px;
}

.bottom-buttons-wrapper {
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 1;
    padding: 20px 0;
    background: #0E0E0E;
}

.bottom-buttons {
    display: flex;
    justify-content: space-between;
}

.bottom-buttons .button {
    font-size: 1.4rem;
    width: max-content;
}

body.overview .bottom-buttons .btn-back {
    visibility: hidden;
    pointer-events: none;
}

body.create .bottom-buttons .btn-create {
    visibility: hidden;
    pointer-events: none;
}

@media screen and (min-width: 1040px) {

    .table-header h2:first-child {
        padding-left: 14px;
    }

    .table-header h2:last-child {
        padding-right: 14px;
    }

    .table-content p {
        font-size: 1.8rem;
    }

    .show-more p {
        padding-left: 16px;
    }

    .table-content .rating-wrapper {
        padding-right: 16px;
    }

    .table-content img {
        width: 20px;
    }

    .project-overview-buttons .button {
        width: 200px;
        font-size: 1.8rem;
    }

    .table-content p {
        text-align: left;
    }
}

/*
 Review-Detail Site
 */

#detail-grid {
    padding: 40px 0 80px;
}

.review-detail-head {
    text-align: center;
}

.detail-box {
    height: 0;
    overflow: hidden;
}

.row-content,
.row-sub {
    padding: 6px 0 6px 20px;
}

.row-sub {
    border-top: rgba(255, 255, 255, 0.2) 2px solid;
    position: relative;
}

.row-sub:first-child {
    border-color: rgba(255, 255, 255, 0.6);
}

.row-sub img {
    width: 14px;
}

.row-content,
.detail-row-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.row-detail .rating-wrapper {
    justify-content: flex-start;
}

.detail-row-content {
    flex-direction: column;
}

@media screen and (min-width: 480px) {
    .row-sub {
        padding-left: 40px;
    }

    .detail-row-content {
        flex-direction: row;
    }

    .row-detail .rating-wrapper {
        padding-left: 20px;
    }
}

@media screen and (min-width: 1040px) {
    .row-sub img {
        width: 18px;
    }
}

.row {
    border-bottom: rgba(255, 255, 255, 0.6) 2px solid;
    cursor: pointer;
}

.row-detail {
    display: none;
}

.row-content {
    position: relative;
}

body.detail .row .row-content:after {
    content: '';
    position: absolute;
    left: 50%;
    rotate: 180deg;
    width: 32px;
    height: 32px;
    display: block;
    background: url("/images/icons/drop-down-arrow.svg");
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}

body.detail .row:hover .row-content:after {
    opacity: 1;
    visibility: visible;
}

body.detail .row .row-sub p:after {
    content: '';
    position: relative;
    right: -5px;
    top: 4px;
    width: 20px;
    height: 20px;
    display: inline-block;
    background: url('/images/icons/info-icon.svg');
    transition: .3s;
}

/*
 Review-Create
 */

body.create,
body.info{
    display: flex;
    justify-content: center;
    align-items: center;
}

body.info{
    text-align: center;
}

.department-area{
    margin: 20px 0;
}


.rating {
    --dir: right;
    --fill: gold;
    --fillbg: rgb(55, 55, 55);
    --star: url('/images/icons/star-filled.svg');
    --stars: 5;
    --starsize: 21px;
    --symbol: var(--star);
    --value: 0;
    --w: calc(var(--stars) * var(--starsize));
    --x: calc(100% * (var(--value) / var(--stars)));
    block-size: var(--starsize);
    inline-size: var(--w);
    position: relative;
    touch-action: manipulation;
    -webkit-appearance: none;
    background: transparent;
}

.rating::-moz-range-track {
    background: linear-gradient(to var(--dir), var(--fill) 0 var(--x), var(--fillbg) 0 var(--x));
    block-size: 100%;
    mask: repeat left center/var(--starsize) var(--symbol);
}
.rating::-webkit-slider-runnable-track {
    background: linear-gradient(to var(--dir), var(--fill) 0 var(--x), var(--fillbg) 0 var(--x));
    block-size: 100%;
    mask: repeat left center/var(--starsize) var(--symbol);
    -webkit-mask: repeat left center/var(--starsize) var(--symbol);
}
.rating::-moz-range-thumb {
    height: var(--starsize);
    opacity: 0;
    width: var(--starsize);
}
.rating::-webkit-slider-thumb {
    height: var(--starsize);
    opacity: 0;
    width: var(--starsize);
    -webkit-appearance: none;
}


.vote-table {
    border-collapse: collapse;
    margin-bottom: 10px;
}

.vote-table td{
    padding: 10px;
}

.vote-table .vote-row td{
    padding-bottom: 0;
}

.vote-table .note-row input{
    width: 100%;
}

.vote-table tr:not(:last-child, :nth-child(odd)) td{
    border-bottom: 2px #ffffff solid;
}