input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

body{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.alert-close{
    background: none;
    outline: none !important;
    border: none;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 3px;
}

.book-content-area{
    width: 100%;
    min-height: 500px;
    border: 2px solid #ccc;
    border-radius: 5px;
    padding: 5px 15px;
    background: #fff;
}

.ce-mini-text{
    width: 100%;
    height: 150px;
    border: 2px solid #ccc;
    border-radius: 5px;
    padding: 5px 15px;
}

.editor-note-number{
    cursor: pointer;
    background: #ccc;
    display: inline-block;
    padding: 0;
    margin: 0 0 0 1px;
    font-size: 12px;
    text-align: center;
    border: none;
    outline: none !important;
    margin: 0 2px;
    transition: transform .15s;
}

.editor-note-number:hover{
    transform: scale(1.05,1.05);
}

.clippy{
    background: url(../img/clippy.png);
    width: 150px;
    height: 139px;
    background-size: cover;
    background-repeat: no-repeat;
    position: fixed;
    bottom: 5px;
    right: 5px;
    cursor: pointer;
    display: none;
}

.note-editor.note-frame.expanded{
    position: fixed;
    top: 10px;
    left: 10px;
    width: calc(100vw - 20px);
    height: calc(100vh - 20px);
    z-index: 9999;
}

.note-editor.note-frame.expanded .note-statusbar{
    display: none;
}

.note-editable{
    font-size: 14px !important; 
    line-height: 1.4 !important;
    background: #fff;
}

.note-editor.note-frame.expanded .note-editable{
    height: calc(100vh - 65px) !important;
    border-radius: 4px;
}

.content-save-wait{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,.5);
    z-index: 99;
    display: none;
}

.hide{
    display: none;
}

#editor-sections-selectors > button{
    box-shadow: none !important;
}

#editor-sections-selectors > button:not(.active){
    opacity: .85;
}

.form-check-input{
    width: 20px;
    height: 20px;
}

.form-check-input:not(:disabled){
    cursor: pointer;
}

.adv-order-input{
    max-width: 45px;
    padding: 4px 0;
    text-align: center;
}

.c-i-n{
    max-width: 100px;
}

.img-box{
    box-shadow: 0px 1px 5px #efefef;
    position: relative;
}

.img-box .img-image{
    overflow: hidden;
}

.img-box .img-preview{
    width: 100%;
    height: 250px;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover!important;
    transition: transform .3s;
}

.img-box a:hover .img-preview{
    transform: scale(1.2);
}

.img-box button{
    position: absolute;
    top: 0;
    right: 0;
}