/*----------------------------------------------------------------------------
 * 
 * common.css: global reset styles and helper classes used EVERYWHERE
 *
 *---------------------------------------------------------------------------*/


/*----------------------------------------------------------------------------
 * Reset styles
 *---------------------------------------------------------------------------*/

* {
	margin: 0px;
	padding: 0px;
}

html, body {
	min-height: 100%;
	height: 100%;
	font-family: arial, helvetica, sans-serif;
	font-size: 0.9em;
}

html>body, html>body #container {
    height: auto;
}

body { 
	text-align: left;
}

p {
	margin: 0 0 1em 0;
}

img, iframe { 
    border: none;
}

a, a:link {}
a:visited {}
a:hover {}
a:active {}

h1, h2, h3, h4, h5, h6 {
	font-family: "trebuchet ms", arial, helvetica, sans-serif;
	font-weight: bold;
	font-size: 100%;
	clear: left;
}

em {
	font-style: italic;
}
	
input, textarea, select {
	margin: 0;
	padding: 1px;
	font-size: 100%;
	font-family: inherit;
}
	
select { padding: 0; }

strong, b { font-weight: bold; }


/*----------------------------------------------------------------------------
 * Global helper classes
 *---------------------------------------------------------------------------*/

ul.inline {
	list-style-type: none;
	margin: 0;
}

ul.inline li {
	display: inline;
	margin-right: 1em;
}

.hidden {
	display: none;
}

.clear {
    clear: both;
    display: block;
}
    
.clear_left {
    clear: left;
    display: block;
}
    
.clear_right {
    clear: right;
    display: block;
}
    
.float_left {
    float: left;
}
    
.float_right {
    float: right;
}

.text_left {
    text-align: left;
}
    
.text_center {
    text-align: center;
}
    
.text_right {
    text-align: right;
}

br.clear {
    height: 1px;
}

.print {
	display: none;
	}


/*----------------------------------------------------------------------------
 * Pagination
 *
 * Should this be here? Probably not.  It could perhaps be in a pagination.css
 * file, or we could create a folder of pagination stylesheets for import.
 *
 * Credits: Dynamic Drive CSS Library
 * URL: http://www.dynamicdrive.com/style/csslibrary/item/css-pagination-links/ 
 *---------------------------------------------------------------------------*/

.pagination {
    padding: 0;
    margin: 0;
}

.pagination ul {
    margin: 0; padding: 0;
    text-align: left; /*Set to "right" to right align pagination interface*/
    font-size: 0.9em;
}

.pagination li {
    list-style-type: none;
    display: inline;
    padding-bottom: 0;
}

.pagination a, .pagination a:visited {
    padding: 2px 5px;
    background: #e7e7e7;
    text-decoration: none; 
    color: #666;
}

.pagination a:hover, .pagination a:active {
    color: #000;
    background: #ccc;
}

.pagination li.currentpage {
    font-weight: bold;
    padding: 2px 5px;
    background-color: #999;
    color: #fff;
}

.pagination li.disablepage {
    padding: 2px 5px;
    background: transparent;
    color: #ccc;
}

.pagination li.nextpage {
    font-weight: bold;
}

/* IE 6 and below. Adjust non linked LIs slightly to account for bugs */
* html .pagination li.currentpage, * html .pagination li.disablepage { 
    margin-right: 5px;
    padding-right: 0;
}

.pagination.bottom {
	margin-bottom: 1em;
}


/*----------------------------------------------------------------------------
 * Terms
 *---------------------------------------------------------------------------*/

div#terms_container_1 {
	border: 1px solid #ccc;
}

div#terms_container_2 {
	margin: 2px;
	padding: 10px;
	width: auto;
	height: 260px;
	overflow: auto;
}

.terms_content {
	font-family: monospace;
	font-size: 1.1em;
	text-align: left;
	line-height: 1.25em;
	color: #666;
	margin-bottom: 1em;
}

.terms_content * {
	font-family: monospace;
}

#content .terms_content a {
	color: #666;
}

.terms_content h1, h2, h3, h4, h5 {
	margin-bottom: 0.5em;
}

.terms_content p {
	margin-bottom: 1em;
}

.terms_content h2 {
	font-size: 1.5em;
	line-height: 1.1em;
	margin: 0 0 0.5em 0;
}

.terms_content h3 {
	font-size: 1.2em;
	line-height: 1.3em;
	margin: 1em 0 0.5em 0;
}

.terms_content dt {
	width: 4em;
	float: left;
	clear: left;
}

.terms_content dd {
	margin: 0 0 1em 4.5em;	
}

.terms_content ul, ol {
	margin-top: 0.75em;
	margin-bottom: 1em;
	margin-left: 5em;
}

.terms_content li {
	margin-bottom: 0.5em;
}

.terms_content ul {
	list-style: disc;
}

.terms_content ol {
	list-style: lower-roman;
}

/*----------------------------------------------------------------------------
 * Light view forms
 *---------------------------------------------------------------------------*/
body.lightview {
  background-image: none;
  background-color: #fff;
}
/*----------------------------------------------------------------------------
 * Custom button styling
 *---------------------------------------------------------------------------*/

.button { display: block; position: relative; background: #ffae00; padding: 5px; float: right; color: #fff; text-decoration: none; cursor: pointer; line-height: normal; font-weight: bold;}
.button:hover { background:#00a12d; }
.button * { font-style: normal; background-image: url("/global/images/btn2.png"); background-repeat: no-repeat; display: block; position: relative; }
.button i { background-position: top left; position: absolute; margin-bottom: -5px; top: 0; left: 0; width: 5px; height: 5px; }
.button span { background-position: bottom left; left: -5px; padding: 0 0 5px 10px; margin-bottom: -5px; }
.button span i { background-position: bottom right; margin-bottom: 0; position: absolute; left: 100%; width: 10px; height: 100%; top: 0; }
.button span span { background-position: top right; position: absolute; right: -10px; margin-left: 10px; top: -5px; height: 0; }
* html .button span, * html .btn i { float: left; width: auto; background-image: none; cursor: pointer; }
.button[class] { background-image: url("/global/images/patterns/button_shade.png"); background-position: bottom; }
form .button { float: left; }
