div.wpcf7-response-output {color: #000; margin: 2em 0.5em 1em; padding: 0.2em 1em;}
div.wpcf7-mail-sent-ok {border: 2px solid #398f14; background-color: #fff; padding: 5px; box-shadow: 2px 2px 5px #797979; -moz-box-shadow: 2px 2px 5px #797979;}
div.wpcf7-mail-sent-ng {border: 2px solid #ff0000; background-color: #fff; padding: 5px; box-shadow: 2px 2px 5px #797979; -moz-box-shadow: 2px 2px 5px #797979;}
div.wpcf7-spam-blocked {border: 2px solid #ffa500; background-color: #fff; padding: 5px; box-shadow: 2px 2px 5px #797979; -moz-box-shadow: 2px 2px 5px #797979;}
div.wpcf7-validation-errors {border: 2px solid #f7e700; padding: 5px; box-shadow: 2px 2px 5px #797979; -moz-box-shadow: 2px 2px 5px #797979; white-space: nowrap;}
span.wpcf7-not-valid-tip {color: #000; position: absolute; z-index: 100; background: #fff; border: 1px solid #ff0000; font-size: 10pt; padding: 5px; white-space: nowrap; box-shadow: 2px 2px 5px #797979; -moz-box-shadow: 2px 2px 5px #797979;}
span.wpcf7-not-valid-tip-no-ajax {color: #f00; font-size: 10pt; display: block;}
span.wpcf7-list-item {display: block; float: left; clear: both;} 
.wpcf7-captcha-captcha {vertical-align: bottom;}
#main .wpcf7-captcha-captcha {border: none;}

span.wpcf7-list-item {float: left; clear: both; width: 100%; margin: 0 0 1em 0;}

.table-form th {text-align: left;}
input[type="text"], textarea {width: 320px;}
textarea {height: 100px;}
#captcha {width: 50px;}
.button {width: 100px; text-align: center; color: #fff; font-weight: bold; text-shadow: 1px 1px 0 #000; background-color: #979797; border: 1px solid #5f5f5f; padding: 5px 0; border-radius: 5px; cursor: pointer;}
.button:hover {background-color: #5f5f5f;}

input[type="text"], textarea, select {border: 1px solid #aaaaaa; background-color: #fdf7ee; border-radius: 5px; padding: 4px; transition: border 0.2s, box-shadow 0.2s ease-in-out;}
textarea:focus, input[type="text"]:focus {background-color: #fff; box-shadow: 0px 0px 4px #C4C4C4;}
textarea:hover, input[type="text"]:hover {box-shadow: 0px 0px 4px #C4C4C4;}
.form-submit {text-align: center; margin: 1em 0;}
.form-required {color: #FF0000;}