/* global comments */
/*@lrflex-dir
@rlflex-dir*/
.at-dropdown {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.at-dropdown div:first-child span:last-child {
  float: right;
}
.at-dropdown .filter-body {
  display: none;
  position: absolute;
  top: 37px;
  left: 0;
  width: 100%;
  background: #ffffff;
  border: 1px solid #f5f5f5;
  border-radius: 20px;
  box-shadow: 0px 5px 25px rgba(141, 162, 187, 0.35);
  text-align: right;
  padding: 14px 0;
  z-index: 30;
}
.china-lang .at-dropdown .filter-body {
  top: 39px;
}
.at-dropdown.opened .filter-body {
  display: block;
}
.at-dropdown .btn-grey .toggle-table-arrow:after {
  border-left: 2px solid #002857;
  border-bottom: 2px solid #002857;
  border-top: none;
  border-right: none;
  margin-top: 5px;
}
/* Equity dropdown */
.at-dropdown.opened .equity-value,
.at-dropdown.opened i {
  color: #00a377;
}
.equity-section .at-dropdown .filter-body {
  top: 31px;
  left: -35px;
  min-width: calc((100%) + 35px);
  width: auto;
}
.china-lang .equity-section .at-dropdown .filter-body {
  top: 33px;
}
.equity-section .at-dropdown .filter-body a {
  font-weight: bold;
  font-size: 20px;
  white-space: nowrap;
}
/*Market status dropdown*/
.at-dropdown .btn {
  min-width: 160px;
}
.china-lang .at-dropdown .btn {
  min-width: 180px;
}
.at-dropdown .filter-body a {
  color: #002857;
  display: block;
  padding: 7px 35px;
  text-decoration: none;
}
.at-dropdown .filter-body a:hover,
.at-dropdown .type.active > a {
  text-decoration: none;
  color: #00d49a;
}
.at-dropdown .filter-body a:focus {
  text-decoration: none;
}
.at-dropdown .type .border {
  margin: 0px 10px;
  border-bottom: 1px solid #3f3f3f;
  display: block;
}
.type .values {
  display: none;
}
.at-dropdown .type .values a {
  padding: 4px 15px 4px 30px;
}
.at-dropdown .toggle-table-arrow {
  /*!!! defined to be rtl/ltr !!!*/
  margin: 5px 0 0 15px;
}
.at-dropdown .toggle-table-arrow:after {
  width: 8px;
  height: 8px;
}
.at-dropdown .filter-body .toggle-table-arrow:after {
  border-color: #002857;
  margin-top: 2px;
}
.at-dropdown .filter-body .active .toggle-table-arrow:after,
.filter-btn.opened .toggle-table-arrow:after {
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  border-top: none;
  border-right: none;
  margin-top: 5px;
}
.at-dropdown .filter-body .active > li > a {
  background: #002857;
  color: #ffffff;
}
.filter-btn.opened .toggle-table-arrow:after {
  margin-top: 4px;
}
.backdrop-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: transparent;
}
/*Market status dropdown*/
/* custom dropdown for atCountry */
.custom-dropdown {
  position: absolute;
  width: 100%;
  top: 41px;
  left: 0;
  padding: 10px;
  background: #ffffff;
  max-height: 230px;
  border: 1px solid #d9d9d9;
  overflow-y: auto;
  z-index: 10;
  direction: ltr;
}
.custom-dropdown:empty {
  display: none;
}
.custom-dropdown .disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
input[type="text"]#Country {
  cursor: pointer;
}
.custom-dropdown > div {
  padding: 10px 10px;
  margin: 0 -10px;
  cursor: pointer;
  direction: rtl;
}
.custom-input {
  cursor: pointer;
  direction: rtl;
}
.flags-dropdown img {
  /*!!! defined to be rtl/ltr !!!*/
  margin-left: 5px;
}
.flags-dropdown > div {
  padding: 5px 10px;
  margin: 0 -10px;
  cursor: pointer;
  direction: rtl;
}
.flags-dropdown > div:hover,
.custom-dropdown > div:hover {
  background: #eee;
}
.custom-dropdown > div.disabled:hover {
  background: none;
}
.oa-form .flags-dropdown input {
  height: auto;
  padding: 5px;
  margin-bottom: 10px;
}
