img {
    border: 0px;
}

ul.gallery {
    margin: 0;
    padding: 0;
}

ul.gallery li {
    display: inline-block;
    zoom: 1;
    position: relative;
    *display: inline;
    margin: 5px;
    vertical-align: top;
    text-align: center;
    line-height: 1.4em;
    padding: 2px;
    border: 1px dotted black;
}

ul.gallery li .thumb-video{
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 100;
    left: 23%;
    top: 8%;
    background: url("img/play_overlay.png");
}

ul.gallery.gallery-popoup li .thumb-video{
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 100;
    left: 23%;
    top: 8%;
    background: url("img/play_overlay_small.png");
    pointer-events: none;
}

ul.gallery li .loading {
    position: absolute;
    display: block;
    width: 16px;
    height: 16px;
    background: url("img/loading.gif");
    z-index: 100;
    left: 50%;
    top: 50%;
}

ul.gallery li a.zoomdetail {
    position: absolute;
    display: none;
}

.image-sent,
li.image-sent {
    background: red;
}

li.selected {
    background: grey;
}

.gallery-nl {
    float: none;
    clear: both;
}

.gallery-properties {
    float: left;
    clear: right;
}

.gallery-images {
    float: left;
    width: 750px;
}

table .property-header {
    font-weight: bold;
    background: #e0e0e0;
}

.frame-directories {
    width: 230px;
    height: 500px;
    border: 0px;
}

.frame-images {
    width: 750px;
    height: 500px;
    border: 0px;
}

.gallery-list-preview {
    margin-bottom: 5px;
    position: relative;
}

.gallery-list {
    float: left;
    width: 230px;
    height: 800px;
    overflow: auto;
}

.GalleryImagePortletCommentPopup {
    z-index: 100;
    position: fixed;
    top: 30%;    
    display: none;
    width: 300px;
    background-color: white;
    padding: 20px;
    border: 4px solid #525252;
    box-shadow:              black 0px 0px 20px;
    -webkit-box-shadow: black 0px 0px 20px;
    -moz-box-shadow:     black 0px 0px 20px; 
}

.GalleryImagePortletCommentPopup textarea {
    width: 290px;
    height: 100px;
    padding: 4px;
    border: 1px solid grey;
}

.GalleryImagePortletCommentPopup a.close{
    width: 15px;
    height: 15px;
    position: absolute;
    display: block;
    text-align: center;
    line-height: 15px;
    background-color: white;
    text-decoration: none;
    color: black;
    border: 1px black;
    right: 5px;
    top: 5px;
}

.GalleryImagePortletCommentPopup a.save {
    line-height: 25px;
}

.GalleryImagePortletCommentPopup span.loading {
    width: 16px;
    height: 16px;
    background: url(img/loading.gif);
    display: inline-block;
}

.GalleryImagePortletCommentPopup span.loading.hidden {
    display: none;
}

.imageCommentPresent {
    position: absolute;
    left: 0;
    top: 20px;
    width: 30px;
    height: 20px;
    background: white url(../../images/rewrite.png) 80% 50% no-repeat;    
    z-index: 100
}

.galleryCommentPresent {
    position: absolute;
    left: 0;
    top: 20px;
    width: 30px;
    height: 20px;
    background: white url(../../images/rewrite_g.png) 80% 50% no-repeat;
    z-index: 100;    
}

.gallery-list-preview .galleryCommentPresent {
    top: inherit;
    bottom: 20px;
}

.gallery-list-preview .imageCommentPresent {
    top: inherit;
    bottom: 20px;
}
