@import url("reset.css");

/*表單樣式區*/

ul.FORM p {
    /*反饋紅字*/
    font-size: 1em;
    color: #cc0000;
    font-weight: bold;
}

ul.FORM {
    clear: both;
    width: 100%;
    margin: 0 auto;
}

ul.FORM li {
    width: 100%;
    float: left;
    -webkit-box-sizing: border-box;
    margin-bottom: 8px;
}

.textfieldB {
    width: 97%;
    height: 38px;
    font-size: 1em;
    line-height: 40px;
    padding-left: 6px;
    color: #cc0000;
    background-color: #FFCC66;
    border: solid 1px #FF9900;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-family: Arial, Helvetica, "微軟正黑體", sans-serif;
}

.textfieldC {
    width: 97%;
    height: 38px;
    font-size: 1em;
    line-height: 40px;
    padding-left: 6px;
    border: 1px solid #999;
    background-color: #FFF;
    color: #333333;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-family: Arial, Helvetica, "微軟正黑體", sans-serif;
}

.textfieldA {
    width: 97%;
    height: 38px;
    font-size: 1em;
    line-height: 40px;
    padding-left: 6px;
    border: 1px solid #999;
    background-color: #FFF;
    color: #333333;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-family: Arial, Helvetica, "微軟正黑體", sans-serif;
}

.INPUT {
    clear: both;
    position: relative;
    width: 100%;
}

::-webkit-input-placeholder {
    font-size: 1em;
    color: #999;
}

:-moz-placeholder {
    /* Firefox 18- */
    font-size: 1em;
    color: #999;
}

::-moz-placeholder {
    /* Firefox 19+ */
    font-size: 1em;
    color: #999;
}

:-ms-input-placeholder {
    font-size: 1em;
    color: #999;
}

.textfieldB::-webkit-input-placeholder {
    font-size: 1em;
    color: #cc0000;
}

.textfieldB:-moz-placeholder {
    /* Firefox 18- */
    font-size: 1em;
    color: #cc0000;
}

.textfieldB::-moz-placeholder {
    /* Firefox 19+ */
    font-size: 1em;
    color: #cc0000;
}

.textfieldB:-ms-input-placeholder {
    font-size: 1em;
    color: #cc0000;
}

span.icon_clear {
    position: absolute;
    right: 0px;
    width: 25px;
    height: 25px;
    display: none;
    top: 7px;
    right: 5%;
    cursor: pointer;
    font: bold 1em sans-serif;
    color: #38468F;
    text-indent: -9999px;
    background-image: url(../images/x_icon.png);
    background-size: 25px 25px;
}

.styled-select {
    width: 100%;
    height: 40px;
    overflow: hidden;
    background: url(../images/select_icon.png) no-repeat right #fff;
    background-size: 15px 15px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    /*background-position:right 10px center;*/
}

.styled-select_2 {
    width: 97%;
}

.styled-select select {
    background: transparent;
    width: 100%;
    height: 40px;
    font-size: 1em;
    padding-left: 6px;
    border: 1px solid #999;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-family: Arial, Helvetica, "微軟正黑體", sans-serif;
}

.styled-select select::-ms-expand {
    display: none;
}

.styled-select02 {
    width: 100%;
    height: 40px;
    overflow: hidden;
    background: url(../images/select_icon.png) no-repeat right #FFCC66;
    background-size: 15px 15px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    /*background-position:right 10px center;*/
}

.styled-select02 select {
    background: transparent;
    width: 100%;
    height: 40px;
    font-size: 1em;
    padding-left: 5px;
    border: solid 1px #FF9900;
    color: #cc0000;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-family: Arial, Helvetica, "微軟正黑體", sans-serif;
}

.styled-select02 select::-ms-expand {
    display: none;
}


/*submit按紐	*/

input[type="submit"],
input[type="reset"],
input[type="button"],
button {
    -webkit-appearance: none;
}

.SUBMIT {
    width: 98%;
    height: 40px;
    background-color: #dcbdf4;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #bb90dc;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #380a5b;
    padding: 0px 2px 0px 2px;
    text-align: center;
}

.SUBMIT02 {
    width: 98%;
    height: 40px;
    background-color: #cfcfcf;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #9d9d9d;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #333;
    padding: 0px 2px 0px 2px;
    text-align: center;
}


/*圓角選項*/

.radio {
    margin-bottom: 10px;
}

.radio label {
    display: inline-block;
    cursor: pointer;
    position: relative;
    padding-left: 25px;
    /*文字離框框距離*/
    padding-top: 5px;
    /*文字上方離框框距離*/
}

.radio input[type=radio] {
    display: none;
}

.radio label:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    position: absolute;
    left: 0px;
    top: 10px;
    background-color: #aaa;
    box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, .3), 0px 1px 0px 0px rgba(255, 255, 255, .8);
}

.radio label:before {
    border-radius: 20px;
}

input[type=radio]:checked+label:before {
    content: "\2022";
    color: #ffffff;
    font-size: 35px;
    text-align: center;
    line-height: 20px;
}

.radio label.HALF {
    cursor: pointer;
    position: relative;
    float: left;
    width: 49%;
    height: 40px;
    text-align: center;
    background-color: #fff;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    color: #333;
    line-height: 30px;
    border: 1px solid #999;
    padding-top: 4px;
}

.radio input[type=radio] {
    display: none;
}

.radio label.HALF:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    position: absolute;
    left: 30%;
    top: 10px;
    background-color: #aaa;
    box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, .3), 0px 1px 0px 0px rgba(255, 255, 255, .8);
    border-radius: 20px;
}

.radio label.HALF02 {
    cursor: pointer;
    position: relative;
    float: left;
    width: 49%;
    height: 40px;
    text-align: center;
    background-color: #fff;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    color: #333;
    line-height: 30px;
    border: 1px solid #999;
    padding-top: 4px;
}

.radio label.HALF02:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    position: absolute;
    left: 18%;
    top: 10px;
    background-color: #aaa;
    box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, .3), 0px 1px 0px 0px rgba(255, 255, 255, .8);
    border-radius: 20px;
}


/*方形選取方塊*/

.checkbox {
    margin: 8px auto;
}

input[type=checkbox] {
    display: none;
}

.checkbox label {
    display: inline-block;
    cursor: pointer;
    position: relative;
    padding-left: 25px;
    /*文字離框框距離*/
}

.checkbox label:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    position: absolute;
    left: 0;
    top: 3px;
    background-color: #999;
    box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, .3), 0px 1px 0px 0px rgba(255, 255, 255, .8);
}

.checkbox label {
    margin-bottom: 10px;
    margin-left: 10px;
}

.checkbox label:before {
    border-radius: 3px;
}

input[type=checkbox]:checked+label:before {
    content: "\2713";
    text-shadow: 2px 2px 2px rgba(0, 0, 0, .2);
    font-size: 20px;
    color: #ffffff;
    text-align: center;
    line-height: 18px;
}


/*搜尋BAR*/

#SEARCH {
    width: 100%;
    height: 50px;
    border: none;
    position: relative;
    background-color: none;
}

#SEARCH span.icon_clear {
    position: absolute;
    right: 0px;
    width: 25px;
    height: 25px;
    display: none;
    top: 12px;
    right: 63px;
    cursor: pointer;
    font: bold 1em sans-serif;
    text-indent: -9999px;
    background-image: url(../images/x_icon.png);
    background-size: 25px 25px;
}

#SER_BOX {
    width: 100%;
    height: 50px;
    border: none;
    background-color: #FFF;
    color: #000;
    text-align: left;
    font-size: 1.2em;
    text-indent: 5px;
    padding-left: 0px;
    border-radius: 0px;
    border: 1px solid #8866a3;
}

#SER_BOX02 {
    width: 100%;
    height: 50px;
    border: none;
    background-color: #FC3;
    color: #CC0000;
    text-align: left;
    font-size: 1.2em;
    text-indent: 5px;
    padding-left: 0px;
    border-radius: 0px;
    border: 1px solid #CC0000;
}

#SER_SUBMIT {
    width: 50px;
    height: 50px;
    cursor: pointer;
    border: none;
    position: absolute;
    right: 0px;
    top: 0px;
    background-color: #8866a3;
    background-image: url(../images/search_icon.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 30px 30px;
    border-radius: 0px;
    text-indent: -9999px;
}