input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #fff inset !important;
    -webkit-text-fill-color: #3d3d3d !important;
}

.hide {
    display: none;
}

.underline>a {
    text-decoration: underline;
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}
.small {
    color: red;
}

.action {
    display: flex;
    align-items: start;
    justify-content: flex-end;
}

.action .btn {
    width: 150px;
    height: 40px;
    font-size: 18px;
    letter-spacing: 1.6px;
}

.action .btn+.btn {
    margin-left: 8px;
}

/* 共用input */
.input_group input[type="text"][readonly],
.input_group.fn_note textarea[name="description"][readonly] {
    background: #E7E6E6;
}

.input_group input[type="text"][disabled],
.input_group.fn_note textarea[name="description"][disabled]{
    background: #E7E6E6;
    cursor: not-allowed;
}

.select-selected-readonly {
    background: #E7E6E6;
    cursor: not-allowed;
    pointer-events: none;
}


.input_content {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.input_content>.group:first-child {
    width: 286px;
    margin-bottom: 40px;
    margin-right: 16px;
}

.input_content>.group:nth-child(2) {
    max-width: 480px;
    width: 100%;
}

.input_content .group>.title {
    font-size: 20px;
    color: #3d3d3d;
    font-weight: bold;
    margin-bottom: 16px;
}

.input_content .group>p {
    font-size: 14px;
    font-weight: 300;
    color: #3d3d3d;
    line-height: 1.2;
}

.input_group {
    margin-bottom: 24px;
    position: relative;
}

.annotation-title {
    display: flex;
    flex-wrap: wrap;
}

.annotation-title>label {
    font-size: 18px;
    margin-right: 4px;
    color: #3d3d3d;
}

.annotation-title>a {
    margin-left: 16px;
    text-decoration: underline;
}

.annotation-title > label {
    display: block;
    margin-bottom: 8px;
}

.annotation-title > span{
    display: block;
    margin-bottom: 8px;
}

.input_group input[type="text"],
.input_group input[type="number"]{
    width: 100%;
    height: 36px;
    font-size: 20px;
    text-align: left;
    background: #fff;
    color: #3d3d3d;
    border: 1px solid #C6C6C6;
    outline: none;
    border-radius: 8px;
    padding: 8px 16px;
    box-sizing: border-box;
}

.input_group.fn_note textarea[name="description"]{
    width: 100%;
    min-height: 36px;
    padding: 4px 12px;
    box-sizing: border-box;
    border: 1px solid #c6c6c6;
    border-radius: 8px;
    background: #fff;
    font-size: 18px;
    text-align: left;
    color: #3d3d3d;
    outline: none;
    resize: vertical;
    box-sizing: border-box;
}

.input_group .error_message {
    color: red;
    font-size: 14px;
    position: absolute;
    bottom: -14px;
    right: 8px;
    display: none;
}

.input_group.error input[type="text"],
.input_group.error input[type="number"]{
    border: 2px solid red;
}

.input_group.error .error_message {
    display: block;
}

/* 日期 */
.input_group .sc-datepicker {
    position: relative;
}

.sc-datepicker>input[type="text"] {
    cursor: pointer;
}

.pic-date {
    position: absolute;
    top: 0px;
    right: 8px;
    pointer-events: none;
}


/* 下拉式選單 */
.select-items div,
.select-selected {
    height: 36px;
    border: 1px solid #c6c6c6;
    text-align: start;
}

.select-items div {
    min-height: 36px;
    height: 100%;
    word-break: break-all;
}

.select-selected {
    padding: 8px 28px 8px 16px;
}

.select-selected {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select-items .search-items_content {
    position: relative;
    padding: 0;
    height: 40px;
    padding: 2px;
}

/* 下拉選單-搜尋框 */
.custom-select .select-items>.search-items_content input {
    display: block;
    width: calc(100% - 4px) !important;
    height: calc(100% - 4px);
    color: #048080;
    font-size: 18px;
    padding: 4px 16px;
    z-index: 2;
    border: 1px solid #767676 !important;
    border-radius: 20px;
}

.input_group.error .select-selected {
    border: 2px solid red;
}

.input_content:last-child .group>.action {
    margin-top: 40px;
}

@media screen and (max-width:980px){
    .input_content>.group:first-child{
        max-width: 480px;
        width: 100%;
        margin-right: 0;
    }
}

@media screen and (max-width:450px){
    .action {
        display: flex;
        flex-direction: column-reverse;
    }

    .action .btn {
        width: 100%;
    }

    .action .btn+.btn {
        margin-left: 0px;
        margin-bottom: 16px;
    }
}

