#overlay_modal {
	min-width: 730px;
}




.overlay_jenny_craig_dialog, .jenny_craig_dialog {
	background-color: #fff;
	_background-color: #fff;
	filter:alpha(opacity=60);
	_filter:alpha(opacity=60);
	-moz-opacity: 0.6;
	opacity: 0.6;
	z-index: 9999;
}

.dialog {
	position: absolute;
}

.overlay_ffmac {
	background-color:transparent;
	-moz-opacity: 1;
	opacity: 1;
	z-index: 30;
}

.jenny_craig_dialog_nw {
	width: 9px;
	height: 8px;
	background: transparent url('/images/dialogs/top_left-trans.png') 0 0 no-repeat;			
}

.jenny_craig_dialog_n {
   height: 8px;
   background: transparent url('/images/dialogs/horizontal_bar_top-trans.png') 0 0 repeat-x;		 
}

.jenny_craig_dialog_ne {
   width: 11px;
	height: 8px;
   background: transparent url('/images/dialogs/top_right-trans.png') 0 0 no-repeat;
}

.jenny_craig_dialog_e {
	width: 11px;
	background: transparent url('/images/dialogs/vertical_bar_right-trans.png') 0 0 no-repeat;
}

.jenny_craig_dialog_w {
	width: 9px;
	background: transparent url('/images/dialogs/vertical_bar_left-trans.png') 0 0 no-repeat;
}

.jenny_craig_dialog_sw {
   width: 8px;
	height: 11px;
	background: transparent url('/images/dialogs/bottom_left-trans.png') 0 0 no-repeat;			
}

.jenny_craig_dialog_s {
   height: 11px;
	background: transparent url('/images/dialogs/horizontal_bar_bottom-trans.png') 0 0 repeat-x;		
}

.jenny_craig_dialog_se, 
.jenny_craig_dialog_sizer {
   width: 10px;
	height: 11px;
	background: transparent url('/images/dialogs/bottom_right-trans.png') 0 0 no-repeat;		
}

.jenny_craig_dialog_close {
   position: absolute;
   z-index: 999;
   top: 7px; right: 10px;
   cursor: pointer;
   height: 13px;
   width: 13px;
   background: url('/images/dialogs/close_box_with_border.gif') 0 0 no-repeat;
}

.jenny_craig_dialog_minimize {
	width: 0px;
	height: 0px;
	display:none;
}

.jenny_craig_dialog_maximize {
	width: 0px;
	height: 0px;
	display:none;
}

.jenny_craig_dialog_title {
	visibility: none;
}

.jenny_craig_dialog_content {
	background-color: #FFF;
	background-repeat: repeat-x;
}
.jenny_craig_dialog_content p a {
   text-decoration: underline;
   cursor: pointer;
}

.jenny_craig_dialog_content .single .moduleBody,
.jenny_craig_dialog_content .double .moduleBody,
.jenny_craig_dialog_content .triple .moduleBody,
.jenny_craig_dialog_content .quadruple .moduleBody,
.jenny_craig_dialog_content .overlayError .moduleBody {
	min-height: 123px !important; /* 143px - 2em padding */
}

.jenny_craig_dialog_message {
   color: #333;
   overflow: hidden;
}
.jenny_craig_dialog_message h1 {
   margin-top: 0; margin-bottom: 0.5em;
   margin-right: 2em;   
   font-size: 1.3em; /* 13 points */
   color: #FFF;
}
.jenny_craig_dialog_message h1 {
	position: absolute;
	top: 10px; left: 5px;
	height: 25px;
	width: 370px;
	padding: 0 15px;
	padding-top: 1px;
	background-image: url('/assets/images/dialogs/jenny_craig_dialog/header_orange_background.png');
	background-repeat: repeat-x;
}

/* For alert/confirm dialog */
.jenny_craig_dialog_window {
	background: #FFF;
	padding:20px;
	margin-left:auto;
	margin-right:auto;
	width:400px;
}

.jenny_craig_dialog_buttons {
	padding: 0 12px;
	text-align: right;
}

.dialog .dialog_buttons {
	position: absolute;
	bottom: 1.5em; right: 2em;
}

.jenny_craig_dialog_buttons input {
	margin-left: 4px;
}
.jenny_craig_dialog_buttons .cancel_button {
  	
	display: inline;
}

.jenny_craig_dialog_buttons .ok_button {
	margin-right: 1em;
	display: inline;
}


.jenny_craig_dialog_progress {
	float: left;
	margin: auto;
	text-align: center;
	width: 100%;
	height: 16px;
	background: #FFF url('/assets/images/dialogs/jenny_craig_dialog/progress.gif') center center no-repeat;
}

.dialog .checkbox input {
   margin: 0 0.25em 0 0;
}

.dialog form .checkbox label {
   font-weight: normal;
   color: #333;
}
.dialog form label {
   font-weight: bold;
}

.jenny_craig_dialog_content label {
   color: #081B3C;
}

.dialog .top.table_window td,
.dialog .bottom.table_window td {
   line-height: 1px;
}

.dialog .cancel_button {
  #margin-right: 1em;
}

.dialog .ok_button {
   #float: right;
}

.dialog .button_bar {
   position: absolute;
   right: 22px; top: 45px;
   padding: 0;
}

/************************************************************** 
* Modules
**************************************************************/

.dialogModuleContainer div.module {
	float: left;
	margin-right: 6px;
}

.dialogModuleContainer .single .neutral .gradient .moduleBody {
	background-image: url('/assets/images/dialogs/jenny_craig_dialog/single_neutral_gradient.gif') !important;
	background-repeat: no-repeat;
}

.dialogModuleContainer .double .neutral .gradient .moduleBody {
   background-image: url('/assets/images/dialogs/jenny_craig_dialog/double_neutral_gradient.gif') !important;
   background-repeat: no-repeat;
}

.dialogModuleContainer .triple .neutral .gradient .moduleBody {
   background-image: url('/assets/images/dialogs/jenny_craig_dialog/triple_neutral_gradient.gif') !important;
   background-repeat: no-repeat;
}

.dialogModuleContainer .quadruple .neutral .gradient .moduleBody {
   background-image: url('/assets/images/dialogs/jenny_craig_dialog/quadruple_neutral_gradient.gif') !important;
   background-repeat: no-repeat;
}

.dialogModuleContainer .double .gradient .moduleBody, 
.dialogModuleContainer .double .tertiary .gradient .moduleBody {
  height: inherit !important;
}

.dialogModuleContainer .single .tertiary .gradient .moduleBody, 
.dialogModuleContainer .normalPromo .gradient, 
.dialogModuleContainer .customGradient .gradient {
  min-height: inherit !important; 
}


/************************************************************** 
* Error Dialogues
**************************************************************/
.overlayError {
	background: url('/assets/images/interface/modules/regular/backgrounds/bg_error_overlay.jpg') left bottom no-repeat;
	color: #666;
	margin-bottom: -10px;
	line-height: 1.0em;
} 

.overlayError.flash {
	height: 370px;	
}

.overlayError.cookie {
	height: 300px;
}


/*header for overlayError Flash, Cookie errors*/

.overlayError h3 {
	background: url('/assets/images/interface/modules/regular/heads/error_major_burgundy.jpg') 0 0 no-repeat;
	color: #fff;
	height: 32px; /* 50px - 18px of padding */
   	padding: 18px;
   	font-size: 1.8em; /* 18 points */
	line-height: 1.0em !Important;
}

.overlayError h4 {
	font-weight: normal !Important;
	font-size: 1.6em;
	margin: 0 0 25px 15px;
	color: #666;
}

.overlayError img {
	margin: 0 0 20px 15px;
}

.overlayError p {
	margin: 10px 0 10px 15px;
}

/*yellow boxes*/
.overlayError .alert {
	background: url('/assets/images/interface/modules/regular/backgrounds/alert_back.gif') top left no-repeat;
	height: 38px;
	width: 572px;
	margin: 0 0 12px 0;
}

.overlayError .alert a {
	font-weight: bold;
	text-decoration: none;
	color: #666;
}

.overlayError .alert.high {	
	background: url('/assets/images/interface/modules/regular/backgrounds/alert_back_high.gif') top left no-repeat;
	height: 46px;
}

.overlayError .alert p {
	padding: 0; 
	margin: 10px 0 0 20px;
	float: left;
	width: 400px;
}

.overlayError .alert.high p {	
	margin-top: 8px;
}

.overlayError .alert a.alertButton {
	display: block;
	float: right;
	margin: 10px 10px 0 0;
}

.overlayError .alertButton {
	overflow: hidden;
	background-repeat: no-repeat;
	height: 0px !important;
	padding-top: 18px;
   	height /**/: 18px;
	width: 104px;
	background-image: url('/assets/images/interface/modules/universal/buttons/enter_site.gif');
}

.overlayError .alertButton.flash {
	background-image: url('/assets/images/interface/modules/universal/buttons/download_flash.gif');
}

.overlayError .alertButton.cookies {
	background-image: url('/assets/images/interface/modules/universal/buttons/enable_cookies.gif');
}

.overlayError p.last {
	clear: both;
	margin-top: 50px;
}

/************************************************************** 
 * MAIL TO A FRIEND =mailtofriend
 * Homepage; Success Stories
 **************************************************************/
.jenny_craig_dialog_content #mailToFriendForm .double.module {
	width: 434px;
	}
	
.jenny_craig_dialog_content #mailToFriendForm .double input,
.jenny_craig_dialog_content #mailToFriendForm .double textarea {
	border-width: 1px;
	border-style: solid;
	border-color: #c4c7c7 #dfdfdf #e9e9e9;
	background: #fff url('/assets/images/interface/forms/input_white_bg.png') top right no-repeat;
	}

#mailToFriendForm p label {
	font-weight:normal !Important;
}

#mailToFriendForm h3 { /*fixes header collapse in IE6*/
	line-height: 1.0em;
	}
	
#mailToFriendForm {
   width: 434px;
   color: #666;
}

.primary #emailTitle {
	color:#666;
}

/*error message*/

#mailToFriendForm ul {
	margin-top: 10px;
	margin-bottom: 10px;
}

#mailToFriendForm ul li {
	line-height: 1.0em; /*fixes display issues in ie6 */
} 

form#mailToFriendForm p {
	clear: left;
	margin: 10px 0 0 0;
	padding: 0;
	position: relative;
}

form#mailToFriendForm em {
	display: block;
	margin: 5px 0 10px 0;
}

form#mailToFriendForm p.wrapLeft {
 	float: left;
	clear: none;
}

form#mailToFriendForm p.wrapRight {
 	float: right;
	clear: none;
} 
form#mailToFriendForm p.wrap {
	margin: 60px 0 0 0px;
} 

form#mailToFriendForm input {
 	margin: 16px 0 0 10px;
}

form#mailToFriendForm input.text {
 	margin: 7px 0 0 0;
	width: 180px;
}
 
form#mailToFriendForm textarea {
 	margin-top: 7px;
	width: 402px;
	height: 90px;
    overflow-y: auto;
    overflow-x: auto;
}

form#mailToFriendForm input#email_submit {
 	margin: 0;
	padding: 0;
	border: 0;
	background: url('/assets/images/interface/forms/submit_buttons/send.png') no-repeat;
	height: 18px;
	width: 46px;
	font-size: 0px;
}

form#mailToFriendForm input#email_cancel {
 	margin: 0;
	padding: 0;
	border: 0;
	background: url('/assets/images/interface/forms/submit_buttons/cancel.png') no-repeat;
	height: 18px;
	width: 55px;
	font-size: 0px;
}

form#mailToFriendForm #email_cancel img {
 	cursor:pointer;
}

form#mailToFriendForm #emailButtons {
	text-align: right;
	margin-top: 10px;
	}
