/* remember to define focus styles! */
:focus {
    outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
    text-decoration: none;
}

del {
    text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/** Styles */

.wrapper {
    width: 960px;
    margin: 0 auto;
    padding: 0;
}

h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #444;
}

/** Contact Form **/

#contact-wrapper {
    position: relative;
    display: block;
}

.form-wrapper {
    float: left;
    width: 500px;
    position: relative;
}

.address-wrapper {
    float: left;
    width: 400px;
    position: absolute;
    right: 0;
    top: 0;
    color: #999;
    background: #fff;
    margin-top: 60px;
}


#contact-wrapper h2 {
    font-size: 30px;
    line-height: 1.2;
    margin: 9px 0;
    letter-spacing: -1px;
    color: #333;
    font-weight: bold;
}

#contact-wrapper h2.success {
    color: #5791fc;
}

p.success {
    font-size: 16px;
    color: #666;
}

.submit input{
    margin:20px 0 0 245px;
    height: 24px;
    cursor: pointer;
    width: 71px;
    background: transparent;
	border:1px solid #ceb17b;
	color:#000;
	font-size:13px;
	float:left;
}

.submit input:hover{
	border:1px solid #761213;
	color:#761213;
}

/** Form Styles **/
input, textarea, select {
    font: 12px Helvetica Neue, "Arial", Helvetica, Verdana, sans-serif;
    width: 300px;
    padding: 2px;
    margin: 0;
    color: #761213;
    border: 1px solid #761213;
    outline: none;
    display: inline-block;
    position: relative;
    z-index: 2;
    background: #fef8ed;
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
}

input {
    height: 16px;
}

select {
    width: 348px;
    padding: 6px 6px;
}

textarea {
    width: 300px;
    overflow: auto;
    background: #fef8ed;
	resize: none;
}

input:focus, textarea:focus, select:focus {
    -webkit-box-shadow: 0px 0px 5px #fef8ed;
    -moz-box-shadow: 0px 0px 5px #fef8ed;
    box-shadow: 0px 0px 5px #fef8ed;
}

.field {
    margin: 3px 0 0 10px;
    position: relative;
    width: 490px;
    clear:both;
}

label {
    display: block;
    width: 118px;
    padding:0 18px 0 0;
    float: left;
    color: #761213;
    text-align: right;
    font: 12px/24px Helvetica Neue, "Arial", Helvetica, Verdana, sans-serif;
}

.error, .tooltip {
    height: 16px;
    width: 186px;
    background-color: #761213;
    border: 1px solid #761213;
    font: 11px/16px Helvetica Neue, "Arial", Helvetica, Verdana, sans-serif;
    color: #fef8ed;
    padding: 2px;
    margin-left: -2px;
    z-index: 999;
	visibility:hidden;
	display:none;
}

.error{
    z-index:9999;
	visibility:hidden;
	display:none;
}

.error span, .tooltip span{
    width:186px;
    display:block;
	visibility:hidden;
	display:none;
}

.tooltip {
    background: #fef8ed;
    border-color: #761213;
    color: #666;
	visibility:hidden;
	display:none;
}

.overlay {
    display: none;
    z-index: 10000;
    background-color: #fff;
    width: 912px;
    padding: 24px;
    min-height: 200px;
    border: 1px solid #666;
    background: #fef8ed;
    border: 1px solid #761213;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-box-shadow: 0px 1px 4px #ddd;
    -moz-box-shadow: 0px 1px 4px #ddd;
}


.overlay .close:before {
    content: 'X';
}

.overlay .close {
    background: #eee;
    border-radius: 17px;
    -moz-border-radius: 17px;
    -webkit-border-radius: 17px;
    border: 1px solid #AAAAAA;
    cursor: pointer;
    height: 23px;
    padding-top: 5px;
    position: absolute;
    right: -15px;
    text-align: center;
    top: -15px;
    width: 29px;
}

#exposeMask{
    position:fixed !important;
}


/* `Clear Floated Elements
----------------------------------------------------------------------------------------------------*/

/* http://sonspring.com/journal/clearing-floats */

.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}

/* http://perishablepress.com/press/2009/12/06/new-clearfix-hack */

.clearfix:after {
    clear: both;
    content: ' ';
    display: block;
    font-size: 0;
    line-height: 0;
    visibility: hidden;
    width: 0;
    height: 0;
}

/*
	The following zoom:1 rule is specifically for IE6 + IE7.
	Move to separate stylesheet if invalid CSS is a problem.
*/
* html .clearfix,
*:first-child+html .clearfix {
    zoom: 1;
}