/* Change the white to any color ;) */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 6rem white inset !important;
    -webkit-text-fill-color: #aaa !important;
}

/* placeholder style */
input::placeholder {color:#aaa; opacity:1; font-size:1.6rem; line-height:normal!important;}
input::-webkit-input-placeholder {color:#aaa; line-height:normal!important;}
input:-ms-input-placeholder {color:#aaa; line-height:normal!important;}

/* placeholder style */
textarea::placeholder {color:#aaa; opacity:1; font-size:1.6rem; line-height:normal!important;}
textarea::-webkit-input-placeholder {color:#aaa; line-height:normal!important;}
textarea:-ms-input-placeholder {color:#aaa; line-height:normal!important;}



/* checkbox */
.form input[type=checkbox] {position:absolute; width:0; height:0; overflow:hidden; left:0; top:0;}
.form input[type=checkbox] + label {
    position:relative; display:inline-block; font-size:1.6rem; color:var(--grey-txt); 
    line-height:18px; vertical-align:top; cursor:pointer; outline:none;
}
.form input[type=checkbox] + label:before {
	display:inline-block; width:18px; height:18px; content:""; margin-right:0.7rem; vertical-align:top;
	background:url('../img/chk_off.png') no-repeat center center; transition:all 0.35s;
}
.form input[type=checkbox] + label.blank:before {margin-right:0;}
.form input[type=checkbox]:checked + label:before {background:url('../img/chk_on.png') no-repeat center center;}
.form input[type=checkbox]:disabled + label:before {background:#f6f6f6 url('../img/chk_dis.png') no-repeat center center;}
/* label 포거스 표시 */
.form input[type=checkbox]:focus + label:after {
	display:block; content:""; position:absolute; bottom:-5px; left:0; width:18px;
	padding-bottom:5px; border-bottom:dotted 1px #000;
}

/** [공통] 폼필드 **/
.form legend {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden;
}
.form .form-field {position:relative;}
.form .input-tit {display:block; margin-bottom:1.5rem; font-size:1.6rem; color:#000; font-weight:400;}

/* input */
.form .form-field .form-input {
    width:100%; height:4.8rem; line-height:4.8rem; 
    padding:0 2rem;
    line-height:normal;
    font-size:1.6rem; 
    color:var(--black-txt);
    border:solid 1px #ddd; 
    border-radius:5px;
    transition:all 0.35s;
    background:#fff;
}
.form .form-field .form-input:read-only {
    color:#aaa;
    background:#f0f0f0;
}
.form .form-field .form-input:disabled {
    color:#aaa;
    background:#f0f0f0;
}
.form .form-field .form-input:focus {outline:none;}
.form .focus .sel {border:solid 1px #000;}
.form .focus .form-input {border:solid 1px #000;}
.form .err .form-input {border:solid 1px #e61e2b;}
.form .err .sel {border:solid 1px #e61e2b;}

.form .form-field > label.field-title {
    display:block;
    font-size:1.8rem;
    color:#000;
    font-weight:500;
    padding-bottom:1rem;
}
.form .form-field p.stx {
    font-size:1.4rem;
    color:#000;
}

/* textarea */
.form .form-field .textarea {
	display:inline-block; width:100%; border:solid 1px #ddd; background:#fff; border-radius:5px;
	outline-style:none; padding:2rem; line-height:1.5; font-size:1.6rem; color:var(--grey-txt);
    transition:all 0.35s;
}
.form .form-field .textarea:focus {outline:none;}
.form .focus .textarea {border:solid 1px #000;}
.form .err .textarea {border:solid 1px var(-symbol-color);}

/* select 스타일 */
select {
    -webkit-appearance:menulist;
    box-sizing:border-box;
    align-items:center;
    white-space:pre;
    -webkit-rtl-ordering:logical;
    color: black;
    background-color:white;
    cursor:default;
    border-width:1px;
    border-style:solid;
    border-color:initial;
    border-image:initial;
}
select.sel {
    display:inline-block; width:100%; 
    border:0;
    outline-style:none;
    border:solid 1px #ddd; vertical-align:middle;
    padding:0 4rem 0 2rem; height:4.8rem; line-height:4.8rem; 
    border-radius:5px;
    color:#000; font-size:1.5rem; font-weight:400;
    background-color:#fff;
	background-image:url("../img/sel_arr.png");
    background-repeat:no-repeat;    
    background-position:right 1.5rem center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none; 
}
select::-ms-expand {display:none;}
select::-webkit-expand {display:none;}
select::-moz-expand {display:none;}
select::-o-expand {display:none;}

/* input date */
input[type="date"],
input[type="month"] {
    position:relative;
}
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator {
    color:transparent;
    background:none;
    z-index:1;
} 
input[type="date"]:before,
input[type="month"]:before {
    display:block;
    content:"";
    width:1.6rem;
    height:1.6rem;
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    right:2rem;
    background:url("../img/cal.png") no-repeat center;
    background-size:1.6rem;
}




/* [공통] 파일박스 */
.form .form-field.file {position:relative;}
.form .form-field.file input[type="file"] {
    position: absolute;
    width: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
}
.form .form-field.file {
    display:flex;
    align-items:center;
    column-gap:1rem;
}
.form .form-field.file label {
    cursor: pointer;
    width:10rem;
    text-align:center;
}
.form .form-field ~ p.nec {
    margin-top:1rem;
    font-size:1.6rem;
}