.contents_container .contents .content:has(.view__wrap){
  /*width: calc(100% - 55px);*/
  width: 100%;
  padding: 0;
  transition: width 0.2s ease;
}
/* snb가 fold 되어 있을 때 content 넓이 조정정 */
.contents_container .contents .content.content_wide{
  width: 100%;
}

/* view wrap */
.view__wrap{
  max-height: calc(100% - 100px);
  overflow-y: auto;
  padding: 25px;
  box-sizing: border-box;
}

/* th 필수 요소 표시 */
.require_sign{
  margin-left: 5px;
}

/* input_form__box */
.input_form__box {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
  background-color: var(--bg-default);
  border: solid 1px var(--neutral-midium);
  border-radius: 6px;
  padding: 30px;
  box-sizing: border-box;
}
input[type='text'],
input[type='password']{
  height: 50px;
  padding: 0 20px;
  box-sizing: border-box;
}
input[type='password']{
  padding-right: 50px;
}
.input_form__box .input_title{
  display: inline-block;
  margin-bottom: 10px;
}

.input_item_box {
  display: flex;
  gap:16px;
}

.search_box{

}

.input_item_box .select_label .err {
  border : 1px solid var(--field-error-border);
  background-color: var(--field-error-bg);
}

.input_item_box .select_label .err_txt {
  height: 16px;
  background: var(--error-icon) no-repeat left;
  color: var(--gray-70);
  padding-left: 22px;
  margin-top:8px;
}

.date_label{
  width: 100%;
}
.date_label .date_box{
  display: flex;
  align-items: center;
  gap: 10px;
}
.date_box .datepicker{
  max-width: 260px;
}

.title_form__box {
  width: 100%;
  background-color: var(--bg-default);
  border: solid 1px var(--neutral-midium);
  border-radius: 6px;
  padding: 20px;
  box-sizing: border-box;
  margin-top: 10px;
}

.title_form__title {
  font-size: 22px;
  padding-bottom: 13px;
}

.title_form_table {
  width: 100%;
}

.title_form_table th {
  width: 194px;
  font-weight: 500;
  border-bottom: 1px solid var(--neutral-midium);
  box-sizing: border-box;
  vertical-align: middle;
  text-align: left;
  line-height: 1.2;
  word-break: keep-all;
  padding-left: 10px;
  font-size: 15px;
}

.title_form_table td.tail {
  width: 115px;
  font-weight: 400;
  border-bottom: 1px solid var(--neutral-midium);
  border-left: 1px solid var(--neutral-midium);
  box-sizing: border-box;
  vertical-align: middle;
  text-align: left;
  padding: 0;
}

.title_form_table td {
  width: calc(100% - 194px);
  border: 1px solid var(--neutral-midium);
  box-sizing: border-box;
  vertical-align: middle;
  font-size: 15px;
}

table.view td > *:not(button,label,p,input,textarea,.disabled) {
  min-height: 40px;
  padding: 10px;
  box-sizing: border-box;
  font-size: 14px;
  color: var(--neutral-default);
  border-radius: 4px;
  border: solid 1px var(--field-inactive-border) !important;
  background-color: var(--field-inactive-bg); 
  width: 100%;
  display: block;
  line-height: 1.5;
}
.title_form_table tr:first-child {
  border-top: 2px solid var(--neutral-dark);
  box-sizing: border-box;
}

.title_form_table td {
  height: 45px;
  padding: 10px 15px;
}

.title_form_table td.area {
  height: auto;
  min-height: 200px;
  padding: 10px 15px;
  vertical-align: top;
}

.title_form_table td.single {
  border-left: none;
}

.title_form_table td:last-child:not(.select) {
  border-right: none;
  padding-right: 0;
}

.title_form_table input[type='text']{
  height: 40px;
  padding: 10px 20px;
  box-sizing: border-box;
  font-size: 15px;
  border-radius: 4px;
}

.title_form_table td.disabled {
  background-color: var(--field-disable-bg);
  color: var(--neutral-darker);
}

.title_form_table td ul.check_list,
.title_form_table td ul.file_list{
  display: flex;
  flex-wrap: wrap;
}

.title_form_table td ul.file_list2{
  display: flex;
  flex-wrap: wrap;
}


/* title_form_table check_list */
.title_form_table td ul.check_list{
  gap: 15px;
}

.title_form_table td ul.check_list li{
  display: flex;
  align-items: center;
}

/* title_form_table file_list */
.title_form_table td ul.file_list{
  gap: 10px;
}
.title_form_table td ul.file_list2{
  gap: 10px;
}

.title_form_table td ul.file_list li{
  position: relative;
  height: 40px;
}
.title_form_table td ul.file_list2 li{
  position: relative;
  height: 40px;
}

.title_form_table td ul.file_list li:before{
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  content: '';
  width: 20px;
  height: 20px;
  background-image: var(--input-file-icon);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}
.title_form_table td ul.file_list2 li:before{
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  content: '';
  width: 20px;
  height: 20px;
  background-image: var(--input-file-icon);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

.title_form_table td ul.file_list li a{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  z-index: 2;
  font-size: 14px;
  color: var(--neutral-default);
  border: 1px solid var(--neutral-light);
  padding: 0 50px 0 35px;
  box-sizing: border-box;
  border-radius: 6px;
}

.title_form_table td ul.file_list2 li a{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  z-index: 2;
  font-size: 14px;
  color: var(--neutral-default);
  border: 1px solid var(--neutral-light);
  padding: 0 50px 0 35px;
  box-sizing: border-box;
  border-radius: 6px;
}

.title_form_table td ul.file_list li button{
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 10px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  border: none;
  background-color: transparent;
  background-image: var(--input-file-delete);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

.title_form_table td ul.file_list2 li button{
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 10px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  border: none;
  background-color: transparent;
  background-image: var(--input-file-delete);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* save__box */
.save__box{
  position: fixed;
  bottom: 0;
  left: 0;
  padding-left: 100px;
  z-index: 1100;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  /* width: calc(100% - 245px); */
  width: 100%;
  height: 100px;
  box-sizing: border-box;
  background-color: var(--bg-default);
  -webkit-box-shadow: 0 -4px 14px 0 rgba(0,0,0,0.06);
  box-shadow: 0 -4px 14px 0 rgba(0,0,0,0.06);
  transition: left 0.2s ease, width 0.2s ease;
}
.save__box.wide_mode {
  left: 0;
  width: 100%;
}
.save__box button {
  width: 105px;
  height: 50px;
  font-size: 14px;
  font-weight: 500;
}

/* snb가 fold 되었을 때 저장/취소 버튼 영역 넓이 */
.contents_container .contents .content.content_wide .save__box{
  width: calc(100% - 190px);
}
/* snb와 aside(lnb)가 모두 fold 되었을 때 저장/취소 버튼 영역 넓이 */
.contents_container .contents.wide_mode .content.content_wide .save__box{
  width: calc(100% - 58px);
  left: 58px;
}
/************ Responsive *************/
/* tablet */
@media screen and (max-width:1280px) {
  .save__box,
  .save__box.wide_mode,
  .contents_container .contents .content.content_wide .save__box,
  .contents_container .contents.wide_mode .content.content_wide .save__box{
    width: calc(100% - 55px);
  }
  .save__box{
    left: 0;
    width: 100%;
  }
  .contents_container .contents .content.content_wide .save__box{
    left: 58px;
  }
}
@media screen and (max-width:1024px){
  .input_form__box,
  .title_form__box{
    padding: 20px 15px;
  }
  .title_form_table th{
    font-size: 14px;
    width: 120px;
    padding-left: 10px;
  }
  .title_form_table td{
    padding: 15px;
  }
  table.view td > *:not(button,label,p,input,textarea,.disabled) {
    min-height: 40px;
    padding: 10px;
    box-sizing: border-box;
    font-size: 14px;
    color: var(--neutral-default);
    border-radius: 4px;
    border: solid 1px var(--field-inactive-border) !important;
    background-color: var(--field-inactive-bg); 
    width: 100%;
    display: block;
  }
}
/* mobile */
@media screen and (max-width:640px) {
  .contents_container .contents .content{
    width: 100%;
  }

  .save__box,
  .save__box.wide_mode,
  .contents_container .contents .content.content_wide .save__box,
  .contents_container .contents.wide_mode .content.content_wide .save__box{
    width: 100%;
  }

  .contents_container .contents .content.content_wide .save__box,
  .contents_container .contents.wide_mode .content.content_wide .save__box{
    left: 0;
  }

  /* view__wrap */
  .view__wrap{
    max-height: calc(100% - 75px);
    padding: 15px;
  }

  /* input_form__box */
  .input_form__box{
    gap: 20px;
  }
  .input_form__box .input_item_box{
    flex-direction: column;
    gap: 20px;
  }
  .input_form__box input[type='text'],
  .input_form__box input[type='password'],
  .input_item_box .select_label select{
    height: 45px;
    padding: 0 10px;
  }
  .input_form__box input[type='password']{
    padding-right: 40px;
  }
  .password__box button{
    right: 10px;
  }
  .input_item_box .text_label .search{
    padding-left: 45px;
    background-position: center left 10px;
  }
  .input_form__box .search_box{
    gap: 10px;
  }
  .input_btn__box{
    width: 100%;
    gap: 8px;
  }
  .input_btn__box .search_btn,
  .input_btn__box .delete_btn{
    height: 45px;
    width: 50%;
  }
  .date_box{flex-wrap: wrap;}
  .date_box .datepicker{
    width: calc(100% - 25px);
    max-width: none;
    padding: 0 10px;
  }

  /* title_form__box */
  .title_form_table,
  .title_form_table tbody{
    display: block;
  }
  .title_form_table,
  .title_form_table thead {
    display: block;
  }
  .title_form_table tr{
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px 0;
  }
  .title_form_table tr:last-of-type{
    padding-bottom: 0;
  }
  .title_form_table tr:not(:last-of-type){
    border-bottom: 1px solid var(--neutral-midium);
  }
  .title_form_table th{
    border: none;
    width: 100%;
    padding-left: 5px;
    font-size: 15px;
  }
  .title_form_table th br{display: none;}
  .title_form_table td{
    width: 100%;
    height: auto;
    padding: 0;
    border: none;
  }
  table.view td > *:not(button,label,p,input,textarea,.disabled) {
    min-height: 40px;
    padding: 10px;
    box-sizing: border-box;
    font-size: 14px;
    color: var(--neutral-default);
    border-radius: 4px;
    border: solid 1px var(--field-inactive-border) !important;
    background-color: var(--field-inactive-bg); 
    width: 100%;
  }
  .title_form_table td:not(:last-of-type){
    padding-bottom: 20px;
    border-bottom: 1px solid var(--neutral-midium);
  }
  .title_form_table td.area {
    padding: 0;
  }
  .title_form_table input[type='text']{
    height: 45px;
    padding: 0 10px;
  }
  .title_form_table td ul.file_list li{
    width: 100%;
  }
  .title_form_table td ul.file_list li a{
    justify-content: flex-start;
  }
  .title_form_table td ul.file_list li a span{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    width: 100%;
    line-height: 1.2;
  }

  /* save__box */
  .save__box{
    height: 75px;
    border-top: 1px solid var(--neutral-midium);
    padding: 0;
  }
  .save__box button{
    width: auto;
    height: 45px;
  }

  #serviceList {
    display: grid;
  }
}
