/**
 * global.css
 * 
 * Author:		Mattias Johansson, 2008
 * Copyright:	Euroway Media, 2008
 */

/*
 * Elements and selectors.
 */

* {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

html, body {
	height: 100%;
	min-height: 100%;
}

body {
	color: #3F4145;
}

a {
	color: #780528;
}

a:hover {
	color: #AB0534;
}

strong {
	font-weight: bold;
}

p {
	margin-bottom: 6px;
}

h1 {
	font-size: 153.9%;
	padding: 6px 0 12px 0;
}

h2 {
	font-size: 138.5%;
	padding: 6px 0 6px 0;
}

h3 {
	font-size: 123.1%;
	padding: 6px 0 6px 0;
}

h4 {
	font-size: 108%;
	font-style: italic;
	padding: 6px 0 3px 0;
}

h5 {
	font-weight: bold;
	padding: 3px 0 3px 0;
}

h6 {
	font-style: italic;
	padding: 3px 0 0 0;
}

ol, ul {
	margin: 10px 10px 10px 15px;
}

ol li {
	list-style-type: decimal;
}

ul li {
	list-style-type: disc;
}

input, label, select	{	display: block; }
input, textarea			{	padding: 1px; }

input[type="text"],
input[type="password"],
textarea {
	background-color: #FFF;
	border: 1px solid #AAA;
}

input[type="hidden"]	{	padding: 0; }

label {
	margin-bottom: 2px;
	margin-top: 5px;
}

/*
 * IDs and Classes.
 */

.clear {
	clear: both;
}

.left {
	float: left;
}

.right {
	float: right;
}

.inline {
	display: inline;
}

.hidden {
	display: none;
}

.text_center {
	text-align: center;
}

.text_left {
	text-align: left;
}

.text_right {
	text-align: right
}

.error {
	color: #C00;
}

.successful {
	color: #080;
}

.failed {
	color: #C88;
}

.mandatory {
	color: #A00;
}

.not_active, .list_empty {
	font-style: italic;
}

.odd_row {
	background-color: #F0F0F0;
}

.even_row {
	background-color: #FFF;
}

.no_underline	{	text-decoration: none; }

/*
 * Main layout
 */

#wrapper {
	min-height: 100%;
	padding: 20px;
}

#doc4 {
	/*background-color: #FFF;*/
}

#pre_header,
#post_footer {
	font-size: 85%;
	text-align: right;
}

#pre_header a,
#post_footer a {
	color: #777;
	text-decoration: none;
}

#pre_header a:hover,
#post_footer a:hover {
	color: #666;
}

#pre_header a.in_section:hover,
#post_footer a.in_section:hover {
	border-bottom: 1px dashed #AAA;
}

#pre_header div {
	line-height: 250%;
}

#post_footer {
	font-size: 77%;
	margin: 0 14px 0 14px;
}

#top_border, #bottom_border {
	height: 10px;
	overflow: hidden;
}

#container {
	background: transparent url('../images/border/border_center.png') left top repeat-y;
	padding: 0 14px 0 14px;
}

#top_border,
#bottom_border {
	height: 14px;
	overflow: hidden;
}

#top_border {
	background: transparent url('../images/border/border_top.png') left top no-repeat;
}

#bottom_border {
	background: transparent url('../images/border/border_bottom.png') left top no-repeat;
}

#pre_header, #ft {
	background-color: #F0F0F0;
}

#hd {
	
}

#bd {
	background: transparent url('../images/body_top_shadow.png') left top repeat-x;
	border-top: 1px solid #BDBDBD;
	padding: 10px;
}

#ft {
	border-top: 1px solid #BDBDBD;
	font-size: 85%;
	padding: 5px 0 10px 0;
	text-align: center;
}

#header_content				{	height: 100px;
								position: relative; }
#header_content #ring	{	left: -26px;
								position: absolute;
								top: -51px; }

#body_content {
	float: left;
	width: 741px;
}

#body_content_full {
	width: 100%;
}

#post_footer #emb_icons {
	margin-top: 5px;
}

/*
 * Top navigation.
 */

#top_nav {
	margin: 0 0 0 15px;
	padding: 0;
}

#top_nav li {
	float: left;
	list-style: none;
}

#top_nav li a {
	background-color: #EAEAEA;
	color: #333;
	display: block;
	font-weight: bold;
	text-align: center;
	width: 120px;
}

#top_nav li a#private_section,
#top_nav li a#retailer_section {
	border-left: 1px solid #DDD;
}

#top_nav li a:hover, #top_nav li a.active {
	border: 0;
	color: #FFF;
}

#top_nav li a:hover {
	background-color: #C0C0C0;
}

#top_nav li a.active {
	background-color: #B0B0B0;
}

/*
 * Main navigation menu.
 */

#main_nav_container {
	height: 40px;
}

#main_nav {
	margin: 0 5px 0 5px;
	padding: 0;
}

#main_nav li {
	float: right;
	height: 100%;
	list-style: none;
	margin: 0 1px 0 1px;
}

#main_nav li.left {
	float: left;
}

#main_nav li a {
	background: transparent url('../images/main_nav_background.png') left top no-repeat;
	color: #FFF;
	cursor: pointer;
	display: table;
	font-size: 85%;
	font-weight: bold;
	height: 40px;
	overflow: hidden;
	text-decoration: none;
	width: 100px;
}

#main_nav li a:hover,
#main_nav li a.active {
	background: transparent url('../images/main_nav_background_active.png') left top no-repeat;
	color: #333;
}

#main_nav li a .outer {
    display: table-cell;
	text-align: center;
    vertical-align: middle;
}

#main_nav li a .inner {
	cursor: pointer;
	display: block;
}

/*
 * Navigation bar.
 */

#nav_bar {
	background: #C0C0C0 url('../images/nav_bar_background.png') left top repeat-x;
	font-size: 85%;
	line-height: 25px;
	padding: 10px;
}

#nav_bar #product_search input	{	display: inline; }

#nav_bar #site_nav_tree {
	font-variant: small-caps;
	margin: 0 15px 0 15px;
}

#nav_bar #site_nav_tree a {
	color: #AB0534;
	text-decoration: none;
}

#nav_bar #site_nav_tree a:hover {
	color: #BB1544;
	text-decoration: underline;
}

/*
 * Left navigation menu.
 */

#left_nav {
	background: #8C0523 url('../images/left_nav_background.png') left top repeat-y;
	float: left;
	margin-right: 10px;
	width: 175px;
}

#left_nav ul {
	margin: 0;
	padding: 10px;
}

#left_nav li {
	display: inline;
	list-style: none;
}

#left_nav a {
	color: #FFF;
	display: block;
	font-size: 93%;
	font-variant: small-caps;
	font-weight: bold;
	outline: none;
	text-decoration: none;
}

#left_nav a:hover,
#left_nav li.active_subcategory a {
	text-decoration: underline;
}

#left_nav li.active_subcategory a {
	color: #F7EBB5;
}

#left_nav ul.subcategory_list,
#left_nav ul.active_subcategory_list {
	padding: 5px;
}

#left_nav ul.subcategory_list {
	display: none;
}

#left_nav ul.active_subcategory_list {
	display: block;
}

#left_nav ul.subcategory_list a,
#left_nav ul.active_subcategory_list a {
	font-weight: normal;
}

#left_nav ul a.category_name,
#left_nav ul a.subcategory_name {
	display: block;
}

#left_nav ul a.category_remove,
#left_nav ul a.category_edit,
#left_nav ul a.subcategory_remove,
#left_nav ul a.subcategory_edit {
	float: right;
	padding-left: 5px;
	text-align: right;
}

/*
 * Extra
 */

.section_header {
	border-bottom: 1px solid #8A8A8A;
	font-size: 108%;
	font-weight: bold;
	margin: 5px 0 5px 0;
	width: 100%;
}

.section_header .desc {
	font-size: 85%;
	font-weight: normal;
}

/*
 * Paginations
 */


.pagination {
	font-variant: small-caps;
	margin-top: 10px;
	text-align: center;
}

.pagination a, .pagination .current_page {
	margin: 0;
	padding: 0 5px 0 5px;
}

.pagination a {
	text-decoration: none;
}

.pagination .current_page {
	font-size: 116%;
}

#login_form							{	border: 1px solid #EEE;
										margin: 10px;
										padding: 10px; }
#login_form input#email,		/* Private email */
#login_form input#name,			/* Retailer company name */
#login_form input#username,		/* Administratior username */
#login_form input#password			{	width: 250px; }
#login_form input#submit			{	margin: 10px 0 10px 0; }
#login_form .error					{	margin-bottom: 5px; }

