.switch-lang {
  width: 110px;
  text-align: left;
  cursor: pointer;
  z-index: 50;
  position: absolute;
  top: 27px;
  right: 20px;
}
.switch-lang:hover .lang-dropdown {
  display: block;
}
.switcher-link {
  color: #fff;
}
.switcher-link:hover {
  color: #fff;
}
.current-lang {
  background: #34495e;
  padding: 3px 5px 0px 5px;
  border-radius: 5px;
}
.lang-flag {
  width: 20px;
  margin-top: -5px;
  display: inline-block;
}
.lang-text {
  display: inline-block;
  margin-left: 5px;
  vertical-align: top;
  margin-top: 0px;
  color: #fff;
  font-size: 12px;
  text-align: center;
}
.lang-dropdown {
  display: none;
  background: #34495e;
  border-radius: 5px;
  margin-top: 2px;
}
.selecting-lang {
  padding: 3px 5px 3px 5px;
  cursor: pointer;
}
.selecting-lang:hover {
  background: #22313f;
}
ul > :first-child {
  border-radius: 5px 5px 0px 0px;
}
ul > :last-child {
  border-radius: 0px 0px 5px 5px;
}
li {
  list-style-type: none;
}
.menu-arrow {
  display: inline-block;
  width: 10px;
  margin-left: 10px;
  vertical-align: top;
  margin-top: 6px;
}



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

  /* You can also target specific elements for tablet styles */
  .switch-lang {
    width: 110px;
    text-align: left;
    cursor: pointer;
    z-index: 50;
    position: absolute;
    top: 27px;
    right: 70px;
  }
}

/* Media query for mobile devices */
@media (max-width: 480px) {
 
  /* You can also target specific elements for mobile styles */
  .switch-lang {
        width: 110px;
        text-align: left;
        cursor: pointer;
        z-index: 50;
        position: absolute;
        top: 27px;
        right: 70px;
    }
}

/* Hide the submenu by default */
.dropdown-menu {
  display: none;
}

/* Show the submenu when hovering over the parent list item */
.nav-item:hover .dropdown-menu {
  display: block;
}
