:root {
    --main-row-height: 44px;
    --main-row-padding-sides: 15px;
    --main-row-padding-top-bottom: 5px;
}

button {
    -webkit-appearance: none;
    border: 0;
}

a.button {
    -webkit-appearance: none;
    border: 0;
    background-color: none;
    border: none;
    outline: none;
}

body {
    width: 100vw;
    background-color: black;
    overflow-x: hidden;
    margin: 0;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
}

.content {
    position: relative;
    width: 100vw;
    max-width: 450px;
    height: 100vh;
    max-height: 850px;
    background-color: white;
    margin: auto;
}

.nav {
    background-color: white;
    position: absolute;
    width: 100%;
}

.nav.top {
    top: 0;
}

.nav.bottom {
    bottom: 0;
}

.bottom-nav {
    bottom: 0;
}

#logo {
    height: 40px;
}

.row {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--main-row-height);
}

button,
input[type="submit"],
input[type="reset"] {
    font-size: 16px;
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    outline: inherit;
}

input[type=text],
input[type=password] {
    line-height: 30px;
    font-size: inherit;
    outline: none;
    border: none;
    background-color: inherit;
    width: 100%;
    float: left;
}

.row {
    padding-left: var(--main-row-padding-sides);
    padding-right: var(--main-row-padding-sides);
    padding-top: var(--main-row-padding-top-bottom);
    padding-bottom: var(--main-row-padding-top-bottom);
    display: flex;
}

.center {
    text-align: center;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.user-input {
    vertical-align: center;
    width: 100%;
    padding: 0 10px 0 10px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    border: 2px solid #CCCCCC;
    background-color: #f7f8fa;
    font-size: 16px;
    height: 40px;
    line-height: 40px;
}

.user-input button {
    float: right;
    padding: 0 10px;
    color: #BABABA;
    height: 100%;
    line-height: 4px;
}

.button-container {
    flex: 1;
}

.button-container i {
    font-size: 30px;
}

.active i {
    color: #58B947;
}

.not-active i {
    color: #CCCCCC;
}

.profile-container i {
    color: #BABABA;
}

.vertical-center {
    width: 100%;
}

a.button {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    text-decoration: none;
    color: initial;
}

.hidden {
    display: none;
}

.background button {
    padding: 0 20px 0 20px;
    border-radius: 5px;
    color: white;
    line-height: 40px;
}

.background.green button {
    background-color: #58B947;
}

.background.grey button {
    background-color: #BABABA;
}

.content {
    display: flex;
}

.xx-large {
    height: 130px;
}

.register-container {
    width: 100%;
    text-align: center;
    color: #BABABA;
    font-size: 16px;
}

.register a {
    color: inherit;
}

.x-large {
    height: 100px;
}

.x-large i {
    font-size: 100px;
}

#map {
    padding-top: calc(4 * (var(--main-row-height) + 2 * var(--main-row-padding-top-bottom)));
    padding-bottom: calc(var(--main-row-height) + 2 * var(--main-row-padding-top-bottom));
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    height: calc(100% - 5 * (var(--main-row-height) + 2 * var(--main-row-padding-top-bottom)));
}

#map iframe {
    height: 100%;
    width: 100%;
}

#LogIn {
    margin: auto;
}


/*
  CSS FOR PersonalDetails
  */

#StatisticImg {
    width: 300px;
    height: 600px;
    object-fit: scale-down;
}

#ProfileImg {
    width: 300px;
    height: 600px;
    object-fit: scale-down;
}

.co2ToolTip {
    width: 75px;
    height: 40px;
    right: 10px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.95);
}


/*
#co2Button{
  border-color: black;
  background-color: rgba(100,100,100,0.7);
  position: relative;
  bottom: 15px;
  font-size: 12px;
  padding: 2px;
}
*/

p[name="co2"] {
    position: relative;
    margin-top: 0px;
}

#co2buttonstyle {
    border-style: solid;
    border-color: #58B947;
    border-radius: 5px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease 0s;
    cursor: pointer;
    outline: none;
    padding: 2px;
    margin-top: 3px;
}

#travel-options {
    padding-bottom: 11px;
}

.profile {
    position: absolute;
    top: 54px;
    width: 100%;
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.profile {
    display: flex;
    height: 100px;
    width: 100%;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.name h1 {
    padding: 0;
    margin: 0;
    font-size: 20px;
}

.border {
    border: 2px solid #58B947;
    color: #58B947;
    border-radius: 5px;
    padding: 0 20px 0 20px;
    line-height: 40px;
}

.img {
    height: 100%;
}

table {
    width: 250px;
    border-collapse: collapse;
}

td {
    font-size: 1.0rem;
    padding: 0.2em 1em;
    text-align: left;
}

td[name="co2"] {
    text-align: right;
}

tr {
    width: 100%;
}

tr:first-child td:first-child {
    border-top-left-radius: 10px;
}

tr:first-child td:last-child {
    border-top-right-radius: 10px;
}

tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

tr:nth-child(odd) {
    background-color: #e9e9e9;
}

tr:first-child {
    background-color: #58B947;
    color: white;
}

sup,
sub {
    vertical-align: baseline;
    position: relative;
    top: -0.2em;
}

sub {
    top: 0.2em;
}

#personalTable tr {
    color: unset;
    background-color: unset;
}