html, body, form {
	padding: 0;
	margin: 0;
	text-align: center;
	height: 100%;
}

html {
	overflow-y: scroll;
	overflow-x: auto;
}

body {
	background: url(/site_assets/img/body-bg.gif) repeat-x top left;

}

body, div, span, td {
	font-family: Verdana;
	font-size: 11px;
}

table, td, div, span {
	text-align: left;
}

/* clearing element for search container div above datagrid */
hr.clear {
	clear: both; 
	visibility: hidden; 
	height: 0; 
}


/* header with rotating logo */
div#header {
	background-color: white;
}

div#header div.header-content {
	margin: 0 auto;
	width: 991px;
	height: 140px;
	background-repeat: no-repeat;
	background-position: bottom right;
}

img#header-logo {
	float: left;
	margin-top: 35px;
}

img#header-text {
	float: left;
	margin-top: 53px;
	margin-left: 200px;
}

/* horizontal nav menu */
div#nav {
	height: 32px;
	background: #4b2077 url(/site_assets/img/nav-bg.gif) repeat-x top left;
	border-bottom: 6px solid white;
	margin: 0 auto;
	width: 991px;
}

div#nav .menu {
	display: table;
	width: 100%;
	table-layout: auto;
}

div#nav .menu, div#nav .menu ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

div#nav .menu li {
	display: table-cell;
	text-align: center;
	min-width: 100px;
}

div#nav .menu li.main:hover {
	background-color: #4a2968;
}

div#nav .menu .main:first-child {
	border-left: 0;
}

div#nav .menu .main {
	padding: 1px;
	padding-top: 8px;
	padding-bottom: 9px;
	display: table-cell;
}


div#nav .menu .main a {
	margin-left: 8px;
	margin-right: 8px;
	text-decoration: none;
	font-weight: bold;
	font-size: 12px;
	color: #f8b323;
	display: inline-block;
	
}

div#nav .menu ul.sub {
	position: relative;
	
	top: 10px;
	left: -1px;
	display: none;
	
	background-color: #4a2968;
}

/* second level */
div#nav .menu ul.sub ul.sub {
	top: 0;
	left: 159px;
	background-color: #704a8e;
}

/* second level position on the left */
div#nav .menu ul.sub ul.sub.left {
	left: -159px;
}

div#nav .menu .sub li {
	text-align: left;
	display: block;
}

div#nav .menu .sub li:hover {
	/*background-color: #f0d8ba;*/
}

div#nav .menu .sub li a {
	font-weight: normal;
	font-size: 11px;
	color: white;
	padding: 3px;
	text-decoration: none;
	display: block;
}

div#nav .menu .sub li a:hover {
	color: #f9ba3f;
}

div#nav .menu li>ul { /* to override top and left in browsers other than IE, which will position to the top right of the containing li, rather than bottom left */
	top: auto;
	left: auto;
}

div#nav .menu li:hover > ul, 
div#nav .menu li.over > ul { /* lists nested under hovered list items */
	display: block;
}

div#nav li.main.user-menu > a,
div#nav li.main.user-menu > a:hover {
	color: white;
}

div#nav li.has-submenu > a {
	background: url(/site_assets/img/has-submenu.png) no-repeat center right;
}

div#nav li.separator {
	border-bottom: 1px solid #704a8e;
}



/* Ecard send wizard */

div.newWizard td, div.newWizard label, div.newWizard div, div.newWizard p {
	color: white;
}

div.newWizard label {
	font-weight: bold;
}

div.newWizard {
	width: 100%;
}

div.newWizard div.navig {
}

div.newWizard div.navig table {
	width: 100%;
}

div.newWizard div.navig table td {
	border: 4px solid white;
	height: 25px;
	padding: 0;
	background-color: #bddf9c;
}

div.newWizard div.navig div.idx {
	float: left;
	height: 21px;
	width: 25px;
	padding-top: 4px;
	margin-right: 10px;
	border-right: 2px solid white;
	text-align: center;
}

div.newWizard div.navig div.link {
	float: left;
	height: 21px;
	padding-top: 4px;
}

div.newWizard div.navig div.idx, div.newWizard div.navig a, div.newWizard div.navig a:hover {
	color: white;
	font-family: Arial;
	font-size: 14px;
	font-weight: bold;
}

div.newWizard div.navig table td.active {
	background-color: #4a2073;
}

div.newWizard div.navig a, div.newWizard a:hover {
	margin-top: 4px;
}

div.newWizard div.header {
	clear: both;
	margin-left: 6px;
	margin-right: 6px;
}

div.newWizard div.step {
	clear: both;
	margin-left: 6px;
	margin-right: 6px;
	padding: 5px;
	padding-top: 10px;
	background-color: #9ccf5a;
	font-size: 14px;
	color: #52247b;
}

div.newWizard div.step p, div.newWizard div.step div {
	font-size: 12px;
	color: #52247b;
}


div.newWizard div.footer input {
	background-color: #f7f7f7;
	color: #4a2073;
	border: 1px solid gray;
	font-weight: bold;
	font-size: 13px;
	margin: 2px;
}


div.categoryName {
	height: 20px;
	width: 245px;
	background-color: #b5db8c;
	font-weight: bold;
	padding-left: 5px;
	padding-top: 5px;
}

div.imageList {
	clear: both;	
	background-color: #b5db8c;
	padding-bottom: 15px;
	padding-top: 5px;
}

div.imageList div.item {
	float: left;
	width: 150px;
	min-height: 100px;
	border: 2px solid #b5db8c;
	text-align: center;
}

div.imageList div.item p {
	margin: 0;
	padding: 0;
	text-align: center;
	font-size: 11px;
}

div.imageList div.item.selected {
	border: 2px solid white;
}

div.newWizard div.footer {
	clear: both;
	height: 23px;
	margin-left: 6px;
	margin-right: 6px;
	margin-top: 4px;
	padding-top: 3px;
	background-color: #9ccf63;
}

div.newWizard div.footer div.prev {
	float: left;
}

div.newWizard div.footer div.next {
	float: right;
}

div.categorylist {
	float: left;
}

div.ecard {
	float: right;
}

div.categoryListFilter {
	float: left;
	background-color: #b5db8c;
	width: 100%;
	padding-top: 10px;
	padding-bottom: 10px;
	border-top: 3px solid white;
}

div.categoryListFilter a, div.categoryListFilter a:hover {
	font-size: 12px;
	color: #52247b;
	text-decoration: none;
	font-weight: bold;
}

div.categoryListFilter a.active, div.categoryListFilter a:hover {
	color: white;
}

div.categoryListFilter div.active a, div.categoryListFilter div.active a:hover {
	color: white;
}

.newWizard select.ecardDD {
	font-size: 13px;
	width: 250px;
}

.newWizard input, .newWizard label {
	font-size: 13px;
}

.tabPanel {
	position: relative;
	/*float: left;*/
	width: 100%;
}

.tabPanel .tab {
	font-family:	Verdana, Helvetica, Arial;
	font-size:		12px;
	display:		inline;
	margin:			1px -5px 1px 5px;
	float:			left;
	padding:		3px 6px 4px 6px;
	background:		#b9dd90;
	border:			1px  solid;
	border-color:	#b1b2b4;
	z-index:		1;
	position:		relative;
	top:			0;
}

.tabPanel .tab a {
	color: white;
	text-decoration: none;
	font-weight: bold;
}

.tabPanel .tab a:hover, 
.tabPanel .tabActive a,
.tabPanel .tabActive a:hover {
	color: #4c2177;
	text-decoration: none;
	font-weight: bold;
}

.tabPanel .tabActive {
	position:		relative;
	display:		inline;
	float:			left;
	font-family:	Verdana, Helvetica, Arial;
	font-size:		12px;
	border:			1px solid #b1b2b4;
	border-bottom:	0;
	z-index:		3;
	padding:		2px 6px 8px 6px;
	margin:			1px -6px -2px 0px;
	top:			-2px;
	background:		#b9dd90;
}

.tabPanel .tabContent {
	clear:			both;
	border:			1px solid #b1b2b4;
	z-index:		2;
	position:		relative;
	top:			-2px;
	padding:		10px;
}


div#content {
	width: 991px;
	margin: 0 auto;
	padding-top: 20px;
	padding-left: 40px;
}

/* Ecard viewer */
div.ecardwizard {
	width: 575px;
}

div.front {
 	width: 475px; 
 	min-height: 305px;
	margin: 0 auto;
	background: url(/site_assets/img/ecard_bg.gif) no-repeat bottom left;
	border: 1px solid #d7a561;
}

div.front img.textImage {
 	margin: 0 auto;
 	margin-bottom: 10px;
 	display: block;
}

div.front div.flash {
}

div.back {
 	width: 425px; 
 	margin: 0 auto;
	padding: 25px;
	padding-bottom: 0;
	background: url(/site_assets/img/ecard_bg.gif) no-repeat bottom left;
	border: 1px solid #d7a561;
}

div.back div.text {
	float: left;
	min-height: 225px;
	width: 215px;
	padding-top: 30px;
	padding-bottom: 15px;
	padding-right: 10px;
	border-right: 1px solid #8d8d8d;
}

div.back div.poststamp {
	float: right;
	width: 190px;
	height: 110px;
	text-align: right;
}

div.back div.poststamp img {
	text-align: right;
}

div.back div.address {
	float: right;
	width: 190px;
	height: 125px;
}

div.address p,  div.address p a, div.address p a:hover {
	font-family: Arial;
	font-size: 13px;
	font-weight: bold;
}

div.address p {
	color: #4b2077;
	margin: 0;
}

div.address p a, div.address p a:hover {
	color: #58585a;
	text-decoration: none;
}

div.address p a:hover {
	text-decoration: underline;
}

h1.head {
	font-size: 20px;
}
 
h1.address {
	font-size: 24px;
	padding: 0;
	margin: 0;
	margin-top: 10px;
}

div.footer {
	clear: both;
	padding-top: 10px;
	padding-bottom: 10px;
	text-align: center;
}

div.footer, div.footer a, div.footer a:hover {
	font-family: Arial;
	font-size: 10px;
	color: #87888a;
}

div.links {
	width: 100%;
	margin-top: 25px;
	text-align: center;
}

div.links a, div.links a:hover {
	font-family: Arial;
	font-size: 18px;
	text-decoration: none;
}

/* banner panel with 3 banners on home page */
table.banners {
	margin: 0 auto;
	margin-top: 20px;
	width: 600px;
}

table.banners td {
	padding: 0;
}

table.banners td div.banner {
	margin: 0 auto;
}

/* These are standard sIFR styles... do not modify */
.sIFR-flash {
	visibility: visible !important;
	margin: 0;
}

.sIFR-replaced {
	visibility: visible !important;
}

span.sIFR-alternate {
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 0;
	display: block;
	overflow: hidden;
}

/* Hide Adblock Object tab: the text should show up just fine, not poorly with a tab laid over it. */
.sIFR-flash + div[adblocktab=true] {
  display: none !important;
}

/* container for banners */
div.banner {
	width: 170px;
	height: 75px;
}

