/*
 *
 * only for generic onsen fixes
 *
 */

/*
 * need p-tag because of onsen bug: no space between href & text (and no breaks)
 */
.list-item p.bugfix
{
    margin: 0;
}

/*
 * remove onsen devider
 */
.list-item div, .list-item--expandable
{
    background-image: none;
}

/**
 * onsen fix toolbar height
 * (android, ios?) if you change the systems font size, the font gets bigger but not the toolbar
 * this results in the text gets unter the content (map)
 */
.toolbar .left, .toolbar .center, .toolbar .right
{
    position: relative;
    line-height: normal;
}

.toolbar .left > div, .toolbar .center > div, .toolbar .right > div
{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

/* compensate icon/button "padding" */
.toolbar .left > div, .toolbar .right > div
{
    top: 52%;
}

.toolbar .left > div
{
    left: 0;
}

.toolbar .center > div
{
    left: 50%;
    transform: translate(-50%,-50%);
}

.toolbar .right > div
{
    right: 0;
}

/**
 * onsen fix
 * (mobile display: small, font: large) icon is not center/center
 */
ons-fab i
{
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
}

/**
 * onsen fix
 * (mobile display: small, font: large) toolbar is gone
 */
ons-tabbar ons-page .page__content
{
    top: min(0.1vh, 1px);
    background-color: var(--toolbar-background-color) !important;
}

/**
 * onsen fix
 * allow/design better "one-liner" popovers
 */
.popover__content
{
    min-height: 40px;
    min-width: 40px;
    max-width: 220px;
    width: auto;
}

/**
 * on button disable, animate opacity
 */
.button, #map .datetimecontainer
{
    will-change: opacity;
    transition: opacity 200ms;
}
