@import "mixins.less";
input[type=checkbox],
input[type=radio] {
    font-size: 16px;
    position: relative;
    border: 1px solid #bed3d4;
    display: inline-block;
    line-height: 1em;
    margin: 0;
    padding: 0;
    .size(16px,16px);
    vertical-align: middle;
    background: -webkit-linear-gradient(
        top, rgba(255,255,255,0.4), rgba(255,255,255,0.1)
    );
    -webkit-appearance: none;
    -webkit-box-shadow: 0 1px 0 rgba(255,255,255, 0.1),
    inset 0 0 1px rgba(255,255,255, 0.4);
    -webkit-border-radius: 3px;
    cursor: pointer;
}

input[type=checkbox]:active {
    background: -webkit-linear-gradient(
        top, rgba(255,255,255,0.05), rgba(255,255,255,0.2)
    );
    border: 1px solid #71c5c7;
}
input[type=checkbox]:checked,
input[type=radio]:checked {
    border: 1px solid #71c5c7;
}
input[type=checkbox]:checked::after {
    position: absolute;
    content: '';
    left: 2px;
    top: 3px;
    .size(8px,4px);
    border-bottom: 2px solid #53bbbc;
    border-left: 2px solid #53bbbc;
    -webkit-transform: rotate(-45deg);
    z-index: 1;
}
input[type=text],
input[type=password]{
    padding: 3px 0px 3px 3px;
    border: 1px solid #54aed0;
    background-color: #ffffff;
    color: #000000;
    border-radius: 4px;
    &:focus,
    &:active,
    &.active {
         border-color: #72d1d4;
        .box-shadow(0px 0px 3px #72d1d4);
    }
}
input[type=radio] {
    -webkit-border-radius: 50%;
}
input[type=radio]:checked::after{
    position: absolute;
    content: '';
    left: 4px;
    top: 4px;
    .size(6px,6px);
    background-color: #53bbbc;
    -webkit-border-radius: 50%;
    z-index: 1;
}
select {
    -webkit-appearance: none;
    border: 1px solid #bed2d3;
    .size(100%,26px);
    line-height: 23px;
    background: url("../images/controls/ComboDropBtn.png") no-repeat right 2px;
    cursor: pointer;
    border-radius: 2px;
    &:focus {
        outline: 0;
        border-color: #72d1d4;
        .box-shadow(0px 0px 3px #72d1d4);
        background-position: right -18px;
    }
}
input[type=range] {
    -webkit-appearance: none;
    background-color: #45c2c6;
    border-radius: 4px;
    .size(100%,6px)
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border:1px solid #56c7cd;
    background-color: #ffffff;
    .size(13px,14px);
    border-radius: 50%;
}
label {
    color: #788180;
}
textarea {
    resize: none;
    border:1px solid #bed2d3;
    border-radius: 4px;
    width: 100%;
    height: 61px;
    &:focus,
    &:active,
    &.active {
        border-color: #72d1d4;
        .box-shadow(0px 0px 3px #72d1d4);
    }
}
.btn {
    vertical-align: middle;
    .inline-block();
    background-color: #f7fbfc;
    border:1px solid #cdd7d6;
    border-radius: 4px;
    padding: 3px 18px;
    margin-right: 0px;
    cursor: pointer;
    &:hover {
        background-color: #d5f3f4;
        border-color: #b8dfe0;
    }
    &:active {
        background-color: #9bdfe1;
        border-color: #81cdcf;
    }
    &.disabled {
        background-color: #c3c3c3;
        color: #a3a3a3;
        &:hover,
        &:active {
            background-color: #c3c3c3;
            border-color: #b8dfe0;
        }
    }
}
.file-btn {
    background: url("../images/controls/file-btn.png") no-repeat;
    .size(86px,26px);
    cursor: pointer;
    position: relative;
    & input{
        opacity: 0;
        width: 100%;
        height: 26px;
    }
}