﻿:root {
    /* Colors */
    --body-color: rgba(255, 255, 255, 1);
    --title-text-color: #9e9e9e;
    --box-shadow: -4px -1px 7px 0px rgba(7, 20, 35, 0.2);
    /* Map Stage */
    --stage-border-color: #ccc;
    --stage-background-color: #f6f5f5;
    --stage-default-color: #676e76;
    --stage-clicked-color: #00aea4;
    --stage-explanation-text-color: #676e76;
    /* text_editor */
    --text-editor-background-color: #ffffff;
    --text-editor-active-button: rgba(174, 221, 240, 0.829);
    --text-editor-border-text-color: #2f2f31;
    --text-input-border: #dddddd;
    /* upload */
    --primary-color: rgba(65, 105, 225, 1);
    --white-color: #fff;
    --black-color: black;
    --black-10-color: rgba(0, 0, 0, 0.1);
    --black-20-color: rgba(0, 0, 0, 0.1);
    --black-50-color: rgba(0, 0, 0, 0.5);
    --transition: all 300ms ease-in-out;
    /* mutiple-select */
    --checkbox-color: #dcf0eb;
    /* sub Topic */
    /* modal */
    --modal-content-color: #f9f9f9;
    --each-card-color: #e5e5e5;
    --file-input-color: #f3f4f6;
    --file-input-hover: #e5e7eb;
    --modal-border: #888;
    /* output */
    --each-keyword-output-color: #ff9436;
    --keyword-color: #888;
    /* validation */
    --error-message-color: red;
    /* sub topic map */
    --map-border-color1: rgb(255, 98, 0);
    --map-border-color2: rgb(0, 179, 255);
    --map-background-color1: rgb(255 222 198);
    --map-background-color2: rgb(135, 221, 252);
    --uploaded-file-border: rgb(73, 73, 73);
    --uploaded-file-border-hover: rgba(176, 196, 246, 0.1);
    --search-input-border: gray;
    --access-time-btn-color: black;
    --access-time-close: #aaa;
    --access-table-border: rgb(126, 126, 126);
    --image-slider-background: #b1bab7;
    --explanation-title-color: #252525;
    /* sub topic edit */
    --save-edit-button: rgb(62, 150, 252);
    --save-edit-button-hover: rgb(213, 242, 252);
    --sub-topic-modal-btn-border: green;
    --save-sub-topic-button: rgb(236, 243, 36);
    --save-sub-topic-button-close: rgb(0, 255, 30);
    /* final check */
    --access-time-background: rgb(253 250 250);
    --access-time-border: rgb(255, 157, 0);
    --show-feature-border: rgb(80, 205, 26);
    --offcanvas-box-shadow: 15px -9px 10px 4px rgb(4 4 4 / 19%);
    --submit-button-border: rgb(0, 179, 255);
    /* location Opinion */
    --stars-default-color: #ccc;
    --stars-active-color: #f9ca1f;
    /*faq*/
    --question-container-border: rgba(255, 152, 67, 1);
    --accordion-background: rgba(249, 251, 255, 1);
    --box-color: rgba(249, 251, 255, 1);
    --locationRate-color-green: rgb(80, 232, 143);
    --locationRate-color-yellow: rgba(255, 152, 67, 1);
    --locationRate-color-red: red;
    --comment-color: rgba(255, 152, 67, 1);
}

.container {
    position: relative;
    min-width: 100%;
    min-height: 100vh;
    background: var(--body-color);
    box-sizing: border-box;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image:url(../../assets/location/background.png);
    background-repeat:no-repeat;
    background-size:100% 19%;
}

.contentState {
    padding: 5px 10px;
    border-radius: 10px;
    color: var(--white-color);
    margin-left: 5px;
    margin-right: auto;
    margin-bottom: 10px;
    margin-top: 10px;
    font-size:15px;
}

/* number input style */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

.indexLocationContent {
    width: 86%;
}

.indexLocationContent .imageSliderContainer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 8px;
}

.imageSliderContainer .image_slider {
    width: 70%;
    height: 482px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 1;
    width: 65px;
}

.carousel-control-prev-icon {
    background-image: url(../../assets/location/prev.png);
    width: 61px;
    height: 61px;
}

.carousel-control-next-icon {
    background-image: url(../../assets/location/next.png);
    width: 61px;
    height: 61px;
}

.carousel {
    min-height: 100%;
}

#carouselExampleIndicators {
    min-height: 150px;
}

.carousel-item img {
    width: 100%;
    height: 482px;
    border-radius: 10px;
    object-fit:cover;
}

.carousel-item video {
    width: 100%;
    height: 430px;
    border-radius: 10px;
}

.informationName {
    display: flex;
    justify-content: space-between;
    padding: 21px 25px;
    background: var(--box-color);
    align-items: center;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    flex-wrap: wrap;
    margin-top:50px;
}

.subTopicOutputDiv .deleteImg {
    display: none;
}

.subTopicOutputDiv > .imageInput {
    display: none;
}

.subTopicOutputDiv > .imageContainer img {
    border-radius: 5px;
}

.imageContainer {
    width: 272px;
    height: 249px;
}

.imageContainer img {
    width: 100%;
    height: 100%;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
    object-fit: cover;
}

.subTopicOutputDiv > .edit_button {
    display: none;
}

.subTopicOutputDiv > #deleteCardBtn {
    display: none;
}

.subTopicOutputDiv:nth-child(2n) .imageContainer {
    margin-right: auto;
    margin-left: 0;
}

.subTopicOutputDiv:nth-child(2n-1) .textinputs {
    width: 100% !important;
}

#name_output {
    font-size: 32px;
    font-weight:600;
    word-wrap: break-word;
    white-space: normal;
    text-align:center;
    margin-bottom:30px;
}

.accordion-button {
    padding:1rem 0;
}
.minor_information {
    width: 65%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 14px;
}

.province_city {
    display: flex;
    width: 270px;
    justify-content: space-between;
    margin: 10px;
}

#province_output {
    margin-left: 20px;
}

.information_detail {
    margin-bottom: 20px;
    background: var(--box-color);
    padding: 0 20px;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    min-height: 100px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.geo_output {
    display: flex;
    min-width: 270px;
    justify-content: space-between;
}

.access_output {
    position: relative;
    margin: 10px;
}

#access_time_output {
    display: none;
    position: absolute;
    background-color: var(--access-time-background);
    min-width: 140px;
    border: 1px solid var(--access-time-border);
    border-radius: 15px;
    right: 102px;
    top: 15px;
    padding: 5px;
}

#access_time_button {
    border: none;
    outline: none;
    background: inherit;
    /* display: none; */
}

#phone_output,
#email_output,
#time_output,
#price_output,
.geo_output {
    margin: 10px;
}

#saveAccessData {
    background: inherit;
    color: var(--black-color);
    border-radius: 15px;
}

    #saveAccessData:focus {
        box-shadow: none;
    }

#access_output_error {
    color: var(--error-message-color);
    margin: 10px 20px;
}

#accessTimeModalBtn {
    background: var(--primary-color);
    color: var(--black-color);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    border: none;
}

    #accessTimeModalBtn:focus {
        background: var(--primary-color) !important;
        box-shadow: none !important;
    }

.arrow_button {
    font-size: 10px;
    font-weight: 600;
}

#keyword_output .keyword_name {
    border: none;
    background: var(--keyword-color);
    border-radius: 15px;
    height: 30px;
}

.keyword_output_container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.keyExp_output_container {
    display: flex;
    flex-wrap: wrap;
}

.each_keyword_output {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    height: 30px;
    border-radius: 15px;
    margin-left: 20px;
}

.property_output_container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.each_property_output {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    height: 30px;
    border-radius: 15px;
    margin-left: 20px;
}

.equipment_output_container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.each_equipment_output {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    height: 30px;
    border-radius: 15px;
    margin-left: 20px;
}

.group_output_container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.each_group_output {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    height: 30px;
    border-radius: 15px;
    margin-left: 20px;
}

    .each_group_output a {
        text-decoration: none;
        color: var(--black-color);
    }

.explanation {
    min-height: 260px;
    background-color: var(--box-color);
    border-radius: 20px;
    padding: 20px;
    white-space: normal;
}

.explanation .title {
    color: var(--explanation-title-color);
    font-size: 20px;
    font-weight: 600;
    margin: 10px;
}

#stageOneExp {
    font-size:18px;
    margin: 25px 10px;
    white-space: normal;
    word-wrap: break-word;
    text-align:justify;
}

.card_title_container {
    display: flex;
    padding: 10px;
    flex-wrap:wrap;
}

.card_title {
    padding: 25px 12px 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

.card_exp {
    font-size:18px;
    padding: 10px;
    white-space: normal;
}

.each_card_title {
    min-width: 60px;
    display: flex;
    justify-content: center;
    margin-left: 20px;
    margin-bottom:5px;
    text-decoration: none;
    color: var(--text-editor-border-text-color);
    background: inherit;
    border-radius: 20px;
    padding: 5px 15px;
    border: 1px solid var(--map-border-color1);
    font-size: 16px;
}

    .each_card_title:nth-child(2n) {
        border: 1px solid var(--map-border-color2);
    }

    .each_card_title:hover {
        background: var(--map-background-color1);
        color: var(--text-editor-border-text-color);
    }

    .each_card_title:nth-child(2n):hover {
        background: var(--map-background-color2);
        color: var(--text-editor-border-text-color);
    }

#subtopic_output .each_card {
    background-color: inherit;
}

#subtopic_output .textinputs {
}

.textinputs {
    display: flex;
    flex-direction: column;
    word-wrap: break-word;
    text-align: justify;
}

#subtopic_output .sub_image img {
    border-radius: 10px;
}

/* location Opinion */
.locationDetailOpinionWrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.locationDetailOpinionContainer {
    background: var(--box-color);
    border-radius: 10px;
    margin-top: 20px;
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.locationDetailOpinionTitle {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.locationDetailOpinionRate {
    position: relative;
    display: flex;
    margin-bottom: 30px;
    align-items: center;
}

.locationDetailOpinionRate label {
    font-weight: 600;
    margin-left: 10px;
}

.locationDetailOpinionRate .stars {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stars i {
    color: var(--stars-default-color);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s ease;
}

    .stars i:hover {
        color: var(--stars-active-color);
    }

    .stars i.active {
        color: var(--stars-active-color);
    }

.locationDetailOpinionName {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    margin-bottom: 30px;
}

.locationDetailOpinionText {
    resize: none;
    outline: none;
    border: 2px solid var(--comment-color);
    width: 100%;
    height: 300px;
    border-radius: 10px;
    padding: 8px;
    font-size: 15px;
}

.locationDetailOpinionName input {
    width: 270px;
    height: 45px;
    border: 2px solid var(--comment-color);
    border-radius: 10px;
    margin-top: 10px;
    padding: 8px;
    outline: none;
    font-size: 15px;
}
#submitCommentButton {
    background-color: var(--title-text-color);
    cursor: not-allowed;
    margin-top: 35px;
    border-radius: 10px;
    height: 40px;
    width: 130px;
    color: var(--white-color);
    margin-right: auto;
    margin-left: 0;
    white-space: nowrap;
    border: none;
}

#submitCommentButton.enabled {
    background: var(--comment-color);
    cursor: pointer;
    border: 2px solid var(--comment-color);
}
.locationDetailCommentsContainer {
    display: flex;
    flex-direction: column;
    min-height: 100px;
    padding: 10px 0;
    margin-top: 20px;
}

.locationDetailEachComment {
    padding: 15px;
    border-radius: 10px;
    font-size: 17px;
    background: var(--white-color);
    margin-bottom: 20px;
}

.locationDetailEachCommentRateAndDate {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

    .locationDetailEachCommentRateAndDate img {
        width: 25px;
        height: 25px;
    }

.locationDetailEachCommentDate {
    color: rgba(157, 157, 157, 1);
}

.locationDetailEachCommentRate {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.locationDetailEachCommentUserName {
    margin-left: 10px;
}

.locationDetailEachCommentText {
    white-space: normal;
    color: rgba(119, 119, 119, 1);
    padding: 0 25px;
}

.contentInformation {
    display: flex;
    justify-content: space-between;
    padding: 10px 5px;
    font-size: 17px;
    flex-wrap:wrap;
}
.writerName,
.writeDate {
    margin-bottom: 5px;
}

/*same locations*/
.eachLocationCard {
    width: 92%;
    background-color: var(--white-color);
    margin: 15px;
    border-radius: 10px;
    display: flex;
}

    .eachLocationCard:first-child {
        margin-top: 30px;
    }

.eachLocationCard {
    display: flex;
    height: 270px;
    width: 93%;
    border-radius: 10px;
    background: var(--box-color);
    box-shadow: var(--box-shadow);
}

    .eachLocationCard:hover {
        box-shadow: var(--box-shadow);
    }

.eachLocationCardImage {
    width: 28%;
    height: auto;
    border: 2px solid var(--black-10-color);
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
}

    .eachLocationCardImage img {
        width: 100%;
        height: 100%;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
    }

.eachLocationCardDetails {
    color: var(--black-50-color);
    font-size: 16px;
    width: 72%;
    text-align: right;
    position: relative;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
}

.locationNameAndRate {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.eachLocationCardDetails .locationName {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--black-color);
    overflow: clip;
    width: 75%;
}

.locationRate {
    padding: 1px 7px;
    border-radius: 5px;
}

    .locationRate.green {
        background: var(--locationRate-color-green);
    }

    .locationRate.yellow {
        background: var(--locationRate-color-yellow);
    }

    .locationRate.red {
        background: var(--locationRate-color-red);
    }

.locationAddress {
    padding: 0 10px;
    white-space: normal;
    width: 85%;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 16px;
    font-weight: 400;
    line-height: 27px;
    letter-spacing: 0em;
}

.locationProvinceAndCity {
    justify-content: space-between;
    display: flex;
    width: 40%;
    padding: 0px 10px 0px 10px;
}

.eachLocationCardDetailsBox {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 7px;
}

    .eachLocationCardDetailsBox .title {
        color: var(--black-color);
    }

.locationPhone,
.locationPrice,
.locationVisitTime {
    margin: 5px;
}

.locationPropertyAndMoreButton {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    border-top: 1px solid var(--black-20-color);
    padding: 0px 15px 0px 0;
    width: 100%;
}

.locationProperty {
    display: flex;
    justify-content: space-between;
}

.locationPropertyIcon {
    font-size: 23px;
    color: var(--black-50-color);
    margin-left: 20px;
}

.moreButton {
    height: 100%;
    padding: 10px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    border-bottom-left-radius: 10px;
    color: var(--white-color);
    cursor: pointer;
}

    .moreButton a {
        text-decoration: none;
        color: var(--white-color);
    }

    .moreButton i {
        margin-right: 3px;
    }

.locationCardsFilter {
    width: 25%;
    background: inherit;
    border: 2px solid var(--black-10-color);
    margin-top: 30px;
    margin-right: 15px;
    height: 725px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    padding: 15px;
    overflow-y: auto;
    z-index: 10;
}

.detailSameLocation {
    background: var(--box-color);
    border-radius: 20px;
    margin-top: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
}

.detailSameLocation label {
    font-size: 20px;
    font-weight: 600;
    margin-right: 25px;
    margin-left: auto;
    margin-top: 15px;
}

.detailSameLocationCard {
    width: 100%;
}

/*blog details*/
.detailSameLocationCard {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.eachWeblogCard {
    width: 268px;
    height: 337px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    margin: 0 10px 24px;
    background: var(--box--color);
}

.weblogCardImage {
    width: 100%;
    height: 79%;
}

.weblogCardImage img {
    width: 100%;
    height: 100%;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    object-fit: cover;
}

.weblogCardTitle {
    width: 100%;
    height: 45px;
    background: rgba(255, 221, 149, 1);
    font-size: 18px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--black-color);
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    margin-bottom: 0;
}

.weblogCards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.keyContainer,
.propertyContainer {
    padding: 20px;
    background: var(--box-color);
    border-radius: 20px;
    margin: 15px 0;
}

.keyWordWrapper,
.propertyWrapper,
#equipment_output,
#group_output {
    margin-bottom: 15px;
}

.keyword_title,
.keyExp_title {
    font-size: 17px;
    font-weight: 600;
}

.nameDot {
    width: 13px;
    height: 13px;
    background: var(--each-keyword-output-color);
    border-radius: 100%;
}

/* Question */
.question_container {
    width: 100%;
    min-height: 360px;
    display: flex;
    justify-content: center;
    background-color: var(--accordion-background);
    border-radius: 10px;
    margin: 40px 0;
    border: 3px solid var(--question-container-border);
}

.accordion_image {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.accordion_image img {
    width: 85%;
    height: 100%;
    object-fit: cover;
}

.accordion {
    margin: 20px;
    width:54%;
}

.question_title {
    margin-bottom: 5px;
    margin-right: 20px;
    border-bottom: 3px solid var(--question-container-border);
    padding-bottom: 15px;
    font-size: 17px;
    font-weight: 600;
}

.accordion-button {
    text-align: right;
    color: rgba(80, 80, 80, 1);
    font-size: 18px;
    border-bottom: 1px solid var(--question-container-border);
    margin-right: 50px;
    width: 90%;
    background: var(--accordion-background);
}

    .accordion-button img {
        margin-left: 10px;
    }

.accordion-body {
    width: 90%;
    margin-right: 35px;
    white-space: normal;
    word-wrap: break-word;
}

.accordion-flush .accordion-item {
    border-bottom: 0;
}

.accordion-item {
    background: inherit;
}

.accordion-button:not(.collapsed) {
    background: var(--accordion-background);
}

.accordion-button:focus {
    border-color: var(--accordion-background);
}

.dateWrapper {
    display: flex;
    flex-direction: column;
    margin-right:5px;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255 255 255 / 54%);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.accordion-button {
    word-wrap: break-word !important;
    white-space: normal !important;
    word-break: break-all;
}
@media(max-width:1082px) {
    .eachLocationCard {
        height: auto;
    }
}

@media(max-width:1024px) {
    .locationProvinceAndCity {
        width: 100%;
    }

    .indexLocationContent {
        width: 99%;
    }

    .accordion-button {
        margin-right: 20px;
    }

    .question_title {
        margin-right: 0;
        padding-right: 10px;
    }

    .question_container {
        flex-direction: column;
    }

    .accordion {
        width: 88%;
    }

    .accordion_image img {
        height: 300px;
        width: 300px;
    }

    .accordion_image {
        width: 100%
    }
}

@media (max-width: 935px) {
    .informationName {
        flex-direction: column;
        align-items: start;
    }

    .name_address {
        width: 100%;
    }

    .information_detail {
        padding: 5px;
    }
    .imageSliderContainer .image_slider{
        width:100%;
    }
}

@media (max-width: 680px) {
    .eachLocationCard {
        flex-direction: column;
        height: auto;
    }

    .eachLocationCardImage {
        width: 100%;
        height: 320px;
    }

        .eachLocationCardImage img {
            border-bottom-right-radius: 0px;
            border-top-left-radius: 10px;
        }

    .eachLocationCardDetails {
        width: 100%;
    }
}

@media(max-width:546px) {
    .offcanvasBody {
        width: 300px;
    }
}

@media (max-width: 457px) {
    .indexLocationContent {
        width: 100%;
    }

    .container {
        padding: 5px;
    }

    .explanation {
        padding: 5px;
    }
}

@media(max-width:425px){
    .carousel-item img,
    .imageSliderContainer .image_slider {
        height: 300px;
    }
}