#espg a:link {
        color: #577058;
        text-decoration:underline;
}
#espg a:visited {
        color: #333;
}
#espg a:hover, #espg a:active, #espg a:focus {
        text-decoration:none;
}
#espg h2 
{
font-family: Tahoma, Arial, Verdana, Helvetica, sans-serif;
font-size: 8pt;
color: #000000;
}
#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 {
        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-family: Tahoma, Arial, Verdana, Helvetica, sans-serif;
font-size: 8pt;
color: #0080C0;
        text-align:center;        
}
#espg .imgwrapper img {
        background-color: #fff;

}
#espg .imgwrapper a:visited img {
        background-color:#fff;        
}
#espg .imgwrapper a:hover img, #espg .imgwrapper a:focus img {
        background-color: #ffffff;
}
#espg .imgwrapper a:hover, #espg .imgwrapper a:focus {
        color: #ffffff;
}
#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 {
        background: #FCBD4E;
        color:#143E10;
        border-top:4px solid #bbb;
        /*-moz-border-radius:0 0 20px 20px;*/
        font-size:0.8em;
        text-align:center;
        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 {
font-family: Tahoma, Arial, Verdana, Helvetica, sans-serif;
font-size: 8pt;
color: #000000;
        padding:5px;
        margin:0;
}
#espg #breadcrumb a {
font-family: Tahoma, Arial, Verdana, Helvetica, sans-serif;
font-size: 8pt;
color: #0080C0;
        text-decoration:underline;
}
#espg #breadcrumb a:hover, #espg #breadcrumb a:active, #espg #breadcrumb a:focus{
        color:#000;
        text-decoration:none;
}
#espg #dirdesc {
        padding:4px;
        border-bottom:1px dashed #ddd;        
        background:transparent;
        margin:0 0 10px 0;
}
#espg #gallery {
        padding:10px 5px;
}
/* Standard category listing*/
#espg #directories ul.cat {
list-style-image: url(../images/galeria-znak.png);
line-height: 40px;
list-style-position: inside;
vertical-align: middle;
        padding-bottom:0px;
}
#espg ul.cat li {
        margin: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 {
        font-family: Tahoma, Arial, Verdana, Helvetica, sans-serif;
font-size: 8pt;
color: #004000;
        text-indent:15px;
        margin:0;
}
#espg #directories h4 {
        font:0.9em georgia, garamond, times, serif;
        font-weight:bold;
        text-indent:20px;
        margin:0;
}
#espg div.pagination{
        clear:both;
        text-align:center;
}

#espg #header {
        background:#fff;
        color:#969696;
}
#espg #header h1 {
        background:transparent;
        color:#4E684A;
}
#espg #header {
        margin:0;
        padding: 0;
        height: 164px;
}
#espg #header h1 {
        position:relative;
        top:94px;
        left:-15px;
        font-size:1.3em;
        font-weight:normal;
        font-family:verdana,tahoma,helvetica,sans-serif;
        margin:0 0 0 200px;
}

/*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;
}
