/*
 * Copyright 2020 Netsyms Technologies.
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

/*
Framework7 and FontAwesome both have a .fab class
*/
.fafab {
    font-family: "Font Awesome 5 Brands";
}

.fab {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    font-family: var(--f7-font-family);
    font-size: var(--f7-font-size);
    line-height: var(--f7-line-height);
}

.page-content-fab-pad {
    padding-bottom: var(--f7-fab-size);
}

.navbar, .item-link .item-title, .item-media, .item-divider, .item-label, .fab, .button, .noselect {
    user-select: none;
}

.navbar-inner {
    -webkit-app-region: drag;
}
.navbar-inner > * {
    -webkit-app-region: no-drag;
}

/*
 * Material icons are too big and disrupt the flow of text
 */
.block .material-icons {
    font-size: var(--f7-block-font-size);
}

.material-icons.material-icons-24px {
    font-size: 24px;
}

.material-icons-intext .material-icons {
    font-size: var(--f7-block-font-size);
}

.no-animation * {
    -webkit-transition: 10ms !important;
    -moz-transition: 10ms !important;
    -o-transition: 10ms !important;
    -ms-transition: 10ms !important;
    transition: 10ms !important;
}

.searchbar.inset {
    margin-left: calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-left)) !important;
    margin-right: calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-right)) !important;
    --f7-safe-area-left: 0px;
    --f7-safe-area-right: 0px;
}

/*
 Allow easily changing help text to reflect finger/mouse usage.
*/
.clicktext {
    display: none;
}
@media (pointer:fine) {
    .taptext {
        display: none;
    }
    .clicktext {
        display: initial;
    }
}
