/* Mixins.less
 * Snippets of reusable CSS to develop faster and keep code readable
 * ----------------------------------------------------------------- */
.simple-dropdown {
  position: relative;
  display: block;
  padding-top: 0px;
  border: none;
  border-radius: 0px;
  cursor: pointer;
  background-color: transparent;
}
.simple-dropdown.simple-dropdown {
  -webkit-transition: border-color 0.2s, background-color 0.2s;
  -moz-transition: border-color 0.2s, background-color 0.2s;
  -ms-transition: border-color 0.2s, background-color 0.2s;
  -o-transition: border-color 0.2s, background-color 0.2s;
  transition: border-color 0.2s, background-color 0.2s;
}
.simple-dropdown.disabled {
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}
.simple-dropdown.hide {
  display: none;
}
.simple-dropdown.open {
  z-index: 10;
}
.simple-dropdown.have-data {
  border-color: #EFF9F8;
}
.simple-dropdown.have-data .dropdown-placeholder {
  display: none;
  top: 1px;
  font-size: 16px;
  color: #a5a5a5;
}
.simple-dropdown .dropdown-show-selected {
  font-size: 14px;
  line-height: 14px;
  color: #202020;
  height: 100%;
}
.simple-dropdown .dropdown-show-selected .icon-arrow-down {
  font-size: 12px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: transform 0.3s;
  -moz-transition: transform 0.3s;
  -ms-transition: transform 0.3s;
  -o-transition: transform 0.3s;
  transition: transform 0.3s;
  position: absolute;
  right: 0px;
  top: 1px;
}
.simple-dropdown .dropdown-show-selected .-text {
  display: block;
  padding-right: 20px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.simple-dropdown .dropdown-placeholder {
  position: absolute;
  width: 77%;
  left: 20px;
  top: 12px;
  white-space: nowrap;
  font-size: 14px;
  color: #222;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
  display: block;
  /* Fallback for non-webkit */
  display: -webkit-box;
  max-height: 25px;
  /* Fallback for non-webkit */
  margin-left: auto;
  margin-right: auto;
  line-height: 25px;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.simple-dropdown .dropdown-placeholder .icon {
  font-size: 15px;
  line-height: 25px;
  color: #222;
  margin-right: 20px;
}
.simple-dropdown .dropdown-section {
  position: absolute;
  top: calc(100% + 15px);
  left: 0;
  margin-top: 3px;
  max-height: 300px;
  width: 229px;
  list-style: none;
  background-color: white;
  border-radius: 12px;
  visibility: hidden;
  overflow: hidden;
  cursor: initial;
  opacity: 0;
  -webkit-transition: opacity 0.3s, visibility 0s 0.3s;
  -moz-transition: opacity 0.3s, visibility 0s 0.3s;
  -ms-transition: opacity 0.3s, visibility 0s 0.3s;
  -o-transition: opacity 0.3s, visibility 0s 0.3s;
  transition: opacity 0.3s, visibility 0s 0.3s;
}
.simple-dropdown .dropdown-section.hide-serch ul {
  margin-top: 0;
}
.simple-dropdown .inp-dd-search {
  padding-left: 10px;
  height: 35px;
  line-height: 33px;
  border: 1px solid #eee;
  border-radius: 5px;
  position: absolute;
  font-size: 16px;
  font-family: 'Kanit';
  color: #333;
  box-shadow: none;
  -webkit-appearance: none;
  display: block;
  background-image: linear-gradient(to right, #FAFAFA 0%, #FAFAFA 50%, #FAFAFA 50%, white 50%, white 100%);
  background-size: 200% auto;
  background-position: right;
  -webkit-transition: background 0.2s;
  -moz-transition: background 0.2s;
  -ms-transition: background 0.2s;
  -o-transition: background 0.2s;
  transition: background 0.2s;
  width: 95%;
  left: 0;
  right: 0;
  margin: auto;
  top: 5px;
}
.simple-dropdown .inp-dd-search:focus {
  background-position: left;
}
.simple-dropdown ul {
  padding: 20px 24px 24px;
  margin-top: 45px;
  background-color: transparent;
  max-height: 255px;
  overflow: auto;
  margin-bottom: 0px;
}
.simple-dropdown ul li {
  font-size: 14px;
  line-height: 20px;
  padding: 6px 10px;
  color: #4F5B60;
  cursor: pointer;
  width: 100%;
  list-style: none;
  -webkit-transition: background-color 0.2s, color 0.2s;
  -moz-transition: background-color 0.2s, color 0.2s;
  -ms-transition: background-color 0.2s, color 0.2s;
  -o-transition: background-color 0.2s, color 0.2s;
  transition: background-color 0.2s, color 0.2s;
}
.simple-dropdown ul li.selected {
  cursor: default;
  pointer-events: none;
}
.simple-dropdown ul li.hide {
  display: none;
}
.simple-dropdown ul li.disible {
  pointer-events: none;
  cursor: default;
  opacity: 0.5;
}
.simple-dropdown ul li.download {
  padding: 0px;
}
.simple-dropdown ul li.download:not(:first-child) {
  margin-top: 10px;
}
.simple-dropdown ul li.download .-text .title {
  font-size: 12px;
  line-height: 20px;
}
.simple-dropdown ul li.download .-text .list-download {
  margin-top: 5px;
  gap: 10px;
}
.simple-dropdown ul li.download .-text .item-download {
  color: #F69B15 !important;
  border: 1px solid #F69B15;
  border-radius: 6px;
  padding: 8px 18px;
  transition: all 0.2s ease-out;
}
.simple-dropdown ul li.download .-text .item-download.width_100 {
  width: 100%;
  text-align: center;
}
.simple-dropdown ul li.download .-text .item-download:hover {
  background-color: #F69B15;
  color: white !important;
}
.simple-dropdown ul .-text {
  padding-right: 1px;
}
.simple-dropdown.open .dropdown-show-selected .icon-arrow-down {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}
.simple-dropdown.open .dropdown-section {
  opacity: 1;
  visibility: visible;
  -webkit-transition-delay: 0s;
  -moz-transition-delay: 0s;
  -ms-transition-delay: 0s;
  -o-transition-delay: 0s;
  transition-delay: 0s;
}
.simple-dropdown.have-icon-placholder .box_ic {
  width: 60px;
  position: absolute;
  left: 0;
  height: 100%;
}
.simple-dropdown.have-icon-placholder .box_ic .ic {
  font-size: 20px;
  color: inherit;
}
.simple-dropdown.have-icon-placholder .dropdown-placeholder {
  left: 60px;
}
.simple-dropdown.have-icon-placholder .dropdown-show-selected {
  padding-left: 60px;
}
@media (max-width: 767px) {
  .simple-dropdown {
    min-width: 100%;
    width: 100%;
  }
  .simple-dropdown ul {
    max-height: 184px;
  }
  .simple-dropdown ul li {
    padding-left: 15px;
    padding-right: 15px;
  }
}
