.contents {
    max-width: 686px;
}

.select-items div,
.select-selected {
    height: 36px;
    border: 1px solid #c6c6c6;
}

.create_btn {
    width: 150px;
    height: 40px;
    font-size: 20px;
}

/* ---------- new radio 單選 --------- */
.radio_container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.radio_container input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.radio_container .checkmark {
    position: absolute;
    top: 8px;
    left: 8px;
    height: 24px;
    width: 24px;
    border: 2px solid #285ee4;
    border-radius: 50%;
}

/* 點擊時的狀態 */
.radio_container .outter {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: .3s;
}

/* .radio_container .outter:hover {
    background: #d2e0e4;
}

.radio_container .outter:active {
    background: #a7cdd0;
} */

/* 選取圓點 */
.radio_container .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #285ee4;
}

.radio_container input:checked~.outter .checkmark:after {
    display: block;
}

.input_area {
    width: calc(50% - 32px);
    min-width: 286px;
    margin: 0 16px 24px;
    position: relative;
}

.checkbox_group {
    width: 100%;
    position: relative;
    margin-bottom: 24px;
    text-align-last: left;
}

.input_area:not(:first-child)::before {
    content: '';
    width: 1px;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: -16px;
    background-image: linear-gradient(to bottom, #C6C6C6 0%, #C6C6C6 70%, transparent 50%);
    background-size: 1px 24px;
    background-repeat: repeat-y;
}

.radio_group {
    margin-bottom: 24px;
}

.radio_group>ul {
    margin-top: 8px;
}

.radio_group>ul li {
    margin-right: 8px;
}

.radio_container .checkmark-readonly {
    position: absolute;
    top: 8px;
    left: 8px;
    height: 24px;
    width: 24px;
    border: 2px solid #E7E6E6;
    border-radius: 50%;
}

.radio_container input:checked~.outter .checkmark-readonly:after {
    display: block;
}

.radio_container .checkmark-readonly:after {
    content: "";
    position: absolute;
    display: none;
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #E7E6E6;
}

.updateItems {
    text-decoration: underline;
}

@media screen and (max-width:768px) {
    .input_area {
        width: 100%;
        margin-left: 8px;
        margin-right: 8px;
    }

    .input_area::before {
        display: none;
    }
}

@media screen and (max-width: 450px) {
    .create_btn {
        width: 100%;
    }

    .form_modal .item_body{
        padding:16px;
    }

    #ex7_modal.modal .action {
        width: 100%;
    }

    #ex7_modal.modal .action .btn{
        width: 100%;
    }

    #ex7_modal.modal .action .btn + .btn{
        margin-left: 0;
    }
}


.right_arrow_btn {
    width: 36px;
    height: 36px;
    position: absolute;
    top: 0px;
    right: 0;
    pointer-events: none;
    margin-top: 25px;
    }
    
/* modal */
.blocker {
    min-width: 343px;
  }
  
  .modal_title_content {
    display: flex;
    flex-wrap: wrap;
  }
  
  .modal_title_content h3 {
    font-size: 35px;
    font-weight: 600;
    color: #285ee4;
    letter-spacing: 1px;
    margin-right: 16px;
    display: flex;
    position: relative;
  }
  
  .modal .link {
    display: inline-block;
    font-size: 18px;
    font-weight: normal;
    color: #0052d9;
    margin-left: 8px;
    margin-top: 8px;
  }
  
  .modal .link:hover {
    text-decoration: underline;
  }
  
  
  /* table */
  .modal .tableFixHead {
    height: 100%;
    min-height: 484px;
    max-height: 484px;
    overflow-y: auto;
    position: relative;
    /* box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); */
  }
  
  .modal table thead {
    position: sticky;
    top: 0;
    z-index: 1;
  }
  
  .modal table tr th,
  .modal table tr td {
    height: 44px;
  }
  
  .modal .sc-search_content {
    display: flex;
    position: relative;
    margin-bottom: 24px;
  }
  
  
  .modal .sc-search_content .record_search {
    width: 100%;
    height: 40px;
    border-radius: 20px;
    border: 2px solid transparent;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    background: #fff;
    padding: 4px 36px 4px 16px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  .modal .sc-search_content .record_search input[type=number],
  .modal .sc-search_content .record_search input[type=text] {
    border: 0;
    color: #767676;
    outline: none;
    height: 24px;
    font-size: 18px;
    overflow: hidden;
    width: 100%;
    height: 100%;
  }
  
  .modal .sc-search_content .record_search button {
    border: 0;
    right: 4px;
    top: -4px;
    position: absolute;
    background-color: transparent;
    z-index: 0;
    margin: 2px;
    cursor: pointer;
  }
  
  /* 收支對象 */
  .subtitle_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
  }
  
  .subtitle_info h5 {
    padding-bottom: 8px;
    margin-bottom: 16px;
    line-height: 36px;
    position: relative;
    display: flex;
    overflow-x: auto;
    cursor: pointer;
  }
  
  .subtitle_info h5 .tabs {
    position: relative;
    display: flex;
    align-items: center;
  }
  
  .subtitle_info h5 .tabs li {
  
    text-align: center;
    padding-right: 16px;
    position: relative;
    transition: .3s;
    letter-spacing: 4px;
    white-space: nowrap;
  }
  
  .subtitle_info h5 .tabs li a {
    font-size: 24px;
    font-weight: bold;
    color: #dbdbdb;
  }
  
  .subtitle_info h5 .tabs li:not(:first-child) {
    padding-left: 16px;
  }
  
  .subtitle_info h5 .tabs li:not(:last-child):after {
    content: '';
    position: absolute;
    height: 18px;
    width: 2px;
    background: #e0e0e0;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }
  
  .subtitle_info h5 .tabs a.active {
    color: #285ee4;
  }

/* ex8_modal */
#ex8_modal {
    width: 100%;
    max-width: 1080px;
    padding: 0 0;
  }
  
  
  #ex8_modal .modal_title_content {
    padding: 24px 16px 0;
  }
  
  #ex8_modal .modal_title_content .title {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  #ex8_modal .modal_title_content h3 {
    font-size: 32px;
    font-weight: bold;
    color: #383838;
    letter-spacing: 1px;
    margin-right: 16px;
    display: flex;
    align-items: end;
    position: relative;
    margin-bottom: 24px;
    flex-wrap: wrap;
  }
  
  #ex8_modal .sc-search_content {
    width: 100%;
    max-width: 311px;
  }
  
  #ex8_modal .search_btn>img {
    position: absolute;
    top: 0;
    right: 0;
  }
  
  
  
  
  #ex8_modal.modal .tb_container {
    padding-left: 0 !important;
    padding-top: 0 !important;
    width: 44px !important;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  #ex8_modal table tr th.all-check,
  #ex8_modal table tr td.tb-checkbox {
    width: 64px;
    max-width: 64px;
  }
  
  #ex8_modal table .tb-type {
    width: 112px;
    min-width: 112px;
  }
  
  #ex8_modal table .tb-company_title {
    width: 176px;
    max-width: 176px;
    min-width: 176px;
  }
  
  #ex8_modal table .td_business_no {
    width: 136px;
    min-width: 136px;
  }
  
  
  #ex8_modal table .tb-name {
    width: 176px;
    max-width: 176px;
    min-width: 176px;
  }
  
  #ex8_modal table .tb-tel {
    width: 136px;
    min-width: 136px;
  }
  
  #ex8_modal table .tb-email {
    width: 280px;
    min-width: 280px;
  }
  
  #ex8_modal.modal .action {
    width: 100%;
    padding: 16px;
    display: flex;
    justify-content: end;
  }
  
  @media screen and (max-width:450px) {
    #ex8_modal .sc-search_content {
        width: 100%;
    }
  }
  