/**
modal_content => sm_content
modal_overlay => sm_olay
modal_close => sm_close
modal_title => sm_title
**/

/*modal*/
#sm_content {
	display: none;
	position: fixed;
	top:10%;
	left: 50%;
	padding: 0 0 15px 0;
	
	
	background-color:#f5f1e6;
	background-image: url(/img/logo_modal.gif);
	background-repeat: no-repeat;
	
	-webkit-box-shadow: 0px 0px 8px #111;
	
	width:540px;
	margin-left:-260px;
	/*text-align:center;*/
}
#sm_content small{font-size:77%;}
#sm_content .sm_close{
	background-image: url('/img/modal_close.gif');
	width: 51px;
	height: 14px;
	float:right;
	cursor:pointer;
}
#sm_content h3{font-size:116%;}
#sm_olay { background-color: #000; }
/* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */
* iframe.overlay {position:absolute;top:0;left:0;z-index:-1;
	width: expression(this.parentNode.offsetWidth+'px');
	height: expression(this.parentNode.offsetHeight+'px');
}

/* Fixed posistioning emulation for IE6
     Star selector used to hide definition from browsers other than IE6
     For valid CSS, use a conditional include instead */
* html #sm_content {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}



/* content */
div.modal_header {
	height: 66px;
	border-bottom: 1px solid #dad5c9;
}

div.modal_restname {
	height: 30px;
	border-bottom: 1px solid #dad5c9;
	font-family: "Tahoma", sans-serif;
	font-size:14px;
	font-weight: bold;
	color: #3c331f;
	text-align: center;
	padding: 8px 0 0 0;
}

div.modal_title {
	border-bottom: 0px;	
}

div.modal_instructions {
	height: 50px;
}

div.modal_text {
	width: 450px;
	height: 210px;
	margin-left: 60px;
	overflow:auto;
	padding: 15px;
	font-family: "Trebuchet MS", sans-serif;
	font-size:12px;
	color: #4a3f28;
	background-color: #fbfafa;
}

div.modal_text_ccv {
	width: 390px;
	height: 90px;
}

div.modal_footer {
	height: 50px;
}

div.modal_agree {
	font-family: "Trebuchet MS", sans-serif;
	font-size:12px;
	color: #4a3f28;
	height: 42px;
	margin: 10px 0 0 60px;
}

/*.modal_agree label { outline: 1px solid red; }*/

div.modal_error_msg {
	font-family: "Trebuchet MS", sans-serif;
	font-size:12px;
	color: #4a3f28;
	height: 42px;
	margin: 0px 0 0 60px;
}

div.modal_btn {
	background: url('/img/btn_conttobilling.gif') no-repeat 0px 0px;
	width: 279px;
	height: 23px;
	margin: 0 0 0 140px;
	cursor: pointer;
}

.modal_hidden {
	display:none;
}

