body {
	background-color: white;
  font-family: sans-serif;
  text-align: center;
}

div.main {
  width: 950px;
	text-align: center;
  border-top: 1px solid #eeeeee;
  border-right: 3px solid #cccccc;
  border-bottom: 3px solid #bbbbbb;
  border-left: 1px solid #dddddd;
  margin: 0 auto 0 auto;
}

div.message {
	color: red;
  background-color:  #eeeca9;
  border: 1px solid red;
  font-weight: bold;
  padding: 5px;
}

#topnav {
  padding: 0;
  text-align: center;
}

#topnav a {
  text-decoration: none;
}

#main-menu-container {
  padding: 0;
  margin: 0 auto 0 auto;
  text-align: center;
}

#main-menu {
  list-style: none;
  padding: 0;
  margin: auto;
  line-height: 1em;
  display: block;
  height: 37px;
  background-color: black;
  width: 950px;
}

#main-menu li {
  display: block;
  float: left;
  padding: 3px 5px 0 5px;
  margin: 0;
  height: 35px;
  max-width:20%;
  overflow:  visible;
  border-right: solid #ccc 1px;
}

#main-menu li.menu-item:hover {
  background-color: #82555c;
}

#main-menu a {
  text-decoration: none;
  font-weight: bold;
  font-size: .9em;
  color: white;
}

#main-menu ul a:hover {
  color: lightblue;
  background-color: #82555c;
}

li.menu-item-active {
  background-color: #e6ecf3;
  color: #524040;
}

a.menu-item {
  color: #e6ecf3;
}

table.edit, table.advanced_edit{
	border-top: 2px solid black;
	background-color: #f0f0f0;
	margin: auto;
}

table.edit td, table.advanced_edit td {
	border-bottom: solid #c0c0c0 1px;
  border-right: solid #c0c0c0 1px;
}

table.advanced_edit{
  /*display: inline-block;*/
  visibility: collapse;
}

td.input_cell {
  /*width: 45%;*/
	text-align: left;
}

td.label_cell {
  width: 10%;
	text-align: right;
}

td.hint_cell {
  width: 25%;
	text-align: left;
}

#advanced_button {
  display: inline-block;
  padding: 3px;
  margin: 2px;
  text-decoration: underline;
  border-style: ridge;
  background-color: #bbbbbb;
  /*border-width: 2px;
  border-top: #dddddd;
  border-right: #c0c0c0;
  border-bottom: #aaaaaa;
  border-left: #eeeeee;*/
}

div.error-message, #flashMessage.error {
	color: red;
	font-weight: bolder;
  font-size: small;
}

div.image-editor {
  background-color: black;
  padding: 5px;
  font-weight: bold;
}

div.submit input {
  font-size: large;
  font-weight: bold;
  color: red;
}

.manage-table {
  background-color: #eeeeee;
  margin: 5px auto 5px auto;
}

.manage-table td, th {
  padding: 3px;
}

.manage-action {
  text-align: center;
}

.manage-title {
  text-align: left;
}

.manage-action, .manage-title {
  border-bottom: solid 1px #aaaaaa;
}

.textEdit {
  width: 95%;
  height: 80px;
}

.ui-front {
  z-index: 1100; /* Must be greater than z-index of .modal in bootstrap.css so list box created by ui-autocomplete is visible */
}

.ui-widget-content .ui-state-focus {
  font-weight: normal;
}

.large-popup {
  width: 500px;
  height: 500px;
}
