div.x-pagenav {
  text-align: center;
  clear: both;
  margin-bottom: 10px;
}

.x-gallery-pagenav {
  text-align: right;
  margin-right: 25px;
}


div.x-gallery {
  clear: both;
  background-color: #EEE;
  padding-bottom: 10px;
  min-height: 190px;
  margin-right: 20px;
  margin-bottom: 15px;
  border-bottom: 1px solid #999;
}

img.x-teaser {
  border: 1px solid #000;
  margin: 0 15px 10px 15px;
  float: left;
}
* html img.x-teaser {
  float: none;
}


.x-date {
  display: block;
  font-size: .6em;
  color: #666;
  margin-bottom: 4px;
  margin-top: 2px;
}

.x-title {
  display: block;
  background: #111;  
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: .8em;
  text-transform: uppercase;
  font-weight: bold;
  padding: 4px;
  margin: 10px 0 12px 0;
}

.x-title a {
  color: #EEF;
}

.x-search {
  text-align: center;
  border: 1px solid #999;
  padding: 5px;
  padding-top: 15px;
  margin: 20px;
  width: 25em;
  float: right;
}

.x-hibitionists {
  border: 1px solid #999;
  padding: 5px;
  padding-bottom: 0;
  margin-top: 20px;
  float: left;
}

.x-bottom {
  clear: both;
  margin: 0;
  padding: 0;
}


.x-gallery-text {
  text-align: left;
  font-size: 1.2em;
/*  border: 1px solid #999;*/
  padding: 5px;
  margin-right: 20px;
  margin-bottom: 10px;
}

.x-gallery-title {
  font-style: normal;
  font-family: verdana, arial, helvetica, sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  background: #111;
  color: #EEF;
  margin-right: 20px;
  padding: 5px;
  margin-top: 10px;
}

table#x-gallery-table {
  padding-right: 20px;
  width: 100%;
}

table#x-gallery-table td {
  border: 2px solid #999;
}

table#x-gallery-table img {
  border: 1px solid black;
}


div#x-photo-container {
  position: relative;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 25px;
  width: 640px;
  text-align: center;
}

div#x-photo-container img {
  border: 1px solid black;
}

.x-photo-title {
  font-style: normal;
  font-family: verdana, arial, helvetica, sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  background: #111;
  color: #EEF;
  padding: 5px;
  margin-bottom: 20px;
}

div.x-photo-caption {
  text-align: center;
  margin-top: 15px;
}

div.adsense {
  text-align: center;
  margin: 25px;
}
