#wpsimplegallery_thumbs li {
    margin: 6px;
    padding: 0;
    display: block;
    float: left;
    position: relative;
    width: 109px;
    height: 109px;
}
#wpsimplegallery_thumbs li img {
    width: 109px;
    height: 109px;
    padding: 0;
    margin: 0;
}
#wpsimplegallery_thumbs li .wpsimplegallery_remove {
    display: block;
    text-indent: -9999px;
    outline: 0;
    background: #e62c22;
	width: 16px;
	height: 16px;
	text-indent: 9999px;
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
	-o-border-radius: 25px;
    position: absolute;
    top: -6px;
    right: -6px;
}
.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;
}