/**
 * Multiple Selection Component for Bootstrap
 *
 * Author:       Nicolas Bize
 * Maintainer:   Sergio F. Rodriguez
 * Created:      Feb 8th 2013
 * Last Updated: Feb 15th 2024
 * Version:      2.1.4
 * Licence:      MagicSuggest is licenced under MIT licence (http://opensource.org/licenses/MIT)
 */
.ms-ctn {
  position: relative;
  padding: 5px 12px;
  height: auto;
}
.ms-inv {
  border: 1px solid #cc0000;
}
.ms-ctn-readonly {
  cursor: pointer;
}
.ms-ctn-disabled {
  cursor: not-allowed;
  background-color: #eeeeee;
}
.ms-ctn-bootstrap-focus,
.ms-ctn-bootstrap-focus .ms-res-ctn {
  border-color: rgba(82, 168, 236, 0.8) !important;
  /* IE6-9 */
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(82, 168, 236, 0.6) !important;
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(82, 168, 236, 0.6) !important;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(82, 168, 236, 0.6) !important;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.ms-ctn-focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(102, 175, 233, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(102, 175, 233, 0.6);
}
.ms-ctn input {
  border: 0;
  box-shadow: none;
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  outline: none;
  display: block;
  padding: 0;
  line-height: 1.42857143;
  margin: 1px 0;
  width: 100%;
  min-width: 14px;
}
.ms-ctn .ms-sel-ctn input {
  float: left;
  background: #f5f5f5;
}
.ms-ctn .ms-sel-ctn input::placeholder {
  color: #c0c0c2 !important;
}
.ms-ctn-disabled input {
  cursor: not-allowed;
  background-color: #eeeeee;
}
.ms-ctn .ms-input-readonly {
  cursor: pointer;
}
.ms-ctn .ms-empty-text {
  color: #ddd;
}
.ms-ctn input:focus {
  border: 0;
  box-shadow: none;
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  background: #f5f5f5;
}
.ms-ctn input::-ms-clear {
  width: 0;
  height: 0;
}
.ms-ctn .ms-trigger {
  top: 0;
  width: 32px;
  height: 100%;
  position: absolute;
  right: 0;
  background: transparent;
  /* border-left: 1px solid #CCC; */
  cursor: pointer;
}
.ms-ctn .ms-trigger .ms-trigger-ico {
  /* display: inline-block;
    width: 0;
    height: 0;
    vertical-align: top;
    border-top: 4px solid #333;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    content: "";
    margin-left: 8px;
    margin-top: 15px; */
}
.ms-trigger-ico {
  display: flex;
  justify-content: center;
  height: 33px;
  align-items: center;
}

.ms-ctn .ms-trigger:hover {
  background-color: transparent;
}
.ms-ctn .ms-trigger:hover .ms-trigger-ico {
  /* background-position: 0 -4px; */
}
.ms-ctn-disabled .ms-trigger {
  cursor: not-allowed;
  background-color: #eeeeee;
}
.ms-ctn-bootstrap-focus {
  border-bottom: 1px solid #ccc;
}
.ms-res-ctn {
  width: 100%;
  display: block;
  overflow-y: auto;
}
.ms-res-ctn .ms-res-group {
  line-height: 23px;
  text-align: left;
  padding: 2px 5px;
  font-weight: bold;
  border-bottom: 1px dotted #ccc;
  border-top: 1px solid #ccc;
  background: #f3edff;
  color: #333;
}
.ms-res-ctn .ms-res-item {
  line-height: 25px;
  text-align: left;
  padding: 2px 12px;
  color: #666;
  cursor: pointer;
}
.ms-res-ctn .ms-res-item-grouped {
  padding-left: 15px;
}
.ms-res-ctn .ms-res-odd {
  background: #fafafa;
}
.ms-res-ctn .ms-res-item-active {
  background-color: #f5f5f5;
}
.ms-res-ctn .ms-res-item-disabled {
  color: #ccc;
  cursor: default;
}
.ms-sel-ctn {
  overflow: auto;
  line-height: 18px;
  padding-right: 25px;
}
.ms-no-trigger .ms-sel-ctn {
  padding-right: 0;
}
/** Outer and global tags **/
.ms-sel-ctn .ms-sel-item {
  background: #f3f3f3;
  color: #999;
  float: left;
  font-size: 12px;
  padding: 3px 5px;
  border-radius: 3px;
  border: 1px solid #ddd;
  margin: 3px 0px 1px 0;
}
.ms-sel-ctn .ms-sel-invalid {
  border-color: rgb(248, 165, 165) !important;
  background: #fdf2f2 !important;
}
.ms-sel-ctn .ms-sel-item:hover {
  /* border: 1px solid #d3e2e2; */
  background: #e9e9e9;
}
/** For inner tags **/
.ms-ctn .ms-sel-item {
  background: #dfdfdf;
  color: #818181;
  float: left;
  font-size: 13px;
  padding: 2px 8px;
  border-radius: 15px;
  border: none;
  margin: 0px 5px 1px 0;
}

.ms-ctn .ms-sel-item:hover {
  /* border: 1px solid transparent; */
}
.ms-ctn-focus .ms-sel-item:hover {
  /* border: 1px solid #818181; */
}
.ms-sel-ctn .ms-sel-text {
  background: #fff;
  color: #666;
  padding-right: 0;
  margin-left: 0;
  font-size: 14px;
  font-weight: normal;
}
.ms-as-string .ms-sel-text {
  border-color: transparent;
}
.ms-res-ctn .ms-res-item em {
  font-style: normal;
  background: #565656;
  color: #fff;
}
.ms-sel-ctn .ms-sel-text:hover {
  background: #fff;
}
.ms-sel-ctn .ms-sel-item-active {
  border: 1px solid red;
  background: #757575;
}
.ms-stacked .ms-sel-item {
  float: inherit;
}
.ms-sel-ctn .ms-sel-item .ms-close-btn {
  width: 7px;
  cursor: pointer;
  height: 7px;
  float: right;
  margin: 6px 2px 0 7px;
  background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg version='1.1' id='Ebene_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='666.7px' height='666.7px' viewBox='0 0 666.7 666.7' style='enable-background:new 0 0 666.7 666.7;' xml:space='preserve' %3E%3Cstyle type='text/css'%3E .st0%7Bfill:none;stroke:%23606060;stroke-width:66.6667;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:133.3333;%7D%0A%3C/style%3E%3Cg id='Menu__x2F__Close_x5F_LG'%3E%3Cpath id='Vector' class='st0' d='M633.3,633.3l-300-300 M333.3,333.3l-300-300 M333.3,333.3l300-300 M333.3,333.3l-300,300'/%3E%3C/g%3E%3C/svg%3E%0A");
  background-size: contain;
}
.ms-sel-ctn .ms-sel-item .ms-close-btn:hover {
  background-position: 0 0;
}
.ms-stacked .ms-sel-item .ms-close-btn {
  margin-left: 0px;
}
.ms-helper {
  color: #aaa;
  font-size: 10px;
  position: absolute;
  top: -16px;
  right: 0;
}
.ms-ctn.input-lg .ms-trigger .ms-trigger-ico {
  margin-top: 17px;
}
.ms-ctn.input-sm .ms-trigger .ms-trigger-ico {
  margin-top: 13px;
}
.ms-ctn.input-lg .ms-sel-ctn .ms-sel-item {
  padding-top: 2px;
  padding-bottom: 3px;
}
.ms-ctn.input-sm .ms-sel-ctn {
  line-height: 15px;
}
.ms-ctn.input-sm .ms-sel-ctn .ms-sel-item {
  padding-top: 1px;
  padding-bottom: 1px;
  margin-top: 0;
  margin-bottom: 0;
}
.ms-ctn.input-sm .ms-sel-ctn .ms-sel-item .ms-close-btn {
  margin-top: 4px;
}
.ms-ctn .ms-sel-ctn {
  margin-left: 0px;
}
.ms-ctn .ms-trigger:hover {
  /* width:24px; */
  /* right: 1px; */
  /* border-radius: 0 3px 3px 0; */
}

.form_answer .ms-sel-ctn {
  padding-left: 12px;
}
