@charset "utf-8";
/*
------------------------------------------------------------------------------------------------------------------------
폼메일 쓰기 스타일
------------------------------------------------------------------------------------------------------------------------
*/
#formmail-write { position:relative; font-size:18px }
#formmail-write .form-group { display:flex; padding-bottom:1.5rem;margin-bottom: 1.5rem; align-items: start;border-bottom: 1px solid #dddddd;}
#formmail-write .form-group>label { width:17% ;font-size: 1.8rem; font-weight: 600;margin-top: 12px; }
/* #formmail-write .form-group>div { width:80% } */
#formmail-write .form-group.col4>label { width:17% ;font-size: 1.8rem; font-weight: 600;margin-top: 12px;}
#formmail-write .form-group.col4>div { width:83% }
#formmail-write .form-group .form-control { width:100%; padding:1.2rem 1rem ; border:1px solid #e0dedf }
#formmail-write .form-footer { padding-top:50px; text-align: center;}
#formmail-write .btn_submit { padding:1.7rem 4rem; font-size:1.2em; background-color: #FD8801;border-radius: 30px; font-weight: 600; font-size: 2rem;transition: all 0.3s;}
#formmail-write .btn_submit:hover{box-shadow: 3px 3px 10px #11111134;}
#formmail-write .check-list { position:absolute; right:0; top:-30px }
#formmail-write .privacy-of-use {font-size:14px;padding:15px; border:1px solid #e0dedf; height:150px; overflow-y:scroll;margin-bottom: 3rem;margin-top: 12px; }
#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: center; padding:10px; color:#8a8a8a; font-size:1.8rem; }

.required_mark{font-weight: 800 !important; color: #de4f41 !important;}

.address_input_wrap{display: flex; flex-direction: column; gap:1rem 0 ;}
.addr_input input{padding:1.2rem 1rem ;border: 1px solid #e0dedf;}
.addr_input button{padding:1.2rem 2rem ; background-color: #f8f8f8; border: 1px solid #e0dedf;}


.toggle-group {
  display: inline-flex;
  gap: 10px;
}

/* 라디오 숨김 */
.toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* 토글 버튼 공통 스타일 */
.toggle-btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 30px;
  border: 1px solid #ccc;
  background: #f8f9fa;
  color: #333;font-size: 1.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* 선택 상태 */
.toggle input:checked + .toggle-btn {
  background: #CA0016;
  color: #fff !important;
  border-color: #CA0016;
  box-shadow: 0 3px 8px rgba(95, 14, 14, 0.3);
}

/* hover 시 */
.toggle-btn:hover {
  background: #e2e8f0;
}


.file-group .hidden_file{position: absolute;margin-left:500px;}
.file-group .file_text{overflow: hidden;}
.file-group .file_upload{background: transparent;width: 100px;height: 100%;display: flex;align-items:center;justify-content:start;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{width: 78%;}
.file_wrap{display: flex; align-items: center;width: 100%;}
.file-group .write_box{display: flex; background: transparent; position: relative;   width: 100%;}
.file-group .write_box input{background: transparent; width: 100%;width: 31%; padding: 14px 10px ;border: 1px solid #e0dedf;}
.file_upload{width: 100%!important;position: absolute;top: 0; left: 0;}
.file_box{width: 100%;margin-bottom: 15px;}
.file_box:last-child{margin-bottom: 0;}
#formmail-write .form-group .content_box2 .file_name{width: 100%;}
.file_btn{background-color: #2f333e; color: #fff; text-align: center;padding: 1.2rem 3rem;border: none;font-size: 1.8rem;border-radius: 7px; }
.file_btn_plus{background-color: #FD8801;border-radius: 7px; color: #fff; text-align: center;padding: 1.2rem 3rem;  border: none;display: inline-block;position: absolute;top:  1px; right: 0%; }

.file_wrap {display: flex;position: relative;justify-content: start; align-items: start;} 
.file_wrap label{width: 17%; font-size: 1.8rem; font-weight: 600; }
.file_wrap label span{font-size: 1.4rem; color: #8a8a8a;}
#formmail-write .file_wrap input[type=text]{width: 70%;margin-left:15rem ;}