#polylang-2.widget_polylang {
  position: relative;
  height: 4.5em;
  text-align: left;
}

#polylang-2 ul {
  display: inline-flex;
  flex-direction: column;
  transition: .4s ease-in-out;
}

#polylang-2 ul:after {
  clear: both;
}

#polylang-2 li {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  cursor: pointer;
  padding-top: 1px;
  padding-bottom: 1px;
  flex: 1;
  border-bottom: .1px solid #fd4968;
  list-style-type: none;
  -webkit-transition: all 500ms ease-out;
  -moz-transition: all 500ms ease-out;
  -o-transition: all 500ms ease-out;
  transition: all 500ms ease-out;
}

#polylang-2 li a {
  width: 100%;
  pointer-events: none;
  padding-right: 30px;
  text-decoration: none;
  color: #fd4968;
}

#polylang-2 ul li.current-lang:after {
  position: absolute;
  right: 0;
  color: #fd4968;
  font-family: fontAwesome;
  content: "\f104";
  -webkit-transition: all 500ms ease-out;
  -moz-transition: all 500ms ease-out;
  -o-transition: all 500ms ease-out;
  transition: all 500ms ease-out;
}

#polylang-2 li:not(.current-lang) {
  visibility: hidden;
  opacity: 0;
  height: 0;
  top: 100%;
  left: 0;
  width: 100%;
  transform: translateY(-2em);
  z-index: -1;
  transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
}

#polylang-2 li:before {
  cursor: pointer;
  content: "";
  position: absolute;
  z-index: -1;
  margin-top: 1px;
  left: 50%;
  right: 50%;
  bottom: 0;
  background: #bab8b8;
  height: 2px;
  -webkit-transition-property: left right;
  transition-property: left right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

#polylang-2 li:hover:before {
  left: 0;
  right: 0;
}

#polylang-2 ul:active>li.current-lang:after,
#polylang-2 ul:hover li.current-lang:after {
  content: "";
}

#polylang-2 ul:active>li:nth-child(1):after,
#polylang-2 ul:hover li:nth-child(1):after {
  position: absolute;
  right: 0;
  color: #fd4968;
  font-family: fontAwesome;
  content: "\f104";
  -webkit-transition: all 500ms ease-out;
  -moz-transition: all 500ms ease-out;
  -o-transition: all 500ms ease-out;
  transition: all 500ms ease-out;
}

#polylang-2 ul:active li:after,
#polylang-2 ul:hover li:after {
  -webkit-transform: rotateZ(-90deg);
  -ms-transform: rotateZ(-90deg);
  transform: rotateZ(-90deg);
}

#polylang-2 ul:active>li,
#polylang-2 ul:hover>li {
  height: auto;
  visibility: visible;
  opacity: 1;
  z-index: 1;
  transform: translateY(0%);
  transition-delay: 0s, 0s, 0.3s;
}

#polylang-2 ul:active>li a,
#polylang-2 ul:hover li a {
  pointer-events: auto;
}

.home #polylang-2 li {
  border-bottom: .1px solid #ffffff;
}

.home #polylang-2 li a,
.home #polylang-2 li a,
.home #polylang-2 ul li.current-lang:after {
  color: #ffffff;
}

.home #polylang-2 li:before {
  background: #e02323;
}

.home #polylang-2 ul:active>li:nth-child(1):after,
.home #polylang-2 ul:hover li:nth-child(1):after {
  color: #ffffff;
}