/* object {
	border: 3px solid red;
} */

.upload-buttons input[type="file"] {
    width: 6.3em;
}

.upload-button {
    Height: 26px;
    line-height: 30px;
    padding: 0 10px;
    background: #CCC;
    appearance: initial;
    -moz-appearance: button; /* Firefox */
    -webkit-appearance: button; /* Safari and Chrome */
    position: relative;
    text-align: center;
    top: 7px;
    cursor: pointer;
}

.sel-file {
    padding: 1px 5px;
    font-size: smaller;
    color: grey;
}

.response {
    padding: 0;
    padding-top: 10px;
    margin: 3px 0;
    clear: both;
    list-style: none;
}

.response .sel-file li, .response .reqh {
    color: blue;
    padding-bottom: 5px;
}

fieldset {
    border: 1px solid #DDD;
    width: 620px;
    padding: 10px;
    line-height: 23px;
}

fieldset label {
    /*font-size: smaller;*/
}

.drop-box {
    background: #F8F8F8;
    /*border: 5px dashed #DDD;*/
    width: 100%;
    text-align: center;
    margin-top: 20px;
    overflow-y: auto;
    padding: 5px;
    list-style-type: none;
    transition: all 0.5s;
    height: 300px;
    cursor: pointer;
    outline: 3px dashed #4b77be;
    box-shadow: 0 0 0 2px #f8f8f8;
}

.file-preview {
    height: 100px;
    padding: 1px;
    float: left;
    position: relative;
    margin: 5px;
}

.up-buttons {
    float: right;
    width: 100%;
    position: relative;
}

.drop-box.dragover {
    outline: 8px dashed #4b77be;
    box-shadow: 0 0 0 8px #f8f8f8;
}


.drop-box.dragover-err {
    outline: 8px dashed red;
}

.bg-text {
    pointer-events: none;
    position: absolute;
    left: 50%;
    top: 49%;
    font-family: Lato, Arial, Tahoma, Helvetica, sans-serif;
    color: #333;
    text-decoration: none;
    font-weight: normal;
    font-size: 20px;
    text-align: center;
}

.bg-text > span {
    position: relative;
    left: -50%;
}

/* for IE*/
.js-fileapi-wrapper {
    display: inline-block;
    vertical-align: middle;
}

button {
    padding: 1px 5px;
    font-size: smaller;
    margin: 0 3px;
}

.ng-v {
    float: right;
}

.thumb {
    float: left;
    width: 18px;
    height: 18px;
    padding-right: 10px;
}

form .thumb {
    width: 24px;
    height: 24px;
    float: none;
    position: relative;
    top: 7px;
}

form .progress {
    line-height: 15px;
}

.edit-area {
    font-size: 14px;
    background: black;
    color: #f9f9f9;
    padding: 5px 1px;
}

#htmlEdit {
    margin-bottom: 25px;
}

.edit-div {
    font-size: smaller;
}

.CodeMirror {
    font-size: 14px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}

form button {
    padding: 3px 10px;
    font-weight: bold;
    margin-top: 10px;
}

.sub {
    font-size: smaller;
    color: #777;
    padding-top: 5px;
    padding-left: 25px;
}

.err {
    font-size: 12px;
    color: #C53F00;
    margin: 15px;
    padding: 15px;
    background-color: #F0F0F0;
    border: 1px solid black;
}

.s3 {
    font-size: smaller;
    color: #333;
    margin-left: 20px;
}

.s3 fieldset {
    border: 1px solid #AAA;
}

.s3 label {
    width: 180px;
    display: inline-block;
}

.s3 input {
    width: 300px;
}

.s3 .helper {
    margin-left: 5px;
}

.howto {
    margin-left: 10px;
    line-height: 20px;
}

.server {
    margin-bottom: 20px;
}

.srv-title {
    font-weight: bold;
    padding: 5px 0 10px 0;
}

:not(output):-moz-ui-invalid {
    box-shadow: none;
}

.preview {
    clear: both;
    padding-top: 20px;
}

.preview img, .preview audio, .preview video {
    max-width: 300px;
    max-height: 150px;
    float: right;
}

.custom {
    font-size: 14px;
    margin-left: 20px;
}

.drop-box .file-preview .size {
    background-color: rgba(231, 231, 231, 0.43);
    position: absolute;
    bottom: 5px;
    right: 5px;
    pointer-events: none;
    font-size: 9px;
    font-family: Lato, Arial, Tahoma, Helvetica, sans-serif;
    padding: 1px 4px;
    z-index: 1;
}

.drop-box .file-preview .delete {
    background-color: rgba(0, 0, 0, 0.55);
    width: 40px;
    height: 40px;
    font-family: Lato, Arial, Tahoma, Helvetica, sans-serif;
    color: white;
    font-size: 25px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, .25);
    text-align: center;
    cursor: pointer;
    line-height: 43px;
    position: absolute;
    border-radius: 50%;
    z-index: 101;
    opacity: 0;
    transition: all .30s;
    transform: scale(0.5);
    top: 0;
    right: -3px;
}

.drop-box .file-preview:hover .delete,
.drop-box .file-preview .delete:hover {
    opacity: 1;
    transform: scale(0.8) ;
}

.preview-img {
    max-width: 96px;
    background-size: cover;
    background-repeat: no-repeat;
    height: 96px;
    width: 96px;
    background-color: white;
    border: 1px solid white;
    display: block;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.37), 0 6px 20px 0 rgba(0, 0, 0, 0.42);
    transform: translatey(0px);
    animation: previewscale 0.3s ease-in-out;
}

.preview-img.video {
    max-width: 145px;
    width: 145px;

}

@keyframes previewscale {
    from {transform: scale(0.2);}
    to {transform: scale(1.0);}
}
