#gallery_main { /* box around the complete output */
margin: auto;
width: 650px;
}

#gallery_main_inner {
width: 100%;
margin: 0;
padding: 0;
text-align: center;
}

#gallery_main a {
border: 0px none;
}

.gallery_heading { 
/* The "Header" of the fotky.
Styles the "XX Pics in fotky" line, 
and the "YY Pictures found by search" message */
font-weight: bold;
color: #000000;
text-align: center;
margin-top: 10px;
margin-bottom: 10px;
}

.gallery_navigation { 
/* Styles the "priv / next / return" navigation */
font-weight: bold;
color: #930;
text-align: center;
margin-top: 10px;
margin-bottom: 10px;
}

.lbg_nav {
border: 0;
margin: 0 0 -4px 0;
}

.lbg_nav_anchor {
}

/* priv- / next-page links */
.gallery_navigation a:link    { text-decoration: none; }
.gallery_navigation a:active  { text-decoration: none; }
.gallery_navigation a:visited { text-decoration: none; }
.gallery_navigation a:hover   { text-decoration: 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 { /*the 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 {
background: #d6dcdc;
font-size: 87%;
border: 1px solid #d6dcdc;
padding: 5px 10px 3px 10px;
text-align: left;
}

.gallery_comment_name {
font-weight: bold;
}

.gallery_comment_time {
font-weight: normal;
}

.gallery_comment_text {
background: #f6f9f9;
font-weight: normal;
line-height: normal;
border: 1px solid #d6dcdc;
padding: 10px 10px 12px 10px;
margin: 0 0 3px 0;
}

.gallery_addcomment hr { /* the line between the comments */
background-color: #c1c1c1; /* 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 */
}

.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 thumbnail-area */
width: 650px;
margin: auto;
text-align: center;
}

#gallery_thumbs_inner {
/* contains the thumbs */
width: 100%;
border: 0;
margin: 0 auto;
display: block;
}

/* 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  */
/* If you not use thumbs with width=height (thumb_crop=false) you must set    */
/* here a propper width and height - depending on your thumbnail size and the */
/* enabled fields (title & comments) - to fit the thumbs together in the      */
/* output                                                                     */
.thumbnailitem {
float: left;
width:325px;
text-align: center;
padding: 0;
margin: 0;
}

.thumbnailitem_inner {
height: 250px;
line-height: 1.2em;
font-weight: normal;
text-align: center;
margin: 1px;
padding: 4px 2px 0 0;
vertical-align: middle;
border: 0px solid #ccc;
/*background: #e6e6e6;*/
}

.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;
padding: 2px 6px;
margin-right: 5px;
}

.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: 30px;   
}

.gallery_adv_popup_title {
text-align: center; 
}

.gallery_copy {
margin-top: 20px;
text-align: center;
}

.gallery_copy a{
font: 9px  Arial, Verdana, Geneva, Helvetica, sans-serif;
font-style: italic;
color: #c1c1c1;
text-decoration: none;
}
