#country-menu:not(.mm-menu) {
  display: none;
}

.country-menu-close.menu-close {
  position: absolute;
  background: transparent;
  font-size: 40px;
  z-index: 1052;
  cursor: pointer;
}

#country-menu .mm-navbar__title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

#country-menu .mm-navbar__title > span {
  display: flex;
  justify-content: space-between;
  width: 100%;
  line-height: 1;
  align-items: center;
}

#country-menu hr {
  border-top: 1px solid #dddddd;
  border-bottom: 0;
  width: 100%;
  margin: 5px 0;
  opacity: 100%;
}

#country-menu .country-content {
  padding: 10px 20px;
}

#country-menu .list {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-around;
  list-style: none;
}

#country-menu .list a {
  display: flex;
  margin: 10px;
  transition: color 0.3s;
  font-size: 16px;
}

#country-menu .list a.active-country {
  color: var(--color-secondary);
  font-weight: bold;
}

#country-menu .country-content > p {
  font-size: 16px;
  font-weight: 700;
}

#country-menu .list a:not(.active-country):hover {
  color: #336699;
}

#country-menu .list a:hover {
  text-decoration: underline;
}

#country-menu .geoFlag {
  width: 20px;
  height: auto;
  margin-right: 5px;
}

#country-menu .country-content span {
  margin-left: 8px;
}

#country-menu .country-menu-close {
  background: transparent;
  color: #369 !important;
  padding: 0;
  font-size: 30px;
  border: none;
}

#country-menu .country-menu-close span {
  margin: 0;
}

#country-menu .country-menu-close:hover {
  box-shadow: none;
  background: transparent;
  color: #f70 !important;
  cursor: pointer;
}

footer .country-selector .country-text {
  color: var(--color-text);
}

footer .country-selector {
  cursor: pointer;
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

footer .country-selector:hover .country-text {
  text-decoration: underline;
}

footer #footer-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 40px;
  gap: 10px;
  justify-content: center;
}

@media (min-width: 768px) {
  footer #footer-text {
    flex-direction: row;
  }
}
