*, *:before, *:after {
  box-sizing: border-box;
}
body {
	background-color:#272D75;
	font-family: "Open Sans", Arial, sans;
}
p, ul { line-height: 1.8; }
#page {
	max-width: 1096px;
	margin: 0px auto;
	background-color: #f7ffff;
	box-shadow: 5px 5px black;
	border: 1px solid black;
	margin-bottom: 2em;
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
.header-image { width: 100%; height: auto; margin: 0; padding: 0; vertical-align: bottom; }
.top-bar {
	background-color: #555555;
	font-size: 24px;
}
.top-bar p {
	color: #eaeaea;
	margin: 0 0.2em;
}
a { text-decoration: none; }
#menu { 
	margin: 0;
	padding: 0;
	background-color: #eff;
	min-height: 1.9em;
	border-bottom: 1px solid gray;
}
#menu ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	width: 100%;
	line-height: 1em;
}
#menu li {
	display: block;
	float: left;
	text-align: center;
	border-right: 1px solid gray;
	height: 1.9em;
	padding: 0.4em 1em 0 1em;
}
#menu li a {
}
#menu li:hover {
	background-color: white;
}
#menu ul ul {
	float: left;
	position: absolute;
	background-color: white;
	display: none;
	margin: 0;
	padding: 0;
	z-index: 20;
	width: 25em;
	margin-top: 0.4em;
}
#menu li:hover ul {
	display: block;
}
#menu ul ul li {
  background-color: #f1f1e1;
	display: block;
	float: none;
	width: 100%;
	text-align: left;
	padding-top: 0.3em;
	padding-left: 0.3em;
	border-bottom: 1px solid #aaa;
}
#menu ul ul li:hover {
	background-color: white;
}
#menu ul ul li a {
}

#main {
	clear: both;
	padding: 2em;  
}
h1, h2 { text-align: center; }
h1 { font-size: 150%; }
h2 { font-size: 28px; font-weight: normal; }

#footer {
	clear: both;
	padding: 1em;
	background-color: #555555;
	color: white;
}
#footer a:visited { color: lightgray; }
#footer a { color: white; }
#footer p { text-align: center; margin: 0; }
#footer p.poweredby { font-size: 85%; }

.writing-item {
	margin-left: 250px;
	clear: both;
	
}
.writing-item img {
	vertical-align: top;
	margin-left: -250px;
	float: left;
	margin-bottom: 3em;
}

.panels { margin-left: 4em; }
.panel h3 { margin-bottom: 0.2em; }
.panel p { margin: 0; }
.panel-body { margin-left: 2em; }
video {
	display: block;
	margin: 0 auto;
}

.imgright { float: right; margin-left: 2em; margin-bottom: 2em; }
.item-with-picture img {
	max-width: 100%;
	height: auto;
	}
.imgcol {
	max-width: 50%;
}
.writing-item img {
	max-width: 100%;
	height: auto;
	}

.writing-item .imgcol {
	max-width: 100%;
	}
.item-with-picture {
	clear: both;
	margin-bottom: 2em;
	margin-top: 2em;
}
.item-with-picture img {
	float: left;
	margin-right: 1em;
}
.more-writing {
	clear: both;
	max-width: 800px;
	margin: 2em auto;
	}
.more-writing .imgcol {
	float: right;
}
.more-writing img {
	max-width: 100%;
	height: auto;
}
table {border-collapse: collapse; }
td { border: 1px solid gray; }

/* #menu { 
	height: 1.9em; 
	padding: 0.2em 0 0 0;

}
#menu ul { list-style-type: none; padding: 0; margin: 0; }
#menu ul li {
 	float: left;
	padding: 0;
	margin: 0 0.1em;
}
#menu>ul>li>a:hover {
	background: #ffd;
}
#menu ul li a {
	background-color: #ddd;
	color: black;
  text-decoration: none;
	padding: 0.2em;
	margin: 0;
	border-radius: 5px 5px 0 0;
	transition: 0.2s;
	border: 1px solid black;
	border-width: 1px 1px 0 1px;
}
#menu ul li a.current {
	background-color: white;
	border-bottom: 0.1em solid white; 
}
#menu ul ul { 
  background-color: #fff;
  list-style: none;
  position: absolute;
	display: none;
	margin: 0 0 0 0;
	padding: 0;
	border: 1px solid black;
	z-index: 20;
}
#menu li:hover ul { display: block; }
#menu ul ul li {
  background-color: #ddd;
	display: block;
	float: none;
	padding: 0.4em 0.6em;
	margin: 0;
}
#menu ul li ul li a {
	border-radius: 0;
	border-style: none;
	color: black;
	text-shadow: none;
	background: transparent;
}
#menu li:hover ul a {
  text-decoration: none;
}
#menu li:hover ul li:hover {
  background-color: #ffd;
}
 */

