body {
  background-color: #132352;
  transition: opacity 0.1s ease-out;
  overscroll-behavior-x: none;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  /* Dette forhindrer horisontal scrolling */
}


.fade-out {
  opacity: 0;
}

.nav-buttons {
  position: absolute;
  top: 0.5rem;
  z-index: 100;
}

.nav-top-wrapper {
  display: flex;
  flex-direction: column;
}

.nav-text-wrapper {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;

}

#mobile-dropdownList {
  height: auto;
  overflow: hidden;
}

.nav-text {
  font-size: 0.9rem;
  color: #fff;
  font-family: korolev, sans-serif;
}



.logo-buttons-wrapper a:first-child .logo-wrapper {
  background-color: #fff;
}

.logo-buttons-wrapper a:first-child .logo-wrapper .logo-light {
  display: none;
}

.logo-buttons-wrapper a:first-child .logo-wrapper .logo-dark {
  display: flex;
}


/* Hide the dark logo by default */
.logo-dark {
  display: none;
}

/* Show the dark logo and hide the light logo on hover */
.logo-wrapper:hover .logo-light {
  display: none;
}

.logo-wrapper:hover .logo-dark {
  display: flex;
}




.dropdown {
  position: relative;
  display: inline-block;
  background-color: white;
  width: 100%;
  color: #132352;
  font-size: 0.9rem;
  font-family: korolev, sans-serif;
  font-weight: 500;
  border-radius: 0px 5px 5px 0px;
  cursor: pointer;
  padding: 0.5rem 1rem;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 100%;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
  z-index: 1;
  border-radius: 0px 0px 5px 5px;
  left: 0;
  top: 1.9rem;
}

.dropdown-content a {
  color: #132352;
  padding: 0.5rem 1rem;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #F3F9FD;
  border-radius: 5px;
}

.show {
  display: block;

  display: block;
  height: 12rem;
  overflow: scroll;

}

.selected-item::after {
  content: '\25BC';
  /* Unicode character for a downward-pointing chevron */
  font-size: 0.5rem;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}


.calc-wrap {
  grid-column: span 2;
  /* Span over two columns */
}


/*rabataftaler */

.discount-section {
  padding: 0px 60px;
  background-color: #fff;
  padding-top: 20px;
}

.discount-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 2rem;
}

.discount-container {
  width: 100%;
  max-width: 1600px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: flex;
}

.d-image-wrap {
  position: relative;
  aspect-ratio: 181 / 120;

}

.discount-image {
  position: absolute;
  width: 100%;
  border-radius: 8px;
}

/* terms pop-up modal */


#myBtn {
  background-color: transparent;
  color: white;
  /* White text */
  border: none;
  /* Remove border */
  cursor: pointer;
  /* Cursor style for clickable elements */
  display: flex;
  text-align: left;
  gap: 2px;
  font-size: 0.9rem;
  font-family: korolev, sans-serif;
}

/* The Modal (background) */
.modal {
  position: fixed;
  /* Stay in place */
  z-index: 999999;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: none;
  /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.6);
  /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  color: #001F46;
  font-family: korolev, sans-serif;
  font-weight: 500;
  border-radius: 5px;
  background-color: #fefefe;
  margin: 8rem auto;
  padding: 2rem;
  width: 40%;
  /* Could be more or less, depending on screen size */
  /*height: 60%;*/
  height: auto;
  overflow: auto;
}

/* Style the scrollbar and scrollbar thumb for WebKit browsers */
.modal-content::-webkit-scrollbar {
  width: 0.5rem;
  /* Adjust the width as needed */
}

.modal-content::-webkit-scrollbar-thumb {
  background-color: #888;
  /* Color of the scrollbar thumb */
  border-radius: 6px;
  /* Rounded corners for the thumb */
}



/* The Close Button */
.close {
  color: #001F46;
  float: right;
  font-size: 2rem;
  font-weight: bold;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}



@media screen and (max-width: 991px) {

  .modal {
    overflow: auto;
    /* Enable scroll if needed */
  }

  .modal-content {
    width: 80%;
    /* Could be more or less, depending on screen size */
    padding: 1rem;
  }

  .terms-text {
    padding: 2rem;
  }

  .discount-grid {

    grid-template-columns: 1fr 1fr;
    grid-gap: 2rem;
  }

}

@media screen and (max-width: 479px) {
  .w-input {
    max-width: 20rem;
  }

  .modal {
    overflow: auto;
    /* Enable scroll if needed */
  }

  .modal-content {
    width: 90%;
    /* Could be more or less, depending on screen size */
  }

  .discount-grid {

    grid-template-columns: 1fr;
    grid-gap: 2rem;
  }

  .nav-buttons {
    position: static;
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
  }

  /*	.logo-buttons-wrapper {
		display: none;
	}*/

  .logo-buttons-wrapper {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;

  }


  .logo-wrapper {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }


  /*	
	.mobile-nav-dropdown {
  position: relative;
  display: none;
  background-color: white;
  min-width: 11rem;
  border-radius: 5px;
  cursor: pointer;
  padding: 0.5rem 1rem;
}
	
	.mobile-nav-dropdown::after {
  content: '\25BC'; 
  font-size: 0.5rem;
  position: absolute;
  right: 10px;
  top: 50%;
   transform: translateY(-50%);
}

.mobile-nav-dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 100%;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
  z-index: 1;
  border-radius: 0px 0px 5px 5px;
  left: 0;
  top: 1.7rem;
	padding-top: 0.5rem;
}

.mobile-nav-dropdown-content a {
  padding: 0.5rem 1rem;

}
	
	.mobile-nav-dropdown img {
	height: 1rem;
}
	
	.mobile-nav-dropdown-content img {
		height: 1rem;
	
	}

.mobile-nav-dropdown-content a:hover {
  background-color: #F3F9FD;
  border-radius: 5px;
}

.mobile-nav-show {
  display: block;
	display: flex;
    flex-direction: column;
}
	
	 */

  .input-field-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  #w-node-_29cc3733-1308-c545-f6ff-0ce0c04d1c8b-5dda7e41,
  #w-node-_29cc3733-1308-c545-f6ff-0ce0c04d1c8e-5dda7e41 {
    align-self: start;
  }

  .dropdown {
    width: 100%;
    border-radius: 5px;
    max-width: 20rem;
  }

  .field-label {
    margin-top: 1rem !important;
  }

  .from-input,
  .to-input {
    border-radius: 5px;
  }

  #w-node-cef0619d-004c-66fe-e897-65371f768b26-5dda7e41 {
    margin-top: 1rem;
    justify-content: flex-start;
  }




}

/*----- MOBIL DROP DOWN -----*/
/* Dropdown container */
.mobile-dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown button */
.dropbtn {
  background-color: transparent;
  color: #fff;
  padding: 8px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  display: flex;
  align-items: center;
}

/* Arrow next to selected item */
.arrow {
  margin-left: 10px;
  font-size: 0.5rem;
}

/* Dropdown content (hidden by default) */
.mobile-dropdown-content {
  display: none;
  position: absolute;
  background-color: #f4f9fd;
  z-index: 1;
  border-radius: 8px;
  padding: 4px 8px 2px 8px;
}

/* Dropdown content links */
.mobile-dropdown-content a {
  display: block;
  /* Ensure each link takes up a full line */
  padding: 8px;
  text-decoration: none;
  color: #132352;
}

/* Show the dropdown content */
.show {
  display: block;
}

.mobile-dropdown-content img {
  height: 20px;
  width: auto;
}

#mobile-selectedItemImage {
  height: 20px;
  width: auto;
}

.mobile-dropdown {
  display: none;
}

.e45-container {
  padding: 40px;
}

h4 {
  margin-bottom: 0px;
  color: #002f6c;
  margin-top: 0;
  font-family: korolev, sans-serif;
}

.e45-or-ferry-module {
  display: flex;
  max-width: 1200px;
  background-color: #e3f1ff;
  border-radius: 5px;
  overflow: hidden;
  margin: 20px auto 70px auto;
  /* Center the module with margin */
}

.e45-or-ferry-image-section,
.e45-or-ferry-video-section,
.e45-image-section,
.e45-video-section {
  flex: 0 0 40%;
  /* 40% of the container width */
  margin: 0;
  /* Remove any default margins */
  padding: 0;
  /* Remove any default padding */
  display: flex;
  justify-content: center;
  align-items: center;
}

.e45-or-ferry-image,
.e45-image,
.e45-or-ferry-video,
.e45-video {
  width: 100%;
  /* Ensure the video/image fills the section */
  height: auto;
  /* Maintain aspect ratio */
  max-height: 600px;
  /* Limit the maximum height */
  object-fit: cover;
  /* Crop the video/image to fit the container */
}

.e45-or-ferry-text-section {
  flex: 1;
  padding: 20px 30px;
  /* 30px padding on left and right, 20px on top and bottom */
  box-sizing: border-box;
  margin: 0;
  /* Remove any default margins */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.e45-or-ferry-text-section h2 {
  color: #001f47;
  margin-top: 0;
  font-family: korolev, sans-serif;
}

.e45-or-ferry-text-section p {
  color: #001f47;
  line-height: 1.5;
  font-family: korolev, sans-serif;
  margin: 0;
  /* Remove any default margins */
  font-size: 16px;
}

.e45-section {
  display: flex;
  background-color: #ffffff;
  border-radius: 5px;
  overflow: hidden;
  margin: 100px auto;
  max-width: 1600px;
}

.e45-text-section {
  flex: 1;
  padding: 20px 200px 20px 50px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.e45-text-section h2 {
  color: #002f6c;
  margin-top: 0;
  font-family: korolev, sans-serif;
}

.e45-text-section p {
  color: #002f6c;
  line-height: 1.5;
  font-family: korolev, sans-serif;
  font-size: 16px;
  margin: 20px 0;
}

.e45-text-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kombardo {
  margin-top: 2rem;
  margin-left: auto;
}

.e45-text-section ul li {
  color: #002f6c;
  line-height: 1.5;
  font-family: korolev, sans-serif;
  margin-bottom: 10px;
  padding-left: 40px;
  /* Space for the icon */
  position: relative;
  display: flex;
  align-items: center;
  font-size: 16px;
}

.e45-text-section ul li .icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
}

.e45-text-section ul li .icon svg {
  width: 100%;
  height: 100%;
}

.e45-image-section,
.e45-video-section {
  flex: 1;
  margin: 0;
  padding: 20px 0px;
  /* Add padding to create space between text and video/image */
  display: flex;
  justify-content: center;
  align-items: center;
}

.e45-image,
.e45-video {
  width: 100%;
  height: 500px;
  /* Set fixed height for higher aspect ratio */
  object-fit: cover;
  /* Crop the video/image to fit the container */
  border-top-left-radius: 100px;
  /* Rounded top left corner */
  border-bottom-right-radius: 100px;
  /* Rounded bottom right corner */
  border-top-right-radius: 20px;
  /* Rounded top left corner */
  border-bottom-left-radius: 20px;
  /* Rounded bottom right corner */
}

/* Specifik klasse til at ændre placeringen af billedet til højre */
.e45-section.image-right {
  flex-direction: row-reverse;
}

.e45-section.image-right .e45-image,
.e45-section.image-right .e45-video {
  border-top-left-radius: 0;
  border-bottom-right-radius: 0;
  border-top-right-radius: 80px;
  /* Rounded top right corner */
  border-bottom-left-radius: 80px;
  /* Rounded bottom left corner */
}

/* Small button adjustments */
.small-button {
  max-width: 400px;
  /* Ensures the button width is auto */
  margin-top: 50px;
  text-align: center;
}


/* Media query for mobile devices */
@media (max-width: 768px) {

  .e45-or-ferry-module,
  .e45-section,
  .e45-section.image-right {
    flex-direction: column;
    margin: 30px auto;
    /* Increase margin for mobile */
  }

  .e45-container {
    padding: 0px;
  }

  .e45-or-ferry-image-section,
  .e45-or-ferry-video-section,
  .e45-image-section,
  .e45-video-section {
    order: -1;
    /* Move image/video section above text section */
  }

  .e45-or-ferry-text-section {
    padding: 15px 20px;
    /* Less padding for mobile */
  }

  .e45-text-section {
    padding: 0px 0px;
    /* Less padding for mobile */
  }

  .e45-image,
  .e45-video {
    width: 100%;
    height: auto;
    /* Auto height to maintain aspect ratio */
    max-height: 300px;
    /* Adjust height for mobile */
    object-fit: cover;
    /* Crop the video/image to fit the container */
    border-radius: 10px;
    /* Remove border radius for mobile */
  }

  .e45-section.image-right .e45-image,
  .e45-section.image-right .e45-video {
    border-radius: 0;
    /* Remove border radius for mobile */
  }

  .small-button {}
}

@media (max-width: 768px) {
  .tips-grid {
    grid-template-columns: 1fr;
  }

  .strategic-section {
    padding: 20px;
  }

  .strategic-section h2 {
    font-size: 24px;
  }

  .tip-item h3 {
    font-size: 16px;
  }

  .tip-item p {
    font-size: 14px;
  }


}


@media screen and (max-width: 520px) {
  .mobile-dropdown {
    display: block;
  }

  .logo-buttons-wrapper {
    display: none;
  }
}