html, body {
  margin: 0;
  padding: 0;
  height: 100%; 
  background-color: #fff;
}

body, textarea, input { 
  color: #000;
  font-size: 13px;
  font-family: verdana, arial, helvetica, sans-serif;
  margin: 0;
}

table {
  table-layout: fixed
} 

form {
  margin: 0;
} 

a {
  color: #000;
  text-decoration: none;
}

a:hover { 
   color: #000;
}

img {
  border: none;
}

h1 {
  color: #000;
  font-size: 20px;
  text-transform: uppercase;
  margin-top: 15px;
  margin-bottom: -5px;
  line-height: 20px;
}

h2 {
  color: #000;
  font-size: 13px;
  text-transform: uppercase;
  margin-top: 15px;
  margin-bottom: -5px;
}

p {
   margin: 10px 0 0 0;
   padding: 0;
}

.textBox {
  bottom: 0;
  right: 35px;
  padding-top: 25px;
  padding-bottom: 7px;
  color: #666;
  font-size: 12px;
  text-align: left;
  margin-left: 300px;
  line-height: 18px;
}

.textBox h1 {
  font-weight: normal;
  color: #000;
  font-size: 16px;
  text-transform: uppercase;
  margin-top: 15px;
  margin-bottom: 5px;
  line-height: 20px;
}

.textBox h2 {
  font-weight: normal;
  color: #000;
  font-size: 14px;
  text-transform: uppercase;
  margin-top: 10px;
  margin-bottom: 0px;
  line-height: 18px;
}

.textBox a {
   color: #666;
   text-decoration: none;
}

.textBox a:hover {
   color: #000;
}

#wrapper {
  position: relative;
  margin: auto;
  min-height: 100%;
}


#main {
  position: relative;
  padding-bottom: 0px;
  padding-left: 0px;
  width: 950px;
  display: block;
  margin-left: auto;
  margin-right: auto 
}

#content {
  margin-top: 15px;
}


/* errors */

label.error {
  display: block;
  text-transform: none;
}

.error { 
  color: #b00; 
}

.errorlist { 
  float: right;
  display: inline;
  margin: 0px;
  margin-left: 10px;
  padding: 0px;
  color: #b00; 
}

.errorlist li { 
  display: inline;
}

/* topmenu */

#top {
  position: relative;
  margin-top: 7px;
  height: 120px;
  width: 950px;
  overflow: hidden;
  line-height: 20px;
}

#top .logo {
  position: relative;
  float: left;
  margin: 10px 40px 10px 30px;
}

#top .loginBox {
  position: relative;
  float: right;
  margin-top: 10px;
}

#top  label {
  color: #999;
}

#top input {
  font-size: 13px;
  color: #999;
}

#top  #id_username,
#top  #id_password {
  margin-right: 0px;
}

#top .login {
  color: #000;
  background-color: #fff;
  border: 1px solid #999;
}

#top form {
  display: inline;
}


/* menu */

.menu {
  position: relative;
  width: 575px;
  float: left;
  margin-top: 10px;
}

.menu .menuBar{
  position: relative;
  width: 2px;
  height: 100px;
  float: left;
  background-color: #444;
}

.menu .menuBlock {
  float: left;
}

.menu #mainMenu {
  left: 0px;
  width: 150px;
}

.menu #submenu {
  width: 400px;  
  overflow: hidden;
}

.menu a {
  font-weight: bold;
  color: #999;
  font-size: 12px;
  text-transform: uppercase;
  padding-left: 10px;
}

.menu a:hover{  
  font-weight: bold;
  color: #000;
}

/* copyright footer */

#copyrightFooterLine{
  position: relative;
  width: 950px;
  float: left;
  margin-top: 10px;
  height: 2px;
  background-color: #444;
  overflow: hidden;
}

#copyrightFooter{
  position: relative;
  float: right;
  text-align: right;
  color: #666;
  font-size: 10px;
  height: 12px;
}

.topPicture {
  margin-left: 0px;
}

#content {
}

/* error page */

#errorPage {
  color: #b00;
}

/* pictureUpload-page */

#pictureUpload h1 {
  margin-bottom: 15px;
  margin-top: 25px;
}

#pictureUpload #gallerySubmitForm{
  margin-bottom: 40px;
}

#pictureUpload #pictureSubmitTable {
  text-align: left;
}

#pictureUpload #pictureSubmitTable #column1{
  width:180px;
}

#pictureUpload #pictureSubmitTable #column2{
  width: 270px;
}

#pictureUpload #pictureSubmitTable #id_gallery{
  width: 250px;
}

#pictureUpload #pictureSubmitForm{
  position: relative;
  float: left;
  width: 450px;
}

#pictureUpload #messages {
  width: 475px;
  float: right;
}
#pictureUpload #messages #progressMessage{
  color: #007700; 
}

#pictureUpload #messages #progressMessage a{
  color: #003300; 
}

#pictureUpload #messages #errorMessages{
  color: #990000; 
}

#pictureUpload #thumbnails {
  margin: 20px;
  float:left;
  position:relative;
  width:910px;
}

.pictureUploadEdit {
  float: left;
  width: 210px;
  height: 400px;
  margin: 5px;
}

.textForm,
.textUpload{
  width: 200px;
  height: 140px;
}	

.deleteImage {
  float: right;
}

.uploadImage{
  width: 200px;
  height: 200px;
}	

#thumbnails {
  height: auto;
}

/* frontpage */

#frontpage .pictureBox{
  position: relative;
  width: 950px;
  margin-left: 0px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#frontpage .slideshow{
  width: 950px;
}

/* about */
 

/* "new user"-page */

#newUserForm {
  margin-top: 10px;
}

#newUserTable{
  text-align: left;
}

/* gallery overview */

#galleryOverviewBox .galleryLink {
  font-size: 12px;
  text-transform: uppercase;
  line-height: 16px;
  font-weight: bold;
  color: #666;
}

#galleryOverviewBox {
  margin: 15px;
  width: 620px;
  overflow: hidden;
}

/* gallery */

#gallery {
  width: 950px;
  overflow: hidden;
}

#gallery .largePictureBox {
  background-color: #444;
  position: relative;
  float: left;
  width: 950px;
  height: 100%;
}

#gallery .largePicture {
  position: relative;
  float: left;
  width: 600px;
  height: 100%;
}

#gallery .textReplaceBox a{
  color: #fff;
}

#gallery .textReplaceBox .pictureDownloadLink {
  margin-top: 20px;
}

#gallery .pictureTextBox {
  position: relative;
  float: left;
  width: 330px;
  height: 100%;
  padding-left: 10px;
  padding-right: 10px;
  text-align: right;
}

#gallery .pictureTextBox h1 {
  color: #fff;
  font-size: 24px;
}

#gallery .pictureText {
  bottom: 0;
  padding-top: 10px;
  color: #fff;
  font-size: 12px;
  font-family: verdana, arial, helvetica, sans-serif;
  height: 100%;
}

/* gallery */

#gallery .galleryBox {
  margin-top: 5px;
  float: right;
  width: 950px;
  position: relative; 
}

#gallery .galleryBox .pictureText{
 text-align: left;
}

#editPictureInGallery {
  width: 220px;
  margin-top: 20px;
  margin-left: 10px;
}	

#gallery .galleryBox .arrow {
  cursor: pointer;
}

#gallery .galleryBox .galleryPicture {
  width: 75px;
  cursor: pointer;
  padding: 1px;
  opacity: 0.5;
}

#thumbs div { 
  float:left; 
  cursor:pointer; 
} 
 
#thumbs div.hover { 
} 
 
#thumbs div.active { 
}

div.scrollable {  
  position:relative;
  overflow:hidden;
  width: 848px;	 
  height:80px;
  float:left;
}

#thumbs {	
  position:absolute;
  width:20000em;	
  clear:both;
  border:0px solid #222;
}

a.prevPage, a.nextPage {
  margin-top:10px;	
}

a.prev, a.next, a.prevPage, a.nextPage {
  display:block;
  width:27px;
  height:37px;
  float:left;
  margin:20px 10px;
  cursor:pointer;
}

a.prev, a.prevPage{
  background-image:url(images/up-arrow.gif);
}

a.next, a.nextPage {
  background-image:url(images/down-arrow.gif);
  clear:right;	
}

#gallery .disabled{
  opacity: 0.2 
}

