.gallery .img
{
    height:120px;
    float:left;
    text-align:center;
    margin:10px;
}

.gallery .img a
{
    display:inline-block;
    border:2px solid #ddd;
    padding:1px;
}

.gallery .img a:hover
{
    border-color:#999;
}

.gallery img
{
    border:none;
}

.gallery .pagenavigation
{
    height:50px;
}

.gallery .prevpage a,.gallery .prevpage em
{
    display:block;
    width:50px;
    height:39px;
    float:left;
    text-indent:-1000px;
    background:url(../../images/previous.png) transparent no-repeat 0 0;
    margin:0;
}

.gallery .nextpage a,.gallery .nextpage em
{
    display:block;
    width:50px;
    height:39px;
    float:left;
    text-indent:-1000px;
    background:url(../../images/next.png) transparent no-repeat 0 0;
    margin:0 6px 0 0;
}

.gallery .parentlink a
{
    display:block;
    width:50px;
    height:39px;
    float:left;
    text-indent:-1000px;
    background:url(../../images/uppage.png) transparent no-repeat 0 0;
}

.gallery .pagenavigation a:hover
{
    background-position:0 -40px;
}

.gallery .prevpage em,.gallery .nextpage em
{
    background-position:0 -80px;
}

.gallery .pagelinks
{
    float:right;
    border-right:2px solid #666;
}

.gallery .pagelinks a,.gallery .pagelinks em
{
    margin-top:6px;
    border-left:2px solid #666;
    text-align:center;
    font:bold 11px verdana;
    color:#666;
    padding:0 6px;
}

.gallery .pagelinks em
{
    color:#000;
}

.galleryclear
{
    clear:both;
}

.ae-gallery,.ae-gallery *
{
    margin:0px;
    padding:0px;
}

.ae-gallery
{
    width:500px;
    margin:20px auto 0;
}

.ae-gallery .ae-image-wrapper
{
    width:530px;
    height:400px;
    margin-bottom:10px;
    margin-left:-15px;
    position:relative;
    overflow:hidden;
    border:0 solid #ddd;
}

.ae-gallery .ae-image-wrapper .ae-loader
{
    position:absolute;
    z-index:10;
    top:48%;
    left:48%;
    border:1px solid #CCC;
}

.ae-gallery .ae-image-wrapper .ae-next
{
    position:absolute;
    right:0;
    top:0;
    width:25%;
    height:100%;
    cursor:pointer;
    display:block;
    z-index:1000;
}

.ae-gallery .ae-image-wrapper .ae-prev
{
    position:absolute;
    left:0;
    top:0;
    width:25%;
    height:100%;
    cursor:pointer;
    display:block;
    z-index:1000;
}

.ae-gallery .ae-image-wrapper .ae-prev,.ae-gallery .ae-image-wrapper .ae-next
{
    background:url(non-existing.jpg)\9;
}

.ae-gallery .ae-image-wrapper .ae-prev .ae-prev-image,.ae-gallery .ae-image-wrapper .ae-next .ae-next-image
{
    background:url(../ae-gallery/rodykle-atgal.png);
    width:31px;
    height:31px;
    display:none;
    position:absolute;
    top:47%;
    left:0;
    z-index:101;
}

.ae-gallery .ae-image-wrapper .ae-next .ae-next-image
{
    background:url(../ae-gallery/rodykle-pirmyn.png);
    width:31px;
    height:31px;
    right:0;
    position:absolute;
    left:auto;
}

.ae-gallery .ae-image-wrapper .ae-image
{
    position:absolute;
    top:0;
    left:0;
    z-index:9;
}

.ae-gallery .ae-image-wrapper .ae-image .ae-image-description
{
    position:absolute;
    bottom:0;
    left:0;
    text-align:left;
    width:486px;
    z-index:2;
    background:url(../ae-gallery/opa75.png);
    color:#000;
    padding:7px;
}

* html .ae-gallery .ae-image-wrapper .ae-image .ae-image-description
{
    background:none;
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingMethod=scale,src='../ae-gallery/opa75.png');
}

.ae-gallery .ae-controls
{
    height:20px;
}

.ae-gallery .ae-info
{
    text-align:center;
}

.ae-gallery .ae-slideshow-controls
{
    float:right;
}

.ae-gallery .ae-slideshow-controls .ae-slideshow-start,.ae-gallery .ae-slideshow-controls .ae-slideshow-stop
{
    padding-left:5px;
    cursor:pointer;
    display:inline-block;
    text-indent:-500px;
    overflow:hidden;
    width:14px;
    background:url(../ae-gallery/ae_scroll_forward.png) 0 -3px no-repeat;
}

.ae-gallery .ae-slideshow-controls .ae-slideshow-stop
{
    background:url(../ae-gallery/ae_stop.png) 0 -3px no-repeat;
}

.ae-gallery .ae-slideshow-controls .ae-slideshow-countdown
{
    padding-left:5px;
    font-size:.9em;
}

.ae-gallery .ae-slideshow-running .ae-slideshow-start
{
    cursor:default;
    font-style:italic;
}

.ae-gallery .ae-nav
{
    width:100%;
    position:relative;
}

.ae-gallery .ae-forward,.ae-gallery .ae-back
{
    position:absolute;
    top:0;
    height:100px;
    z-index:10;
}

* html .ae-gallery .ae-forward,.ae-gallery .ae-back
{
    height:100px;
}

.ae-gallery .ae-back
{
    cursor:pointer;
    left:-15px;
    top:-19px;
    width:30px;
    display:block;
    background:url(../ae-gallery/gallery-left.png) 0 22px no-repeat;
}

.ae-gallery .ae-forward
{
    cursor:pointer;
    display:block;
    right:-17px;
    top:-19px;
    width:30px;
    background:url(../ae-gallery/gallery-right.png) 0 22px no-repeat;
}

.ae-gallery .ae-nav .ae-thumbs
{
    overflow:hidden;
    width:100%;
    padding:3px 1px;
}

.ae-gallery .ae-thumbs li
{
    float:left;
    list-style:none;
    margin:0;
    padding:0 5px 0 0;
}

.ae-gallery .ae-thumbs li a img
{
    border:3px solid #CCC;
    display:block;
}

.ae-gallery .ae-thumbs li a.ae-active img
{
    border:3px solid #616161;
}

.ae-preloads
{
    position:absolute;
    left:-90000px;
    top:-90000px;
}

.ae-gallery .ae-image-wrapper .ae-image .ae-image-description .ae-description-title,.ae-gallery .ae-thumbs li a
{
    display:block;
}
