﻿@import url('../lib/bootstrap/dist/css/bootstrap.min.css');
@import url('../lib/bootstrap4-glyphicons/css/bootstrap-glyphicons.min.css');
@import url('../lib/font-awesome/css/all.min.css');
@import url('chota-simplified.css');

/* disable pull-to-refresh */
body {
    overscroll-behavior-y: contain;
}

/* Typography */
html, body, app, .main {
    font-family: "Roboto", "Segoe UI", "GeezaPro", "DejaVu Serif", "sans-serif", "-apple-system", "BlinkMacSystemFont";
    font-size: 12px;
    font-weight: normal;
}

.e-bigger {
    font-size: x-large;
}

/* Main layout */
html, body, app, .main {
    width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
}

.body-container {
    /*max-width: var(--grid-maxWidth);*/
    min-height: 500px;
    margin: 20px auto;
    width: 100%;
    padding: 0 1em;
    overflow-y: auto;
}

.main {
    overflow-y: auto;
    min-height: 500px;
    padding-bottom: 16px;
}

.header {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 1001;
    box-shadow: 0 8px 11px -6px rgba(0, 0, 0, 0.12);
}

.navbar.header {
    padding: 0 1em;
}


.navbar-brand img {
    max-height: 36px;
    vertical-align: middle;
}

.navbar-brand .logo-text {
    color: var(--color-accent);
    text-transform: uppercase;
    font-size: 20px;
    vertical-align: middle;
}

.content {
    padding-left: 1em;
    padding-right: 1em;
}

footer {
    background-color: var(--color-success);
    padding: 2px 1em;
}

/* Forms */
.form-field {
    margin-bottom: 10px;
}

.form-field [role='switch'] {
    display: block;
    margin: 8px 0 16px 0;
}

.form-field .e-control-wrapper.e-slider-container.e-horizontal {
    height: 24px;
}

fieldset {
    margin-bottom: 16px;
}

/* Debug */
.debug {
    margin-top: 20px;
}
