.rotate-canvas{
width:150px;
height:150px;
float:right;
background-color:#ddd;
}

.rotate-form{
float:left;
}

.rotate-canvas > img{
width:100%;
height:100%;
object-fit:contain;
border:0;
}

.mlib-bg{
background:#000;
opacity:0.3;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
filter:alpha(opacity=60);
top:0;
left:0;
bottom:0;
right:0;
position:fixed;
}

.mlib-upload-now{
position:fixed;
bottom:20px;
right:20px;
background-color:gold;
padding:5px 10px;
font:20px arial;
text-transform:uppercase;
color:#333;
}

.mlib-upload-now:before{
content:'START UPLOADING';
}

.mlib-top{
text-align: left;
background-color: #FFF;
position: fixed;
left: 20px;
right: 20px;
top: 20px;
z-index: 1;
box-shadow: 0 0 4px;
}

a.mlib-album-cover{
text-align:center;
}

.mlib-main{
background:#fff;
top:20px;
left:20px;
bottom:20px;
right:20px;
position:fixed;
color:#333;
box-shadow:0 0 6px #000;
font:12px verdana;
}

.mlib-left{
top: 70px;
left: 20px;
bottom: 20px;
width: 250px;
position: fixed;
margin: 0px;
padding: 0;
border-right: 1px solid silver;
z-index: 1;
background-color: #fff;
box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
transition:margin 0.5s;
margin-left:-100%;
}

.mlib-menu-left-hide{
margin-left:0;
}

.mlib-left li{
cursor:pointer;
list-style:none;
padding:10px;
font:bold 16px arial;
color:gray;
}

.mlib-right{
top:20px;
left:20px;
bottom:20px;
right:20px;
position:fixed;
border-left:1px solid silver;
}

.mlib-close{
width:30px;
height:40px;
position:fixed;
right:30px;
top:25px;
font:bold 40px/40px arial;
text-align:center;
cursor:pointer;
}

.mlib-close:hover{
color:red;
}

.mlib-head{
height:50px;
padding:0 50px 0 0;
font:24px/50px arial;
border-bottom:1px solid silver;
overflow:hidden;
}

.mlib-data{
display:none;
position:absolute;
top:51px;
bottom:0;
left:0;
right:0;
overflow:auto;
}

.mlib-li-active{
background-color:#eee;
color:#333 !important;
}

.mlib-contents{

}


#mlib-upload-tab{
background-color:#fff;
}

#mlib-media-tab{
background-color:#fff;
}

#mlib-gallery-tab{
background-color:pink;
}

#mlib-url-tab{
background-color:#fff;
}

/*
.mlib-float-filler{
float:left;
height:50%;
width:100%;
margin-bottom:-105px;
}

.mlib-upload-box{
opacity:0.5;
width:200px;
margin:0px auto;
height:200px;
clear:both;
border-radius:200px;
border:10px double #333;
background:#eee url("../images/upload.png") no-repeat center center;
cursor:pointer;
}

.mlib-upload-box:hover{
opacity:0.8;
}
*/

.dropzone{
position:absolute !important;
top:0;
left:0;
right:0;
bottom:0;
}

.mlib-urls{
padding:20px;
}

.mlib-urls p{
margin:0;
padding:0;
}

.mlib-urls textarea{
padding:10px;
margin:20px 0;
width:100%;
font:11px tahoma;
resize:none;
box-sizing:border-box;
border:1px solid silver;
min-height:150px;
}

.mlib-urls textarea:focus{
border:1px solid #333;
box-shadow:0 0 6px #333 inset;
}

.mlib-urls input, .mlib-save-changes{
margin:0;
padding:5px 10px;
border:0;
background:#555;
color:#fff;
font:bold 12pt arial;
cursor:pointer;
}

.mlib-urls input:hover, .mlib-save-changes:hover{
background:#000;
}


.mlib-thumbs{
background-color:#eee;
background-size:cover;
background-position:center center;
background-repeat:no-repeat;
border:5px solid #eee;
box-shadow:0 0 1px #000,0 0 1px #000 inset;
cursor:pointer;
float:left;
height:150px;
margin:5px;
position:relative;
width:150px;
zoom:1;
filter:progid:DXImageTransform.Microsoft.Shadow(Color=#333333, Strength=1, Direction=0),
progid:DXImageTransform.Microsoft.Shadow(Color=#333333, Strength=1, Direction=90),
progid:DXImageTransform.Microsoft.Shadow(Color=#333333, Strength=1, Direction=180),
progid:DXImageTransform.Microsoft.Shadow(Color=#333333, Strength=1, Direction=270);
}

.mlib-uploaded-preview, .mlib-ajax-result{
float:left;
width:50%;
min-height:50px;
margin-top:20px;
}

.mlib-uploaded-preview:after, .mlib-uploaded-preview:before{
content:' ';
clear:both;
display:block;
}

.mlib-uploaded-thumb{
background-size:cover;
width:100px;
height:100px;
background-position:center center;
background-repeat:no-repeat;
margin:5px;
float:left;
}

.mlib-thumbs:hover, .mlib-selected-thumb, .album-thumb:hover, .mlib-uploaded-thumb{
animation:animatedThumb 1s linear infinite alternate;
}

@keyframes animatedThumb {
  from {
    background-position:0 0;
  }
  to {
    background-position:100% 100%;
  }
}

.mlib-selected-thumb{
background-color:#77c9ff;
border-color:#77c9ff;
}

.mlib-thumbs img{
height:100%;
margin:0;
padding:0;
}

.mlib-thumbs input[type="checkbox"]{
display:none;
}

.mlib-selected-thumb .mlib-checkbox{
background:green url('../images/checked.png') no-repeat;
border:1px solid green;
}

.mlib-checkbox{
border:1px solid gray;
float:left;
width:32px;
height:32px;
background:#fff url('../images/checked.png') no-repeat;
position:absolute;
bottom:0;
right:0;
}

.mlib-display-canvas{
bottom:71px;
left:21px;
overflow:auto;
position:fixed;
right:271px;
top:71px;
padding:5px;
}

.mlib-item-properties{
overflow:auto;
background-color:#eee;
border-left:1px solid silver;
bottom:71px;
position:fixed;
right:20px;
top:71px;
width:250px;
}

.mlib-item-properties span{
display:block;
padding:0 15px;
margin-top:10px;
font:bold 12px arial;
}

.mlib-single-edit textarea, .mlib-single-edit select, .mlib-single-edit input[type="text"]{
border:1px solid silver;
box-sizing:border-box;
display:block;
font:11px tahoma;
margin:5px 15px;
padding:5px;
resize:none;
width:210px;
}

.mlib-single-edit .ms-options-wrap{
width:210px;
margin:5px 15px;
}

.ms-options ul{
margin:0;
padding:0 10px;
list-style:none;
}

.ms-options-wrap > .ms-options > .ms-search input{
margin:0;
}

.ms-options-wrap > .ms-options > ul label{
font-weight:normal;
}

.mlib-single-edit .mlib-save-changes{
margin:5px 15px;
}

.mlib-single-edit [readonly="readonly"]{
background-color:#eee;
}

.mlib-bottom{
position:fixed;
left:21px;
right:21px;
bottom:20px;
height:50px;
background-color:#fff;
border-top:1px solid silver;
z-index:1;
}

.mlib-how-many-text{
bottom:20px;
position:fixed;
right:30px;
}


.mlib-delete-all, .mlib-button, .mlib-button-red{
background-color:red;
padding:5px 10px;
font:bold 16px arial;
text-transform:capitalize;
color:#fff;
cursor:pointer;
border-radius:3px;
text-shadow:0 -1px 0 #000;
}


.mlib-button, .mlib-button-blue{
background-color:#004879;
border:0;
}


.mlib-danger{
background:red !important;
border-color:red !important;
}


.mlib-new-option textarea, .mlib-new-option input[type="text"]{
box-sizing:border-box;
resize:none;
width:100%;
border:1px solid silver;
color:gray;
font:12px tahoma;
padding:10px;
margin:5px 0;
}

.mlib-new-option textarea:focus, .mlib-new-option input[type="text"]:focus{
border:1px solid gray;
color:#333;
box-shadow:0 0 5px #000 inset;
}

.mlib-new-option{
clear:both;
margin:15px;
padding:15px;
display:none;
background-color#eee;
}

#mlib-import-methods .mlib-import-method{
clear:both;
border:1px solid silver;
background-color:#eee;
padding:10px;
margin:10px;
}

#mlib_chooser .mlib-import-data{
display:none;
}

#mlib_chooser{
display:none;
}

#mlib_chooser_bg{
position:fixed;
left:0;
right:0;
top:0;
bottom:0;
background-color:#000;
opacity:0.7;
z-index:2;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
filter:alpha(opacity=70);
}

#mlib_chooser_body{
background-color:#fff;
border:1px solid gray;
bottom:25%;
box-shadow:0 0 6px #000, 0 0 20px #000, 0 0 50px #000;
left:30%;
position:fixed;
right:30%;
top:25%;
z-index:3;
}

#mlib_chooser_data{
padding:0;
}
 
#mlib_chooser_head{
border-bottom:1px solid silver;
background-color:#eee;
padding:5px 10px;
font:bold 20px arial;
color:#333;
}

.close-mlib-chooser{
position:fixed;
right:30%;
background-color:red;
bottom:25%;
margin-right:30px;
margin-bottom:30px;
}

#mlib_chooser .mlib-import-method{
cursor:pointer;
font:bold 12px arial;
color:gray;
padding:10px;
border-bottom:1px solid #eee;
}

#mlib_chooser .mlib-import-method:hover{
background-color:gray;
color:#fff;
}

#mlib_chooser .mlib-import-method h3{
margin:0;
padding:0;
}

.mlib_test_selection{
background-color:#eee;
}

.mlib-import-data-raw{
display:none;
}

.mlib-edit-method{
min-width:300px;
max-width:30%;
background-color:#eee;
border:1px solid silver;
margin:10px;
padding:10px;
float:left;
}

.mlib-edit-method textarea, .mlib-edit-method input[type="text"]{
width:100%;
padding:5px;
border:1px solid silver;
font:11px tahoma;
color:gray;
resize:none;
box-sizing:border-box;
margin:5px 0;
}

.mlib-edit-method textarea:focus, .mlib-edit-method input[type="text"]:focus{
border:1px solid gray;
color:#333;
box-shadow:0 0 5px gray inset;
}

.mlib-how-many {
max-width:670px;
padding:5px;
}

.mlib-display-canvas{
-webkit-user-select:none;
-moz-user-select:none;
-ms-user-select:none;
-o-user-select:none;
user-select:none; 
}

.mlib-linked-pages a{
text-decoration:none;
}

.mlib-load-more{
clear:both;
padding:10px;
min-height:45px;
}

#mlib-sortby, .mlib_ipp{
padding:5px;
width:90px;
}

.mlib_fallback_iframe iframe{
width:100%;
}

#mlib-lightbox{
z-index:9999;
position:relative;
} 

.mlib-load-ipp{
float:right;
}

.mlib-item-properties:empty:before{
content:'Click a photo to view its editing options.';
display:block;
padding:20px;
}


.mlib-refresh{
position:fixed;
right:66px;
top:27px;
font-size:25px;
color:red;
cursor:pointer;
display:none;
}


.mlib-menu-toggle{
background-image:url('svg/exchange.svg');
height:50px;
width:50px;
float:left;
background-size:30px 30px;
background-position:center center;
background-repeat:no-repeat;
border-right:1px solid silver;
cursor:pointer;
}

.mlib-sel-text{
color:red;display: block;padding: 5px;
}

.mlib-top-text{
float:left;
padding-left:10px;
}

.mlib-toggle-fileinfo{
background-image:url('svg/info.svg');
height:50px;
width:50px;
float:right;
background-size:30px 30px;
background-position:center center;
background-repeat:no-repeat;
border-right:1px solid silver;
border-left:1px solid silver;
cursor:pointer;
}

.dz-clickable{background-size: 400px !important;}


@media only screen and (max-width: 900px) {
.mlib-left{left:0;top:50px;bottom:0;}

.mlib-right{
top: 0;
left: 0;
bottom: 0;
right: 0;
}

.mlib-top{
left: 0;
right: 0;
top: 0;
}

.mlib-close{
right: 10px;
top: 5px;
}

.mlib-item-properties{
bottom: 51px;
right: 0;
top: 51px;
}

.mlib-display-canvas{
right: 0;
left:0;
bottom: 51px;
top: 51px;
}

.mlib-bottom{
left: 0;
right: 0;
bottom: 0;
}

.mlib-item-properties{
display:none;
}

.mlib-load-ipp{
float: none;
text-align: center;
margin-bottom: 20px;
}

.simple-pagination li{
float:none !important;
display:inline-block;
}

.mlib-load-more{
text-align:center;
}

.mlib-how-many-text{bottom:0;}

.dz-clickable{background-size: 90% !important;}

}



@media only screen and (max-width: 400px) {
.mlib-thumbs{
width:30%;
height:105px;
}
}