#gallery_main { /* box around the complete output */
   width: 100%;
   margin: auto;
   }

#gallery_main_inner {
   width: 100%;
   margin: 0;
   padding: 0;
   text-align: center;
   }

.gallery_heading { 
/* The "Header" of the gallery.
      Styles the "XX Pics in Gallery" line, 
      and the "YY Pictures found by search" message */
   font-weight: bold;
   color: #000000;
   text-align: center;
   margin-top: 15px;
   }
   
.gallery_navigation { 
   /* Styles the "priv / next / return" navigation */
   font-weight: bold;
   color: #cfcfcf;
   text-align: center;
   margin-top: 10px;
   margin-bottom: 10px;
   }
   
/* priv- / next-page links */
.gallery_navigation a:link    { border: none; }
.gallery_navigation a:active  { border: none; }
.gallery_navigation a:visited { border: none; }
.gallery_navigation a:hover   { border: none; }
   
.gallery_title { /* The title of the picture in the "Details-View" */
   font-size: 1.33em;
   font-weight: bold;
   margin-bottom: 10px;
   text-align: center;
}

.gallery_pic { /* The container for the Picture in the "Detail-Page" */
   text-align:center;
   vertical-align: middle;
   }
 
.addcommentform { /* Styles the Addcomment-Form */
   text-align: left;
   width: 300px;
   /* height: 200px; */
   margin: 0 0 0 20px;
   float:left; 
   }
 
.gallery_html { /* the box with the content of the external html-file */
   /* width: 400px; */
   margin: auto;
   padding: 5px;
   /* border: 1px solid #c1c1c1; */
   }

.gallery_html_inner {
   text-align: left;
   }
   
.gallery_html p {
   margin-top: 0;
   padding-top: 0;
   }
   
.gallery_extrainfo { /*teh box with the extrainfo-fields */
   /* width: 400px; */
   margin: auto;
   padding: 5px;
   /* border: 1px solid #c1c1c1; */
   }
   
.gallery_extrainfo_inner {
   text-align: left;
   }
   
.gallery_extrainfo_name { /* field-name */
   font-weight: bold;
   }

.gallery_extrainfo_text { /* field content */
   font-style: normal;
   }
   
.gallery_addcomment { /* box with the comments at the details-page */
   /* width: 400px; */
   margin: auto;
   padding: 5px;
   /* border: 1px solid #c1c1c1; */
   }

.gallery_addcomment_inner {
   text-align: left;
   }

.gallery_comment_heading {
   text-align: left;
   }

.gallery_comment_name {
   font-weight: bold;
   }
   
.gallery_comment_time {
   font-weight: normal;
   }
   
.gallery_comment_text {
   font-weight: normal;
   line-height: normal;
   margin-top: 3px;
   }

.gallery_addcomment hr { /* the line between the comments */
   background-color: #CFCFCF; /* Mozilla 1.4 */
   color: #c1c1c1; /* IE 6 */
   border: #c1c1c1; /* Opera 7.11 */
   height: 1px; /* in Opera für die Anzeige nötig, in Mozilla für die einheitliche Höhe */
   }

/* UNUSED!!!   
.gallery_comment {
   text-align : left;
   vertical-align: middle;
   }
*/
   
.gallery_comment_form { /* comment - textareas and input */
   font: 11px Verdana, Geneva, Arial, Helvetica, sans-serif;
   background-color: #f8f8f8;
   color: #102132;
   border: 1px solid #c1c1c1;
   margin-right: 0px;
   }
   
a.gallery_comment_form {
   padding: 1px;
   text-decoration: none;
   border: 1px solid #c1c1c1;
   }

.gallery_comment_error {
   color: red;
   }

#gallery_thumbs { /* the box around the thumbnails */
   width: 100%;
   margin: auto;
   }

#gallery_thumbs_inner {
   /* contains the thumbs */
   width: 100%;
   border-width: 0px;
   margin-top: 0px;
   margin-right: 0px;
   margin-bottom: 0px;
   margin-left: 0px;
   text-align: center;
   }
   
/* container for a single thumbnail with title and "xxx comments" message    */
/* Play with margin left/right and/or padding to fit or "center" your thumbs */
.thumbnailitem {
   line-height: 130%;
   font-weight: normal;
   text-align: center;
   margin-left: 2px; /* 0px to fit the thumbs together */
   margin-right: 0px;
   margin-bottom: 0px;
   padding: 5px 5px 5px 5px; /* padding between the thumbs */
   vertical-align: middle;
   float: left;
width: 140px;
height: 140px;
   }

.thumbnailitem img {
  margin-top: 2px;
  margin-bottom: 2px; /* when use comments=true and shadow.js */
  }
  
.thumbnailtitle {     /* the title on thumbnail page */
  font-size: 0.75em;
  }
  
.thumbnail_comments { /* number of comments message on thumbnail page */
   font-size: 0.75em;
   }
   
.picture {            /* Styles the picture in the "Details-View" */
   margin: 0px 0px 0px 0px;
   border: 1px solid #CFCFCF;
   }

a.thumb {
   border: none;
   }

/* thumbnail-picture links */
a.thumb:link img    { border: 1px solid #CFCFCF; }
a.thumb:active img  { border: 1px solid #CFCFCF; }
a.thumb:visited img { border: 1px solid #CFCFCF; }
a.thumb:hover img   { border: 1px solid #FF0000; }
.general_text {       /* styles the general text field on details page */
   font-weight: bold;
   text-align: center;
   }

.gallery_input{font: 11px Verdana, Geneva, Arial, Helvetica, sans-serif;background-color: #f8f8f8;color: #102132;border: 1px solid #c1c1c1;margin-right: 0px;}
.gallery_submit{font: 11px Verdana, Geneva, Arial, Helvetica, sans-serif;background-color: #f8f8f8;color: #102132;border: 1px solid #c1c1c1;margin-right: 0px;}
.admin_table {background-color: #e7e7e7;}
.admin_table_title{ border-top: 1px #FFFFFF solid;border-bottom: 1px #C1C1C1 solid; border-left: 1px #C1C1C1 solid; border-right: 1px #FFFFFF solid;border-bottom: 1px #C1C1C1 solid; border-left: 1px #C1C1C1 solid; border-right: 1px #FFFFFF solid; }
.admin_table_row{ border-bottom: 1px #E7E7E7 solid;border-bottom: 1px #C1C1C1 solid;}
.admin_input {width: 350px; font: 11px Verdana, Geneva, Arial, Helvetica, sans-serif;background-color: #f8f8f8;color: #102132;border: 1px solid #c1c1c1;margin-right: 0px;}
.admin_textarea {height: 150px; width: 350px; font: 11px Verdana, Geneva, Arial, Helvetica, sans-serif;background-color: #f8f8f8;color: #102132;border: 1px solid #c1c1c1;margin-right: 0px;}
.admin_textarea_full {height: 100px; width: 100%; font: 11px Verdana, Geneva, Arial, Helvetica, sans-serif;background-color: #f8f8f8;color: #102132;border: 1px solid #c1c1c1;margin-right: 0px;}
   
.search_nothing {      /* Styles "Search found nothing" message */
   font-size: larger;
   font-weight: bold;
   text-align: center;
   color: #F00000;
   }
   
.gallery_search {      /* Styles the search form */
   text-align: center;
   }
.gallery_clearfix {
   clear: both;
   }
   
/* Styles of the advanced PopUp */
#gallery_adv_popup_outer {
   width:  100%;
   height: 100%;
   }
#gallery_adv_popup_inner {
   width:  100%;
   height: 100%;
   }
.gallery_adv_popup_img {
   margin-bottom: 50px;   
   }
   
.gallery_adv_popup_title {
   text-align: center;
 font: 13px Verdana, Geneva, Arial, Helvetica, sans-serif;
   color: #A5A5A5;
   }