.ui-front{
    z-index: 1000;
}
.ui-widget-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.ui-widget-overlay {
    background: #666666 50% 50% repeat;
    opacity: .5;
    filter: Alpha(Opacity=50);
}
.ui-dialog{
    background-color: #fff;
    padding: 10px 10px 17px 10px;
    font-family: arial, sans-serif;
}
.ui-dialog-titlebar {
    position: absolute;
    right: 9px;
}
.ui-button{
    background-color: transparent;
    border: none;
}
.ui-button-text{
    display: none;
}
.ui-button-icon-primary{
    background-image: url(pinger/close.png);
    width: 17px;
    height: 19px;
    display: block;
}
/** ------------ modal galerii ------------------ **/
.modal-overlay{
    background:#000;
    display: none;
    height:100%;
    opacity:.6;
    filter:alpha(opacity=60);
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    height: auto;
    width:100%;
    z-index:1000;
}
.modal{
    display: none;
}
.modal .author-avatar {
    text-decoration: none;
    display: inline-block;
    margin-right: 4px;
}
.modal .author-box {
    display: inline-block;
    position: relative;
    top: -2px;
}
.modal .author-avatar img{
    width: 30px;
    height: 30px;
    border: none;
}
.modal .modal-content{
    margin: 7px auto 0 auto;
    text-align: center;
}

.modal .image-description{
    color: #181818;
    font-size: 13px;
    margin-left: 12px;
    display: inline-block;
    margin-right: 25px;
}
.modal .go-to-blog{
    background-image: url(pinger/go-to-blog.png);
    width: 125px;
    height: 27px;
    display: inline-block;
}
.modal .go-to-blog span{
    visibility: hidden;
}
.modal .nav{
    width: 39px;
    height: 80px;
    display: inline-block;
    position: absolute;
    top: 30%;
    cursor: pointer;
}
.modal .prev{
    background-image: url(pinger/prev.png);
    left: 9px;
}
.modal .next{
    background-image: url(pinger/next.png);
    right: 9px;
}
.modal .prev.hidden {
    display: none;
}
.modal .next.hidden {
    display: none;
}

.modal .zoom{
    width: 65px;
    height: 65px;
    display: inline-block;
    position: absolute;
    left: 40%;
    top: 30%;
    display: none;
    cursor: pointer;
}
.modal .zoom-in{
    background-image: url(pinger/zoom-in.png);
}
.modal .zoom-out{
    background-image: url(pinger/zoom-out.png);
}

.modal-content .modal-image img{
    display: none;
}
.modal-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 22px;
    background-image: url(pinger/loader.gif);
    display: block;
}

.modal .entry-author,
.modal .entry-time{
    color: #478db3;
}
