/*  
Theme Name: Sunset
Theme URI: http://www.persian-programming.com/posts/12
Description: A dark green and orange colored theme with two columns and fluid width
Version: 1.0.2
Author: Kambiz R. Khojasteh
Author URI: http://persian-programming.com
Tags: fluid width, two columns, rtl, simple, green, orange
*/

/* Common */

h1 {
color:#990000;
font-size:1.75em;
font-weight:bold;
letter-spacing:-0.05em;
}
h2 {
border-bottom:1px dotted #990000;
color:#990000;
font-size:1.5em;
font-weight:normal;
letter-spacing:-0.05em;
}
h3 {
color:#333333;
font-size:1.2em;
letter-spacing:-0.05em;
}
h4 {
color:#990000;
font-size:1.2em;
padding:0.5em 0;
}
h5 {
color:#990000;
font-size:1.2em;
font-weight:normal;
}

body
{
	color:#333333;
	font-family:Arial,Helvetica,sans-serif;
	font-size:80%;
	line-height:1.5em;
  margin: 0;
  padding: 0;
}

#body-container
{
  background-color:#FFFFFF;
}

a
{ 
  text-decoration: none;
  outline: none;
}

a:hover
{ 
  color: #f90;
}

a img
{
  border: none;
}

.maintitle a
{
	color:#990000;
}

ul
{
}

.alignright
{
  float: right;
}

.alignleft
{
  float: left;
}

.aligncenter
{
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.clear
{
  clear: both;
}

.separator
{
  border-bottom: 2px solid #020;
}

/* header */

#header
{
	background-color:#000000;
	background-image:url(http://www.cathdb.info/images/header_bg.png);
	background-position:center top;
	background-repeat:repeat-x;
	border:0 none;
	color:#DDDDDD;
	height:100px;
	padding:0 30px;
	text-align:right;
}

#header-logo
{
	left:30px;
	position:absolute;
}

#banner
{
	background-color:#EEEEEE;
	background-image:url(http://www.cathdb.info/images/banner_bg.png);
	background-position:center top;
	background-repeat:repeat-x;
	border-color:#FFFFFF -moz-use-text-color #BBBBBB;
	border-style:solid none;
	border-width:1px 0;
	color:#666666;
	padding:5px 30px;
	text-align:right;
}

form, fieldset
{
	border:medium none;
	margin:0;
	padding:0;
}

/* Menu etc. */

#bread-nav {
border-bottom:1px dotted #999999;
padding:5px 0;
}
#bread-nav ul {
margin:0;
padding:0;
}
#bread-nav li {
color:#999999;
display:inline;
list-style-type:none;
margin:0;
padding-right:0.5em;
}
#bread-nav li:before {
color:#FF9900;
content:"|";
font-size:125%;
padding-right:0.5em;
}
#bread-nav li.first {
background-image:url(http://www.cathdb.info/images/16x16/home.png);
background-position:left center;
background-repeat:no-repeat;
padding-left:14px;
}
#bread-nav li.first:before {
content:"";
}
#bread-nav a, #bread-nav a:link, #bread-nav a:visited {
border:medium none;
color:#333333;
}
#bread-nav a:hover {
color:#000000;
text-decoration:underline;
}



#header-nav
{
float:right;
font-size:1.25em;
font-weight:bold;
padding:60px 0 0;
text-align:right;
}

#header a, #header a:link, #header a:visited
{
	border:medium none;
	color:#FFFFFF;
}

#header a:hover
{
	color:#FFFFFF;
	text-decoration:none;
}
#header-nav a
{
	border:medium none;
	font-weight:normal;
}
#header-nav a.active
{
	color:#CCCCDD;
}

#header-nav ul
{
	margin:0;
	padding:0;
}

#header-nav li
{
	border-left:2px solid #FF9900;
	color:#993300;
	display:inline;
	list-style-type:none;
	margin:5px;
	padding:0 5px;
}

#header-nav li:hover
{
	border-color:#FF9900;
	color:#FF9900;
}

#header-search-query
{
	background-color:#FFFFFF;
	border:1px solid #999999;
	color:#333333;
	font-family:inherit;
	font-size:inherit;
	font-weight:normal;
	letter-spacing:normal;
	line-height:normal;
	margin:0;
	padding:0.25em;
	vertical-align:top;
	width:25em;
}

#header-search-form input
{
	-moz-border-radius-bottomleft:0.25em;
	-moz-border-radius-bottomright:0.25em;
	-moz-border-radius-topleft:0.25em;
	-moz-border-radius-topright:0.25em;
}

#header-search-query.inactive
{
	-moz-background-clip:border;
	-moz-background-inline-policy:continuous;
	-moz-background-origin:padding;
	background:#FAFAFA none repeat scroll 0 0;
	color:#CCCCCC;
}

input.search-button
{
	border:1px solid;
	cursor:pointer;
	display:inline;
	margin:0;
}

.search-button.submit
{
	background-color:#996600;
	border-color:#996600;
	color:#FFFFFF;
}

.search-button.submit:hover
{
	background-color:#663300;
	text-decoration:none;
}

.search-button.reset
{
	background-color:#DDDDDD;
	border-color:#999999;
	color:#666666;
}

.search-button.reset:hover
{
	background-color:#FFFFFF;
	text-decoration:none;
} 

/* Sidebar */

.welcome-area {
margin-bottom:1em;
margin-top:1em;
width:100%;
}
.welcome-box {
float:left;
margin-left:3%;
width:63%;
}
.welcome-box h1 {
}
.welcome-box p {
}
.welcome-box a {
border:medium none;
}
.welcome-box .first {
}
.welcome-feature-box {
-moz-border-radius-bottomleft:0.5em;
-moz-border-radius-bottomright:0.5em;
-moz-border-radius-topleft:0.5em;
-moz-border-radius-topright:0.5em;
background-color:#FF9900;
float:left;
margin-left:3%;
margin-bottom:20px;
width:30%;
}
.welcome-feature-box h2 {
-moz-border-radius-bottomleft:0.5em;
-moz-border-radius-bottomright:0.5em;
-moz-border-radius-topleft:0.5em;
-moz-border-radius-topright:0.5em;
background-color:#996600;
color:#FFFFFF;
font-weight:bold;
letter-spacing:normal;
margin:0;
padding:0.5em;
border: none;
}
.welcome-feature-box p {
margin:0;
padding:0.75em 1em;
}
.welcome-area .more-box {
float:right;
padding:0.5em;
}
.welcome-box .more-box {
-moz-border-radius-bottomleft:0.5em;
-moz-border-radius-bottomright:0.5em;
-moz-border-radius-topleft:0.5em;
-moz-border-radius-topright:0.5em;
text-align:right;
width:100%;
}
.welcome-box a {
border:medium none;
color:#FF9900;
font-weight:bold;
text-decoration:none;
}
.welcome-box h1 a {
color:#990000;
}
.welcome-feature-box a {
border:medium none;
color:#FEC;
font-weight:bold;
text-decoration:none;
}
.welcome-feature-box h2 a {
color:#FFFFFF;
}



















// May not need this any more?

/*

#sidebar
{
  float: right;
  width: 350px;
  margin: 0 20px 20px 0;
  color: #fec;
  font-size: 0.85em;
  background: #020 url(images/corner-br.gif) no-repeat bottom right;
}

#sidebar-content
{
  background: transparent url(images/corner-bl.gif) no-repeat bottom left;
  padding: 0 2em;
}

#sidebar a
{
  color: #fec;
}

#sidebar a:hover
{
  color: #f90;
}

#sidebar ul, 
#sidebar li > ul
{
  margin-left: 1.8em;
}

#sidebar select, 
#sidebar textarea,
#sidebar input[type="text"],
#sidebar input[type="password"]
{
  color: #020;
  background-color: #fec;
  border: 1px solid #fec;
  width: 100%;
  font-size: 0.96em;
}

#sidebar select:hover, 
#sidebar textarea:hover,
#sidebar input[type="text"]:hover,
#sidebar input[type="password"]:hover
{
  border: 1px solid #fec;
}

#sidebar input[type="submit"]
{
  border: 1px solid #f90;
}

#sidebar input[type="submit"]:hover
{
  border: 1px solid #fec;
}

#sidebar-search form
{
  border: 1px solid #fff;
  background-color: #fec;
  width: 100%;
  min-height: 22px;
}

#sidebar-search #s
{
  width: 87%;
  padding: 0.4em 0.5em 0.5em;
  vertical-align: middle;
  border: none;
}

#sidebar-search #s:hover
{
  border: none;
}

#sidebar-search #btn
{
  background-color: #fec;
  padding: 2px;
  width: 20px;
  height: 100%;
  background-color: #fec;
  vertical-align: middle;
  text-align: center;
  float: right;
}

#sidebar-search #btn input
{
  width: 18px;
  height: 18px;
  background: #fec url(images/icon_zoom.png) no-repeat center center;
}

#sidebar-meta ul
{
  list-style: none;
  list-style-image: none;
  margin: 0 !important;
}

#sidebar-meta li
{
  float: left;
  display: block;
  margin: 0.5em 0;
  width: 50%;
}

#sidebar-meta li img
{
  vertical-align: middle;
  margin: 0 0.25em 0 0;
}

#sidebar .cat-item img
{
  vertical-align: middle;
  margin: 0 0 0 1em;
}

*/

.sidebar-widget
{
}

.sidebar-widget h3
{
  font-size: 1.5em;
  margin: 0.5em;
}

.sidebar-widget h4
{
  font-size: 1em;
  margin-bottom: 0.5em;
}

#sidebar-header
{
  padding-top: 0 !important;
}

#sidebar-header h1
{
  font-size: 3em;
  font-variant: small-caps;
}

#sidebar-header p
{
  margin: 0.5em 0;
}

#sidebar-footer
{
  border-bottom: none;
}

/* Content */

#content-container {
background-color:#FFFFFF;
margin:10px 30px 30px;
}
#content {
margin:0;
position:relative;
}
#content.full-space {
}
h2.maintitle
{
}

h2.maintitle a
{
}

.more-link
{
  font-size: 0.8em;
}

.tags
{
  font-size: 0.85em;
  background-color: #ded;
  padding: 1px 0.25em !important;
  border: 1px solid #ded;
  -moz-border-radius: 3px;
  -khtml-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

.addcomment
{
  text-align: right;
  font-size: 0.85em;
  font-weight: bolder;
}

.addcomment img
{
  vertical-align: middle;
}

img.edit
{
  float: right;
}

.maintitle img.edit
{
  margin-top: 0.5em;
}

h3.subtitle
{
}

h3#previously
{
   padding-top: 1em;
   border-top: 2px solid #020;
}

ul.postlist
{
  margin: 2em 0 2em 3em;
  list-style-image: url(images/bullet_asterisk.png);
}

ul.postlist li
{
  font-size: 1.2em;
  padding: 0 0 0 0.5em;
  margin-bottom: 1em;
  font-weight: bolder;
}

ul.postlist li a
{
  color: #020;
}

ul.postlist li a:hover
{
  color: #f90;
}

.postmeta
{
  font-size: 0.85em;
  color: #fec;
  background-color: #020;
  margin: 0;
  padding: 1px 0.25em;
  border: 1px solid #020;
  -moz-border-radius: 3px;
  -khtml-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

.postmeta a
{
  color: #f90;
}

.post
{
  margin: 0.5em 0;
}

.post p
{
  padding: 0.5em 0 !important;
}

.post img.alignright
{
  float: right;
  margin: 0.5em 0 0.5em 1em;
  border: 2px solid #bcb;
}

.post img.alignleft
{
  float: left;
  margin: 0.5em 1em 0.5em 0;
  border: 2px solid #bcb;
}

.post img.aligncenter
{
	display: block;
  margin: 0.5em auto;
  border: 2px solid #bcb;
}

.post img.alignnone,
.attachment img
{
  border: 2px solid #bcb;
}

.wp-caption img
{
  margin: 0;
  border: 1px solid #020;
  -moz-border-radius: 3px;
  -khtml-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

.wp-caption
{
  text-align: center;
  margin: 1em;
  padding: 6px 3px 3px;
  background-color: #ded;
  border: 1px solid #bcb;
  -moz-border-radius: 3px;
  -khtml-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

.wp-caption-text
{
  padding: 3px 0 0 !important;
  font-size: 0.85em;
}

.gallery
{
  margin: 0.5em 0 !important;
}

.gallery-item
{
  width: 200px !important;
}

.gallery-caption
{
  font-size: 0.85em !important;
}

.gallery img
{
  border: 2px solid #bcb !important;
}

.gallery br
{
  clear: left !important;
  line-height: 10px !important;
}

.pagination span
{
  margin: 1em 0;
}

div.post.notfound
{
  background: transparent url(images/404.jpg) no-repeat top right;
  padding: 0.5em 400px 0 0;
  min-height: 400px;
}

div.post.notfound #header-search-form
{
  margin: 1em 0;
}

/* Comments */

p.nocomments,
h3#comments,
h3#respond
{
   padding-top: 1em;
   border-top: 2px solid #020;
}

img.comments-feed
{
  margin: 0 0.25em;
  vertical-align: middle;
}

.commentlist
{
  margin: 2em 3em 2.5em;
  font-weight: bold;
}

.commentlist li
{
  margin-bottom: 1.5em;
  background-color: #efe;
  border: 1px solid #020;
  -moz-border-radius: 3px;
  -khtml-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

.commentlist li.alt
{
  background-color: #ded !important;
}

.commentlist li.self
{
  color: #f90;
}

.commentmeta
{
  font-weight: normal;
  font-size: 0.85em;
  color: #fec;
  background-color: #020;
  margin: 1px;
  padding: 1px 0.25em;
  border: 1px solid #020;
  -moz-border-radius: 3px;
  -khtml-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

.commentmeta a
{
  color: #f90;
}

.commentmeta img
{
  vertical-align: middle;
}

.avatar
{
  float: left;
  margin: 0.5em;
  border: 1px solid #bcb;
}

.comment
{
  font-weight: normal;
  color: #020;
  min-height: 3.5em;
}

.comment p
{
  padding: 0.5em !important;
}

img.required
{
  vertical-align: super;
}

#commentform textarea 
{
  width: 98%;
}

/* User's Tags in Posts & Comments */

.post h1, .comment h1
{
  font-size: 2.8em;
}

.post h2, .comment h2
{
  font-size: 2.4em;
}

.post h3, .comment h3
{
  font-size: 1.8em;
}

.post h4, .comment h4
{
  font-size: 1.4em;
}

.post h5, .comment h5
{
  font-size: 1.2em;
}

.post h6, .comment h6
{
  font-size: 1em;
}

.post h1, .comment h1,
.post h2, .comment h2,
.post h3, .comment h3,
.post h4, .comment h4,
.post h5, .comment h5,
.post h6, .comment h6
{
  margin-top: 0.75em;
}

.post ul, .comment ul,
.post ol, .comment ol
{
   margin-top: 0.5em;
   margin-bottom: 0.5em;
}

.post ul, .comment ul
{
  margin-left: 3em;
}

.post li > ul, .comment li > ul
{
  margin-left: 1em;
}

.post ol, .comment ol,
.post li > ol, .comment li > ol
{
  margin-left: 3.5em;
}

.post blockquote, .comment blockquote
{
  margin: 0 1.7em;
  padding: 0 0 0 30px;
  background: transparent url(images/quotation-left.png) no-repeat left 5px;
  color: #464 !important;
}

.post pre, .comment pre
{
  display: block;
  direction: ltr;
  text-align: left;
  background-color: #f9f9f9;
  border: 1px solid #eee;
  margin: 0.5em 0;
  padding: 0.5em;
  font-family: monospace;
  white-space: pre;
  font-size: 1.1em;
  overflow: auto;
  overflow-y: hidden;
  overflow-x: auto;
}

table.image-grid 
{
width:1000px;
}

.image-grid td
{
vertical-align:middle;
text-align:center;
}

.image-grid img
{
display:block;
}

/* WP Syntax Plug-in */

.wp_syntax
{
  direction: ltr;
  margin: 0.5em 0 !important;
  border-color: #eee !important;
}

.wp_syntax .line_numbers 
{
  background-color: #ded !important;
}

/* For new CATH super-banner */

#global-nav {
    background-color: #000000;
    border-bottom: 1px solid #666666;
    font-size: 1em;
    color: #999;
    padding: 0.3em 0.6em;
}

#global-nav .menu {margin:0 auto; padding:0 0.25em; height:30px; width:100%; display:block; }
#global-nav ul.menu { display:inline }
#global-nav .menu li{padding:0 0.25em; margin:0; list-style:none; display:inline; color: #FFF}
#global-nav .menu a {color: white; border-bottom: 1px dotted #999 }
#global-nav .menu a:hover { text-decoration: none; border-bottom-color: #FFF }
#global-nav .menu li.inactive { font-weight: bold; }

#global-nav .resources-nav {
    float: left;
}
