h3 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
}

:root {
  --blue: #10828c;
  --orange: #eba10c;
  --white: #ffffff;
  --black: #000000;
  --light-grey: #efefef;
  --light-blue: #aacfd3;
  --light-orange: rgba(235, 161, 12, 0.75);
  --medium-blue: #4ca1a9;
  --dark-grey: #676464;
  --body-fonts: "Roboto";
  --logo-fonts: "Sansation", sans-serif;
  --font-size-heading: 2.9vw;
  --font-size-subheading: 1.5vw;
  --font-size-bodytext: 1.2vw;
  --font-size-nav: 50px;
  --font-size-nav-active: 60px;
}

body {
  padding: 0;
  margin: 0;
}

#eventsWrapper {
  display: flex;
  direction: row;
}

/*navigation styles*/
.main-navigation {
  width: 22vw;
  height: 100vh;
  background-color: var(--blue);
  margin-top: 0vw;
  padding-top: 0.5vw 1vw 0vw 0vw;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  position: sticky;
}

.navigation-dateandtime {
  font-family: var(--body-fonts);
  font-size: 1vw;
  color: var(--black);
  font-weight: 400;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-left: 1.6vw;
  margin-right: 1.6vw;
}

.logo-grundfos {
  width:22vw;
  height:auto;
  margin-top:1vh;
}

.logo-grundfos-link {
text-decoration: none;
}

.navigation-links {
font-size: 1.5vw;
display: flex;
flex-direction: column;
margin-left: 3.5vw;
margin-top: auto;
margin-bottom: auto;
top: 10vw;
font-family: var(--body-fonts);
line-height: 4vw;
color:var(--light-grey)
}

.nav-link {
color: var(--light-grey);
text-decoration: none;
}

.nav-link:hover {
color: white;
text-decoration:none;
font-size: 1.6vw;
font-weight: bolder;
}

.navigation-qr {
display: flex;
flex-direction: column;
align-items: center;
margin-top: auto;
margin-bottom: 5vh;
}

.navigation-qr-code-description {
font-family: var(--body-fonts);
color:var(--light-grey);
font-size: 0.99vw;
line-height: 0vw;
}

.navigation-qr-code-image {
width: 35%;
height: 80%;
}

#activePage {
  font-size: 1.6vw;
  font-weight: bolder;
  color: var(--white);
}

/*events sytles*/

.eventsContent {
  background-color: var(--white);
  width: 78vw;
  margin: 0;
  padding: 0;
}

.eventsTop {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

#eventsH1 {
  display: block;
  justify-content: center;
  font-family: var(--body-fonts);
  font-size: var(--font-size-heading);
  font-weight: 500;
  letter-spacing: 0.2vw;
  text-align: center;
  flex: 1;
  margin-bottom: 1.5vw;
}

#eventsLink {
  text-decoration: none;
  color: #000000;
}

.eventsSearchIcon {
  width: 2.8vw;
  margin-right: 2vw;
}

/*main part of events page*/
.eventsInfo {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  margin-left: 5vw;
  margin-right: 5vw;
}

/*upcoming events*/

.eventsH2 {
  font-family: var(--body-fonts);
  font-size: var(--font-size-subheading);
}

.eventListings {
  display: flex;
  flex-direction: column;
  row-gap: 1vw;
}

.eventListing {
  display: flex;
  flex-direction: row;
  cursor: pointer;
}

.eventListingImage {
  height: 10vw;
}

.eventDetails {
  padding-left: 1vw;
  padding-right: 1vw;
  background-color: var(--light-grey);
  width: 15vw;
  border-radius: 0px 5px 5px 0px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.eventDate {
  font-family: var(--body-fonts);
  font-size: var(--font-size-bodytext);
  text-align: center;
  padding: 0;
  margin: 0;
}

.eventH3 {
  font-family: var(--body-fonts);
  font-size: var(--font-size-bodytext);
  text-align: center;
}

.eventsReadMore {
  background-color: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0.5vh 1vw;
  font-family: var(--body-fonts);
  font-size: var(--font-size-bodytext);
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 8vw;
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
}

/*event idea?*/
.eventP {
  font-family: var(--body-fonts);
  font-size: var(--font-size-bodytext);
  margin-top: 9vh;
  margin-left: 6.5vw;
}

#eventIdeaButton {
  background-color: var(--white);
  color: var(--orange);
  border: solid orange 2px;
  border-radius: 50px;
  padding: 0.5vw 1vw;
  font-family: var(--body-fonts);
  font-size: var(--font-size-bodytext);
  justify-content: center;
  margin-left: 0.8vw;
  cursor: pointer;
}

/*calendar*/

#wholeCalendarSection {
  margin-left: 5vw;
  width: 22vw;
}

.eventCalendarHeading {
  border-radius: 15px, 15px, 0px, 0px;
}

.eventsSmallCalendarArrow {
  height: 3vh;
}


.tg {
  border-collapse: collapse;
  border-spacing: 0;
  height: 45vh;
  width: 20vw;
  cursor: pointer;
}

.th {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.eventCircle {
  width: 25px;
  height: 25px;
  background-color: var(--light-blue);
  border-radius: 50%;
  border: none;
}

.eventActiveDate {
  background-color: var(--light-blue);
  border: none;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 100%;
  text-align: center;
  vertical-align: top;
}

.tg td {
  border: none;
  border-width: 1px;
  font-family: Arial, sans-serif;
  overflow: hidden;
  padding: 10px 5px;
  word-break: normal;
}
.tg th {
  border-color: black;
  border-style: solid;
  border-width: 1px;
  font-family: Arial, sans-serif;
  font-size: var(--font-size-bodytext);
  font-family: var(--body-fonts);
  font-weight: normal;
  overflow: hidden;
  padding: 10px 5px;
  word-break: normal;
}
.tg .tg-vnm0 {
  background-color: #f2f2f2;
  border-color: #f2f2f2;
  color: #000000;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: large;
  font-weight: bold;
  text-align: center;
  vertical-align: top;
}
.tg .tg-djcx {
  background-color: #f2f2f2;
  border-color: #f2f2f2;
  color: #c0c0c0;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 100%;
  text-align: center;
  vertical-align: top;
}
.tg .tg-tvsr {
  background-color: #aacfd3;
  border-color: #aacfd3;
  text-align: center;
  vertical-align: top;
}
.tg .tg-l3ty {
  background-color: #ebebeb;
  border-color: #ebebeb;
  color: #000000;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 100%;
  text-align: center;
  vertical-align: top;
}
.tg .tg-adty {
  background-color: #f2f2f2;
  border-color: #f2f2f2;
  color: #000000;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 100%;
  text-align: center;
  vertical-align: top;
}
@media screen and (max-width: 767px) {
  .tg {
    width: auto !important;
  }
  .tg col {
    width: auto !important;
  }
  .tg-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/*help icon*/
#help-icon {
  width: 3.5vw;
  height: auto;
  margin-right: 2vw;
  margin-top: 1vw;
  margin-bottom: 0vw;
  margin-left: 72vw;
  object-fit: contain;
}

.bottom-page {
  display: flex;
  height: 5vw;
}

/*Modal window content CSS*/

.popupBody {
  display: flex;
  flex-direction: column;
}

.eventPopUpTop {
  display: flex;
  flex-direction: row;
}

.eventPopUpImage {
  width: 50%;
  height: 50%;
}

.popupH2 {
  color: var(--blue);
  font-family: var(--body-fonts);
  font-size: var(--font-size-subheading);
}

.eventPopUpHeader {
  width: 50%;
  border-top: 2px solid var(--light-grey);
  border-right: 2px solid var(--light-grey);
  border-radius: 0px 0px 5px 5px;
  border-radius: 0px 5px 0px 0px;
  text-align: center;
  padding-top: 0vh;
  background-color: var(--light-grey);
}

.eventPopUpDescription {
  border: 2px solid var(--light-grey);
  border-radius: 0px 0px 5px 5px;
  height: 30vh;
}

.popupP {
  font-family: var(--body-fonts);
}

.popupH1 {
  font-family: var(--body-fonts);
}

.eventPopUpDescriptionIndent {
  margin-left: 1vw;
}

.popupDetailsText {
  font-size: smaller;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.modal-content {
  background-color: #fefefe;
  margin: 7% 33%; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 50%; /* Could be more or less, depending on screen size */
  height: 62%;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  padding-right: 1vw;
  margin-top: 0;
  padding-top: 0;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.dateHeader {
  padding-top: 8vh;
}

