
@media screen and (min-width: 601px) {
body {
    font-family: lato, sans-serif;
    background-color: #f7f7f7;
    margin: 10;
    padding: 0;
    font-weight: 100;
}





}





/* FAQ Section Container */
#faq {
  font-family: 'Roboto', sans-serif;
  margin: 40px auto;
  padding: 20px;
  max-width: 900px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Title */
#faq h2 {
  text-align: center;
  font-size: 28px;
  color: #2c456b;
  margin-bottom: 20px;
  font-weight: 600;
}

/* FAQ Item */
.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #e1e1e1;
  padding-bottom: 15px;
}

/* FAQ Question Button */
.faq-question {
  width: 100%;
  text-align: left;
  font-size: 18px;
  font-weight: 500;
  background-color: #f9f9f9;
  padding: 15px 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  color: #444;
  transition: all 0.3s ease;
}

/* FAQ Question Button Hover */
.faq-question:hover {
  background-color: #2c456b;
  color: #fff;
  border-color: #2c456b;
}

/* FAQ Answer Section */
.faq-answer {
  display: none;
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
  margin-top: 10px;
  color: #555;
  font-size: 16px;
}

/* Show Answer on Click */
.faq-item.open .faq-answer {
  display: block;
}

/* FAQ Item Open Style (Changes when answer is visible) */
.faq-item.open .faq-question {
  background-color: #2c456b;
  color: #fff;
  border-color: #2c456b;
}

/* Icon or Arrow for Question (if needed) */
.faq-question i {
  margin-left: auto;
  transition: transform 0.3s ease;
}

/* Rotate icon when opened */
.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

/* Custom Styling for List Items (if any) */
.custom-checklist {
  list-style: disc;
  padding-left: 20px;
  color: #444;
}

.custom-checklist li {
  margin-bottom: 10px;
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
  #faq {
      padding: 15px;
  }
  #faq h2 {
      font-size: 24px;
  }
  .faq-question {
      font-size: 16px;
  }
  .faq-answer {
      font-size: 14px;
  }
  #litentextapply_top{
    display: none;
  
  
  }
}


/* body for mobile */
@media screen and (max-width: 600px) {
  body {
    font-family: lato, sans-serif;
    background-color: #f7f7f7;
    margin: 10;
    padding: 0;
    font-weight: 100;
}


.card-info {
  background-color: #f7f7f7;
  border-radius: 8px;
  box-shadow: none;
  min-width: 100%;
  margin: 10px auto;


  

}

}





 p, h1, h2, h3, h4, h5, h6, span, td, th {
  font-family: 'Lato', sans-serif;
}

/* Navbar and menu styles */
#logo-link {
    display: flex;
    align-items: center;
    margin-left: 13%;
}



 /* Dropdown-knappen */
 #dropdownButton {
  background-color: #f0f0f0; /* Ljusgrå för subtilitet */
  color: #333; /* Neutral textfärg */
  border: 1px solid #ccc; /* Tunn kant */
  padding: 5px 10px; /* Mindre storlek */
  border-radius: 3px; /* Lätt rundning */
  font-family: Arial, sans-serif;
  font-size: 0.9em; /* Mindre textstorlek */
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Hover-effekt */
#dropdownButton:hover {
  background-color: #e0e0e0; /* Något mörkare grå */
  color: #000; /* Tydligare textfärg vid hover */
}

/* Dropdown-innehållet */
#dropdownContent {
  background-color: #f7f7f7; /* Ljusgrå bakgrund */
  border: 1px solid #ddd; /* Tunn kant */
  border-radius: 5px; /* Rundade hörn */
  padding: 10px; /* Mindre padding */
  margin-top: 10px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Mjuk skugga */
}




.custom-checklist {
  list-style: none; /* Remove default bullets */
  padding: 0; /* Remove padding */
  margin: 0; /* Remove margin */
}

.custom-checklist li {
  padding-left: 30px; /* Add space for the icon */
  position: relative; /* Position relative for the checkmark */
  margin-bottom: 10px; /* Add space between items */
}

.custom-checklist li::before {
  content: ""; /* Remove any default content */
  position: absolute; /* Position the image */
  left: 0; /* Align to the left of the list item */
  top: 5px; /* Adjust top positioning */
  width: 20px; /* Set smaller width */
  height: 20px; /* Set smaller height */
  background-image: url('check_drawn.webp'); /* Set background image */
  background-size: contain; /* Ensure the image fits within the box */
  background-repeat: no-repeat; /* Prevent repeating the image */
}











/* Make the image responsive */
#symboler_cat_small_trav {
  position: relative;
  top: 10px; /* Adjust space from top */
  left: 10px; /* Adjust space from left */
  width: 20%; /* Adjust the size to be relative to its container */
  max-width: 40px; /* Ensures the image doesn't become too large */
  height: auto; /* Maintain aspect ratio */
  box-shadow: none;
  display: block;

}

/* For small screens (mobile and below), adjust layout */
@media (max-width: 768px) {
  .side-by-side-container {
    flex-direction: column; /* Stack the left and right divs vertically */
  }

  .left-div, .right-div {
    margin-bottom: 20px; /* Add space between the stacked divs */
  }

  #symboler_cat_small_trav {
    visibility: hidden;
   
  }
}
 
.coop-info {
  background-color: #f8d7da; /* Light red background */
  color: #721c24; /* Dark red text color */
  text-align: center; /* Center the text */
  border-radius: 8px; /* Rounded corners */
  padding: 10px; /* Padding around the text */
  margin: 10px 0; /* Margin above and below the div */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Small box shadow */
}

/* navbar for computer */
@media screen and (min-width: 1000px) {

  /* Image within the logo link */
  .coop-info2 {
    position: absolute;
    background-color: #adc5f6; /* Light red background */
    color: #1c2372; /* Dark red text color */
    text-align: center; /* Center the text */
    border-radius: 8px; /* Rounded corners */
    padding: 10px; /* Padding around the text */
    margin: 10px 0; /* Margin above and below the div */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Small box shadow */
    height:15vw;
    width: 15vw;
    margin-left: 2vw;
    margin-top: 60vw;
  }

/* Media queries for additional responsiveness */
@media (max-width: 768px) {
  .coop-info2 {
      height: 20vw; /* Increase height for smaller screens */
      width: 20vw; /* Increase width for smaller screens */
      margin-top: 70vw; /* Adjust margin top */
      display: none;
  }
}

/* navbar for computer */
@media screen and (max-width: 600px) {

  /* Image within the logo link */
  .coop-info2 {
    display: none;
  }

}

  #site_symbol_info{
    width: 5vw;
  }

  #litentextrubrik
  {
     color:#FFFFEB;
     font-size: 15px;

    }

    #linkunderline{
      text-decoration: none;
      font-size: 32px;
      color:#6694ef;
      }
}

/* navbar for computer */
@media screen and (max-width: 600px) {

  /* Image within the logo link */
  .coop-info2 {
    display: none;
  }

}

/* Light green background for perks */
.perks-container {
  background-color: #d4f4d7; /* Light green */
  padding: 10px;
  padding-left: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Small box shadow */
  margin-bottom: 10px;
  font-size: 18px;
}


/* Light red background for cons */
.cons-container {
  background-color: #f8d7da; /* Light red */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Small box shadow */
  font-size: 18px;
}


#logohem {
    width: auto;
    height: 40px; /* Adjust height as needed */
    padding: 0 10px; /* Adjust padding as needed */
}
/* navbar for computer */
@media screen and (min-width: 1000px) {

    /* Image within the logo link */
  #navbaricon {
    width: auto;
    height: 20px; /* Adjust height as needed */
    padding: 0 10px; /* Adjust padding as needed */
    margin-left: -30px;
    margin-top: 0px;
    position: absolute;
  }
  
  
  
  /* Image within the logo link */
  #logohem {
    width: auto;
    height: 40px; /* Adjust height as needed */
    padding: 0 10px; /* Adjust padding as needed */
  
  }
  


  /* Hover effect for navbar links, excluding the logo link */
#navbar a:hover:not(#logo-link) {
  color: #4681f4; /* Elegant deep blue */
}
  

  
  
    /* Style the navbar */
  #navbar {
      background-color: #f7f7f7;
      box-shadow: 0 4px 8px 0 rgba(0,0,0,.2);
      z-index:2; /*Add this*/
      overflow: hidden;
      display: flex;
      align-items: center; /* Vertically center items */
      font-size: 19px;
      z-index: 9999;
      position:sticky;
      top:0;
    
  
  
    }
  
    /* Specific styles for the logo link */
  #logo-link {
    display: flex;
    align-items: center;
    margin-left: 0;
  }
  
    /* Image within the logo link */
  #logohem {
    width: auto;
    height: 40px; /* Adjust height as needed */
    padding: 0 10px; /* Adjust padding as needed */
  
  }
  
    
    /* Navbar links */
    #navbar a {
      float: left;
      display: block;
      color:#1a2d48;
      text-align: center;
      padding: 24px;
      text-decoration: none;
      overflow: hidden;
    }
  
  
    #navbar a:active {
      background-color: #f7f7f7;
      font-size: 100%;
      background-color: #bdceefab;
      border-radius: 3px;
    }
   
    }
    /* End of navbar for computer*/

.dropdown {
    float: left;
    position: relative;
}



/* Navbar and menu styles */
.dropdown {
    float: left; /* Float left to align it properly */
    position: relative; /* Ensure relative positioning for absolute children */
}



/* Rotate the button (and the hamburger inside it) */
.dropdown:hover .dropbtn {
  transform: rotate(-90deg);
}





.hamburger {
    width: 30px;
    height: 2px;
    background-color: black;
    margin: 4px 0;
    border-radius: 5px;
}



#propertytop {
    width: 7%;
    top: 13px;
    position: relative;
    margin-left: 23.3%;
    color: rgb(92, 90, 90);
}

#propertybottom {
    width: 7%;
    top: 13px;
    position: relative;
    margin-left: 20%;
    box-shadow: none;
}

#property_text {
    color: rgb(92, 90, 90);
    margin-left: 10%;
    margin-top: -4.5%;
}

.dropdown-content a:hover {
    background-color: #314c8300; /* Change to your desired hover color */
    color: #FFFFEB; /* Change text color on hover */
  }

  /* Optional: Add a media query for responsiveness */
@media (min-width: 768px) {
  .square-container {
      justify-content: center; /* Ensures the squares are centered on larger screens */
  }
}

.dropdown:hover .dropdown-content {
    position: fixed !important;
    text-align: left;
}

.square-container {
  display: flex; /* Aligns child divs horizontally */
  gap: 20px; /* Optional: adds space between the squares */
  margin-top: 20px; /* Optional: space from the content above */
}



.square-div {
  width: 150px; /* Width of each square div */
  height: 150px; /* Height of each square div */
  background-size: contain; /* Ensures the background image is resized within the div */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents the image from repeating */
  background-color: #cce3f7; /* Example background color */
  background-size: 50%;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  cursor: pointer; /* Changes pointer to hand */
}


/* Hover effect */
.square-div:hover {
  transform: scale(1.005); /* Enlarges the element slightly */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3); /* Adds a stronger shadow */
  background-color: #b2d8f4; /* Changes the background color slightly */
}

/* Optional: Add a subtle rotation effect */
.square-div:hover {
  transform: scale(1.05) rotate(1deg);
}






/* Card styling */
#cardInfo {
    display: flex;
    flex-direction: column;
    align-items: center;
  background-color: #0057b300;
  
}


@media screen and (min-width: 601px) {
.card-info {
    background-color: #f7f7f7;
    border-radius: 8px;
    box-shadow: none;
    margin: 10px auto;
    max-width: 1000px;

  

  }

  
}




#tablecardinfo{
    
    border: 0px solid #2c456b;
    font-family: lato, sans-serif;
    font-weight: 100;
    padding-bottom: 20px;
    padding-top:20px;

  
}

.square-text {
  position: relative;
  margin-top: 110px; /* Space between the image and the text */
  font-weight: 800;
  color: #2c456b;
}






#cardnametitle_small {
  color:#2c456b;
  text-align: center;
  font-size: 16px;
}
@media screen and (min-width: 601px) {

#cardnametitle_small2 {
  color:#f7f7f7;
  text-align: center;
  font-size: 16px;
}

#cardnametitle {
  color: #333;
  text-align: center;
  font-size: 4vw;
  position: relative;
  padding-bottom: 8px;
  margin-bottom: 75px;
  
  /* Make the element shrink to fit text width */
  /* Center inline-block horizontally */
  margin-left: auto;
  margin-right: auto;
}
}


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

  #cardnametitle_small2 {
    color:#f7f7f7;
    text-align: center;
    font-size: 16px;
    margin-left: -6px;
  }

  #warningsign{
    display: none;
  }

  }

.card-info img {
    width: 40%;
    border-radius: 8px;
    margin-left: 240px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    
    
}

.card-info table {
    width: 100%;
    border-collapse: collapse;
}

.card-info th,
.card-info td {
    padding: 10px;
    border-bottom: 0px solid #ddd;
}

.card-info th {
    background-color: #2c456b;
    color: #FFFFEB;
}

.card-info tr:nth-child(odd) th {
    background-color: #efeffa00;
    color: #2c456b;
}

/* Alternating row colors */
.card-info tr:nth-child(even) th {
    background-color: #2c456b;
    color: #FFFFEB;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

#colorcard
{
  margin-top: -3%;
  margin-left: -3%;
  width: 7%;
  position: absolute;
}


.card-info td {
    background-color: #2c456b;
    color: #FFFFEB;
    

}


/* Alternating row colors */
.card-info tr:nth-child(even) td {
    background-color: #2c456b;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    color: #FFFFEB;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;

 

}


#recommended-title-id
{
color: #2c456b;
font-family: lato, sans-serif;
font-weight: 400;
font-size: 20px;

}


.card-info tr:nth-child(odd) td {
    background-color: #efeffa00;
    color: #2c456b;
 
  

}
/* Recommended cards section */
.recommended-cards-section {
    margin-top: 30px;
    padding: 20px;
    width: 100%;
    background-color: #f9f9f9;
}

/* Recommended cards title */
.recommended-cards-section h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* Slider wrapper to contain buttons and the card slider */
.slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

/* Container for recommended cards */
.recommended-card-slider {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
}

/* Individual recommended card */
.recommended-card {
    flex: 0 0 300px;
    padding: 15px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.recommended-card:hover {
    transform: scale(1.05);
}

#titelvanster{
  font-family: 'Lato', sans-serif; /* Clean and professional font */
  font-weight: 600; /* Semi-bold for prominence */
  font-size: 20px;
  color: #003d73; /* Consistent with other elements */
  line-height: 1.4; /* Improves readability */
  letter-spacing: 0.5px; /* Slight spacing for a modern feel */
  margin-bottom: 15px; /* Adds spacing below the title */
  text-shadow: 0.1px 0.1px 0.1px rgba(0, 0, 0, 0.1); /* Optional subtle shadow */
}

#titelfakta{
  font-family: lato, sans-serif;
  font-weight: 600;
  font-size: 30px;
  text-align: center;
  color:#1a2d48;

}

#titelhoger{
  font-family: lato, sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #212427;
}


#titeloffer{
  font-family: 'Lato', sans-serif; /* Clean and professional font */
  font-weight: 600; /* Semi-bold for prominence */
  font-size: 20px;
  color: #003d73; /* Consistent with other elements */
  line-height: 1.4; /* Improves readability */
  letter-spacing: 0.5px; /* Slight spacing for a modern feel */
  margin-bottom: 15px; /* Adds spacing below the title */
  text-shadow: 0.1px 0.1px 0.1px rgba(0, 0, 0, 0.1); /* Optional subtle shadow */
}



.side-by-side-container {
  font-family: lato, sans-serif;
  font-weight: 100;
  display: flex;
  gap: 20px; /* Adds spacing between the divs */
  margin-top: 20px; /* Adds space above the container */
  background-color: #f7f7f7;
}

.right-div {
  position: relative;
  text-align: left;
  padding: 20px;
  flex: 1; /* Distribute equal width */
  padding: 10px; /* Adds padding inside the divs */
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow for aesthetics */
  border-radius: 10px;
  background-color: #eaf4fc;
  color:#003d73;
}

/* Icon styling */
.right-div .icon {
  position: absolute; /* Positions the icon relative to .right-div */
  top: 10px; /* Distance from the top edge of .right-div */
  right: 10px; /* Distance from the right edge of .right-div */
  font-size: 50px !important;
  color: #003d73; /* Matches text color */
}

/* Enhanced .left-div with visual appeal */
.left-div {
  text-align: left;
  position: relative;
  padding: 20px; /* Increased padding for better spacing */
  background-color: #f5f7fa; /* Soft background color for a clean look */
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); /* More prominent shadow for depth */
  border-radius: 15px; /* Rounded corners for a softer appearance */
  flex: 1; /* Ensures it takes up equal space with the right div */
  font-family: 'Lato', sans-serif; /* Modern sans-serif font */
}


/* Recommended card image */
.recommended-card-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    
}


/* Default Styles for Small Screens (mobile-first approach) */
.card-info-container {
  display: block; /* Stack the divs vertically on small screens */
  gap: 10px; /* Adds space between the divs when stacked */
  margin-top: 20px;
  font-family: Lato, sans-serif;
  position: relative;

}

.card-image, .new-right-div {
  width: 100%; /* Make each div take up the full width */
  padding: 10px;
  border-radius: 10px;
text-align: center;


}




.card-image_info
{
  width: 100%;
  border-radius: 8px;
}

.new-right-div {
  color: #003d73;
  
}

/* Media Query for Large Screens */
@media (min-width: 768px) { /* You can adjust this width as per your need */
  /* Media Query for Large Screens */
@media (min-width: 768px) {
  .card-info-container {
      display: flex; /* Display side by side on bigger screens */
      gap: 20px; /* Adds space between the divs */
  }

  .card-image, .new-right-div {
      flex: 1; /* Both divs take equal space */
  }

  .card-image img {
      width:80%; /* Default to 100% for the image */
      height: auto;
  }

  .card-image.no-special-offer img {
      width: 40%; /* Set the image to 40% if there's no special offer */
      
  }
}

  #ratingall {
      margin-top: 10px;
  }

  .new-right-div {
    background-color: #097ddc00;
    color: #003d73;
    padding: 10px; /* Optional: Adds padding inside the container */
    
  
      
  }

  .text_newdiv {
  margin-top: 7vw;
 
  
      
  }



  /* Optional styling for the new right div content */
  .new-right-div h2 {
      font-size: 20px;
      font-weight: 600;
      color: #003d73;
      
  }

  .new-right-div p {
      font-size: 16px;
      color: #003d73;
      
  }
}

/* Optional styles for the review card info */
#review_cardinfo {
  margin-top: 20px;
}



  
  


/* Card details in the recommended section */
.recommended-card-details {
    margin-top: 10px;
    font-family: lato, sans-serif;
    font-weight: 100;

}

.recommended-card-details h3 {
    font-family: lato, sans-serif;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 500;
    color:#1a2d48;
}

/* Apply button inside recommended cards */
.recommended-card-details .apply-now {
    background-color: #f7f7f7;
    color: #4681f4;
    padding: 10px 20px;
    border: 1px solid #4681f4;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    font-family: lato, sans-serif;
}

.recommended-card-details .apply-now:hover{
background-color: #2f6ae0;
    color: white;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.2);
    transition: background-color 0.6s ease;
    transform: scale(1.01);
}
/* Slider navigation buttons */
.slider-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    z-index: 10;
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

#litenexempeltext
{
  font-family: lato, sans-serif;
  font-size: 12px;
  color: #4a4a4ad4;
  text-align: center;
}

#bottom-navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  display: flex; /* Ensure it's flex for layout */
  align-items: center;
  justify-content: space-between;
  transition: transform 0.2s ease-in-out; /* Slide transition */
  transform: translateY(100%); /* Initially hidden (out of view) */
  z-index: 90;
  max-height: 75px;
}

#bottom-navbar.visible {
  transform: translateY(0); /* Slide to visible position */
}

#bottom-navbar.hidden {
  transform: translateY(100%); /* Move out of view */
}



.img-text{
 width: 5%;
 position: relative;
 top: 10px; /* Adjust as needed */


}


.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Even spacing */
  gap: 10px; /* Adjust spacing between elements */
  padding: 10px; /* Adds some padding */
}



/* navbar for computer */
@media screen and (min-width: 1000px) {

  .navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Ensures first item is at the left and last is at the right */
    width: 100%;
    gap:40vw;
    padding: 10px; /* Optional padding for the navbar */
    
  }

  .navbar-image {
    max-width: 100px; /* Adjust size as needed */
    height: auto;
  }
}

/* navbar for computer */
@media screen and (max-width: 600px) {

  .navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Ensures first item is at the left and last is at the right */
    width: 100%;
    gap:20vw;
    padding: 10px; /* Optional padding for the navbar */
  }

  .img-text{
    width: 15%;
    position: relative;
    top: 5px; /* Adjust as needed */
   
   }

   
  .navbar-image {
    max-width: 70px; /* Adjust size as needed */
    margin-left: -5px;
    height: auto;
  }
}
@media screen and (min-width: 600px) and (max-width: 1024px) {
  .img-text{
    width: 7.5%;
    position: relative;
    top: 0px; /* Adjust as needed */
   
   }

   .navbar-image {
    max-width: 75px; /* Adjust size as needed */
    height: auto;
  }
   
  }



h4 {
  text-align: center; /* Center align the card name */
  margin: 0; /* Remove default margin */
}

.navbar-rating {
  font-size: 1.2em;
  margin-right: auto;
}

.apply-now {
  background-color: #007bff;
  color: white;
  padding: 5px 10px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}



.apply-now:hover {
  background-color: #0056b3;
}



.card-info .apply-now {
    display: block;
    text-align: center;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #43b775;
    color: #f7f7f7;
    border: 1px solid  #43b775;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    font-size: 18px;
}

.apply-now-buttom2 {
  display: block;
  text-align: center;
  margin: 20px auto;
  padding: 15px 30px; /* Increased padding */
  background-color: #43b775;
  color: #f7f7f7;
  border: 1px solid #43b775;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  font-size: 18px; /* Increased font size */
  width: auto; /* Ensure button doesn't stretch unnecessarily */
  max-width: 300px; /* Optional: You can add a max width if you want a fixed max size */
  margin-left: auto;
  margin-right: auto;
}

.apply-now-buttom2:hover {
  display: block;
  text-align: center;
  background-color: #379660;
  color: #f7f7f7;
  border: 1px solid #379660;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  font-size: 18px; /* Match font size on hover */
}


@media screen and (min-width: 600px) {


 .apply-now-buttom {
  display: block;
  text-align: center;
  margin: 20px auto;
  padding: 10px 20px;
  background-color: #43b775;
  color: #f7f7f7;
  border: 1px solid #43b775;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  font-size: 12px;
  margin-left: -5px;
  cursor: pointer;


}
}



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


  .apply-now-buttom {
    position: fixed;
    bottom: 10px;
    left: 10px;
    right: 10px;
    width: calc(100% - 20px); /* Ensures it fits within 10px margins */
    padding: 15px;
    font-size: 16px;
    text-align: center;
    background-color: #43b775; /* Adjust color as needed */
    color: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s ease;
}


 
 }


.apply-now-buttom:hover {
  display: block;
  text-align: center;
  background-color: #379660;
  color: #f7f7f7;
  border: 1px solid #379660;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  font-size: 12px;


}

.card-info .apply-now:hover {
    background-color: #3ba067;
    color: white;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.2);
    transition: background-color 0.6s ease;
    transform: scale(1.01);
}

/* Footer styles */
/* Footer Styles */
.footer {
    background-color: #1a2d48;
    color: white;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
  }
  
  .footer-section {
    flex: 1;
    margin: 10px 20px;
  }
  
  .footer-section h2 {
    margin-bottom: 20px;
    font-size: 20px;
  }
  
  .footer-section p,
  .footer-section ul,
  .footer-section a {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .footer-section a {
    color: white;
    text-decoration: none;
  }
  
  .footer-section a:hover {
    text-decoration: underline;
  }
  
  .footer-section ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-section ul li {
    margin-bottom: 10px;
  }
  
  .footer-section .social a {
    font-size: 20px;
    margin: 0 10px;
    display: inline-block;
  }
  
  .footer-section .social a:hover {
    color: #4681f4;
  }
  
  .footer-bottom {
    background-color: #0d1a2b;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
    font-size: 14px;
  }
  
  #litentext{
    position: relative;
    font-size: 20px;
    font-family: lato, sans-serif;
    color: rgb(84, 96, 115);
    text-decoration: none;


  }


  #litentextapply{
    position: relative;
    font-size: 16px;
    font-family: lato, sans-serif;
    color: rgb(84, 96, 115);
    text-decoration: none;
    text-align: center;


  }

  #litentextfooter{
    position: relative;
    font-size: 15px;
    font-family: lato, sans-serif;
    color: rgb(84, 96, 115);
    text-decoration: none;


  }

#informationcredit_cardinfo{
    background-image: linear-gradient(to bottom right, #2c456b,#7693bf);
    width: 70%;
    height: 25%;
    margin-left: 15%;
    border-radius: 10px;
    box-shadow: 0 20px 20px 0 rgba(0,0,0,.2);
    color: #FFFFEB;
    position: absolute;
    margin-top: 10%;
    font-family: lato, sans-serif;

    
  }
  
  #categorytitle
  {
    font-family: lato, sans-serif;
    color:  #FFFFEB;
    text-align: center;
    
  }
  
  #categorytitle2
  {
    font-family: lato, sans-serif;
    color:  #FFFFEB;
    text-align: center;
  font-weight: 100;
  }

  /* Navbar and menu styles */
.dropdown {
    float: left; /* Float left to align it properly */
    position: relative; /* Ensure relative positioning for absolute children */
}

.dropdown .dropbtn {
    font-size: 17px;
    border: none;
    outline: none;
    color: rgb(219, 13, 13);
    padding: 34px 8px;
    background-color: inherit;
    font-family: inherit; /* Important for vertical align on mobile phones */
    margin: 0; /* Important for vertical align on mobile phones */
    cursor: pointer; /* Add cursor pointer to indicate it's clickable */
}

#ratingall{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 50%;
    margin-left: 7%;
    margin-bottom: 20px;
    font-weight: 200;
  }

  #rating_cardinfo{
    margin-left: 20px;
  }

  @media screen and (max-width: 600px) {
    #rating_cardinfo{
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: flex-start;
            width: 50%;
            margin-left: 7%;
            margin-bottom: 20px;
            font-weight: 200;
            margin-left: 90px;
          }
        }

     



  #symbolerrating_info{
    box-shadow: none;
    width: 24px; /* Adjust as needed */
    height: 24px; /* Adjust as needed */
    margin-right: -230px; /* Adjust space between stars */
  }

.dropdown-content {
    display: none; /* Hide dropdown content by default */
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 999; /* Ensure dropdown content is above other content */
    text-align: left; /* Ensure text is left-aligned */
    padding: 0; /* Remove padding from dropdown-content */
}

.dropdown-content a {
    color: black;
    padding: 12px 12px;
    text-decoration: none;
    display: block; /* Display links as block elements */
    background-color: transparent; /* Ensures background color does not spill over */
    text-align: left; /* Ensure text is left-aligned */
    width: 100%; /* Ensure the link takes full width of its container */
    box-sizing: border-box; /* Ensure padding and width work together properly */
}



.dropdown:hover .dropdown-content {
    display: block;
    overflow: hidden; /* Ensures content does not overflow */
  }



@media (max-width: 768px) {
    .recommended-cards-section {
        margin-top: 20px;
    }

    #wcr {
        position: relative;
     

    }


    #rating_cardinfo, #perksinfo {
        margin-bottom: 20px;
  
    }

    .recommended-card-slider {
        display: flex;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
    }

    .recommended-card {
        min-width: 45%;  /* Adjust to fit better on mobile */
        margin-right: 10px;
        scroll-snap-align: start;
    }
}


#whycardrating{

    font-weight: 100;
    font-size: 20px;
    color:#1a2b43;
    font-family: lato, sans-serif;
 }

#quote_top
{
    width:2%;
    margin-top:27%;
    position: absolute;
    margin-left:-53%;
    transform: rotate(180deg);
 }

 #quote_bottom
{
    width:2%;
    margin-top:43.5%;
    position: absolute;
    margin-left:52%;

    
 
 }

 #recensiontitel{
    margin-top:0%;

    
 
 }

 #recensiontitel_rating{
    color: #1a2b43;
    font-family: lato,sans-serif;
    font-weight: 300;
    text-align: center;
    padding-bottom: 20px;
    padding-top:20px;
    
 
 }



 #menuname
 {
  color:#1b3153;
  font-size: 18px;
  font-family: lato, sans-serif;
  background-color: #f7f7f7;
  font-weight: 400;
  border-radius: 4px;
  margin-top:5px;
 
 
 
 
 
 }

 #perks {
    background-color: #f7f7f7;
    margin-top: -4%;
    height: 80%;
    width: 83%;
    color: #212427;
    font-family: lato, sans-serif;
  }
  
  .perk-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Adjust spacing between dots */
  }
  
  .perk-item {
    display: flex;
    align-items: center;
    flex: 0 0 48%; /* Two items per row with some margin */
    margin-bottom: 20px; /* Space below each row */
  }
  
  .perk-icon {
    width: 24px; /* Adjust size as needed */
    margin-right: 10px; /* Space between icon and text */
    box-shadow: none;
  }


#symboler_small{
    width: 7%;
    top: 15px;
    position: relative;
    box-shadow: none;
  
  }
  #propertybottom2 {
    width: 7%;
    top: 13px;
    position: relative;
    margin-left: 37%;
    box-shadow: none;
  
  }

  #propertytop {
    width: 7%;
    top: 13px;
    position: relative;
    margin-left: 27%;
    box-shadow: none;
 
  }

  #perksinfo
  {
    margin-top: 60px;
    box-shadow: none;
    margin-left: 40px;
  
  
  }


  @media (max-width: 600px) {
    #perksinfo
    {
        margin-left: 0px;
      box-shadow: none;
    
    }
}


#travelperkbottom{
    margin-top: 4%;
    margin-left: 15%;
    color:#555;
 }

 @media (min-width: 600px) {
    #perks {
       display: none;
      }
}



.next-btn {
    right: 0;
}




#articlesection {
  padding: 0px;
  border-radius: 12px;
  max-width: 1000px;
  margin: 0px auto;
}

#articlesection ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

#articlesection li {
  position: relative;
  margin-bottom: 16px;
  font-size: 1.125rem;
  line-height: 1.5;
  color: #333;
  font-weight: 500;
  text-align: left;
  padding-left: 30px;
  margin-left: 10px;

}

#articlesection li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background-color: #2b456c;
}

#withoutbullet li::before {
  content: none !important;
}

#withoutbullet {
  list-style: none;
  padding: 0;
  margin: 0;
}

#withoutbullet li {
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
}

#withoutbullet a {
  display: flex;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  width: 100%;
  gap: 15px;
}

#withoutbullet img {
  width: 70px;
  height: auto;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: contain;
  background: #f9f9f9;
  padding: 5px;
}

#withoutbullet strong {
  font-size: 18px;
  color: #333;
  margin-bottom: 6px;
  display: block;
}

#withoutbullet p {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.5;
}

/* Mobilanpassning */
@media (max-width: 480px) {
  #withoutbullet a {
    flex-direction: column;
    align-items: flex-start;
  }
  
  #withoutbullet img {
    width: 100%;
    max-width: 200px;
    margin-bottom: 10px;
  }
  
  #withoutbullet strong {
    font-size: 16px;
  }

  #withoutbullet p {
    font-size: 13px;
  }
}




#articlesection {
  text-align: center;
}

#articlesection p {
  font-size: 1.25rem;  /* Lite större text för bättre läsbarhet */
  max-width: 1000px;  /* Något bredare för bättre flöde */
  margin: 10px auto;  /* Lite mer luft mellan stycken */
  color: #2b2b2b;  /* Mörkare färg för bättre kontrast */
  line-height: 1.7;  /* Ökad radavstånd för läsbarhet */
  font-weight: 100;  /* Lite kraftigare vikt för tydlighet */
  text-align: left;


}

#articlesection h3 {
  font-size: 1.6rem;  /* Lite större text för bättre läsbarhet */
  max-width: 1000px;  /* Något bredare för bättre flöde */
  margin: 10px auto;  /* Lite mer luft mellan stycken */
  color: #333;  /* Mörkare färg för bättre kontrast */
  line-height: 1.7;  /* Ökad radavstånd för läsbarhet */
  font-weight: 600;  /* Lite kraftigare vikt för tydlighet */
  margin-top: 50px;
  text-align: left;
}

#articlesection h2 {
  font-size: 2rem;  /* Lite större text för bättre läsbarhet */
  max-width: 1000px;  /* Något bredare för bättre flöde */
  margin: 10px auto;  /* Lite mer luft mellan stycken */
  color: #333;  /* Mörkare färg för bättre kontrast */
  line-height: 1.7;  /* Ökad radavstånd för läsbarhet */
  font-weight: 600;  /* Lite kraftigare vikt för tydlighet */
  margin-top: 50px;
  text-align: left;
}

#articlesection h1 {
  font-size: 3.5rem;  /* Lite större text för bättre läsbarhet */
  max-width: 1000px;  /* Något bredare för bättre flöde */
  margin: 10px auto;  /* Lite mer luft mellan stycken */
  color: #333;  /* Mörkare färg för bättre kontrast */
  line-height: 1.7;  /* Ökad radavstånd för läsbarhet */
  font-weight: 800;  /* Lite kraftigare vikt för tydlighet */
}

#articlesection img {
  width: 5%;
  box-shadow: none;
  margin-left: 0px;
}

#litentextapply_top{
  position: relative;
  font-size: 16px;
  font-family: lato, sans-serif;
  color: rgb(84, 96, 115);
  text-decoration: none;
  text-align: center;


}


#tableinfo.clean-table {
  all: initial;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  width: 100%;
  max-width: 1000px;
  margin: 3rem auto;
  border-collapse: collapse;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: table;
}

#tableinfo.clean-table tr {
  display: table-row;
}

#tableinfo.clean-table th,
#tableinfo.clean-table td {
  all: unset;
  display: table-cell;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid #f0f0f0;
  font-size: 1rem;
  line-height: 1.6;
}

#tableinfo.clean-table th {
  background-color: #f7f9fb;
  color: #222;
  font-weight: 600;
  width: 35%;
  text-align: left;
}

#tableinfo.clean-table td {
  color: #444;
  text-align: left;
}

#tableinfo.clean-table tr:last-child th,
#tableinfo.clean-table tr:last-child td {
  border-bottom: none;
}

#tableinfo.clean-table tr:hover {
  background-color: #f5faff;
}

@media (max-width: 600px) {

  #tableinfo.clean-table {
background-color: #f7f7f7;
box-shadow: none;


  }


  #tableinfo.clean-table tr {
    display: block;
    margin-bottom: 1rem;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
    background-color: #e8f2f6;

  }

  #articlesection h1 {
    font-size: 2rem;  /* Lite större text för bättre läsbarhet */
  }

  #tableinfo.clean-table tr:hover {
    background-color: #d2e5ec
  }

  #tableinfo.clean-table th:hover {
    background-color: #d2e5ec
  }

  #tableinfo.clean-table th,
  #tableinfo.clean-table td {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: left;
    border-radius: 8px;
    font-weight: 300;


  }

  #tableinfo.clean-table th {
    font-weight: 700;
    color: #333333;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    background-color: #e8f2f6;
    border-radius: 8px;
    font-size: 4.5vw;
  }


  /* Remove bottom border on last tr */
  #tableinfo.clean-table tr:last-child {
    margin-bottom: 0;

  }


  
  #textfrombelow{
    padding: 0px;
    border-radius: 12px;
    margin: 0px auto;
  }
  
  #textfrombelow ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
  }
  
  #textfrombelow li {
    position: relative;
    margin-bottom: 16px;
    font-size: 1.125rem;
    line-height: 1.5;
    color: #333;
    font-weight: 500;
    text-align: left;
    padding-left: 30px;
    margin-left: 10px;
  
  }
  
  #textfrombelow li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background-color: #2b456c;
  }

  #extfrombelow p {
    font-size: 1.25rem;  /* Lite större text för bättre läsbarhet */
    max-width: 1000px;  /* Något bredare för bättre flöde */
    margin: 10px auto;  /* Lite mer luft mellan stycken */
    color: #2b2b2b;  /* Mörkare färg för bättre kontrast */
    line-height: 1.7;  /* Ökad radavstånd för läsbarhet */
    font-weight: 100;  /* Lite kraftigare vikt för tydlighet */
    text-align: left;
  
  
  }


  #articlesection img {
    width: 15%;
    box-shadow: none;
    margin-left: 0px;
  }
  
  /* Light green background for perks */
.perks-container {
  background-color: #d4f4d7; /* Light green */
  padding: 10px;
  padding-left: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Small box shadow */
  margin-bottom: 10px;
  font-size: 14px;

}


/* Light red background for cons */
.cons-container {
  background-color: #f8d7da; /* Light red */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Small box shadow */
  font-size: 14px;
}
  
}

