/* Invert navigation bars to fill style */
:root:not(.ios),
:root.theme-light:not(.ios),
:root:not(.ios) .theme-light {
    --f7-bars-bg-color: #0038A8;
    --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-searchbar-bg-color: #0038A8;
    --f7-searchbar-input-bg-color: #fff;
    --f7-searchbar-input-text-color: #000;
    --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-button-text-color: #fff;
    --f7-button-pressed-bg-color: rgba(255, 255, 255, 0.1);
}

.calendar {
    height: 390px !important;
}

/* 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;
}

.tab-link.bg-activo {
    background-color: white;
    color: blue;
}

.block {
    margin: 0;
}

.d-none {
    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;
}


.custom-accordion {
    padding-left: 0;
    padding-right: 0;
}

.custom-accordion .accordion-item-toggle {
    padding: 0px 15px;
    height: 44px;
    line-height: 44px;
    font-size: 17px;
    color: #000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.custom-accordion .accordion-item-toggle:active {
    background: rgba(0, 0, 0, 0.15);
}

.custom-accordion .accordion-item-toggle span:not(.badge) {
    display: inline-block;
    margin-left: 5px;
}

.custom-accordion .accordion-item:last-child .accordion-item-toggle {
    border-bottom: none;
}

.custom-accordion .icon-plus,
.custom-accordion .icon-minus {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 1px solid #000;
    border-radius: 100%;
    line-height: 20px;
    text-align: center;
}

.custom-accordion .icon-minus {
    display: none;
}

.custom-accordion .accordion-item-opened .icon-minus {
    display: inline-block;
}

.custom-accordion .accordion-item-opened .icon-plus {
    display: none;
}


.list .item-link .item-inner.color-white::before {
    content: 'chevron_down';
    color: white;
}

.item-inner.color-white::before,
.item-inner.color-white {
    color: white;
}

#dias_toolbox .checkbox input[disabled] + i {
    --f7-checkbox-inactive-color: #ccc;
}
#dias_toolbox .checkbox input:not(disabled) + i {
    --f7-checkbox-inactive-color: white;
}
