/**
 * Design elements for default Template
 *
 * @author Clemens Wacha <clemens.wacha@gmx.net>
 */
/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td{margin:0;padding:0;}table{padding:0;margin:0;border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}ol,ul {list-style:none;}caption,th {text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;}q:before,q:after{content:'';}

*{
	/* Reset browsers default margin, padding and font sizes */
	margin: 0;
	padding: 0;
}

html {
	font-size: 100%;
}

/* fonts */
body {	font-family: Verdana, "Trebuchet MS", "Lucida Grande", Helvetica, Arial, sans-serif;
	color: #CCCCCC;
	text-align: center;
	background-color: #000000;
	font-size: 62.5%; /* This sets the default font size to be equivalent to 10px */
	margin: 0px 10px 0px 10px;}
table {font-size:inherit;font-size:100%;}
select, input, textarea {font:99% arial,helvetica,clean,sans-serif;}
pre, code {font:115% monospace;font-size:100%;}
body * {line-height:1.22em;}


/* grid */
body{text-align:center;}#doc{width:57.69em;width:56.3em;min-width:750px;margin:auto;text-align:left;}#hd,#bd{margin-bottom:1em;text-align:left;}#ft{font-size:77%;font-family:verdana;clear:both;}.yui-t1 #yui-main .yui-b, .yui-t2 #yui-main .yui-b, .yui-t3 #yui-main .yui-b, .yui-t4 .yui-b, .yui-t5 .yui-b, .yui-t6 .yui-b{float:right;}.yui-t1 .yui-b, .yui-t2 .yui-b, .yui-t3 .yui-b, .yui-t4 #yui-main .yui-b, .yui-t5 #yui-main .yui-b, .yui-t6 #yui-main .yui-b{float:left;}.yui-t1 #yui-main .yui-b{width:76%;min-width:570px;}.yui-t1 .yui-b{width:21.33%;min-width:160px;}.yui-t2 #yui-main .yui-b, .yui-t4 #yui-main .yui-b{width:73.4%;min-width:550px;}.yui-t2 .yui-b, .yui-t4 .yui-b{width:24%;min-width:180px;}.yui-t3 #yui-main .yui-b, .yui-t6 #yui-main .yui-b{width:57.6%;min-width:430px;}.yui-t3 .yui-b, .yui-t6 .yui-b{width:40%;min-width:300px;}.yui-t5 #yui-main .yui-b{width:65.4%;min-width:490px;}.yui-t5 .yui-b{width:32%;min-width:240px;}.yui-t7  #main .yui-b{min-width:750px;}.yui-g .yui-u, .yui-g .yui-g, .yui-ge .yui-u, .yui-gf .yui-u{float:right;display:inline;}.yui-g .first, .yui-gd .first, .yui-ge .first, .yui-gf .first{float:left;}.yui-g .yui-u, .yui-g .yui-g{width:49.1%;}.yui-g .yui-g .yui-u{width:48.1%;}.yui-gb .yui-u, .yui-gc .yui-u, .yui-gd .yui-u{float:left;margin-left:2%;margin-left:1.895%;width:32%;}.yui-gb .first, .yui-gc .first, .yui-gd .first{margin-left:0;}.yui-gc .first, .yui-gd .yui-u{width:66%;}.yui-gd .first{width:32%;}.yui-ge .yui-u{width:24%;}.yui-ge .first, .yui-gf .yui-u{width:74.2%;}.yui-gf .first{width:24%;}.yui-ge .first{width:74.2%;}#bd:after, .yui-g:after, .yui-gb:after, .yui-gc:after, .yui-gd:after, .yui-ge:after, .yui-gf:after{content:".";display:block;height:0;clear:both;visibility:hidden;}#bd, .yui-g, .yui-gb, .yui-gc, .yui-gd, .yui-ge, .yui-gf{}

/* Debug Colors */
/*    background-color: #a5a5a5; */
/*    background-color: #b5b5b5; */



div.error{
  background: #fcc url(images/error.png) 0.5em 0px no-repeat;
  color: #000;
  border-bottom: 1px solid #faa;
  font-size: 90%;
  text-align: center;
  margin: 0px;
  padding-left: 3em;
}

div.info{
  background: #ccf url(images/info.png) 0.5em 0px no-repeat;
  color: #000;
  border-bottom: 1px solid #aaf;
  font-size: 90%;
  text-align: center;
  margin: 0;
  padding-left: 3em;
}

div.success{
  background: #cfc url(images/success.png) 0.5em 0px no-repeat;
  color: #000;
  border-bottom: 1px solid #afa;
  font-size: 90%;
  text-align: center;
  margin: 0;
  padding-left: 3em;
}


/* -------------- general elements --------------- */


body {
  font: 80% "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
  background-color: #000000;
  color: Black;
  margin: 0;
  padding: 0;
}

ul {
    list-style:square;
    padding-left: 2ex;
}

p {padding:0; margin: 0 0 1.0em 0;}

hr {
  border: 0px;
  border-top: 1px solid #8cacbb;
  text-align:center;
  height: 0px;
}


.leftalign {text-align: left;}
.centeralign {text-align: center;}
.rightalign {text-align: right;}


.mainview {
    background-color: #000000;
//    width: 76%;
    width: 100%;
    min-width: 570px;
    margin: 0 auto 0 auto;
    min-height: 100%;
}

.logo {
    padding: 10px;
}

.title {
    padding: 10px;
    font-family: "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
    font-size: 250%;
    font-weight: bold;
    text-align: left;
}

.search {
    float:right;
}

.contactlist_td {
    vertical-align: top;
    width: 30%;
    min-width: 120px;
}

.contactlist {
    vertical-align: top;
}

.contactlist_item1 {
    background-color: #383838;
}

.contactlist_item2 {
}

.contactlist_footer {
    text-align: right;
}

.personview {
    vertical-align: top;
/*    margin-top: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    margin-left: 10px;*/

}

.person_left {
    padding-left: 30px;
    padding-right: 10px;
    padding-top: 0px;
    padding-bottom: 0em;
    text-align: right;
    vertical-align: top;
    width: 25%;
    /* min-width: 150px; */
}

.person_right {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 0px;
    padding-bottom: 0em;
    text-align: left;
    width: 75%;
    vertical-align: top;
}

.person_right .person_name {
    font-size: 130%;
    font-weight: bold;
}

.person_right .person_nickname {
    font-size: 100%;
    font-weight: bold;
    font-style: italic;
}

.person_right .person_text {
    font-size: 100%;
    font-weight: normal;
    font-style: normal;
    text-align: left;
}

.person_left .person_labels {
    font-size: 100%;
    font-weight: bold;
    font-style: normal;
    text-align: right;
    padding-bottom: 1px;
}

.person_empty {
    font-size: 100%;
    font-weight: bold;
    font-style: normal;
    text-align: center;
    padding-top: 6em;
}

.person_smalltext {
    color: #bebebe;
    font-size: 100%;
    font-weight: normal;
    font-style: normal;
    text-align: right;
    padding: 0;
    margin: 0;
}

.footer {
    height: 40px;
    text-align: center;
}

.separator {
	margin: 0em auto 1em auto;
	width: 350px;
	font-weight: normal;
	padding-bottom: 0em;
	border-bottom: 1px solid #bebebe;
}

.separator100 {
	margin: 1px auto 5px auto;
	width: 100%;
	font-weight: normal;
	padding-bottom: 0;
    padding-top: 0;
    height: 1px;
	border-bottom: 1px solid #bebebe;
}


/* --------------- Links ------------------ */

a {
  color: #204384;
  text-decoration:none;
}
a:hover {
  color:#000000;
  text-decoration:underline;
}


/* general headline setup */

h1, h2, h3, h4, h5 {
    color: Black;
    background-color: transparent;
    font-family: "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
    font-size: 100%;
    font-weight: normal;
    margin-left:    0;
    margin-right:   0;
    margin-top:     0;
    margin-bottom:  1em;
    padding-left:   0;
    padding-right:  0;
    padding-top:    0.5em;
    padding-bottom: 0;
    border-bottom: 1px solid #8cacbb;
    clear: left;
}

/*-------------------------------------------------
PANELS
-------------------------------------------------*/
.panel {
	margin-top: 1em;
	position: relative;
	font-size: 93%;
}
	.panel .header {
		background-color: #222;
		width: 100%;
	}

	.header tr {
		padding: 0;
		margin:0;
	}
	.header tr td {
		padding: 0;
		margin: 0;
	}
	.header_tr {
		margin:0;
	}
	.header_tr .middle {
		padding-left: 0.4em;
		margin: 0px;
		background-image: url(images/split1.gif);background-repeat:
		repeat-x;
		color:#eee;
		text-align: left;
		font-weight: bold;
	}
	.header_tr .last {
		text-align: right;
		padding-right: 0.4em;
	}
	.middle a {
		color: #ddd;
		text-decoration: none;
	}

	.header .endcap {
		width: 3px;
	}
	.endcap img {
		vertical-align:top;
	}

	.panel .controls {
		margin:auto;
		position:absolute;
		right:0.1em;
		white-space: nowrap;
		padding-right: 0.4em;
	}
	.panel .controls a {
		color: #ddd;
		text-decoration: none;
	}


.panel th {
	padding: 0 .6em;
}
.panel td {
	padding: 0 0.6em;
	text-align:right;
}
.panel td.first {
	text-align: left;
}
.panel td.sparkline {
	height: 20px;
}


.panel th {
	margin: 0;
	padding-top: 0;
	border-left: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
	height: 8px;
	text-align: right;
	font-size:82%;
}
.panel th.first_th {
	border-left: none;
	text-align: left;
}

/* --------- buttons ------------------- */


input.button, button.button{
  border: 1px solid #CCCCCC;
  color: #FFCC33;
  background-color:#111111;
  vertical-align: middle;
  text-decoration:none;
  font-size: 100%;
  font-weight: normal;
  cursor: pointer;
  height: 22px !important;
  max-height: 22px !important;
  min-height: 22px !important;
  margin: 1px;
  padding-left: 1em;
  padding-right: 1em;
  display: inline;
}

input.text {
  border: 1px solid #CCCCCC;
  color: #FFCC33;
  background-color: #111111;
  vertical-align: middle;
  text-decoration:none;
  font-size: 100%;
  font-weight: normal;
  cursor: text;
  height: 18px !important;
  max-height: 18px !important;
  min-height: 18px !important;
  margin: 1px;
}


/* ---------------- forms ------------------------ */

form {
  border: none;
  margin: 0;
  display: inline;
}

label.block {
  display: block;
  text-align: right;
  font-weight: bold;
}

label.simple {
  display: block;
  text-align: left;
  font-weight: normal;
}

label.block input.edit {
  width: 50%;
}

fieldset {
  width: 300px;
  text-align: center;
  border: 1px solid #bebebe;
  padding: 0.5em;
  margin: auto;
}

textarea.edit {
/*
  font-family:monospace;
  border: 1px solid black;
  color: Black;
  background-color: white;
  font-size:14px;
  padding: 3px;
  width:100%;*/
	color: #FFCC33;
	background-color: #111111;
	border: 1px solid #CCCCCC;
	font-family: Verdana, "Trebuchet MS", "Lucida Grande", Helvetica, sans-serif;
	font-size: 1.1em;
	font-weight: normal;
	padding: 1px;
}

input.edit, select.edit {
  /*font-size: 100%;
  border: 1px solid #bebebe;
  color: Black;
  background-color: black;
  vertical-align: middle;
  margin: 1px;
  padding: 0.20em 0.3em;
  display: inline;*/
	color: #FFCC33;
	background-color: #111111;
	border: 1px solid #CCCCCC;
	font-family: Verdana, "Trebuchet MS", "Lucida Grande", Helvetica, sans-serif;
	font-size: 1.1em;
	font-weight: normal;
	padding: 1px;
}

select.edit {
  padding: 0.1em 0;
}

input.missing {
  font-size: 100%;
  border: 1px solid black;
  color: Black;
  background-color: #ffcccc;
  vertical-align: middle;
  margin: 1px;
  padding: 0.20em 0.3em;
  display: inline;

}

.login_box {
    width: 220px;
    padding: 0;
    margin: 10px;
    margin-bottom: 40px;
    text-align: right;
    vertical-align: top;
}

.birthday_box {
    width: 220px;
    padding: 0;
    margin: 10px;
}

.birthday_title {
    color: #bebebe;
    font-size: 85%;
    font-weight: normal;
    font-style: normal;
    text-align: right;
    padding: 0;
    margin: 0;
	margin-bottom: 5px;
	border-bottom: 1px solid #bebebe;
}

.birthday_text {
    color: #bebebe;
    font-size: 85%;
    font-weight: normal;
    font-style: normal;
    text-align: right;
    padding: 0;
    margin: 0;  
}




/* Layout */
*{
	/* Reset browsers default margin, padding and font sizes */
	margin: 0;
	padding: 0;
}

html {
	font-size: 100%;
}

body {
	/* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
	font-family: Verdana, "Trebuchet MS", "Lucida Grande", Helvetica, Arial, sans-serif;
	color: #CCCCCC;
	text-align: center;
	background-color: #000000;
	font-size: 62.5%; /* This sets the default font size to be equivalent to 10px */
	margin: 0px 10px 0px 10px;
}

/* Main structure */
.wrapper {
	margin: 0 auto;
	background: #000000;
	width: 800px; 
}

/* Banner */
#banner{
	height: 117px;
}

/* Menu */
.menuwrap {
	float: left;
	width: 100%;
}
.menu a, .menu a:visited, .menu a:link {
	text-align: center;
	background: #000 url(http://thenebula.com/images/menu_buttons.gif) repeat-x;
	border-right: 1px solid #111111;
	font-size: 1.2em;
	color: #FFCC33;
	float: left;
	padding-top: 3px;
	width: 159px; height: 21px;
}
.menu a span {
	padding-left: 0px;
}
.menu a:hover {
	background-position: left bottom;
	color: #DD2222;
	text-decoration: none;
}
.menu a#last {
	width: 160px;
	border-right: none;
}

/* Sidebar */
#sidebar{
	width:200px;
	float:right;
	text-align:left;
}

.sideitem p, .sideitem h5{
	margin:10px;
	line-height:16px;
}

.sideitem h5{
	color:#9CF
}

.sideitem{
	background-color:#111111;
	border-top:1px dotted #CCC;
	border-bottom:1px dotted #CCC;
	margin-top:10px;
	padding: 10px 10px 10px 0px;
}

.myform{
	margin: 10px 10px 10px 10px;
}

#stylized input{
	float: left;
	font-size: 12px;
	border: solid 1px #9CF;
	width: 150px;
	padding: 4px 2px;
	margin: 10px 10px 10px 10px;
}

#stylized button{
	clear: both;
	height: 25px;
	width: 75px;
	/* background: #666666 url(http://thenebula.com/imag/button.png) no-repeat; */
	text-align: center;
	color: #111111;
	font-size: 11px;
	font-weight: bold;
	margin: 0px 0px 0px 90px;
}

/* Main content */
#content{
	text-align:left;
	width:570px;
	float:left;
	margin:auto;
	position:relative;
}

#content p{
	line-height: 13px;
	letter-spacing: 0px;
}

.intro{
	border-top: 1px solid #CCC;
	border-bottom:1px solid #CCC;
	margin: 10px 0 10px 0;	
	padding: 8px;
	background-color:#111111;
}

.dropcap{
	line-height: 40px;
	font-size: 40px;
	width: auto;
	float: left;
	margin: -3px 5px 0 0;
	color: #AAA;
}

.blog{
	width: 570px;
	margin: 10px 0 10px 0;	
}

.blogdate{
	border-bottom: 3px double #CCC;
	text-align: center;
	width: 120px;
	margin-bottom: 10px;
	padding-bottom: 10px;
	background-color: #111111;
}

.daynum{
	font-size: 36px;
	color: #9CF;
}

.month{
	font-size: 12px;
	padding-left: 0px;
	font-variant: small-caps;
	text-align: center;
}

.blog_l{
	border-top: 3px double #CCC;
	float: left;
	width: 120px;
	text-align: right;
	font-variant: small-caps;
	letter-spacing: 2px;
	margin-bottom: 10px;
}

.blog_l img{
	border-top:1px solid #CCC;
	border-bottom:1px solid #CCC;
	padding:2px 0 2px 0;
	margin-bottom:10px;
}

.blog_r{
	border-top: 3px double #CCC;
	float: right;
	width: 430px;
	padding-top: 10px;
	padding-left: 20px;
	margin-bottom: 10px;
}

.blog_r h2{
	margin-top: -8px;
}

.blog_r h5{
	margin-top: -16px;
	letter-spacing: 2px;
	color: #9CF;
}

/* Footer */
#footer{
	float: right;
 	border-top: 1px solid #CCC;
	padding: 15px;
 	text-align: center;
 	font-size: 11px;
 	width: 100%;
	background-color: #111111;
}

/* Links */
a:link {
	color: #FFCC33;
	text-decoration: none;
}

a:active,
a:visited {
	color: #FFCC33;
	text-decoration: none;
}

a:hover {
	color: #DD2222;
	text-decoration: none;
}

/* Text */
h1,h2,h3,h4,h5,h6{
	position: relative;
	padding: 3px;
	font-variant:small-caps;
	margin:12px;
	font-weight:normal;
	margin-left:0;
}

h1{font-size:24px}
h2{font-size:22px}
h3{font-size:20px}
h4{font-size:18px}
h5{font-size:16px}
h6{font-size:14px}

p {
	padding: 5px;
	font-size: 1.1em;
}

ul{
	position: relative;
	font-size: 10px;
	padding: 0px 0px 0px 40px;
	/* list-style-type:square; */
}

/* Misc */
img {
	border: none;
}