/***************************************************************************
 *                                common.css
 *                            ------------------
 *	 AUTHOR				  : Kevin K. Nelson
 *   EMAIL                : knelson@taoti.com
 *   COPYRIGHT            : (C) 2005-2007 Taoti Enterprises International, Inc.
 *                           -  ALL RIGHTS RESERVED
 *
 *   LAST UPDATED         : 2007-09-17
 *
 *   PURPOSE              : To provide a default template for CSS tag
 *                          definitions and consistent class names as well
 *                          as a consistent layout for where definitions go.
 *                          The order of definitions for this CSS page are:
 *                            * scrollbar definition
 *                            * tag definitions
 *                            * table classes (e.g. classes for <td> or <tr>)
 *                            * block classes (e.g. classes for <p>)
 *                            * text classes (e.g. classes for <span>)
 *                            * form classes (e.g. classes for <input>)
 *                            * status_message definitions
 *                            * anchor tag classes (for various link classes)
 *
 *   UPDATE 2007-09-17    : Default text color  for all tags is inherited from
 *                          the body tag.  This allows you to set the color of
 *                          a table cell and not worry about whether or not <p>
 *                          tags in that cell will be black when you need white, etc.
 *
 *                          html & body are set to height:100% so that, by default,
 *                          you can have tables expanding the entire height of the
 *                          page.
 *
 *                          bottom-margins and font-sizes are now different for
 *                          different tags, so <h1> is now different from <h4>
 *                          like one would expect.
 *
 *                          All block tags are set with a gray, solid border but
 *                          with the border-width set to 0pz for all sides.  This
 *                          enables you to make quick borders without having to
 *                          set all properties, and in particular exists to work
 *                          with the classes: .bordered, .line_top, .line_right,
 *                          .line_bottom, .line_left, and will also affect
 *                          .left_form_cell and .right_form_cell unless you
 *                          specify additional details within those classes
 *
 *                          .margin_centered is now .center_block since that is a
 *                          more accurate name.
 *     
 *
 ***************************************************************************/

/*******************************************************************
SCROLLBAR DEFINITION
   - if using XHTML, change "body" to "html", for it to work.
*******************************************************************/
body {
	scrollbar-face-color: 		#C0C0C0;
	scrollbar-shadow-color:		#ffffff;
	scrollbar-highlight-color:	#ffffff;
	scrollbar-track-color: 		#CCCCCC;
	scrollbar-arrow-color: 		#ffffff;
}
/*******************************************************************
TAG DEFINITIONS
   - only change colors, font-family, and size as needed.  Try not
     to write too many tag definitions beyond what's here
*******************************************************************/
html { width:100%; height:100%; }
body { width:100%; height:100%; margin:0px 0px 0px 0px; background-color:white; color:black; }
td   { padding:0px 0px 0px 0px; vertical-align:top; }
form { margin:0px 0px 0px 0px; }
fieldset { display:block; margin-top:0px; margin-bottom:12px; }
legend   { font-size:16px; font-weight:bold; }

/* DEFAULT FONT SETTING */
table, td, div, p, blockquote, h1, h2, h3, h4, h5, h6, ul, ol {
	margin-top:			0px;
	font-family:		Verdana, Arial, Helvetica, sans-serif;
	color:				inherit;
}
textarea, input, select {
	font-family:		Verdana, Arial, Helvetica, sans-serif;
	font-size:			12px;
}

/* FONT SIZES & BOTTOM MARGINS */
h1 { font-size:24px;margin-bottom:24px; }
h2 { font-size:20px;margin-bottom:20px; }
h3 { font-size:16px;margin-bottom:16px; }
h4 { font-size:14px;margin-bottom:14px; }
td, p, blockquote, ul, ol, h5, h6 { font-size:12px;margin-bottom:12px; }
div { font-size:12px; }

/* ALIGNMENT */
p, blockquote, li { text-align:justify; }

/* SET BORDER-DEFAULT COLOR/STYLE, BUT SET 0px SIZE */
img, table, tr, td, form, div, p, blockquote, h1, h2, h3, h4, h5, h6, ul, ol {
	border-color:		#CCCCCC;
	border-style:		solid;
	border-width:		0px 0px 0px 0px;
}

/* SET DEFAULT LINK COLORS */
a:link, a:visited { color:#0000CC; }
a:hover, a:active { color:#CC0000; }

a.blue { color:#116CC1; text-decoration: none;}
a.blue:visited { color:#116CC1; text-decoration: none;}
a.blue:hover { color:#AAAAAA; text-decoration: underline; }
a.blue:active {color:#116CC1; text-decoration: underline; }
/*******************************************************************
TABLE CLASSES
   - classes for use with table rows and table cells
*******************************************************************/
.center_table    { margin-left:auto; margin-right:auto; }
.left_form_cell  { padding:3px 3px 3px 3px; border-width:0px 0px 0px 0px; }
.right_form_cell { padding:3px 3px 3px 3px; border-width:0px 0px 0px 0px; text-align:right; }
.title_cell      { padding:5px 5px 5px 5px; font-size:14px; font-weight:bold; white-space:nowrap; }
.content_cell    { padding:5px 5px 5px 5px; }

.row1         { background-color:#FFFFFF; }
.row2         { background-color:#EDEDED; }
.row_selected { background-color: #FFFF99; }

/* .clickable_cell and .clickable_cell_on are used with the cms-full
   application.  They are designed to be used so that JavaScript can 
   toggle the BG color of a cell onmouseover and toggle back onmouseout. */
.row1 .clickable_cell { background-color:#FFFFFF; }
.row2 .clickable_cell { background-color:#EDEDED; }
.clickable_cell_on    { background-color:#FFFFCC; }
.clickable_cell, .clickable_cell_on { cursor:pointer; padding:5px 5px 5px 5px; }

.top    { vertical-align: top; }
.middle { vertical-align: middle; }
.bottom { vertical-align: bottom; }

/*******************************************************************
BLOCK CLASSES
   - classes for block-level tags, such as <div>, etc.
*******************************************************************/
.center_block { display:block; margin-left:auto; margin-right:auto; }

.page_title { font-size:20px; font-weight:bold; margin-bottom:20px; color:red; }
.heading    { font-size:14px; font-weight:bold; margin-bottom: 0px; color:#ffffff; }

.bordered    { border-width:1px 1px 1px 1px; }
.noborder    { border-width:0px 0px 0px 0px; }
.line_top    { border-top-width:1px; }
.line_right  { border-right-width:1px; }
.line_bottom { border-bottom-width:1px; }
.line_left   { border-left-width:1px; }

.left    { text-align: 	left; }
.center  { text-align: 	center; }
.right   { text-align: 	right; }
.justify { text-align: 	justify; }

.block      { display:	block; }
.no_display { display:	none; }

.relative   { position:relative; }
.absolute   { position:absolute; }
.static     { position:static; }

.no_margin  { margin: 0px 0px 0px 0px; }

.pad_sm { padding: 5px 5px 5px 5px; }
.pad_md { padding: 10px 10px 10px 10px; }
.pad_lg { padding: 15px 15px 15px 15px; }
/*******************************************************************
FORM CLASSES
   - for some form consistency, set the form elements' classes to 
     default.
*******************************************************************/
input.default    { width:200px; }
select.default   { width:200px; }
textarea.default { width:200px; height:80px; }
textarea.full    { display:block; width:99%; margin-left:auto; margin-right:auto; height:250px; }

/*******************************************************************
TEXT CLASSES
   - These are "inline" classes.  They can be applied to any tag but
     do not require it to be block-level, etc.
*******************************************************************/
.small_descr { font-size:10px; font-weight:bold; }

.xsmall { font-size:	9px; }
.small  { font-size: 	10px; }
.normal { font-size: 	12px; }
.medium { font-size:	14px; }
.large  { font-size: 	16px; }
.xlarge { font-size:    20px; }
.huge   { font-size: 	24px; }

.bold      { font-weight: bold; }
.no_bold   { font-weight: normal; }
.italic    { font-style:  italic; }
.no_italic { font-style:  normal; }

.small_caps { font-variant: small-caps; }

.red   { color: #CC0000; }
.navy  { color: navy; }
.black { color: black; }
.white { color: white; }

/*******************************************************************
OUR PHP LIBRARY'S status_message() CLASS DEFINITIONS
   - like the table classes, these are specific to the application,
     and can be removed for static sites.
*******************************************************************/
.status_container {
	margin:				20px 10px 20px 10px;
	padding:			3px 5px 3px 5px;
}
.status_title {
	font-size:			16px;
	font-weight:		bold;
	border-style:		solid;
	border-width:		0px 0px 1px 0px;
	border-color:		black;
}
.status_message {
	font-size:			12px;
}
/*******************************************************************
ANCHOR CLASSES
   - for site specific anchor tag class definitions
*******************************************************************/

h2 {

	border-bottom-color:	#e7e7e7;

	border-bottom-style:	dotted;

	border-bottom-width:	1px;

	color:					#FF0000;

	font-family:			Verdana, Arial, Helvetica, sans-serif;

	font-size:				18px;

	font-weight:			normal;

	letter-spacing:			.1em;

	margin-bottom:			6px;

	text-align:				left;
}

.page_title {

	border-bottom-color:	#e7e7e7;

	border-bottom-style:	dotted;

	border-bottom-width:	2px;

	color:					#FF0000;

	font-family:			Verdana, Arial, Helvetica, sans-serif;

	font-size:				24px;

	font-weight:			normal;

	letter-spacing:			.1em;

	margin-bottom:			6px;

	text-align:				left;

}