#swf_wrapper #menu ul li.swf_media a, #swf_wrapper_frontend #menu ul li.swf_media a { background-image: url("images/media.png"); }

img.swf_add_media_preview,
div.swf_add_media_preview img,
div.mediaItem img,
div.mediaInsertItem img{
   max-width: 100%;
   max-height: 100%;
   cursor: pointer;
   position: absolute;
   left: 50%;
   top: 50%;
   transform: translate(-50%, -50%);
}

div.mediaItem:hover,
div.mediaInsertItem:hover{
   -khtml-opacity: .80;
   -ms-filter: â€alpha(opacity=80)â€;
   -moz-opacity: .80;
   opacity: .80;
}

div.uploadItem,
div.mediaItem,
div.mediaInsertItem {
   position: relative;
   float: left;
   width: 132px;
   height: 132px;
   overflow: hidden;
   background-color: #eee;
   text-align: center;
   margin-right: 10px;
   margin-bottom: 15px;
   border: 1px solid #ccc;
   cursor: pointer;
}

div.post_media_insert div.uploadItem {
   float: none;
}

#media-gallery-pics div.mediaItem {
   margin-right: 4px;
}

div.uploadItem h5 {
   padding: 5px;
   min-height: 21px;
   text-align: center;
   border-bottom: 1px solid #ffffff;
   font-size: 90%;
}

div.uploadItem div.file-size {
   position: absolute;
   bottom: 0;
   left: 0;
   text-align: center;
   background-color: #3398db;
   width: 100%;
   padding: 3px 0;
   opacity: 0.5;
   filter: alpha(opacity=50);
   font-size: 80%;
   color: #000;
   font-weight: bold;
}

.border-blue {
   border: 1px solid #3398db !important;
}

div.swf_media_browser {
   height: 600px;
   overflow-y: scroll;
}

div.swf_media_insert {
   position: fixed;
   top: 10;
   left: 10;
   width: 100%;
   height: 100%;
   z-index: 998;
   padding: 30px;
   background-color: #fafafa;
}

img.media_insert_close {
   position: fixed;
   top: 5px;
   right: 5px;
   z-index: 999;
   cursor: pointer;
}

div.media_insert_left {
   float: left;
   width: 80%;
}

div.media_insert_right {
   float: right;
   width: 20%;
}

div#media-insert-file-details table {
   text-align: left;
}

div.gallery_front_end {
   float: left;
   margin: 10px;
}

div.gallery_front_end div.gallery_title {
   text-align: center;
}