/* ---------- 공통 부분 ------------------------- */
:root {
/* color */
    --white-color: #fff;
    /*--black-color: #191919;*/
    --black-color: #646464;
    --blue-color: #045fd4;
    --red-color : #ff0000; /* error 메세지 */ 
	
	--sg-purple-color:#8568AA;
	--sg-yellow-color:#F6D851;
	--sg-blue-color:#1697C4;
	--sg-green-color:#67C3BF;
	--sg-orange-color:#ED7455;

    --sel-back-color:#F5F1F3;
    --back-color:#f0f0f0;
    --grey-title-color:#767676;
    --grey-dark-color: #919191;
     /* --grey-light-color: #e0e0e0; */
     --grey-light-color: #f7f9fb;
     --grey-guide-color:#cccccc;
     --grey-line-color:#cccccc;
     --division-color:#e5e5e5;
     --brand-color2 : #ed0f62;
    /*--brand-color:#ff6863;*/
    --brand-low-color:#f5ecf0;
    --brand-color:#E11584;
    --brand-shadow-color:#ebb0b0;
    --brand-light-color:#f1b3be;
    /* --brand-color:#5EBEBC; 
    --sub-color2:#B8F3B8;*/
    --sub-color2:#FEEBF2;
   --sub-color3:#f5f5f5;
     /*---sub-color3:#DCF4F5;*/
    
    --sub-color:#35C5F0;/*#97D4DF;*/
   /* --sub-color:#F69ABF;*/
    --grey-light-color2: RGB(240, 230, 230);

    --side-padding:8px;
/* text color */

/* typography */
    --font-xxlarge:27px;
    --font-xlarge:22px;
    --font-large:20px;
    --font-highlight :18px;
    --font-sHighlight:16px;
    --font-bt-size:15px;
    --font-medium:14px;
    --font-small:12px;
    --font-micro:10px;  					/* input창 아래 error 메세지 */ 
    --font-weight-bold:700;
    --font-weight-mid : 500;
    --font-weight-regular : 400;

    --menu-line : 0.5px;
    --division-line : 10px;

    --header-back-color: #fff;
    --header-text-color:#fff;
    --menu-back-color:#fff;
    --menu-text-color:#140a00;

    --size-border-rad:20px;
    --basic-radius:12px;

    --font-common:"Noto Sans KR",sans-serif;}

* {box-sizing: border-box;}

body {font-family:'Noto Sans KR',sans-serif;box-sizing:border-box;word-break:break-all; font-size: var(--font-medium); color:var(--black-color);}
/*.fixwidth{width:100%; position:relative;}*/
h1{font-size: var(--font-xlarge);font-weight: 700;}
h2{font-size: var(--font-highlight);font-weight: 700;padding-top:5px;padding-bottom:5px;margin:0;}
h3{font-size: var(--font-highlight);font-weight: 700;padding-top:10px;padding-bottom:10px;margin:0;}


button, button:focus {font-family:'Noto Sans KR',sans-serif;border-radius:5px;border : none; cursor : pointer; outline: none; font-family:var(--font-common); }
input, select{border-radius:3px;}
/* img{width:100%; height:auto;}
 */
.division-line-re {width:100%;height:10px; border-bottom: var(--division-line) solid var(--division-color);margin-top:20px;}

/* .division-line {position:absolute;left:0px;width:100%;height:10px; border-bottom: var(--division-line) solid var(--division-color);} */
.division-line {width:100%;height:10px; border-bottom: var(--division-line) solid var(--division-color);}
.division-line-1 {width:100%;height:10px; border-bottom: 1px solid var(--grey-dark-color);}

.bt-list button{width:100%;height:100%;text-align:left;position: relative;
    background-color:transparent;color:var(--black-color);
    font-size:14px;font-weight:400;padding-top:10px;padding-bottom: 10px;}
.bt-list .qa-i{display:inline-block;height:100%;width:20px;color:val(--brand-color);vertical-align:top;padding-top:3px;}
.bt-list span{display:inline-block;}

.bt-open-list button{width:100%;height:100%;text-align:left;position: relative;
        background-color:transparent;color:var(--black-color);
        font-size:14px;font-weight:400;padding-top:15px;padding-bottom: 15px; 
        border-bottom:1px solid var(--grey-line-color);}
.bt-open-list span{display:inline-block;width:85%;}
.bt-open-list .down-i{font-size:20px;height:100%;
    position:absolute;right:10px;top:14px;padding:0;
    color:var(--grey-line-color);}
.bt-open-list .qa-i{display:inline-block;height:100%;width:20px;color:val(--brand-color);vertical-align:top;padding-top:3px;}


.bt-link-list button{width:100%;height:100%;text-align:left;position: relative;
    background-color:transparent;color:var(--black-color);
    font-size:var(--font-bt-size);font-weight:400;padding:10px 0px; }
.bt-link-list span{display:inline-block;width:95%;font-weight: 700;}
.bt-link-list .left-i{font-size:20px;height:100%;position:absolute;right:10px;top:14px;padding:0;color:var(--grey-line-color);}

/*한 라인에 타이틀과 입력창 정렬*/
.two-col.form-field{display:flex;width:100%;flex-direction:row; justify-content: space-between;
    padding-top: 0;margin-top:10px;align-items: center;}
.two-col{padding-left: 5px;}
.two-col input{width:65%;}


.guide-msg{display:inline-block;width:100%;height:20px;font-size:var(---font-small);
    background-color:transparent; color:var(--grey-guide-color);}
.small-msg{display:inline-block;width:100%;height:10px;font-size:var(--font-small);
    background-color:transparent; color:var(--grey-dark-color);}
.error-msg{display:inline-block;width:100%;height:10px; font-size:var(--font-micro);
    background-color:transparent; color:var(--red-color);}
.sample-msg{display:inline-block;width:100%;height:1em; font-size:var(--font-micro);
    background-color:transparent; color:var(--grey-dark-color);}
.req-title::after{color:red;content:' *';}

.spacing-10{width:100px;height: 10px;}
.spacing-20{width:100px;height: 20px;}


/*------------ 로긴, 마이페이지, 집등록 창------------------------*/
#login, #mypage, #house-reg, #host-reg{width:100%;height:100vh;
    box-sizing: border-box;padding:0px 0px;font-size:14px;
    margin:auto;background-color:transparent;
/*     margin-left: 0px;left:50%;transform:translateX(-50%);*/
 }
/* ---------- 메뉴 부분 ------------------------- */
#menu, #total-search-menu{ position:sticky;  z-index:3; top: 0px;}
/* 58px; } */
#menu .menu-list, #total-search-menu .menu-list{
    display: flex; 
    list-style: none; 
    padding-left: 0px; 
    padding-top: 0px; 

    justify-content: space-between; 
    background-color: var(--menu-back-color);
    color: var(--menu-text-color); 
    border-bottom: var(--menu-line) solid var(--grey-line-color);
}
#menu .menu-list button[class^="menu-item"].clicked, #total-search-menu .menu-list button[class^="menu-item"].clicked {
    color: var(--brand-color); 
    border-bottom: 3px solid var(--brand-color); 
}

#menu .menu-list button[class^="menu-item"], #total-search-menu .menu-list button[class^="menu-item"]{
    font-size: 14px; 
    font-weight: bold; 
    padding: var(--side-padding); 
    color:var(--black-color); 
    background-color: transparent;
    border-bottom: 3px solid #fff; 
}

#menu .menu-list button, #total-search-menu .menu-list button{
	border-radius:0;
}

/*button[class^="menu-item"]:hover {
    transform: scale(1.1);}*/

/* ----------  카테고리 부분 ----------------- */

.category {
    display: flex;
    margin:5px;
    flex-wrap:wrap; 
    justify-content:space-between;
    list-style: none;
    padding: 5px 15px 10px 15px;
}
.category .category-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;

    background-color: var(--white-color);
}
.category-item i {font-size:20px; color:var(--grey-dark-color);}
.category-item span {font-size:12px; margin-top: 10px;}

/* ---------- 지역 부분 ----------------- */


.rbt-list{
    display: flex; 
    flex-wrap:wrap; 
    justify-content: space-between; 
    list-style: none; 
    padding: var(--side-padding); 
    background-color: var(--white-color); 
    color: var(--black-color);
    margin: 5px;
    overflow-y:hidden;
    overflow-x:hidden;    
}

.rbt-list .rbt-item.clicked{
    background-color: var(--sub-color); 
    color:white;
}
.rbt-list .rbt-item{
    margin:5px;
    padding-left:10px;
    padding-right:10px; 
    padding-top:7px;
    padding-bottom:7px; 
    border-radius: var(--size-border-rad);
    background-color: var(--division-color);
    
    color:black;
}

/*.rbt-item:hover, .category-item:hover{transform: scale(1.1);}*/
.rbt-item:focus{cursor: pointer;}
/******************************************************************************************************/

/*------ basic button style -----------*/
.bs-bt{
    width:100%;height:40px;padding:0px 0px;
    font-size:15px;font-weight:400;margin-bottom: 10px;background-color:transparent;
    font-weight:700;
}
.bs-bt-outline {
    width:100%;height:35px;padding:0px 0px;
    font-size:var(--font-medium);font-weight:400;background-color:transparent;
	color:var(--grey-dark-color);border:1px solid var(--grey-dark-color);border-radius:20px;}
.bs-bt-outline:focus{border:1px solid var(--grey-dark-color);border-radius:20px;}
.center-bt-dv{width:100%;text-align: center;margin-top:10px;}
.center-bt{width:40%;}
/*------ 봄집 2.0 스타일 버튼 ------*/
.sh-fill {background-color:var(--brand-color);color:white;}
.sh-outline {color:var(--brand-color);border:1px solid var(--brand-color);}
.sh-outline:focus{border:1px solid var(--brand-color);}

/*------ 봄집 2.0 스타일 input 창 ------*/
.bs-input-line{
    width:100%;height:40px;
    font-size:var(--font-medium);font-weight:400;
    margin-bottom: 10px;background-color:transparent;color:var(--black-color);
    border:none;border-bottom:1px solid var(--grey-dark-color);
}
.bs-input-line:focus{outline:none;border-bottom:1px solid var(--brand-color);}
.bs-input-line::placeholder{color:var(--grey-guide-color);font-size:12px;font-weight:700;}
.sh-underline{border-bottom:1px solid var(--brand-color);}

.guide-list{margin-top:0px;margin-left: 20px;font-size: var(--font-small);color: var(--grey-dark-color);}
.guide-list ul{padding-left:10px;padding-top:0px;margin-top:0px;}

.form-field {position:relative;width:100%;height:100%;margin-top:10px;margin-bottom:10px;}

.form-field input {font-size:var(--font-medium);width:100%;height:40px;
    color:black;background:transparent; border:none;
    border-bottom:1px solid var(--grey-dark-color);padding:0px 10px;box-sizing:border-box;}
.form-field input::-webkit-input-placeholder {color:var(--grey-guide-color);font-size:12px;}
.form-field input::placeholder {color:var(--grey-dark-color);opacity:1;font-size:12px;}
.form-field input:focus{border:0;outline:none; border-bottom:2px solid var(--brand-color);}
/* .form-field input:focus{border:0;outline:1px solid var(--brand-color); box-shadow: 2px 2px 3px 2px var(--brand-shadow-color);} */
.form-field label {font-size:var(--font-medium);display:block;margin-top:10px;margin-bottom:5px;}

.page-title .back-btn{font-size:20px;position:absolute;padding:0;left:10px;color:var(--grey-dark-color);background-color: transparent;}
.page-title .close-btn{width:16px;position:absolute;padding:3px 0;left:10px;color:var(--grey-dark-color);background-color: transparent;}
.page-title{width:100%;height: 40px;
    font-size:16px;
    color:var(--grey-dark-color);
    display:flex;justify-content: center;align-items: center;
    margin-bottom: 30px;
    border-bottom:1px solid var(--grey-line-color);
}

.back-next{width:100%;display: flex;justify-content: space-evenly;margin: 40px 0px 10px 0px;}

.shortcut{width:15px;height:100%;font-size:25px;
    justify-content:center; color:var(---grey-dark-color);}
.shortcut span{width:15px;font-size:25px;
    vertical-align: middle;color:var(---grey-dark-color);}

.close-btn{position:absolute;width:25px;left:0px;top:3px;border:0;background-color: transparent;}
.right-close-btn{position:absolute;width:2em;right:0px;top:5px;border:0;background-color: transparent;}

/*------- 모달팝업창 공통---------------*/
.detail-modal-popup .page-title{margin-bottom:0px;color:black;}
.detail-modal-popup{position: fixed;top:0px;z-index:999;background-color:white;margin:auto;
height: 100%;overflow-y: auto;} 
/*------- pictures-list 사진 리스트 : 모달팝업창 start ---------------*/
/*#img-list{position: fixed;top:0px;z-index:9999;background-color:white;margin:auto;
max-height: 100%;overflow-y: auto;} */
#img-list img{width:100%;height:auto;}
#img-list .image-dv{display:flex; justify-content: space-between; 
	    flex-direction: column;align-content: center; width:100%;margin-top:0; 
	    padding:5px 0px;}
#img-list .image-dv input{width:100%;text-align:center;color:black;border:1px solid var(--grey-line-color);}
/*------- pictures-list 사진 리스트 : 모달팝업창 end ---------------*/
/* ----------------------------------------------- */
footer{height:100%;}

#footer-id{	position:fixed;
    z-index:9;
    bottom: 0px;}
#footer-id #footer {
     height:55px; margin:auto; width:100%;
     /*3.8rem;*/
     padding-bottom: 0px;
     margin-bottom:0px;

     background-color: RGB(240, 240, 240); 
     color: var(--header-text-color);
     border-radius:10px 10px;
}
#footer-id #footer .foot-menu {
    display: flex; 
    padding: 0px;    width:100%;
    justify-content: space-around;
    margin-top:10px;
    list-style: none;    
    background-color: transparent;
}
#footer-id #footer .foot-item {
    display: flex;
    width: 100%;
    height: 90%;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    margin-top:7px;
    color:  var(--grey-dark-color); 
    background-color: transparent;
}
#footer-id #footer .sub-item {margin-bottom: 5px;} 
#footer-id #footer .write {
    font-size: 35px;
    padding-top: 3px;
    color: var(--brand-color);
}
#footer-id #footer .sub-item i {font-size: 20px;} 

/* ------------- 하단에서 위로 스크롤 되는 모달창 --------------- */
#back-win { position: fixed; z-index:8;top: 0;margin:auto; opacity:0.5;background-color: black;height:100%;}
#modal-win { position: fixed; z-index:8;top: 100%;margin:auto;transition: all 600ms cubic-bezier(0.86, 0, 0.07, 1);}
/* springhouse.js > openWriteMenu 함수 참조. 애니메이션으로 오픈되어 초기값이 top:100% 임  */

#modal-win .modal-body {
  background-color: var(--white-color);
  width: 70%;
  height: 245px;	/* 전체 높이에서 footer 높이 45를 뺀값, springhouse.js > openWriteMenu 함수에서 290 값으로 처리*/
 
  padding:10px 10px 0px 10px;	
  border-radius:10px 10px;
}
#modal-win .block-dv{width:100%;display:flex; flex-direction: column; justify-content: space-between; 
align-content: center;box-shadow:none;padding-top:10px;}
#modal-win .block-dv .foot-modal{padding-bottom:10px; background-color: transparent;margin-bottom:10px;
font-weight:700; padding:5px 10px;}
#modal-win .block-dv .foot-modal span{font-size:15px;}
#modal-win .block-dv .foot-modal i, .foot-modal img{margin-left: 0;margin-right: 20px;}
#modal-win .block-dv .foot-modal:hover{cursor:pointer;}

#shareLink-dialog{position:fixed;height:100%;top:0px;margin:auto;z-index:10;background-color: rgba(0, 0, 0, 0.5);}
#shareLink-dialog .bg{position:fixed;top:100px;width:250px;padding:5px 0;background-color: white;left:50%;transform: translate(-50%,0%);
-webkit-transform: translate(-50%, 0%);-ms-transform: translate(-50%, 0%);-moz-transform: translate(-50%, 0%);-o-transform: translate(-50%, 0%);}
#shareLink-dialog .bt-dv{display:flex;width:100%;flex-direction:row; justify-content: space-evenly;
    padding-top: 0;margin:20px 0;align-items: center;}
#shareLink-dialog button{height: 35px;line-height: 36px;font-size:15px;}
#shareLink-dialog .gray_btn {width: 100px;background:white;border:1px solid var(--grey-dark-color);color:var(--grey-dark-color);transition: 0.5s;}
#shareLink-dialog .pink_btn {width: 100px;background:var(--brand-color);color:white;transition: 0.5s;border: none;}
#shareLink-dialog .s_tit{padding:20px 0;text-align:center;}
#shareLink-dialog .s_title{text-align:center;padding:0 20px;}
#shareLink-dialog .s_desc{padding:10px 20px;text-align:center;}



/*-----------------alert, confirm 창 ---------------------*/
#modal-msg.modal .btn{cursor: pointer;text-align: center;border-radius: 5px;font-weight: 500;}
.dimLayer{display: block;width: 100%;background-color: rgba(0, 0, 0, 0.3);position: fixed;left: 0;top: 0px;margin: 0;padding: 0;z-index: 9998;}
#modal-msg.modal{width: 280px;height: 150px;border-radius: 10px;padding: 30px 24px;box-sizing: border-box;text-align: center;}
#modal-msg.modal-section{background: #ffffff;box-sizing: border-box;position: absolute;top: 50%;left: 50%;
    display: none;flex-direction: column;justify-content: space-between;
    -webkit-transform: translate(-50%, -50%);-ms-transform: translate(-50%, -50%);-moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);transform: translate(-50%, -50%);z-index: 9999;} 
#modal-msg .menu_msg{font-size: 18px;font-weight: 500;}
#modal-msg .enroll_box p{padding-bottom: 30px;}
#modal-msg .enroll_btn{margin-bottom: 0px;}
#modal-msg .gray_btn {width: 100px;background: #ffffff;border:1px solid #999999;color: #999999;height: 36px;line-height: 36px;transition: 0.5s;font-size: 17px;}
#modal-msg .pink_btn {width: 100px;background: #ed197a;color: #fff;height: 36px;line-height: 36px;transition: 0.5s;font-size: 17px;border: none;}


/*------모바일에 사용될 스타일 시트(For below 768px screen width) ------*/
@media screen and (max-width:768px) {
    :root {
          --header-back-color: white;
    }
    
    .fixwidth{max-width:360px; width:360px;position:relative;margin:auto;}
    .fixwidth-content{max-width:360px; width: 360px;height:100vh;position:relative;margin:auto;padding-bottom:70px;box-sizing:border-box;}
    footer{width:360px;position:relative;margin:auto;height:0;}
     #header, #footer-id, #modal-win, #back-win,  #detail-menu, #kakao-quest{width:360px;}
    #header .logo {width: 80px;}
    #header .wishlist {width: 40px;}
  	#modal-win .modal-body {margin:0px 0px 0px 100px;}


.main-banner-swiper{width:100%;height:150px;}
.main-banner{width:100%;height:100%;}
}

/*------데스크탑에 사용될 스타일 시트(For over 769px screen width) ------*/
@media screen and (min-width:769px) {
    .fixwidth{max-width:768px; width: 768px;position:relative;margin:auto;}
    .fixwidth-content{max-width:768px; width: 768px;position:relative;margin:auto;padding-bottom:70px;box-sizing:border-box;}
    #header, #footer-id, #modal-win, #back-win, #detail-menu, #kakao-quest{width:768px;}
   
    footer{width:768px;position:relative;margin:auto;}
    #modal-win .modal-body {margin:0px 0px 0px 200px;}
    
.main-banner-swiper{width:100%;height:200px;}    
.main-banner{width:100%;height:100%;}
}

#wait-modal{width:100%;height:100%;position:fixed;top:0;left:0;z-index:99999;display:table;}
#wait-modal .bg{margin:0px auto;width:100%;height:100%;background-color:rgba(0,0,0,0.7);display:table-cell;vertical-align:middle;}
#wait-modal .dialog {line-height:2em;width:300px;position:relative;margin:0px auto;padding:20px;background-color:white;text-align:center;border-radius:5px;color:black;}
#wait-modal .ok {width:30%;height:35px;margin:10px auto;background-color:var(--brand-color);text-align:center;border-radius:5px;color:white;}
/*------모바일에 사용될 스타일 시트(For below 768px screen width) ------
@media screen and (min-width:360px) and (max-width:768px) {
    :root {
          --header-back-color: white;
    }
    .fixwidth{width: 768px;position:relative;}
    #header .logo {width: 80px;}
    #header .wishlist {width: 40px;}

}*/



/* @media screen and (max-height:768px) {
    .fixwidth{max-width: 768px;position:relative;left:50%;transform:translateX(-50%);transform:translateY(100px);}
} */



/* ------- 맨위로 가기 화살표 버튼 -----------*/
.arrow-up, .arrow-up:active, .arrow-up:focus {
    position: fixed;
    z-index:5;
    bottom: 80px; right:20px;
    width:40px; height: 40px;
    font-size: 30px;
    color:white;
    background-color: var(--grey-line-color);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transition:all 300ms ease-in;
    vertical-align:middle;
}

.arrow-up.visible {
    opacity: 1;
    border-radius: 50%;
    pointer-events: auto;
}

