@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

.brand-primary-bg {background-color: #737D74}
.brand-secondary-bg {background-color: #fff}
.brand-primary-text {color: #737D74}
.brand-secondary-text {background-color: #fff}

body#app-body, #app {
    height: 100vh;
    overflow: hidden;
    color: #4B5955;
    letter-spacing: -0.02em;
}
body#app-body, #app {
    background-color: #ECE7E3 !important;
}
.btn.btn-branded {
    background-color: #737D74;
    color: #fff;
}
.btn.btn-outline-branded {
    border-color: #737D74;
    color: #737D74;
}
h1,h2,h3,h4,h5,h6 {
    color: #737D74;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
h1 {font-size:1.8em; margin-bottom: 1.2em; text-align: center; text-transform: uppercase; color:#737D74; font-weight: normal; letter-spacing: 0.1em}
h2 {font-size:1.3em; margin-bottom: 1em; text-align: center; text-transform: uppercase; color:#737D74; font-weight: normal; letter-spacing: 0.1em}
h3 {font-size:1.1em; margin-bottom: 0.8em; text-align: center; text-transform: uppercase;color:#737D74; font-weight: normal; letter-spacing: 0.1em}

#app {

}

header {
    z-index: 10000;
    position:relative;
    font-size: 1.2em;
    height: 60px;
}

.page {
    z-index: 999;
    position: absolute;
    bottom:0;
    left:0;
    right:0;
    top:60px;
    font-size: 1.0em;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    overflow: scroll;
}
.page.page-full {
    top:60px;
    bottom:0;
    background: #fff;
}
.page-container {max-width: 600px; margin:auto; min-height: 101%; padding:1em;}

.tab-nav button {
    position: relative;
    border: 0;
    background-color: transparent;
    height: 55px;
    font-weight: 600;
    color: #737D74;
    font-size: 0.8em;
}

.tab-nav button.active i.default, .tab-nav button i.selected {display: none;}
.tab-nav button.active i.selected {display: block}
.tab-nav button i {display:block;font-size:1.2em; margin-top: 5px;}

#top-nav button {height: 50px;font-size:1em;}
#top-nav button i {margin-top: 0; margin-right:1em}
#top-nav div {max-width: 400px; margin:auto;}
#top-nav .tab-nav button.active i.default {display:none;}
#top-nav .tab-nav button i.default {display:inline; margin-top: 0; margin-right:1em}
#top-nav .tab-nav button.active i.selected {display: inline}

.btn-outline-primary {
    border-color: #737D74;
    color: #737D74;
}
.btn-check:checked+.btn-outline-primary, .btn-check:hover+.btn-outline-primary {
    background-color: #737D74;
    border-color: #737D74;
}

a, a:hover {
    text-decoration: none;
    color:inherit;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.document {padding: 0.5em 1em; background: #f0ece9;}
a:active .document {background: #ded9d5;}
.document {-webkit-tap-highlight-color: #ded9d5;}
#tab-bar {
    z-index: 10000;
    background-color: #ECE7E3;
    position: absolute;
    right:0;
    left:0;
    border-top: thin solid #dbd3cc;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
@media (max-width: 768px) {
    #tab-bar {
        bottom:0;
    }

    .page {bottom: 50px;}
    #tab-bar .message-badge {position: absolute;top:5px;}
 }
@media (min-width: 768px) {
    #tab-bar {
        bottom:auto;
        height:50px;
    }
    .page {top: 110px;}
    #tab-bar .tab-nav button {height: 50px;font-size:1em;}
    #tab-bar div {max-width: 400px; margin:auto;}
    #tab-bar .tab-nav button.active i.default {display: none}
    #tab-bar .tab-nav button i.default {display: inline}
    #tab-bar .tab-nav button i.selected {display: none}
    #tab-bar .tab-nav button.active i.selected {display: inline}
    #tab-bar .tab-nav button i {display:inline; margin-top: 0; margin-right:1em;}
}
.card h5 {margin: 0}
dt {font-weight: bold;}
.no-outline:selected, .no-outline:focus {
    outline: none !important;
    box-shadow: none !important;
}
.snag {display: block;}
.info {text-align: center; padding:1em; background: #f0ece9; color: #999}
.input-group-text {background: #ECE7E3;}
