@charset "utf-8";

/****************************************************************************************************************************************
레이어 팝업 공통
*****************************************************************************************************************************************/
#layerPopup {display: none; position: fixed; left: 0; right:0; top: 0; bottom:0; z-index: 9999; width: 100%; height: 100%;}
.layer-bg {position:relative; padding:30px 0; width:100%; height: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; background:rgba(0,0,0,0.7); overflow-y: auto;}

.layer-bg::-webkit-scrollbar {width:0; height:0; background:transparent;}
.layer-bg::-webkit-scrollbar-track {background:transparent;}
.layer-bg::-webkit-scrollbar-thumb {background:transparent;}

.layer-wrap {position: relative;}
.layer-close {position: absolute; top: 0; left:0; right:0; margin:0 auto; text-align: center; z-index: 9; transition: 0.3s; cursor: pointer;}
.layer-close > i {padding:12px 12px; font-size: 20px; color:#000; background: #fff; border-radius: 50%;}

.layer-con {position: relative;}

@media (hover: hover) and (pointer: fine) {
    .layer-close:hover {transform: rotate(180deg);} 
}

/****************************************************************************************************************************************
로그인과 회원가입 팝업 공통
*****************************************************************************************************************************************/
/* intro-hd */
.intro-hd {position:relative; margin: 30px 0 5px 0; padding: 0 0 0 10px; width: 100%; text-align: left; font-size: 16px; color:#fff;}

/* intro-btns */
.intro-btns {position: relative; margin:0 auto; padding:0; width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;}
.join-btns {grid-template-columns: repeat(1, 1fr);}

.intro-btns > button {position: relative; height: 36px; line-height: 36px; font-weight: 300; color:#000; text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7); border-radius: 5px;}
.intro-btns > .btn-login {background: linear-gradient(90deg, #383838 0%, #b6b6b6 20%, #eeeeee 35%, #ffffff 50%, #eeeeee 65%, #b6b6b6 80%, #383838 100%);}
.intro-btns > .btn-join {background: linear-gradient(90deg, #3d2a12 0%, #bb773b 20%, #f1cd6e 35%, #ffffb0 50%, #f1cd6e 65%, #bb773b 80%, #3d2a12 100%);}

@media (hover: hover) and (pointer: fine) {
    .intro-btns > .btn-login:hover, 
    .intro-btns > .btn-join:hover {filter: brightness(0.8);}
}
 
/****************************************************************************************************************************************
로그인과 추천인코드
*****************************************************************************************************************************************/
.intro-wrap {position:relative; margin:50px auto 0 auto; padding:0; width: 640px; display:flex; justify-content: center; align-items: center; background: #000; overflow: hidden;}
.intro-left {width: 50%; position: relative;}

.intro-form {position:relative; margin:0 auto; padding:40px 40px; width: 50%;}

.popup-logo {margin:30px auto; display:flex; justify-content: center; align-items: center;}

ul.intro-list {position: relative; margin:0 auto; padding:0; width: 100%;}
ul.intro-list > li {position: relative; margin:0 0 15px 0; padding: 0; width: 100%; height: 36px; display: flex; align-items: center; background: #2c2c2c; border: 1px solid #000; border-radius: 5px;}
ul.intro-list > li > input {padding:0 15px; width: 100%; font-size: 14px; font-weight: 300; color:#fff; background: none; border: none;}
ul.intro-list > li > input:focus {outline: none;}
ul.intro-list > li > input::placeholder {color:#8b8b8b;}

/****************************************************************************************************************************************
회원가입
*****************************************************************************************************************************************/
.join-wrap {position:relative; margin:50px auto 0 auto; padding:30px 30px; width: 1200px; text-align: center; background: #000; border: 1px #2e2e2e solid; border-radius: 30px; overflow: hidden;}
.join-form {position:relative; margin:0 auto; padding:30px 30px; width: 100%; background: #121212; border: solid 1px #333333; border-radius: 30px;}

ul.join-list {position: relative; margin:0 auto 40px auto; padding:0; width: 100%; display: flex; flex-wrap: wrap; gap:10px; justify-content: space-between;  align-items: center;}
ul.join-list > li {position: relative; margin:0 0 10px 0; padding: 0; width: calc(100% / 2 - 10px);}
ul.join-list > li > label {display: block; margin: 0 auto 8px auto; padding:0 10px; width: 100%; text-align: left; color: #c4c4c4;}
.input-list {width:100%; height: 45px; display: flex; align-items: center; background: #2c2c2c; border: 1px solid #000; border-radius: 5px;}
.input-list > input {padding:0 15px; width: 100%; font-size: 14px; font-weight: 300; color:#fff;background: none; border: none;}
.input-list > input:focus {outline: none;}
.input-list > input::placeholder {color:#8b8b8b;}

.select-list {width:100%; height: 45px; display: flex; align-items: center; background: #2c2c2c; border: 1px solid #000; border-radius: 5px;}
.select-list > select {padding:0 15px; width: 100%; font-size: 14px; font-weight: 300; color:#fff; background: none; border: none;}
.select-list > select:invalid {color:#8b8b8b;}
.select-list > select:focus {outline: none;}
.select-list > select > option {color: #fff; background: #2c2c2c;}

.phone-list > select,
.phone-list > input {margin:0 5px; width: calc(100% / 3 - 10px); height: 90%; color:#fff; background: none; border: none;}


/****************************************************************************************************************************************
board-wrap
*****************************************************************************************************************************************/
.board-wrap {position:relative; margin:50px auto 0 auto; padding:50px 30px; width: 1200px; min-height: 800px; text-align: center; background: #000; border: 1px #444 solid; border-radius: 30px; overflow: hidden;}
.board-inner {position: relative; margin:0 auto; width: 100%; display: flex; justify-content: center;}

/* board-left */
.board-left {width: 280px;}
.board-left > h3 {margin:0 auto; padding:10px 10px; width: 80%; text-align: center; font-size: 18px; ; color:#000; background: #ffe6ac; border-radius: 10px;}

ul.bo-menu {position: relative; margin: 30px auto; padding:0; width: 100%;}
ul.bo-menu > li {position: relative; margin:0; padding:0 0 0 30px; width: 100%; height: 50px; display: flex; justify-content: flex-start; align-items: center; font-size: 16px; color:#afafaf; cursor: pointer;}
ul.bo-menu > li.active {color: #000; background: #fff; border-radius: 25px 0 0 25px;}
ul.bo-menu > li > i {margin:3px 5px 0 0; font-size: 18px;}

@media (hover: hover) and (pointer: fine) {
    ul.bo-menu > li:hover {color:#ffe6ac;}
    ul.bo-menu > li.active:hover {color: #000;}
}

/* board-right */
.board-right {position:relative; margin:0; padding:20px 20px; width: calc(100% - 280px); min-height: 698px; background: #fff; border-radius: 40px;}
.boRight-inner {position:relative; margin:0; padding:20px 20px; width: 100%; background: #fff; border-radius: 40px;}

/* page-tit */
.page-tit {margin-bottom:15px; padding:15px 15px; width: 100%; display: flex; justify-content: center; align-items: center; font-size: 16px; ; color:#fff; background: #000; border-radius: 5px;}
.page-tit > i {margin:0 5px 0 0; font-size: 20px;}

/* bo-guide */
.bo-guide {margin-bottom:10px; padding:20px 20px; width: 100%; text-align: center; background: #f1f1f1; border-radius: 5px;}
.guide-tit {margin-bottom:15px; width: 100%; display: flex; justify-content: flex-start; align-items: center; font-size:16px; ; color:#ff1262;}
.guide-tit > i {margin:0 5px 0 0; font-size: 20px;}
ul.guide-list {display: list-item; position: relative; margin:0 0 0 20px; padding:0; width:calc(100% - 20px); text-align: left;}
ul.guide-list > li {list-style-type: "▶"; padding:0 0 0 10px; line-height: 1.8; display: flex; align-items: center; font-weight: 500; color:#434343;}
.ask-btn {margin-left:5px; padding:0 15px; line-height: 30px; font-size: 13px; ; color:#fff; background: linear-gradient(180deg, #662cce, #3f1c7f); border-radius: 10px;}

/*  chage-tb */
.chage-tb {margin: 20px 0; width: 100%; border-top:2px #74768d solid;}
.chage-tb th,
.chage-tb td {padding:10px 10px; border-bottom: 1px #aaa solid;}
.chage-tb th {width: 150px; text-align: center; color:#656565; background: #f1f1f1;}
.chage-tb td {width: calc(100% - 150px); text-align: left;}
.chage-tb td > input {margin:0 auto; padding:8px 10px; width: 100%; text-align: left; background: #f1f1f1;}
.chage-tb td > input::placeholder {color:#aaa;}

/* ul.moneyBtns */
ul.moneyBtns {position: relative; margin:15px auto 0 auto; padding:0; width: 100%; display: flex; flex-wrap: wrap; gap:5px; justify-content: center; align-items: center;}
ul.moneyBtns > li {margin:0 auto; padding:10px 0; width: calc(100% / 6 - 5px); text-align: center; font-weight: 400; color:#000; background: linear-gradient(180deg, #ffe597, #FFC107); border-radius: 5px; cursor: pointer;}
ul.moneyBtns > li.btn-reset {background: linear-gradient(180deg, #24f95a, #17c371);}

/* list-tb */
.list-tb {margin: 20px 0; width: 100%;}
.list-tb tbody tr {cursor: pointer;}
.list-tb th,
.list-tb td {padding:10px 5px;}
.list-tb th {color:#fff; background: #000;}
.list-tb td {font-weight:400; color:#555; border-bottom: 1px #aaa solid;}
.list-tb td.td_cursor {cursor: pointer;}
.list-tb td.td_cursor > p {width: 300px; font-weight:400; color:#555; text-align:left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}

.list-tb td.td_meg {padding:10px 5px; text-align: left; font-weight:600; cursor: pointer;}
.list-tb td.td_meg > font,
.list-tb td.td_meg > span {display: inline-flex;}
.list-tb td.td_meg > span {margin-left:10px; width: 350px; height: 100%; text-align:left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}

/* 메세지 토굴 */
.meg-view {display: none; background:#f4f4f4 !important;}
.meg-view td {margin:0 auto; padding:10px 5px; width: 100%; height: 100px; text-align: center; color:#000;}

.txt-finish,
.meg-read {color:#3a3a3a;}
.txt-cancel,
.meg-important {color:#ff0000;}

/* view-tb */
.view-tb {margin: 20px 0; width: 100%;}
.view-tb tbody tr {cursor: pointer;}
.view-tb th,
.view-tb td {text-align: center; color:#000;}
.view-tb th {padding:15px 5px; color:#fff; background: #000;}
.view-tb td {padding:10px 5px; line-height: 1.5; border-bottom: 1px #aaa solid;}

/* write-tb */
.write-tb {margin: 20px 0; width: 100%; border-top:2px #74768d solid;}
.write-tb th,
.write-tb td {padding:10px 10px; border-bottom: 1px #aaa solid;}
.write-tb th {width: 150px; text-align: center; color: #656565; background: #f1f1f1;}
.write-tb td {width: calc(100% - 150px); text-align: left;}
.write-tb td > input {margin:0 auto; padding:8px 10px; width: 100%; text-align: left; background: #f1f1f1;}
.write-tb td > textarea {margin:0 auto; padding:8px 10px; width: 100%; height: 150px; text-align: left; background: #f1f1f1; border: none;}
.write-tb td > input::placeholder,
.write-tb td > textarea::placeholder {color:#aaa;}

/* board-btn  */
.board-btn {position: relative; margin:30px auto 50px auto; padding:0; width: 100%; display: flex; gap:5px; justify-content: center; align-items: center;}
.board-btn > button {margin:0; padding:10px 20px; width: 130px; text-align: center; color:#fff; border-radius: 5px;}
.board-btn > button:nth-child(1) {background: linear-gradient(180deg, #3f51b5, #2f2b60);}
.board-btn > button:nth-child(2) {background: linear-gradient(180deg, #4caf50, #2d602b);}
.board-btn > button:nth-child(3) {background: linear-gradient(180deg, #ff2a73, #9c224b);}
.board-btn > button > i {margin-right:3px;}

 @media (hover: hover) and (pointer: fine) {
    .ask-btn:hover {filter: brightness(130%);}
    ul.moneyBtns > li:hover {background: linear-gradient(0deg, #ffe597, #FFC107);}
    ul.moneyBtns > li.btn-reset:hover {background: linear-gradient(0deg, #24f95a, #17c371);}

    .list-tb tbody tr:hover {background: #f5f5f5;}
    .list-tb td.td_cursor:hover,
    .list-tb td.td_meg > span:hover {text-decoration: underline;}
    .board-btn > button:hover {filter: brightness(120%);}
}

/****************************************************************************************************************************************
미디어쿼리문 시작
*****************************************************************************************************************************************/
@media (max-width:1230px) {
    .layer-bg {padding: 30px 15px;}
    .join-wrap, 
    .board-wrap,
    .layer-wrap {width: 100%;}
}

@media (max-width:992px) {
    .layer-bg {padding:20px 5px;}    

    .intro-hd > i,
    .intro-hd > span {font-size: 18px;}

    .join-wrap {margin:40px 5px 0 5px; padding:20px 5px; width: calc(100% - 10px);}
    .join-form {padding: 10px 5px;}
    ul.join-list {margin: 0 auto 20px auto; gap:5px; flex-direction: column;}
    ul.join-list > li {width: 100%;}
    .input-list {height: 40px;}
    .input-list > i {padding:0 10px;}

    .board-wrap {padding:0 5px; background: none; border: none; border-radius: 0;}
    .board-inner {display: block; justify-content: unset;}
    .board-left {display: none;}
    .board-right {width: 100%; padding:20px 10px; border-radius: 0;}
    .boRight-inner {padding:0; border-radius: 0;}
}

@media (max-width:767px) {
    .intro-wrap {margin:40px 15px 0 15px; padding:20px 5px; width: calc(100% - 30px);}
    .intro-left {display: none;}

    .intro-form {padding:30px 15px; width: 100%;}

    ul.intro-list {width: 100%;}
    
    .popup-logo > img {width: 240px;}

    .board-wrap {min-height: auto;}
    .board-right {min-height: 500px;}

    .page-tit {margin-bottom: 5px; padding:10px 5px; font-size: 15px;}
    .page-tit > i {font-size: 15px;}

    .bo-guide {padding:10px 10px;}
    .guide-tit {margin-bottom: 5px;}
    .guide-tit,
    ul.guide-list > li,
    ul.guide-list > li::marker {font-size: 13px; line-height: 1.3}
    ul.guide-list > li {display: block;}
    .ask-btn {display:block; margin:5px 0 0 0; width: 100%; line-height: 35px;}

    .chage-tb th {padding:10px 5px; width: 20%; font-size: 12px;}
    .chage-tb td {padding:10px 5px; width:80%; font-size: 13px;}
    .chage-tb td > input {padding:10px 5px; font-size: 13px;}

    ul.moneyBtns {gap:3px;}
    ul.moneyBtns > li {padding:8px 0; width: calc(100% / 3 - 3px); font-size: 13px;}

    .list-tb {margin:5px 0;}
    .list-tb th, 
    .list-tb td {padding:8px 2px;}
    .list-tb th {font-size: 12px;}
    .list-tb td {font-size: 13px;}
    .list-tb td.td_cursor > p,
    .list-tb td.td_meg > span {width: 150px;}
    .list-tb td.td_meg > span {margin-left:5px; font-size: 13px;}
    .list-tb td.td_meg > font {font-size: 13px;}

    .charge-list {margin-top: 20px;}
    .mo-hid {display: none;}

    .view-tb {margin:5px 0;}

    .write-tb th {padding:10px 5px; width: 20%; font-size: 12px;}
    .write-tb td {padding:10px 5px; width:80%; font-size: 13px;}
    .write-tb td > input,
    .write-tb td > textarea {font-size: 13px;}

    .board-btn {margin:20px 0 0 0;}
    .board-btn > button {padding:10px 0; width: 100%; font-size: 13px;}    
}

@media (max-width:430px) {
    .intro-btns {width: 100%;}

    .list-tb td.td_cursor > p,
    .list-tb td.td_meg > span {width: 170px;}
}
