/* Your app styles here */

/* Left Panel right border when it is visible by breakpoint */
.panel-left.panel-visible-by-breakpoint:before {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 1px;
  background: rgba(0,0,0,0.1);
  content: '';
  z-index: 6000;
}

/* Hide navbar link which opens left panel when it is visible by breakpoint */
.panel-left.panel-visible-by-breakpoint ~ .view .navbar .panel-open[data-panel="left"] {
  display: none;
}

/*
  Extra borders for main view and left panel for iOS theme when it behaves as panel (before breakpoint size)
*/
.ios .panel-left:not(.panel-visible-by-breakpoint).panel-active ~ .view-main:before,
.ios .panel-left:not(.panel-visible-by-breakpoint).panel-closing ~ .view-main:before {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 1px;
  background: rgba(0,0,0,0.1);
  content: '';
  z-index: 6000;
}

:root {
  --f7-panel-width: 100%;
  --f7-popup-tablet-width: 550px;
  --f7-popup-tablet-height: 650px; 

/*
  --f7-statusbar-bg-color: var(--f7-bars-bg-color);
  --f7-statusbar-height: 0px;
*/
/*
  --f7-navbar-bg-color: #007aff;
  --f7-navbar-text-color: #ffffff;
*/
}

@media only screen and (min-width: 415px) {
  :root {
    --f7-panel-width: 375px;
  }
}

button.sf_btn, input.sf_btn {
  text-decoration: none;
  text-align: center;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: none;
  margin: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  position: relative;
  overflow: hidden;
  font-family: inherit;
  cursor: pointer;
  outline: 0;
  box-sizing: border-box;
  vertical-align: middle;
  justify-content: center;
  align-items: center;
  border: var(--f7-button-border-width, 0px) solid var(--f7-button-border-color, var(--f7-theme-color));
  font-size: var(--f7-button-font-size);
  color: var(--f7-button-text-color, var(--f7-theme-color));
  height: var(--f7-button-height);
  line-height: calc(var(--f7-button-height) - var(--f7-button-border-width, 0) * 2);
  padding: var(--f7-button-padding-vertical, 0px) var(--f7-button-padding-horizontal);
  border-radius: var(--f7-button-border-radius);
  min-width: var(--f7-button-min-width);
  font-weight: var(--f7-button-font-weight);
  letter-spacing: var(--f7-button-letter-spacing);
  text-transform: var(--f7-button-text-transform);
  background-color: var(--f7-button-bg-color);
  box-shadow: var(--f7-button-box-shadow);
  text-align: left;

  /* .button-fill */
  /*
  --f7-button-bg-color: var(--f7-button-fill-bg-color, var(--f7-theme-color));
  --f7-button-text-color: var(--f7-button-fill-text-color, #fff);
  --f7-touch-ripple-color: var(--f7-touch-ripple-white);
  */

  /* .button-outline */
  /*
  --f7-button-border-color: var(--f7-button-outline-border-color, var(--f7-theme-color));
  --f7-button-border-width: var(--f7-button-outline-border-width);
  */

  /* .button-small */
  --f7-button-outline-border-width: var(--f7-button-small-outline-border-width);
  --f7-button-height: var(--f7-button-small-height);
  --f7-button-font-size: var(--f7-button-small-font-size);
  --f7-button-font-weight: var(--f7-button-small-font-weight);
  --f7-button-text-transform: var(--f7-button-small-text-transform);
}
button.sf_btn.active-state, input.sf_btn.active-state {
  background-color: var(--f7-button-pressed-bg-color, rgba(var(--f7-theme-color-rgb), 0.15));
  color: var(--f7-button-pressed-text-color, var(--f7-button-text-color, var(--f7-theme-color)));
  text-align: left;
}
div.item-flex {
  flex-flow: row wrap;
  align-content: space-between;
  justify-content: space-between;
  display: flex;
}

.timeline-item-date-weekend {
  background-color: #e7e7e8 !important;
}

.timeline-item-date-today {
  background-color: var(--f7-theme-color-tint) !important;
  color: #ffffff !important;
  font-weight: bold;
}

.card.treatment-complete {
  background-color: #b3d7ff;
}

.card.treatment-invoiced {
  background-color: #d1ffd3;
}

.list a.item-content {
	color: inherit;
}

.views {
	height: 100%;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

@media (max-width:567px) {
  .xsmall-padding-top {
    padding-top: 10px;
  }
  .xsmall-padding-bottom {
    padding-bottom: 10px;
  }
}

@media (max-width:767px) {
  .small-padding-top {
    padding-top: 10px;
  }
  .small-padding-bottom {
    padding-bottom: 10px;
  }
}