.mfo_tabs_wrapper {
  /*margin-bottom: 100px;*/
}
.pageHeading + .mfo_tabs_wrapper{
  /*margin-top: 20px;*/
  margin-top: 5px;
}
.mfo_tabs_wrapper .tab_btn_container {
  display: flex;
  gap: 0 0;
}

.mfo_tabs_wrapper .tab_btn_container > p {
  flex: 1 1 auto;
  height: 67px;
  background: #FFFFFF;
  border: solid #D6D6D6;
  border-width: 2px 2px 0 2px;
  border-radius: var(--roundCornerSmall) var(--roundCornerSmall) 0px 0px;
  cursor: pointer;
  font-weight: 500;
  font-size: 20px;
  color: #676767;
  display: grid;
  place-items: center;
  width: calc(100% / 3);
}
.mfo_tabs_wrapper .tab_btn_container > p b{
  font-weight: 400;
  width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.mfo_tabs_wrapper .tab_btn_container > p.active {
  background-color: var( --colorOrange);
  color: white;
  border: solid var( --colorOrange);
  font-weight: 700;
  border-width: 0px 0px 0 0px;
}

.mfo_tabs_wrapper .panel_container {
  border: 2px solid var( --colorOrange);
  background: white;
  padding: 40px 50px;
  border-radius: 0px 0px var(--roundCornerSmall) var(--roundCornerSmall);
}
.mfo_tabs_wrapper .panel_container img{
  max-width: 100%;
  height: auto !important;
}
.detail_mfo_tabs_wrapper .mfo_tabs_wrapper .panel_detail{
  display: none;
}
.detail_mfo_tabs_wrapper .mfo_tabs_wrapper .panel_detail.active{
  display: block;
}
.mfo_tabs_wrapper .panel_container .sub-title{  
  background-image: url('../assets/material/mfoListDot.svg');
  background-repeat: no-repeat;
  background-position: 0 2px;
  font-weight: 500;
  font-size: 18px;
  padding-left: 20px;
  margin-bottom: 18px;
  line-height: 1.2;
}
.mfo_tabs_wrapper .panel_container > div > ul > li {
  /*
  list-style: url('../assets/material/mfoListDot.svg');
  list-style-position: outside;
  font-weight: 500;
  font-size: 18px;
  padding-left: 10px;
  margin-bottom: 18px;
  */
}
.mfo_tabs_wrapper .panel_container > div > ul > li > ul {
  /*
  margin-top: 10px;
  padding-left: 22px;
  */
}

.mfo_tabs_wrapper .panel_container > div > ul > li > ul > li {
  list-style: disc;
  margin-bottom: 10px;
  list-style-position: outside;
  font-weight: 400;
  line-height: 30px;
  color: #1B1B1B;
}
.tab_box{
  width: 100%;
  border-radius: 20px;
  margin-top: 48px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: var(--boxshadow);
}
.tab_list{
  height: 145px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background: #F7F7F7;
}
.tab_option{
  width: 260px;
  font-weight: 500;
  font-size: 20px;
  line-height: 29px;
  color: #FFFFFF;
  padding: 16px 0;
  background: #FF6700;
  border-radius: 33.5px;
  text-align: center;
  opacity: .5;
  cursor: pointer;
}
.tab_option.active{
  opacity: 1;
}
.tab_option:hover{
  opacity: 1;
}
.tab_contents{
  padding: 48px 66px;
}
.tab_item{
  display: none;
}
.tab_item.active{
  display: block;
  position: relative;
}
.tab_item .item_upload_list{
  /*margin-left: 0 !important;*/
  margin-top: 0 !important;
  /*width: 100% !important;*/
  width: fit-content !important;
  margin-left: auto !important;;
  margin-right: auto !important;
  
}
.tab_item .item_upload_list .add{
  margin-left: 20px;
  margin-right: 20px;
}
.tab_item .item_upload_list_1 .sub_box{
max-width: 380px;
}
.tab_item .item_upload_list_1 h5{
  height: 52px;
}
.tab_item .item_upload_list_1{
  justify-content: center !important;
  align-items:stretch !important;
  gap: 32px;
}
.tab_item .item_upload_list_1 .box{
  padding-bottom: 40px !important;
  display: flex;
  flex-direction: column;
}
.tab_item .item_upload_list_1 .card_list{
  flex-direction: column;
  width: 100%;
}
.tab_item .item_upload_list_1 .add{
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab_item .box_1 {
  /*min-width: 456px;
  max-width: 456px;*/
  min-width:calc(360px - 76px);
  max-width: calc(13.5vw + 76px);
  height: 100%;
  /*padding: 18px 32px 45px 32px !important;*/
  padding: 18px 38px 45px 38px !important;
}
.tab_contents{
  padding: 48px 30px;
  position: relative;
}
.tab_item .box_1{
  /*min-width: 370px;
  max-width: 370px;*/
}
.tab_box .tab_contents .tab_item .item_upload_list .sub_item .card_list.id_card_list .col:first-child{
  margin-right: 0;
}
.tab_box .tab_contents .tab_item:first-child .item_upload_list .sub_item:first-child{
  min-width: 33vw;
}
@media (max-width: 1680px) {
  .tab_box .tab_contents .tab_item:first-child .item_upload_list .sub_item:first-child{
    min-width: 38vw;
  }
  .tab_item .box_1 {
    max-width: calc(360px - 15px);
  }
}
@media (max-width: 1600px) {
  .tab_item .box_1{
      /*min-width: 334px;*/
  }
  .tab_item .item_upload_list_1 .card_list{
      /*width: 334px;*/
  }
  
}
@media (max-width: 1366px) {
  .tab_item .box_1{
      min-width: 284px;
  }
  .tab_item .item_upload_list_1 .card_list{
      width: 284px;
  }
  .tab_box .tab_contents .tab_item:first-child .item_upload_list .sub_item:first-child{
    min-width: 47vw;
  }
}
@media (max-width: 1024px) {
  .tab_contents{
      padding: 48px 15px;
  }
 
  .tab_item .box_1 {
      min-width: 100%;
      /*max-width: 100%;*/
      max-width: none;
      height: auto;
  }
  .tab_item .item_upload_list_1 .health_id_card{
      max-width: 383px;
      margin: 0 auto;
  }
  .tab_list{
      gap: 16px;
  }
  .tab_option{
      font-size: 16px;
      width: 180px;
      height: 48px;
      line-height: 48px;
      padding: 0;
  }
  .tab_box .tab_contents .tab_item:first-child .item_upload_list .sub_item:first-child{
    min-width: 85vw;
  }
  .tab_item .item_upload_list_1 .card_list{
    width: 380px;
  }
  .tab_item .item_upload_list_1 .card_list.id_card_list{    
    width: 380px;
    margin-left: auto;
    margin-right: auto;
  }  

  .tab_item .item_upload_list_1{
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .tab_item .item_upload_list_1 .card_list{
    /*width: 38vw;*/
  }
  .tab_item .item_upload_list_1 .box{
    /*max-width: calc(38vw + 76px);*/
    width: 100%;
  }
  .tab_item .item_upload_list_1 .card_list.id_card_list{
    width: 100%;
  }
  .tab_item .item_upload_list_1 .card_list #HHID_FRONT{
    width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 768px) {
  .tab_option{
      font-size: 14px;
      width: 90px;
      height: 32px;
      margin: 0 15px;
      /* padding: 6px 0; */
      font-size: 14px;
      line-height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #FFFFFF;
  }
  .tab_item .item_upload_list_1 .card_list{
      width: 289px;
  }
  .tab_list{
      gap: 16px;
      padding: 0 21px;
      height: 62px;
      gap: 0;
  }
  .tab_item .item_upload_list_1 h5{
      height: auto;
  }
  .tab_item .item_upload_list_1 .card_list #HHID_FRONT{
    width: 289px;
  }
}
@media (max-width: 767px) {
  
  .mfo_tabs_wrapper .tab_btn_container > p {
    height: 40px;
    border-width: 1px 1px 0 1px;
    border-radius: 12px 12px 0px 0px;
    font-size: 14px;
  }
  
  .mfo_tabs_wrapper .panel_container {
    border: 1px solid var( --colorOrange);
    padding: 25px 20px;
    border-radius: 0px 0px 12px 12px;
  }
  
  .mfo_tabs_wrapper .panel_container > div > ul > li {
    list-style-position: inside;
  }

  .mfo_tabs_wrapper .panel_container > div > ul > li {
    font-size: 16px;
    padding-left: 10px;
    margin-bottom: 18px;
  }
  
  .mfo_tabs_wrapper .panel_container > div > ul > li > ul {
    margin-top: 10px;
    padding-left: 42px;
  }
  
  .mfo_tabs_wrapper .panel_container > div > ul > li > ul > li {
    margin-bottom: 5px;
    line-height: 20px;
    font-size: 14px;
  }

  .mfo_tabs_wrapper {
    /*margin-bottom: 45px;*/
  }
  .tab_item .item_upload_list_1 .card_list{
      /*width: 100%*/
  }
  .tab_item .item_upload_list_1 .health_id_card{
      /*max-width:  unset;*/
      max-width: 100%;
      width: 100vw;
  }
  .tab_item .item_upload_list_1 .box .health_id_card{
    width: 100vw;
  }
  .tab_item .item_upload_list_1 .sub_box{
      max-width: unset;
  }
  .upload_text{
      font-size: 14px;
      line-height: 20px;
      margin-left: 10px;
  }
  .tab_list{
      padding: 15px 21px;
      height: 60px;
  }
  .tab_contents{
      padding: 32px 14px;
  }
  .tab_item .box{
      /*padding: 20px 16px 25px 16px !important;*/
      padding: 20px 16px 10px 16px !important;
  }
  
  .tab_item .item_upload_list_1 .card_list.id_card_list{
    width: 289px;
  }
  .tab_item .item_upload_list_1 .card_list #HHID_FRONT{
    width: 100%;
  }
}
@media (max-width: 640px) {

  .pageHeading + .mfo_tabs_wrapper{
    margin-top: 0px;
  }
  .tab_list {
    display: flex;
    /*justify-content: space-between;*/
    padding: 15px 15px;
  }
  .tab_option{
      margin: 0 5px;
      min-width: 92px;
      width: auto;
      padding: 0 15px;
  }
  .tab_item .item_upload_list_1 .box{
    padding-bottom: 0px !important;
  }
  .tab_item .item_upload_list_1 .card_list{
    width: 100%;
  }
  .tab_item .item_upload_list_1 .card_list.id_card_list{
    width: 100%;
  }
  .mfo_tabs_wrapper .panel_container .sub-title{        
    margin-bottom: 15px;
    font-size: 16px;
  }
  .tab_item .item_upload_list_1 .box .health_id_card{
    width: 100%;
  }
}
@media (max-width: 480px) {
  .mfo_tabs_wrapper .tab_btn_container > p b{
    width: 100%;
  }
}