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

/**
 * remove default page background / make transparent
 */
ons-navigator > ons-page > .page__background
{
    background-color: transparent;
}

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

/**
 * 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: #efeff4 !important;
}
