/* CSS Document */

#form-contact {
    margin: 1em auto;
    padding-bottom: 50px;
    text-align: left;
}

form {
    margin: 0;
    padding: 0;
}
form .max img {
    width: 100% !important;
    float: none !important;
    border: none !important;
    margin: 1em 0 !important;
}
form .column-2.last {
    margin-left: calc(10% - 5px);
}
form .column-3 {
    width: 30% !important;
    margin: 0 55px 0 0 !important;
}
form .column-3.last {
    margin: 0 !important;
}
form .row-2 {
    width: 65% !important;
    margin: 0 !important;
}

label,
form .column {
    display: inline-block;
    vertical-align: top;
    width: 45%;
    margin-bottom: 1em;
    padding: 0.5em 0 0.5em 0;
    position: relative;
    text-align: left;
    cursor: pointer;
}
label.disabled input {
    background: rgba(0, 0, 0, 0.05);
}
label.max {
    width: 100%;
    margin: 0.25em 0;
}
label * {
    letter-spacing: 0;
}
form .label {
    /*text-transform: uppercase; */
}
label.disabled .label {
    opacity: 0.3;
}
label .error {
    position: absolute;
    left: 0;
    bottom: -0.75em;
    color: rgba(150, 0, 0, 1);
    font-size: 0.875em;
}
label .error .fa {
    margin: 0;
}

form .fa.small {
    font-size: 0.688em;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;
    -khtml-opacity: 0.8;
    opacity: 0.8;
    vertical-align: top;
    margin-top: 0.5em;
}

input,
textarea,
select,
button,
.form-box {
    background: rgba(50, 50, 150, 0.05);
    border-left: 1px solid rgba(50, 50, 150, 0.05);
    color: rgba(30, 30, 30, 1);
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 1.25em;
    border: 0;
    padding: 0.5em 0.75em;
    margin: 0.25em 0;
    display: block;
    width: calc(100% - 1.5em);
    -moz-transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}
.required input,
.required textarea,
.required select,
.form-box.required {
    background: rgba(50, 50, 150, 0.05);
    border-left: 1px solid rgba(50, 50, 150, 1);
}
.active input,
.active textarea,
.active select {
    background: rgba(50, 50, 150, 0.1);
}
.fail input,
.fail textarea,
.fail select {
    background: rgba(120, 0, 0, 0.8);
}
input:focus,
textarea:focus,
select:focus {
    background: rgba(50, 50, 150, 0.1);
}
input[type="checkbox"],
input[type="radio"] {
    width: auto;
    display: inline-block;
    margin-right: 0.5em;
}
input[type="submit"],
button {
    width: auto;
    margin: 0.5em 0;
    padding: 0.5em 1em;
    background: rgba(50, 50, 150, 1);
    color: rgba(255, 255, 255, 1);
    border: 0 !important;
    display: inline-block;
}
input[type="submit"]:hover,
button:hover {
    background: rgba(0, 0, 0, 0.8);
}
input[type="file"] {
    cursor: pointer;
}

textarea {
    padding: 0.5em 0.5em;
    min-height: 60px;
    -moz-transition: all 0.5s linear;
    -webkit-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    transition: all 0.5s linear;
}
textarea:focus {
    min-height: 400px;
}
select {
    width: calc(100%);
}
option {
    background: rgba(255, 255, 255, 1);
    color: rgba(30, 30, 30, 1);
    border: 0;
}
fieldset {
    display: block;
    padding: 0 0;
    vertical-align: top;
    text-align: left;
}

.form-box {
    display: inline-block;
    width: auto;
    font-size: 0.875em;
}

#steps h3 {
    display: none;
}
#steps h4:not(:first-child) {
    padding-top: 2em;
}

#steps ul {
    padding: 0.5em 0;
}
#steps ul li {
    list-style: none;
    display: none;
    padding: 0;
}
#steps .actions {
    padding: 0.5em 0;
    overflow: hidden;
    text-align: right;
}
#steps .actions li {
    list-style: none;
    padding: 0;
    display: inline-block;
    vertical-align: top;
}
#steps .actions li.disabled {
    display: none;
}
#steps .actions li:first-child {
    float: left;
}
#steps .actions li a {
    display: block;
    background: rgba(50, 50, 150, 0.05);
    padding: 0.75em 1.5em;
    border-left: 1px solid rgba(50, 50, 150, 0.1);
    -moz-transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}
#steps .actions li a:hover {
    background: rgba(50, 50, 150, 0.1);
    border-left: 1px solid rgba(50, 50, 150, 1);
}
#steps .actions li:first-child a {
    border: 0;
    border-right: 1px solid rgba(50, 50, 150, 0.1);
}
#steps .actions li .fa {
    margin: 0;
}

#steps .thumb {
    display: inline-block;
    vertical-align: top;
    border-left: 1px solid rgba(50, 50, 150, 1);
    margin-bottom: 0.5em;
}

.message {
    background: rgba(50, 50, 150, 0.9);
    color: rgba(255, 255, 255, 1);
    padding: 1.5em 2em;
    margin: 2em auto;
    width: 600px;
    display: block;
    vertical-align: top;
    text-align: center;
    position: fixed;
    left: 50%;
    margin-left: -300px;
    top: 200px;
    z-index: 5000;
}
.error .message {
    background: rgba(120, 0, 0, 0.9) !important;
}
.message * {
    color: rgba(255, 255, 255, 1) !important;
}
.message h2 {
    padding-bottom: 0.5em;
}
.message .message-close {
    position: absolute;
    right: 1em;
    top: 0.5em;
}

/* ====================
   Tablet
   ==================== */

@media only screen and (max-width: 1024px) {
    fieldset {
        padding: 0 !important;
        width: 100% !important;
        display: block;
        border: 0;
    }
    form .fa {
        display: none;
    }

    label,
    form .column form .row-2,
    form .column-3 {
        display: block !important;
        width: auto !important;
        margin: 0 0 0.5em 0 !important;
    }
}
