* {
    box-sizing: border-box;
}

:root {
	--primary: #f78e17;
}

body,
html {
    height: 100%;
}
body {
    font-family: "Manrope", sans-serif;
    margin: 0;
    font-size: 15px;
    line-height: 2;
    color: #fff; /*#75756c;*/
}
img {
    max-width: 100%;
    max-height: 100%;
}
a {
    color: inherit;
    text-decoration: none;
}
h1,
h2,
h3 {
    margin: 0;
}
h1 {
    /*font-family: Chewy, sans-serif;
    font-family: Boogaloo, "Source Sans Pro", sans-serif;*/
    font-size: calc(3em * 0.875);
    line-height: 1.2;
}
h2 {
    /*font-family: Chewy, sans-serif;
    font-family: Boogaloo, "Source Sans Pro", sans-serif;*/
    font-size: 25px; /*calc(2em * 0.875);*/
}
h3 {
    font-size: calc(1.5em * 0.875);
}

.page {
    height: 100%;
    overflow-y: auto;
    padding: 70px 0;
    display: none;
}
.page.active {
    display: block;
}
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    line-height: 70px;
    z-index: 50;
    padding-left: 20px;
}
#header #logo {
    height: 35px;
    vertical-align: middle;
}
#header .icon-box {
    line-height: inherit;
}
#loginPage img.logo {
    max-height: 60px;
}
#menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    z-index: 60;
    transition: bottom 0.4s;
    font-size: 14px;

    background-color: rgba(0, 0, 0, 0.85);
    
    -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
}
#menu.hidden {
    bottom: -70px;
}
#menu .item {
    width: 25%;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    line-height: 1;
}
#menu .item .icon {
    display: inline-block;
    vertical-align: top;
    height: 40px;
    width: 40px;
    background-size: 40px;
    background-repeat: no-repeat;
    background-image: url(../img/menu-icon-sprite.png);
}
#dash .icon {
    background-position: 0 0;
}
#dash.active .icon {
    background-position: 0 -40px;
}
#progress .icon {
    background-position: 0 -80px;
}
#progress.active .icon {
    background-position: 0 -120px;
}
#statistics .icon {
    background-position: 0 -160px;
}
#statistics.active .icon {
    background-position: 0 -200px;
}
#journeys .icon {
    background-position: 0 -240px;
}
#journeys.active .icon {
    background-position: 0 -280px;
}
#menu .item.active {
    color: var(--primary);
}
.modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0;
    transform: translate3d(0, 20px, 0);
    -webkit-transform: translate3d(0, 20px, 0);
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
}
.modal.active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    pointer-events: auto;
}
.inline-block {
    display: inline-block;
}
.float-right {
    float: right;
}
.icon-box {
    font-size: 2em;
    display: inline-block;
    width: 70px
}
.clickable {
    cursor: pointer;
}
.black-bg {
    background-color: #0a0a08;
}
.grey-dark-bg {
    background-color: hsl(0,0%,10%);
}
.grey-lighter-bg {
    background-color: #eaece5;
}
.red-bg {
    background-color: #ea8e83;
}
.orange-bg {
    background-color: var(--primary);
}
.green-bg {
    background-color: #a8c6a2;
}
.white-bg {
    background-color: #fff; /*#f7faf3;*/
}

.lighter-bg {
    background-color: rgba(255,255,255,0.075);
}

.yellow-bg {
    background-color: var(--primary);
}
.white-text {
    color: #fff; /*#f7faf3;*/
}
.grey-dark-text {
    color: hsl(0,0%,10%); /*#33332e;*/
}
.grey-text {
    color: #75756c;
}
.black-text {
    color: #0a0a08;
}
.orange-text {
    color: var(--primary);
}
.green-text {
    color: #a8c6a2;
}
.red-text {
    color: #ea8e83;
}
.full-width {
    width: 100%;
}
.opacity-50 {
    opacity: 0.5;
}
.align-center {
    text-align: center;
}
.align-left {
    text-align: left;
}
.align-right {
    text-align: right;
}
.padding-r-10 {
    padding-right: 10px;
}
.padding-t-5 {
    padding-top: 5px;
}
.padding-t-10 {
    padding-top: 10px;
}
.padding-t-20 {
    padding-top: 20px;
}
.padding-t-30 {
    padding-top: 30px;
}
.padding-t-40 {
    padding-top: 40px;
}
.padding-b-10 {
    padding-bottom: 10px;
}
.padding-b-20 {
    padding-bottom: 20px;
}
.padding-b-30 {
    padding-bottom: 30px;
}
.padding-b-40 {
    padding-bottom: 40px;
}
.padding-l-10 {
    padding-left: 10px;
}
.padding-l-20 {
    padding-left: 20px;
}

.padding-tb-5 {
    padding-top: 5px;
    padding-bottom: 5px;
}
.padding-tb-10 {
    padding-top: 10px;
    padding-bottom: 10px;
}
.padding-tb-15 {
    padding-top: 15px;
    padding-bottom: 15px;
}
.padding-tb-20 {
    padding-top: 20px;
    padding-bottom: 20px;
}
.padding-tb-30 {
    padding-top: 30px;
    padding-bottom: 30px;
}
.padding-tb-40 {
    padding-top: 40px;
    padding-bottom: 40px;
}
.padding-lr-5 {
    padding-left: 5px;
    padding-right: 5px;
}
.padding-lr-10 {
    padding-left: 10px;
    padding-right: 10px;
}
.padding-lr-20 {
    padding-left: 20px;
    padding-right: 20px;
}
.padding-lr-30 {
    padding-left: 30px;
    padding-right: 30px;
}
.margin-b-5 {
    margin-bottom: 5px;
}
.margin-b-10 {
    margin-bottom: 10px;
}
.margin-b-20 {
    margin-bottom: 20px;
}
.margin-b-30 {
    margin-bottom: 30px;
}
.margin-l-m10 {
    margin-left: -10px;
}
.margin-t-20 {
    margin-top: 20px;
}
.margin-t-m20 {
    margin-top: -20px;
}
.margin-r-30 {
    margin-right: 30px;
}
.affix-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
.affix-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.position-relative {
    position: relative;
}
.position-absolute {
    position: absolute;
}
.shadow-light {
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}
.rounded-corners {
    border-radius: 10px;
}
.rounded-corners-t {
    border-radius: 10px 10px 0 0;
}
.rounded-corners-b {
    border-radius: 0 0 10px 10px;
}
.rounded-corners-r {
    border-radius: 0 10px 10px 0;
}

.time {
    font-weight: 700;
    padding: 0 10px;
    display: inline-block;
}

.time:first-letter {
    text-transform: uppercase;
}

.bold {
    font-weight: 700;
}
.sidebar-r {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 80px;
}
.relative {
    position: relative;
}
.striped > :nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.04);
}
.border-top-1-grey-lighter {
    border-top: 1px solid #eaece5;
}
.badge {
    display: inline-block;
    border-radius: 8px;
    font-weight: 700;
    padding: 0 10px;
    /*font-family: Chewy, sans-serif;
    font-family: Boogaloo, "Source Sans Pro", sans-serif;*/
}
.badge.badge-large {
    font-size: 20px;
    font-weight: 700;
    padding: 0 14px;
}
input {
    background-color: #eaece5;
    border: none;
    border-radius: 5px;
    padding: 10px;
}
button {
    border: none;
    line-height: 24px;
    padding: 14px;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    font-size: 16px;
    font-weight: 600;
}
button.btn-large {
    padding: 17px;
}
.progress-bar {
    background: rgba(247, 142, 23, 0.25);
    height: 18px;
    border-radius: 9px;
    margin: 5px 20px 0 0;
}
.progress {
    height: 100%;
    border-radius: 9px;
    background-color: var(--primary);
}
.ribbon-t-r-container {
    position: relative;
    padding-right: 95px;
}
.ribbon-t-r-container .ribbon {
    position: absolute;
    width: 70px;
    line-height: 1;
    top: 0;
    right: 10px;
    box-shadow: inset 0 0 0 1px var(--primary);
    border-radius: 12px;
    color: var(--primary);
    overflow: hidden;
}

.label {
    /*border-bottom-style: solid;
    border-bottom-width: 2px;
    line-height: 1.2;
    vertical-align: 6px;*/
    margin: 0 10px 0 5px;
    font-weight: 700;
    font-size: 1.25em;
}
.sub-label {
    /*border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 4px;*/
    font-weight: 700;
}
.icon-journey-long {
    background-image: url(../img/icon-journey-long.png);
    background-size: 360px auto;
    background-position: center;
    background-repeat: no-repeat;
}
.icon-container {
    position: relative;
    padding-left: 100px;
}
.icon-container .content {
    min-height: 60px;
    border-bottom: 1px solid rgba(117, 117, 108, 0.5);
    margin-bottom: 10px;
    padding-top: 2px;
    line-height: 2;
    margin-right: 10px;
    position: relative;
}

.icon-container:last-child .content {
    border-bottom: none;
}

.icon-container .fa-trophy {
    color: #efd61d;
}
.icon-container .title {
    color: #fff;
    font-size: 1.25em;
    font-weight: 700;
    line-height: 1.25;
}
.icon-container .icon {
    position: absolute;
    left: 20px;
    top: 0;
    width: 60px;
    height: 60px;
    background-color: #75756c;
    border-radius: 12px;
    overflow: hidden;
    background-size: 100%;
}
.icon-container.journey .icon {
    background-color: #f7faf3;
    background-image: url(../img/icon-journey.png);
}
.challenge-complete.icon-container {
    padding-left: initial;
}
.challenge-complete.icon-container .icon {
    left: 0;
    right: 0;
    margin: auto;
    top: -30px;
}
.challenge-complete.icon-container .rating.hearts {
    position: absolute;
    top: 5px;
    left: 40px;
}
.challenge-complete.icon-container .rating.stars {
    position: absolute;
    top: 5px;
    right: 40px;
}
.progress-circle-container {
    position: relative;
    padding-right: 70px;
}
.progress-circle-container .progress-circle {
    position: absolute;
    right: 10px;
    top: 0;
}
.progress-circle-container .progress-circle div {
    text-align: center;
    position: absolute;
    z-index: 5;
    line-height: 60px;
    width: 100%;

    -webkit-animation: progresspct 2s cubic-bezier(0.95, 0.05, 0.795, 0.035) forwards;
    animation: progresspct 2s cubic-bezier(0.95, 0.05, 0.795, 0.035) forwards;
    opacity: 0;
    font-size: 1.25em;
    /*font-family: Boogaloo, "Source Sans Pro", sans-serif;*/
    color: var(--primary);
    font-weight: 800;
}
.progress-circle-container .progress-circle i {
    -webkit-animation: progressroadicon 2s cubic-bezier(0.95, 0.05, 0.795, 0.035) forwards;
    animation: progressroadicon 2s cubic-bezier(0.95, 0.05, 0.795, 0.035) forwards;
}

.progress-circle-container .progress-circle svg {
    transform: rotate(-90deg);
    opacity: 0.25;
}
.progress-circle-container .progress-circle .circle_animation {
    stroke-dasharray: 125;
    stroke-dashoffset: 125;
    r: 20;
    cy: 30;
    cx: 30;
    stroke-width: 4;
   	fill: #efd61d;
    fill-opacity: 0;
}
@-webkit-keyframes progresspct {
    to {
        opacity: 1;
    }
}
@keyframes progresspct {
    to {
        opacity: 1;
    }
}
@-webkit-keyframes progressroadicon {
    to {
        opacity: 0.2;
    }
}
@keyframes progressroadicon {
    to {
        opacity: 0.2;
    }
}
.rating {
    display: inline-block;
}
.rating .fa-heart {
    color: var(--primary);
}
.rating .fa-star {
    color: #efd61d;
}
.rating .fa-heart,
.rating .fa-star {
    opacity: 0.25;
    padding-right: 3px;
}
.rating .fa-heart.active,
.rating .fa-star.active {
    opacity: 1;
}
.rating .fa-heart.dead,
.rating .fa-star.dead {
    color: #0a0a08;
}
.levels .line {
    position: absolute;
    left: 0;
    right: 0;
    width: 4px;
    margin: auto;
    top: 0;
    height: 100%;
}
.levels .icon {
    width: 50px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    font-size: 2em;
    position: relative;
    left: 0;
    right: 0;
    margin: auto;
}
.levels .active {
    color: var(--primary);
    font-weight: 700;
}
.levels .completed {
    color: #a8c6a2;
    font-weight: 700;
}
.chart {
    height: 50px;
}

/* */

#jMap,
.leaflet-tile-container,
.leaflet-marker-pane {
    height: 100vh !important;
}

.leaflet-container {
    background-color: #b5d0d0;
}
.leaflet-left .leaflet-control {
    margin-left: 30px;
}
.leaflet-top .leaflet-control {
    margin-top: 28px;
}
.leaflet-control-zoom.leaflet-bar.leaflet-control {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.leaflet-bar a {
    background-color: #f7faf3;
}

.leaflet-popup-content {
    color: hsl(0,0%,10%);
}

/* */

.card-green {
    border: 3px solid rgba(168, 198, 162, 0.25);
    color: #a8c6a2;
}