*,*::before,*::after{
    box-sizing: border-box;
}
.bold {
    font-weight: bold;
}
#templates {
    display: none;
}
.dialog {
    position: fixed;
    width: 500px;
    background-color: white;
    z-index: 150;
    overflow: auto;
}
.dialog .inner {
    padding: 20px;
}
body {
    font-family: Arial;
    font-size: 14px;
}
.right {
    float: right;
}
button {
    margin: 20px;
}
.input-field {
    position: relative;
    padding: 10px;
    margin: 10px;
}
.input-field label {
    position: absolute;
    top: -8px;
    left: 5px;
    background-color: white;
    font-size: 12px;
    color: #666666;
}
.input-field.input-field-checkbox label {
    position: static;
    font-size: inherit;
    top: 0;
    left: 0;
}
.input-field.input-field-checkbox input {
    float: left;
}
.input-field input[type="text"], .input-field input[type="password"] {
    width: 100%;
}
.input-field .message.error {
    color: red;
    text-align: right;
    font-size: 12px;
}
form .messages .form-message.error {
    margin: 10px;
    padding: 10px;
    color: red;
    background-color: #ffcccc;
    border: 1px solid red;
}
form .messages .form-message.notice {
    margin: 10px;
    padding: 10px;
    color: #444444;
    background-color: #cccccc;
    border: 1px solid #444444;
}
#veil {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: black;
    opacity: 0.4;
    z-index: 150;
}
.menu {
    display: none;
    position: absolute;
    border: 1px solid #333333;
    box-shadow: 2px 2px 2px #cccccc;
    z-index: 10;
    background-color: white;
}
.menu.active {
    display: block;
}
.menu a.option {
    text-decoration: none;
    color: #333333;
    display: block;
    white-space: nowrap;
    padding: 5px;
    font-size: inherit;
}
.menu a .icon {
    margin-right: 5px;
}
.menu a.option:hover {
    background-color: #cccccc;
}
#popup {
    display: inline-block;
    position: absolute;
    max-width: 350px;
    background-color: black;
    color: white;
    padding: 5px;
    border-radius: 5px;
    z-index: 20;
}
a.icon {
    text-decoration: none;
    color: #333333;
}
a.button {
    padding: 10px;
    border-radius: 20px;
    background-color: #bdddde;
}
.icon-button {
    font-size: 26px;
}
h1 a {
    font-size: 16px;
}
ul {
    padding-left: 10px;
}
textarea {
    display: block;
    width: 100%;
    min-height: 150px;
}
.redactor-in {
    min-height: 150px;
}
.hover-button {
    display: none;
    position: absolute;
    display: inline-block;
    right: 8px;
    top: 8px;
    background-color: #eeeeee;
    padding: 8px;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 2px 2px 2px #cccccc;
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
}
.hover-parent:hover .hover-button {
    display: block;
    opacity: 1;
}
div.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right:0;
    height: 40px;
    color: white;
    background-color: #666666;
    z-index: 100;
}
.navigation>a, .navigation>span.menu-trigger {
    color: white;
    text-decoration: none;
    font-size: 28px;
    position: relative;
}
.clickable {
    cursor: pointer;
}
.tag {
    border: 1px solid #333333;
    padding: 5px;
    margin: 5px;
    border-radius: 3px;
}
table {
    border:1px solid #333333;
    border-collapse: collapse;
    background-color: white;
}
table th, table td {
    border: 1px solid #333333;
    padding: 3px;
}
.drop-container {
    user-select: none;
}
.dragging {
    z-index: 160;    
}
.drag-ghost, .drag-ghost td {
    background-color: #dddddd;
}
.drop-ghost, .drop-ghost td {
    background-color: #f2f0b3;
}
.icon:before {
    display: inline-block;
    padding: 5px;
}
.clearfix {
    overflow: auto;
}
.hidden {
    display: none;
}
.float-right {
    float: right;
}
.menu-trigger {
    margin: 5px;
}
input[type="submit"] {
    margin-left: 20px;
}