﻿* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    min-height: 100%;
}

a {
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    /* font-size: 14px;*/
    font-weight: normal;
}

ul.disc-list {
    padding-left: 1.5em;
}
ul.disc-list li {
    list-style: disc;
    padding-bottom: .5em;
}
ul.disc-list li:last-child {
    padding-bottom: 0;
}

.main-nav li {
    list-style-type: none;
}

.main-nav li .menuIcon {
    position: relative;
    top: 2px;
}

.menuIcon {
    font-size:16px;
}

.navbar {
    width: 100%;
    position: fixed;
    z-index: 950;
    /*  background-color: white;
   border-bottom: 1px solid #dddddd;*/
    justify-content: center;
    display: flex;
   
}

.main-nav {
    display: flex;
    width: 90%;
    max-width: 1440px;
    justify-content: space-between;
    align-items: center;
    height: 68px;
    background-color: white;
    border-bottom: #33a737 solid 2px;
    z-index: 1000;

}

.main-nav li a {
    color: #222;
}

.mobilAvatar, .mobilAdd, .mobilSearch, .mobilEvent {
    display: none;
}

#MenuV5_newWoBadgeMobile, #MenuV5_newEvBadgeMobile {
    display: none;
}

.MenuAvatar img {
    border-radius: 50%;
}


.linkDrop {
    border: none;
    outline: none;
    margin-left: 10px;
    background: none;
    color: #222;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  background-color: #33a737;
  color: #ffffff;
  padding: 7px 14px;
  border-radius: 5px;
  margin: 0;
}

.logoutBtn {
  background-color: #33a737;
  border: 0;
  border-radius: 5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin-bottom: 0.5rem;
  margin-left: 1rem;
  float: left;
  color: white;
  padding: 0.5rem 1rem;
}

/* .logoutBtn {
  background-color: #33a737;
} */

.dropdown-content .logoutBtn a {
  color: white;
}

.dropdown-content {
  display: none;
  position: absolute;
  padding-top: 0.5rem;
  background-color: rgba(255, 255, 255, 0.947);
  min-width: 160px;
  border-left: rgba(220, 220, 220, 0.445) 1px solid;
  border-bottom: rgba(220, 220, 220, 0.479) 1px solid;
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 14px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: rgb(247, 247, 247);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.badge {
  box-sizing: border-box;
  display: inline-block;
  background-color: #33a737;
  color: white;
  margin-left: -7px;
  border-radius: 1rem;
  text-align: center;
  position: relative;
  bottom: 8px;
  /* right: -162px; */
  font-size: 10px;
  min-height: 1rem;
  min-width:1rem;

  padding: 0.05rem 0.27rem 0.125rem 0.27rem;
}

.searchContainer {
  display: inline-flex;
  flex: 1 1 300px;
  position: relative;
  border: 1px solid #dcdcdc;
  border-radius: 30px;
  overflow: hidden;
  max-width: 10rem;
}

.searchContainer:hover {
  box-shadow: 1px 1px 8px 1px #dcdcdc;
}
.searchContainer:focus-within {
  box-shadow: 1px 1px 8px 1px #dcdcdc;
  outline: none;
}
.searchbar {
  height: 30px;
  border: none;
  font-size: 12px;
  outline: none;
  margin-left: 0.5rem;
  max-width: 7rem;
}

::placeholder {
  color: #4d535780;
}

.searchIcon {
  padding: 0.5rem;
  background: #33a737;
  color: #ffffff;
}

.searchBox {
  border: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-left: 5px;
  flex: 1;
}

.logo {
  width: 11rem;
  margin: 14px 0;
}

.cirkel {
  width: 3.2rem;
  position: absolute;
}

/* Hero section*/
.hero-image {
    background-image: url(../v5img/BgBlur2.jpg);
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    min-width: 100%;
    height: auto;
}

.hero-text {
    width: 85%;
    text-align: right;
    position: absolute;
    top: 320px;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #222;
}

.hero-text .btn {
  border: none;
  border-radius: 5px;
  outline: 0;
  margin-left: 1rem;
  display: inline-block;
  padding: 16px 35px;
  color: rgb(255, 255, 255);
  background-color: #33a737;
  text-align: center;
  cursor: pointer;
  font-size: 24px;
}

.hero-text .btn:hover {
  background-color: #4d5357;
  color: white;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: bolder;
    margin:0;
}

.hero-text h2 {
    font-size: 24px;
    font-weight: bolder;
    padding-top: 30px;
    margin: 0;
}

.hero-text h3 {
    font-size: 18px;
    font-weight: bolder;
    padding-top: 30px;
    margin: 0;
}

.hero-buttons{
    display:inline-block;
    padding-top: 50px;
}

/* Content*/
#pageOuter {
    min-height: 100vh;
    /*background-color: white;*/
    display: flex;
    justify-content: center;
    padding-top: 72px;
    /*background-color: #FFFFFF;*/
    background-image: url(../v5img/bgGradeW2.png);
    background-position:top center;
    background-attachment:fixed;
    background-repeat: no-repeat;
}

/* Footer*/
.footer {
  width: 100%;
  height: 100px;
  background-color: rgb(255, 255, 255);
  z-index: 1;
  display: flex;
  color: #4d5357;
  padding: 1.5rem;
  align-items: flex-end;
  position: relative;
  left: 0;
  bottom: 0;
}

.adress {
  flex: 1;
  font-size: 12px;
  font-weight: normal;
}

.adress p {
   margin:0;
}

.footerLinks {
  flex: 1;
  text-align: right;
}
.footerLinks li a {
  color: #4d5357;
  font-size: 12px;
}


/* Media querries */
@media only screen and (max-width: 1200px) {
    .main-nav {
        width: 100%;
        padding: 0 1rem;
    }
}

@media only screen and (max-width: 1024px) {
    .main-nav {
        /*  justify-content: space-evenly;*/
        padding: 0;
    }

        .main-nav li {
            text-align: center;
            /* background-color: white;*/
        }

    .menuItem, .loginItem {
        display: none;
        background-color: white;
        padding: 5px;
    }

    .hideNavItem {
        display: none;
    }

    .dropdown-content {
        position: relative;
        box-shadow: none;
        border: none;
        padding-top: 0px;
        background-color: #EEE;
    }

        .dropdown-content a {
            text-align: center;
            padding: 8px;
        }

    .profile-content {
        background-color: white;
    }

    .notOnMobile {
        display: none !important;
    }

    .mobilAvatar, .mobilAdd, #MenuV5_newWoBadgeMobile, .mobilEvent, #MenuV5_newEvBadgeMobile {
        display: inline-block;
    }

    .mobilAvatar, .mobilAdd {
        padding: 0 35px;
    }

    .menuIcon {
        font-size: 28px;
        vertical-align: middle;
    }

    .mobilAvatar img {
        height: 30px;
        width: 30px;
    }

    .profile-content {
        display: block;
        padding: 20px;
    }

    .button.button_logout {
        margin-top: 10px;
    }

    .logoutBtn {
        float: none;
        margin-left: 0;
    }
    #MenuV5_ProfilLi{
        padding:0px;
    }

    .nav-linksi, .nav-register {
        border-bottom: 1px solid #33a737;
        padding-bottom:20px;
    }

    .hero-image, #pageOuter {
        background-attachment: scroll;
    }

    #startPageArticle .social, #startPageArticle h1, #startPageArticle a p {
        clear: both;
        float: left;
        width: 100%;
    }
    #startPageArticle .social{
        margin-left:20px;
    }


    .mobilAvatar {
        padding: 0 10px 0 30px;
    }

    .mobilAdd {
        padding: 0 27px 0 27px;
    }

    .mobilEvent {
        padding: 0 35px 0 0px;
    }

    .badgeMobileAdd {
        left: -5px;
    }

    .badgeMobileEvent {
        left: 0px;
    }
}

@media only screen and (max-width: 768px) {
    .cirkel {
        width: 3rem;
        position: absolute;
    }

    .icon {
        padding-right: 0.5rem;
    }

    .hero-text h1  {
        font-size: 36px;
    }

    .hero-text h2 {
        font-size: 16px;
    }

    .hero-text h3 {
        font-size: 12px;
    }

    .hero-text {
        width: 90%;
        text-align: right;
        position: absolute;
        top: 35%;
    }

    .hero-text .btn {
        padding: 10px 25px;
        font-size: 18px;
    }

    .footer {
        height: 80px;
        padding: 1rem;
    }

    .adress {
        font-size: 9px;
    }

    .footerLinks {
        flex: 1;
        text-align: right;
        font-size: 9px;
    }
}

@media only screen and (max-width: 500px) {   

    .hero-text .btn {
        font-size:16px;    
    }

    .hero-text h1 {
        padding-top: 20px;
    }

    .hero-text h2 {
        padding-top: 20px;
    }

    .hero-text h3 {
        width: 70%;
        float: right;
        padding-top: 20px;
    }

    .logo {
        width: 130px;
        margin: 1.1rem 0.7rem;
    }

    .footerLinks li a {
        font-size: 9px;
    }

    .adress p {
        font-size: 9px;
    }

    .mobilAvatar {
        padding: 0 10px 0 20px;
    }
    .mobilAdd {
        padding: 0 17px 0 17px;
    }
    .mobilEvent {
        padding: 0 25px 0 0px;
    }
    .badgeMobileAdd {
        left: -5px;
    }

    .badgeMobileEvent {
        left: 0px;
    }

    .menuIcon {
        font-size: 25px;
    }
}

@media only screen and (max-width: 375px) {
    .hero-text h1 {
        font-size: 24px;
    }

    .mobilAdd {
        padding: 0 30px 0 10px;
    }

    .hero-text .btn {
        padding: 7px 18px;
        font-size: 14px;
    }

    .menuIcon {
        font-size: 23px;
    }

 
    .mobilAvatar img {
        height: 25px;
        width: 25px;
    }

    .mobilAvatar {
        padding: 0 10px 0 10px;
    }

    .mobilAdd {
        padding: 0 10px 0 10px;
    }

    .mobilEvent {
        padding: 0 15px 0 0px;
    }

    .badgeMobileAdd {
        left: -5px;
    }

    .badgeMobileEvent {
        left: 0px;
    }
}

@media only screen and (max-width: 360px) {
    .footer {
        height: 70px;
        padding: 0.7rem;
    }

    .footerLinks {
        flex: 1;
        text-align: right;
        font-size: 7px;
    }

    .footlink {
        font-size: 8px;
    }
}

@media only screen and (max-width: 320px) {
    .hero-text h2 {
        font-size: 12px;
        padding-top: 15px;
    }

    .hero-text h3 {
        font-size: 9px;
        padding-top:15px;
    }

    .hero-buttons{
        padding-top:30px;
    }

    .logo {
        width: 110px;
    }

    .mobilAvatar {
        padding: 0 5px 0 5px;
    }

    .mobilAdd {
        padding: 0 0px 0 5px;
    }

    .mobilEvent {
        padding: 0 5px 0 0px;
    }

    .badgeMobileAdd {
        left: -5px;
    }

    .badgeMobileEvent {
        left: 0px;
    }

}

.imageOverlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.25);
    pointer-events: none;
    z-index: 1005;
}

.imageBoxWrapper {
    position: fixed;
    inset: 0;
    display: grid;
    align-items: center;
    justify-items: center;
    backdrop-filter: blur(25px);
    z-index: 1010;
}
.imageBoxContainer {
    position: relative;
    top: 0;
    left: 0;
    min-height: 100px;
    min-width: 175px;
    padding: 15px;
    background: #fff;
    box-shadow: 0 2px 10px 4px rgba(0,0,0,.3);
    border-radius: 5px;
    text-align: center;
}

i.closer {
    position: absolute;
    top: -16px;
    right: -16px;
    font-size: 32px;
}

i.closer:first-of-type {
    color: #fff;
}

.imageBox {
    overflow: auto;
    max-height: 750px;
    max-height: calc(90vh - 30px);
    max-width: 900px;
    max-width: calc(100vw - 80px);
}

html {
    --hover-popupbackground: #369;
    --hover-popupcolor: #fff;
    scroll-behavior: smooth;
}

.has-popup {
    border-bottom: 1px dashed var(--hover-popupbackground);
    cursor: default;
}

.equipment-time {
    position: relative;
}

.equipment-time:has(.equipment-time-details) {
  border-bottom: 1px dashed var(--hover-popupbackground);
  cursor: default;
}

.equipment-time i {
    color: var(--hover-popupbackground);
    padding: 0 5px;
}

.equipment-time-details {
    display: none;
    position: absolute;
    transform: translate(calc(-50% + 11px), calc(-100% - 8px));
    background-color: var(--hover-popupbackground);
    color: var(--hover-popupcolor);
    padding: 0.5em 1em;
    text-align: center;
    min-width: calc(100% + 20px);
    border-radius: 7px;
    white-space: nowrap;
    font-weight: 600;
    box-shadow: 0 0 5px 3px #fff;
}
.equipment-info .equipment-time-details {
    transform: translate(-6px, calc(-100% - 8px));
}
.equipment-time-details::before {
    content: "";
    border: 8px solid transparent;
    border-top: 8px solid var(--hover-popupbackground);
    position: absolute;
    bottom: -15px;
    left: calc(50% - 8px);
}
.equipment-info .equipment-time-details::before {
    left: 15px;
}
.equipment-time-details::after {
    content: "";
    width: 100%;
    height: 13px;
    position: absolute;
    top: calc(100% - 5px);
    left: 0;
}
.equipment-time:hover .equipment-time-details,
.equipment-time:hover .equipment-time-details,
.equipment-time:active .equipment-time-details {
    display: block;
}

.equipmentInfoBox .equipmentInfoText {
    overflow: visible;
}

.equipmentInfoBox .equipmentInfoText a {
    display: inline-block;
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.training-plans-type-links,
.training-plans-filter {
    float: right;
    margin-top: 30px;
    display: inline-grid;
    grid-auto-flow: column;
    grid-column-gap: 10px;
}

.training-plans-filter {
    float: none;
    margin-top: 10px;
    margin-bottom: 2px;
}

.training-plans-type-links a,
.training-plans-filter a {
    border: 2px solid #33a737;
    font-size: 18px;
    border-radius: 17px;
    font-weight: 600;
    height: 34px;
    line-height: 28px;
}

.training-plans-filter a.active {
    background-color: #33a737;
    color: #fff;
}

.training-plans-type-links a[href="#run"] {
    border-color: #33a737;
    color: #33a737;
}

.training-plans-type-links a[href="#bike"] {
    border-color: #ad3279;
    color: #ad3279
}

.training-plans-type-links a[href="#tri"] {
    border-color: darkorange;
    color: darkorange;
}

.training-plans-type-links a i,
.training-plans-filter a i {
    background-color: #33a737;
    color: #fff;
    padding: 16px 2px 16px 0;
    border-radius: 16px;
    height: 32px;
    width: 32px;
    margin: -1px;
    font-size: 20px;
    line-height: 0;
    text-align: center;
    display: inline-block;
    float: left;
}

.training-plans-filter a.active i {
    background-color: #fff;
    color: #33a737;
    float: right;
}

.training-plans-type-links a[href="#run"] i {
    background-color: #33a737;
}

.training-plans-type-links a[href="#bike"] i {
    background-color: #ad3279;
}

.training-plans-type-links a[href="#tri"] i {
    background-color: darkorange;
    transform: rotate(-45deg);
}

.training-plans-type-links .fa-biking:before {
    font-size: 16px;
    bottom: 2px;
    position: relative;
}

.training-plans-type-links a span,
.training-plans-filter a span {
    padding: 0 12px 0 8px;
    font-size: 18px;
}

.training-plans-header {
    clear: both;
    font-size: 15px;
}

.training-plans h2 {
    color: #fff;
    background-color: #33a737;
    margin: 5px 0;
    padding: 10px;
    text-align: center;
}

.training-plans #bike h2 {
    background-color: #ad3279;
}

.training-plans #tri h2 {
    background-color: darkorange;
}

.training-plan-box {
    border: 1px solid #999;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
}

.training-plan-box h3 {
    text-align: center;
    margin: -11px -11px 10px;
    padding: 7px;
    background-color: #555;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 10px 10px 0 0;
}

.training-plan-box img {
    margin-bottom: 20px;
}

.training-plan-versions {
    display: grid;
}

.training-plan-version {
    padding: 10px;
    margin: 0 -10px;
    transition: background-color .2s;
}

.training-plan-version:last-child {
    margin-bottom: -10px;
    border-radius: 0 0 9px 9px;
}

.training-plan-version:hover {
    background-color: #fafafa;
}

.training-plan-version h4 {
    font-size: 16px;
    font-weight: 700;
}

.training-plan-version-details {
    display: grid;
    grid-auto-flow: column;
    grid-column-gap: 10px;
}

@media only screen and (max-width: 767px) {
    .training-plans-type-links {
        margin: 10px 0;
        float: left;
    }

    .training-plans-filter {
        margin: 10px 10px 5px;
        float:none;
    }

    .training-plans-type-links a span,
    .training-plans-filter a span {
        display: none;
    }

    .training-plan-box {
        margin:10px 5px;
    }

    .training-plan-version-details {
        grid-column-gap: 8px;
        font-size: 12px;
    }
}

.href-target {
    scroll-margin-top: 60px;
}

.holid-wrapper {
    position: relative;
    clear: both;
    background-color: #fff;
    text-align: center;
}
.holid-wrapper.holid-top {
    margin: 0 auto 5px;
    padding-bottom: 10px;
    border-bottom: 2px solid #33a737;
}
.holid-wrapper.holid-mid {
    margin: 10px auto;
}
.holid-wrapper.holid-bottom {
    margin: 10px auto 0;
    padding-top: 2px;
    border-top: 2px solid #33a737;
}
.holid-head {
    display: flex;
    column-gap: .75ch;
    justify-content: center;
    align-items: flex-end;
    font-size: 11px;
    color: #a7a7a7;
    margin-bottom: 3px;
}
.holid-head::before,
.holid-head::after {
    content: "\25bc";
    color: #ccc;
    font-size: 94%;
}
.holid-body {
    overflow: hidden;
    display: grid;
    align-items: center;
    justify-content: center;
    background-color: #fafafa;
}
.holid-body.widescreen {
    min-height: 240px;
    margin: 0 10px;
}
.holid-body.mobile {
    min-height: 320px;
}