/*------------------------------------------------------------------------
 Media Manager Stylesheet
 Copyright: Rascals Themes
 www: http://rascalsthemes.com
------------------------------------------------------------------------*/

/* ---- Preview ---- */
.mm-ajax {
    padding: 0px 0 0 10px;
    display: none;
    position: relative;
    top: 5px;
}

/* Buttons */
.mm-edit-button {
    position: absolute;
    right: -5px;
    top: -5px;
    display: block;
    width: 24px;
    height: 24px;
    cursor: pointer;
    z-index: 2;
    background: #ff6239;
    border-radius: 100%;
    -moz-transition: opacity 0.2s ease;
    -ms-transition: opacity 0.2s ease;
    -o-transtion: opacity 0.2s ease;
    -webkit-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
    font-weight: 300;
}
.mm-edit-button:hover { background: #23282d }
.mm-edit-button i {
    color: #fff;
    font-size: 14px;
    left: 0px;
    position: relative;
    top: 3px;
}
.mm-item:hover .mm-edit-button { opacity: 1 }

/* Select all */
.mm-select-all {
    color: #27abff;
    margin-bottom: 10px;
    cursor: pointer;
    float: right;
    clear: both;
    text-decoration: underline;
}
.mm-select-all:hover {
    color: #fff;
    background-color: #27abff;
}

/* Items preview List */
.mm-wrap {
    clear: both;
    overflow: hidden;
    margin-bottom: 10px;
}


/* Image thumb */
.mm-item {
    position: relative;
    float: left;
    margin: 4px;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    width: 120px;
    padding: 2px;
    border: 3px solid transparent;
}
.mm-item.mm-selected {
    border-color: #ff6239;
}
.mm-wrap.images .mm-item,
.mm-wrap.slider .mm-item,
.mm-wrap.simple_slider .mm-item {
     width: 80px;
     margin: 2px;
}
.mm-wrap.images .mm-item .mm-item-image,
.mm-wrap.slider .mm-item .mm-item-image,
.mm-wrap.simple_slider .mm-item .mm-item-image {
    width:80px;
    height:80px;
}
.mm-wrap.images .mm-item .mm-item-preview,
.mm-wrap.slider .mm-item .mm-item-preview,
.mm-wrap.simple_slider .mm-item .mm-item-preview {
     width: 80px;
    height: 80px;
}
.mm-item .mm-item-preview {
    position: relative;
    cursor: move;
    box-shadow: inset 0 0 15px rgba(0,0,0,.1),inset 0 0 0 1px rgba(0,0,0,.05);
    background: #eee;
    width: 120px;
    height: 120px;
}
#mm-explorer-box .mm-item .mm-item-preview {
    cursor:pointer;
}

.mm-item .mm-item-image {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 auto;
    overflow: hidden;
    max-width: 100%;
    max-height: 100%;
    width: 120px;
    height: 120px;
}

.mm-item .mm-item-image:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.1);
    overflow: hidden;
}

.mm-item .mm-centered {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transform: translate(50%,50%);
    -moz-transform: translate(50%,50%);
    -ms-transform: translate(50%,50%);
    -o-transform: translate(50%,50%);
    transform: translate(50%,50%);
}

.mm-item .mm-centered img {
    top: 0;
    left: 0;
    position: absolute;
    max-height: 120px;
    width: auto;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.mm-filename {
    position: absolute;
    font-size: 11px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    max-height: 100%;
    word-wrap: break-word;
    text-align: center;
    font-weight: 700;
    background: rgba(000,000,000,.4);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
}
.mm-filename div {
    padding: 5px 10px;
    color:#fff;
    line-height:120%;
}


/* Audio thumb */
.mm-item.mm-audio {
  
}
.mm-audio-icon {
    margin: 0 auto;
    overflow: hidden;
    padding-top: 20%;
}
.mm-audio-icon.mm-audio-custom-cover {
    padding:0;
    max-width:120px;
    max-height:120px;

}
/* Helpers */
.mm-hidden {
    display: none;
}


/* ---- Media Editor ---- */
#mm-editor-content {
    display: none;
}



#mm-editor-loader {
    float: right;
    margin: 22px 18px;
    display: none;
}

#mm-editor-content fieldset {clear:  both;position: relative;}

/* Meta */

.mm-item-editor {
    margin: 0 20px 20px 0;
}
#mm-editor-meta {
    float: left;
    display: inline;
}

#mm-editor-meta span {
    display: block;
    font-size: 12px;
    margin: 6px 0;
}

#mm-editor-meta strong {
    color: #222;
    font-weight: 600;
}
#mm-editor-meta a {
    color: #27abff;
}

/* Services */
.services-label {
    margin-bottom: 5px;
}
.box-row .services-messages p {
    display: none;
}
.box-services-buttons ._button {
    font-size: 12px;
    padding:5px 10px;
}

/* Hearthis */
.box-services-buttons ._button.add-hearthis {
    background-color: #000  
}
/* Hearthis */
.box-services-buttons ._button.add-googledrive {
    background-color: #1fa463 
}


/* ---- Explorer ---- */

/* Load next items */
.mm-load-next {
    display: inline-block;
    text-align: center;
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: #eee;
    cursor: pointer;
    color: #27abff;
    font-weight: bold;
     -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transtion: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
.mm-load-next:hover {
    background-color: #ddd;
}

/* Search */
#explorer-top {
    padding: 10px 0;
    overflow: hidden;
}

#explorer-top label {
    font-size: 12px;
    float: left;
    color: #666;
}

#explorer-top input {
    font-size: 12px;
    margin-left: 10px;
}

/* Select all */
#explorer-top label.mm-label-select {
    float: right;
    padding: 4px;
}

/* Loader */
#mm-explorer-loader { 
    float: right; 
    margin: 8px 12px 0 0;
}

@media screen and (max-width: 780px) { 
    .mm-edit-button {
        opacity: 1;
    }
}