/***** BASICS AND TYPOGRAPHY *****/

/* WRAPPER */

#wrapper {
	background: url(w2.jpg) 0 100% repeat-y;
  /*background-position: 0px 500px;		*/
}

body {
	background: #FFFFFF; /*#34659A;  /*#9999CC; /*url(bg.jpg) repeat-x;*/
	color: #212121;
}
h1, h2, h3, h4, h5, h6 {
	color: #1C3A46;
}
blockquote {
	/*background: url(quote.gif) no-repeat 10px 0.36em;*/
	background: #34659A; /*#000066;*/
	color: #656565;
}
code {
	color: #323232;
}

#sidebar h2 {
	color: #B7D6E6;
}

/* Links */

/*a {
	color: #FFFFFF;
}*/
/*a:visited,
a:active {
	color: #0C0083;
}
a:hover {
	color: #1C3A46;
}*/

#content a {
	/*border-bottom: 1px dotted #9AC2D4;	*/
}
#content a:hover {
	/*border-bottom: 1px dotted #1C3A46;*/
}

/* Forms */

input, textarea, select {
	border: 1px solid #989898;
	/*background: #FFF;*/
}
.submit {
	border: 1px solid #3E6776;
	background: #3E6776 url(submitbg.gif) repeat-x;
	color: #FFF;
}

/***** THE LAYOUT *****/

/* HEADER */

#header {
  /*background: url(terra_logo2.gif) left top no-repeat 100% 0;
  background: url(http://www.terragis.net/images/terra_logo2.gif) left top no-repeat 100% 0;*/
  background: url(header.jpg) no-repeat 100% 0;
}

#header h1 a {
	color: #FFFFFF;
}

#menu {
  background: url(menu_back.jpg)  100% 0 repeat-y;
}

#menu ul {
  background: url(menu_back.jpg) 0 100% repeat-y;
}

#menu li {
	background: url(tableft.jpg) no-repeat;
}
#menu li a {
	background: url(tabright.jpg) no-repeat 100% 0;
	color: #F1F5FF;
}

#menu li:hover, #menu li:hover a, #menu li a:hover, #menu li.current_page_item a,  #menu li.current_page_parent a, #menu ul.current_page_parent, #menu li.current_page_ancestor a, #menu li.current_page_ancestor a:hover{
	color: #0C0083; /*#243423;*/
}

/* CONTENT */

#content {
	/*border-top: 5px solid #CCCCFF; /* #ADD46B;*/
	/*border-bottom: 5px solid #CCCCFF; /*#ADD46B;*/
	background: #FFF;
}

/* display for navigation hierarchy*/
#content .location {
  color: #0C0083;
	/*border-bottom: 1px dotted #0C0083;*/
	margin-top: -15px

}


/* SIDEBAR */

 #sidebar {
	color: #0C0083;
}

/*make sidebar entires white*/
#sidebar a, #footer a {
	color: #FFFFFF;
}
#sidebar li.alt a {
	border-bottom: 1px dotted #507886;
}

#sidebar hover, #sidebar a:hover, #sidebar li:hover, #footer a:hover {
	color: #FFF; /*#0C0083;*/
	/*border-bottom: 1px dotted #0C0083;*/
}

/*make current page ancestor blue _> selected just as in menu*/
#sidebar li.current_page_item a, #sidebar li.current_page_parent a, #sidebar li.current_page_ancestor a{
	color: #0C0083;
	/*font-weight: bold;	*/
}


/*Pages background in main blue*/
#pagenav {
	background: #33659A;
}

#sidebar .alt {
	background: #55759A;
}
#sidebar li.arrow{
	background: #55759A;
}

#sb-news .alt{
 background: #33659A;
}

#sidebar li.arrow li a{
	background: url(arrow.gif) #55759A no-repeat 0 0.56em;
	padding:0.1em 0pt 0pt 12px;
}

/* Search */

#sb-search input {
	border: 1px solid #E3E3E3;
	background: #7492C9;
	/*color: #FFF;*/
}
#sidebar li#sb-search input#searchsubmit {
	background: #7492C9 url(searchbg.gif) repeat-x;
}

/* FOOTER */

#footer {
	background: #003366;
	color: #989898;
  background: url(footer.jpg) no-repeat 0px 100%;
  /*background-position: 0px -300px;*/
}

/***** BLOG *****/

.post {
	/*	border-bottom: 1px dotted #989898;
background: #FFF;*/
}
h2.posttitle a {	
	color: #1C3A46;	
}
h2.posttitle a:hover {
	color: #46889F;
}
.postdate {
	color: #656565;
}
.postdate span {
	background: #E8FFBD;
}
/*
.postmeta {	
	color: #656565;
}
*/


/***** COMMENTS *****/

.commentsmeta {
	color: #656565;	
}
.commentlist {
	border-bottom: 1px dotted #989898;
}
.commentlist li {
	border-top: 1px dotted #989898;
}
.commentlist li.alt {
	background: #DFDFDF;
}
.commentmeta {
	color: #656565;
}



/***** ETC *****/

/* Image borders */

div.image img, img.image,
div.imagecenter img,
div.imageleft img, img.imageleft,
div.imageright img, img.imageright {
	border: 1px solid #55759A;
}

/* Calendar */

#wp-calendar {
	border: 1px solid #55759A;
	background: #55759A;
}
#wp-calendar caption {
	border-width: 1px 1px 0 1px;
	border-style: solid;
	border-color: #55759A;
	background: #7492C9;
	color: #BDDBDD;
}
#wp-calendar tbody td {
	background: #7492C9;
}

#wp-calendar {
	border: 1px solid #7492C9;
	background: #7492C9;
}
 #wp-calendar caption {
	border-color: #7492C9;
}
#wp-calendar tbody td {
	background: #55759A;
}
