@font-face {
    font-family: "jf-openhuninn";
    src: url("/static/font/jf-openhuninn-1.1.ttf");
}



html {
    background-color: #f7f7f7;
}

/* @media screen and (max-width: 768px) {
    html, body {
        background-color: #B8DCED;
    }
} */

*:not(i) {
    box-sizing: border-box;
    /* font-family: Arial, Helvetica, sans-serif; */
    font-family: jf-openhuninn !important;
}

body {
    padding: 0;
    margin: 0;
}

main:not(.escap-padding) {
    padding: 10px;
}

.columns.no-margin {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
}

.message {
    background-color: white;
}

/* 
    Text coloring
*/

.text.is-success,
.fa.is-success,
.fas.is-success,
.far.is-success {
    /* * This color from Bulma palette */
    color: hsl(141, 53%, 53%);
}

.text.is-danger,
.fa.is-danger,
.fas.is-danger,
.far.is-danger {
    color: hsl(348, 100%, 61%);
}


.text.is-warning,
.fa.is-warning,
.fas.is-warning,
.far.is-warning,
.text.is-warning-child > *,
.text.is-warning-child:hover > *,
.text.is-warning-child > *:hover {
    color: hsl(35, 100%, 51%);
}

.text.is-marked {
    color: tomato;
}

/* 
Sidebar
*/
nav.sidebar {
    padding: 0 10px;
}
nav.sidebar a {
    display: block;
    background: rgb(215, 216, 235);
    padding: 15px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}
nav.sidebar a:hover {
    background: #bdbddd;
    color: rgb(235, 235, 235);
}
nav.sidebar a.is-active {
    background: #9f9fda;
    color: white;
}
nav.sidebar a.is-active:hover {
    background: #8b8bca;
}

nav.sidebar a.mark {
    background-color: lightgray;
    color: gray
}
nav.sidebar a.mark:hover {
    background-color: lightgray;
    color: gray
}

nav.sidebar a.subtitle {
    font-weight: 600;
    background: transparent;
    padding: 0;
    margin-bottom: 5px;
    font-size: 1rem;
}

ul li.is-disabled,
ul li.is-disabled * {
    cursor: not-allowed;
    color: gray;
}

.input-with-label .input {
    max-width: calc(100% - 100px);

}
.input-with-label.right .input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input-with-label.left .input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-with-label .input-label {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    background: rgb(244, 244, 244);
    width: 100px;;

    border: 1px solid #dbdbdb;
    padding: 0 10px;
}
.input-with-label.right .input-label {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-left: 0;
}
.input-with-label.left .input-label {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-right: 0;
}

section.editor {
    background: rgb(238, 238, 238);
    min-height: 300px;
    padding: 5px;
    border: 1px solid rgba(49, 49, 49, 0.2);
}
section.editor:focus {
    outline: 1px gray solid;
}

.is-hoverable {
    cursor: pointer;
}

.popover {
    background: black;
    color: white;
    /* display: -webkit-box; */
    position: absolute;
    padding: 5px 10px;
    border-radius: 5px;
    transition: .2s;
    opacity: 0;
}
.popover.show {
    opacity: 1;
}

.input-with-label .input {
    max-width: calc(100% - 100px);

}
.input-with-label.right .input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input-with-label.left .input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-with-label .input-label {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    background: rgb(244, 244, 244);
    width: 100px;;

    border: 1px solid #dbdbdb;
    padding: 0 10px;
}
.input-with-label.right .input-label {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-left: 0;
}
.input-with-label.left .input-label {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-right: 0;
}

button#music-mute {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgb(243, 243, 243);
    box-shadow: 0 0 5px 2px rgba(111, 224, 255, 0.294);
    font-size: 26px;
    cursor: pointer;
    transition: .1s;
    z-index: 1000;
}

button#music-mute:hover {
    background: white;
    font-size: 30px;
}

button#music-mute:active {
    background: rgb(239, 239, 239);
    font-size: 28px;
}