.notice_file {
  list-style: none;
  margin: auto;
  padding: 0;
  background: #FFFFFF;
  border: 1px solid #E1E4E8;
  border-radius: 6px;
}
.notice_file_list {
  padding: 0 28px 12px 28px;
  display: grid;
  align-items: center;
  grid-template-columns : minmax(100px,7fr) minmax(80px,1fr);
}
.notice_file_list:first-child {
  padding-top: 28px;
}
.notice_file_list:last-child {
  padding-bottom: 28px;
}
.notice_file_name {
  overflow: hidden;
  text-overflow: ellipsis; 
}
.notice_file_name > a {
  white-space: nowrap;  
  vertical-align : middle;
  font-weight: 500;
  font-size: 13px;
  color: #333333;
}
.notice_file_name img {
  width: 28px;
  height: 28px;
  margin-right: 12px;
  vertical-align: middle;
}
.notice_file_data {
  color: #6C747A;
}

/* 231207 버튼 추가 디자인 */
.file_info_wrap {
  width: 100%;
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
}
.file_info_wrap > a {
  white-space: nowrap;  
  vertical-align : middle;
  font-weight: 500;
  font-size: 13px;
  color: #333333;
  cursor: pointer;
}
.file_info_wrap img {
  width: 28px;
  height: 28px;
  vertical-align: middle;
}
.file_info {
  width: calc(100% - 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.file_name {
  display:block;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.attach_file_name{
  color: #444;
}
.file_name_inner_wrap {
  display: inline-block;
  vertical-align: middle;
  line-height: 1.2;
  width: calc(100% - 50px);
}
.file_name_inner_wrap a {
  color: black;
  margin-right: 6px;
  overflow: hidden;
  display: inline-block;
  width: 100%;
  text-wrap: nowrap;
  text-overflow: ellipsis;
  vertical-align: middle;
}
.file_size {
  color: #6C747A;
}
.file_button_wrap {
  display: inline-flex;
  padding-top:2px;
  vertical-align: middle;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.file_button_wrap a {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor:pointer;
}
.file_icon {
  display:inline-block;
  width:28px;
  height:28px;
  border-radius:3px;
}
.file_icon.file_icon_download {
  background: url('/el/images/class/icon/attachment/icon_download.png') no-repeat;
}
.file_icon.file_icon_download:not(.disabled):hover,
.file_icon.file_icon_download:not(.disabled):focus {
  background: url('/el/images/class/icon/attachment/icon_download_hover.png') no-repeat;
}
.file_icon.file_icon_doc_preview {
  background: url('/el/images/class/icon/attachment/icon_doc_preview.png') no-repeat;
}
.file_icon.file_icon_doc_preview:not(.disabled):hover,
.file_icon.file_icon_doc_preview:not(.disabled):focus {
  background: url('/el/images/class/icon/attachment/icon_doc_preview_hover.png') no-repeat;
}
.file_button_wrap > a.site-link:hover > .file_icon.file_icon_download:not(.disabled),
.file_button_wrap > a.site-link:focus > .file_icon.file_icon_download:not(.disabled){
  background: url('/el/images/class/icon/attachment/icon_download_hover.png') no-repeat;
}
.file_button_wrap > a.site-link:hover > .file_icon.file_icon_doc_preview:not(.disabled),
.file_button_wrap > a.site-link:focus > .file_icon.file_icon_doc_preview:not(.disabled){
  background: url('/el/images/class/icon/attachment/icon_doc_preview_hover.png') no-repeat;
}
/* 231207 버튼 추가 디자인 끝 */

@media screen and (max-width: 640px) {
  .file_title {
    font-size: 16px;
    line-height: 23px;
    margin-bottom: 10px;
  }
  .notice_content_file {
    text-align: left;
    font-size: 12px;
  }
  .notice_file_list {
    padding: 0 20px 12px 20px;
  }
  .notice_file_list:first-child {
    padding-top: 20px;
  }
  .notice_file_list:last-child {
    padding-bottom: 20px;
  }
}

@media screen and (max-width: 480px) {
  .notice_file_list{
    flex-direction: column;
    align-items: flex-start;
    position : relative;
    height: 50px;
  }
  .attach_file_name{
    overflow : hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .notice_file_list:first-child{
    padding-top : 0;
    margin-top: 20px;
  }
  .notice_file_list:last-child{
    padding-bottom: 20px;
    margin-bottom: 8px;
  }
}