/* 모달 검은색 배경 */
.modal{display: block; position: fixed; z-index: 100; left: 0; top: 0; bottom:0; 
max-width:100%; width:100%;  height: 100%;  background-color: hsla(0,0%,0%,0.4); padding-left:16px; padding-right:16px;    z-index: 100;}

.modal-wrap {position: relative; width: auto; margin:auto; height: auto;
    top:50%; transform: translateY(-50%); background-color:#fff; z-index: 101;}
    .cart_modal .modal-wrap  {height: 70vh;overflow-y: scroll;}

.modal-xl{max-width:1200px; border-radius: 10px;}
.modal-md{max-width:650px;border-radius: 10px}
.modal-sm{max-width:1030px;border-radius: 10px}
.modal-xs{max-width:360px;border-radius: 10px}

.modal-container{max-width:1024px; width: 100%; margin:auto; z-index:101;
position: relative;
/* display: -ms-flexbox; display: flex; -ms-flex-direction: column;  flex-direction: column;  pointer-events: auto; */
    border-radius: .3rem;
outline: 0; }

/* 2020-03-19 */
.modal-bd.bd{margin-left:0 !important; margin-right:0 !important; padding:0 !important; text-align: center;}

.modal ul.btn-container > li{display: inline-block;margin-top:16px;}
.modal .modal-container-inner .input_box{display: flex;justify-content: center;margin-top:20px;align-items: center;width:80%;margin:15px auto 0 auto;}

.modal .modal-container-inner .txt{font-size:17px;font-weight: 600;}
.modal .modal-container-inner .input_box p{text-align: left;margin-right:20px;width:20%; }
.modal .modal-container-inner .input_box input{background-color: #f5f5f5; border-radius: 5px; border: 0; padding:12px 16px; width:80%}
.modal .modal-container-inner .button{display: flex;width:100%; margin:30px auto 0 auto;}
.modal .modal-container-inner .button button{color:#888;margin:0 5px;border:1px solid #ddd; padding:12px 16px; width: 100%;  border-radius: 5px;}
.modal .modal-container-inner .button button:first-child{background-color: #222; color:#fff;border-color: #222;}


/* 모달 닫기 */
.modal-close{position: absolute; right:16px; top:16px; font-size: 1.35em; line-height:1; cursor: pointer; display: block; z-index: 102;}

.modal-container .modal-out-tit{padding-bottom:26px;  font-weight:500; font-size:1.25em;text-align: center; }
.modal-container .input_con{width: 70%; margin: 32px auto 0 auto;}
.modal-container .input_con textarea{height: 120px; overflow-y: auto; background-color: #f5f5f5; border: 0; outline: 0; border-radius: 5px; width: 100%; padding: 12px 16px;}
.modal-container{padding:40px 32px 32px;}
.modal-container .example .img{padding-bottom:6px;}
.modal-container .example .text{line-height: 1.5; padding-bottom:12px;}
.modal-container .example .text .content{word-break: break-all;
    white-space: normal;}

.board_content{padding-bottom:24px;}
.board_content label{display: block; padding-bottom:8px;}
.file_update{width:100%; border:1px solid #dedede; background:#fff; height:32px; vertical-align: middle;}
textarea{ border:1px solid #dedede; height:200px; width:100%; }

.modal-container input[type=button]{padding-left:16px; padding-right:16px; cursor: pointer;}

.modal-container .table_btn{text-align:center; padding-top:0;}
.modal-container .table_btn ul li{text-align:center;display:inline-block; margin:0 3px;}

.guide_text{font-size:13px; padding-top:12px;}

.fileBox ul{margin:0 -8px;}
.fileBox ul li{float:left; padding:0 8px; width:65%;}
.fileBox ul li:last-child{width:35%;}
.fileBox {width:100%;}
.fileBox .fileName {width:100%; height:30px;line-height:30px; border:none; background:rgba(255,255,255,0); border-bottom:1px solid #d1d1d1; vertical-align:middle}
.fileBox .btn_file {border:1px solid #d1d1d1; border-radius: 4px; background:#fff; height:30px;font-size:0.8em;line-height:30px;text-align:center;vertical-align:middle}
.fileBox input[type="file"] {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}

.modal_table{display: table; margin:0 auto;} 

.modal_img_container{text-align: center;}
.modal_img_container img{width:100%;}
.wi_select_common {
width: 123px;
height: 45px;
padding: 0 18px;
vertical-align: middle;
background: url(https://s3.ap-northeast-2.amazonaws.com/lbplatform/images/timing/152711839681325.png) no-repeat 87% 50%;
background-color: #fff;
-webkit-appearance: none;
}


.simple_input{ text-align: center; padding-top:12px;}
.simple_input:first-child{padding-top:0;}
.simple_input ul li{display:inline-block;}
.wi_btn_common{height: 45px; background: #888889; color: #fff; padding:0 16px;}


.modal_img{max-height:100vh;}


/* 메인페이지 모달 */
.main_modal{background-color:rgba(0, 0, 0, 0.1);}
.main_modal .modal-wrap{
    max-width: 430px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: transparent;
    width: 100%;
    height: 70%;
    }
.main_modal .modal-container{padding:0;
    height: inherit;
    line-height: 0;
    }
    .main_modal .modal-container img{
        -webkit-box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    }
    .main_modal_img{position: relative; display: block;}
.today_btn{ left:0; z-index:102; font-weight: normal; color:#626262; margin-top:20px;}


.new_modal{background-color:rgba(0, 0, 0, .1); max-width: 100%;}
.new_modal .modal-wrap{display: flex; flex-direction: row; background-color: transparent; top:4vh;
    transform:inherit; -ms-transform:inherit; left:0; position: relative; z-index: 999;
}
.new_modal .modal-container{padding:0; margin:0 8px; width: 100%; height: 100%; max-width: 500px; border-radius: 0; z-index: 9999;}
.new_modal .modal-container a{}
.new_modal .modal-container img{background-color: #fff;}
.today_btn{position: absolute; left:0; top:calc(100% + 8px); z-index:102; font-weight: normal; color:#626262;}

.close_btn_area{background-color: #fff; border-top:1px solid #eee; width: 100%; position: relative; z-index: 200;}
.close_btn_area > li{width:50%; float:left; text-align: center; position: relative; padding:20px 12px; font-size: 0.9em; cursor: pointer;}
.close_btn_area > li:hover{font-weight: 500;}
.close_btn_area > li.close_btn_bar::before{content:''; width:1px; height:40%; position: absolute; left:0; top:30%; background-color: #e1e1e1;}

/* .password_moda */

.password_moda .modal_jion_list{width:100%;}
.password_moda .modal_jion_list li{display: flex; align-items: center;margin-bottom:15px;}
.password_moda .modal_jion_list li:last-child{margin-bottom:none}
.password_moda .modal_jion_list .jion_title{width:30%; text-align: left;}
.password_moda .modal_jion_list .jion_title p{width:100%;}
.password_moda .modal_jion_list .jion_right{width:70%; display: flex;}
.password_moda .modal_jion_list .jion_right .input_text{width:100%; }


/* 후기 확대모달 */
.img_modal2{}
.img_modal2 .arrow{position: absolute; top: 50%; transform: translateY(-50%); width: 100%; z-index: 2; display: flex; justify-content: space-between;}
.img_modal2 .arrow>div{cursor: pointer; position: absolute; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #ddd; background-color: rgba(255, 255, 255, 0.7); border-radius: 50%; padding: 8px;}
.img_modal2 .arrow>div.right{right: 0;}
.img_modal2 .arrow>div img{width: 10px; opacity: 0.5;}
.img_modal2 .swiper-slide img{width: auto; object-fit: contain; height: auto; display: inline-block; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);}
.img_modal2 .swiper-slide{background-color: transparent; overflow: hidden; display: flex; align-items: center; justify-content: center; position: relative; padding-bottom: 60%;}
.img_modal2 .modal-container-inner{overflow: hidden;}


/*  고객후기 모달 */
.pop_up_review{width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.5); position: fixed; left: 0; top: 0; z-index: 99999; display: flex; flex-direction: column; align-items: center; justify-content: center;}
.pop_up_review .inner{display: flex; background-color: #fff; width: 1024px; margin: 0 auto; max-width: 95%; border-radius: 15px; overflow: hidden;}
.pop_up_review .inner>div{width: 50%; overflow: hidden;}
.pop_up_review .x_btn{cursor: pointer; margin-bottom: 24px; width: 40px;height: 40px; border-radius: 50%; background-color: #fff; display: flex; align-items: center; justify-content: center;}
.pop_up_review .x_btn img{width: 25px;}


.pop_up_review .inner .right{padding: 24px; height:50vh; overflow-y: auto; overflow-x: hidden;}

.pop_up_review .inner .right::-webkit-scrollbar {
    width: 8px;
} 
.pop_up_review .inner .right::-webkit-scrollbar-thumb {
    height: 30%;
    background:#ffb042;
    border-radius: 0px;
}
.pop_up_review .inner .right::-webkit-scrollbar-track {
    background:#ddd;
}


.pop_up_review .inner .right .con{padding-bottom: 16px;}
.pop_up_review .inner .right .con01{display: flex; align-items: center; }
.pop_up_review .inner .right .con01 .img_wrap{width: 70px; height: 70px; border-radius: 3px; overflow: hidden; display: flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid #ddd;}
.pop_up_review .inner .right .con01 .img_wrap img{height: 100%; width: 100%;}
.pop_up_review .inner .right .con01 .txt_wrap{padding-left: 16px;}
.pop_up_review .inner .right .con01 .txt_wrap span{opacity: 0.7;}
.pop_up_review .pop_up_slide .swiper-slide div{width: 100%;height: 100%; position: relative;}
.pop_up_review .pop_up_slide .swiper-slide div img{position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; transform: translate(-50%, -50%);}
.pop_up_review .pop_up_slide{position: relative; width: 100%; height: 100%;}
.pop_up_review .pop_up_slide .swiper-slide{width: 100%; height: 100%;}


.pop_up_review .inner .right .con01 .txt_wrap p{font-weight: 600; font-size: 18px;}

.pop_up_review .inner .right .con02{padding: 0;}
.pop_up_review .inner .right .con02 .state{margin-bottom: 12px; padding: 12px 0;  display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd;}
.pop_up_review .inner .right .con02 .state .in{display: flex;}
.pop_up_review .inner .right .con02 .state .in img{width: 18px; margin-right:4px; display: block; object-fit: contain;}
.pop_up_review .inner .right .con02 .state span.date{opacity: 0.7; font-size: 15px;}
.pop_up_review .inner .right .con02 .state .name{opacity: 0.7;display: block; margin-right: 8px; padding-right: 8px; position: relative;}
.pop_up_review .inner .right .con02 .state .name::after{content: ""; width: 1px; height: 15px; background-color: #ddd; position:absolute; right: 0; top: 50%; transform: translateY(-50%);}
.pop_up_review .inner .right .con02 .state .name i{font-size: 14px;}
.pop_up_review .inner .right .con02 b.title{font-size: 18px; font-weight: 600; display: block; margin-bottom:8px;}
.pop_up_review .inner .right .con02 .contents{}
.pop_up_review .swiper-button-next:after, .swiper-rtl .swiper-button-prev:after{content: "next" !important; font-size: 18px !important;}
.pop_up_review .swiper-button-prev:after, .swiper-container-rtl .swiper-button-next:after {content: 'prev' !important; font-size: 18px !important;}
.pop_up_review .swiper-button-next, .pop_up_review .swiper-button-prev{color:  #ffb042 !important; width: 40px; height: 40px; background-color: #fff; border-radius: 50%;}


/* 장바구니 등록 모달 */
.alert_modal .modal-container-inner{display: flex; flex-direction: column; align-items: center; justify-content: center;}
.alert_modal .modal-container-inner .button{display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;}
.alert_modal .modal-container-inner .button button{margin: 0;}
.alert_modal .modal-container-inner img{width:60px; height: 60px; margin-bottom: 16px;}
.alert_modal .modal-container-inner p{text-align: center; font-size: 18px; font-weight: 600;}
.alert_modal .modal-container-inner p i{font-weight: 600;}



.img_modal2{}
.img_modal2 .arrow{position: absolute; top: 50%; transform: translateY(-50%); width: 100%; z-index: 2; display: flex; justify-content: space-between;}
.img_modal2 .arrow>div{cursor: pointer; position: absolute; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #ddd; background-color: rgba(255, 255, 255, 0.7); border-radius: 50%; padding: 8px;}
.img_modal2 .arrow>div.right{right: 0;}
.img_modal2 .arrow>div img{width: 10px; opacity: 0.5;}
.img_modal2 .swiper-slide img{width: auto; object-fit: contain; height: auto; display: inline-block;}
.img_modal2 .swiper-slide{background-color: transparent;}


/* 스케줄보기 모달 */

.schedule_modal .list{background-color: #fff; padding: 16px; border-radius: 5px; max-height: 80vh; overflow-y: auto; overflow-x: hidden; width: 960px; max-width: 96%;}
.schedule_modal .list ul.day li{cursor: pointer;}
.schedule_modal .list ul.day li .con_wrap{min-height: 100px;}
.schedule_modal .list ul li .con_wrap .in{padding-top: 35px;}
/* ********************************************* *
* height 800px max
* ********************************************* */
@media (max-height:800px){

    .new_modal .modal-container{max-width: 450px;}
}

/* ********************************************* *
* height 800px max
* ********************************************* */
@media (max-height:640px){

    .new_modal .modal-container{max-width: 320px;}
}


/* ********************************************* *
* 1024px max
* ********************************************* */
@media (max-width:1024px){

    .new_modal .modal-wrap{top:32px;}
    .new_modal{width:100%; height: 0; max-width: 100%;}
    .new_modal .modal-container{position: absolute; top:0; left:0; margin:0;}

}
/* ********************************************* *
* 768px max
* ********************************************* */
@media (max-width:768px){

    .pop_up_review .inner .right{height: 40vh;}
}
/* ********************************************* *
* 640px max
* ********************************************* */
@media (max-width:640px){

    .pop_up_review .inner>div{width: 100%;}
    .pop_up_review .pop_up_slide .swiper-slide div{padding-bottom: 56.25%;}
    .pop_up_review .inner{flex-direction: column;}
    .pop_up_review .inner .right{ width: 100%; padding: 16px;}

    .pop_up_review .x_btn{margin-top: -40px;}

    .modal .modal-container-inner .button{width: 100%;}

}
/* ********************************************* *
* 480px max
* ********************************************* */
@media (max-width:480px){
    .modal-container { padding: 40px 18px 32px;}
    .modal-wrap {top: 50%;}

    .modal .modal-container-inner .input_box p {width: 90px}
    .modal .modal-container-inner .input_box input {width:calc(100% - 90px);}
    .modal .modal-container-inner .input_box{width:90%;}
}