html,body{
    margin: 0;
    padding: 0;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

.clear{
    clear: both;
}

#container,
#filelist{
    width: 800px;
    margin: auto;
    max-width: 98%;
}

textarea{
    font-family: "Courier New",monospace;
    font-size: 13px;
}

#dropzone{
    border: 5px solid silver;
    margin: 10px 0;
    padding: 10px;
    color: grey;
    text-align: center;
    padding-top: 60%;
    background-image: url("../amiga.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;

    border-radius: 10px;
}

#dropzone.small{
    padding: 80px 10px 1px 10px;
}

#dropzone.over{
    border: 5px solid #427fb7;
    background-color: #ecedfa;
}

#dropzone .selector{
    float: right;
}

#filemanager{
    display: none;
}

#filemanager .panel{
    border: 1px solid silver;
}

.caption{
    background-color: #427fb7;
    color: white;
    padding: 4px;
    position: relative;
}

.caption.amiga{
    background-image: url("../../img/amiga.svg");
    background-size: 20px 16px;
    background-position: 2px 4px;
    background-repeat: no-repeat;

    padding: 4px 4px 4px 24px;
}

.diskheader{
    position: relative;
    border-bottom: 1px solid silver;
    min-height: 24px;
}

.diskheader .button{
    display: inline-block;
    position: absolute;
    padding: 4px;
    background-color: #c0d2dc;
}

.diskheader .button:hover{
    cursor: pointer;
    background-color: #d5e8f2;
}

.diskheader .itemlabel{
    padding: 4px 4px 4px 44px;
    min-height: 24px;
}

.diskheader .button.right{
    right: 0;
}

.diskheader .inline,
.diskheader .button.inline{
    display: inline-block;
    padding: 2px 4px;
    position: relative;
}

.diskheader input{
    width: 50px;
    text-align: center;
    border: 0;
    display: inline-block;
}

#list,
#hex,
#sectorhex{
    height: 300px;
    width: 500px;
    overflow: scroll;
    position: absolute;
}


#fileinfo,
#ascii,
#sectorascii{
    width: 300px;
    height: 300px;
    float: right;
    background-color: #f8f8f8;
    border-left: 1px solid silver;
    padding: 4px;
    font-size: 12px;
}

#hex.ascii{
    display: none;
}
#ascii.ascii{
   width: 800px;
}

#fileinfo h3{
    margin: 0;
    padding: 0;
    font-size: 14px;
}

#fileinfo h4{
    margin: 10px 0 4px 0;
    padding: 0 0 2px 0;
    font-size: 12px;
    border-bottom: 1px solid silver;
}

#fileinfo .info{
    padding: 4px 4px 4px 20px;
}

#fileinfo td{
    font-size: 12px;
    border-bottom: 1px solid silver;
}

#fileinfo .action{
    padding: 2px 0;
    color: #427fb7;
}

#fileinfo .action:hover{
    cursor: pointer;
    color: #079bd7;
    text-decoration: underline;
}

.listitem{
    padding: 4px 8px;
    border-bottom: 1px solid silver;
}

.listitem i{
    display: inline-block;
    width: 20px;
    color: #427fb7;
}

.listitem.DIR i{
    color: #dcc200;
}

.listitem .label{
    display: inline-block;
    width: 200px;
}

.listitem.DIR{
    background-color: #F5f5f5;
}

.listitem:hover,
#filelist .file:hover,
#filelist .file.unknown:hover{
    cursor: pointer;
    border-bottom: 1px solid #485f74;
    background-color: #deebf5;
}

#feedback{
    border: 2px solid #5B6FC0;
    margin: 10px 0;
    padding: 10px;
    text-align: center;
}

#feedback:hover{
    cursor: pointer;
}

#feedback:hover .button{
    background-color: #deebf5;
}

#feedback .button{
    border: 1px solid #5B6FC0;
    margin: 5px auto;
    padding: 4px 10px;
    width: 100px;
    background-color: white;
}

.perspective{
    perspective: 1000px;
    perspective-origin: 50% 50%;
}

.footer{
    margin: 30px 0 60px 0;
    text-align: center;
    font-size: 12px;
    color: #5f5b55;
    position: relative;
    z-index: 10;

    background: #f4f3eb; /* Old browsers */
    background: -moz-linear-gradient(top, #f4f3eb 1%, #e5dec9 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #f4f3eb 1%,#e5dec9 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #f4f3eb 1%,#e5dec9 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

    border-radius: 10px;

    border: 2px solid rgba(0, 0, 0, 0.07);

    transform: scale(1.0) scaleZ(1.0) rotateX(16deg);
    transform-origin: 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iIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QjQzQjVGQjgwNTlDMTFFODgxNDZDNDFEMkVFMzcyMjUiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz45bR0eAAAApVBMVEXAt6f49/KooJKnnpCpoZPPxrTPxbPLwbDKwbD7+/mooJHMwrHMwrCon5GpoZLn5d3m5d24sqnPxrO5ubfu7eX4+PPp6ODOxbL5+PTPyL2vrKjm5dzQxrPe18unn5Cnn5G/tqXOxbP49/HQxrTMw7HQx7TTybj+/v2/taXQx7X08urn5t3Mw7KsqaXn5t7z8um/tqasqab08+rz8ur8+/n08+v///9VzInbAAAAjUlEQVR42mzO2Q6CMBCF4akbqCjuu6IiqGDp7vs/mtMW5cZz9eVPJhl4/wZ3QsjCUxtjqv+cT7fHHLRCig48X6BlQ2VUU2Ulxt9aihb3LLDyzFK62r25apkOXY1t9SzpgB8i6LOCTZCzqK4j3gvq6rhBxjQ5X0JYMsX29PRYh3DFf1e7Ng4knhFt9xFgAPAcIX2WAh/+AAAAAElFTkSuQmCC');
    background-size: 10px 30px;
    height: 30px;
    left: 16px;
    right: 16px;
    top: -12px;

}

.footer .barstop{
    height: 30px;
    margin: 28px 20px 20px 20px;
    background: linear-gradient(#f4f3eb 42%, transparent 0, transparent 88%, #fffcef 0), rgba(178, 161, 131, 0.71);
    background-size: 25px 9px;
}

.footer .barsbottom{
    height: 30px;
    margin: 20px;
    background: linear-gradient(#E7E0CD 42%, transparent 0, transparent 88%, #fff8dd 0), rgba(155, 138, 108, 0.71);
    background-size: 25px 9px;
}


.footer a{
    color: #5f5b55;
    text-decoration: underline;
}

.footer a:hover{
    color: #000000;
    text-decoration: underline;
}



.panels{
    text-align: center;
}

.panels .panel{
    width: 30%;
    margin: 4px;
    height: 200px;
    display: inline-block;
    vertical-align: top;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset -1px -1px 1px rgba(255, 255, 255, .8), inset 1px 1px 1px rgba(0, 0, 0, .3);
    border-radius: 5px;
    padding: 16px;
}

.panels .panel h2{
    margin: 0 0 10px 0;
    padding: 4px;
    font-size: 13px;
    border-bottom: 1px solid rgba(0,0,0, .3);
    box-shadow: 0 1px 1px rgba(255, 255, 255, .8);
}

.footer .panelwide{
    margin: 4px 3.5%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset -1px -1px 1px rgba(255, 255, 255, .8), inset 1px 1px 1px rgba(0, 0, 0, .3);
    border-radius: 5px;
    padding: 16px;
}

.shadow:before{
    content: " ";
    background-color: #000000;
    height: 20px;
    width: 110%;
    position: absolute;
    margin-top: -59px;
    margin-left: -5%;
    filter: blur(10px);
    opacity: 0.5;
    z-index: 0;
}


#feedback,
#folder,
#file,
#raw{
    display: none;
}



#filelist .file{
    border-bottom: 1px solid #c5d0d1;
    padding: 2px;
    position: relative;
}

#filelist .file.unknown{
    color: #357762;
    background-color: #e0fabc;
    border-bottom: 1px solid #7ed16e;
}
#filelist .file.known{
    color: #5f6d80;
    border-bottom: 1px solid #c5d0d1;
}

#filelist .file div,
#filelist .caption div{
    display: inline-block;
}

#filelist .name{
    width: 40%;
    padding-left: 8px;
}

#filelist .info{
    width: 59%;
}

#filelist .file div.inspect{
    width: 60px;
    position: absolute;
    border: 1px solid silver;
    background-color: white;
    padding: 2px 2px;
    font-size: 10px;
    text-align: center;
    margin-left: -64px;
    bottom: 2px;
    display: none;
}

#filelist .file:hover div.inspect{
    display: inline-block;
}


#closebutton{
    position: absolute;
    right: 0;
    top: 0;
    color:  white;
    font-size: 16px;
    padding: 4px 10px;
}

#closebutton:hover{
    cursor: pointer;
    font-weight: bold;
}


@media screen and (max-width: 600px) {
    .panels .panel{
        height: 250px;
    }
}

@media screen and (max-width: 500px) {
    .panels .panel{
        height: auto;
        width: 93%;
    }
}