
/**** BUTTON *****/
.button {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    /* white-space: nowrap; */
}

.button:hover {
    cursor: pointer;
}

.btn-green {
    position: relative;
    display: flex;
    align-items: center;
    /* margin: 10px; */
    padding: 17.5px 0;
    background-color: #309546;
    border-radius: 10px;
    color: #FFFFFF;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 16px;
    /* box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); */
}

.btn-green span {
    width: 100%;
}

.btn-green:hover {
    background-color: #5AAA6B;
}

.btn-white {
    min-width: 150px;
    display: flex;
    align-items: center;
    margin: 10px;
    padding: 5px 15px;
    background-color: #FFFFFF;
    border-radius: 30px;
    color: #1E1E1E;
    text-align: center;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    font-weight: 600;
    font-size: 16px;
    vertical-align: middle;
}

.btn-white:hover {
    cursor: pointer;
    font-weight: bolder;
}

.btn-white > * {
    padding: 5px;
}

.btn-white-panel {
    padding: 15px;
    background-color: #FFFFFF;
    border-radius: 10px 0px 10px 0px;
    font-weight: 500;
    font-size: 12px;
    display: flex;
    position: relative;
    border: transparent 0.5px solid;
    justify-content: space-between;
    padding-right: 30px;
}

.btn-white-panel:hover {
    /* font-weight: bolder; */
    color: #309546;
}

.btn-white-panel:focus {
    outline: 0.5px solid #5AAA6B;
}

/* .btn-white-panel > label {
    position: absolute;
    right: 60px;
} */

.btn-round {
    position: relative;
    width: 54px;
    height: 54px;
    margin: 15px 0;
    padding: 5px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 20px;
    align-items: center;
    text-align: center;
    display: inline-block;
    box-shadow: 0px 1px 1px 1px rgba(0, 0, 0, 0.15);
}

.btn-round > img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 20px;
}

.btn-right {
    min-width: 200px;
}

.btn-transparent {
    /* color:#000000; */
    padding: 15px;
    background-color: transparent;
    text-align: center;
    text-transform: uppercase;
    /* font-weight: bold; */
}

.btn-transparent:hover {
    /* font-weight: bolder; */
    color: #309546;
    cursor: pointer;
}

.btn-transparent:focus {
    outline: 1px solid #309546;
}

.tooltip {
    display: inline-block;
    background-image: url('./icons/tooltip.svg');
    width: 10px;
    height: 10px;
    align-self: center;
    /* background-color: #7090AE; */
    /* border-radius: 2px; */
    /* color: white; */
    /* content: '🎮 '; */
}

/*
.tooltip-btn {
    box-sizing: border-box;
    position: absolute;
    display: inline-block;
    transform: scale(0.55);
    width: 20px;
    height: 20px;
    border: 1px solid;
    border-radius: 40px;
}

.tooltip-btn::after,
.tooltip-btn::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    border-radius: 3px;
    width: 2px;
    background: currentColor;
    left: 8px
}
.tooltip-btn::after {
    bottom: 2px;
    height: 8px
}
.tooltip-btn::before {
    height: 2px;
    top: 4px
}
*/

.tooltip-container {
    display: none;
    /* z-index: 100; */
    /* padding: 20px; */
    /* width: calc(100% - 40px); */
    /* margin-top: 10px; */
}

.tooltip-container-show {
    display: unset;
}

.arrow-up {
    z-index: 100;
    position: absolute;
    width: 0; 
    height: 0;
    left: 0;
    margin-top: 19px;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 8px solid #33363F;
}

.tooltip-body {
    z-index: 100;
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 12px;
    border-radius: 10px;
    padding: 15px;
    color: #FFFFFF;
    background-color: #33363F;
    text-align: left;
    text-transform: none;
    left: 0;
    /* margin: 0 20px; */
    margin: 25px 20px 0 20px;
}

.tooltip-body-small-left {
    width: 65%;
}

.tooltip-body-small-right {
    width: 65%;
    right: 0;
    left: unset;
}

.tooltip-body p {
    font-weight: 300;
    margin: 0px;
}


@media (max-width: 950px) {
    .btn-green {
        padding: 20px;
    }

    .btn-round > img {
        height: 25px;
    }
}


/* 
.btn-icon-wrapper {
    position: relative;
    width: 400px;
} */

/* .btn-icon {
    position: absolute;
} */

.p-right-50 {
    padding-right: 50px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.icon-next {
    position: absolute;
    right: 15px;
    height: 15px;
    margin-right: 10px;
    /* padding: 0px 5px; */
    transform: rotate(90deg);
    margin-right: 5px;
    stroke-width: 13px;
}

option {
    font-family: 'Montserrat',Verdana,Geneva,sans-serif;
}

hr {
    padding: 0;
    margin: 0;
}


/**** FLEX *****/

.column {
    display: flex;
    flex-direction: column;
}

.row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.space {
    justify-content: space-between;
}

.row-3:nth-child(2) { margin: 0px 6px;}

.row-3 {
    width: 33.33%; /* as @passatgt mentioned in the comment, for the older browsers fallback */
    width: calc(100% / 3);
}

.row-3 > * {
    width: 100%;
}

.right {
    justify-content: end;
}

/**** ICON *****/

.plus-icon {
    color: #ADADAD;
}

.plus-icon::before {
    content: '+';
    font-size: 12px;
}

.info-icon {
    padding-right: 5px;
    font-weight: 100;
}

.small-text {
    font-size: 10px;
}

input:focus {
    outline: none;
}



/* #age::after {
    content: 'test';
} */

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    /* font-style: italic; */
    color: #A7A7A7;
}

select {
    color: #1E1E1E;
}

/* select option:hover {
    border: #309546;
} */

/**** RANGE *****/


.range-container input[type=range] {
    height: 22px;

    appearance: none;
    width: 100%;
    background-color: #A7A7A7;
    border-radius: 15px;
    outline: none;
    border: none;
    overflow: hidden;
}

/* input[type=range]:active {
    outline: #309546 solid 1px;
} */

/* .range-container input[type=range]:hover {
    outline: #309546 solid 1px;
}

.range-container input[type=range]:focus {
    outline: #309546 solid 1px;
}

.range-container input[type=range]::-webkit-slider-thumb {
    appearance: none;
    height: 22px;
    width: 22px;
    background-color: #FFFFFF;
    border-radius: 50%;
    outline: none;
    border: 1px #309546 solid;
    cursor: pointer;
    box-shadow: -407px 0 0 400px #309546;
}

.range-container input[type=range]::-moz-range-thumb {
    appearance: none;
    height: 22px;
    width: 22px;
    background-color: #FFFFFF;
    border-radius: 50%;
    outline: none;
    border: 1px #309546 solid;
    cursor: pointer;
    box-shadow: -407px 0 0 400px #309546;
} */

.range-container {
    /* margin-top: auto; */
    justify-content: end;
    display: flex;
}

.result-buttons {
    display: flex;
    justify-content: space-between;
    background-color: #F7F7F7F7;
}

.result-buttons app-fact-button {
    display: none;
}
/* 
.button * {
    pointer-events: none;
} */

.body-facts {
    width: 120px;
    overflow: hidden;
    transition: min-width .7s;
}

.body-facts span {
    font-size: 15px;
}

.extend-facts {
    min-width: 600px;
    /* transition: min-width 1s; */
}


/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

@media (max-width: 950px) {
    .result-buttons {
        position: relative;
        justify-content: unset;
        gap: 15px;
        
    }

    .result-buttons app-fact-button {
        display: unset;
    }

    .result-buttons #button {
        height: 64px;
        min-width: 64px;
        max-width: 64px;
        position: absolute;
        right: 0;
        margin: 15px 0;
        /* padding: 5px; */
        box-shadow: 0px 1px 1px 1px rgba(0, 0, 0, 0.15);
        background-color: #F7F7F7;
    }

    .result-buttons .btn-icon-expanded {
        width: calc(100% - 40px);
        padding: 0 20px;
        max-width: unset!important;
    }
}@font-face {
    font-family: Montserrat;
    src: url('./fonts/Montserrat-VariableFont_wght.ttf');
    font-display: swap;
}

html {
    height: 100%;
    min-height: 100%;
    font-family: Montserrat;
}

body {
    margin: auto;
    height: 100%;
    min-height: 100%;
}

input {
    border: none;
}

button {
    all: unset;
}

a:link {
    color: #F7F7F7;
}

a:visited {
    color: #F7F7F7;
}

#weather-block {
    background-color: #33363F;
    color:#F7F7F7;
    padding: 10px;
}

.weather-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 80%;
    margin: auto;
    font-size: 16px;
    gap: 30px;
    max-width: 900px;
}

.weather-content p {
    font-weight: 300;
}

.weather-header {   
    font-weight: 600;
    padding: 20px;
}

.weather-temp {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-weight: 200;
}

.weather-temp > * {
    display: flex;
    flex-direction: column;
}

#weather-advice {
    padding: 10px 10px 20px 10px;
}

.details {
    text-align: center;
    width: 80%;
    margin: auto;
    padding: 20px;
    max-width: 900px;
}

.details-header {
    padding: 20px 0px 0px 0px;
    font-size: 24px;
    font-weight: bold;
    text-wrap: balance;

}

.details p {
    font-weight: 300;
    font-size: 16px;
}

.background {
    background-repeat: no-repeat;
    background-position: center;
    
    background-size: cover;
    height: 100%;
    min-height: 100%;
}

.getting-ready {
    background-image: url("./images/getting_ready.jpg");
    color: #F7F7F7;
}

.run-buddy {
    background-image: url("./images/run_buddy.jpg");
    color: #F7F7F7;
}

.time-to-run {
    background-image: url("./images/time_to_run.jpg");
    color: #F7F7F7;
}

.winter-run {
    background-image: url("./images/winter_run.jpg");
    color: #F7F7F7;
}

.summer-rest {
    background-image: url("./images/summer-rest.jpg");
    color: #F7F7F7;
}

.summer-run {
    background-image: url("./images/summer-run.jpg");
    color: #F7F7F7;
}

.summer-laces {
    background-image: url("./images/summer-laces.jpg");
    color: #F7F7F7;
}

.summer-stairs {
    background-image: url("./images/summer-stairs.jpg");
    color: #F7F7F7;
}

.summer-sea {
    background-image: url("./images/summer-sea.jpg");
    color: #F7F7F7;
}

.background-shade {
    background-image: radial-gradient(rgba(0, 0, 0, .5), transparent);
    height: 100%;
    min-height: 100%;
}

.container {
    display: flex;
    width: 75%;
    margin: auto;
    /* max-width: 1000px; */
    /* width: 85%; */
    /* margin: auto; */
    /* margin-top: 150px; */
    /* position: relative;
    
    transform: translateY(-50%); */
    height: calc(100% - 100px);
    justify-content: space-between;
    align-content: center;
    flex-flow: row wrap;
    position: relative;
}
/**** HEADER *****/
.header {
    display: flex;
    justify-content: space-between;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
    padding: 40px;
}

/**** FOOTER *****/
.footer-buttons {
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 100;
}

/**** PAGE *****/
.page {
    width: 100%;
    position: absolute;
    display: none;
    height: calc(100% - 100px);
    justify-content: center;
    /* transform: translateX(100%); */
}

.page.form {
    background-color: #f7f7f7;
    color: #1E1E1E;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    z-index: 200;
    height: 100%;
    /* box-shadow: -0.5em 0 0 rgba(0, 0, 0, 0.1); */
}

.active {
    /* transform: translateX(0%); */
    display: block;
}

@media (max-width: 950px) {
    body {
        overflow: unset;
        background-color: #F7F7F7;
    }

    .page {
        height: 100%;
    }
}.landing-container {
    position: relative;
    max-width: 950px;
    justify-content: center;
    margin: auto;
}

.landing-header {
    font-weight: bold;
    font-size: 65px;
    /* text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25); */
    text-align: center;
    padding: 25px;
}

.landing-main {
    font-weight: 400;
    font-size: 28px;
    text-align: center;
    padding: 0px 70px;
    /* text-shadow: 0px 0.5px 0.5px rgba(0, 0, 0, 0.25); */
}

.landing-main-short {
    display: none;
    font-weight: 400;
    font-size: 24px;
    text-align: center;
    padding: 0px 70px;
    /* text-shadow: 0px 0.5px 0.5px rgba(0, 0, 0, 0.25); */
}

.input-landing {
    width: 40px;
    min-width: 95px;
    font-family: Montserrat;
    padding: 17.5px 0px 17.5px 15px;
    border-width: 0px;
    border-radius: 10px;
    box-sizing: border-box;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    flex-grow: 1;
    flex-shrink: 1;
    font-weight: 500;
    background: white;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #FFF inset;
}

.input-landing.input-valid {
    box-shadow: inset 0 0 0 2px #309546;
    background-image: url('./icons/Gedaan.svg');
    background-repeat: no-repeat;
    background-position: right 18px bottom 50%;
}

.form-landing {
    justify-content: center;
    padding: 40px 125px;
    width: 100%;
    gap: 10px;
}

.pace-inputs {
    /* height: 54px; */
    gap: 3px;
    display: flex;
}

.input-landing:nth-of-type(1) {
    flex-grow: 3.5;
}

#name {
    min-width: 210px;
}

#age {
    min-width: 95px;
}

#weight {
    min-width: 95px;
}

.body-facts-img {
    margin: 10px;
    border-right: 1px solid black;
    padding-right: 15px;
    margin-right: 15px;
}


.footer {
    position: fixed;
    /* width: 100%; */
    bottom: 0;
    right: 0;
}

.right {
    display: flex;
    justify-content: end;
} 

.landing-range-container {
    display: flex;
    position: relative;
    width: 100%;
    height: 54px;
    /* background-color: #A4A4A4; */
    border: 0;
}

.landing-range-value-wrapper {
    display: flex;
    /* height: 60px; */
    font-size: 14px;
    width: 120px;
    background-color: #F7F7F7;
    border-radius: 0 10px 10px 0;
    align-items: center;
    justify-content: center;
    color: #1E1E1E;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
}

.landing-range-value {
    width: 60%;
    text-align: right;
}

.landing-range-km {
    width: 40%;
}

.landing-control {
    position: relative;
    height: 100%;
    width: 100%;
    background: linear-gradient(to right, transparent, transparent 50%, #A7A7A7 50%, #A7A7A7 100%);
    --max: 522;
}

.landing-range-input {
    width: 100%;
    height: 100%;
    z-index: 10;
    position: absolute;
    margin: 0;
    opacity: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
}

.landing-range-input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; /* Override default look */
    appearance: none;
    height: 100%;
    width: 50px;  
}

.landing-range-input[type="range"]::-webkit-slider-runnable-track {
    height: 100%;
}

.landing-range-input[type="range"]::-moz-range-thumb {
    border: none; /*Removes extra border that FF applies*/
    -webkit-appearance: none; /* Override default look */
    appearance: none;
    height: 100%;
    width: 50px;
}

.landing-range-input[type="range"]::-moz-range-track {
    height: 100%;
}

.landing-range-input[type="range"]::-ms-thumb  {
    -webkit-appearance: none; /* Override default look */
    appearance: none;
    height: 100%;
    width: 50px;
}

.landing-range-input[type="range"]::-ms-track  {
    height: 100%;
}

.landing-range-track {
    /* border: transparent 1px solid; */
    cursor: pointer;
    box-sizing:border-box;
    background-color: #D9D9D9;
    border-radius: 30px 0 0 30px;
    height: 100%;
    width: 100%;
    top: 0;
    position: absolute;
    pointer-events: none;
    box-shadow: 0px 4px 4px -4px rgba(0, 0, 0, 0.25);
}

.landing-range-track::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--left);
    min-width: 30px;
    background: #5AAA6B;
    border-radius: 30px 0 0 30px;
}

.landing-range-indicator {
    aspect-ratio : 1 / 1;
    border: 1px #5AAA6B solid;
    border-radius: 30px;
    height: 100%;
    position: absolute;
    top: 50%;
    background-color: white;
    z-index: 2;
    translate: -50% -50%;
    animation: pulse .75s 2;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    left: 27px;
}


@media (max-width: 950px) {
    .landing-header {
        font-size: 42px;
        padding: 0;
    }

    .form-landing {
        padding: 0;
        flex-direction: column;
        width: 85%;
        gap: 20px;
        max-width: 500px;
    }

    .landing-main {
        display: none;
    }

    .pace-inputs {
        justify-content: center;
        width: 86%;
        gap: 0;
    }

    .landing-main-short {
        display: block;
    }

    .landing-fact {
        display: none;
    }

    .input-landing {
        width: 85%;
        margin: 3px;
        padding: 20px 0px 20px 15px;
    }

    .btn-right {
        width: calc(100% - 50px - 17.5px);
    }

    .footer-buttons {
        position: relative;
        right: unset;
    }

    .landing-range-container {
        height: 60px;
    }

    .landing-range-indicator {
        width: 60px;
        height: 60px;
    }
}.btn-icon {
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
    cursor: pointer;
    /* position: relative; */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    color: #1E1E1E;
    margin: 40px;
    height: 54px;
    min-width: 54px;
    max-width: 54px;
    border-radius: 40px;
    box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.25);
    transition: max-width 500ms;
    animation: pulse .75s;
}

.btn-icon-expanded {
    max-width: 600px;
    padding: 0 20px;
    overflow: hidden;
}

.icon-big {
    /* transform: translate(6px); */
    position: absolute;
    font-size: 27px;
    transition: font-size 500ms, translate 500ms ease-in;
}

.small {
    transform: translate(0, -7px);
    font-size: 12px;
}

.icon-label-wrapper {
    display: flex;
    justify-content: center;
    flex-direction: column;
    font-size: 10px;
    padding: 0px 25px 0px 0px;
    margin: 0px 25px 0px 0px;
    border-right: 1px solid #00000038;
}

.animation-wrapper {
    display: none;
    width: fit-content;
}

.icon-text {
    align-self: center;
    color: #B7B7B7;
    font-size: 8px;
    font-weight: 500;
    white-space: nowrap;
    text-transform: uppercase;
}

.show {
    display: flex;
    animation: fade-in 500ms forwards;
}

.hide {
    display: none;
}

.icon-wrapper {
    display: flex;
    flex-direction: row;
}

.label-wrapper {
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 11px;
    font-size: 8px;
}

.btn-expandable-text {
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-align: left;
    -webkit-line-clamp: 2; /* number of lines to show */
            line-clamp: 2; 
    -webkit-box-orient: vertical;
    /* transition: 1s max-width;
    max-width: 1px; */
    /* text-wrap: nowrap; */
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    60% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media (max-width: 950px) {
    .btn-icon {
        margin: 20px;
    }

    .btn-icon-expanded {
        max-width: 500px;
        margin: 20px auto;
        width: calc(100% - 80px);
    }

    .btn-expandable-text {
        font-size: 10px;
        /* text-wrap: wrap; */
    }

    .icon-label-wrapper {
        padding: 0px 15px 0px 0px;
        margin: 0px 15px 0px 0px;
    }
}.p20 {
    padding: 20px;
}

.form-fullscreen-btn {
    position: absolute;
    margin: auto;
    width: 90%;
    left: 0;
    right: 0;
    bottom: 15px;
}

#split-time-range-label {
    position: absolute;
    top: -18px;
}
:root {
    --split-value: 5;
    --max: 10;
}

app-split-range {
    width: 100%;
}

#split-control {
    position: relative;
    width: 100%;
}

#split-control input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    width: 100%;
}

#split-range {
    width: 100%;
    z-index: 10;
    position: absolute;
    margin: 0;
    opacity: 0;
    left: 0;
}

#split-range:focus + .control__track {
    border: #309546 0.5px solid;
}

#split-range:hover + .control__track {
    border: #309546 0.5px solid;
}

.control__track {
    box-sizing:border-box;
    background-color: #309546;
    border-radius: 20px;
    height: 20px;
    width: 100%;
    top: 0;
    position: absolute;
    pointer-events: none;
}

.control__track::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: calc(min(var(--split-value), var(--max) / 2) * calc(100 / var(--max)) * 1%);
    background: #D9D9D9;
    border-right: 1px black dotted;
    border-radius: 20px 0 0 20px;
}
.control__track::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: calc((var(--max) - max(var(--max) / 2, var(--split-value))) * calc(100 / var(--max)) * 1%);
    background: #D9D9D9;
    border-left: 1px black dotted;
    border-radius: 0 20px 20px 0;
}

.control__indicator {
    border: 1px #309546 solid;
    border-radius: 20px;
    width: 25px;
    height: 25px;
    position: absolute;
    top: 50%;
    background-color: white;
    left:calc(var(--split-value) * calc(100 / var(--max)) * 1%);
    z-index: 2;
    translate: -50% -50%;
}

/**** FORM *****/


.form-fullscreen svg:focus {
    outline: none;
}


.bg-gray {
    background-color: #F7F7F7;
}

.form-row {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.form-fullscreen {
    width: 100%;
    text-align: center;
}

.form-fullscreen-header {
    text-decoration: solid underline;
    font-weight: bold;
    padding: 20px 0px;
}

.form-fullscreen-body {
    gap: 10px;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-width: 400px;
    min-height: 500px;
}

.form-fullscreen-question {
    font-weight: 600;
    font-size: 28px;
}

.right-form {
    position: absolute;
    top: 20px;
    right: 25px;
}

.abs {
    position: absolute;
    padding: 25px;
}

.gender-buttons {
    font-size: 78px;
}

.gender-button {
    width: 78px;
    height: 78px;
}

.gender-button-male {
    background-image: url('./icons/male.svg');
}

.gender-button-female {
    background-image: url('./icons/female.svg');
}

@media (max-width: 950px) {
    .form-fullscreen {
        height: 100%;
        overflow: hidden;
    }

    .form-fullscreen-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        position: unset;
        max-width: unset;
        min-height: unset;
        transform: unset;
        -webkit-transform: unset;
    }

    .form-row {
        display: flex;
        gap: 10px;
        /* flex-direction: column; */
    }

    .abs {
        padding: unset;
    }
}/**** PANEL *****/
.panel {
    background-color: #F7F7F7;
    border-radius: 15px;
    padding: 20px;
    box-shadow: inset 0 -0.5em 1em rgba(0, 0, 0, 0.1), 0.3em 0.3em 1em rgba(0, 0, 0, 0.5);
    position: relative;
    width: 370px;
    color: #1E1E1E;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.panel-header {
    display: flex;
    align-items: center;
}

.panel-header .btn-transparent {
    display: flex;
    align-items: center;
    gap: 4px;
}

.panel-body {
    /* padding: 0 10px 0 10px; */
    /* height: calc(100% - 190px); */
    /* max-height: 600px; */
}

.panel-title {
    text-align: center;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    padding-bottom: 20px;
}

.panel-title-result {
    font-weight: bold;
}

.panel-close {
    position: absolute;
    top: 0;
    right: 0;
}

.panel-close:hover {
    box-shadow: inset 1px 1px 1px 1px rgba(0, 0, 0, 0.15);
}


.filler {
    width: 400px;
}


.panel-detail {
    gap: 25px;
    display: flex;
    /* background: linear-gradient(#957930, #aa9a6b); */
    color: #1E1E1E;
    padding: 35px;
    /* border-radius: 5px 5px 0 0; */
    border-radius: 10px;
    /* box-shadow: 0.5px 0.5px 0.5px 0.5px rgba(0, 0, 0, 0.25); */
}

.panel-detail-col {
    position: relative;
    /* width: 33.33%; as @passatgt mentioned in the comment, for the older browsers fallback */
    /* width: calc(100% / 3); */
    text-align: center;
}

.panel-detail-col > * {
    display: block;
}

.panel-detail-col:nth-child(2) {
    padding-left: 20px;
}

.panel-detail-col:nth-child(-n + 2) {
    text-align: left;
}

.panel-detail-col:nth-last-child(-n + 1) {
    text-align: right;
}


.panel-detail-value {
    font-weight: bold;
    font-size: 24px;
}

.panel-detail-label {
    font-weight: 400;
    /* font-weight: lighter; */
    font-size: 8px;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
    line-height: 0;
}

.panel-table {
    margin-top: 20px;
    
    overflow: hidden;
    -webkit-transition: height .25s linear;
    -moz-transition: height .25s linear;
    -o-transition: height .25s linear;
    transition: height .25s linear;
}

.panel-screen-container {
    width: 100%; 
    white-space: nowrap;
    overflow: hidden;
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

.panel-screen {
    width: 100%; 
    display: inline-block;
    vertical-align: top;
}

.panel-screen-header {
    display: flex;
    justify-content: space-between;
}

.panel-swipe-animation {
    transition: all 0.5s;
}

/**** RIGHT-SIDE *****/
.right-side {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    padding: 20px;
    margin-left: auto;
    
}

.right-side > * {
    padding: 15px;
}

.right-side-head {
    font-weight: bold;
    font-size: 65px;
    padding-bottom: 15px;
    /* text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); */
}

/* .right-side-head[data-resolve="name"]::before {
    content: "Hoi ";
}

.right-side-head[data-resolve="name"]::after {
    content: "!";
} */

.right-side-main {
    font-weight: 400;
    font-size: 28px;
}

.right-side-footer {
    font-size: 24px;
}


.pace-minutes {
    text-align: right;
}

.pace-text-wrapper {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.time-wrapper {
    position: relative;
    display: flex;
    background: #FFFFFF;
    min-width: 140px;
    color: #1E1E1E;
    border-radius: 3px;
    margin-right: 5px;
    white-space: nowrap;
    overflow: hidden;
    border: 0.5px solid transparent;
}

.time-wrapper:hover {
    border: #5AAA6B 1px solid;
}

.left-rounded {
    border-radius: 8px 0 0 8px;
}

.right-rounded {
    border-radius: 0 8px 8px 0;
    margin-right: 10px;
}

/* .form-landing .time-wrapper {
    height: 52px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    width: 100%;
} */

/* .time-wrapper > * > span {
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
} */

.input-pace-time {
    position: relative;
    padding: 15px 0px 15px 10px;
    display: flex;
    align-self: center;
}

.input-speed {
    padding: 15px 0px 15px 10px;
    align-self: center;
    /* margin-right: 30px; */
}

.time-buttons-right {
    position: absolute;
    right: 0;
    height: 100%;
    background-color: white;
}

.time-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    /* width: 100%; */
    height: 100%;
    /* margin-right: 10px; */
    -webkit-tap-highlight-color: transparent;
}

.time-buttons > svg {
    /* color: gray;
    /* width: 100%; */
    /* height: 100%;
    max-height: 15px;
    cursor: pointer; */
}

.time-button {
    /* pointer-events: none; */
}

.time-button {
    color: #309546;
    width: 15px;
    height: 50%;
    cursor: pointer;
    padding: 0 10px;
    display: flex;
}

.time-button__inner {
    
}

[contenteditable] {
    user-select: text;
    -webkit-user-select: text;
    outline: 0px solid transparent;
    font-variant-numeric: tabular-nums;
    z-index: 10;
    overflow: hidden;
    white-space: nowrap;
    /* text-shadow: 0 0 0 #000; */
    /* color: transparent; */
}

[contenteditable]:focus {
    background-color: #309546B3;
    color: white;
}

.range-label-container {
    display: flex;
    width: 100%;
    position: relative;
}

.range-label {
    top: -10px;
    text-align: center;
    position: absolute;
    font-size: 10px;
    width: 100%;
}

.form-input-button {
    position: relative;
    display: flex;
    border: 2px solid #309546;
    height: 70px;
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 3px;
}

.form-input-button input {
    font-family: Montserrat;
    font-size: 24px;
    width: 100%;
    outline: none;
    border: none;
    padding-left: 20px;
}

.form-input-button svg {
    color: gray;
    height: 100%;
    margin-right: 22px;
    margin-left: 5px;
    width: 40px;
    transition: color .2s ease-in-out;
    /* cursor: pointer; */
}

.form-input-button svg circle, path {
    cursor: pointer;
}

.form-input-button .input-valid + svg {
    color: #309546;
    animation: pulse 2s infinite;
}

.form-column {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-weight: 400;
}

.form-column-gap {
    gap: 6px;
}

.center {
    text-align: center;
}

.form-column + .form-column{
    margin-left: 20px;
}

.form-column > label {
    font-size: 10px;
    margin: 5px 0px;
    font-weight: 400;
    text-transform: uppercase;
}

select:focus {
    background-color: #ADADAD;
}

.select-wrapper {
    width: 100%;
}

.select-wrapper select {
    appearance: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
    width: 100%;
    background-image: url('./icons/arrow_down.svg');
    background-repeat: no-repeat;
    background-position: right 10% bottom 50%;
    background-size: 15px;
    /* margin-right: 25px; */
    padding: 15px 0px 15px 10px;
    /* transition: transform 1s; */
    border: transparent 0.5px solid;
}

.select-wrapper select:focus {
    border: #5AAA6B 1px solid;
    outline: none;
    background-image: url('./icons/arrow_up.svg');
}

.select-wrapper select:hover {
    border: #5AAA6B 1px solid;
}


/* .select-wrapper + .select-wrapper {
    margin-left: 5px;
} */

/* .select-wrapper > select {
    outline: none;
    width: 100%;
    padding: 12px 20px;
    border: none;
    background-color: #FFFFFF;
    font-size: 16px;
    font-weight: 300;
    font-family: Montserrat;P
}

.select-wrapper {
    flex: 1 1 0px;
    border: 1px solid #a0a0a085;
    background-color: #FFFFFF;
}

.select-wrapper + .select-wrapper {
    margin-left: 5px;
} */

#time-input-fields {
    display: flex;
    gap: 5px;
}

#time-input-fields .select-wrapper:first-child select {
    border-radius: 10px 0 0 10px;
}

#time-input-fields .select-wrapper:last-child select {
    border-radius: 0 10px 10px 0;
}

.input-readonly {
    align-self: flex-end;
    font-family: Montserrat;
    font-size: 14px;
    border: none;
    text-align: center;
    min-width: 70px;
    font-variant-numeric: unset;
}

.input-readonly::after {
    content: "KM";
}

.panel-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-size: 14px;
}

.panel-form .btn-green {
    font-size: 16px;
    box-shadow: none;
}
/* 
.navigation-buttons {
    padding: 0 10px 0 10px;
} */

.pace-navigation-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.status-image {
    position: absolute;
    right: 14px;
    width: 20px;
    height: 20px;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 26px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #D9D9D9;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #309546;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #309546;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(34px);
    -ms-transform: translateX(34px);
    transform: translateX(34px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }

  .back {
    padding-left: 0;
  }

.weather {
    display: flex;
}

.weatherDescription {
    display: none;
}

.currentDate + .weatherDescription::before {
    content: ", ";
}

.weatherDescription::after {
    content: "\00a0";
}

@media (max-width: 950px) {
    .back {
        padding-left: 15px;
    }

    .header {
        font-size: 12px;
        position: absolute;
        display: flex;
        justify-content: space-between;
        width: calc(100% - 40px);
        margin: 0;
        padding: 15px 20px;
        z-index: 10;
    }

    .panel-title-result {
        padding-top: 20px;
    }

    .container {
        width: 100%;
        height: 100%;
        display: unset;
        align-content: center;
        display: flex;
    }

    .landing-container {
        gap: 2%;
    }

    .pace-text-wrapper {
        display: none;
    }

    .range-label {
        top: -12px;
    }
    
    .panel-container {
        overflow: scroll;
        min-height: 575px;
        height: 100%;
        width: 100%;
    }

    .panel {
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: scroll;
        z-index: 20;
    }

    .panel-body {
        padding: 0 20px 20px;
    }

    .panel-body-settings {
        margin-top: 15px;
        /* padding: 0 20px 0 20px; */
    }

    
    .panel-form {
        justify-content: space-between;
    }

    .navigation-buttons {
        /* position: absolute; */
        display: flex;
        flex-direction: column;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0px 20px;
    }

    /* .navigation-buttons-temp {
        position: unset;
        padding: 0;
    } */

    .form-fullscreen-body {
        width: 85%;
        margin: auto;
    }

    
    .right-rounded {
        margin-right: 0px;
    }

    .pace-navigation-buttons {
        margin-bottom: 15px;
    }

    .form-landing .time-wrapper {
        height: 57px;
    }
}


@keyframes pulse {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.2);
	}

	100% {
		transform: scale(1);
	}
}app-custom-range {
    --max: 522;
    /* width: 100%; */
}

.custom-control {
    position: relative;
    height: 20px;
    margin-right: 5px;
    width: 100%;
}

.custom-range-input {
    position: relative;
    width: 100%;
}

.custom-range-input input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    width: 100%;
}

.custom-range-input {
    width: 100%;
    z-index: 10;
    position: absolute;
    margin: 0;
    opacity: 0;
    left: 0;
    /* top: 50%;
    transform: translate(-50%, -50%); */
    height: 20px;
}

.custom-range-input:focus + .custom-range-track {
    border: #5AAA6B 1px solid;
}

.custom-range-input:hover + .custom-range-track {
    border: #5AAA6B 1px solid;
}

.custom-range-track {
    border: transparent 0.5px solid;
    cursor: pointer;
    box-sizing:border-box;
    background-color: #D9D9D9;
    border-radius: 30px;
    height: 20px;
    width: 100%;
    top: 0;
    position: absolute;
    pointer-events: none;
}

.custom-range-track::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    /* width: calc(var(--value, 0) * calc(100 / var(--max)) * 1%); */
    width: calc(var(--value, 0) * calc(100 / var(--max)) * 1%);
    min-width: 20px;
    background: #309546;
    border-radius: 30px;
}

.custom-range-indicator {
    border: 1px #309546 solid;
    border-radius: 30px;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    background-color: white;
    /* left: calc(var(--value, 0) * calc(100 / var(--max)) * 1%); */
    /* left: max(calc(var(--value, 0) * calc(100 / var(--max)) * 1%), calc(var(--height) / 2)); */
    left: clamp(calc(20px / 2), calc(var(--value, 0) * calc(100 / var(--max)) * 1%), calc(100% - calc(20px / 2)));
    z-index: 2;
    translate: -50% -50%;
    animation: pulse .75s 2;
}
app-speed-input {
    all: unset;
}

#landing app-speed-input {
    display: flex;
    flex-grow: 1;
}app-pace-input {
    all: unset;
}

#landing app-pace-input {
    display: flex;
    flex-grow: 1;
}/**** TABLE *****/

.panel-table {
    /* max-width: 400px; */
    width: 100%;
    border: none;
    border-collapse: collapse;
    table-layout: fixed;
}

.panel-table tr:nth-child(even) {
    background-color: #FFF;
}

.panel-td:nth-child(-n + 2) {
    text-align: left;
}


.panel-th:nth-child(-n + 2) {
    text-align: left;
}

.panel-td:nth-last-child(-n + 2) {
    text-align: right;
}

.panel-th:nth-last-child(-n + 2) {
    text-align: right;
}

.panel-th {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    padding: 5px 0px;
}

.panel-td {
    font-variant-numeric: tabular-nums;
    text-align: right;
    padding: 4px 0;
    font-size: 12px;
    /* padding-right: 30px; */
}

.tooltip-table {
    width: 100%;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    border: none;
    border-collapse: collapse;
    table-layout: fixed;
}

.tooltip-table td {
    padding: 10px 0;
}

.tooltip-table thead tr {
    background-color: #222222;
}

.tooltip-table thead tr th {
    font-weight: normal;
}

.tooltip-table thead tr:nth-child(2) {
    font-size: 12px;
    letter-spacing: -3px;
}

.tooltip-table tbody tr:nth-child(even) {
    background-color: #222222;
}

.tooltip-table tr th {
    padding: 0 10px;
}

.tooltip-table tr th:not(first) {
    text-align: right;
}

/* .tooltip-table tr th:first {
    text-align: left;
} */

.tooltip-table tr td:not(first) {
    text-align: right;
}

/* .tooltip-table tr td:first {
    text-align: left;
} */

.tooltip-table td {
    font-variant-numeric: tabular-nums;
}

.close-tooltip {
    background: #F7F7F7;
}

/* tr:nth-last-child(-n + 1) td {
    font-weight: bold;
} */

/* tr:nth-last-child(-n + 1) td:first-child::after {
    content: " \01F3C1";
} */


.panel-header-mob {
    display: none;
}

@media (max-width: 950px) {
    .panel-header-mob {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        font-size: 10px;
        text-transform: uppercase;
        margin: 15px;
    }
}

.WIMH-fullscreen {
    display: flex;
    flex-direction: column;
}

.tooltip-bg {
    color: #FFFFFF;
    background-color: #33363F;
    min-height: 100%;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    z-index: 200;
}

.WIMH-top {
    width: 100%;
    position: relative;
}

.tooltip-label {
    padding: 30px 0;
    /* position: absolute;
    margin: -35px 0; */
}

.tooltip-label > span {
    border: 1px solid;
    text-transform: uppercase;
    font-weight: bold;
    padding: 8px;
    border-radius: 10px;
}

.WIMH-top .right {
    position: absolute;
    top: 20px;
    right: 25px;
}

.WIMH-content {
    text-align: center;
    width: 80%;
    margin: auto;
}

.tooltip-content {
    text-align: left;
    width: 90%;
    margin: 0 auto;
}

.tooltip-content p {
    margin-top: 0;
}

.WIMH-header {
    font-size: 74px;
    font-weight: bold;
    margin-bottom: 20px;
}

.WIMH-sub-header {
    margin-top: 20px;
    font-size: 38px;
    font-weight: bold;
}

.WIMH-fullscreen-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#WIMH p {
    margin: 0;
    font-size: 25px;
}

.WIMH-bottom {
    display: none;
}

.footer-index {
    display: flex;
    justify-content: center;
    padding: 15px 0px;
    color: #FFFFFF;
    background-color: #33363F;
    /* width: 100%; */
}

@media (max-width: 950px) {
    .footer-index {
        justify-content: left;
        padding: 25px 0px 25px 15px;
        font-size: 14px;
        /* width: unset; */
    }

    .WIMH-fullscreen {
        justify-content: space-between;
    }
    
    .WIMH-top {
        display: none;
    }
    
    .WIMH-header {
        margin-top: 0px;
        font-size: 30px
    }

    .WIMH-sub-header {
        font-size: 22px;
    }

    #WIMH p {
        font-size: 18px;
    }

    .WIMH-bottom {
        display: flex;
        flex-direction: row-reverse;
        padding: 0 20px;
    }
}