﻿.simplegallery{margin-top: 15px;}
.simplegallery .fill{padding: 0px; margin: 0px}
.simplegallery .iframe{}
.simplegallery iframe{width: 500px; height: 535px; margin: 0px;}
.thumb img{display: block; margin: auto; float: none; clear: both}
.thumb span{display: block; padding: 3px}
.thumb{display: block; width: 68px; height: 68px; text-align: center; margin: 10px 10px 0px 0px; float: left; border: 1px solid rgb(27,90,199); background: rgb(240,240,240)}
.thumb:hover{background: rgb(204,204,204); border: 1px solid rgb(0,0,0)}
.thumbs{width: 500px; clear: both;}

.ximg_gallery{padding-bottom: 3em}
.main_img{clear: both; padding: 1em 0em}
.main_img img{display: block; widh: 498px; height: 501px; border: 1px solid rgb(95,146,0);}
.main_img a:hover img{border: 1px solid rgb(204,0,0)}
.gallery_pages{clear: both; margin-top: 1em; width: 480px}
.gallery_page a{margin: 0px 5px 0px 0px; width: 19px; height: 25px; display: block; float: left; background: url("/img/gallery/gallery_page.png") left top no-repeat; text-align: center}
.gallery_page a:hover, #open_gallery_page a{color: rgb(0,0,0); background: rgb(204,0,0) url("/img/gallery/gallery_page.png") right top no-repeat;}
#open_gallery_page a{text-decoration: none}
.gallery_page span{display: block; margin: 2px auto 0px}
.imgs_on_page{dispaly: block; clear: both; padding-top: 1em; width: 500px}
.imgs_on_page a{display: block; border: 1px solid rgb(95,146,0); margin: 0px 5px 0px 0px; width: 40px; height: 30px; float: left}
.imgs_on_page a:hover{border: 1px solid rgb(204,0,0)}
.imgs_on_page #actual_img a{border: 3px solid rgb(204,0,0)}
.nextprev{text-align: center; width: 500px; clear: both; padding: 0em}
.nextprev .fill{margin: 0em auto; width: 96px; clear: both}
.nextprev .prev a{width: 18px; height: 22px; background: rgb(95,146,0) url("/img/gallery/previous.png") left top no-repeat; display: block; float: left; clear: left}
.nextprev .prev a:hover{background: rgb(204,0,0) url("/img/gallery/previous.png") right top no-repeat;}
.nextprev .prev a.na{background: rgb(204,204,204) url("/img/gallery/no-previous.png") no-repeat;}
.nextprev .next a{width: 18px; height: 22px; background: rgb(95,146,0) url("/img/gallery/next.png") left top no-repeat; display: block; float: right; clear: right}
.nextprev .next a:hover{background: rgb(204,0,0) url("/img/gallery/next.png") right top no-repeat;}
.nextprev .next a.na{background: rgb(204,204,204) url("/img/gallery/no-next.png") no-repeat;}
.nextprev .prev a span, .nextprev .next a span{display: none}
.nextprev .posinfo{display: block; width: 60px; float: left;}
.img_description{margin-top: 1em; width: 500px; clear: both; background: rgb(255,255,255) url("/img/gallery/img_description.png") repeat-x}
.img_description .fill{padding: 0em 0.5em 1em}
.img_description h3{margin: 0.5em 0em 0em; color: rgb(0,0,0); font-size: small; _font-size: x-small}
.img_description .author{padding: 0em 0.5em 1em; text-align: right}
.img_description .impl_date{color: rgb(51,51,51)}
