@font-face {
    font-family: 'ITC Avant Garde Gothic';
    src: url('/fonts/AvantGarde-Bold.eot');
    src: url('/fonts/AvantGarde-Bold.eot?#iefix') format('embedded-opentype'),
    url('/fonts/AvantGarde-Bold.woff2') format('woff2'),
    url('/fonts/AvantGarde-Bold.woff') format('woff'),
    url('/fonts/AvantGarde-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

html, body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    box-sizing: border-box;
    background-color: #fff;
    padding: 0px;
    margin: 0px;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    box-sizing: border-box;
    background-color: #fff;
}

body {
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

div.main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

div.header {
    background-color: #98dd85;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 0px 4px 0px;
}

div.header span img.small {
    width: 50px;
}

div#submenu {
    display: flex;
    align-items: center;
    justify-content: left;
    padding: 0px 0px 0px 0px;
    background-color: #569744;
    color: #000;
}

div#submenu ul {
    display: block;
    padding: 0px;
    margin: 0px;
    list-style-type: none;
}

div#submenu ul li {
    float: left;
    padding: 0px;
    margin: 0px;
    padding: 8px 0px 8px 0px;
}

div#submenu ul li a {
    color: #fff;
    font-size: 14px;
    margin: 0px;
    padding: 12px;
    text-decoration: none;
}
div#submenu ul li.active a {
    color: #fff;
    font-size: 14px;
    margin: 0px;
    padding: 12px;
    text-decoration: none;
    font-weight: bold;
}

div.bottom {
    width: 100%;
    display: flex;
    background-color: #569744;
    height: 40px;
    align-self: flex-end;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
}

div.bottom span {
    font-size: 12px;
    color: #fff;
}

div.bottom img.powered-by {
    display: inline-block;
    height: 32px;
    margin-left: 80px;
    margin-top: 4px;
    margin-bottom: 4px;
}


div.register-form {
    margin: auto;
    max-width: 800px;
    margin-top: 32px;
    text-align: center;
}

div.register-form img {
    max-width: 300px;
}

form.auth-form {
    display: flex;
    flex-direction: column;
    width: 90%;
}

div.form-row-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

input {
    border: 0px;
    border-bottom-width: 0px;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
    border-bottom: 1px solid #1f81a8;
    padding: 4px;
    padding-left: 0px;
}

label {
    width: 100%;
    font-weight: bold;
}
.no-bold {
    font-weight: normal;
}
.link {
    color: #000;
}
.btn {
    background-color: #569744;
    color: #fff;
    font-weight: bold;
    font-size: 1em;
    padding: 12px 32px;
    border-radius: 8px;
}

.error-container {
    background-color: #ffd7d7;
    color: #ff5151;
    padding: 12px;
    margin-bottom: 24px;
}

.error-container h5 {
    margin-top: 4px;
    margin-bottom: 4px;
    font-size: 1em;
}

.error-container ul {
    padding: 0px;
    padding-left: 0px;
    margin: 0px;
    padding-left: 14px;
}

.error-container ul li {
    font-size: 0.9em;
}

a#hamburger {
    position: absolute;
    right: 32px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    font-size: 18px;
}

#menu {
    z-index: 9999;
    position: absolute;
    background-color: #569744;
    right: 8px;
    top: 42px;
    width: 200px;
    padding-bottom: 12px;
    display: none;
}

#menu #close-menu {
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    position: absolute;
    top: 4px;
    right: 24px;
    font-size: 24px;
}

#menu ul {
    list-style: none;
    margin-left: 12px;
    padding-left: 0px;
    padding-top: 24px;
}

#menu ul li {
    margin-bottom: 8px;
}

#menu ul li a {
    color: #fff;
    font-weight: bold;
    line-height: 24px;
    text-decoration: none;
}

div.content {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    padding-left: 0px;
}

div.sidebar {
    width: 250px;
    border-right: 1px solid #cecece;
}

div.map-holder {
    flex: 1 0;
    padding: 0px;
}

div.home-holder {
    padding: 32px;
}

div.map-holder div.content {
    paddign: 12px;
}

#map-leaflet {
    margin: auto;
    width: 98%;
    min-height: 800px;
}

.map-holder {
    padding: 0px;
}

.m-generic-12 {
    margin: 12px;
}

.pt-generic-12 {
    padding: 12px;
}

.pt-bottom-0 {
    padding-bottom: 0px;
}
.pt-top-0 {
    padding-top: 0px;
}

.pb-12 {
    padding-bottom: 12px;
}

.map-holder h1 {
    font-size: 18px;
}

.map-holder p {
    font-size: 15px;
}

div.landing-header {
    text-align: center;
    margin-bottom: 32px;
}

div.landing-header h1 {
    font-family: 'ITC Avant Garde Gothic', 'Open Sans', sans-serif;
    font-size: 40px;
    font-weight: bold;
    color: #0b1933;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

div.landing-header h2 {
    font-family: 'ITC Avant Garde Gothic', 'Open Sans', sans-serif;
    font-size: 18px;
    color: #569744;
    margin-top: -6px;
}

div.landing-content {
    max-width: 800px;
    padding: 12px;
}

div.landing-content p {
    text-align: left;
    font-size: 18px;
    line-height: 1.4em;
    margin-bottom: 18px;
}

form {
    border-radius: 4px;
}

p.success {
    padding: 12px;
    border-radius: 4px;
    background: #98dd85;
    color: #000;
    font-weight: bold;
}

p.error {
    padding: 12px;
    border-radius: 4px;
    background: #e3b4b4;
    color: #770000;
}

#beta-success {
    display: none;
}
#beta-error {
    display: none;
}
div.form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
    font-size: 18px;
}

div.form-field label {
    font-size: 12px;
    padding-bottom: 4px;
}

div.form-field input {
    padding: 8px;
    font-size: 16px;
    border: 1px solid #cecece;
    border-radius: 4px;

}

div.form-field input.submit {

}

p.join {
    font-style: italic;
}

p.explain {

}

p.explain img {
    display: block;
    border: 1px solid #254d08;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    margin-bottom: 25px;
}


div.sidebar div.flow-box {
    min-width: 200px;
}

div.center-items {
    display: flex;
    flex-direction: column;
    align-items: center;
}

div.pd-32-b {
    padding-bottom: 32px;
}

div.pd-12 {
    padding: 12px;
    padding-bottom: 12px;
}

img.profile-image {
    width: 40px;
    border-radius: 20px;
    border: 2px solid #254d08;
    position: absolute;
    left: 10px;
}

div.profile-user h1 {
    padding-left: 12px;
    font-size: 22px;
}

div.profile-status {
    margin-top: 32px;
    align-self: start;
}

.b {
    font-weight: bold;
}

.small-status {
    font-size: 0.9em;
}

.text-center {
    text-align: center;
}

.wv-color {
    color: #0D2443;
}

.green {
    color: #00c21b;
}

.free-account-message {
    background: #98dd85;
    padding: 8px;
    font-size: 12px;
    text-align: center;
}
.sync-account {
    font-weight: bold;
    color: #000;
}
.sub-link {
    font-weight: bold;
    color: #000;
}

.show-beta {
    font-weight: bold;
    color: #000;
    font-size: 14px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    max-width: 60%;
    border-radius: 8px;
}
.close {
    color: #000;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: relative;
    top: -20px;
    cursor: pointer;
}
.modal-content p#modal-txt {
    padding: 4px 0px;
}

li.show-on-mobile {
    display: none;
}



.modal-signup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}
.modal-signup .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    margin-top: 80px;
    padding: 20px;
    max-width: 60%;
    border-radius: 8px;
}
.modal-signup .close {
    color: #000;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: relative;
    top: -20px;
    cursor: pointer;
}
.modal-signup .modal-content p#modal-txt {
    padding: 4px 0px;
}
.modal-signup h1 {
    font-size: 22px;
}
.modal-signup h2 {
    font-size: 18px;
}
.modal-signup img {
    max-width: 120px;
}
.modal-signup img.strava {
    max-width: 200px;
    display: inline-block;
}
@media only screen and (max-width: 920px) {
    .sidebar {
        display: none;
    }
    div#submenu ul li {
        padding: 3px 0px 6px 0px;
    }
    div#submenu ul li a {
        padding-right: 8px;
        font-size: 13px;
    }
    div#submenu ul li.active a {
        font-size: 13px;
    }

    .modal-signup .modal-content {
        max-width: 90%;
    }
}
@media only screen and (max-width: 820px) {
    div#submenu ul li {
        padding: 3px 0px 6px 0px;
    }
    div#submenu ul li a {
        padding-right: 8px;
        padding-left: 4px;
        font-size: 13px;
    }
    div#submenu ul li:first-child {
        padding-left: 14px;
    }
    div#submenu ul li.active a {
        font-size: 13px;
    }
}
@media only screen and (max-width: 740px) {
    div#submenu ul li {
        padding: 3px 0px 6px 0px;
    }
    div#submenu ul li a {
        padding-right: 8px;
        padding-left: 4px;
        font-size: 11px;
    }
    div#submenu ul li:first-child {
        padding-left: 14px;
    }
    div#submenu ul li.active a {
        font-size: 11px;
    }
}
@media only screen and (max-width: 680px) {
    div#submenu ul li.hide-on-mobile a {
        display: none;
    }
}

@media only screen and (max-width: 640px) {
    div#submenu ul {
        margin-bottom: 12px;
    }
    div#submenu ul li {
        margin-bottom: 0px;
        padding-bottom: 0px;
    }
}
@media only screen and (max-width: 620px) {
    div.bottom {
        padding-top: 12px;
        flex-direction: column;
        height: 60px;
    }

    div.bottom img.powered-by {
        margin-left: 0px;
    }
}


.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #569744;
}

input:focus + .slider {
    box-shadow: 0 0 1px #569744;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
