.im-alert em {
  color: #ff3d00;
}

.im-alert .i-alert {
  color: #ff3d00;
}

.im-btn {
  outline: none;
  box-sizing: content-box;
}

.im-btn.btn-primary {
  background-color: #2196f3;
}

.im-btn.btn-primary:hover {
  background-color: #71bcf7;
}

.im-btn.btn-primary:active {
  background-color: #99cff9;
  color: rgba(255, 255, 255, 0.5);
}

.im-btn.btn-default {
  border: 1px solid #e8edf1;
  color: #6d767f;
  background-color: #fff;
}

.im-btn.btn-default:hover {
  color: #2196f3;
  background-color: #eaf5fd;
  border: 1px solid #eaf5fd;
}

.im-btn.btn-default:active {
  color: #2196f3;
  background-color: #eaf5fd;
  border: 1px solid #eaf5fd;
  opacity: 0.5;
}

.im-btn.btn-s {
  line-height: 36px;
  border-radius: 18px;
  min-width: 100px;
  padding: 0 1em;
}

.im-btn.btn-m {
  font-size: 16px;
  line-height: 40px;
  min-width: 160px;
  border-radius: 2px;
  padding: 0 1em;
}

.im-btn.btn-l {
  font-size: 16px;
  line-height: 50px;
  min-width: 200px;
  padding: 0 1em;
}

.disabled.im-btn, .disabled.im-btn:hover, .disabled.im-btn:active {
  background-color: #f2f7fb !important;
  color: #bdcad5 !important;
  opacity: 1 !important;
  border: 0;
}

.im-danger {
  background-color: #ff3d00;
  color: #fff;
}

.im-link {
  color: #2196f3;
  text-decoration: none;
  cursor: pointer;
}

.btn-s--link {
  font-size: 14px;
}

.btn-m--link {
  font-size: 16px;
}

.btn-l--link {
  font-size: 18px;
}

.im-checkbox-icon {
  background-image: url(../../style/image/form-icon-v2.png#unsprite);
  background-repeat: no-repeat;
}

.im-confirm-icon .i-info {
  color: #2196f3;
}

.im-confirm-icon .i-question {
  color: #2196f3;
}

.im-confirm-icon .i-alert {
  color: #ff3d00;
}

.im-confirm-icon .i-success {
  color: #00c853;
}

.im-dialog .i-info {
  color: #2196f3;
}

.im-dialog .i-question {
  color: #2196f3;
}

.im-dialog .i-alert {
  color: #ff3d00;
}

.im-dialog .i-success {
  color: #00c853;
}

.im-label {
  color: #6d767f;
}

.im-text {
  border-color: #e8edf1;
}

.im-input-wrap .im-input-counter {
  color: #c4cdd5;
  right: 20px;
}

.im-textarea {
  width: 100%;
  border-color: #e8edf1;
}

.im-textarea-counter {
  right: 20px;
  color: #c4cdd5;
}

.im-message-item-default .i-info {
  color: #2196f3;
}

.im-message-item-default .i-question {
  color: #2196f3;
}

.im-message-item-default .i-alert {
  color: #ff3d00;
}

.im-message-item-default .i-success {
  color: #00c853;
}

.im-page .im-btn.btn-default {
  color: #fff;
  background: #2196f3;
}

.im-page .im-btn.btn-s {
  line-height: 30px;
  border-radius: 0;
}

.im-page .im-btn.btn-weak {
  color: #6d767f;
}

.im-page .im-btn.disabled, .im-page .im-btn.disabled:hover {
  background: #f2f7fb;
}

.im-radio-icon {
  background-image: url(../../style/image/form-icon-v2.png#unsprite);
  background-repeat: no-repeat;
}

.im-statusbox-icon .i-info {
  color: #2196f3;
}

.im-statusbox-icon .i-question {
  color: #2196f3;
}

.im-statusbox-icon .i-alert {
  color: #ff3d00;
}

.im-statusbox-icon .i-success {
  color: #00c853;
}

.imui-image em,
.imui-image i {
  font-style: normal;
}

.rc-upload:focus {
  outline: none;
}

.im-upload {
  width: 220px;
  height: 124px;
  background: #f2f7fb;
  border: 0;
}

.im-upload:hover .im-upload-icon,
.im-upload:hover .im-upload-text {
  color: #2196f3;
}

.im-upload:focus {
  outline: none;
}

.im-upload .im-upload-icon {
  top: 17px;
  font-size: 60px;
  color: #c4cdd5;
}

.im-upload .im-upload-text {
  top: 76px;
  font-size: 14px;
  color: #c4cdd5;
  line-height: 20px;
}

.im-dp-calendar {
  width: 300px;
  height: auto;
  border: 1px solid #ecf1f4;
  box-shadow: 0 4px 8px 0 rgba(170, 182, 194, 0.2);
  border-radius: 3px;
  color: #6d767f;
}

.im-dp-op {
  margin-top: 20px;
  font-weight: normal;
}

.im-dp-op-icon {
  font-size: 26px;
  height: 26px;
  top: -3px;
}

.im-dp-wtlist {
  margin: 10px 0 0 18px;
  padding-bottom: 4px;
}

.im-dp-wt {
  width: 38px;
  font-size: 12px;
}

.im-dp-wt--weekend {
  color: inherit;
}

.im-dp-month {
  margin: 2px 0 0 18px;
}

.im-dp-month-bg {
  display: none;
}

.im-dp-week {
  height: 36px;
}

.im-dp-day {
  position: relative;
  width: 24px;
  height: 28px;
  line-height: 28px;
  margin: 4px 0;
  padding: 0 7px;
  font-size: 12px;
  z-index: 0;
}

.im-dp-day--highlight::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  background-color: #2196f3;
  border-radius: 50% 50%;
}

.im-dp-day::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background-color: #2196f3;
  border-radius: 50% 50%;
  z-index: -1;
  display: none;
}

.im-dp-day.selected {
  background-color: transparent;
}

.im-dp-day.selected::before {
  display: block;
}

.im-dp-day.today {
  color: #2196f3;
  border: 0;
  box-sizing: content-box;
  line-height: 28px;
}

.im-dp-day.today.selected {
  color: #fff;
}

.im-dp-day.today.selected--range {
  color: inherit;
}

.im-dp-day.today.selected, .im-dp-day.today:hover, .im-dp-day.today.selected--range {
  line-height: 28px;
}

.im-dp-day.today.selected--range--first, .im-dp-day.today.selected--range--last {
  color: #fff;
}

.im-dp-day:hover {
  color: #fff;
  background-color: transparent;
}

.im-dp-day:hover::before {
  display: block;
  background-color: #2196f3;
}

.im-dp-day.disabled::before {
  display: none;
}

.im-dp-day.selected--range {
  color: inherit;
  background-color: #e7f3fd;
}

.im-dp-day.selected--range::before {
  display: none;
}

.im-dp-day.selected--range--first, .im-dp-day.selected--range--last {
  color: #fff;
}

.im-dp-day.selected--range--first::before, .im-dp-day.selected--range--last::before {
  background-color: #2196f3;
  display: block;
}

.im-dp-day.selected--range--first, .im-dp-day.selected--range:first-of-type {
  margin-left: 5px;
  padding-left: 2px;
  border-radius: 50% 0 0 50%;
}

.im-dp-day.selected--range--first::before, .im-dp-day.selected--range:first-of-type::before {
  transform: translate(calc(-50% - 3px), -50%);
}

.im-dp-day.selected--range--last, .im-dp-day.selected--range:last-of-type {
  margin-right: 5px;
  padding-right: 2px;
  border-radius: 0 50% 50% 0;
}

.im-dp-day.selected--range--last::before, .im-dp-day.selected--range:last-of-type::before {
  transform: translate(calc(-50% + 2px), -50%);
}

.im-dp-day.selected--range.selected--range--first.selected--range--last {
  margin-left: 0;
  margin-right: 0;
  padding-left: 7px;
  padding-right: 7px;
  background-color: transparent;
}

.im-dp-day.selected--range.selected--range--first.selected--range--last::before {
  transform: translate(-50%, -50%);
}

.im-dp-day.selected.selected--range {
  background-color: #e7f3fd;
}

.im-dp-day.selected.selected--range:hover::before {
  display: block;
  background-color: #2196f3;
}

.im-mp-picker {
  border: 1px solid #ecf1f4;
  box-shadow: 0 4px 8px 0 rgba(170, 182, 194, 0.2);
  border-radius: 3px;
  color: #6d767f;
}

.im-mp-month-item {
  position: relative;
}

.im-mp-month-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background-color: #2196f3;
  border-radius: 50% 50%;
  z-index: -1;
  display: none;
}

.im-mp-month-item:hover, .im-mp-month-item.selected, .im-mp-month-item.selected:hover {
  color: #fff;
  background-color: transparent;
}

.im-mp-month-item:hover::before, .im-mp-month-item.selected::before, .im-mp-month-item.selected:hover::before {
  display: block;
}

.im-mp-month-item.disabled::before {
  display: none;
}

.im-mp-op {
  border-color: #ECF1F4;
}

.im-mp-op-icon {
  font-size: 20px;
  height: 26px;
  top: -3px;
}

.im-mp-op-icon:hover {
  color: #2196f3;
}

.im-radio-icon,
.im-checkbox-icon {
  background-image: url(./style/image/form-icon-v2.png#unsprite);
  background-repeat: no-repeat;
}
