/* Form validation */
form label { display: inline-block; width: 100px; }
.error { color: red; margin-left: 5px; }
label.error { display: inline; }

/* Base resets */
h1,h2,h3,h4,h5,h6,p,figure,ul { margin: 0; }
p { line-height: 22px; }
body { font-weight: 400; color: #333; font-size: 14px; font-family: 'Figtree', sans-serif !important; }
a:hover, a:focus, a.active,
button:hover, button:focus { outline: none; text-decoration: none; }

/* Buttons */
.btn-success {
    background: var(--main-bg-color) !important;
    border: 2px solid var(--main-bg-color) !important;
    border-radius: 80px !important;
    padding: 10px 35px !important;
    font-weight: normal !important;
    color: #fff !important;
}
.btn-success:hover,
.btn-success:focus {
    background: #fff !important;
    color: var(--main-bg-color) !important;
}

/* Form */
.form-control:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* Sections content */
.sections-content h5 {
    font-size: 14px;
    text-transform: uppercase;
    color: #7c7c7c;
    position: relative;
    margin-bottom: 1rem;
}
.sections-content h2 {
    font-size: 36px;
    color: var(--main-bg-color);
    text-transform: uppercase;
}
.sections-content p {
    font-size: 14px;
    line-height: 24px;
    margin-top: 10px;
}

/* Site forms */
.site-forms .form-group { margin-bottom: 20px; }
.site-forms .form-control { height: auto; border-color: #ddd; padding: 15px 15px; }
.site-forms textarea.form-control { height: 180px; padding: 15px; }

/* Contact wrapper */
.f-wrapper {
    padding-bottom: 3rem;
    position: relative;
    padding-top: 8rem;
    background: #f7f7f7;
}

/* Company info cards */
.company-info {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 22px -10px rgba(0,0,0,0.3);
    text-align: center;
    padding: 2rem;
    height: 100%;
}
.company-info i {
    font-size: 45px;
    width: 150px;
    height: 104px;
    line-height: 4.5rem;
    color: #fff;
    padding-left: 7px;
}
.company-info p {
    margin-top: 20px;
    color: #666;
}

/* Form success message */
.form-submit-success {
    background: linear-gradient(to bottom right, var(--main-bg-color) 0%, #ececec 100%);
    color: #fff !important;
    padding: 1em;
    font-size: 1.1em;
    display: none;
}

.f-wrapper .btnAction {
    margin-top: 20px;
}

/* --- Validation states --- */
.form-control {
    transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control.is-invalid {
    border-color: #e53935 !important;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15) !important;
    background-color: #fff;
}
.form-control.is-valid {
    border-color: var(--main-bg-color) !important;
    box-shadow: 0 0 0 3px rgba(36, 87, 44, 0.12) !important;
    background-image: none; 
}
.field-error {
    display: block;
    color: #e53935;
    font-size: .78em;
    margin-top: 4px;
    min-height: 1em;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .2s ease, transform .2s ease;
        text-align: left;
}
.field-error.visible {
    opacity: 1;
    transform: translateY(0);
}
.form-submit-success {
    border-radius: 6px;
    padding: .8em 1.2em !important;
    font-size: .95em !important;
}
.btnAction:disabled {
    opacity: .7;
    cursor: not-allowed;
}
