*,*::before,*::after{
    box-sizing: border-box;
}
* {
}
.bold {
    font-weight: bold;
}
body,html {
    min-height: 100%;
    height: 100%;
}
body {
    color: #666666;
    font-family: Arial;
    font-size: 15px;
    margin: 0;
}
h1,h2,h3,h4,h5,h6 {
    margin-bottom: 15px;
}
.hidden {
    display: none;
}
ul.rx-option-list {
    padding-left: 0;
}
.dialog h1 {
    margin-bottom: 20px;
}
.right {
    float: right;
}
.input-field {
    position: relative;
/*    padding: 10px;
    margin: 10px;*/
    padding: 10px 0 10px 0;
    margin: 10px 0 10px 0;
}
.input-field .fancy-select {
    margin: 0;
}
.input-field label {
    position: absolute;
    top: -6px;
    left: 0;
    background-color: white;
    font-size: 13px;
    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"], .input-field select {
    width: 100%;
    padding: 5px;
    border-radius: 4px;
}
input {
    border: 1px solid #666666;
    border-radius: 4px;
    padding: 5px;
}
.input-field .message.error {
    color: red;
    text-align: right;
    font-size: 12px;
}
.messages .form-message {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px;
}
.messages .form-message.error {
    color: red;
    background-color: #ffcccc;
    border-left: 5px solid red;
}
.messages .form-message.notice {
    color: #c49e12;
    background-color: #f7efd7;
    border-left: 5px solid #c49e12;
}
.messages .form-message.ok {
    color: #62856d;
    background-color: #dce6df;
    border-left: 5px solid #62856d;
}
.red {
    color: red;
}
a {
    color: #60a5fa; /*#00B8DB;*/
}
a.ajax {
    text-decoration: none;
}
a.ajax span.icon {
    font-size: 20px;
}
a.button, span.button, input[type="submit"], button {
    display: inline-block;
    padding: 8px;
/*    border: none;*/
    border: 2px solid #60a5fa;
    border-radius: 4px;
    background-color: #60a5fa;
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    height: 37px;
    cursor: pointer;
    margin-right: 20px;
    margin-top: 12px;
}
.button .icon {
    float: left;
    padding-right: 8px;
}
a.button:last-child, span.button:last-child, input[type="submit"]:last-child, button:last-child {
    margin-right: 0;
}
a.button.outline, span.button.outline, input[type="submit"].outline, button.outline, .button.cancel, button.cancel {
    background-color: transparent;
    border: 2px solid #60a5fa;
    color: #60a5fa;
}
.reorder-handle {
    font-size: 20px;
}
.floating-menu {
    position: fixed;
    z-index: 150;
    background-color: white;
    border-radius: 6px;
    border: 1px solid #666666;
/*    box-shadow: 3px 3px 3px #000000;*/
    max-height: 300px;
    max-width: 100%;
    padding: 10px;
}
.floating-menu .content {
    max-height: 290px;
    overflow: auto;
}
.floating-menu.widget {
    max-height: none;
}
.floating-menu.widget .content {
    max-height: 260px;
    overflow: auto;
}
.floating-menu ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}
.floating-menu ul li.menu-item a, .floating-menu ul li.menu-item span.label {
    padding: 6px 10px 6px 10px;
    display: block;
    font-size: 15px;
    color: #666666;
    text-decoration: none;
}
.floating-menu ul li.menu-item a:hover, .floating-menu ul li.menu-item span.label:hover {
    background-color: #60a5fa;
    color: #ffffff;
}
.floating-menu ul li.menu-item a span.icon {
    font-size: 15px;
    padding-right: 8px;
}
input.inline-edit {
    border: 1px solid #60a5fa;
    padding: 2px;
}
.dialog {
    position: fixed;
    width: 100%;
    background-color: white;
    z-index: 95;
    overflow: auto;
}
.dialog .content {
    padding: 20px;
}
.close-dialog {
    position: absolute;
    top: 5px;
    right: 5px;
    text-decoration: none;
    font-size: 25px;
    cursor: pointer;
}
@media only screen and (min-width: 512px) {
    .dialog {
        width: 500px;
    }
}
@media only screen and (min-width: 800px) {
    .dialog.wide {
        width: 800px;
    }
}
#veil {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: black;
    opacity: 0.4;
    z-index: 94;
}
#tooltip {
    background-color: #666666;
    color: white;
    position: absolute;
    padding: 8px;
    border-radius: 10px;
    max-height: 120px;
    z-index: 150;
}
#tooltip .content {
    overflow: hidden;
    max-height: 100px;
}
#tooltip.bottom:after, .floating-menu.bottom:after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -8px;
  width: 0; height: 0;
  border-bottom: 8px solid #666666;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
}
#tooltip.top:after, .floating-menu.top:after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -8px;
  width: 0; height: 0;
  border-top: 8px solid #666666;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;    
}

#tooltip .icon {
    padding: 6px;
}
.drag-ghost,.drop-ghost {
    opacity: 0.5;
}
.avatar {
    float: left;
    background-color: #00B8DB;
    color: #ffffff;
    border: 1px solid #666666;
    width: 40px;
    height: 40px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.avatar.small {
    width: 30px;
    height: 30px;
    font-size: 15px;
}
.avatar img {
    width: 100%;
}
.clickable {
    cursor: pointer;
}
.reorder-handle {
    cursor: n-resize;
}
.clearfix {
    overflow: auto;
}
.tag, .attachment {
    float: left;
    margin: 6px;
    white-space: nowrap;
    padding: 5px;
    border: 1px solid #666666;
    border-radius: 4px;
}
.tag:first-child {
    margin-left: 0;
}
#tooltip .tag, #tooltip .attachment {
    border: 1px solid #dddddd;
}
.file-upload {
    height: 100px;
    border: 2px dashed #999999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.file-upload.highlight {
    border-color: #60a5fa;
}
.float-left {
    float: left;
}
.float-right {
    float: right;
}
.fancy-select {
    min-width: 300px;
    width: 100%;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 10px;
    position: relative;
/*    position: relative;*/
}
.fancy-select .dropdown-trigger {
    position: absolute;
    right: 5px;
    background-color: white;
}
table .fancy-select {
    min-width: 100px;
    margin-top: 0;
    margin-bottom: 0;
}
.fancy-select .current-value {
    padding: 5px;
    border: 1px solid #666666;
    border-radius: 4px;
    background-color: white;
}
.fancy-select.disabled .current-value {
    background-color: #cccccc;
    cursor: auto;
}
.fancy-select .label {
    padding-right: 12px;
    font-weight: bold;
}
.fancy-select .value {
    padding-right: 8px;
}
.fancy-select ul {
    position: fixed;
    z-index: 95;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    border-radius: 6px;
    width: 100%;
    border: 1px solid #666666;
    overflow: auto;
    max-height: 250px;
}
.fancy-select ul li .label-container {
    padding: 5px;
}
.fancy-select ul li a {
    display: block;
    color: #666666;
    text-decoration: none;
    
}
.fancy-select ul li:hover, .fancy-select ul li:hover a {
    background-color: #60a5fa;
    color: white;
}
.flex-row {
    display: flex;
    flex-direction: row;
}
textarea {
    display: block;
    width: 100%;
    min-height: 100px;
}

/*.menu {
    display: none;
    position: absolute;
    border: 1px solid #333333;
    box-shadow: 2px 2px 2px #cccccc;
    z-index: 10;
    background-color: white;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.menu.active {
    display: block;
}
.menu .menu-item a {
    text-decoration: none;
    color: #333333;
    display: block;
    white-space: nowrap;
    padding: 5px;
    font-size: inherit;
}
.menu a .icon {
    margin-right: 5px;
}
.menu .menu-item a: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;
}

.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;
    color: #ffffff;
    background-color: #82999e;
    border: none;
    border-radius: 8px;
    padding: 8px;
    font-weight: bold;
    cursor: pointer;
}
a {
    color: #82999e;
}*/