input, select {
    font-family: inherit;
    max-width: 100%;
}


.input-block-level {
  display: block;
  width: 100%;
  min-height: 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

input:required {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
}



input[type=text],
input[type=tel],
input[type=email],
input[type=password],
textarea {
    margin: 0;
    font-family: Arial, Helvetica, Sans-serif;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 0 #000;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 0 #000;
    font-size: 16px;
    padding: 7px 7px 7px 7px;
    border: 1px solid #ccc;
    border-radius: 3px;
    color: #666;
    -webkit-transition: border 0.2s;
}

.field-select,
.field-select_time {
    width: 100%;
    line-height: normal;
    border: 1px solid #aaa;
    padding: 4px;
    font-size: 13px;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    font-size: 14px;
    color: #666;
    font-weight: bold;
    padding: 11px 12px 9px 12px;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    cursor: pointer;
}

.field-select-label {
    z-index: 1;
    min-width: 300px;
    padding: 13px 50px 9px 7px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-weight: bold;
    color: #666;
    height:36px;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#FFFFFF,endColorstr=#e7e7e7)";
    filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#FFFFFF,endColorstr=#e7e7e7)";
    background:-webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#e7e7e7));
    background: -moz-linear-gradient(top,  #FFFFFF,  #e7e7e7);
    background: -ms-linear-gradient(top, #FFFFFF, #e7e7e7);
    background: -o-linear-gradient(top, #FFFFFF,#e7e7e7);
    float: left;
}

.field-type-select_time .field-select-label {
    min-width: 40px;
    margin-right: 10px;
}

.form-select-styled {
    position: relative;
    display: inline-block;
    line-height: 50%;
}


.form-select-styled:after {
    content: '';
    background-image: url('/images/form-select-arrow.png');
    background-size: 8px 4px;
    width: 40px;
    display: inline-block;
    position: absolute;
    right: 0px;
    top: 0px;
    border-left: 1px solid #ccc;
    height: 35px;
    background-repeat: no-repeat;
    background-position: center center;
}

.form-select-styled
.field-select:focus {
    border-color: #8eaefb;
}

.field-type-select-date-month .field-select-label {
    min-width: 70px;
}

.field-type-select-date-year .field-select-label {
    min-width: 100px;
    margin-left: 10px;
}

.field-type-select-date-month,
.field-type-select-date-year {
    display: inline-block;
}


*:focus {
    outline: none;
}

input[type=text]:focus,
input[type=password]:focus,
input[type=radio]:focus
input[type=tel]:focus,
input[type=email]:focus,
input[type=checkbox]:focus,
select:focus,
.field-select-label.focus {
    border-color: #8eaefb;
}

.field-type-checkbox,
.field-radio {
    position: relative;
}

input[type=checkbox],
input[type=radio] {
    width: 25px;
    height: 25px;
    text-align: center;
}

input[type=checkbox],
input[type=radio] {
    opacity: 0;
}

input[type=checkbox] + label,
input[type=radio] + label {
    padding-left: 0px;
    margin-top: 5px;
    font-size: 15px;
    padding-top: 0px;
    cursor: pointer;
}

input[type=radio] + label {
    margin-top: 1px;
}

input[type=checkbox] + label:before {
    position: absolute;
    left: 0;
    top: 0px;
    content: ' ';
    display: inline-block;
    width: 23px;
    height: 23px;
    border: 1px solid #ccc;
    border-radius: 4px;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#FFFFFF,endColorstr=#e7e7e7)";
    filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#FFFFFF,endColorstr=#e7e7e7)";
    background:-webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#e7e7e7));
    background: -moz-linear-gradient(top,  #FFFFFF,  #e7e7e7);
    background: -ms-linear-gradient(top, #FFFFFF, #e7e7e7);
    background: -o-linear-gradient(top, #FFFFFF,#e7e7e7);
}

input[type=checkbox]:checked + label:after {
    content: ' ';
    position: absolute;
    left: 0px;
    top: 0px;
    width: 23px;
    height: 23px;
    display: inline-block;
    background-image: url('/images/form-checkbox.png');
    background-size: 15px 16px;
    background-repeat: no-repeat;
    background-position: 5px 5px;
}

input[type=checkbox]:before {
    content: ' ';
    width: 30px;
    height: 30px;
    background-color: #efefef;
}

input[type=radio] + label:before {
    position: absolute;
    left: 3px;
    top: 0px;
    content: ' ';
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid #b6b6b6;
    border-radius: 9px;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#e6e8eb,endColorstr=#FFFFFF)";
    filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#e6e8eb,endColorstr=#FFFFFF)";
    background:-webkit-gradient(linear, left top, left bottom, from(#e6e8eb), to(#ffffff));
    background: -moz-linear-gradient(top,  #e6e8eb,  #ffffff);
    background: -ms-linear-gradient(top, #e6e8eb, #ffffff);
    background: -o-linear-gradient(top, #e6e8eb, #ffffff);
    box-sizing: border-box;
}

input[type=radio] + label:after {
    position: absolute;
    top: 5px;
    left: 8px;
    border-radius: 4px;
    background-color: #000;
    width: 8px;
    height: 8px;

    content: ' ';
    opacity: 0;
    transition: opacity 100ms;
}

input[type=radio]:checked + label:after {
    opacity: 1;
}


.form-item.field-type-checkbox + .form-item.field-type-checkbox {
    margin-top: 5px;
}

.field-type-radio, .field-type-checkbox {
    white-space: nowrap;
    margin-bottom: 5px;
}

label,
.field-label {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 6px;
    color: #000;
}

.field-readonly {
    background-color: #efefef;
    color: #666;
}
