/*
Stylesheet for dubovsky.com / internalsound.com
Copyright Jon Dubovsky, 2007
released under a Creative Commons 2.5 Attribution license.
*/
/* Basic three-column theory from A List Apart (http://www.alistapart.com/articles/holygrail) */
body {
	min-width: 36.6em; /* 2 x (LC fullwidth + CC padding) + RC fullwidth */
}
#container {
	padding-left: 9em;
	padding-right: 16.6em;
}
#container .column {
	position: relative;
	float: left;
}
#center {
	padding: 0 1em;
	width: 100%;
}
#left {
	width: 7.4em;
	padding: 0 0.8em;
	right: 11em;
	margin-left: -100%;
	left: 14.6em; /* IE6 hack (RC fullwidth) */
}
#right {
	width: 12.9em;
	padding: 0 0.8em;
	margin-right: -100%;
}
#footer {
	clear: both;
}
/* IE6 un-hack for #left::left */
#container > #left {
	left: -11em; /* -LC Width for all non-IE6 */
}

/*
#header, #footer {
	margin-left: -9em;
	margin-right: -16.6em;
}
*/

/* ***** everything below here is for looks ***** */

body {
	margin: 0;
	padding-top: 0;
	background-color: white;
	color: black;
	font-family: "Deja Vu Sans",verdana,tahoma,arial,helvetica,sans-serif;
}

#header {
	background: #004;
	color: white;
}
#header h1 {
	margin-top: 0;
	margin-bottom: 0.2em;
	padding: 0.3em 0.6em 0.5em 2.6em;*/
	font-size: 2.0em;
	letter-spacing: 0.1em;
	color: white;
	border-bottom: 0.2em solid black;
}
#header h1 a:link, #header h1 a:visited, #header h1 a:hover, #header h1 a:active {
	/* prevent link in the header from changing appearance */
	color: white;
	/*background-color: transparent;*/		/* fix CSS warning */
	text-decoration: none;
}

#left, #center, #right {
	padding-top: 0.8em;
}

#center {
	border-left: 0.1em dashed #CCC;
}

#footer {
	border-top: 0.1em solid #CCC;
	font-size: 0.7em;
	color: #999;
	/*background-color: white;*/
	text-align: center;
}

/* leftbar-interior navbar */
div.navbar {
	background-color: #CCC;
	border: 1px solid gray;
	margin-bottom: 4.0em;
	-moz-border-radius: 0.6em;
	border-radius: 0.6em;	/* CSS3 draft */
}

/* highlight the current page */
#home .home, #rantings .rantings, #gallery .gallery, #projects .projects {
	background-color: #BBB;
	-moz-border-radius: 0.3em;
	border-radius: 0.3em;	/* CSS3 draft */
}

.navbar ul {
	margin: 0;
	padding: 0.3em 0.3em 0.5em 0.3em;
}

.navbar li {
	list-style: none;
	margin: 0;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
	padding-left: 0.3em;
	padding-right: 0.2em;
}

li.hidden {	/* hidden elements (set/cleared by javascript, etc.) */
	display: none;
}
li.search {		/* for when the search box list item is visible */
	margin-top: 1.0em;
}
input.searchtext {
	width: 90%;
	margin-bottom: 0.3em;
}
/* end navbar */


div.siteinfo {
	font-size: 0.7em;
}
.siteinfo ul {
	margin: 0;
	padding: 0;
}
.siteinfo li {
	list-style: none;
	margin-bottom: 1.7em;
	/*background-color: red;*/
}

img {
	border: none;
}

li {
	margin-bottom: 0.2em;
}

:link {
	color: navy;
	/*background-color: transparent;*/
}
:visited {
	color: purple;
	/*background-color: transparent;*/
}


#center h1 {
	font-size: 1.6em;
	font-weight: bolder;
	margin-top: 1.8em;
	margin-bottom: 0.2em;
}
#center h1:first-child {
	margin-top: 0;
}

#center h2 {
	font-size: 1.3em;
	font-weight: bolder;
	margin-top: 1.2em;
	margin-bottom: 0.2em;
}
#center h2:first-child {
	margin-top: 0;
}

#center h3 {
	font-size: 1.0em;
	font-weight: bolder;
	margin-top: 0.8em;
	margin-bottom: 0.2em;
}
#center h3:first-child {
	margin-top: 0;
}

#center p {
	margin-top: 0.2em;
	margin-bottom: 0.4em;
}
h3 + p {
	margin-top: 0.0em;
}


p.quote {
  font-style: italic;
}

p.topper {
  font-size: 0.8em;
  font-weight: bolder;
  letter-spacing: 0.1em;
  text-align: center;
}

p.rule {
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 10%;
  margin-right: 10%;
  border-top-style: solid;
  border-top-width: thin;
}

p.whisper {		/* no tinytype; don't make skott hate his baby! */
  font-size: 55%;
}
/*
p.footer {
  font-size: 0.7em;
}
*/
pre {
	font-family: "Deja Vu Sans Mono",monospace;
}

pre.poem {		/* like <pre>, but in <p> style */
	font-family: "Deja Vu Sans",verdana,tahoma,arial,helvetica,sans-serif;
}

pre.cppexample {	/* for c++ code examples */
	border-style: solid;
	border-width: thin;
	color: black;
	background-color: #E0E0E0;
	margin-left: 1em;
	margin-right: 1em;
}

pre.shellcmd {  /* for shell command code */
	border: 1px dashed gray;
	background-color: #E0E0E0;
	margin: 0.5em 1.0em 0.5em 1.0em;
	padding: 0.2em 0.4em;
}

strong {
	font-weight: bolder;
}

.warning {
  color: inherit;		/* save a CSS validator warning */
  background-color: red;
}

/* nicetitle stuff starts there */
div.nicetitle {
	position: absolute;
	margin: 0;
	padding: 0.2em 0.5em;
	top: 0px;
	left: 0px;
	width: 20em;
	color: white;
	background-color: #222;
	font-size: 85%;
	border: 1px solid black;
	z-index: 999;
	opacity: 0.95;		/* not yet supported by all browsers */
	-moz-border-radius: 10px;
	border-radius: 10px;	/* CSS3 draft */
}

.nicetitle {
	margin: 0;
	padding: 0 3px;
}

.nicetitle p {
	margin: 0.2em;
	padding: 0;
}

p.destination {
	font-size: 65%;
	text-align: left;
	padding-top: 0.8em;
	color: #cccccc;
	background-color: transparent;
}

p.titletext {
	font-size: 85%;
}

