


/* Dropdown content - modernized */
.dropdown-content {
  display: none; /* Hidden by default */
  position: fixed;
  background: #f7f7f7; /* Clean white background */
  min-width: 180px; /* Slightly wider for a more premium look */
  box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.15); /* Softer shadow */
  z-index: 999;
  padding: 8px 0; /* Added slight padding for spacing */
  opacity: 0;
  max-width: 270px;
  transform: translateY(10px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  margin-top:0vw !important;
  overflow: scroll !important;
  max-height: 500px;
  text-align: left; /* Justera hela innehållet till vänster */

  


}


.dropdown .dropbtn {
    font-size: 17px;
    border: none;
    outline: none;
    color: rgb(219, 13, 13);
    padding: 35px 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 */
    transition: transform 0.3s ease-in-out;
  
  }

/* Dropdown links - ultra-slim, modern, and left-aligned */
.dropdown-content a {
  color: #333; /* Dark gray for readability */
  padding: 4px 8px; /* Minimal padding for a compact look */
  text-decoration: none;
  display: block; /* Changed from flex to block for proper left alignment */
  text-align: left; /* Ensures text is aligned left */
  font-size: 18px; /* Readable font size */
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
  border-bottom: 1px solid #2b456c22; /* Thin but noticeable separator */
  line-height: 0.5; /* Reduce line height for a more compact appearance */
  border-radius: 0px;
  background-color: #f7f7f7;



  
}




/* Remove border for last item to keep it clean */
.dropdown-content a:last-child {
  border-bottom: none;
}




/* Show dropdown with a smooth animation */
.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
}


.submenu a {
  margin: 5px;
  background-color: #f7f7f7;
  display: block;  /* Ensures each <a> takes up a new line */
  padding: 12px 16px;  /* Adds some padding for spacing inside the links */
  margin-bottom: 10px;  /* Adds space between each link, like <br> */
  color: #2b456c;  /* Text color */
  border-radius: 0px;  /* Rounded corners (optional) */
  text-align: center;
  font-weight: 200;
  font-size: 18px;
  border-bottom: 0.8px solid #2b456c22; /* Thin but noticeable separator */
  border-radius: 8px;
  width: 300px;
  text-align: left; /* Säkerställer att texten är vänsterjusterad */


}


.mobnav a{

    color: #2b456c;  /* Text color */
    font-weight: 200;
    font-size: 18px;
  
  
  }





a:hover {
  color: #007bff; /* Gold color for trophy */
}


.submenu a:last-child {
  margin-bottom: 0;  /* No margin for the last item to avoid unnecessary space */
}
.menu-link {
  font-family: lato, sans-serif;
  display: flex;
  align-items: center;
  width: 100%;
  cursor: pointer;
  background: #f9f9f9;
  border: none;
  font-size: 18px;
  font-weight: 200;
  color: #2b456c;
  border-radius: 6px;
  transition: background 0.3s ease;
  text-align: left; /* Säkerställer att texten är vänsterjusterad */

  
}



.menu-link_no {
  font-family: lato, sans-serif;
  display: flex;
  align-items: center;
  width: 100%;
  cursor: pointer;
  background: #f9f9f9;
  border: none;
  font-size: 20px;
  font-weight: 200;
  color: #2b456c;
  border-radius: 6px;
  transition: background 0.3s ease;
  
}



.menu-link_no_arrow i  {  
  color:#2b456c;
}

.menu-link_no_arrow {  
  width: 100%
}

.menu-link_no_arrow span{  
  display: block;
  text-align: left;
}


/* Links WITHOUT an arrow */
.menu-link_no_arrow span::after {
  content: none; /* Removes the arrow */
}



/* Use an SVG as the arrow */
.menu-link span::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>'); /* Inline SVG */
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
  flex-shrink: 0; /* Prevents shrinking if container size changes */
    vertical-align: middle; /* Aligns it with text */

}


.menu-link.active span::after {
  transform: rotate(180deg);
}

.menu-link i {
  margin-right: 8px; /* Ger lite mellanrum mellan ikonen och texten */
  color: #2b456c; /* Färg på ikonen (blå) */
  font-size: 18px; /* Gör ikonen lite större */
  transition: color 0.3s ease-in-out;
}

/* Ensure text inside <span> aligns properly */
.menu-link span {
  display: block;
  text-align: left;
}

.submenu span{
  display: block;
  text-align: left;
}

/* Ändrar färg vid hover */
.menu-link:hover {
  color: #2b456c; /* Mörkare blå vid hover */
}

.menu-link:hover i {
  color: #0056b3; /* Ändrar ikonfärgen vid hover */
}

.articleheading{
  color: #333;
  text-align: left;
}