/* http://jsfiddle.net/sedvo037/ */
.anet-mbs-label, .anet-mbs-label-static {
  font-family: "Open sans", sans-serif;
  font-size: 1.1em;
  z-index: 2;
}

.anet-mbs-label {
  top: 38px;
  left: 15px;
  position: relative;
  background-color: white;
  padding: 0px 5px 0px 5px;
  transition: 0.2s;
  pointer-events:none;
  white-space: nowrap;
}

.anet-mbs-form-group.hide-idle-label > .anet-mbs-label {
  opacity: 0;
}

.anet-mbs-form-group.label-animate > .anet-mbs-label {
  top: 16px !important;
  left: 16px !important;
  font-size: 0.8em;
  opacity: 1 !important;
}

.anet-mbs-form-group.label-animate.bg-grey > .anet-mbs-label {
  background-color: #555;
  border-radius: 3px; 
  color: #fff;
  top: 13px !important;
}

.anet-mbs-form-group.populated > .anet-mbs-label {
  color: #333;
  font-weight:bold;
}

/* Switch: https://www.w3schools.com/howto/howto_css_switch.asp */
/* The switch - the box around the slider */
.anet-mbs-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.anet-mbs-switch-input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.anet-mbs-switch-btn {
  border-radius: 34px;
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.anet-mbs-switch-btn:before {
  border-radius: 50%;
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

.anet-mbs-switch-input:checked + .anet-mbs-switch-btn {
  background-color: #2196F3;
}

.anet-mbs-switch-input:focus + .anet-mbs-switch-btn {
  box-shadow: 0 0 1px #2196F3;
}

.anet-mbs-switch-input:checked + .anet-mbs-switch-btn:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Selectize: caption in list */
.anet-mbs-form-group .selectize-dropdown-content [data-selectable] {
  padding: 0.3rem 0.5rem;
}
.anet-mbs-form-group .selectize-dropdown-content .caption {
  font-size: 0.9rem;
  display: block;
  opacity: 0.5;
}
/* Selectize: email display in selected values */
.anet-mbs-form-group .selectize-input [data-value] .name + .email {
    margin-left: 5px;
}
.anet-mbs-form-group .selectize-input [data-value] .email {
    opacity: 0.5;
}