/* frame */

.libframe {
    position: absolute;
    z-index: 10000;
    background: url('../assets/libbkg.png');
    background-size: 100%;
    display: none;
   
    width: 100%;
    height: 100%;
    min-width: 766px;
    min-height: 745px;
   
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.libframe.appear {display: block;}

.libframe.disappear {display: none;}

/* Header */

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 9.77vh;
    overflow: hidden;
    text-shadow: none;
    z-index: 11000;
    background: url('../assets/pagebkg.png');
    background-size: 100%;
    -webkit-box-shadow: 0px 1px 3px rgba(166, 168, 171, 1);
    border: 0px solid #fff;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgba(166, 168, 171, 1);
}

.topbar .actions {
    margin: 0.65vh 0vh 0vh;
    height: 8.46vh;
}

.assetname-container {
    position: absolute;
    top: 3vh;
    width: 100%;
    pointer-events: none;
}

.assetname {
    top:  0px;
    height: 6.51vh;
    margin-left: auto;
    margin-right: auto;
}

.assetname p{
    text-align: center;
    font-size: 4.17vh;
    /*  font-weight: bold;  */
    color:  #4682B5;
    font-weight: 500 !important;
    text-shadow: 0px -1px #0D1D28;
    font-family: Roboto;
    line-height: 4.69vh;
    cursor: default;
    outline: 0vh;
    height: 5.21vh;
}

.actions .bkgbuttons {
    float: right;
    display: block;
    margin: 0vh;
    padding: 0vh;
    width: 31.25vh;
    height: 8.46vh;
}

.actions .shapebuttons {
    float: right;
    display: block;
    margin: 0vh;
    padding: 0vh;
    width: 54.3vh;
    height: 8.46vh;
    background: like
}

.painticon {
    display: inline-block;
    position: relative;
    margin: 0vh 0.91vh 0vh;
    width: 8.46vh;
    height: 8.46vh;
    background: url('../assets/paint/paintbrush.svg');
    background-size: 8.46vh 8.46vh;
    background-size: 100%;
    -webkit-tap-highlight-color: transparent;
}

.okicon {
    display: inline-block;
    position: relative;
    margin: 0vh 0.91vh 0vh;
    width: 8.46vh;
    height: 8.46vh;
    background: url('../assets/paint/ok.svg');
    background-size: 100%;
    -webkit-tap-highlight-color: transparent;
}

.cancelicon {
    display: inline-block;
    position: relative;
    margin: 0vh 0.91vh 0vh;
    width: 8.46vh;
    height: 8.46vh;
    background: url('../assets/paint/cancel.svg');
    background-size: 100.5%; /* webview pixelates the image unless we do this */
    -webkit-tap-highlight-color: transparent;
}

.okicon:active {
     background: url('../assets/paint/okPressed.svg');
     background-size: 100%;
}
.cancelicon:active {
     background: url('../assets/paint/cancelPressed.svg');
     background-size: 100.5%; /* webview pixelates the image unless we do this */
}
.painticon:active {
     background: url('../assets/paint/paintbrushPressed.svg');
     background-size: 100%;
}

/*
Assets chooser
*/

*.innerlibrary {
    padding: 11.72vh 0vh 6.51vh;
    margin: 0vh;
    margin-left: auto;
    margin-right: auto;
}


/*
*.scrollarea{
    position: relative;
    padding: 0vh;
    margin: 0vh auto;
    width: 92.77vw;
    
}*/
*.scrollarea {
    overflow-y: scroll;
    position: relative;
    padding: 0px;
    margin: 0px;
    w
}

hr.bigdivide{
    height: 0.52vh;
    border: 0;
    box-shadow: inset 0 4px 4px -4px rgba(166, 168, 171, 1);
}

.assetbox {
    display: inline-block;
    vertical-align: top;
    width: 140px;
    height: 140px;
    margin: 12px;
    padding: 12px;
}

.assetbox.off {
    background: url('../assets/paint/thumbOff.png') no-repeat center top;
    background-size: 100%;
}

.assetbox.on {
    background: url('../assets/paint/thumbOn.png') no-repeat center top;
    background-size: 100%;
}
