
html,body{
    height:100%;
    overflow-x:hidden;
    font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "Helvetica Neue", sans-serif;
    width: 100%;
    min-width: 200px;
    background-color: #f5f5f5;
    margin:0;
    padding: 0;
}

#map {
    height: 89%;
    width: 100%;
    border-radius: 5px;
}

.popup-image {
    width : 100%;
    border-radius: 5px;
    min-height: 60px;
    max-height: 250px;
    object-fit: cover;
}

.main-header {
    height: 100px;
    background-color: #3a7ec9;
    color: white;
    font-size: 2rem;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center; /* horizontal centering */
    align-items: center;     /* vertical centering */
    height: 100px;
}


.flex-container{
    display: flex;
    justify-content: space-between;
    padding-left: 10px;
    padding-right: 10px;
}


.valgboks{
    height: 50px;
    margin-top: 15px;
    text-align: center;
    align-content: center;
    opacity: 0.9;
    background-color: white;
    border-radius: 10px;
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;

}

.valgboks:hover{
    scale: 1.05;
    transition:0.3s ease-in-out;
}

.infobox{
    height: 200px;
    background-color: white;
    width: 90%;
    align-content: center;
    border-radius: 10px;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 20px;
    opacity: 0.9;
    text-align: center;
}

.infoheader{
    color: rgb(58, 126, 201)
}

.bokslink{
    text-decoration: none;
    color: black;
}

a{
    text-decoration: none;
}

.picdiv{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

}

.trippic{
    height: 400px;
    z-index: 1;
}

.pictext {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: white;
}

.swiper{
    height: 40%;
    min-height: 300px

}

.swiper_image {
    width: 100%;
    height: 350px;
    object-fit:cover;
    margin-top: -20px;
  }

.maps{
    height: 600px;
    width: 100%;
}

.guestbook{
    margin-top: 20px;
    background-color: rgb(247, 247, 247);
    border-radius: 5px;
}

  .faq-section {
    max-width: 800px;
    margin: 50px auto;

    background: #fff;
    border-radius: 5px;
  }

  .faq-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
  }

  .faq-item {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
  }

  .faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.2rem;
    color: #000000;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }


  .icon {
    font-size: 1.5rem;
    color: #91c6ff;
  }

  .faq-answer {
    padding: 10px;
    font-size: 1rem;
    color: #000000;
    display: none;
  }

  .faq-question.active .icon {
    content: "-";
  }

  .tripstats{
    display: flex;
    margin-top: 10px;
    width:100%;
    justify-content: space-around;
  }

  .statbox{
    background-color: #3a7ec9;
    border-radius: 5px;
    height: 110px;
    width: 30%;
    color:white;
    justify-content: center;
    text-align: center;
  }

  .tripbody{
    margin-left: 10px;
    margin-right: 10px;
  }

  .marginbody{
    margin-left: 10px;
    margin-right: 10px;
  }

.roundedbody{
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-color: white;
    margin-top: -40px;
    padding: 15px 15px 30px 15px;
    box-shadow: 0px -5px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

.tabs {
  display: flex;
  background-color: #f0f0f5;
  border-radius: 8px;
  margin: 16px 0;
  overflow: hidden;
}

.tab {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tab.active {
  background-color: #0069c0;
  color: white;
  width: 100%;
  height: 40px;
}

.direction-selector {
  display: flex;
  justify-content: center;
  margin: 16px 0;
  gap: 8px;
}

.direction-btn {
  padding: 10px 16px;
  background-color: #f0f0f5;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.direction-btn.active {
  background-color: #0069c0;
  color: white;
}

.schedule-container {
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  margin-bottom: 16px;
  overflow: hidden;
}


table {
  width: 100%;
  border-collapse: collapse;
}

th {
  background-color: #f0f0f5;
  padding: 12px 8px;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 500;
}

td {
  padding: 12px 8px;
  border-bottom: 1px solid #f0f0f5;
  font-size: 0.95rem;
  text-align: left;
}

tr:last-child td {
  border-bottom: none;
}

.stop-name {
  font-weight: 500;
  text-align: left;
  padding-left: 20px;
}

.key {
  margin-top: 24px;
  background-color: white;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.key h3 {
  margin-top: 0;
  font-size: 1rem;
}

.key p {
  margin: 8px 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.key p span {
  margin-right: 8px;
  font-size: 0.8rem;
  display: inline-block;
  min-width: 20px;
}

.container {
  padding: 16px;
  max-width: 100%;
}

.weatherbox {
width: 100%;
min-height: 350px;
border-radius: 15px;
object-fit: contain;
overflow: hidden;
}

.qrbox {
width: 80%;
margin-top: 40px;
display: flex;
justify-content: center;
margin-left: 10%;
}

.qrimg {
width: 90%;
border-radius: 15px;
margin-top: 20px;
}

.subtexttext {
text-align: center;
background-color: white;
width: 150px;
border-radius: 3px;
font-size: 1.5em;
margin-left: 30%;
}

.attribution {
background-color: white;
border-radius: 3px;
width: 60%;
margin-left: 20%;
text-align: center;
margin-top: -15px;
}

.logoimg {

min-height: 80px;
max-height: 180px;
} 

.infop {
  margin: 2px
}

.toiletimg {
  width: 200px;
  height: 100%;
}

.mainfooter{
    text-align: center;
    height: 80px;
    background-color: #234e7c;
    color: white;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-size: 0.8rem;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    align-content:center;
    text-decoration: none;
}

.languages{
  position: absolute;
  right: 20px;
  display: flex;
  font-size: 15px;
  margin-left: 50px;
  text-decoration: none;
  
}

.active-lang{
  margin-right: 10px;
  background-color: rgb(255, 255, 255);  
  color: #3a7ec9;
  border-radius: 30%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  padding: 5px;
  width: 20px;
  text-align: center;
}

.active-lang:hover{
  transform: translateY(-1px);
  transition: 0.3s ease;
}

.disactive-lang:hover{
  transform: translateY(-1px);
  background-color: white;
  color: #3a7ec9;
  transition: 0.3s ease;

}

.disactive-lang{
  margin-right: 10px;
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 30%;
  padding: 5px;
  text-align: center;
  width: 20px;
}
.ham-menu {
  position: absolute;
  left: 30px;
  top: 30px;
  font-size: 30px;
  text-decoration: none;
  color: white;
  cursor: pointer;
  z-index: 20000;
}

/* Hide the X icon by default, show hamburger */
.ham-menu i:nth-child(1) {
  opacity: 1;
}

.ham-menu i:nth-child(2) {
  opacity: 0;
}

/* When active, hide hamburger and show X */
.ham-menu.active i:nth-child(1) {
  opacity: 0;
}

.ham-menu.active i:nth-child(2) {
  opacity: 1;
}

.menu-content {
  position: fixed;
  top: 0;
  z-index: 10000;
  background: #3A7EC9;
  background: linear-gradient(172deg, rgba(58, 126, 201, 1) 0%, rgba(83, 204, 237, 1) 100%);
  height: 100vh;
  width: 100vw;
  max-width: 500px;
  left: -500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-decoration: none;
  transition: 0.3s ease;
}

.menu-content.active {
  left: 0;
}

.menu-content a {
  font-size: large;
  color: white;
  padding: 10px;
  text-decoration: none;
}

.menu-content a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}