h1 {
    font-size: 1.6rem;
}

h2 {
    font-size: 1.4rem;
}

h4 {
    font-size: 1.2rem;
}

#calcform {
    padding: 20px;
    background: #f0f0f0;
    border: 1px solid #e0e0e0;
    border-radius: 7px;
}

.btn i {
    vertical-align: bottom;
}

.bdhidden {
    display: none!important;
    ;
}

#is-fitwidth+i,
#is-orig+i {
    transform: rotate(90deg);
}

#videodiv {
    position: relative;
    width: 100%;
}

#videodiv>button {
    display: none;
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

#video {
    width: 100%;
    height: auto;
}

#videodiv {
    background: #444;
}

#imgdiv {
    border: 10px dashed #aaa;
    padding: 5px;
    background: #f0f0f0;
    width: 100%;
    min-height: 160px;
    text-align: center;
}

#imgdiv i {
    margin-top: 30px;
    color: #ccc;
    font-size: xx-large;
}

#imgdiv img {
    background: #ffffff;
    border: 5px solid #ffffff;
    margin: 5px;
    display: inline-block;
    user-drag: none;
    /*ok*/
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

#imgdiv.draghover {
    border: 10px dashed #888;
}

#isdiv {
    display: none;
}

#imgsize {
    width: calc(100% - 20px);
}

#calcform button i {
    vertical-align: middle;
}

#outframe {
    width: 100%;
    height: 500px;
    margin: 0;
    padding: 0;
    display: none;
}

#fileElem {
    visibility: hidden;
    width: 30px;
}

#canvas {
    display: none;
}

@media all and (max-width: 800px) {
    #dragLabel {
        display: none;
    }
    #calcform {
        padding: 10px;
    }
    #camerabtn {
        display: none;
    }
}