/* vue-select */
.v-select .vs__search::placeholder {
  color: #b7b7b7;
  font-size: 0.87em;
}
.v-select .vs__dropdown-option--selected:not(.vs__dropdown-option--highlight) {
  background: #eeffda;
}
.v-select:not(.vs--open) input.vs__search:nth-child(2) {
  height: 0;
  margin: 0;
  padding: 0;
}
.v-select .item-section,
.multiselect .item-section,
.autocomplete .item-section {
  color: #b7b7b7;
  padding-left: 8px;
  font-size: 0.87em;
}
.v-select .vs__selected-options {
  width: calc(100% - 42px);
}
.v-select .vs__selected-options .vs__selected {
  width: 100%;
}
.v-select .vs__selected-options .vs__selected .item-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* modal */
.modal-fade-enter-from, .modal-fade-leave-active {
  opacity: 0;
}
.modal-backdrop.modal-fade-enter-from .modal, .modal-backdrop.modal-fade-leave-active .modal {
  left: -150px
}

.modal-fade-enter-active, .modal-fade-leave-active,
.modal-fade-enter-active .modal, .modal-fade-leave-active .modal {
  transition: all .5s ease
}

.modal-backdrop {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: auto;
}

.modal-backdrop .modal {
  background: #FFFFFF;
  box-shadow: 2px 2px 20px 1px;
  display: flex;
  flex-direction: column;
  position: relative;
  left: 0px;
  max-height: 90vh;
}

.modal-backdrop .modal .modal-header,
.modal-backdrop .modal .modal-footer {
  display: flex;
}

.modal-backdrop .modal .modal-header {
  padding: 20px;
  border-bottom: 1px solid #eeeeee;
  background-color: #dbf0f1;
  color: #000000;
  justify-content: space-between;
  position: relative;
  display: flex;
  align-items: center;
}

.modal-backdrop .modal .modal-header .headerItems {
  display:flex;
  align-items: center;
}

.modal-backdrop .modal .modal-header h2 {
  background-color: #dbf0f1;
  color:#000000;
  padding: 0;
  margin: 0px 0px 0px 0px;
  display:inline-block;
}

.modal-backdrop .modal .modal-header h2:after {
  opacity:0;
}

.modal-backdrop .modal .modal-header .help {
  margin-left: 5px;
  transition: all .5s;
}

.modal-backdrop .modal .modal-header .help img:hover {
  opacity: 0.6;
}

.modal-backdrop .modal .modal-header ul {
  display: inline-block;
  list-style-type: none;
  margin: 0;
}

.modal-backdrop .modal .modal-header .btn-close {
  position: absolute;
  border: 2px solid white;
  font-size: 22px;
  right: -15px;
  top: -15px;
  height: 15px;
  width: 15px;
  padding: 5px 5px 5px 5px;
  line-height: 0px;
  transition: all .3s;
  cursor: pointer;
  background: black;
  color: white;
  border-radius: 50%;
  vertical-align: middle;
  box-shadow: 0 0 5px black;
  text-align: center;
}

.modal-backdrop .modal .modal-header .btn-close:hover {
  transform: scale(1.2) rotate(180deg);
}

.modal-backdrop .modal .modal-body {
  position: relative;
  padding: 15px 15px;
  max-height: 80vh;
  overflow-y: auto;
  max-width: calc(100vw - 74px);
  scrollbar-width: thin;
}

.modal-backdrop .modal .modal-footer {
  border-top: 1px solid #eeeeee;
  justify-content: flex-end;
  height: min-content;
  padding: 10px 15px;
  flex-wrap: wrap;
}

.modal-backdrop .modal .modal-footer .button {
  margin-bottom: unset;
}

.type-styles-definition .modal-backdrop {
  position: static;
  height: 300px;
}

#modalTitle .lightbox_heading {
  max-width: 90vw;
}

@media screen and (max-width: 650px) {
  .modal-backdrop {
    display: block;
  }

  .modal-backdrop div.modal .modal-header .btn-close {
    top: 0;
    right: 0;
  }

  .modal-backdrop div.modal section.modal-body {
    max-width: unset;
  }
}
