﻿
.review{
    margin: 120px auto 0;
    text-align: center;
    max-width: 1920px;
    width: 100%;
}
.review .review_logo{
    display:flex;
    flex-flow:row nowrap;
    justify-content: start;
    align-items: end;
}
.review .review_btn{
    display:flex;
}
.review .review_btn a{
    color:#fff;
    background:#333;
    padding:8px 16px;
    border-radius: 16px;
    font-size:16px;
    margin-left:-5px;
}
.review .review_contents{
    width: 95%;
    border-top: 2px solid #14161a;
    margin-top: 16px;
    padding-top: 16px;
    margin-left: 90px;
}

.review .review_contents > .contents_top{
    border-bottom:1px solid #ebeff5;
    text-align: left;
    padding-bottom:16px;
}

.review .review_contents > .contents_mid{
    border-bottom:1px solid #ebeff5;
    text-align: left;
    padding:16px 0;
}


select#sortSelect {
     position:relative;
     height: 37px;
     padding: 0 10px;
     font-size: 16px;
     color: #666;
     margin-right: 10px;
     font-weight:normal;
     vertical-align: middle;
     outline: none;
     /* border: 1px solid #d6d6d6; */
     appearance: auto;
     -webkit-appearance: auto;
     -moz-appearance: auto;
}

select#sortSelectSub {
     position:relative;
     height: 37px;
     padding: 0 10px;
     font-size: 16px;
     color: #666;
     margin-right: 10px;
     font-weight:normal;
     vertical-align: middle;
     outline: none;
     border: 1px solid #d6d6d6;
     appearance: auto;
     -webkit-appearance: auto;
     -moz-appearance: auto;
}

select#sortSelect2 {
    width:100%;
     position:relative;
     height: 37px;
     padding: 0 10px;
     font-size: 16px;
     color: #666;
     font-weight:normal;
     vertical-align: middle;
     margin:6px 10px 6px 0;
     outline: none;
     border: 1px solid #d6d6d6;
     appearance: auto;
     -webkit-appearance: auto;
     -moz-appearance: auto;
}

.contents_bottom > div{
    display:flex;
    gap:80px;
    flex-flow:row nowrap;
    justify-content: flex-start;
    padding:50px;
    border-bottom:1px solid #ebeff5;
}

.contents_bottom > div .text_area{
    text-align: left;
    width:33%;
}

.contents_bottom > div .text_area > p{
    font-size:16px;
    margin-top:12px;
    margin-bottom:24px;
}

.contents_bottom > div .text_area > p > span{
    display: inline-block;
    margin-left:8px;
}
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.pagination li {
    margin: 0 5px;
}

.pagination a, .pagination span {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color:#4a4a4a;
    border-radius: 4px;
    text-align: center;
}

.pagination a:hover {
    background-color: #eee;
}

.pagination .disabled {
    color: #ccc;
    pointer-events: none;
    border: 1px solid #eee;
}

.pagination .prev, .pagination .next {
    font-weight: bold;
}

.pagination .page-item {
    display: inline;
}
#reviewModal.modal {
    display: none;
    position: fixed;
    z-index: 500;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

#reviewModal.modal h2{
    text-align: left;
    padding:24px 0;
    border-bottom:1px solid #ebeff5;     
}

#reviewModal.modal input[type="text"],#reviewModal.modal input[type="file"] {
    width:100%;
    height: 37px;
    border: 1px solid #dedede;
    font-size: 14px;
    margin:6px 0;
    padding: 0 20px;
    vertical-align: middle;
    box-sizing: border-box;
}

#reviewModal.modal input[type="file"]  {
    padding-top:7px;
    padding-left:6px;
}

#reviewModal.modal .form{
    margin-top:24px;
    overflow-x: hidden;
    overflow-y: scroll;
    height:384px;
}

#reviewModal.modal .form .tt{
    text-align: left;
    font-size:16px;
    margin-top:6px;
}

#reviewModal .modal-content {
    position: relative;
    background-color: #fff;
    margin: 10% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 700px; 
    position: relative;
    z-index: 100;
    text-align: right;
}


#reviewModal select#sortSelect {
     position:relative;
     height: 37px;
     padding: 0 10px;
     font-size: 16px;
     color: #666;
     margin-right: 10px;
     font-weight:normal;
     vertical-align: middle;
     outline: none;
     /* border: 1px solid #d6d6d6; */
     appearance: auto;
     -webkit-appearance: auto;
     -moz-appearance: auto;
}

.submit_btn{
    width:100%;
    position:relative;
    height: 37px;
    padding: 0 10px;
    font-size: 16px;
    color: #ffffff;
    background-color: #111111;
    margin-right: 10px;
    font-weight:normal;
    vertical-align: middle;
    outline: none;
    border: 1px solid #d6d6d6;
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #000;
    z-index:350;
}

.radio-group {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    margin:6px 0;
}

.radio-button {
    width:48%;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
    position: relative;
}

.radio-button input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-btn {
    width:100%;
    padding: 10px 20px;
    border: 1px solid #dedede;
    background-color: #fff;
    cursor: pointer;
    text-align: center;
}

.radio-button input[type="radio"]:checked + .radio-btn {
    background-color: #5e5e5e;
    color: #fff;
}

.radio-button:hover .radio-btn {
    border-color: #5e5e5e;
}

.review_write {    
    width: 100%;
    min-height: 160px !important;
    border: 1px solid #d6d6d6;
    margin-bottom:6px;
    padding:6px;
}
.db-user-check{margin-top:12px;text-align: center;}

/*이미지 모달 추가 시작*/

.img_modal {
    display: none; 
    position: fixed;
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.8);
}

.img_modal_content {
    margin: 30% auto 0;
    display: block;
    width: 80%;
    z-index: 9999;
}
.img_wrap{position:relative;max-width:700px;margin:0 auto;}
.modal-image {max-width:700px;width:658px;}
.img_close {
    position: absolute;
    z-index: 9999;
    top: 0%;
    right: 12%;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
}

.img_close:hover,
.img_close:focus {
    text-decoration: none;
    cursor: pointer;
}
.imgModal-content{
    position: relative;
    background-color: #fff;
    margin: 11% auto; 
    padding: 10px 20px 20px;
    border: 1px solid #888;
    width: 700px; 
    position: relative;
    z-index: 100;
    text-align: right;
}

#imgCloseBtn{
    font-size:24px;
    font-weight:bold;
    cursor: pointer;
    display: inline-block;
    margin-bottom:10px;
    color:#000;
}

.imgModal-content .prev, .imgModal-content .next {
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: #fff;
    font-weight: bold;
    font-size: 24px;
    cursor: pointer;
    user-select: none;
}

.imgModal-content .prev {
    background-color: #ccc;
    left: 0;
}

.imgModal-content .next {
    background-color: #ccc;
    right: 0;
}

.gallery > img {
    display: none;
    width:339px;
    cursor: pointer;
}

.gallery > img:nth-child(1) {
    display: block; 
}

/*이미지 모달 추가 끝*/

/*리뷰 최종 확인 모달 */
#review_confirm {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
}

.review_confirm_content {
    background-color: #fefefe;
    margin: 17% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 25%;
    height:150px;
    text-align: center;
}

.review_confirm_content button{
    margin:24px 3px 0 3px;
    background-color: #70acdd;
    padding:10px 20px;
    color:#fff;
}