/* -- Resets default browser CSS -- */
html, body, div, span, object, iframe, p, blockquote, pre, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 1em;
	font-family: inherit;
	vertical-align: baseline;
}

p {margin: .3em 0 .7em;}

h1, h2, h3, h4 , h5, h6 {
	font-family: arial, helvetica, sans-serif;
	line-height: 1.1em;
	margin: 0 0 .7em 0;
	color: #111111;
}

h1 { font-size: 1.6em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.3em; }
h5 { font-size: 1.2em; }
h6 { font-size: 1em; }

/* Tables still need 'cellspacing="0"'  */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight:400; }
td {vertical-align: top;}

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

a, a:link {}
a:visited {}
a:focus, a:hover {text-decoration: none;}
a:active {}
a img {border: none;}
ul, ol {margin:0 1.5em 1.5em 2em;}
ul {list-style-type: circle;}
ol {list-style-type: decimal;}
dl {margin: 0 0 1.5em 0;}
dl dt {font-weight: bold }
dd {}

abbr, acronym { border-bottom: 1px dotted #666;  font-variant: small-caps;}
address { margin-top: 1.5em; font-style: italic; }
blockquote  { margin: 1.5em; color: #666; font-style: italic; border-left: 1px solid #666; padding-left: 1em;}

.clear { clear: both; width: 0; height: 0; font-size: 0; overflow: hidden; }

/* deprecated items should not be used - warning when used  */
font, center, frameset, frame {
   color : #red; font-weight : bold; margin : 10px; padding : 10px; border : 2px dashed #cd0000; font-size : 1.5em;
}

div[align], p[align], table[align] {
   color : #red; font-weight : bold; margin : 10px; padding : 10px; border : 2px dashed #cd0000; font-size : 1.5em;
}

body{text-align: center; background: #edf4cb url(../images/main_back.gif) repeat-y 50% 0; font-family: verdana, "trebuchet MS", helvetica, sans-serif; line-height: 1.4; font-size: 12px;}
#wrap{width:760px; margin: 0 auto; text-align: left; background: #fff url() no-repeat 0 0; clear: left;}
.content {padding: 0 10px 10px; clear: left; background: #fff url() repeat-x 0 -114px;}

/* headers elements */
#back_header {background: url(../images/back.jpg) repeat-x left top; height: 110px;}
#header {background: url(../images/header_back.jpg) no-repeat 50% 0; height: 110px; position: relative; margin: -110px auto 0;}
#watermark {width:760px; text-align: left; background: #fff url(../images/background.gif) repeat-x 0 0; height: 110px; position: relative; margin: -110 auto 0;}

#footer {text-align: center; background: url(../images/footer.gif) repeat-x 0 0; padding: 17px 0 10px;}

#logo {float: left; height: 82px;}

/* log out link in header */
#loged_out {position: absolute; top: 40px; left: 50%; margin-left: 275px;}
#loged_out a {color: white; font-size: 11px;}

/* main menu */
div.menu {clear: left;}
div.menu ul {padding:0px 0px 0px 10px; list-style:none; margin: 0px;}
div.menu li {float:left; background: url(../images/button_l.gif) no-repeat left top; padding:0 0 0 9px;}
div.menu a {float:left; display:block; background: url(../images/button_r.gif) no-repeat right top; padding:5px 15px 3px 6px; text-decoration:none; font-weight:bold; color:#566b01;}
    /* Commented Backslash Hack hides rule from IE5-Mac \*/
    div.menu a {float:none;}
    /* End IE5-Mac hack */
div.menu a:hover {color:#333;}
div.menu a:visited , div.menu a:active {}
div.menu .active { background: url(../images/active_l.gif) no-repeat left top; border-bottom:none;}
div.menu .active a { background: url(../images/active_r.gif) no-repeat right top; color:#1900ab; border-bottom:none;}
div.menu .active a:hover {color:#1900ab;}
div.menu .active a:visited, div.menu .active a:active {color:#1900ab;}

/* sub_menu */
div.sub_menu {height: 24px; clear: left; background: #DADBE0 url() no-repeat 0 0;margin: 0 -10px; padding-left: 10px}
div.sub_menu ul {padding:0 1px; list-style:none; margin: 0px; }
div.sub_menu li {float:left; background:#dadbe0 url() no-repeat left top; padding:0 0 0 9px; height: 24px;}
div.sub_menu a {float:left; display:block; background: #dadbe0 url() no-repeat right top; padding:4px 15px 0px 6px; text-decoration:none; font-weight:bold; color:#566b01;}
    /* Commented Backslash Hack hides rule from IE5-Mac \*/
    div.sub_menu a {float:none;}
    /* End IE5-Mac hack */
div.sub_menu a:hover {color:#333;}
div.sub_menu .active { background: #bcd734 url() no-repeat left top;}
div.sub_menu .active a { background: #bcd734 url() no-repeat right top; color:#1900ab;}

/* login_error main text*/
div.login_error {
	margin: 0px 0px 10px 10px;
}
div.login_error ul {margin: 20px;}
 
div.login_error p span.high, div.login_error li span.high  {
 	font-weight: bold;
 	color: #1900ab;
 }
 

/* home */
.exploit {clear: left; padding: 5px 0;}
.exploit p {margin: 3px 0 0;}
.exploit img {margin: 0 10px 10px 0; float: left;}
.exploit span {font-weight: bold;}

.callout {float: right; clear: right; width: 200px; margin-left: 10px; margin-bottom: 10px; background-color: #f4f7e3; border: 1px solid #bcd743;}
.callout span.top {background-color: #edf4cb; color: 1900ab; display: block; padding: 3px 10px; margin-bottom: 10px;}
.callout p {padding: 0 10px 5px;}

/* blog manager page */

/* edit posts */
.edit_post {border: 1px solid #575f1b; margin-bottom: 20px; clear: left;}
.edit_post td {padding: 3px 10px; font-size: 12px;}
.edit_post thead td {background-color: #f4f7e3; border-bottom: 1px solid #575f1b;}
.edit_post .row_even {}
.edit_post .row_odd {background-color: #ededed;}
.edit_post tfoot td {background-color: #f4f7e3; border-top: 1px solid #575f1b;}

/* profile */
.profile_img {float: right; text-align: center; margin-left: 10px;}
.profile_img img {border: 1px solid #bcd734;}
.profile span {font-weight: bold; white-space: nowrap; margin-right: 5px;}
.profile blockquote {}


div.habits {clear: left; padding: 5px 0;}
div.habits h6 {color: #000;}
div.habits p {margin: 5px 0 0; padding: 5px 8px;background: #fff url(../images/tl_border.jpg) no-repeat top left; }

table.templates td {padding-bottom: 15px;}
table.templates img {margin-bottom: 5px;}
table.templates input {margin: 0 5px; padding: 0;}

/* page or site css */
#container {background: #fff url(../images/bg-tab.gif) repeat-x left 10px; padding: 10px 0;}
ul.tab-nav { margin:0; padding:0 0; list-style:none;}
ul.tab-nav li {float:left; background: url(../images/tab-left.gif) no-repeat left top; margin:0 2px 0 0; padding:0 0 0 5px;}
ul.tab-nav a {display:block; background: url(../images/tab-right.gif) no-repeat right top; padding:5px 15px 8px 10px; text-decoration:none; color: #fff; font-weight: bold; white-space: nowrap;}
/* Commented Backslash Hack
   hides rule from IE5-Mac \*/
ul.tab-nav a {float:none;}
/* End IE5-Mac hack */
ul.tab-nav a:hover {color:#333;}
ul.tab-nav .on {background-image:url(../images/tab-left-active.gif);}
ul.tab-nav .on a {background-image:url(../images/tab-right-active.gif); color:#333;}

div.anchor {background: #ddddc7 url() no-repeat left top; border: 1px solid #938f65; border-top: none; padding: 10px; clear: both; }
div.anchor h3 {margin-top: 0;}

.tab-nav .on a:link, .tab-nav .on a:visited {cursor: text;}
.tab-nav a:hover, .tab-nav a:focus, .tab-nav a:active {cursor: pointer;}
