.form-style {
    display: flex;
    flex-direction: column;
    color: #616161;
}

.form-style .help-block {
    margin-bottom: 10px;
}

.form-style .has-error .help-block {
    color: #ffc219;
}

.form-style .has-error .form-style-input {
    border: 1px solid #ffc219;
}

.form-style .error-summary {
    color: #ffc219;
    margin-bottom: 10px;
}

.form-style a {
    color: inherit;
    font-size: 16px;
}

.form-style-input {
    height: 40px;
    background-color: #fafafa;
    padding: 0 20px;
    font-size: 16px;
    width: 100%;
    outline: none;
    border: 1px solid #c5c5c5;
    color: inherit;
    font-family: inherit;
}

textarea.form-style-input {
    padding: 20px;
    height: 85px;
    resize: none;
}

.form-style-button {
    width: 210px;
    max-width: 100%;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 18px;
    background-color: #ffc219;
    align-self: center;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.form-style-delete-button {
    background-color: #ef5858;
    height: 25px;
    width: auto;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: white;
    text-decoration: none;
}

.form-style-checkbox {
    display: block;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.form-style-checkbox label {
    padding-left: 30px;
}

.form-style-checkbox input  {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.form-style-checkbox label {
    cursor: pointer;
}

.form-style-checkbox .checker {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    pointer-events: none;
    border: 1px solid #c5c5c5;
}

.form-style-checkbox .checker:after {
    content: "";
    position: absolute;
    display: none;
}

.form-style-checkbox input:checked ~ .checker:after {
    display: block;
}

.form-style-checkbox .checker:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.form-style-checkbox:hover:after {
    background-color: #fafafa;
}

.form-style-checkbox input:checked ~ .checker {
    background-color: #05729b;
}

.form-wrap {
    width: 510px;
    padding: 50px;
}

.form-wrap {
    margin: 0 auto;
}

.form-style-file-input {
    padding-top: 8px;
}

.form-style-file-input input[type=file] {
    display: none;
}

.form-style-file-input button {
    outline: none;
    border: none;
    background-color: #ebebeb;
    padding: 5px 25px;
    color: #5b5b5b;
    display: inline-block;
    margin-bottom: 8px;
    margin-right: 5px;
}

.form-style-file-input .caption {
    display: inline-block;
    margin-bottom: 5px;
}

@media (max-width: 767px) {
    .form-wrap {
        width: 100%;
        padding: 20px;
    }
}
