:host {
  display: block;
}

*,
*:before,
*:after {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

/* disabling the no-descending-specificity property inorder to separate the styles of form fields */
/* stylelint-disable  no-descending-specificity */
.pl-form-field {
  position: relative;
}


.pl-form-field__input {
  margin: 0;
  padding: 0;
  padding-right: 5px;
  text-overflow: ellipsis;
  color: #212121;
  font-family: "Source Sans Pro";
  font-size: 16px;
  letter-spacing: 0;
  line-height: 24px;
}

.pl-form-field.pl-form-field--text-input > input {
  background: transparent;
  border-radius: 0;
  outline: 0 !important;
}

.pl-form-field__label {
  display: inline-block;
  color: #727272;
  font-size: 13px;
  line-height: 1.61;
  min-height: 18px;
}

.pl-form-field__helper-text {
  color: #727272;
  font-size: 12px;
  line-height: 1.5;
}

.pl-form-field--text-input .pl-form-field__input {
  border: none;
  border-bottom: 1px solid #b6b6b6;
  color: #212121;
  font-size: 16px;
  line-height: 1.5;
  width: 100%;
}

.bordered .pl-form-field.pl-form-field--text-input {
  border: none;
}

.bordered .pl-form-field.pl-form-field--text-input .input-section {
  padding: 5px;
  border: 1px solid #727272;
  border-radius: 3px;
}

.bordered .pl-form-field.pl-form-field--text-input .input-section.active {
  border: 1px solid #1774e5;
}

.bordered .uxpl-options-menu {
  margin-top: 2px;
}

.pl-form-field__label.active {
  color: #1774e5;
}

.pl-form-field--text-input .pl-form-field__input::-webkit-input-placeholder {
  opacity: 0.9;
  font-size: 16px;
  letter-spacing: 0.5px;
  line-height: 1.25;
  color: #727272;
}

.pl-form-field--text-input .pl-form-field__input::-moz-placeholder {
  opacity: 0.9;
  font-size: 16px;
  letter-spacing: 0.5px;
  line-height: 1.25;
  color: #727272;
}

.pl-form-field--text-input .pl-form-field__input:-ms-input-placeholder {
  opacity: 0.9;
  font-size: 16px;
  letter-spacing: 0.5px;
  line-height: 1.25;
  color: #727272;
}

.pl-form-field--text-input .pl-form-field__input::-ms-input-placeholder {
  opacity: 0.9;
  font-size: 16px;
  letter-spacing: 0.5px;
  line-height: 1.25;
  color: #727272;
}

.pl-form-field--text-input .pl-form-field__input::placeholder {
  opacity: 0.9;
  font-size: 16px;
  letter-spacing: 0.5px;
  line-height: 1.25;
  color: #727272;
}

.input-section {
  display: flex;
  flex-direction: row;
}

.select-indicator {
  background-image: url("./assets/ic-caret-down.svg");
  background-repeat: no-repeat;
  height: 11px;
  width: 16px;
  align-self: center;
  justify-content: center;
  margin-right: 5px;
}

.select-indicator.active {
  background-image: url("./assets/ic-caret-down-active.svg");
  transform: rotate(180deg);
  margin-bottom: 5px;
}

.pl-form-field__input:disabled {
  background-color: transparent;
}

.selection-indicator {
  height:10px;
  width: 12px;
  margin-left: 5px;
  /*margin-right: 5px;*/
}

.selection-indicator.selected {
  background: url('./assets/ic-checkmark.svg');
  background-repeat: no-repeat;
}

.pl-form-field--text-input {
  border-bottom: 1px solid #b6b6b6;
}

.pl-form-field--text-input:focus-within {
  border-bottom: 1px solid #1774e5;
}

.pl-form-field--text-input .pl-form-field__input {
  border: none;
}

.pl-form-field--text-input .pl-form-field__input:focus {
  outline: none;
  /* disabling the max-nesting-depth property for technical limitation */
  /* stylelint-disable-next-line max-nesting-depth */
}

.pl-form-field--text-input .pl-form-field__input:focus ~ .pl-form-field__label {
  color: #1774e5;
  font-size: 13px;
  line-height: 1.61;
}

.pl-form-field--text-input .pl-form-field__label {
  position: relative;
  left: 0;
}

.pl-form-field--text-input.has-error .pl-form-field__label {
  color: #db0000;
}

.pl-form-field--text-input.has-error {
  border-bottom: 1px solid #db0000;
}

.pl-form-field--text-input.has-error .pl-form-field__helper-text {
  opacity: 0.9;
  color: #db0000;
}

.pl-form-field--text-input.disabled {
  border-bottom: 1px solid #b6b6b6;
  color: #b6b6b6;
}

.pl-form-field--text-input .pl-form-field__input:disabled ~ .pl-form-field__label {
  color: #b6b6b6;
}

.pl-form-field--text-input .pl-form-field__input:disabled ~ .pl-form-field__helper-text {
  color: #b6b6b6;
}


.uxpl-options-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  position: absolute;
  z-index: 1000;
  width: 100%;
  overflow: auto;
}

.uxpl-options-menu-item {

}

.uxpl-options-menu-item-link {
  display: block;
  text-decoration: none;
  color: #212121;
  padding: 8px 8px;
  font-family: "Source Sans Pro";
  font-size: 16px;
  letter-spacing: 0;
  line-height: 24px;
}

.uxpl-options-menu-item-link.single {
  color: #1774E5;
}

.uxpl-options-menu-item.disabled > .uxpl-options-menu-item-link {
  color: #727272;
}

.uxpl-options-menu-item:hover {
  background-color: #f3f4fb;
  cursor: pointer;
  text-decoration: none;
  color: #1774E5;
}

.uxpl-options-menu {
  border: 1px solid #1774E5;
  border-radius: 0 0 3px 3px;
  background-color: #FFFFFF;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.35);
}

.select-input-box {
  position: relative;
}

.uxpl-options-menu-item {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.uxpl-options-menu.above {
  bottom: 40px;
  top: unset;
}

.uxpl-options-menu.below {
  top: 40px;
  bottom: unset;
}
