#wpsimplegallery_thumbs li {
    margin: 6px;
    padding: 0;
    display: block;
    float: left;
    position: relative;
    width: 109px;
    height: 109px;
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    -o-transition-duration: 0.2s;
    transition-duration: 0.2s;
}
#wpsimplegallery_thumbs li:hover {
	zoom: 1;
    filter: alpha(opacity=100);
    -webkit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
    -webkit-transform: translateY(-4px);
    -moz-transform: translateY(-4px);
    -o-transform: translateY(-4px);
    -ms-transform: translateY(-4px);
    transform: translateY(-4px);
    -webkit-box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}
#wpsimplegallery_thumbs li img {
    width: 109px;
    height: 109px;
    padding: 0;
    margin: 0;
}
#wpsimplegallery_thumbs li .wpsimplegallery_remove {
    display: block;
    outline: 0;
    background: #e62c22;
	width: 22px;
	height: 22px;
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
	-o-border-radius: 25px;
    position: absolute;
    top: -11px;
    right: -11px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 22px;
    color: #fff;
    
     -ms-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    -webkit-transform: scale(0);
    transform: scale(0);
    
    transition: all 0.1s ease;
    -webkit-transition: all 0.1s ease;
    -moz-transition: all 0.1s ease;
}

#wpsimplegallery_thumbs li:hover .wpsimplegallery_remove {
	-ms-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
}

.wpsimplegallery_placeholder {
    border: 1px dashed #ccc !important
}
.ui-sortable-helper {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
}
#wpsimplegallery_container .clearfix:before,
#wpsimplegallery_container .clearfix:after {
    content: '\0020';
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}
#wpsimplegallery_container .clearfix:after {
    clear: both
}
#wpsimplegallery_container .clearfix {
    zoom: 1
}
#optionsframework .controls .of-radio-img-img {
    margin: 10px;
    border: 3px solid #eee;
}
#optionsframework .controls .of-radio-img-selected {
    border: 3px solid #921d26;
}
#optionsframework .section .controls {
    float: none;
    width: 95%;
}
#optionsframework .section .explain {
    float: none;
    clear:both;
}

#post-body #normal-sortables {
	min-height: 0 !important;
}

#wpsimplegallery_delete_all_button 
{
	display: none;
}

#wpsimplegallery_upload_button
{
	width: 99%;
	box-sizing: border-box;
	text-align: center;
	height: 38px;
	line-height: 36px;
	border-radius: 0;
	border: 0;
	box-shadow: 0 0 0 0;
}

#wpsimplegallery_thumbs:empty
{
	display: none;
}