﻿/***************************************************
	CSS for the following:
		- "Tell a Friend" dialog
		- "Tell Us What You Think" dialog
***************************************************/


input[type='text'].error,
textarea.error
{
	border-color: #F00 !important;
	background-color: #FCC !important;
}


/*** Outer blocks and modal containers ***/
#tell-a-friend,
#tell-us-what-you-think
{
	display: none;
}
#simplemodal-overlay
{
	background-color: #000;
}
#simplemodal-container
{
	height: 540px;
	width: 445px;
	background-color: #fff;
	border: 3px solid #ccc;
}
#simplemodal-container iframe
{
	height: 540px;
	width: 445px;
}
#simplemodal-container a.modalCloseImg
{
	/*background: url(/images/dialog-x.png) no-repeat;*/
	background: url(../images/pop-close.jpg) no-repeat;
	width: 25px;
	height: 29px;
	display: inline;
	z-index: 3200;
	position: absolute;
	/*top: -14px;
	right: -18px;*/
	top: -3px;
	right: -25px;
	cursor: pointer;
}



/*** Form elements and layouts ***/
.popup
{
	color: #aaa;
	padding-left: 35px;
	padding-right: 35px;
	padding-bottom: 30px;
	background-image: url(/images/ShoppingList-background.jpg);
}

div.popup div.head
{
	border: 0;
}
div#tell-a-friend div.popup div.head h1
{
	background: url(/images/TellAFriend.gif) no-repeat left bottom;
	text-indent: -9999px;
}
div#tell-us-what-you-think div.popup div.head h1
{
	background: url(/images/tell-us-what-you-think.png) no-repeat left bottom;
	text-indent: -9999px;
}

div.popup div.content
{
	width: 100%;
}

div.popup fieldset.from,
div.popup fieldset.send_to,
div.contact-us fieldset
{
	margin: 10px auto 0;
	clear: both;
	padding: 10px;
	vertical-align: middle;
	line-height: 20px;
	border: 1px solid #ddd;
	background-color: #fff;
}
div.popup fieldset.from h2
{
	background: url(/images/from.gif) no-repeat left center;
	text-indent: -9999px;
	margin-bottom: 5px;
}
div.popup fieldset.send_to h2
{
	background: url(/images/send_to.gif) no-repeat left center;
	text-indent: -9999px;
	margin-bottom: 5px;
}

div.popup div.content label
{
	float: left;
	display: block;
	width: 65px;
	text-align: left;
	margin-left: 20px;
	height: 20px;
	margin-right: 10px;
	padding-top: 5px;
}


div.popup div.content input#carbon_copy,
div.popup div.content input#carbon_copy_think
{
	width: 12px;
	height: 10px;
	margin-left: 92px;
}
div.popup fieldset.send_to label.cc,
div.popup fieldset.from label.cc
{
	width: 150px;
	text-align: left;
	margin: 0 0 0 5px;
	height: 12px;
	padding: 0;
}

div.popup div.content input[type='text'],
div.popup div.content input[type='button'],
div.popup div.content input[type='checkbox'],
div.popup div.content textarea
{
	width: 196px;
	display: block;
	float: left;
	border: 1px solid #aaa;
	margin-bottom: 5px;
	margin-top: 5px;
	font: 12px Arial, Helvetica, sans-serif;
	color: #666;
}
div.popup div.content fieldset p
{
	float: left;
	display: block;
	width: 196px;
	padding: 2px;
	line-height: 13px;
	font-size: 10px;
	font-weight: bold;
}

div.popup div.content input#tell-a-friend-submit,
div.popup div.content input#tell-us-what-you-think-submit
{
	width: auto;
	clear: both;
	float: left;
	border: 1px solid #999;
	margin-left: 93px;
}


.resultPanel
{
	border: 1px solid #999;
	margin: 30px;
	overflow: hidden;
	text-align: center;
}

input.btnCloseModal
{
	display: inline;
	border: 1px solid #aaa;
	margin-bottom: 5px;
	margin-top: 5px;
	font: 12px Arial, Helvetica, sans-serif;
	color: #666;
}

