@import url(layout.css);
@import url(menus.css);

/* above are the sylesheets responsible for the common page layout and system menus - must be at top */

/* long comments moved to documentation dir readme.txt */

/*
Main (X)HTML Selectors - Typography, Colours and Positioning 
-------------------------------------------------------------------------[comment] */

body {
    font-family: "trebuchet ms", "luxi sans", verdana, helvetica, sans-serif;
    font-size: 100.01%;
    line-height: 145%;
    margin:0;
    padding: 0;
    color: #0000CD;
    background-color: Red;
}

a {
    color: #0000CD;
    font-weight: bold;
}

/*
a normal link is being styled similarly across all pages, unless re-declared
-------------------------------------------------------------------------[comment] */

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

/*
leave pseudo-classes exactly in this order even if you decide to re-declare them 
------------------------------------------------------------------[important note] */

a:link:hover, a:visited:hover {
    color: #CC3300;
    text-decoration: underline;
} /*
we dont really want to underline and hilite named anchors in this theme, just links 
------------------------------------------------------------------[important note] */

/*
Tables and related selectors
-------------------------------------------------------------------------[comment] */

table {
    font-size: 100%;
    line-height: 1.35em;
    margin: 5px 0;
    border-spacing: 1px;
    background-color: #d0d0d0;
}

/*
the actual border should be visible only when border-width is re-declared
------------------------------------------------------------------[important note] */

th {
    color: #0000CD;
    background-color: Yellow;
}

thead { }

tfoot {
    font-weight: bold;
    background-color: #DCDCE1;
}

th, td {
    padding: 1px 3px;
    height: auto;
}

td { background-color: #ffffff; }

/*
General text and related selectors 
-------------------------------------------------------------------------[comment] */

h1, h2, h3, h4 {
    font-family: arial, helvetica, tahoma, sans-serif;
    font-weight: bold;
    line-height: 120%;
    color: #CC3300;
    padding: 0;
    margin: .5em 0 .5em 0;
}

/*
page headers - shared typography and positioning 
-------------------------------------------------------------------------[comment] */

h1 { font-size: 160%; }
h2 { font-size: 150%; }
h3 { font-size: 130%; }
h4 { font-size: 120%; }
p { margin: .5em 0 0 0; }

pre {
    color: #990066;
    font-size: 95%;
    font-family: monaco, courier, monospace;
}

ul {
    padding: 0;
    margin: 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; }

blockquote {
    color: #333366;
    margin: 2em;
}

code {
    color: #990066;
    font-family: monaco, courier, monospace;
}

sup, sub {
    font-size: 95%;
    font-weight: normal;
}

/*
Form elements 
-------------------------------------------------------------------------[comment] */

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;
}

td select {width:auto;}

/*
replaced elements 
-------------------------------------------------------------------------[comment] */

img { border: 0px; }

/*
list elements 
-------------------------------------------------------------------------[comment] */

ul, li, ol { line-height: 140%; }

/* THEME SPECIFIC CLASSES [gen_heading] */
h5, h6 {
    color: #333399;
    font-size: 95%;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
}

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 
-------------------------------------------------------------------------[comment] */

.xar-block-head,
.xar-block-head-right { color: #0000CD; }

.xar-block-title,
.xar-block-title-right {
    font-weight: bold;
    font-size: 100%;
    color: #0000CD;
    background-image: url(../images/gradients.png);
    background-position: 0px -430px;
    background-repeat: repeat-x;
    padding: 0 4px;
}

.xar-block-body,
.xar-block-body-right { 
		background-color: #FFFFFF;
    	font-weight: normal;
    	font-size: 100%;
		border: 1px solid #0000CD;
		padding-left: 0px;
}

.xar-block-foot,
.xar-block-foot-right { margin-bottom: 2px; }

/*
topnav block group classes 
-------------------------------------------------------------------------[comment] */

.xar-block-head-topnav { }
.xar-block-title-topnav { }
.xar-block-body-topnav { }
.xar-block-foot-topnav { }

/*
center block group classes 
-------------------------------------------------------------------------[comment] */

.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 
-------------------------------------------------------------------------[comment] */

.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 
-------------------------------------------------------------------------[comment] */

.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
-------------------------------------------------------------------------[comment] */

.xar-norm { background-color: #FFFFFF; }
.xar-sub { font-size: 80%; }
.xar-error { color: #ff0000; }
.xar-title { font-weight: bold; }
.xar-fullwidth {
	font-size: 9px;
	
}
.xar-margin-none{
	font-size: 9px;
}
input.xar-fullwidth {
	width: 100px;
	margin-left: 4px;
}
/*
not sure if we still using this rule anywhere TODO: check
-------------------------------------------------------------------------[comment] */

/* THEME SPECIFIC ANONYMOUS CLASSES  [gen_heading] */
.xar-sidebox {font-size:90%;}

div.xar-block-body-topnav li, div.xar-block-body-topnav ul {
    display: inline;
    list-style-type: none;
    padding: 0 5px;
    margin: 0;
    border: 0;
} /*
since topnav group is available by default, we should take care of it
-------------------------------------------------------------------------[comment] */

/* hide section heading [gen_heading] */
div.xar-block-body-topnav .xar-menu-section h4 { display: none; }


div.xar-block-body-topnav .xar-menu-section ul li a {
    display: inline;
    padding-right: .5em;
    padding-left: .5em;
}

/* all links should display horizontally in topnav block in this theme */
div.xar-block-body-topnav {
    margin: 2px 0;
    padding: 2px 0;
    background-color:#ffffff;
}

/* MISCELLANEOUS [gen_heading] */

abbr, acronym, .help {
    border-bottom: 1px dotted #999;
    cursor: help;
}
