/* Custom color theme properties */
:root {
  --f7-theme-color: #778833;
  --f7-theme-color-rgb: 119, 136, 51;
  --f7-theme-color-shade: #5d6a28;
  --f7-theme-color-tint: #91a63e;
}

/* Invert navigation bars to fill style */
:root,
:root.theme-dark,
:root .theme-dark {
  --f7-bars-bg-color: var(--f7-theme-color);
  --f7-bars-bg-color-rgb: var(--f7-theme-color-rgb);
  --f7-bars-translucent-opacity: 0.9;
  --f7-bars-text-color: #fff;
  --f7-bars-link-color: #fff;
  --f7-navbar-subtitle-text-color: rgba(255,255,255,0.85);
  --f7-bars-border-color: transparent;
  --f7-tabbar-link-active-color: #fff;
  --f7-tabbar-link-inactive-color: rgba(255,255,255,0.54);
  --f7-sheet-border-color: transparent;
  --f7-tabbar-link-active-border-color: #fff;
}
.appbar,
.navbar,
.toolbar,
.subnavbar,
.calendar-header,
.calendar-footer {
  --f7-touch-ripple-color: var(--f7-touch-ripple-white);
  --f7-link-highlight-color: var(--f7-link-highlight-white);
  --f7-link-touch-ripple-color: var(--f7-touch-ripple-white);
  --f7-button-text-color: #fff;
  --f7-button-pressed-bg-color: rgba(255,255,255,0.1);
}
.navbar-large-transparent,
.navbar-large.navbar-transparent {
  --f7-navbar-large-title-text-color: #000;

  --r: 119;
  --g: 136;
  --b: 51;
  --progress: var(--f7-navbar-large-collapse-progress);
  --f7-bars-link-color: rgb(
    calc(var(--r) + (255 - var(--r)) * var(--progress)),
    calc(var(--g) + (255 - var(--g)) * var(--progress)),
    calc(var(--b) + (255 - var(--b)) * var(--progress))
  );
}
.theme-dark .navbar-large-transparent,
.theme-dark .navbar-large.navbar-transparent {
  --f7-navbar-large-title-text-color: #fff;
}

/* Your app custom styles here */

/* fix hidding panel icons */
.panel.panel-in-breakpoint .navbar .panel-close{display:none}
.panel-left.panel-in-breakpoint~.view .navbar .panel-open[data-panel="left"]{display:none}
.panel-right.panel-in-breakpoint~.view .navbar .panel-open[data-panel="right"]{display:none}

/*:root{--f7-navbar-height:30px}*/

:root{--f7-panel-width:100%}
@media(min-width:630px){:root{--f7-panel-left-width:315px;--f7-panel-right-width:calc(100% - 315px)}}
@media(min-width:945px){:root{--f7-panel-right-width:calc(100% - 630px)}}

@media(min-height:600px){.navbar{position:sticky;top:0}}

#app .page-content{overflow:auto}

