/* Input */
.b-form__field-inner,
.b-form__textarea-inner {
    width: 349px;
    position: relative;
    display: inline-block;
    font-size: 14px;
    border: 1px solid #A8AAAD;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.b-form__field-inner_error {
    border-color: #b20101;
}

.b-form__textarea-inner_style_full_width {
    width: 100%;
}

.b-form__field-inner_style_margin-left {
    margin-left: 37px;
}

.b-form__field {
    padding: 12px 0 12px 17px;
    width: 100%;
    height: 53px;
    color: #000;
    font-family: 'Robotobold', Arial, sans-serif;
    border: 0;
    border-top: 3px solid #EBEBEB;
    border-left: 3px solid #EBEBEB;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-transition: 0.2s border-color;
    -webkit-transition: 0.2s border-color;
    transition: 0.2s border-color;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    outline: none;
}

.b-form__field:focus {
    border-color: #dadada;
}

.b-form__field.error, .b-form__field.error:focus {
    border-top: 3px solid #E09292;
    border-left: 3px solid #E09292;
}

.b-form__field-inner_type_focus {
    border-color: #b20101;
}

.b-form__field_style_big_height {
    padding-top: 16px;
    height: 212px;
}


/* Select */
.b-form__dropdown {
    width: 235px;
    position: relative;
    font-size: 11px;
    border: 1px solid #A8AAAD;
    border-right: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.b-form__dropdown:hover,
.b-form__field-inner:hover {
    border-color: #989898;
}

.b-form__dropdown:active .b-form__field {
    border-color: #DBDBDB;
}

.b-form__dropdown:hover.b-form__dropdown_type_active,
.b-form__field-inner:hover.b-form__dropdown_type_active {
    border-color: #b20101;
}

.b-form__dropdown_type_active {
    border-color: #b20101;
}

.b-form__dropdown_type_active .b-form__dropdown-btn {
    background-color: #b20101;
}

.b-form__dropdown-inner {
    margin-left: 21px;
    float: left;
    width: 233px;
}

.b-form__dropdown-inner:first-child {
    margin-left: 0;
}

.b-form__field_type_small {
    height: 33px;
}

.b-form__dropdown-title {
    margin: 0 0 10px 17px;
    display: inline-block;
    color: #b10101;
    text-transform: uppercase;
    font-style: normal;
    font-size: 14px;
    font-family: 'Robotobold', Arial, sans-serif;
}

.b-form__dropdown-btn {
    position: absolute;
    right: -1px;
    top: -1px;
    bottom: -1px;
    width: 55px;
    background: url('input-arrow-big.png') 53% 49% no-repeat #242B31;
    cursor: pointer;
}

.b-form__dropdown-btn_type_small {
    width: 35px;
    background: url('input-arrow.png') 50% 47% no-repeat #242B31;
}

.b-form__dropdown-list {
    display: none;
    position: absolute;
    top: 54px;
    left: -1px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 1px solid #a8aaad;
    border-top: 0;
    background: #fff;
    z-index: 3;
}

.b-form__dropdown-list_type_small-top {
    top: 34px;
}

.b-form__dropdown_type_small {
    width: 235px;
}

.b-form__dropdown_type_large {
    width: 357px;
}

.b-form__dropdown-item {
    padding: 18px 0 18px 19px;
    border-top: 1px solid #a8aaad;
    cursor: pointer;
    list-style: none;
}

.b-form__dropdown-item_type_small {
    padding: 6px 0 6px 19px;
}

.b-form__dropdown-item:hover {
    background: #ccc;
    color: #fff;
}

.b-form__dropdown-item:active {
    background: #b7b7b7;
}

.b-form__dropdown-item:first-child {
    border-top: 0;
}

.b-form__dropdown-item_state_selected,
.b-form__dropdown-item_state_selected:hover {
    background: #3399ff;
    color: #fff;
}


/* Checkbox */
.b-form__checkbox-inner {
    margin: 0 0 21px 38px;
}

.b-form__checkbox-list {
    margin: 0;
    padding: 0;
    display: inline-block;
    vertical-align: top;
    list-style: none;
}

.b-form__checkbox-item {
    margin: 0 25px 13px 0;
}

.b-form__checkbox-field {
    display: none;
}

.b-form__checkbox {
    display: inline-block;
    width: 23px;
    height: 23px;
    vertical-align: middle;
    background: url('checkbox.png');
}

.b-form__checkbox_state_checked {
    background-position: 23px 23px;
}

.b-form__checkbox-title {
    padding: 0 0 0 5px;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

/* Submit */
.b-form__submit-inner {
    margin: 32px 0 12px;
}

.b-form__submit {
    padding: 12px 20px;
    border: 0;
    background: #b20101;
    color: white;
    font-size: 18px;
    font-family: 'Robotobold', Arial, sans-serif;
    text-transform: uppercase;
    -moz-transition: 0.2s linear background;
    -moz-transition: 0.2s linear background;
    transition: 0.2s linear background;
}

.b-form__submit:hover {
    background: #8a0101;
}

.b-form__submit:active {
    background: #A70000;
}

/* Messages box */
.b-form__message {
    padding: 8px 35px 8px 14px;
    margin-bottom: 20px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
    background-color: #fcf8e3;
    border: 1px solid #fbeed5;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    font-size: 13px;
}

.b-form__message-close {
    position: relative;
    right: -25px;
    float: right;
    font-size: 20px;
    font-weight: bold;
    line-height: 20px;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .2;
    filter: alpha(opacity=20);
    text-decoration: none;
    line-height: 20px;
}

.b-form__message_type_error {
    color: #b94a48;
    background-color: #f2dede;
    border-color: #eed3d7;
}

.b-form__message_type_success {
    color: #468847;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}
