body {
    min-height: 10vh;
    /*background: #f7f7f7;
    background: radial-gradient(circle, rgba(238, 238, 238, 0.37) 0%, rgba(238, 238, 238, 0.63) 44%, rgb(251, 251, 251) 100%);
    background-attachment: fixed;*/
    font-family: 'ew-lato', sans-serif;
    background-image: url(https://ewcdn.de/img/backdrop/backdrop6.png);
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    overflow-x: clip;
}
body.basic {
    background: rgba(238, 238, 238, 0.18);
}
body.iframe {
    background: none;
}

h1 {
    /*font-family: 'ew-norwester', sans-serif;*/
    font-size: 1.8em;
    /*line-height: 1.5em;*/
    line-height: 1.4em;
    padding: 5px 24px;
}
h2 {
    font-size: 1.4em;
    line-height: 1.4em;
    padding: 5px 24px;
}
h3 {
    font-size: 1.2em;
    line-height: 1.2em;
    padding: 5px 24px;
}
h4, h5, h6 {
    font-size: 1.1em;
    line-height: 1.2em;
    padding: 5px 24px;
}
/*h2 + div, h3 + div, h4 + div {
    margin-top: 10px !important; /* todo: check if good? *
}*/
h1 i, h2 i, h3 i, h4 i, h5 i, h6 i {
    margin-right: 10px;
    --fa-secondary-opacity: 1.0;
    --fa-secondary-color: hsla(var(--ew-color-hue), 100%, 45%, 0.82);
}
a {
    cursor: pointer;
}
a.block {
    display: block;
}
.ew-pre-headline {
    /*font-family: 'ew-norwester', sans-serif;*/
    font-size: 1em;
    line-height: 1.4em;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 15px 0 10px;
    color: rgba(0, 0, 0, 0.74);
}
.ew-pre-headline.space {
    padding-bottom: 15px;
}
.ew-pre-headline a {
    text-decoration: none;
    padding: 0 7px;
}
.ew-pre-headline a:hover {
    text-decoration: underline;
}
.ew-pre-headline + h1 {
    padding-top: 5px;
}
.ew-pre-headline a i {
    /*display: inline-block;*/
    display: none;
    margin-right: 7px;
}

#ew-app {
    min-height: 100vh;
    padding-bottom: 100px;
}
body.iframe #ew-app {
    min-height: auto;
    padding-bottom: 0;
}

#ew-header {
    background: hsla(var(--ew-color-hue), 100%, 74%, 0.9);
    border-bottom: 2px solid hsla(var(--ew-color-hue), 100%, 64%, 0.9);
    box-shadow: 0 -2px 15px #00000017;
    /*overflow: hidden;*/
    position: relative;
    z-index: 5050;
}

.ew-header-icons > a, .ew-header-icons > .header-icon, #ew-power-bar a  {
    text-decoration: none;
    transition: transform .2s ease-in-out;
}
.ew-header-icons .header-icon {
    display: inline-block;
    position: relative;
}
.ew-header-icons .header-icon .ew-context-menu {
    position: absolute;
    width: 220px;
    top: 53px;
    left: -92px;
    z-index: 5050;
    box-shadow: 1px 1px 5px #00000036, 0 0 50px 10px #ffffff5e !important;
}
.ew-header-icons .header-icon .ew-context-menu a, .ew-header-icons .header-icon .ew-context-menu a .label, .ew-header-icons .header-icon .ew-context-menu button, .ew-header-icons .header-icon .ew-context-menu button .label {
    transform: none !important;
    height: 40px;
    line-height: 24px;
}
.ew-header-icons .header-icon:hover .ew-context-menu {
    display: block;
    visibility: visible;
    opacity: 1;
}
.ew-header-icons .header-icon:hover {
    background: hsla(var(--ew-color-hue), 100%, 81%, 0.8);
}
.ew-header-icons .header-icon:hover > a {
    font-weight: bold;
}
.ew-header-icons > a.text {
    padding: 0 10px;
}

#ew-header a:hover, .ew-header-icons > .header-icon:hover, #ew-power-bar a:hover {
    text-decoration: underline;
}

#ew-header a:hover {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.66);
    transform: scale(1.05);
}
#ew-header a.no-scale:hover, #ew-header-profile-menu a:hover, #ew-header-main-menu a:hover {
    transform: none;
}

#ew-header section {
    height: 60px
}

#ew-header-bar {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: stretch;
}

.ew-header-icons {
    flex-grow: 1;
    font-size: 1.1em;
    line-height: 60px;
    padding: 0 7px;
}
.ew-header-icons.r {
    padding-right: 0;
}

.ew-header-icons > a, .ew-header-icons a {
    display: inline-block;
    height: 60px;
    line-height: 60px;
    color: #000000a6;
}
.ew-header-icons > a, .ew-header-icons a {
    display: inline-block;
    height: 60px;
    text-align: center;
    line-height: 60px;
    color: #000000a6;
    transition: transform .2s ease-in-out;
}
.header-icon {
    padding: 0;
}
.ew-header-icons > a > i, .header-icon > a > i {
    width: 40px;
}

.ew-header-icons > a:hover, .ew-header-icons a:hover {
    color: black;
}

.ew-header-icons .divider {
    border-left: 1px solid #0000003b;
    margin-left: 7px;
    padding-left: 7px;
    width: 14px;
    height: 60px;
}

#ew-header-logo, #ew-header-logo-full, #ew-header-logo-wrap, #ew-header-logo-custom, #ew-header-logo-mobile {
    display: block;
    width: 150px;
    min-width: 150px;
    height: 60px;
    flex-grow: 0;
    transition: all 200ms ease;
}
#ew-header-menu-opener {
    display: none;
}
#ew-header-logo, #ew-header-logo-full {
    background: no-repeat center url('../img/easework-logo.svg');
    background-size: 150px;
}
#ew-header-logo-mobile {
    display: none;
}
#ew-header-business-logo {
    position: absolute;
    left: calc(50% - 100px);
    top: 0;
    width: 200px;
    height: 60px;
    padding: 0;
    transition: all 200ms ease;
}
#ew-header-business-logo div {
    height: 46px;
    margin: 7px;
    background-size: contain;
}

#ew-header-profile {
    position: relative;
    width: 60px;
    flex-grow: 0;
}
#ew-header-profile > a {
    padding: 0 !important;
}
/*#ew-header-profile div {
    text-align: right;
    font-size: 1.1em;
    line-height: 60px;
    padding: 0 15px;
}
#ew-header-profile i {
    margin-left: 10px;
}*/
#ew-header-profile-logo {
    display: inline-block;
    border: 1px solid hsla(var(--ew-color-hue), 100%, 30%, 0.9);
    border-radius: 25px;
    box-shadow: 3px 3px 5px #00000014;
    width: 43px;
    height: 43px;
    background: white;
    background-size: cover;
    margin: 7px 10px;
    transition: transform .2s ease-in-out;
}
#ew-header-profile:hover #ew-header-profile-logo {
    transform: scale(1.1);
}
#ew-header-profile-menu {
    display: none;
    position: absolute;
    top: 5px;
    right: 5px;
    width: 320px;
    min-height: 400px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 1px 1px 5px #00000036, 0 0 50px 20px #ffffff55;
    min-width: 225px;
    padding: 5px 0 10px 0;
    transition: all 200ms ease;
    z-index: 5260;
}
#ew-header-main-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: auto;
    /*width: 320px;
    min-height: 400px;*/
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 1px 1px 5px #00000036, 0 0 50px 20px #ffffff55;
    min-width: 225px;
    padding: 0 0 10px 0;
    transition: all 200ms ease;
    z-index: 6260;
}
#ew-header-main-menu > header {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
    height: 60px;
    min-height: 60px;
    z-index: 6270;
}
#ew-header-main-menu > article {
    height: calc(100% - 60px);
    overflow-y: auto;
}
#ew-header-main-menu .header-icons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 0;
    margin-bottom: 5px;
}
#ew-header-main-menu .header-icons > a, #ew-header-main-menu .header-icons > button {
    flex-grow: 0;
    width: 20%;
    margin: 0;
    text-align: center;
}
#ew-header-main-menu .header-icons > a i {
    margin: 0;
}
#ew-header-profile-menu.open, #ew-header-main-menu.open {
    display: block;
}
#ew-header-profile-menu a.settings, #ew-header-profile-menu a.close, #ew-header-main-menu > header > a.close {
    position: absolute;
    top: 0;
    display: inline-block;
    text-align: center;
    width: 60px;
    height: 60px;
    line-height: 60px;
    color: #0000006e;
    transition: all ease 200ms;
}
#ew-header-profile-menu a.settings:hover, #ew-header-profile-menu a.close:hover, #ew-header-main-menu > header > a.close:hover {
    color: black;
}
#ew-header-profile-menu a.settings, #ew-header-main-menu > header > a.close {
    left: 0;
    font-size: 23px;
}
#ew-header-profile-menu a.close {
    right: 0;
    font-size: 25px;
}
#ew-header-profile-menu div.image {
    display: block;
    text-align: center;
}
#ew-header-profile-logo-large, #ew-auth-profile-image, .ew-headline-profile-image, .ew-inline-profile-image {
    display: inline-block;
    /*border: 1px solid hsla(var(--ew-color-hue), 100%, 30%, 0.9);*/
    border-radius: 50px;
    /*box-shadow: 0 0 2px #00000026, 2px 2px 7px #0000003d;*/
    box-shadow: 0 0 2px #00000029, 2px 2px 7px #0003;
    width: 90px;
    height: 90px;
    background: white;
    background-size: cover;
    transition: transform .2s ease-in-out;
    margin: 30px 20px 0 20px;
}
#ew-auth-profile-image {
    width: 115px;
    height: 115px;
    border-radius: 60px;
    margin: 0 0 10px 0;
}
.ew-headline-profile-image {
    position: absolute;
    margin: 0 0 0 15px;
    top: 0;
    left: 0;
    width: 85px;
    height: 85px;
    z-index: 5020;
}
.ew-headline-profile-image:hover {
    transform: scale(2);
}
.ew-inline-profile-image {
    position: absolute;
    top: 5px;
    left: 15px;
    margin: 0;
    width: 35px;
    height: 35px;
}
td:first-child .ew-inline-profile-image, td.with-image .ew-inline-profile-image {
    left: 5px;
}
#ew-header-profile-logo-large:hover, tr:hover .ew-inline-profile-image {
    transform: scale(1.05) !important;
}
#ew-header-profile-menu a.name {
    display: block;
    text-align: center;
    text-decoration: none;
    margin-bottom: 15px;
}
#ew-header-profile-menu a.name .name {
    font-size: 1.1em;
}
#ew-header-profile-menu a.name:hover .name {
    text-decoration: underline;
}
#ew-header-profile-menu div.position {
    display: block;
    text-align: center;
    color: grey;
    font-size: 0.9em;
}
#ew-header-profile-menu h3, #ew-header-main-menu h3 {
    padding: 7px 10px 5px 12px;
    text-transform: uppercase;
    font-size: 0.8em;
    color: #00000054;
    letter-spacing: 1px;
}

#ew-power-bar {
    background: hsla(var(--ew-color-hue), 100%, 95%, 0.9);
    box-shadow: 0 0 5px #00000030, 0 2px 15px #0000001c;
    /*box-shadow: 0 0 5px #0000002e, 0 2px 15px #00000030;
    box-shadow: 0 0 5px #00000026, 0 2px 15px #0000002e;*/
    height: 50px;
    position: relative;
    z-index: 5010;
    white-space: nowrap;
}
/*#ew-power-bar:hover {
    z-index: 5100; todo special case logo bigger.
}*/
#ew-power-bar section {
    margin: 0 50px;
    padding: 5px;
}
#ew-power-bar ul {
    list-style: none;
}
#ew-power-bar li {
    margin: 0;
    padding: 0;
    display: inline-block;
    position: relative;
    text-decoration: none;
}
#ew-power-bar a {
    display: inline-block;
    opacity: 0.8;
    padding: 8px 12px;
    transition: all 100ms ease-in-out;
}
#ew-power-bar a:hover {
    opacity: 1;
    background: #00000008;
}
#ew-power-bar i:first-child {
    padding-right: 9px;
    opacity: 0.6;
}
#ew-power-bar li li i:first-child {
    width: 30px;
    text-align: center;
}
#ew-power-bar i:last-child {
    padding-left: 7px;
    opacity: 0.3;
}
#ew-power-bar li li,
#ew-power-bar li li a {
    display: block;
}
#ew-power-bar section > ul > li > a {
    transition-duration: 0.5s;
    border-radius: 7px;
}
#ew-power-bar li:hover > a,
#ew-power-bar li:focus-within > a {
    background: hsla(var(--ew-color-hue), 100%, 74%, 0.5);
    cursor: pointer;
    outline: none;
}
#ew-power-bar li li:hover > a,
#ew-power-bar li li:focus-within > a {
    background: hsla(var(--ew-color-hue), 100%, 74%, 0.3);
}
#ew-power-bar ul li ul {
    display: none;
    visibility: hidden;
    opacity: 0;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 1px 1px 5px #00000036, 0 0 50px 20px #ffffff55;
    min-width: 225px;
    position: absolute;
    transition: all 200ms ease;
    margin-top: 0;
    left: 0;
    padding: 5px 0 10px 0;
}
#ew-power-bar ul li ul li ul {
    position: absolute;
    left: 200px;
    top: -5px;
}
#ew-power-bar2 ul li ul {
    visibility: visible;
    opacity: 1;
    display: block;
}
#ew-power-bar ul li:hover > ul,
#ew-power-bar ul li:focus-within > ul,
#ew-power-bar ul li ul:hover,
#ew-power-bar ul li ul:focus {
    visibility: visible;
    opacity: 1;
    display: block;
}
#ew-power-bar ul li ul.hidden {
    visibility: hidden;
    opacity: 0;
    display: none;
}

.ew-header-icons .ew-bubble {
    position: absolute;
    top: -12px;
    right: -12px;
    padding: 3px 5px;
    font-size: 0.6em;
    background: #ffd5d5b8;
    border: 1px solid #ba0000a6;
    color: #ba0000c2;
    border-radius: 20px;
    font-weight: bold;
    letter-spacing: 1px;
}
.ew-header-icons .ew-bubble-dot {
    display: none;
    position: absolute;
    top: -9px;
    right: 16px;
    padding: 2px;
    font-size: 0.6em;
    background: #ffd5d5b8;
    border: 1px solid #ba0000a6;
    color: #ba0000c2;
    border-radius: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    width: 2px;
    height: 2px;
}

.ew-wrap, .ew-wrap-contain {
    margin: 0 auto;
    clear: both;
}

@media only screen and (min-width: 1410px) {
    .ew-wrap {
        width: 1400px;
    }
    .ew-wrap, .ew-wrap-contain {
        max-width: 1400px;
    }
}

.ew-wrap.full-width {
    width: 100%;
    max-width: none;
}
.ew-wrap.full-width > .ew-box {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#ew-content {
    transition: opacity ease-in-out 400ms;
}
#ew-app.dialog.confirm #ew-content {
    position: fixed;
    width: 100%;
}
#ew-content > header { /* #ew-content > .ew-wrap:first-child */
    /*background: #ffffff4d;
    box-shadow: 0 -1px 7px #0000001a;
    background: #8280800a;*/
    border: 2px solid #1717170a;
    border-radius: 0 0 10px 10px;
    border-top: 0;
    margin-top: 0;
    padding-top: 2px;
    padding-bottom: 30px;
}

.ew-wrap {
    position: relative;
}
#ew-content > header + div.ew-wrap {
    margin-top: -55px;
}

h2, h3, h4 {
    /*line-height: 1.8em;*/
}
.ew-wrap > section, .ew-wrap > .ew-wrap-contain > section, .ew-wrap > form > section, .ew-wrap > .ew-wrap-contain > form > section, .ew-wrap > h2, .ew-wrap > .ew-wrap-contain > h2 {
    margin: 25px 50px;
}
header.ew-wrap > .ew-page-title {
    margin-bottom: 15px;
}
header.ew-wrap > .ew-page-title.with-image {
    position: relative;
    margin-bottom: 15px;
    padding-left: 100px;
}
header.ew-wrap > .ew-page-title h1 {
    padding: 5px 18px;
}
header.ew-wrap > .ew-page-title h1 i {
    margin-left: 6px;
}
header.ew-wrap > .ew-action-bar {
    margin-top: 15px;
}

.ew-box, .floating-action-bar.active .box {
    background: white;
    color: black;
    box-shadow: 1px 1px 6px -2px #00000057;
    border-radius: 2px;
    margin: 0 10px;
    min-height: 50px;
    /*overflow: hidden;
    overflow-x: auto;*/
}
.ew-box.rounded {
    border-radius: 15px;
}
.ew-wrap.survey-box {
    max-width: 700px;
}
.ew-wrap.survey-box .ew-box {
    margin-right: 20px !important;
    margin-left: 20px !important;
    background: #f0f0f0cc;
}
#ew-app.dialog .ew-wrap.survey-box .ew-box {
    background: white;
}
.ew-wrap.survey-box h2 {
    margin-top: 20px;
}
.ew-wrap.survey-box .panel-article h2 {
    margin-top: 0;
}
.ew-wrap.survey-box h2 + .ew-text article {
    padding-top: 0;
}
.ew-wrap.survey-box input.decimal, .ew-wrap.survey-box input[type="number"] {
    width: 180px;
}
.ew-box.card {
    box-shadow: 1px 1px 8px -2px #00000069;
    border-radius: 12px;
    padding: 30px 10px;
}

.ew-outline {
    background: none;
    border: 2px dashed #00000014;
}

@media only screen and (max-width: 768px) {
    .ew-box {
        margin: 25px 0;
    }
}

.flex-row > .ew-box:first-child {
    margin-left: 0;
}
.flex-row > .ew-box:last-child {
    margin-right: 0;
}
.ew-wrap > section, .ew-wrap > .ew-wrap-contain > section, .ew-wrap > form > section, .ew-wrap > .ew-wrap-contain > form > section {
    margin-right: 50px !important;
}

#ew-header section {
    margin: 0 50px;
}

.ew-rel-left {
    position: absolute;
    top: 3px;
    left: 0;
    /*float: left;*/
    width: 50px;
    padding: 5px 0;
}
.ew-rel-right {
    position: absolute;
    top: 3px;
    right: 0;
    /*float: right;*/
    width: 50px;
    padding: 5px 0;
}
.ew-wrap.full-width .ew-rel-left, .ew-wrap.full-width .ew-rel-right {
    display: none;
}
#ew-content > header > aside {
    padding-top: 60px;
}

.ew-rel-left a, .ew-rel-right a {
    display: block;
    height: 40px;
    width: 50px;
    min-width: 50px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: ease-in-out 300ms;
    padding-left: 10px;
}

.ew-rel-left a i, .ew-rel-right a i {
    display: inline-block;
    line-height: 40px;
    background: white;
    border-radius: 20px 0 0 20px;
    width: 40px;
    text-align: center;
}

.ew-wrap:hover .ew-rel-left a, .ew-wrap:hover .ew-rel-right a {
    opacity: 0.3;
    visibility: visible;
}

.ew-rel-left a:hover, .ew-rel-right a:hover {
    opacity: 1 !important;
}

.ew-mid {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 3px;
}

.ew-id {
    display: inline-block;
    vertical-align: middle;
    margin-left: 15px;
    font-size: 0.5em;
    color: hsla(var(--ew-color-hue), 100%, 45%, 0.82);
    opacity: 0.7;
}
.ew-id:hover {
    opacity: 1;
}
.ew-id span {
    display: inline-block;
    margin-right: 5px;
}
.ew-id span:first-child {
    margin-right: 5px;
}
.ew-key {
    display: inline-block;
    vertical-align: middle;
    background: hsla(var(--ew-color-hue), 100%, 45%, 0.2);
    margin-left: 12px;
    font-size: 0.5em;
    padding: 5px 10px;
    border-radius: 10px;
    line-height: 25px;
    transform: translate(0, -3px);
}
.ew-key:first-child {
    margin-left: 20px;
}
a .ew-key {
    font-size: 0.8em;
    line-height: 15px;
}

#ew-footer {
    background: grey;
    background: hsla(var(--ew-color-hue), 100%, 95%, 0.9);
    border-top: 1px solid #0000001c;
    /*background: hsla(var(--ew-color-hue), 100%, 74%, 0.9);
    box-shadow: 0 -2px 15px #0000001c;*/
    position: relative;
    z-index: 100;
}
body.shop #ew-footer, body.basic #ew-footer {
    background: #f3f3f3;
    box-shadow: none;
}
#ew-footer.auth {
    background: #fffffff2;
}

#ew-footer section {
    padding: 20px 15px;
    margin-top: 0;
    margin-bottom: 0;
}
.ew-footer-debug-note {
    text-align: center;
    font-size: 0.8em;
    line-height: 1.2em;
    padding: 10px;
    opacity: 0.8;
    color: #00000045;
    border-top: 1px solid #00000012;
}
.ew-footer-debug-note span {
    opacity: 0.4;
    display: inline-block;
    margin: 0 2px;
}
#ew-footer .ew-footer-debug-note {
    margin-top: 20px;
}

#ew-auth-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: red;
    z-index: -1;
}
#ew-powered-by {
    display: block;
    position: fixed;
    bottom: 10vh;
    left: 5vw;
    background: rgba(255, 255, 255, 0.24);
    background: hsla(var(--ew-color-hue), 100%, 85%, 0.75);
    padding: 15px 25px;
    text-decoration: none;
    z-index: 20;
    outline: 5px solid #0000000a;
    text-align: center;
    border-radius: 2px;
}
#ew-powered-by:hover div.slogan {
    text-decoration: underline;
}
#ew-powered-by div.slogan {
    font-size: 0.9em;
    padding: 0 5px;
}
#ew-powered-by img, #ew-powered-by div.logo {
    height: 60px;
}
@media only screen and (max-width: 768px) {
    #ew-powered-by {
        display: none;
    }
}
#ew-auth-backdrop-copyright {
    display: inline-block;
    position: fixed;
    bottom: 10px;
    right: 15px;
    color: #ffffffb0;
}

.ew-auth {
    padding-top: 50px;
}
.ew-auth .ew-wrap:first-child section {
    margin-top: 0;
}
#ew-content.ew-auth .ew-wrap {
    max-width: 550px;
    position: relative;
    z-index: 30;
}
#ew-content.ew-auth .ew-box {
    box-shadow: 2px 2px 10px #00000030;
}
#ew-cover-business-logo {
    width: 400px;
    height: 100px;
    margin: 0 auto 25px auto;
}
#ew-cover-business-logo-half {
    width: 200px;
    height: 50px;
    margin: 0 auto 25px auto;
}
#ew-app.dialog #ew-cover-business-logo, #ew-app.dialog #ew-cover-business-logo-half {
    margin-top: 50px;
}

button, a.button {
    position: relative;
    display: inline-block;
    /*background: #e4e4e4fa;
    background: #f0f0f0;
    border: 1px solid #00000014;
    background: hsla(var(--ew-color-hue), 50%, 88%, 0.82);*/
    background: #eaeaea;
    border: 1px solid hsla(var(--ew-color-hue), 40%, 62%, 0.22);
    border-radius: 4px;
    box-shadow: 3px 3px 7px #0000000d;
    color: #000000b8;
    font-size: 1.1em;
    padding: 12px 20px;
    cursor: pointer;
    margin: 0 10px 10px 0;
    /*margin-right: 10px;
    margin-bottom: 10px;*/
    transition: all 160ms ease-in-out;
    text-decoration: none;
}
button.merged, a.button.merged {
    margin-right: 2px;
}
button .right, a.button .right {
    position: absolute;
    right: 20px;
}
* {
    outline: 0 solid #00000000;
}
*:focus {
    outline: 5px solid #0000000a;
}
.drag-over {
    outline: 2px dashed rgba(255, 178, 0, 0.68);
}
#ew-content:focus, .leaflet-container:focus {
    outline: 0 !important;
}
.no-outline, *:active {
    outline: 0 solid #00000000;
}
button:disabled, a.button.disabled, a.disabled {
    cursor: not-allowed;
}
button.loading, a.button.loading, a.loading {
    cursor: progress;
}
button:enabled:hover, a.button:hover {
    /*background: #e4e4e4;
    border: 1px solid #00000026;*/
    background: hsla(var(--ew-color-hue), 50%, 80%, 0.82);
    border: 1px solid hsla(var(--ew-color-hue), 100%, 69%, 0.72);
    box-shadow: 3px 3px 7px #00000021;
    text-decoration: none !important;
    transform: scale(1.025);
}
button.red-hover:enabled:hover, a.button.red-hover:hover {
    background: hsla(0, 50%, 80%, 0.82);
    border: 1px solid hsla(0, 100%, 69%, 0.72);
}
.ew-context-menu button:hover, .ew-context-menu button:enabled:hover, .ew-context-menu a.button:hover {
    transform: none;
}
button:enabled:active, a.button:active {
    background: #d3d3d3;
    border: 1px solid #00000026;
    box-shadow: 3px 3px 7px #00000021;
    text-decoration: none !important;
}
button:enabled:hover .label, a.button:hover .label {
    border: 0 !important;
}
button.primary, a.button.primary {
    background: hsla(var(--ew-color-hue), 100%, 45%, 0.82);
    border: 1px solid #00000021;
    box-shadow: 3px 3px 7px #00000024;
    color: white;
    font-weight: bold;
    margin-right: 15px;
}
button.primary.merged, a.button.primary.merged {
    margin-right: 2px;
}
button.primary:enabled:hover, a.button.primary:hover {
    background: hsla(var(--ew-color-hue), 100%, 42%, 0.82);
    color: white;
    border: 1px solid #00000036;
    box-shadow: 3px 3px 9px #00000035;
}
button.primary:enabled:active, a.button.primary:active {
    background: hsla(var(--ew-color-hue), 100%, 30%, 0.82);
    color: white;
    border: 1px solid #00000036;
    box-shadow: 3px 3px 12px #00000035;
}

button.cta, .button.cta {
    background: #ffaa0f;
    padding: 15px 50px;
    border-radius: 10px;
    box-shadow: 3px 3px 42px #ffffff26, 3px 3px 7px #00000021;
}
button.cta:hover, .button.cta:hover {
    background: #ffb225;
    box-shadow: 3px 3px 22px #ffffff1a, 3px 3px 7px #0000003d;
    transform: scale(105%) !important;
    transition: 200ms ease-in-out all;
}
button.cta.dark {
    background: #2e2e2d;
    color: white !important;
}

/*button:last-child, a.button:last-child {
    margin-right: 0;
}*/
button:disabled {
    opacity: 0.5;
    font-style: italic;
    text-decoration: line-through;
    text-decoration-color: #0000004d;
}
button.primary:disabled {
    text-decoration-color: #ffffff8c;
}
button.loading:disabled {
    font-style: normal;
    text-decoration: none;
}

button i, a.button i {
    margin-right: 10px;
}
button i:last-child, a.button i:last-child {
    margin-right: 2px;
    margin-left: 10px;
}
button i:only-child, a.button i:only-child {
    margin-left: 0;
}
button i:only-child {
    margin-right: 0;
    margin-left: 0;
}
button .label:first-child, a.button .label:first-child {
    margin-left: 5px;
}
button .label:only-child, a.button .label:only-child {
    margin-left: 0;
}

.whitespace {
    display: block;
    height: 42px;
}
.separator.line-top {
    margin: 10px 0;
}
.separator.line-top.spacy {
    margin: 25px 0 20px 0;
}
.separator.line-top + .separator.line-top {
    display: none;
}
.line-top {
    border-top: 2px solid rgba(0, 0, 0, 0.06);
}
.line-top.dotted {
    border-top: 2px dotted rgba(0, 0, 0, 0.06);
}
.line-top.dashed {
    border-top: 2px dashed rgba(0, 0, 0, 0.06);
}
.line-right {
    border-right: 2px solid rgba(0, 0, 0, 0.06);
}
.line-right.dotted {
    border-right: 2px dotted rgba(0, 0, 0, 0.06);
}
.line-right.dashed {
    border-right: 2px dashed rgba(0, 0, 0, 0.06);
}
.line-bottom {
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}
.line-bottom.dotted {
    border-bottom: 2px dotted rgba(0, 0, 0, 0.06);
}
.line-bottom.dashed {
    border-bottom: 2px dashed rgba(0, 0, 0, 0.06);
}
.line-left {
    border-left: 2px solid rgba(0, 0, 0, 0.06);
}
.line-left.dotted {
    border-left: 2px dotted rgba(0, 0, 0, 0.06);
}
.line-left.dashed {
    border-left: 2px dashed rgba(0, 0, 0, 0.06);
}
.higher {
    box-shadow: 0 0 5px #00000014;
}

.ew-kebab-menu {
    position: relative;
}

.ew-context-menu {
    display: none;
    visibility: hidden;
    opacity: 0;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 1px 1px 5px #00000036, 0 0 50px 20px #ffffff55;
    min-width: 225px;
    position: absolute;
    /*transition: all 200ms ease;*/
    margin-top: 0;
    left: 0;
    padding: 5px 0 10px 0;
    z-index: 6000;
    /*font-size: 0.9em;*/
}
.ew-context-menu.compact {
    min-width: 185px;
}
.ew-kebab-menu .ew-context-menu {
    /*display: block;
    visibility: visible;
    opacity: 1;*/
    position: absolute;
    top: 5px;
    right: 5px;
    left: auto;
    min-width: 185px;
    /*width: 185px;*/
    overflow: auto;
    max-height: 310px;
}
.ew-kebab-menu.long .ew-context-menu {
    max-height: none;
}
.ew-kebab-menu .ew-context-menu.right {
    right: auto;
    left: 5px;
}
.ew-kebab-menu .ew-context-menu.open, .ew-context-menu.open {
    display: block;
    visibility: visible;
    opacity: 1;
}
.ew-kebab-menu a.kebab-menu.icon-only {
    display: inline-block;
    padding: 10px 15px;
    text-align: center;
    border-radius: 4px;
}
.ew-kebab-menu a.kebab-menu.icon-only:hover {
    background: #00000008;
}
td .ew-kebab-menu a {
    display: block !important;
}
#ew-header-profile-menu .ew-context-menu a, #ew-header-main-menu .ew-context-menu a {
    display: block;
}
.ew-action-bar .ew-kebab-menu {
    display: inline-block;
}
.ew-context-menu.btn {
    top: 40px;
    right: auto;
    left: -2px;
}
.ew-context-menu.btn.sky, .floating-action-bar.active .ew-context-menu.btn { /* todo: in JS if not enough space! */
    top: auto;
    bottom: 55px;
}
#ew-header-profile-menu .ew-context-menu, #ew-header-main-menu .ew-context-menu {
    display: block;
    visibility: visible;
    opacity: 1;
    box-shadow: none;
    position: relative;
    background: none;
    width: auto;
}
#ew-header-profile-menu .version {
    color: #0000003d;
    font-family: monospace;
    text-align: center;
    font-size: 0.8em;
    border-top: 2px solid rgba(0, 0, 0, 0.02);
    padding-top: 7px;
}
#ew-header-profile-menu .version .text {
    display: inline-block;
    margin-left: 2px;
}

.ew-context-menu button, .ew-context-menu a {
    transition: all 50ms ease-in-out;
}
.ew-context-menu button, .ew-context-menu button:hover, .ew-context-menu button:active, .ew-context-menu a, .ew-context-menu a:hover, .ew-context-menu a:active {
    display: block;
    width: 100%;
    border: 0;
    box-shadow: none;
    background: 0;
    padding: 8px 12px;
    margin: 0;
    outline: 0;
    text-align: left;
    cursor: pointer;
    border-radius: 0;
    text-decoration: none;
    font-size: 1em;
    white-space: nowrap;
}
.ew-context-menu .indent {
    display: none;
}
.ew-context-menu .indent.open {
    display: block;
    background: #00000005;
    border-top: 2px solid rgba(0, 0, 0, 0.06);
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}
.ew-context-menu .indent a, .ew-context-menu .indent a:hover, .ew-context-menu .indent a:active {
    padding-left: 30px;
}
.ew-context-menu .indent .indent a, .ew-context-menu .indent .indent a:hover, .ew-context-menu .indent .indent a:active {
    padding-left: 48px;
}
.ew-context-menu .indent a.open, .ew-context-menu .indent a.close, .ew-context-menu .indent a.open:hover, .ew-context-menu .indent a.close:hover {
    padding-left: 12px;
}
.ew-context-menu .indent {
    padding-bottom: 5px;
    margin-bottom: 10px;
}
.ew-context-menu i.fal {
    display: inline-block;
    width: 30px;
    text-align: center;
    margin-right: 9px;
}
.ew-context-menu button:focus, .ew-context-menu a:focus {
    background: hsla(var(--ew-color-hue), 100%, 74%, 0.25);
}
.ew-context-menu button:hover, .ew-context-menu a:hover {
    background: hsla(var(--ew-color-hue), 100%, 74%, 0.4);
    text-decoration: underline;
}
.ew-context-menu button:active, .ew-context-menu a:active {
    background: hsla(var(--ew-color-hue), 100%, 84%, 0.3);
}
.ew-context-menu button:hover .label, .ew-context-menu a:hover .label {
    border: 0 !important;
}

#ew-basic-header, #ew-basic-bottom {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: stretch;
    height: 55px;
    z-index: 6000;
}
#ew-basic-header.bar {
    background: white;
    /*border-bottom: 1px solid #595959;*/
    box-shadow: 0 -3px 8px #000000bd;
}
#ew-basic-bottom {
    background: white;
    /*border-bottom: 1px solid #595959;*/
    box-shadow: 0 3px 8px #000000bd;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
}
#ew-basic-bottom.hidden {
    display: none;
}
#ew-basic-header.sticky {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
}
#ew-basic-header div.btn {
    width: 60px;
    flex-grow: 0;
}
#ew-basic-header div.title {
    line-height: 55px;
    padding: 0 5px;
    flex-grow: 1;
}
#ew-basic-header div.title:first-child {
    padding-left: 20px;
}
#ew-basic-header button, #ew-basic-header a.button, #ew-basic-bottom button, #ew-basic-bottom a.button {
    background: none;
    border: 0;
    margin: 0 !important;
    box-shadow: none;
}
#ew-basic-bottom button.primary, #ew-basic-bottom a.button.primary {
    background: hsla(var(--ew-color-hue), 100%, 45%, 0.82);
}
#ew-basic-header-spacer, #ew-basic-bottom-spacer {
    height: 55px;
}

button.loading {
    animation-name: ew-pulse-loading;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    cursor: progress !important;
}
button.primary.loading {
    animation-name: ew-pulse-loading-primary;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

.flex-grid, .flex-grid-always {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start; /*space-between;*/
    margin: 25px 40px 10px 40px;
}
.flex-grid > div, .flex-grid .ew-box {
    margin-right: 10px;
    align-items: stretch;
}
.flex-grid > div:last-child {
    margin-right: 0;
}
.flex-grid a {
    text-decoration: none;
    padding-bottom: 20px;
}
.flex-grid a .ew-box {
    position: relative;
    padding: 20px;
    transition: transform .2s;
    border: 1px solid hsla(var(--ew-color-hue), 100%, 85%, 0.7);
}
.flex-grid a:hover .ew-box {
    border: 1px solid hsla(var(--ew-color-hue), 100%, 25%, 0.7);
}
.flex-grid a .ew-box i {
    display: inline-block;
    width: 40px;
    text-align: center;
    margin-right: 5px;
}
.flex-grid a .ew-box:hover {
    transform: scale(1.02);
}
.flex-grid a .ew-box .link-head {
    font-size: 1.2em;
}
.flex-grid a .ew-box .link-body {
    padding: 10px 20px 5px 45px;
}

@media only screen and (max-width: 768px) {
    .flex-grid, .flex-grid-always {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        margin: 25px 0 10px 0;
    }
    .flex-grid > div, .flex-grid .ew-box {
        margin: 0;
    }
    #ew-power-bar {
        display: none;
    }
    #ew-header-logo, #ew-header-logo-custom, #ew-header-logo-mobile {
        display: none;
    }
    #ew-header-main-menu #ew-header-logo, #ew-header-main-menu #ew-header-logo-full, #ew-header-main-menu #ew-header-logo-custom {
        display: block;
        width: 100%;
    }
    #ew-header-menu-opener {
        display: block;
    }
    #ew-header-menu-opener a {
        display: inline-block;
        width: 60px;
        height: 60px;
        text-align: center;
        font-size: 1.5em;
        line-height: 60px;
    }
}

@media only screen and (min-width: 769px) {
    #ew-header-main-menu {
        display: none !important;
    }
}



@keyframes ew-pulse-loading {
    0% {
        background: #f0f0f0;
    }
    50% {
        background: #e4e4e4fa;
    }
    100% {
        background: #f0f0f0;
    }
}
@keyframes ew-pulse-loading-primary {
    0% {
        background: hsla(var(--ew-color-hue), 100%, 42%, 0.82);
    }
    50% {
        background: hsla(var(--ew-color-hue), 100%, 50%, 0.82);
    }
    100% {
        background: hsla(var(--ew-color-hue), 100%, 42%, 0.82);
    }
}

.pulsate-opacity, .pulsate-opacity-hover:hover
{
    animation: pulsate-opacity 4s linear infinite;
}
@keyframes pulsate-opacity {
    from { opacity: 1; }
    50% { opacity: 0.75; }
    to { opacity: 1; }
}

.pulsate, .pulsate-hover:hover, .form-input a.loading
{
    animation: pulsate 1.6s ease-in-out infinite;
}
@keyframes pulsate {
    from { transform: scale(1.0); }
    37% { transform: scale(1.05); }
    to { transform: scale(1.0); }
}

.pulsate-slow, .pulsate-slow-hover:hover
{
    animation: pulsate-slow 2s ease-in-out infinite;
}
@keyframes pulsate-slow {
    from { transform: scale(1.0); }
    37% { transform: scale(1.04); }
    to { transform: scale(1.0); }
}

.up-down
{
    animation: up-down 1.6s ease-in-out infinite;
}
@keyframes up-down {
    from { transform: translate(0, -0.2em); }
    40% { transform: translate(0, 0.2em); }
    to { transform: translate(0, -0.2em); }
}

#ew-app, #ew-footer {
    transition: 500ms filter linear;
}
body.backdrop-active #ew-app, body.backdrop-active #ew-footer, body.backdrop-active #ew-powered-by, body.backdrop-active #ew-auth-backdrop {
    filter: blur(2px);
}
.blur {
    filter: blur(2px);
}
.no-wrap {
    white-space: nowrap;
}
.small {
    font-size: 0.85em;
    line-height: 1.5em;
}
.mono {
    font-family: monospace;
}