
INPUT, TEXTAREA {
    border: 1px solid #d2d2d2;
    color: #aaa;
    padding: 3px;
}





label {
    display: inline;
}



input[type="checkbox"] {
    display: none;
}
input[type="checkbox"] + label {
    -webkit-appearance: none;
    padding: 10px 16px 10px 42px;
    display: inline-block;
    position: relative;
    background: url(/images/checkbox_unchecked.png) no-repeat left top #fff;
    vertical-align: top;
}
input[type="checkbox"]:checked + label:after {
    content: ' ';
    width: 32px;
    height: 32px;
    position: absolute;
    background: url(/images/red-check.png) no-repeat left top #fff;
    left: 0px;
    top: 0px;
    font-size: 32px;
    vertical-align: top;
}
input[type="checkbox"]:checked + label {
    background-color: #fff;
}


input[type="checkbox"].small + label {
    background: url(/images/checkbox_unchecked-small.png) no-repeat left top #fff;
    padding: 2px 16px 2px 26px;
    margin-bottom: 10px;
}
input[type="checkbox"].small:checked + label:after {
    width: 16px;
    height: 16px;
    background: url(/images/red-check-small.png) no-repeat left top #fff;
    font-size: 16px;
    top: 0;
}

input[type="checkbox"].show {
    display: block;
}


input[type="radio"] {
    display: none;
}

input[type="radio"] + label {
    -webkit-appearance: none;
    padding: 10px 16px 10px 42px;
    display: inline-block;
    position: relative;
    background: url(/images/checkbox_unchecked.png) no-repeat left top #fff;
    vertical-align: top;
    
}

input[type="radio"]:checked + label:after {
    content: ' ';
    width: 32px;
    height: 32px;
    position: absolute;
    background: url(/images/red-check.png) no-repeat left top #fff;
    left: 0px;
    top: 0px;
    font-size: 32px;
    vertical-align: top;
}


input[type="radio"]:checked + label {
    background-color: #fff;
}



input[type="radio"].small + label {
    background: url(/images/checkbox_unchecked-small.png) no-repeat left top #fff;
    padding: 2px 16px 2px 26px;
    margin-bottom: 10px;
}
input[type="radio"].small:checked + label:after {
    width: 16px;
    height: 16px;
    background: url(/images/red-check-small.png) no-repeat left top #fff;
    font-size: 16px;
    top: 0;
}



.styled-select {
    position: relative;
    display: inline-block;
    width: 346px;
    height: 32px;
    background: #fff;
    border: 1px solid #d2d2d2;
}

.styled-select-500px SELECT {
    width: 522px !important;
}

.styled-select-500px {
    width: 500px !important;
}

.styled-select select {
    display: none; /*hide original SELECT element:*/
}

/*style the arrow inside the select element:*/
.styled-select .select-selected:after {
    position: absolute;
    content: "";
    top: calc(50% - 4px);
    right: 14px;
    width: 15px;
    height: 8px;
    background: transparent url('/images/arrow-down.svg') no-repeat center center;
}
/*point the arrow upwards when the select box is open (active):*/
.styled-select .select-selected.select-arrow-active:after {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}
/*style the items (options), including the selected item:*/
.styled-select .select-items div, .styled-select .select-selected {
    color: #969fa9;
    padding: 8px 16px;
    font-size: 12px;
    line-height: 14px;
    text-align: left;
    cursor: pointer;
}
.styled-select .select-selected {
    height: 100%;
}
/*style items (options):*/
.styled-select .select-items {
    position: absolute;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
}
/*hide the items when the select box is closed:*/
.styled-select .select-hide {
    display: none;
}
.styled-select .select-items div:hover, .styled-select .same-as-selected {
    background-color: rgba(240, 244, 245, 1);
}

   
   
LABEL, INPUT, TEXTAREA, SELECT {
    font-size: 12px;
    color: #636363;
}

INPUT[type="text"], INPUT[type="password"] {
    /*padding: 9px;
    margin-bottom: 17px;
    width: 340px;
    height: 14px;*/
}

TEXTAREA {
    width: 352px;
    height: 52px;
}

.required, .error {
    /*font-weight: bold;*/
    color: red;
    font-size: 12px;
    line-height: 32px;
    vertical-align: top;
}


input[type="submit"] ,
input[type="text"] ,
input[type="password"] ,
input[type="email"] {
    -webkit-appearance: none;
}



input.styled_radio_btn:not(:checked), 
input.styled_radio_btn:checked {
    position: absolute;
    left: -9999px;
}
input.styled_radio_btn:not(:checked) + label, 
input.styled_radio_btn:checked + label {
    position: relative;
    padding: 0px;
    cursor: pointer;
    min-height: 1px;
}
input.styled_radio_btn:not(:checked) + label, 
input.styled_radio_btn:checked + label {
    padding-left: 24px;
    height: 20px;
    line-height: 20px;
    background: none;
    font-size: 14px;
    color: #2b3d52;
}
input.styled_radio_btn:not(:checked) + label:before, 
input.styled_radio_btn:checked + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0px;
    width: 18px;
    height: 18px;
    border: 1px solid #c3c3c3;
    background: #fff;
    border-radius: 20px;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}
input.styled_radio_btn:not(:checked) + label:after, 
input.styled_radio_btn:checked + label:after {
    content: '\f111';
    font-family: 'FontAwesome';
    position: absolute;
    top: 6px;
    left: 5px;
    font-size: 12px !important;
    font-weight: normal !important;
    line-height: 0.8;
    color: #fff;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
    background: none;
    width: auto;
    height: auto;
    text-align: right;
    color: #2f3c52;
}
input.styled_radio_btn:not(:checked) + label:after {
    opacity: 0;
    transform: scale(0);
}
input.styled_radio_btn:checked + label:after {
    opacity: 1;
    transform: scale(1);
}


input.styled_checkbox:not(:checked), 
input.styled_checkbox:checked {
    position: absolute;
    left: -9999px;
}
input.styled_checkbox:not(:checked) + label, 
input.styled_checkbox:checked + label {
    position: relative;
    padding: 0px;
    cursor: pointer;
    min-height: 1px;
}
input.styled_checkbox:not(:checked) + label, 
input.styled_checkbox:checked + label {
    padding-left: 24px;
    height: 20px;
    line-height: 20px;
    background: none;
    font-size: 14px;
    color: #2b3d52;
}
input.styled_checkbox:not(:checked) + label:before, 
input.styled_checkbox:checked + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0px;
    width: 18px;
    height: 18px;
    border: 1px solid #c3c3c3;
    background: #fff;
    border-radius: 3px;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}
input.styled_checkbox:not(:checked) + label:after, 
input.styled_checkbox:checked + label:after {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    top: 3px;
    left: 2px;
    font-size: 17px !important;
    font-weight: normal !important;
    line-height: 0.8;
    color: #fff;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
    background: none;
    width: auto;
    height: auto;
    text-align: right;
    color: #2f3c52;
}
input.styled_checkbox:not(:checked) + label:after {
    opacity: 0;
    transform: scale(0);
}
input.styled_checkbox:checked + label:after {
    opacity: 1;
    transform: scale(1);
}