.form div, form {
    width: 100%;
    position: relative;
    margin: 0 0 15px 0;
}

.form input {
    font-size: .95rem;
    margin: 0;
    padding: 10px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 3px;
    overflow: hidden;
}

.form input:focus {
    border-color: #03a9f4;
    transition: 0.5s;
}

.form label {
    padding: 0.625rem 0;
    font-size: .8rem;
    color: #777474;
    pointer-events: none;
    transition: 0.5s;
}

.form input {
    -webkit-box-shadow: inset 0 0 0 50px #fff;
    -webkit-text-fill-color: #000;
}

.form__submit {
    text-align: right;
}

.btn {
    border: none;
    outline: none;
    color: #fff;
    background-color: #03a9f4;
    padding: 0.5rem 1.25rem;
    cursor: pointer;
    border-radius: 0.2rem;
    font-size: .8rem;
}

.btn:hover {
    background-color: #1cb1f5;
}

.modal-form {
    position: relative;
    display: flex;
    margin: 0 auto;
    width: 300px;
}

.form input:focus ~ label, .form input:valid ~ label, .form input:not([value=""]) ~ label {
    width: auto;
    top: -8px;
    left: 10px;
    padding: 0 5px;
    background: #fff;
    color: #d4d4d4;
    border-bottom: none;
    font-weight: 700;
}

.form-group.has-error span {
    font-size: .8rem;
    color: #d43736;
}

textarea {
    width: 100%;
    border-color: #dddddd;
    border-radius: 3px;
    padding: 10px;
    font-size: .8rem;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #2a2328;
    font-size: 0.78rem;
}

::-moz-placeholder { /* Firefox 19+ */
    color: #dde1e0;
    font-size: 0.78rem;
}

:-ms-input-placeholder { /* IE 10+ */
    color: #dde1e0;
    font-size: 0.78rem;
}

:-moz-placeholder { /* Firefox 18- */
    color: #dde1e0;
    font-size: 0.78rem;
}

.form textarea ~ label {
    top: -8px;
    left: 10px;
    padding: 0 5px;
    color: #2a2328;
    font-size: 0.75rem;
    line-height: 1.25;
    width: auto;
    background: #fff;
    font-weight: 700;
}

.form input:focus, .form textarea:focus {
    border-color: #008cff;
    outline: none;
}

.modal-form {
    display: block;
    width: 85%;
}

.modal-form .form-col-1, .modal-form .form-col-2 {
    padding: 0;
}

.modal-form .form-col-2 {
    display: flex;
    margin: 0 !important;
}

.modal-form .form input {
    padding: 8px;
}

.modal-form .form-col-2 label.title-time {
    top: -13px;
    color: #2a2328;
    font-size: 0.75rem;
    line-height: 1.25;
    font-weight: 700
}

.modal-form .form input:focus ~ label,
.modal-form .form input:valid ~ label,
.modal-form .form input:not([value=""]) ~ label,
.modal-form .form textarea ~ label {
    top: -18px;
    left: 0;
    background: none;
}

.modal-form textarea {
    padding-top: 10px;
}

input#file-upload {
    display: none;
}

.box_upload {
    background-color: #f5f5f5;
    padding: 2.25rem .25rem;
    text-align: center;
}

.box_upload + .box_upload {
    margin-top: 2.5rem;
}

.form-group.js {
    margin: 0;
}

.box-upload {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    width: 59%;
    border-radius: 10px;
    color: #5a7c88;
    text-align: center;
    background: #f7f7f7;
    border: 3px solid #f5f5f5;
}

.box-upload label i {
    font-size: 2rem;
    margin: 0;
    line-height: 1.5em;
    color: #ffffff;
    background: #77ccfd;
    width: 18%;
    float: right;
    display: block;
    padding: 0;
    transform: rotate(90deg);
}

.box-upload label i:hover {
    background: #d6d6d6;
}

.box-upload input[type="file"] {
    display: none;
}

.box-upload label {
    overflow: hidden;
    display: block;
    height: 100%;
    margin: 0 auto;
    cursor: pointer;
    background: #ffffff;
}

.box-upload span {
    display: block;
    width: 82%;
    float: left;
    line-height: 48px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
}

#file-name {
    display: none;
}

.form-group-upl.js {
    width: 100%;
}

.file-upload {
    position: relative;
    overflow: hidden;
    width: 100%;
    border: 2px dashed #86befb;
    border-radius: 5px;
    padding: 40px 25px;
    color: #007bff;
    text-align: center;
    margin: 25px 0 10px 0;
}

.file-upload i {
    font-size: 42px;
    display: block;
    margin: 10px 0 0 0;
    line-height: 1em;
}

.file-upload:hover {
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload label {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload span {
    line-height: 20px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -1px;
}

.contact-form .form-col-1, .contact-form .form-col-2 {
    padding: 0;
}

.contact-form .form-col-2 {
    display: flex;
}

.contact-form .form__group {

}

.contact-form .form input {
    padding: 5px 15px 5px;
}

.contact-form textarea {
    width: 100%;
    height: 120px;
    border-color: #dddddd;
    border-radius: 3px;
    padding: 25px 15px 5px;
    font-size: .8rem;
}

span.text-danger {
    font-size: .7rem;
    color: #d43736;
}

.success_title {
    font-size: 2rem;
}

.success_content {
    font-size: 1.5rem;
    letter-spacing: -1px;
}

#loaderCv {
    height: 135px;
    background: #fff url(../img/upload.gif) no-repeat center;
    margin: 0 -20px -20px;
    border-radius: 0 0 15px 15px;
}

.loader-form:before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background: #ffffffa8;
}

.error {
    border: 1px solid #c9180b !important;
}

/*--- Forms ---*/

.form__fields, .form-field {
    position: relative;
    padding-right: 15px;
}

.form__fields {
    width: 75%;
    padding: 30px 20px;
}

.form__fields.main-field {
    padding-right: 5px;
}

.form__fields.aside {
    border-left: 1px solid #e4edef;
    padding: 30px 20px;

}

.form__fields h5 {
    padding-left: 0;
}

.form__fields h5 i {
    padding-right: 10px;
    vertical-align: middle;
}

.form-field, .form-select, .form-checkbox {
    position: relative;
    width: 100%;
    margin-top: 20px;
    padding: 0 15px 0 0;
}

.form-checkbox {
    margin-top: 10px;
}

form .form-field input {
    margin: 0;
    padding: 10px 16px;
    width: 100%;
    border: 1px solid #dadada;
    border-bottom: 1px solid #c1c1c1;
    border-radius: 3px;
}

form .form-field input:focus, form .form-field textarea:focus {
    border-color: #03a9f4ad;
    transition: 0.5s;
}

form .form-field label {
    position: absolute;
    top: 2px;
    left: 15px;
    padding: 0.625rem 0;
    font-size: 80%;
    color: #777474;
    pointer-events: none;
    transition: 0.5s;
}

form .form-field input:focus ~ label,
form .form-field input:not([value^=""]) ~ label {
    top: -10px;
    left: 10px;
    background: #fff;
    padding: 0 7px;
    color: #888;
    font-weight: 500;
    font-size: 75%;
}

form .form-field input, input:focus {
    -webkit-box-shadow: inset 0 0 0 50px #fff;
    -webkit-text-fill-color: #5f5f5f;
    outline: #03a9f4;
    font-size: 95%;
    box-shadow: 0 2px 2px -2px #dadada;
}

.form-field.error input {
    border-color: #dc0d6b;
}

.form-field.error span {
    font-size: 70%;
    color: #dc0d0d;
    font-weight: 600
}

.form-field.error label {
    color: #dc0d0d !important
}

.form-field.error span:before {
    content: '*';
    margin-right: 3px
}

.form-select select {
    max-width: 100%;
    padding: 10px;
}

.custom-select {
    border: 1px solid #dadada;
    border-radius: 3px;
    padding: 0;
    height: auto;
    line-height: 18px;
    width: auto;
    box-shadow: 0 2px 2px -2px #e0e0e0;
}

.custom-select-open {
    border: 2px solid #03a9f4;
    border-bottom: none;
    border-radius: 3px 3px 0 0;
}

.custom-select-open > div {
    border-color: #03a9f4 !important;
    border-radius: 0 0 3px 3px;
}

.form-select label {
    position: absolute;
    top: -10px;
    left: 10px;
    background: #ffffff;
    padding: 0 10px;
    z-index: 1;
    color: #888;
    font-weight: 500;
    font-size: 80%;
}

.custom-select > div {
    top: calc(100% - 3px);
    left: -1px;
    margin-top: 3px;
    width: calc(100% + 4px);
    border: 2px solid #f7f8fa;
    border-top: 0;
}

.custom-select input {
    width: calc(100% - 10px);
    border: 2px solid #dddddd8c;
    margin: 0 5px 0;
}

.custom-select a {
    height: auto;
    width: 100%;
    padding: 10px 0px 10px 9px;
}

.custom-select a span {
    -webkit-text-fill-color: #909090;
    font-size: .85rem;
    line-height: 125%;
}

.custom-select a:after {
    content: '';
    position: absolute;
    top: calc(50% - 4px);
    right: 15px;
    width: 0px;
    height: 0px;
    border-top: 6px solid #b3b3b3;
    border-left: 4px solid #3330;
    border-right: 4px solid #3330;
    background: #fff;
    z-index: 9;
}

.custom-select-open a:after {
    border-top: none;
    border-bottom: 6px solid #03a9f4;
}

.custom-select > div > div::-webkit-scrollbar {
    width: 3px;
    height: 8px;
}

.custom-select > div > div::-webkit-scrollbar-thumb {
    cursor: pointer;
    background: #dde1e0;
}

.custom-select div ul li.option-hover {
    background: #f3f3f3;
    color: #404040;
}

.custom-select div ul li:hover {
    background: #f3f3f3;
    color: #404040;
}

.custom-select div ul li {
    padding: 8px 10px;
    margin: 0 2px 0 0;
    font-size: .8rem;
}

form.form-search {
    border: 1px solid #ddd;
    padding: 0 0 20px 0;
    border-radius: 3px;
}

.form-search button {
    width: 100%;
    padding: 8px;
    font-size: 1.2rem;
}