
/* ================= Styles of top-level elements */

/* Let's see we get by without too much colored areas, shall we?
div#sidebar,
div#header, 
div#footer {
	background-color: #EE77BB;
}*/


div#header, div#footer {
	width: 100%;
	height: 30pt;
	clear: both;
	padding: 3px;
}

div#header {
	font-size: 17pt;
	font-style: oblique;
	font-weight: bold;
	text-align: right;
	color: #BB7777;
}

#header p {
	margin-top: 0px;
	margin-bottom:0px;
	padding: 2pt;
}

div#sidebar {
	width: 10em;
	float: left;
	height: 100%
}

div#body {
	max-width: 600px;
	margin-left: 10em;
	padding: 1ex;
	border-left: 1px dashed grey;
	border-bottom: 1px dashed grey;
}

.private {
	background-color: #eeeeee;
	color: #666666;
}

div#archivemenu {
	background: #cccccc;
}

img.osmlink {
	border-style: none;
	vertical-align: top;
}

/* ======================= Styles of custom site classes */

ul.nobull {
	list-style-type: none;
	padding-left: 0px;
}

.nobull li {
	margin-top: 0.5ex;
}


h2.dayhead {
	border-top: 1px solid black;
	margin-top: 2ex;
}

p.ednote { /* Notes from the editors */
	font-style: italic;
	font-size: 80%;
	margin-left: 2em;
	width: 30em;
	border-left:5px solid gray;
	padding-left: 0.5em;
}

form.manualform {
	margin-left: 1em;
	padding: 0.5em;
	border: 1px solid black;
}

a.yearhead {
	text-decoration: none;
}

a.monthlink {
	text-decoration: none;
}

ul.horizontal {
	display:table-row;
	list-style-type: none;
}

ul.horizontal li {
	display: table-cell;
	padding-right: 1ex;
}



/* List-based menus */
ul.horizontalSelection { /* top level of two-level menu, see archive.html */
	display:table-row;
	position: relative;
	list-style-type: none;
	background: #cccccc;
}

ul.horizontalSelection li {
	display: table-cell;
	position: relative;
	border-left:2px solid white;
	padding: 2px;
}

ul.submenu { /* second-level menu -- hide by default, unhide onmouseover */
	visibility: hidden;
	position: absolute;
	list-style-type: none;
	display: table-row;
	background: #cccccc;
	padding-left: 0px;
}

ul.horizontalSelection li:hover ul.submenu {
	visibility: visible;
}

ul.submenu li {
	display: table-cell;
	border-left:2px solid white;
	padding: 2px;
}

/* End list-based menus */


/* Fullev elements */

p.evdate {
	padding: 0.3ex;
	border: 1px solid #FFAAAA;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 1ex;
	margin-bottom: 1ex;
	display: table-cell;
}

div.evcontainer{
	display:table-cell;
	text-align:left;
}

p.place {
	max-width: 60%;
	text-align: right;
	font-style: italic;
	display:table-cell;
}


div.wherewhen {
	display: table;
	width: 100%;
}

.evdate span {
	display: block;
	text-align:center;
	padding: 2px;
}

.evdate span.separator {
	display:none;
}

.evdate span.joiner {
	margin-top:1ex;
	margin-bottom:1ex;
}

.evdate .date, .evdate .time {
	font-weight: bold;
}

p.tags {
	font-size: 70%;
	font-style: italic;
	color: #cccccc;
}

ul.logobox {
	list-style-type: none;
	padding-left: 0.5ex;
}

.logobox li {
	padding-bottom: 0.5ex;
}

/* Balanced tables (two equal column width, used in docs) */

table.balanced {
	border-collapse: collapse;
	border-bottom: 	2px solid #888888;
	border-top: 	2px solid #888888;
}

.balanced th {
	padding-top:0.7ex;
	padding-bottom:0.7ex;
}

.balanced td {
	padding: 0.7ex;
	width: 50%;
	border: 1px solid #888888;
}

/* "toolbars"; here, children are forced to be next to each other */

div.toolbar {
	overflow: auto;
	white-space: nowrap;
}

div.toolbar * {
	display: inline;
	margin-right: 0.5ex;
}

/* small forms for unobtrusive (typically single-field) inputs */

.small input {
	font-size: 8pt;
	border: 1px solid black;
}


/* ======================= replaceWithTextDoc helper styles (see sofo.js) */

.toBeReplaced { /* before replacement -- should look like a link */
	color: #0000ee;
}

.isReplaced { /* after successful replacement */
	color: black;
	padding-top: 3px;
	padding-bottom: 3px;
	border-top: 1px solid #777777;
	border-bottom: 1px solid #777777;
}

.notReplaced { /* after failed replacement */
	color: #ff0000;
}

/* ======================= Some global messing around */

address {
	margin-top: 3ex;
}

dt {
	font-style: oblique;
	margin-top: 4pt;
}

