.form {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}
/*style for input*/
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
form input[type="text"],
.form input[type="email"],
.form input[type="password"],
.form input[type="tel"],
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"]{
    height: 32px;
    border: 1px solid #9E9E9E;
    border-radius: 3px;
    padding-left: 10px;
}
/* style for checkbox */
div.input.checkbox, .form div.input.checkbox {
    font-size: 14px;
    color: rgb(110, 109, 107);
    text-align: left;
    margin: 0 auto;
    margin-bottom: 35px;
    padding-left: 34px;
}
input[type="checkbox"], .form input[type="checkbox"], .form-group input[type="checkbox"] {
    display:none;
}
input[type="checkbox"] + label, .form input[type="checkbox"] + label, .form-group input[type="checkbox"] + label{
    font-size: 14px;
    color: rgb(110, 109, 107);
    cursor: pointer;
    margin-left: -34px;
}
input[type="checkbox"] + label::before, .form input[type="checkbox"] + label::before, .form-group input[type="checkbox"] + before {
    content: "";
    display: inline-block;
    height: 25px;
    width: 25px;
    margin: 0 5px 0 0;
    margin-left: -25px;
    margin-bottom: -10px;
    padding-left: 0px;
    background-image: url("../img/checkbox-red-34x34.png");
    background-repeat: no-repeat;
    background-size: 50px;
    background-color: #fff;
}
 input[type="checkbox"] + label::before,.form input[type="checkbox"] + label::before, .form-group input[type="checkbox"] + label::before {
    background-position: 0px 0px;
}
input[type="checkbox"]:checked + label::before, .form input[type="checkbox"]:checked + label::before, .form-group input[type="checkbox"]:checked + label::before {
    background-position: right 0px top 0px;
}
input[type="checkbox"]:disabled + label::before, .form input[type="checkbox"]:disabled + label::before , .form-group input[type="checkbox"]:disabled + label::before{
    background-position: -152px -260px;
}
input[type="checkbox"]:checked:disabled + label::before, .form input[type="checkbox"]:checked:disabled + label::before, .form-group input[type="checkbox"]:checked:disabled + label::before {
    background-position: -171px -260px;
}
/*.form input[type="submit"] {
        font-size: 14px;
        color: white;
        height: 32px;
        border: 0px;
        border-radius: 0px;
        background-color: #ae2221;
        background-image: url("../img/right-arrow-white-7x12.png");
        background-position: right 10px center;
        background-repeat: no-repeat;
        padding-right: 67px;
        padding-left: 50px;
        margin-left: 120px;
}
.form input[type="submit"]:hover {
        color: #640e0d;
        background-image: url("../img/right-arrow-white-7x12-hover.png");
}*/
textarea {
    border: 1px solid #9E9E9E;
    border-radius: 3px;
    padding-left: 9px;
}

.form-group input[type="submit"] {
    font-size: 17px;
    color: white;
    height: 32px;
    border: 1px solid transparent;
    border-radius: 4px;
    background-color: #ae2221;
    background-image: url("../img/whitestar.png");
    background-position: left 10px center;
    background-repeat: no-repeat;
    padding-right: 42px;
    padding-left: 42px;
    background-size: 17px;
}
/* style for selectbox */
div.select-box{
    border: 1px solid #9E9E9E;
    border-radius: 3px;
    overflow: hidden;
    height: 33px;

}
.form select, .form-group select, .optional select, .search-available-job select {
    background: #fff;
    font-size: 14px;
    color: rgb(110,109,107);
    height: 33px;
    border: 0;
    line-height: 1.42;
    padding-left: 6px;
    -webkit-appearance: none;
}
.form-horizontal .control-label{
    font-weight: 200;
}
#busy-indicator {
    display: none;
    margin-left: 10px;
    height: 30px;
    width: 30px;
    background-image: url('../img/ajax-loader.gif');
    background-position: center center;
    background-repeat: no-repeat;
}
@media (max-width: 767px) {
    .form input[type="submit"] {
        margin: 0 auto;
    }
}
