body.tpl_home div.ui-dialog-titlebar,
body.page_upcoming-events div.ui-dialog-titlebar,
body .ui-dialog div.ui-dialog-titlebar {background:none;}
body.tpl_home div.ui-dialog,
body.page_upcoming-events div.ui-dialog,
div.ui-dialog {
    border-radius:10px;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    border:2px solid #695547;
    background-color:rgba(255,255,255,0.95);
}
body.tpl_home div.ui-dialog.has-title span.ui-dialog-title,
body.page_upcoming-events div.ui-dialog.has-title span.ui-dialog-title,
div.ui-dialog.has-title span.ui-dialog-title {
    background-image:none;
    background-color:#f0f0f0;
    border-radius:10px 10px 0 0;
    -moz-border-radius:10px 10px 0 0;
    -webkit-border-radius:10px 10px 0 0;

}
body.tpl_home div.ui-dialog.has-title span.ui-dialog-title h2,
body.page_upcoming-events div.ui-dialog.has-title span.ui-dialog-title h2,
div.ui-dialog.has-title span.ui-dialog-title h2 {
    color:#695547;
    margin:0;
    padding:0;
}
body.tpl_home div.ui-dialog.has-title span.ui-dialog-title h2 strong,
body.page_upcoming-events div.ui-dialog.has-title span.ui-dialog-title h2 strong,
div.ui-dialog.has-title span.ui-dialog-title h2 strong {
    color:#db002e;
    text-transform:uppercase;
}

#freedemo-popup-loading {
	position:absolute;
}

#freedemo-popup-container {
	width:430px;
	margin:10px auto;
}

#freedemo-popup-container h2 {
	color:#695547;
	margin:10px 0 20px;
}

#freedemo-popup-container h2 strong {
    color:#db002e;
	text-transform:uppercase;
}

#freedemo-popup-text-container {
	width:180px;
	float:left;
}

#freedemo-popup-form-container {
	width:210px;
	float:right;
}

#freedemo-form label {
    display:block;
    width:70px;
    float:left;
    margin-right:10px;
}

#freedemo-form input.textinput {
    background-image:none;
    background-color:#e2e3e3;
    border:1px solid #dbdcdd;
    border-radius:5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    
    width:200px;
    height:18px;
    padding:0 3px;
    margin:0;
    
    font-family:Arial, sans-serif;
    font-size:12px;
    color:#695547;
}

#freedemo-form-button-container {
	clear:both;
	text-align:center;
	padding-top:15px;
}


#freedemo-popup-text-container input {
	float:left;
}

#freedemo-popup-text-container label {
	width:auto;
	margin:0 0 0 20px;
	float:none;
}

#freedemo-form p {
    margin:5px 0;
}

#freedemo-form span.formerror {
    background-image:url(../images/67/contact/formerror.png);
    background-repeat:no-repeat;
    background-position:center left;
    width:16px;
    height:16px;
    float:right;
    position:relative;
    top:-18px;
    left:-5px;
}

#freedemo-form span.formerror span {
    display:none;
    padding:2px;
    margin-left:-190px;
    margin-top:-2px;
    width:170px;
    font-size: 11px;
    line-height: 125%;
}

#freedemo-form span.formerror:hover span {
    display:inline;
    position:absolute;
    background:#fdd;
    border:1px solid #800;
    color:#800;
    border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
}


#freedemo-form-container {
	width:430px;
	margin:8px 0;
}

#freedemo-form-container h2 {
	color:#695547;
	margin:10px 0 20px;
}

#freedemo-form-container h2 strong {
    color:#db002e;
	text-transform:uppercase;
}

#freedemo-form-text-container {
	width:180px;
	float:left;
}

#freedemo-form-form-container {
	width:210px;
	float:right;
}

#freedemo-form-text-container input {
	float:left;
}

#freedemo-form-text-container label {
	width:auto;
	margin:0 0 0 20px;
	float:none;
}
