html, body, form ul {
  padding: 0;
  margin: 0;
}

body {
  font-size: 1em;
  font-family: arial, helvetica;
  background-color: transparent;
}

a img {
  border: none;
}

h3 {
  font-size: 20px;
}

/* layout */

#document_wrapper {
  
}

#top_wrapper {
  z-index: 3;
  position: relative;
  min-width: 1000px;
  height: 47px;
  margin-bottom: -8px;
  background: url('/images/topbar.png') repeat-x 0px -32px;
  color: #fff;
}

#top_content, #page_wrapper {
  margin: 0 auto;
  /*width: 1000px;*/
}

#top_content {
  position: relative;
  color: #aaa;
}

#page_wrapper {

}

#domain, #page_content {
  margin-left: 114px; /* leaves 886px for content */
}

#main_navigation, #page_content {
  position: relative;
}

#main_navigation {
  z-index: 5;
  top: -39px;
  float: left;
  width: 114px;
}

#page_content {
  width: 886px;
  margin-bottom: 10px;
  background-position: top center;
  line-height: 130%;
}

#page_footer {
  margin: 40px 24px 0 136px;
  padding-top: 12px;
  border-top: 1px solid #ccc;
}

/* top content */

h1#domain {
  float: left;
  padding-left: 20px;
  margin-top: 8px;
  font-size: 1em;
  font-weight: normal;
  text-shadow: 0px 0px 1px #777;
}

#domain a {
  color: inherit;
  text-decoration: none;
}

#domain a:visited {
  color: #aaa;
}

#etc-bar {
  float: right;
  font-size: 12px;
}

#etc-bar h2, #etc-bar ul {
  display: inline-block;
  float: left;
}

#etc-bar h2, #etc-bar ul li {
  padding: 8px 15px 0;
  height: 31px;
}

#etc-bar h2 {
  font-weight: normal;
  font-size: 12px;
  padding-right: 10px;
  border-right: 1px solid #222;
}

#etc-bar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#etc-bar ul li {
  float: left;
  margin: 0;
  border-left: 1px solid #444;
  border-right: 1px solid #222;
}

/* navigation */

#list_nav img {
  margin-bottom: 10px;
}

li:first-child {
  border-top: none !important;
}

li:last-child {
  border-bottom: none !important;
  border-right: none !important;
}

/* page content */

#text {
  padding: 20px;
}

#text p {
  line-height: 16px;
}

/* footer */

#page_footer {
  margin-left: 136px;
  margin-right: 22px;
  color: #444;  
  font-size: 11px;
}

#page_footer a {
  text-decoration: none;
  color: #444;
}

#page_footer a:hover {
  text-decoration: underline;
}

/* flashed */

.notice {
	BORDER-BOTTOM: #ddd 1px solid; 
  PADDING-BOTTOM: 4px; 
  MARGIN: 4px 0px; 
  PADDING-LEFT: 30px; 
  PADDING-RIGHT: 4px; 
  BACKGROUND: url(/images/doctrine/tick.png) #ffc no-repeat 10px 4px; 
  BORDER-TOP: #ddd 1px solid; 
  PADDING-TOP: 4px
}

.error, .error_list {
  PADDING-BOTTOM: 0;
  PADDING-LEFT: 30px; 
  PADDING-RIGHT: 4px; 
  PADDING-TOP: 4px;
  BACKGROUND: url(/images/doctrine/error.png) no-repeat 10px 4px; 
  COLOR: #fff; 
  BORDER-TOP: #ddd 1px solid; 
  font-size: smaller;
  background-color: #b33; 
  border: none; 
  list-style: none; 
  color: white;
  margin: 5px 0;
}

.error_list li {
  vertical-align: center;
}

/* admin */

.admin_options {
}

#bottom_ads .admin_options { 
  position: absolute;
  max-height: 50px;
}

.lang a:link, .lang a:visited, .lang a:active { text-decoration: none; color: white; }
.lang img { padding: 4px; }

/* photogallery */

#photogallery {
  padding: 10px;
}

#photogalley h1 {
  float: left;
}
#photogallery .filters {
  float: right;
  margin-top: -20px;
}
#photogallery .filters label {
  margin-right: 6px;
}
#photogallery .filters #year {
  float: left;
}
#photogallery .filters #sort {
  float: left;
  margin-left: 20px;
}
#photogallery .list {
  margin-top: 20px;
}
#photogallery .list .item {
  float: left;
  margin: 15px 20px;
  cursor: pointer;
  width: 176px;
  height: 200px;
}
#photogallery .list .item h2 {
  font-size: 13px;
  color: #000000;
  margin-top: 4px;
}
#photogallery .list .item h3 {
  font-size: 12px;
  font-weight: normal;
}
.date_created {
  text-align: right;
  font-style: italic;
  font-size: 12px;
  font-weight: normal;
}

.tooltip {
  text-decoration: none;
  position: relative;
}
.tooltip span {
  margin-left: -999em;
  position: absolute;
}
.tooltip:hover span {
  border-radius: 5px 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; 
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1); -webkit-box-shadow: 5px 5px rgba(0, 0, 0, 0.1); -moz-box-shadow: 5px 5px rgba(0, 0, 0, 0.1);
  font-family: Calibri, Tahoma, Geneva, sans-serif;
  position: absolute; left: 6px; top: 0px; z-index: 99;
  margin-left: 0; width: 180px;
}
.classic { padding: 0.8em 1em; }
.custom { padding: 8px; }
* html a:hover { background: transparent; }
.classic {background: #FFFFAA; border: 1px solid #FFAD33; }
.critical { background: #FFCCAA; border: 1px solid #FF3334;	}
.help { background: #9FDAEE; border: 1px solid #2BB0D7;	}
.info { background: #AF0808; color: #ffffff; border: 1px solid #AF0808;	}
.warning { background: #FFFFAA; border: 1px solid #FFAD33; }

#pagination #count {
  float: left;
}
#pagination #pages {
  float: right;
}
#pagination #pages a {
  padding: 4px;
  background: #ffffff;
  color: #AF0808;  
  border: 1px solid #AF0808;
  text-decoration: none;
  margin-right: 3px;
}

#pagination #pages a.selected {  
   background: #AF0808;
   color: #ffffff;
}
