@charset "utf-8";
/*
------------------------------------------------------------------------------------------------------------------------
폼메일 쓰기 스타일
------------------------------------------------------------------------------------------------------------------------
*/
#formmail-write { position:relative;width: 100%;  font-size:18px }
#formmail-write .form-group { display:flex; margin-bottom:2.3rem; align-items: center;justify-content: space-between; }
#formmail-write .form-group label {width:20% ;color: #000; font-size: 2rem; font-weight: 600; }
#formmail-write .form-group .box label span{color: #E70000; font-size:2rem ; font-weight: 500;}
#formmail-write .form-group .input_box { width:80% }
#formmail-write .form-group .box{width: 48%;display: flex; justify-content: space-between; align-items: center;padding: 2.2rem 2.4rem; background-color: #f7f7f7; border-bottom: 1px solid #999;}
#formmail-write .form-group .content_box{width: 100%;display: flex; justify-content: space-between; align-items: start;padding: 2.2rem 2.4rem; background-color: #f7f7f7; border-bottom: 1px solid #999;}
#formmail-write .form-group .content_box label{width: 10% !important;}
#formmail-write .form-group .content_box2{width: 100%;display: flex; justify-content: space-between; align-items: center;padding: 2.2rem 2.4rem; background-color: #f7f7f7; border-bottom: 1px solid #999;}
#formmail-write .form-group .form-control { width:100%; height: 100%;  background-color: #f7f7f7;}
#formmail-write .form-footer {  text-align: center; }
#formmail-write .btn_submit { padding:1.6rem 6rem; font-size:1.2em; height:auto;margin-top: 8rem;}
#formmail-write .check-list { position:absolute; right:0; top:-30px }
#formmail-write .privacy-of-use {font-size:14px;padding:15px; border-top:1px solid #e0dedf; border-bottom:1px solid #e0dedf; height:150px; overflow-y:scroll }
#formmail-write .privacy-of-use .cont {margin-bottom:15px;}
#formmail-write .privacy-of-use h4 {margin-bottom: 5px}
#formmail-write .privacy-of-use dl { padding:10px 0}
#formmail-write .privacy-of-use dl dt { font-weight: 600}
#formmail-write .privacy-of-use dl dd { margin-left: 20px}
#formmail-write .privacy-of-use ul { margin-left:20px }
#formmail-write .privacy-of-use ul li { margin-top:5px }
#formmail-write .privacy-of-use table { width:100%; border-collapse: collapse }
#formmail-write .privacy-of-use table th,
#formmail-write .privacy-of-use table td { border:1px solid rgb(226,226,226); padding:5px }
#formmail-write .privacy-of-use table th { background:rgb(245,245,247) }

#formmail-write .privacy-of-use-check { text-align: left; padding:10px; color:#8a8a8a; font-size:14px; display: flex; align-items: center; gap: 0 10px;}
#formmail-write .privacy-of-use-check label{font-size: 1.6rem; font-weight: 500;}


/* 약관동의 팝업 */
.pop-btn1{color: rgba(153, 153, 153, 0.70); font-size: 1.3rem;padding-left: 1.2rem;}
.pop_wrap {display: none;position: fixed;top: 0;left: 0;background: rgb(0, 0, 0, 0.3);width: 100%;  height: 100%;  z-index: 9999;}
.pop_wrap .pop-inner {position: absolute;  top: 50%;  left: 50%;  transform: translate(-50%, -50%);  width: 90%;  max-width: 650px;  height: 55vh;  max-height: 600px;  padding: 50px ; background: #fff;  border-radius: 20px;overflow: hidden;}
.pop_wrap .pop-inner h3{text-align: center; font-size:2rem ; font-weight: 600; padding: 0.5rem 0;padding-bottom: 3rem;}
.pop_wrap .pop-inner p{line-height: 140%;}
.pop_wrap .pop-text{height: 80%; overflow-y: scroll;}
.pop-close {  position: absolute;  top: 13px;  right: 22px;  width: 30px;  height: 30px;  cursor: pointer;font-size: 3rem; font-weight: 500;font-family: 'Pretendard';}
.pop-close i{font-size: 24px;}



/* 첨부파일 */
.file-group .hidden_file{position: absolute;width: 0;height: 0;overflow: hidden;}
.file-group .file_upload{background: transparent;width: 100px;height: 100%;display: flex;align-items:center;justify-content:center;color:#000;}
.file-group  input[name = 'wr_8_del']{display: none;}
.file-group .file_delx2{width: 100px; height: 100%; background: #eee; font-size: 1.6rem; display: flex; justify-content: center; align-items: center;}

.file-group .file_del{position: relative;display: inline-flex;align-items:center;}
.file-group .file_del input{display: none;}
.file-group .file_del span{display: inline-block;width: 17px;height: 17px;border: 1px solid #c8ccd4;background: #fff;border-radius:3px;transition:background 0.2s ease;position: absolute;left:0;top:50%;transform:translateY(-50%);}
.file-group .file_del span::after{content:"";position: absolute;top:1px;left:5px;width: 5px;height: 11px;border-right: 2px solid #fff;border-bottom: 2px solid #fff;transform:rotate(45deg) scale(0);transition:all 0.3s ease 0.15s;opacity:0;}
.file-group .file_del label{cursor:pointer;padding-left: 23px;position: relative;z-index: 1;word-break:break-all;display: inline-block;line-height: 1em;}
.file-group .file_del label.sound_only{width: 17px;height: 17px;}
.file-group .file_del label.sound_only .sch_word{display: none !important;}
.file-group .file_del input:checked ~ span{border-color: transparent;background: #1c54a7;animation: checkbox-jelly 0.6s ease;}
.file-group .file_del input:checked ~ span:after{opacity:1;transform:rotate(45deg) scale(1);}

.file-group{display: flex; align-items: center;width: 100%;}
.file-group>label{width: 10%!important;}
.file-group .write_box{display: flex; background: transparent; position: relative;   height: 40px;width: 100%;}
.file-group .write_box input{background: transparent; width: 100%;}
.file_upload{width: 100%!important;position: absolute;top: 0; left: 0;}
.file_box{width: 90%; max-width: 300px;}
#formmail-write .form-group .content_box2 .file_name{width: 100%;}

@media screen and (max-width:1200px) {
    #formmail-write .form-group label{font-size: 1.8rem;}
}
@media screen and (max-width:650px) {
    #formmail-write .form-group .box{width: 100%;margin-bottom: 3rem;}
    #formmail-write .form-group{margin-bottom: 0 ; flex-wrap: wrap;} 
    .file-group{gap: 0 3rem;}
    #formmail-write .form-group .content_box{margin-bottom: 3rem;}
}
@media screen and (max-width:650px) {
    #formmail-write .form-group .content_box label{width: 20%!important; }
}
