.c-language-switcher {
  position: relative;
  width: 9.5rem;
  margin-left: .5rem;
}

.c-language-switcher__dropper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  color: currentColor;
  fill: currentColor;
  font-size: 10px;
  font-weight: 400;
  background: #C7D5DE;
  border-radius: 1rem;
  padding: .25rem .75rem;
  min-width: 9rem;
  min-height: 2rem;
  cursor: pointer;
  position: relative;
}

.c-language-switcher__icon {
  background-repeat: no-repeat;
  background-size: contain;
  width: .5rem;
  height: .25rem;
  position: absolute;
  top: 50%;
  right: .75rem;
  margin-top: -1px;
  transition: .3s all;
}

.c-language-switcher__flag {
  width: 1rem;
  height: .75rem;
  margin-right: .25rem;
}

.c-language-switcher__child-container {
  border-bottom: 1px solid #dfe7eb;
}

.c-language-switcher__child-container:last-child {
  border-bottom: 0px solid #dfe7eb;
}

.c-language-switcher__child {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
  color: #396C8A;
  fill: currentColor;
  font-size: 10px;
  line-height: 1;
  text-decoration: none;
/*   padding: 0.25rem 0; */
  white-space: nowrap;
  width: 100%;
  padding: .6rem .75rem;
  transition: .3s all;
}

.c-language-switcher__child:hover {
  text-decoration: none;
  background-color: #dfe7eb;
  color: #396C8A;
}

.c-language-switcher__dropdown {
  transition: opacity 0.3s, height 0.3s;
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translateY(100%) translateX(0);
  background: #C7D5DE;
  border-radius: .75rem;
  min-width: 9.5rem;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.c-language-switcher__dropdown::before {
  content: '';
  display: block;
  position: absolute;
  height: 1.5rem;
  top: -1.5rem; //match bottom
  left: 0;
  width: 100%;
  background: transparent;
}

.c-language-switcher:hover .c-language-switcher__dropdown {
  z-index: 2;
  opacity: 1;
  height: auto;
}

.c-language-switcher:hover .c-language-switcher__icon {
  transform: rotate(180deg);
}

.mobile-lang-wrap .c-language-switcher {
  display: none;
}

@media all and (max-width: 768px) {
  .mobile-lang-wrap .c-language-switcher {
    display: block;
    width: calc(100% - 2rem);
    margin: 0 auto;
  }
  
  .mobile-lang-wrap .c-language-switcher .c-language-switcher__dropdown {
    width: 100%;
  }
  
  .desktop-lang-wrap .c-language-switcher {
    display: none;
  }
}