.qd_lang_list_class {
  display: none;
  position: absolute;
  top: 17px;
  left: 0;
  text-align: center;
  z-index: 100;
  list-style-type: none;
  padding: 15px 0 0;
  margin: 0;
}

.custom__language-switcher {
  cursor: pointer;
}

.custom__language-switcher .lang_switcher_class {
  position: static;
}

.custom__language-switcher .qd_lang_list_class {
  border: 2px solid #fff;
  border-top: none;
  border-radius: 0 0 8px 8px;
  color: #fff;
  display: block;
  font-size: 16px;
  opacity: 0;
  min-width: 70px;
  width: 100%;
  padding-top: 0;
  text-align: left;
  top: 60px;
  transition: opacity 0.3s;
  visibility: hidden;
  min-width: 205px;
  left: -118px;
}


.bee-site-footer .custom__language-switcher .qd_lang_list_class {
  top: 40px;
  left: auto;
  right: 0;
  min-width: 190px;
}
@media(max-width: 768px){
  .custom__language-switcher .qd_lang_list_class{
    left: auto;
  }
  .bee-site-footer .bee-header_language-switcher-wrapper.h-full.sticky{
    z-index: 9;
  }
 
}
.bee-header .custom__language-switcher.white-theme .custom__language-switcher--label-current{
  border: 0!important;
}
.custom__language-switcher.active .qd_lang_list_class{
  opacity: 1;
  transition: opacity 0.3s;
  visibility: visible;
}
.bee-header .custom__language-switcher:hover svg{
  transform: none!important;
}
.bee-header .custom__language-switcher.active svg{
  transform: rotate(180deg)!important;
}

.custom__language-switcher.active .custom__language-switcher--label-current{
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  padding-bottom: 7px;
}

.custom__language-switcher .qd_lang_list_class li {
  border: none;
  font-size: 14px;
}
.country-name {
  font-weight: 600;
}
.country-native-name {
  font-weight: 400;
}
.custom__language-switcher .qd_lang_list_class li:last-child a {
  border-radius: 0 0 8px 8px;
}

.custom__language-switcher .qd_lang_list_class li a {
  display: block;
  color: #fff !important;
  padding: 8px 16px;
}

.custom__language-switcher .qd_lang_list_class li a:hover {
  color: #494a52;
  text-decoration: none;
  background-color: rgba(240, 242, 245, 0.2);
  transition: background-color 0.3s;
}

.custom__language-switcher--label {
  position: relative;
}
.country-switcher {
  min-width: 150px;
}

.custom__language-switcher--label-current {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 16px;
  padding: 6px 14px 5px 14px;
  color: #fff;
  border-radius: 8px;
  line-height: 25px;
}
span.country-flag {
    display: inline-block;
    margin-right: 6px;
}
.custom__language-switcher--label-current svg {
  margin-left: 8px;
}

{# Theme overwrides #}
.custom__language-switcher.white-theme .custom__language-switcher--label-current {
  
  padding: 7px 14px 6px 14px;
  color: #3A4354;
  background-color: #fff;
  min-width: 150px;
}
footer .custom__language-switcher.white-theme .custom__language-switcher--label-current{
  border-color: #CBD4E1!important;
}
@media(max-width: 768px){
  .bee-header .custom__language-switcher.white-theme .custom__language-switcher--label-current{
    border: 1px solid #CBD4E1!important;
  }
  .custom__language-switcher .qd_lang_list_class{
    top: 40px!important;
  }
}

.custom__language-switcher.white-theme .custom__language-switcher--label-current svg path {
  fill: #3A4354;
}


.custom__language-switcher.white-theme .qd_lang_list_class {
  background: #fff;
  color: #3A4354;
  border: 1px solid #CBD4E1;
  border-top: none;
  padding-left: 0;
}

.custom__language-switcher.white-theme .qd_lang_list_class li a,
.custom__language-switcher.white-theme .qd_lang_list_class li a span {
  color: #3A4354!important;
}

.custom__language-switcher.white-theme .qd_lang_list_class li a:hover,
.custom__language-switcher.white-theme .qd_lang_list_class li a:hover span {
  background-color: transparent;
}
.custom__language-switcher.white-theme .qd_lang_list_class li a:hover{
  background-color: #F0F2F5;
}

@media (max-width: 768px) {
  .bee-header_container .bee-header_menu .hs-menu-wrapper .bee-header_right{
    margin-left: 0;
    margin-right: auto;
    width: 100%;
  }
  .custom__language-switcher--label-current svg {
    margin-left: auto;
}
}