input, select, textarea { font-family:inherit; font-size: inherit; }

#contact_form {
    display: inline-block;
    width: calc(100% - 120px);
    /*max-width: 360px;*/
    /*padding: 0 10px;*/
    padding: 40px 60px;
    margin: 0px auto;
    background-color: #FFF;
    border: 1px solid #FFFFCC;
    border-radius: 8px;
    font-size: 0pt;
}

#contact_form h2 {
    font-size: 1.5rem;
    text-align: left;
    margin-left: 0px;
    margin-right: 0px;
}

.btn_submit { text-align: center; }

    
input[type=submit] {
    width: 100%;
    max-width: 340px;
    height: auto;
    padding: 15px 8px 15px 8px; /*15px*/
    margin: 30px 0px 10px 0px;
    text-align: center;
    text-decoration: none; 
    color: #5F6A7D;
    font-size: 1.083rem;
    border-top: 0;
    border-bottom: 0;
    border-left:  2px solid #0F0C9E;
    border-right: 2px solid #2E9FBD;
    background: #FFF;
    background-image: 
        linear-gradient(to right, #0F0C9E, #2E9FBD),
        linear-gradient(to right, #0F0C9E, #2E9FBD)
    ;
    background-size: 100% 2px;
    background-position:0 0, 0 100%;
    background-repeat:no-repeat; 
    border-radius: 3px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
    
input[type=submit]:hover {
    background-size: 100%;
    color: #FFFFFF;
}

input[type=text], select {
    margin: 5px 5px 25px 5px;
    width: calc(50% - 10px);
}

textarea {
    margin-left: 5px;
    margin-right: 5px;
    width: calc(100% - 10px);
}

input[type=text], select, textarea {
    height: 45px;
    /*width: 100%;*/
    padding: 7px 10px 7px 10px;
    color: #666;
    background-color: #FFF;
    font-size: 1.083rem;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-transition: all 0.30s ease-in-out, width 0ms;
    -moz-transition: all 0.30s ease-in-out, width 0ms;
    -ms-transition: all 0.30s ease-in-out, width 0ms;
    -o-transition: all 0.30s ease-in-out, width 0ms;
    transition: all 0.30s ease-in-out, width 0ms;
    outline: none;
    border: 1px solid #A1A1A1;
}
 
input[type=text]:focus, select:focus, textarea:focus {
    box-shadow: 0 0 5px rgba(46, 159, 189, 1);
    border: 1px solid rgba(46, 159, 189, 1);
}

textarea {
    height: 120px;
    resize: none;
}

input[type=text].error, select.error,
input[type=text]:focus.error, select:focus.error {
    box-shadow: 0 0 5px rgba(128, 0, 0, 1);
    border: 1px solid rgba(128, 0, 0, 1);
}

.form_header {
    padding-bottom: 0;
}

#form_top:before { 
    display: block; 
    content: " "; 
    height: 40px;
    margin-top: -40px;
    visibility: hidden; 
}

.form_column {
    display: inline-block;
    vertical-align:top;
    width: 50%;
}
.form_column input[type=text], .form_column select {
    width: calc(100% - 10px);
}
.form_column textarea {
    margin-top: 5px;
    margin-bottom: 25px;
    height: calc((4 * 45px) + (3 * (5px + 25px)));
}