#espg h2 {
  /*-moz-border-radius:20px 20px 0 0;*/
  margin: 0;
  padding: 2px 0 2px 10px;
  background: #DFDFDF;
  color: #CF1122;
}
#espg{
  height:650px;
  width:680px;
  margin:0 25px; 
}
#espg #prevnext{
  margin-top:10px;
}
#espg #prev, #espg #next {
  display:block;
  padding:5px;
  border:1px solid #bbb;
  /*-moz-border-radius:5px;*/
  background:#ddd;
  text-decoration:none;
  margin:0 10px 10px;
  font-size:0.8em;
}
html body #espg div #prev:hover, html body #espg #next:hover,html body #espg div #prev:focus, html body #espg #next:focus {
  border-color:#888;
  background:#ccc;
  color:#000;
}
#espg #prev {
  float:left;
}
#espg #next {
  float:right;
}
#espg #image {
  float: center;
  text-align: center;
  background: #ddd url(imagefade/loading.gif) 50% 50% no-repeat;
  margin: 0 auto;
/*  margin-bottom:5px;*/
}
#espg .imgwrapper {
  float: left;
  margin: 0 15px 15px 15px;
  padding: 2px;
}
#espg .imgwrapper span {
  display:block;
  font:0.8em verdana, sans-serif;
  text-align:center;
}
#espg .imgwrapper img {
  background-color: #fff;
  border: 1px solid #ddd;
  /*-moz-border-radius:5px;*/
  padding: 4px;
}
#espg .imgwrapper a:visited img {
  background-color:#fff;
}
#espg .imgwrapper a:hover img, #espg .imgwrapper a:focus img {
  background-color: #CF1122;
}
#espg .imgwrapper a:hover, #espg .imgwrapper a:focus {
  color:#000;
}
#espg #single {
  padding:3px;
  border:1px solid #aaa;
  /*-moz-border-radius:5px;*/
  background:#ddd;
}
#espg #description {
  border:1px solid #ddd;
  text-align:center;
  clear:both;
  margin:5px 40px;
  padding:5px;
  color:#303;
  background:#D1ECE8;
}
#espg #thedate {
  text-align:right;
  clear:both;
  margin:10px;
  color:#303;
  font-style:italic;
}
#espg #credit {
  color: #143E10;
  font-size: 0.7em;
  text-align: right;
  margin: 0;
  padding: 3px 0;
  clear: both;
}
#espg #credit a {
  color:#000;
}
#espg #credit a:hover, #espg #credit a:active, #espg #credit a:focus {
  color:#000;
  text-decoration:none;
}
/*#espg #directories {
  border-bottom:1px solid #ddd;
  margin:0;
}*/
#espg #breadcrumb {
  margin:5px 0;
  padding:5px;
  border-bottom:1px solid #000000;
  background: #E7DFD7;
  color: #000;
}
#espg #breadcrumb a {
  color:#000;
  text-decoration:underline;
}
#espg #breadcrumb a:hover, #espg #breadcrumb a:active, #espg #breadcrumb a:focus{
  color:#000;
  text-decoration:none;
}
#espg #dirdesc {
  margin:20px 0;
  border-bottom:1px dashed #ddd;
  background:transparent;
  text-align:justify;
  font-size:1.1em;
}
#espg #gallery {
  padding:10px 5px;
  width:100%;
  text-align:center;
}
/* Standard category listing*/
#espg #directories ul.cat {
  margin:0;
  list-style:circle;
  padding-bottom:5px;
  font-size:1.1em;
}
#espg ul.cat li {
  margin:2px 0;
}
/* categories with thumbs */
#espg div.catthumbs {
  margin:5px;
  padding:5px;
}
#espg div.catthumbs div {
  margin:10px;
  padding:2px;
  text-align:center;
  float:left;
  width:200px;
}
#espg div.catthumbs img.tnexample{
  margin:5px;
  margin:0 auto;
  display:block;
  border:0;
}
#espg div.catthumbs a{
  display:block;
}
#espg #directories h3 {
  margin:0;
  font-weight:bold;
  text-indent:15px;
}
#espg #directories h4 {
  font-weight:bold;
  text-indent:20px;
  margin:0;
}
#espg div.pagination{
  clear:both;
  text-align:center;
}
/* footer */
#espg #footer {
  font-family: arial,helvetica,sans-serif;
  margin:0 15px;
  clear: both;
  padding:0;
  font-size: 70%;
  color:#303;
}
#espg #footer a:hover, #espg #footer a:focus  {
  text-decoration:none;
  color:#969696;
}
#espg #design {
  float:right;
  text-align:right;
  margin:0;
}
#espg #copyright {
  padding:0 0 0.2em;
  margin:0;
}
/*editor*/
#espg div#admin {
  background:#c00;
  color:#fff;
  /*-moz-border-radius:0 0 20px 20px;*/
  font-size:1.2em;
  font-weight:bold;
  letter-spacing:0.2em;
  text-align:center;
  margin:0;
  padding:5px 0;
  clear:both;
}
#espg div#editor {
   font: .85em/1 Verdana, Arial, sans-serif;
   border-top: 1px gray solid;
   padding: 10px 20px;
   margin: 10px 0;
   clear:both;
}
#espg div#editor h2 {
   font-size: 1.2em;
   text-align: center;
   margin: 0 0 8px;
}
#espg div#editor p.valid {
   background: pink;
   color: black;
   font-size:1.2em;
   float: left;
   padding: 5px;
   margin: 5px 0;
}
#espg div#editor p.invalid {
   background: #c00;
   font-size:1.2em;
   border:1px solid #000;
   color: #fff;
   float: left;
   padding: 5px;
   margin: 5px 0;
}
#espg div#editor fieldset {
   background: #f6f6f6;
   clear: both;
}
#espg div#editor p {
   margin: 5px 0;
}
#espg div#editor input[type="text"], #espg div#editor textarea,#espg div#editor input[type="password"] {
   border: solid 1px green;
   margin: 2px 1px 1px;
}
#espg div#editor input[type="text"]:focus, #espg div#editor textarea:focus,#espg div#editor input[type="password"]:focus {
   border: solid 2px darkgreen;
   margin: 1px 0 0;
}
#espg div#editor input#userfile{
   margin: 2px 1px 1px;
}
/* login specific */
#espg p.warn{
  background: #c00;
  font-size:1em;
  border:1px solid #000;
  color: #fff;
  float: left;
  padding: 5px;
  margin: 5px 0;
}
#espg div#login fieldset {
   background: #f6f6f6;
   clear: both;
}
#espg div#login input[type="text"], #espg div#login input[type="password"] {
   border: solid 1px green;
   margin: 2px 1px 1px;
}
#espg div#login input[type="text"]:focus, #espg div#login input[type="password"]:focus {
   border: solid 2px darkgreen;
   margin: 1px 0 0;
}
#espg div#login label{
  width:8em;
  float:left;
  text-align:right;
  padding-right:5px;
}
#espg div#login .button{
  margin: 0.5em 0 0 9em;
}
#espg div.clearer {
  clear: both;
}
#espg img.precache {
  position: absolute;
  top: 0;
  left: 0;
  float: left;
  visibility: hidden;
}
/* comment system */
#espg div#comments{
  margin:0.5em 15%;
  font-size:0.9em;
}
#espg div#comments div.comment-odd{
  margin:3px 0;
  border:1px solid #969696;
  background:#f9f9f9;
}
#espg div#comments div.comment-even{
  margin:3px 0;
  border:1px solid #969696;
  background:#fff;
}
#espg p.cname{
  font-weight:bold;
  margin:3px;
}
#espg p.ccomment{
  margin:0 10px;
}
#espg p.time{
  font-style:italic;
  margin:0;
  padding:4px 1em 4px 0;
  text-align:right;
}
#espg p.no-comment{
  font-weight:bold;
  text-align:center;
}
#espg p.comment-error{
  color:#900;
}
#espg div.comment-form-holder{
  width:50%;
  margin:0.5em 0;
}
#espg form.comment-form{
  width:100%;
}
#espg form.comment-form fieldset{
  border:1px solid #f9f9f9;
}
#espg form.comment-form legend{
  letter-spacing:0.1em;
  color:#003;
}
#espg form.comment-form label{
  width:12em;
  float:left;
}
 div.pagedcomments{
  text-align:center;
 }
#espg p.comment-attrib{
  text-align:right;
  font-size:80%;
  padding-right:1em;
}
#espg .center{
  text-align:center;
}

