/* -- gallery edit widget -- */
#gallery_edit_widget{
    position: relative;
}
.ui-draggable-dragging{
    z-index: 100 !important;
}
li.hidden{
    display: none !important;
}
/* -- edit_gallery WSZYSTKIE ZDJĘCIA -- */

#edit_gallery{
    margin: 10px;
    background: #EDDED1;
    /*width: 480px;*/
    width: 392px;
    position: relative;
    min-height: 312px;
    /*left: -80px;*/
    /*left: -50px;*/
    min-height:200px;
}

#edit_gallery ul{
    margin: 5px 28px;
    padding: 0;
}

#edit_gallery li{
    margin: 0px;
    padding: 0;
    float: left;
    list-style: none;
    /*display: inline;  -blokuje .hidden*/

}

#edit_gallery li img{
    width: 50px;
    height: 50px;
    margin: 2px;
    border: 1px solid #333;
    /*padding: 1px;*/
}

#edit_gallery li img:hover{
    margin: 2px;
    padding: 0;
    border: 1px solid #999;
}

#edit_gallery .filter{
    position: absolute;
    top: -27px;
    right: 101px;

}
#edit_gallery .filter span{
    font-size: 12px;
    padding-right: 5px;
    color: #FFF;
}

#edit_gallery .filter input{
    font-size: 12px;
    width: 170px;
    /*background: #d1630f ;*/
    /*color: #f0b108;*/
    /*border: solid #5c2c07 2px;*/
}

#edit_gallery a.add_photo{
    position: absolute;
    top: 2px;
    left: 140px;
    text-decoration: none;
    font-size: 11px;
    padding: 3px 4px;
    color: #666;
    /*background: #030303;*/
    /*border: solid 1px #111;*/
}
#edit_gallery a:hover.add_photo{
    color: #999;
    /*background: #090909;*/
    /*border: solid 1px #111;*/
}


/* -- edit_gallery_container GALERIA -- */

#edit_gallery_container, #profile1_container, #profile2_container{
    /*margin: 10px;*/
    padding: 0;
    background: #EDDED1;
    /*width: 220px;*/
    width: 268px;
    min-height: 80px;
    position: absolute;
    /*right: -80px;*/
    right: 9px;
    /*top: -10px;*/
}

#edit_gallery_container.droppable-active{
    background: #111 !important;
}

#edit_gallery_container ul{
    margin: 4px 16px;
    padding: 0;
}


#edit_gallery_container li{
    margin: 0;
    padding: 0;
    float: left;
    list-style: none;
    /*display: inline;*/
}


#edit_gallery_container li img{
    width: 40px;
    height: 40px;
    margin: 2px;
    padding: 0;
    border: 1px solid #333;
}

#edit_gallery_container li img:hover{
    margin: 2px;
    padding: 0;
    border: 1px solid #999;
}

#edit_gallery_container h2, #edit_gallery h2, #profile1_container h2, #profile2_container h2{
    color: white;
    padding: 3px;
    /*background: #060606;*/
    margin: 0;
    font-size: 12px;
    font-family: verdana, arial, sans-serif;
    /*border-top: 1px solid #555;*/
    /*border-bottom: 1px solid #555;*/
    background: #5F1218  ;
    /*color: #f0b108;*/
    border: solid #3B474F 1px;
}


/* --------------------------------- */

#profile1_container{
    top: 0;
}
#profile2_container{
    top: 153px;
}

/*---------------------------------- */
ul.slidegallery {
    margin: 5px 43px;
}

ul.slidegallery li{
    display: inline;
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.slidegallery a{
    text-decoration: none;
}
.slidegallery img{
        margin: 5px;
        border: 3px double #666666;
}
.slidegallery img:hover{
        margin: 5px;
        border: 3px solid #999999;
}
.iepngfix{
     behavior: url(css/iepngfix.htc);
}