@import url(layout.css); 
/* @import url(menus.css); */

/* global whitespace reset 
   thanks to http://leftjustified.net/journal/2004/10/19/global-ws-reset/
*/

/* body { font-size: 67%; } */

html {
}

body {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #333;
    background-color: #ccc;
}

* {
padding: 0;
margin: 0;
font-size: 1em;
} 
 
h1, h2, h3, h4, h5, h6, p, pre, blockquote, label, ul, ol, dl, fieldset, address { margin:1em 5%; }
ul, li, dd { margin-left:1em; } /* 5% doesnt work in IE6 */
fieldset { padding: .5em; }
select { min-width: 1.5em; }
select optgroup { margin-left: 2%; }
select optgroup option { margin-left: 10%; }

/* XARAYA REQUIRED CLASSES */
/* links */
a {
    color: #666699;
    font-weight: bold;
}
a:link { }
a:visited { 
    color: #996699;
    font-weight: bold;
}
a:active { }
a:hover { }
a:link:hover, a:visited:hover {
    color: #CC3300;
    text-decoration: underline;
}

/* tables */
table {
    line-height: 1.35em;
    Amargin: 5px 0;
    Aborder-spacing: 1px;
    background-color: #d0d0d0;
}
/* the actual border should be visible only when border-width is re-declared */
th {
    color: #666699;
    background-color: #f3f3f3;
}
thead { }
tfoot {
    font-weight: bold;
    background-color: #DCDCE1;
}
th, td {
    Apadding: 1px 3px;
    height: auto;
}
td { background-color: #ffffff; }

/* section headers */
h1, h2, h3, h4 {
    font-weight: bold;
    line-height: 120%;
    color: #00497b;
    margin-top: .5em;
    margin-bottom: .5em; 
}
h1 { font-size: 135%; }
h2 { font-size: 120%; }
h3 { }
h4 { font-weight: normal; font-style: italic; }

/* other text styles */
p { 
	line-height: 150%;
	margin-top: .5em;
}
pre {
    color: #990066;
    font-size: 95%;
    font-family: monaco, courier, monospace;
}
blockquote {
    color: #333366;
    margin: 2em;
}
code {
    color: #990066;
    font-family: monaco, courier, monospace;
}
sup, sub, .xar-sub {
    font-size: 90%;
    font-weight: normal;
}

/* lists */
ul {
	margin-bottom: 1.5em;
/*
    margin: 0;
    padding: 0;
    list-style-type: none;
*/
}

ul li {
/*    padding-left: 20px;
    background-image: url(../images/bullet.png);
    background-repeat: no-repeat;
    background-position: 0 .45em;  */
}

/* reset background on all pre-styled li elements for good browsers */
ul li[style] { background-image: none; }

ul, li, ol { line-height: 140%; }

/* form elements */
form {
    margin: 1em 0;
    padding: 0;
    display: block;
}

button { border: 2px outset #f0f0f0; }
input, select, textarea {}
legend {
    color: #CC3300;
    border: 1px solid #aaaaaa;
    margin: 0 -1px;
    padding: 1px 5px;
    font-weight: bold;
    min-width:15em;
    display:block;
    background-image: url(../images/gradients.png);
    background-position: 0px -410px;
    background-repeat: repeat-x;
}
fieldset {
    border: 1px solid #aaaaaa;
    margin: 1em 0;
    padding:5px;
}
label.xar-form-label {
    padding: 2px;
    text-align: right;
    padding-left: 5px;
    margin: 0 5px 0 0;
    font-weight: bold;
    color: #333366;
    background-color: #f9f9f9;
    border:1px solid #f0f0f0;
    clear:left;
}

/* reset for table header labels to preserve table styles */
th label {
    background-color:transparent;
    border:0 none;
    width:auto;
    margin:auto;
    padding:auto;
}
td select {width:auto;}

/* image */
img { border: 0; }

hr {
    width: 100%;
    color: #cccccc;
    height:1px;
}

/* XARAYA REQUIRED INDIVIDUAL CLASSES [gen_heading] */
td.xar-norm { }
td.xar-alt { }

/* XARAYA REQUIRED ANONYMOUS CLASSES  [gen_heading] */

/* these defaults apply to the left and right block group */
.xar-block-head,
.xar-block-head-right { color: #333399; }

.xar-block-title,
.xar-block-title-right {
    font-weight: bold;
    font-size: 110%;
    padding: 0 4px;
    color: #333366;
	background: transparent;
/*    background-color: #DDDDF0;
    background-image: url(../images/gradients.png);
    background-position: 0px -430px;
    background-repeat: repeat-x; */
}

.xar-block-body,
.xar-block-body-right { }

.xar-block-foot,
.xar-block-foot-right { margin-bottom: 2px; }

/* topnav block group classes */
.xar-block-head-topnav { }
.xar-block-title-topnav { }
.xar-block-body-topnav { }
.xar-block-foot-topnav { }

/* center block group classes */
.xar-block-head-center { width: 100%; }

.xar-block-title-center {
    /*  background-color: inherit; */
    font-weight: bold;
}

.xar-block-body-center { }

.xar-block-foot-center {
    width: 100%;
    margin-bottom: 4px;
    border-bottom: 1px solid #A0B8E5;
}

/* module rendering area and related rules */
.xar-mod-head, .xar-mod-body, .xar-mod-foot { border: 1px solid #cccccc; }

.xar-mod-head {
    padding: 3px 10px;
    margin: 4px 0 0 0;
    text-align: center;
    font-weight: bold;
    color: #333366;
    background-color: #ffffff;
    background-image: url(../images/gradients.png);
    background-position: 0px -250px;
    background-repeat: repeat-x;
    border-bottom: 0 none;
}

.xar-mod-title {
    font-size: 110%;
    font-weight: bold;
}

.xar-mod-body {
    padding: 5px 10px;
    margin:0;
}
 
.xar-mod-foot {
    border-top: 0 none;
    padding: 3px 10px;
}

/* complementary styling - colors, backgrounds and outlines */
.xar-alt { background-color: #f0f0f0; }
.xar-accent { background-color: #efefef; }

.xar-alt-outline {
    border-color: #6699CC;
    border-width: 1px;
    border-style: solid;
}

.xar-accent-outline {
    border-color: #333366;
    border-width: 1px;
    border-style: solid;
}

.xar-norm-outline {
    border-color: #666666;
    border-width: 1px;
    border-style: solid;
}

/* complementary text related styling */
.xar-norm { background-color: #FFFFFF; }
.xar-error { color: #ff0000; }
.xar-title { font-weight: bold; }

/*
not sure if we still using this rule anywhere TODO: check
-------------------------------------------------------------------------[comment] */

/* MISCELLANEOUS [gen_heading] */

abbr, acronym, .help {
    border-bottom: 1px dotted #999;
    cursor: help;
}


/* MENU STYLES */
.xar-menu-section {
	margin: 0;
	padding: 0;
}

.xar-menu-section ul { /* XB */
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px silver solid;
	margin: 0 2em 0 0;
}
.xar-menu-section li { /* XB */
	list-style: none;
	padding: 0.5em 0 0.25em;
}

.xar-menu-section-current {
}

.xar-menu-item {
	list-style: none;
}
.xar-menu-item a { /* XB */
	display: block;
	padding: 2px;
	text-decoration: none;
}
.xar-menu-item a:link { /* XB */
	color: blue;
}
.xar-menu-item a:visited { /* XB */
	color: blue;
}
.xar-menu-item a:hover { /* XB */
	color: red;
	background-color: silver;
}
.xar-menu-item a:selected { /* XB */
}

.xar-menu-item-current {
}
.xar-menu-item:hover {
}

.xar-menu-subitem {
	list-style: none;
	font-size: 90%; /*$font_smaller;*/
}
.xar-menu-subitem a { /* XB */
	text-decoration: none;
	padding-left: 1em;
}
.xar-menu-subitem a:link { /* XB */
	color: green;
}
.xar-menu-subitem a:visited { /* XB */
	color: green;
}
.xar-menu-subitem a:hover { /* XB */
	color: red;
}
.xar-menu-subitem a:selected { /* XB */
}

.xar-menu-subitem:hover {
}
.xar-menu-subitem-current {
	font-size: 90%; /* $font_smaller; */
}
.xar-menu-item-current > .xar-menu-subitem > a {
color: yellow;
}
.xar-menu-item-current > .xar-menu-subitem > a:visited {
color: yellow;
}
.xar-title {
}
.xar-error {
}


.display-inline {
	display: inline;
}
.display-block {
	display: block;
}

.italic { font-style: italic; }
.bold { font-weight: bold; }

/* topnav menu styles, just an example (not for use with a topnav menu block) */
#xb-topnav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#xb-topnav li {
	float: left;
	padding: 0 0 0 2px; /* space between buttons */
	margin: 0;
}
#xb-topnav li a {
	display: block; /* to be a button rather than a link */
	padding: 3px 5px 3px 5px;
	font-size: 10px;  /* 8px dont know how this adds up to 20px but it does visually */
	font-weight: bold;
	text-transform: uppercase;
	color: #bfc0de; /* $BUTTON_FG_COLOR */
	background-color: #00047c; /* $BUTTON_BG_COLOR */
	text-decoration: none;
}
#xb-topnav li a:hover {
	color: yellow; /* $BUTTON_HOVER_COLOR */
}

/* ----------- */
.cmhi-block-menus ul
{
width: 128px;
\width: 130px;
w\idth: 128;
padding: 0px;
border: 1px solid #7C9BCB;
border-top: 0px;
border-right: 0px;
border-left: 0px;
margin: 0px;
font: bold 10px verdana,helvetica,arial,sans-serif;
}
.cmhi-block-menus ul li
{
list-style: none;
margin: 0px;
border: 0px;
border-bottom: 1px solid #bde3f7;
}
.cmhi-block-menus ul li a
{
display: block;
width: 99px;
\width: 135px;
w\idth: 99px;
padding: 4px 8px 4px 8px;
border: 0px;
border-right: 15px solid #7C9BCB;
background: #FFF3D3;
text-decoration: none;
text-align: right;
border-top: 1px solid #7C9BCB;
border-left: 1px;
}
.cmhi-block-menus ul li a:link { color: #00497B; }
.cmhi-block-menus ul li a:visited { color: #00497B; }

.cmhi-block-menus ul li a:hover
{
border-color: #00497B;
color: #00497B;
text-decoration: none;
}


.xar-form-input-wrapper {
    overflow:visible !important; /* JSL remove to skip tab on labels */
}

.table1style {
    border: 1px solid #aaa;
    border-width: 0 0 1px 0;
    padding: 0.5em 0;
}
.evenrow {
    /* background-color: #888; */
}

.oddrow {
    /* background-color: #fff; */
}



