/******************************************************************************
 * components/base.css
 * 
 * Copyright (C) 2006-10 Fairfax eCommerce Pty Ltd.
 *
 * Generic CSS definitions for both CMS and public pages.
 *****************************************************************************/

*
{
	padding: 0;
	margin: 0;
}

html { overflow: -moz-scrollbars-vertical; }

body
{
    text-align: center;
    font-family:  Verdana, Arial, Helvetica, sans-serif;
}

#wrapper
{
    width: 1000px;
    margin: auto;
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: left;
}

a { text-decoration: none; }

table
{
    width: 100%;
    font-size: 12px; /* Needed for IE */
    border-collapse: collapse;
}

img { border: 0; vertical-align: bottom; }

img.img-alone { display:block; }


/******************************************************************************
 * Text layout
 *****************************************************************************/

h1, h2, h3, h4
{
    margin-top: 1em;
    margin-bottom: 0.67em;
}

p, .p, ul
{
    margin-bottom: 0.5em;
}

td { vertical-align: top; }

ul
{
	list-style-position: outside;
	margin-left: 18px;
}

ol
{
	list-style-position: outside;
	margin-left: 20px;
}
select > option { padding-left: 3px; padding-right: 5px; }

/******************************************************************************
 * Fonts
 *****************************************************************************/

body, table { font-size: 12px; }

.fine-print { font-size: 9px; }

/******************************************************************************
 * Menus
 *****************************************************************************/

.menu ul
{
	list-style-position: outside;
	list-style-type: none;
}

.menu-label
{
	text-align: center;
	font-style: italic;
	margin-top: 5px;
	margin-bottom: 5px;
}

/******************************************************************************
 * Columns
 *****************************************************************************/

.left-column
{
    padding-right:5px;
}

.right-column
{
    padding-left:5px;
}

.middle-column
{
    padding-right:5px;
    padding-left:5px;
}

/******************************************************************************
 * Standard Forms
 *****************************************************************************/

/* A standard form has two columns, labels on the left, values on the right.
 * They comprise the bulk of forms in a website.
 *
 * Standard forms are 400px wide.
 * Label column is 160px, widget column is 240px;
 * padding between columns is 5px each side.
 */

.standard-form table
{
	width: auto;
}

.standard-form .std-form-labels-0
{
	width: 160px;
}

.standard-form .std-form-values-0
{
	width: 240px;
}

.standard-form hr { margin: 10px 0; }

.standard-form td { padding-top: 2px; padding-bottom: 2px; }

.standard-form .text-widget { width: 235px; }

.standard-form .fullwidth
{ width: 400px; }

.form-buttons { margin: 3px 0; }

.form-reponse
{
    margin-top: 1em;
    margin-bottom: 1em;
}

.form-reponse td
{
    vertical-align: middle;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
    font-weight: bold;
}

.form-success
{
    border: 3px solid green;
    background-color: rgb(168, 255, 168);
}

.form-reject
{
    border: 3px solid red;
    background-color: rgb(255, 153, 153);
}

.form-response-msg
{
    padding-right: 10px;
}

.form-response-icon
{
    width: 1px;
    text-align: center;
}

/******************************************************************************
 * widgets
 *****************************************************************************/

.widget-tiny   { width: 2em; }
.widget-small  { width: 5em; }
.widget-medium { width: 15em; }
.widget-large  { width: 25em; }
.widget-xlarge  { width: 500px; }
.widget-full   { width: 99%; }

/* Group Widgets *************************************************************/

ul.group-widget { margin-left: 0; }
.group-widget li { padding-right: 5px; }

/* List Selectors ************************************************************/
 
.fws-list-sel td
{
    vertical-align: middle;
    text-align: center;
}

.fws-list-sel select
{
    width: 250px;
    height: 400px;
}

/* Sort Widget ***************************************************************/

.sort-widget
{
	list-style-type: none;
}

/******************************************************************************
 * images
 *****************************************************************************/

.float-left
{
	margin-right: 5px;
	margin-top: 5px;
	margin-bottom: 5px;
	float: left;
}

.float-right
{
	margin-left: 5px;
	margin-top: 5px;
	margin-bottom: 5px;
	float: right;
}

.Photo-right, .Photo-right-top
{
    margin-left: 5px;
    clear: both;
    float: right;
}

.Photo-left, .Photo-left-top
{
    margin-right: 5px;
    clear: both;
    float: left;
}

.Photo-right, .Photo-left, .Photo-across-page
{
    margin-top: 5px;
    margin-bottom: 5px;
}

.Photo-right-top .Photo-left-top, .Photo-across-page-top
{
    margin-top: 0px;
    margin-bottom: 5px;
}

/******************************************************************************
 * Input Box/Message Box
 *****************************************************************************/


.message-outer
{
    text-align: center;
    margin-top: 50px; 
}
.message-inner
{
    padding: 10px;
    width: 350px;
    margin: auto;
    text-align: left;
    border: 1px red solid;
}
.message-inner .form-buttons { text-align: right; }

/******************************************************************************
 * Lists
 *****************************************************************************/

.paginator
{
	width: auto;
}

.paginator td { width: 25px; text-align:center; }

/******************************************************************************
 * Misc
 *****************************************************************************/

.top
{
    margin-top: 0;
}

.bottom
{
    margin-bottom: 0;
}

.tooltip
{
    display: none;
    position: absolute;
    z-index: 2;

    font-size:8px; 
    padding: 3px; 
    border: solid 1px;
	background-color: #D3E3F6;
}
