@charset "UTF-8";

#lg_btn.flag > span.flag_code,
#lg_btn > span.flag {
	z-index: 12;
}

#lg_btn > span.flag {
  opacity: .3;
}

a.flag, a.dropdown-item.flag {
    width: 31px;
    width: auto;
    height: 32px;
    padding: 0;
    margin: 0;
	
}

a.dropdown-item.flag {
  margin: 4px 0 0 0;
}

a.dropdown-item.flag:hover {
  margin: 3px 11px 0 -1px;
}


a.flag > span.flag, 
a.dropdown-item.flag > span.flag, 
#srt_lg_menu > li > span.flag {
  width: 33px;
  height: 30px;
  display: block;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid #fff;
  border-radius: 8px;
  box-shadow: 0 1px 1px 1px var(--bs-gray-400);
  margin: 0;
  background-position: center center;
  position: relative;
  float: left;
}

a.flag > span.flag > img {
  border-radius: 8px;
  margin: 0;
  width: 31px;
  height: 28px;

}

.lang_from.selected span.flag_code, 
.lang_to.active span.flag_code, 
#ow_langs_list span.flag_code {
	display: none;
}

a.flag > span.flag_code {
  position: absolute;
  color: var(--dark);
  text-shadow: 1px 2px 2px #fffa, 1px -2px 2px #fffa, -1px -2px 2px #fffa, -1px 2px 2px #fffa;
  width: 40px;
  text-align: center;
  font-size: 18px;
  line-height: 26px;
  font-weight: bold;
  height: 40px;
  overflow: hidden;
  margin: 0 -3px;
  left: 0;
  text-decoration: underline;
}

a.flag > span.flag_code.code_country {
	font-size: 15px;
	line-height: 13px;
}

a#lg_btn.flag > span.flag_code {
  margin: -2px 0 0 -3px;
  font-size: 22px;
  line-height: 32px;
  border: _1px green solid;
  height: 34px;
  border-radius: 10px;
  background-color: _#BBB5;
}

#langs_menu_ctn ul.all a.flag {
  display: flex;
  align-items: center;
  text-decoration: none;
}

#langs_menu_ctn ul.all > li a.flag > span:not(.flag):not(.flag_code) {
  display: block;
  width: auto;
  height: auto;
  padding-top: 0px;
  padding-left: 0.6rem;
}

#langs_menu_ctn ul.all > li a.flag > span span {
  color: #000;
  line-height: 1.1;
}

#langs_menu_ctn ul:not(.all) > li span:not(.flag) {
  line-height: 2;
	float: left;
}

#langs_menu_ctn ul.all li {
	float:none;
}

#langs_menu_ctn ul.all li, 
#langs_menu_ctn ul.all a.flag, 
#langs_menu_ctn ul.all a.dropdown-item.flag {
	width: 100%;
	height: 100%;
}

#langs_menu_ctn ul.all li {
  float: left;
  list-style-type: none;
}

 .nav-link.flag span.caret {
	margin-left:36px;
	display:none !important;
}

li > .flag:first-child {
	float:left;
}

li > .flag:first-child + span {
	float:left;
	margin-top:8px;
  display: none;
}

li > .flag.selected:first-child + span {
  display: block;
}

*[lang] {
  direction: ltr;
}

*[lang="ar"], *[lang="AR"] {
  direction: rtl;
}

@media screen and (min-width:992px) {
  a#lg_btn.flag > span.flag_code {
    margin: -2px 0 0 4px;
  }
}
