input,
label,
select,
button,
textarea
{
    margin:0;
    border:0;
    padding:0;
    display:inline-block;
    vertical-align:middle;
    white-space:normal;
    background:none;
    line-height:1;
    font-family:inherit;
}

input:focus,
button
{
    outline:0;
}

button {
    cursor:pointer
}

input,
textarea
{
    -webkit-box-sizing:content-box;
    -moz-box-sizing:content-box;
    box-sizing:content-box;
}

button,
input[type=reset],
input[type=button],
input[type=submit],
input[type=checkbox],
input[type=radio],
select
{
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}

input[type=date],
input[type=datetime],
input[type=datetime-local],
input[type=email],
input[type=month],
input[type=number],
input[type=password],
input[type=range],
input[type=search],
input[type=tel],
input[type=text],
input[type=time],
input[type=url],
input[type=week]
{
}

input[type=checkbox],
input[type=radio]
{
    width:16px;
    height:16px;
}

input[type=file]
{

}

input[type=search]
{
    -webkit-appearance:textfield;
    -webkit-box-sizing:content-box;
}

::-webkit-search-decoration
{
    display:none;
}

button,
input[type="reset"],
input[type="button"],
input[type="submit"]
{
    overflow:visible;
    width:auto;
}

::-webkit-file-upload-button
{
    padding:0;
    border:0;
    background:none;
}

textarea
{
    vertical-align:top;

    overflow:auto;
}


select
{
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
}
select::-ms-expand {
    display: none;
}
select[multiple]
{
    vertical-align:top;
}

.btnbox.center{text-align:center;}
.btnbox .btn{font-size:13px;padding:1em 3em;border:1px solid #333;display:inline-block;box-sizing:border-box;}
.btnbox.type2{text-align:right;padding-top:1em;margin-top:1em;border-top:1px solid #c1c1c1;}
.btnbox.type2 .btn{padding:1em 1.5em;}

.btn.long{width:100%;text-align:center;}
.btn.half{width:49%;text-align:center;}
.btn.fullhalf{width:50%;text-align:center;}
.btn.red{background:#ed1a3b !important;color:#fff !important;border:1px solid #ed1a3b !important;}
.btn.gray{background:#9e9e9e;color:#fff;border:1px solid #9e9e9e;}
.btn.black{background:#444;color:#fff;border:1px solid #444;}
.btn.silver{background:#f5f5f5;color:#666;border:1px solid #aaa;}

.checkbox label{line-height:25px;}
.checkbox span{width:25px;height:25px;background:url(/m/new_images/sub/check_off.png) no-repeat center;display:inline-block;vertical-align:middle;margin:0 .3em;background-size:100% 100%;vertical-align:top}
.checkbox input:checked + span{background:url(/m/new_images/sub/check_on.png) no-repeat center;background-size:100% 100%;}

.radio{display:inline-block;min-width:100px;text-align:left;margin-right:1.5em;}
.radio label{line-height:25px;}
.radio span{width:14px;height:14px;border:1px solid #d4d4d4;border-radius:50%;display:inline-block;vertical-align:middle;margin:0 .5em;position:relative}
.radio input:checked + span:after{content:'';width:70%;height:70%;background:#ed1a3b;display:inline-block;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);border-radius:50%;}

.checkbox2 label{line-height:20px;}
.checkbox2 span{width:20px;height:20px;background:url(/m/new_images/sub/check_off.png) no-repeat center;display:inline-block;vertical-align:middle;margin:0 .5em;}
.checkbox2 input:checked + span{background:url(/m/new_images/sub/check_on.png) no-repeat center;}

.input{width:100%;height:45px;border:1px solid #c1c1c1;box-sizing:border-box;}
.input input{width:100%;height:100%;padding:0 1em;box-sizing:border-box;}

.select{height:40px;border:1px solid #ddd;box-sizing:border-box;position:relative}
.select:after{content:'';display:block;width:10px;height:10px;border:1px solid #666;position:absolute;right:1em;top:35%;transform:rotate(45deg);border-width:0 1px 1px 0;}
.select select{height:40px;padding:0 1em;width:100%;box-sizing:border-box;}


.textarea{width:100%;height:150px;border:1px solid #c1c1c1}
.textarea textarea{width:100%;height:100%;resize:none;}
