﻿
.chart-container {
    font-family: Arial, sans-serif;
    max-width: 600px;
    margin-bottom: 50px;
}

.rating-container {
    display: flex;
    align-items: center;
    justify-content: left;
    margin-bottom: 20px;
}

.average-rating {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    margin-right: 15px;
}

.stars-container {
    display: flex;
}

.star {
    font-size: 24px;
    color: #ccc;
    margin: 0 2px;
}

    .star.filled {
        color: #ffc107;
    }

.bars-container {
    margin-top: 20px;
}

.rating-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.star-rating {
    text-align: right;
    margin-right: 10px;
    font-weight: bold;
    padding-left: 5px;
}

    .star-rating:hover {
        text-decoration: underline;
        text-underline-position: under;
        cursor: pointer;
    }

.star-icon {
    color: #ffc107;
    margin-left: 5px;
}

.bar-container {
    flex-grow: 1;
    background-color: #f0f0f0;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.bar {
    height: 100%;
    background-color: #ff6358;
    transition: width 0.5s ease-in-out;
}

.count-percentage {
    text-align: left;
    margin-left: 10px;
    font-size: 0.9em;
    color: #666;
    width: 5rem;
}

.summary-reviews-title {
    margin-bottom: 15px;
    padding: 0px;
    font-size: 36px;
}

.create-review-btn {
    background: transparent;
    border: 1px solid black;
    padding: 8px 16px 8px 16px;
    width: fit-content;
    border-radius: 10px;
    margin-bottom: 10px;
}

    .create-review-btn:hover {
        background: #ffe272;
        border: 1px solid #ffe272;
    }


    .create-review-btn > a:hover {
        text-decoration: none;
    }

.modal-header {
    background: #F5F5F5;
    align-items: flex-start;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}

.modal-footer {
    padding: 20px !important;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

.modal-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 0;
    text-align-last: center;
    width: 100%;
    padding-bottom: 0px;
    line-height: var(--bs-modal-title-line-height);
}

.modal-body {
    padding: 0px 30px 20px 30px;
}

.modal-content {
    border-radius: 20px;
    box-shadow: 17px 20px 40px rgba(0, 0, 0, .21);
}

.form-label {
    margin-bottom: .5rem;
    font-size: 18px;
}

.form-review-text {
    width: 100% !important;
    border-radius: 10px;
    font-size: 16px;
}

.form-review-desc {
    border-radius: 10px;
    font-size: 16px;
}

.new-rating {
    display: flex;
    height: 35px;
    justify-content: flex-start;
    gap: 10px;
    align-items: flex-start;
}

#hint {
    font-weight: bold;
    font-size: 18px;
    display: none;
}

.form-check-inline {
    cursor: pointer;
}

.form-check-input {
    width: 19px;
    height: 19px;
    cursor: pointer;
}

.form-check-label {
    font-size: 18px;
    margin-left: 5px;
    cursor: pointer;
}

.btn-cancel-review {
    background: transparent;
}

    .btn-cancel-review:hover {
        text-decoration: underline;
    }

    .btn-cancel-review:active {
        border: 0px;
    }

.btn-submit-review {
    padding: 8px 16px;
    background: darkgrey;
    color: white;
}

    .btn-submit-review:hover {
        background: darkgrey;
        color: white;
    }

    .btn-submit-review:active {
        border-color: #e0574d !important;
        background-color: #e0574d;
    }

.text-danger-description{
    position: relative;
    bottom: 20px;
}

#validationBanner {
    border-radius: 0px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 18px;
}

#validationMessage {
    font-weight: bold;
    font-size: 18px;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.btn-close:focus {
    border-radius: 20px;
    outline: 0;
    box-shadow: var(--bs-btn-close-focus-shadow);
    opacity: var(--bs-btn-close-focus-opacity);
}

.no-reviews {
    margin: 20px 0px;
    font-style: oblique;
    font-size: 18px;
    padding: 20px 0px;
}


.k-grid a {
    text-decoration: underline!important;
}

.pagination {
    margin-top: 20px;
    text-align: right;
    justify-content: right;
}

    .pagination a, .pagination span {
        border-radius: 10px;
        padding: 8px 15px;
        border: 1px solid #ddd;
        text-decoration: none;
        margin: 0px 5px;
    }

        .pagination a:hover {
            background: lightgrey;
        }

    .pagination .current-page {
        background: #ED663C;
        color: white;
    }



#reviews .sort {
    margin-right: 10px;
    padding: 5px 20px;
    background-color: #f0f0f0;
    border: 2px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
}

    #reviews .sort:hover {
        background-color: #e0e0e0;
    }

.review-item {
    margin-bottom: 20px;
    padding-bottom: 40px;
    border-bottom: 1px solid #ccc;
}

.pagination li {
    cursor: pointer;
}

    .pagination li.active a {
        background-color: #ED663C;
        color: white;
    }

.reviewlist-section {
    padding-left: 0px;
    margin-top: 30px;
}

.sort-container {
    display: inline-flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 0px 10px;
    border-radius: 10px;
}

.sort-label {
    margin-right: 10px;
    font-weight: bold;
}

#sortDropdown {
    border: none;
    background-color: transparent;
    font-size: 16px;
    cursor: pointer;
    padding: 7px 10px;  
}

    #sortDropdown:focus-visible,
    #sortDropdown:focus {
        border: none;
        outline: none;
    }


select.option {
    cursor: pointer;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
}

.list-options {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    flex-flow: wrap;
    padding-bottom: 15px;
    align-items: normal;
}

.list-options-ddl {
    display: flex;
    gap: 10px;
}

.review-item-user {
    padding-top: 5px;
}

.review-item-content {
    padding-left: 0px;
}

.clamped-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
    width: 100%;
    line-height: 1.8;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
}

.clamp-option {
    width: auto;
    text-wrap: nowrap;
}

.toggle-button {
    background: none;
    border: none;
    color: grey;
    cursor: pointer;
    float: right;
    margin-top: 5px;
}

.expanded {
    -webkit-line-clamp: unset;
}

.pros-cons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.pros-section, .cons-section {
    display: inline-flex;
    align-items: baseline;
}

.pro-cons-line {
    line-height: 150%;
    text-transform: capitalize;
}

.rev-title {
    font-size: 26px;
    font-weight: bold;
    text-transform: capitalize;
    margin: 20px 0px 10px 0px;
}

.rev-text {
    line-height: normal;
}

.filter-container {
    padding: 7px 10px;
    cursor: pointer;
    font-size: 16px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 150px;
    border: 1px solid #ccc;
    border-radius: 10px;
}

.custom-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-header {
    font-size: 16px;
    padding: 0px 10px;
    cursor: pointer;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 150px;
}

.dropdown-icon {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.custom-dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    top: 31px;
    right: 0px;
    position: absolute;
    background-color: #FFFFFF;
    min-width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border: 1px solid darkgrey;
    border-radius: 10px;
    padding: 0px;
}

.custom-dropdown.active .dropdown-menu {
    display: block;
}

.filter-label {
    font-size: 14px;
    margin-right: 10px;
    font-weight: bold;
}

.filter-option {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px;
    cursor: pointer;
}

    .filter-option:hover {
        color: white;
        background-color: #1a73e8;
        accent-color: white;
    }

    .filter-option:last-child:hover {
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    .filter-option:first-child:hover {
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }



.star-icon-ddl {
    color: gold;
    margin-left: 10px;
    font-size: 16px;
}

.filter-check {
    width: 17px;
    height: 17px;
    accent-color: #60688b;
    margin-right: 10px;
    cursor: pointer;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.select-wrapper {
    position: relative;
    display: inline-block;
}

.rotate-icon {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.search-container {
    position: relative;
    display: inline-block;
}

.search-icon {
    font-weight: bold;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: black;
}

#reviews .search {
    padding: 8px 8px 8px 36px;
    font-size: 16px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    width: 400px;
}

/*.recommendation {
    font-variant: all-small-caps;
    font-style: italic;
    font-size: 18px;
}*/


.university-details-section {
    width: 100%;
    height: 100%;
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 60px;

}

.map-view {
    border: 1px solid darkgrey;
    float: left;
    width: 450px;
    max-width: 100%;
    height: 250px;
    border-radius: 10px;
}

.rankings-section {
    margin-bottom: 50px !important;
    display: flex;
    justify-content: flex-start;
    align-content: center;
    width: 100%;
    gap: 20px;
    display: none;
}

.custom-padding {
    padding: 0px 13px;
}

.ranking-container {
    max-width: 600px;
    margin: 0 auto;
}


.accreditation-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.accreditation-item {
    background-color: whitesmoke;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid whitesmoke;
    border-radius: 10px;
    padding: 10px;
    width: calc(33% - 5px);
    box-sizing: border-box;
}

    .accreditation-item i {
        color: #28a745;
        margin-right: 5px;
    }


.ranking-item {
    width: 100%;
    height: fit-content;
    background-color: whitesmoke;
    border-radius: 10px;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.1);
    padding: 15px;
    position: relative;
    overflow: hidden;
}

    .ranking-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
    }

    .ranking-item::before {
        background-color: #60688b;
    }

.ranking-label {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.ranking-value {
    font-size: 24px;
    color: #000000;
}

.university-details {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    max-width: 600px;
}

    .university-details dt {
        font-weight: bold;
        text-align: left;
        padding-right: 20px;
    }

    .university-details dd {
        margin: 0;
    }

    .university-details a {
        color: #60688b;
        text-decoration: none;
    }

        .university-details a:hover {
            text-decoration: underline;
        }


.textarea-container {
    position: relative;
}

.form-review-desc {
    padding-bottom: 20px; 
}

.review-content-section .date {
    line-height: normal;
}

#charCount {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 0.8em;
    color: #666;
    position: relative;
    bottom: 23px;
    right: -8px;
    width: fit-content;
}

.myAcct-grid {
    display: flex;
    padding-left: 30px;
}

.k-grid {
    margin-top: 1.5rem !important;
}


#searchReviewsList {
    padding: 7px 8px 7px 36px;
    width: 109%;
    cursor: pointer;
    font-size: 16px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 150px;
    border: 1px solid #ccc;
    border-radius: 10px;
}

.server-pagination {
    padding: 10px 0px;
/*    width: 100%;
*/    text-align: right;
}

    .server-pagination a {
        font-size: 18px;
        padding: 5px;
        background: transparent;
        border: 1px solid;
        padding: 5px 13px;
        border-radius: 10px;
        margin-right: 5px;
        text-decoration: none;
    }

        .server-pagination a.active {
            background: #ff6358;
            padding: 5px 13px;
            border-radius: 10px;
            border: 1px solid #ff6358;
            color: white;
            margin-right: 5px;
        }

        .server-pagination a:hover {
            background: lightgrey;
            border: lightgray;
            border: 1px solid lightgrey;
            color: grey;
        }

    .k-grid-pager {
        background: white;
        padding: 15px 10px;
        border-width: 1px 0 0;
        border-color: whitesmoke;
        font-size: inherit;
    }

.k-panelbar {
    border-radius: 10px;
}

.k-panelbar > .k-panelbar-header > .k-link.k-selected {
    justify-content: center;
    color: #ffffff;
    background-color: #ff6358;
    border-radius: 10px;
}

.username-acct {
    font-family: sans-serif;
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 20px;
}

.review-column {
    max-width: 200px;
    overflow-wrap: break-word;
}

.acct-wrapper, .u-wrapper {
    padding: 0px;
}

.limit-banner {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: darkred;
    padding: 10px;
    margin: 15px 0px;
    border-radius: 5px;
    font-size: 13px;
    font-family: Arial, sans-serif;
}


@media (max-width: 1200px) {
    .accreditation-item {
            width: calc(50% - 5px);
        }

    .bars-container {
        width: 72%;
    }

}

@media(max-width: 990px){

    .pros-cons {
        flex-flow: wrap;
    }

    .pros-section, .cons-section {
        width: 100%;
    }

    .sort-container {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
    }

    .filter-container {
        justify-content: center;
    }

    .search-container {
        width: 100%;
        position: relative;
        display: inline-block;
        margin-bottom: 20px;
    }


    #searchReviewsList {
        padding: 7px 8px 7px 36px;
        width: -webkit-fill-available !important;
    }

    .list-options-ddl {
        width: 100%;
        display: block;
    }
    .list-options {
        gap: 0px;
    }


}

    @media (max-width: 600px) {
        .accreditation-item {
            width: 100%;
        }
    }

    @media (max-width: 768px) {

        .bars-container {
            width: 100%;
        }

        .university-details-section {
            gap: 30px;
            margin-bottom: 15px;
        }

        .username-acct, .u-wrapper {
            justify-content: center;
            padding: 0px 13px;
        }

        .acct-wrapper {
            padding: 0px 13px;
        }
        .review-column {
            max-width: 200px;
            overflow-wrap: break-word;
        }

        .header-section {
            flex-flow: wrap;
        }

        .header-section img {
            width:auto;
        }

       

        .list-options {
            gap: 0px;
        }



        .review-content-section .date {
            font-size: 10px;
            line-height: normal;
        }


        .server-pagination {
            padding: 0px !important;
        }

       /* .clamped-text {
            -webkit-line-clamp: 2;
        }*/

        .review-item-content {
            padding-right: 15px;
        }

        .myAcct-grid {
            display: flex;
            padding-left: 0px;
            width: -webkit-fill-available;
        }

        .kendo-nav {
            width: 100% !important;
            float: none !important;
            margin-bottom: 15px;
        }

        .my-Acct-header {
            width: inherit;
        }

        #ReviewsGrid {
            display: block !important;
            width: 100%;
            overflow-x: auto !important;
            white-space: nowrap !important;
        }

        .k-panelbar {
            border: 2px solid #FF6358;
        }

            .k-panelbar > .k-panelbar-header > .k-link.k-selected {
                justify-content: center;
                border: 2px solid;
                border-radius: 10px;
            }

        .k-panelbar {
            border-radius: 10px;
        }

        .k-pane-wrapper .k-pane > .k-view > .k-content {
            background: transparent;
        }

        .k-pane-wrapper {
            border-width: 0px !important;
        }

        #ReviewsGrid {
            border: none;
        }

            #ReviewsGrid .k-grid-header {
                display: none;
            }

            #ReviewsGrid .k-grid-content {
                overflow-y: visible;
            }

            #ReviewsGrid table,
            #ReviewsGrid tbody,
            #ReviewsGrid tr,
            #ReviewsGrid td {
                display: block;
                border: none;
            }

            #ReviewsGrid tr {
                border: 1px solid lightgrey;
                margin-bottom: 1em;
                padding: 10px;
                border-radius: 10px;
            }

            #ReviewsGrid td {
                text-align: left !important;
                padding: 5px 10px;
                position: relative;
                min-height: 30px;
            }

                #ReviewsGrid td:before {
                    content: attr(data-title);
                    position: absolute;
                    left: 0;
                    width: 45%;
                    padding-right: 10px;
                    font-weight: bold;
                }

                #ReviewsGrid td .k-button {
                    display: inline-block;
                    margin: 2px;
                    width: 25%;
                }
    }


