/*General styles*/
select option {
	margin: 4px;
}

input:-moz-focus-inner {
	border: 0;
}

.iphorm-container {
	width: 486px;
	background-color: #f9f9f9;
	border: 12px solid #3e3e3e;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-left: 40px;
	padding-top: 20px;
	padding-right: 0px;
	padding-bottom: 20px;
	/*Rounded corners*/
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
}

.iphorm-wrapper {
	padding-bottom: 25px;
}

.iphorm-message p {
    text-align: center;
}

.iphorm-inner {
	margin: 0px;
}
.form-title {
	font-size: 12px;
	font-weight: bold;
	color: #424242;
	padding-top: 4px;
	padding-right: 15px;
	padding-bottom: 4px;
	padding-left: 15px;
	border: 1px solid #C6C6C6;
	background-color: #FFFFFF;
	background: url('../images/button_bg.png') repeat center top;
	text-shadow: #F5F5F5 1px 1px 0px;
	/*Rounded corners*/
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	margin-bottom: 10px;
	margin-right: 60px;
}
/*input, select and textarea styles*/

.input-wrapper input, .input-wrapper select, .input-wrapper textarea {
	color: #333333;
	background-color: #FFFFFF;
	padding-top: 3px;
	padding-right: 2px;
	padding-bottom: 3px;
	padding-left: 2px;
	border-color: #b4b4b4 #e9e9e9 #e9e9e9 #b4b4b4;
    border-style: solid;
    border-width: 1px;
	/*Rounded corners*/
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-moz-box-shadow: 1px 1px 0px #fff;
	-webkit-box-shadow: 1px 1px 0px #fff;
	box-shadow: 1px 1px 0px #fff;
	width: 200px;
}

.input-wrapper input:focus, .input-wrapper select:focus, .input-wrapper textarea:focus {
	background-color: #F2F2F2;
}
label.check-box input {
	width: 20px;
}
input#subject {
	float: left;
}
/*Label style*/
.element-wrapper label {
	font-weight: bold;
	line-height: 18px;
	font-size: 13px;
}
label.check-box {
	display: block;
	font-weight: normal;
}
.red {
	font-weight: normal;
	color: #CC0000;
}
/*Error styles*/
.iphorm-container ul.form-errors {
    margin: 0;
    padding: 0;
    display: none;
}

.iphorm-container ul.form-errors li {
	background-image: url(../images/err.png);
	background-repeat: no-repeat;
	background-position: 5px center;
	padding-top: 4px;
	padding-right: 10px;
	padding-bottom: 4px;
	padding-left: 30px;
	list-style-type: none;
	color: #CC0000;
	background-color: #F3CAC7;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	display: inline-block;
	/*Rounded corners*/
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

div.error-message {
    background-color: #F3CAC7;
    border: 1px solid #FF7E7E;
    margin-bottom: 5px;
}

div.message {
    padding: 5px;   
}

/*Non JS error message*/


ul.errors-no-js li {
	margin-left: 0px;
	line-height: 22px;
	padding-left: 0px;
	list-style-type: none;
	font-weight: bold;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 4px;
}

ul.errors-no-js li ul li {
	background-image: url(../images/err.png);
	background-repeat: no-repeat;
	background-position: 5px center;
	padding-top: 3px;
	padding-right: 10px;
	padding-bottom: 3px;
	padding-left: 30px;
	list-style-type: none;
	color: #CC0000;
	line-height: 19px;
	background-color: #F3CAC7;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	display: inline-block;
	/*Rounded corners*/
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

/*Other form styles*/

.iphorm-container .message-element {
    height: 110px;
    width: 420px;	
}

.iphorm-container .captcha-hidden-wrapper {
    display: none;
}

.iphorm-container .element-wrapper {
	margin-bottom: 5px;
	float: left;
	margin-right: 15px;
	position: relative;
}

.submit-button-wrapper {
	float: right;
	margin-top: 18px;
	width: 175px;
}

.submit-button-wrapper, .message-input-wrapper {
	margin-right: 59px;
}
img.cancel-img {
	padding-top: 5px;
	float: left;
}
.input-wrapper input.captcha-element {
	width: 75px;
}
/*Send button styles*/
.submit-button-input-wrapper {
	height: 27px;
}

.submit-button-input-wrapper input {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	text-shadow: 1px 1px 0px #ffffff;
	background: url('../images/button_bg.png') repeat center top;
	height: 27px;
	width: 75px;
	padding: 1px 12px 0;
	cursor: pointer;
	border-color: #CCCCCC #999999 #999999 #CCCCCC;
	border-style: solid;
	border-width: 1px;
	display: inline-block;
	float: right;
	/*Rounded corners*/
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	
}

.submit-button-input-wrapper input:active {
    background:none repeat scroll 0 0 #EEEEEE;
    padding-left: 13px;
    padding-right: 11px;
    outline: 0 none;	
}

.submit-button-input-wrapper input::-moz-focus-inner  {
    border: 0;
}

.iphorm-inner .submit-button-wrapper div.loading-wrapper {
    float: left;
    padding-top: 4px;
    font-style: italic;
}

.iphorm-inner .submit-button-wrapper div.loading-wrapper .loading {
    display: none;
}

/*Captcha*/
.captcha-img {
	float: left;
	margin-right: 10px;
	margin-top: 1px;
	margin-bottom: 1px;
}

.captcha-input-wrapper {
    width: 230px;	
}

/*Success (message sent)*/
.success-message {
	font-weight: bold;
	padding-left: 25px;
	padding-top: 3px;
	padding-bottom: 3px;
	background-image: url(../images/success.png);
	background-repeat: no-repeat;
	background-position: left center;
}
.success-message img {
	float: left;
	margin-bottom: 10px;
	margin-right: 10px;
}
