@charset "utf-8";

#closet_container {
    width: 100%;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
}

#closet_container .container_top {
    width: 100%;
    height: 7.5%;
    background-color: #FFF;
    padding: 10px;
    border-width: 2px 2px 0 2px;
    border-color: #000;
    border-style: solid;
    border-radius: 10px 10px 0 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#closet_container .container_top .co_empty {}

#closet_container .container_top .co_middle {
    width: 300px;
    height: 75%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
#closet_container .container_top .co_middle div:nth-child(1) {
    width: 50%;
    height: 25%;
    background-color: #DCDCDC;
    margin: 0 auto;
    border-width: 2px 2px 2px 2px;
    border-color: #333 #333 #DCDCDC #333;
    border-style: solid;
    border-radius: 10px 10px 0 0;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    top: 2px;
}
#closet_container .container_top .co_middle div:nth-child(2) {
    width: 100%;
    height: 75%;
    background-color: #DCDCDC;
    border-width: 2px;
    border-color: #333;
    border-style: solid;
    border-radius: 20px;
}

#closet_container .container_top .co_end {
    height: 100%;
    position: relative;
}
#closet_container .container_top .co_end ul {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
}
#closet_container .container_top .co_end ul li {margin: 0 0 0 5px;}



#closet_container .container_bottom {
    width: 100%;
    height: 92.5%;
    background-color: rgba(255,255,255,0.5);
    padding: 7px 10px;
    border-width: 0 2px 2px 2px;
    border-color: #000;
    border-style: solid;
    border-radius: 0 0 5px 5px;
    box-sizing: border-box;
    overflow-y: auto;
    scrollbar-width: none;
}

#closet_container .container_bottom .box_side {
    width: 16%;
    height: 100%;
    margin: 0 10px 0 0;
    box-sizing: border-box;
    float: left;
}
#closet_container .container_bottom .box_side .cha_card {
    width: 100%;
    height: 49.5%;
    background-color: #FFF;
    padding: 20px;
    border: 2px solid #000;
    border-radius: 10px;
    box-sizing: border-box;
}
#closet_container .container_bottom .box_side .cha_card:nth-child(1) {
    margin: 0 0 2.5% 0;
}
#closet_container .container_bottom .box_side .cha_card .name {
    padding: 10px 0;
    margin: 0 0 10px;
    box-sizing: border-box;
    font-size: 2em;
    font-weight: 800;
    line-height: 1;
}
#closet_container .container_bottom .box_side .cha_card .thumb {
    width: 100%;
    height: 70.5%;
    background-color: #DCDCDC;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    border: 2px solid #000;
    box-sizing: border-box;
}
#closet_container .container_bottom .box_side .cha_card .birth {
    color: #333;
    margin: 5px 0 0;
    text-align: right;
    font-family: 'barcode';
    font-size: 3em;
    letter-spacing: 3.5px;
    line-height: 1.5;
}



#closet_container .container_bottom .box_character {
    width: 52.75%;
    height: 100%;
    background-color: #FFF;
    background-image: linear-gradient(#DCDCDC 1px, transparent 1px), linear-gradient(90deg, #DCDCDC 1px, transparent 1px), linear-gradient(#DCDCDC 1px, transparent 1px), linear-gradient(90deg, #DCDCDC 1px, transparent 1px);
    background-size: 200px 200px, 200px 200px, 40px 40px, 40px 40px;
    background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
    border: 2px solid #000;
    border-radius: 10px;
    box-sizing: border-box;
    float: left;
    display: grid;
    justify-content: center;
    align-content: center;
}
#closet_container .container_bottom .box_character .cha_box {
    width: 900px;
    height: 568px;
    background-color: #FFF;
    border: 2px solid #333;
    box-sizing: border-box;
}
#closet_container .container_bottom .box_character .cha_box .c_b {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
#closet_container .container_bottom .box_character .cha_box .c_b .background_acc {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 21;
}
#closet_container .container_bottom .box_character .cha_box .c_b .cha_body {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#closet_container .container_bottom .box_character .cha_box .c_b .cha_cloth {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 5;
}
#closet_container .container_bottom .box_character .cha_box .c_b .cha_hair {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 4;
}
#closet_container .container_bottom .box_character .cha_box .c_b .cha_acc {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 20;
}


#closet_container .container_bottom .box_character .cha_voice {
    width: 900px;
    height: 110px;
    margin: 25px 0 0;
}
#closet_container .container_bottom .box_character .cha_voice p {
    width: 100%;
    height: 50px;
    background-color: #FFF;
    padding: 0 10px;
    line-height: 2;
    font-size: 1.8em;
    font-weight: 800;
    border: 2px solid #333;
    box-sizing: border-box;
}
#closet_container .container_bottom .box_character .cha_voice p:nth-child(2) {
    margin: 10px 0 0;
}

#closet_container .container_bottom .box_closet {
    width: 30.15%;
    height: 100%;
    margin: 0 0 0 10px;
    box-sizing: border-box;
    float: right;
    display: flex;
}

#closet_container .container_bottom .box_closet .bg_menu_list {
    width: 80px;
    height: 100%;
    background-color: #FFF;
    border: 2px solid #333;
    box-sizing: border-box;
    position: relative;
    overflow-y: auto;
}
#closet_container .container_bottom .box_closet .closet_content {
    width: 485px;
    height: 100%;
    margin: 0 0 0 10px;
}
#closet_container .container_bottom .box_closet .closet_content .closet_div {
    height: 96%;
    padding: 5px 0 0 0;
    box-sizing: border-box;
}
#closet_container .container_bottom .box_closet .closet_content .closet_label {
    padding: 10px 3px;
    font-size: 1.2em;
    font-weight: 800;
}
#closet_container .container_bottom .box_closet .closet_content .hair,
#closet_container .container_bottom .box_closet .closet_content .original,
#closet_container .container_bottom .box_closet .closet_content .au,
#closet_container .container_bottom .box_closet .closet_content .acc,
#closet_container .container_bottom .box_closet .closet_content .etc {
    display: flex;
    flex-wrap: wrap;
}

#closet_container .container_bottom .box_closet .closet_tab_footer {
    height: 10.1%;
    background-color: #757575;
    padding: 10px;
    border-width: 0 2px 2px 2px;
    border-style: solid;
    border-color: #333;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    line-height: 1;
}



/***** 커스텀 버튼 *****/
.custom_btn {
    width: 50px;
    height: 50px;
    display: inline-block;
    border: 2px solid #000;
    border-radius: 5px;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;
}
.custom_btn .material-symbols-outlined {
    font-size: 2.5em;
    line-height: 1.5;
}
.bg_btn,
.cap_btn {
    width: 60px;
    height: 60px;
    margin: 5px auto 0;
    border: 2px solid #333;
    border-radius: 5px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.cap_btn .material-symbols-outlined,
.bg_btn .material-symbols-outlined {
    font-size: 3em;
    cursor: pointer;
}
.cloth_btn,
.hair_btn,
.acc_btn,
.etc_btn {
    width: 110px;
    height: 180px;
    background-color: #DCDCDC;
    border: 2px solid #333;
    margin: 0 1.5px 5px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.cloth_btn .c_b_img,
.hair_btn .h_b_img,
.acc_btn .a_b_img,
.etc_btn .e_b_img {
    width: 90px;
    height: 110px;
    background-color: #FFF;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid #333;
    cursor: pointer;
}
.barcode_btn {
    font-family: 'barcode';
    font-size: 4em;
    letter-spacing: 3.5px;
}
.save_btn,
.write_btn {
    background-color: #333;
    color: #FFF !important;
    padding: 5px 15px;
    border: 0;
}
.update_btn {
    height: 10px;
    line-height: 0;
}
.update_btn a .material-symbols-outlined {
    font-size: 0.7em;
    color: #333;
}
.btn_delete {cursor: pointer;}


/***** 팝업창 *****/
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    background: #FFF;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}
.popup_head {
    padding: 5px 10px;
    background-color: #333;
    color: #FFF;
    font-size: 1.3em;
    font-weight: 800;
    line-height: 2;
    display: flex;
    align-items: center;
}
.popup_head .material-symbols-outlined {
    color: #FFF;
    font-size: 20px;
    margin: 0 5px 0 0;
}
.popup.active {display: block;}
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}
.popup-overlay.active {display: block;}
.list_form {padding: 40px;}


/***** 탭 메뉴 *****/
ul.closet_tabs {
    height: 3.45%;
    border: 2px solid #333;
    display: flex;
    align-items: center;
}

ul.closet_tabs li {
    width: 25%;
    height: 100%;
    background-color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}

ul.closet_tabs li.current{
    background-color: #757575;
    font-weight: 800;
}

.closet_tab_content {
    display: none;
    height: 90%;
    background-color: #FFF;
    padding: 15px 10px;
    border-width: 2px 2px 0 2px;
    border-style: solid;
    border-color: #333;
    box-sizing: border-box;
    overflow-y: auto;
    scrollbar-width: none;
}

.closet_tab_content.current{
    display: inherit;
}


/***** 글쓰기 *****/
#closet_write {
    max-width: 1000px;
    margin: 0 auto;
}
#closet_write textarea {
    height: 30px;
    min-height: 30px;
    background-color: #FFF;
    color: #000;
    margin: 0;
    padding: 0;
    border: 2px solid #333;
    text-align: center;
    line-height: 2.5;
    resize: none;
}

/***** 첨부파일 커스텀 *****/
#file_box {display: flex;}
#file_box .file .label {
    width: 100%;
    background-color: #FFF;
    color: #333;
    display: inline-block;
    text-align: center;
    padding: 5px;
    border: 2px solid #333;
    margin: 0 0 5px 0;
    box-sizing: border-box;
    font-weight: bold;
}
#file_box .file {
    width: 50%;
    padding: 2px;
}
#file_box .file input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip:rect(0,0,0,0);
    border: 0;
}
#file_box .file .img {
    width: 100%;
    height: 100px;
    background-color: #FFF;
    border: 2px solid #333;
    box-sizing: border-box;
    margin: 0 0 10px 0;
    position: relative;
}
#file_box .file .img input {
    position: absolute;
    z-index: 2;
    width: 10px;
    height: 10px;
    top: 2px;
}
#file_box .file .img .bf_file_del {
    width: 10px;
    height: 10px;
}
#file_box .file .img label img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}



