/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-input-affix-wrapper {
	position: relative;
	display: inline-block;
	width: 100%;
	padding: 4px 11px;
	font-size: 14px;
	line-height: 1.5715;
	background-color: $color-mono-white;
	background-image: none;
	border: 1px solid #d9d9d9;
	border-radius: 2px;
	transition: all 0.3s;
	display: inline-flex;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-variant: tabular-nums;
	list-style: none;
	font-feature-settings: "tnum";
	position: relative;
	display: inline-flex;
	border: 1px solid #d9d9d9;
	border-radius: 2px;
	padding: 4px 11px;
	width: 100%;
	text-align: start;
	background-color: $color-mono-white;
	background-image: none;
	font-size: 14px;
	line-height: 1.5715;
	&::-moz-placeholder {
		color: #bfbfbf;
		opacity: 1;
	}
	&:-ms-input-placeholder {
		color: #bfbfbf;
		text-overflow: ellipsis;
	}
	&::-webkit-input-placeholder {
		color: #bfbfbf;
	}
	&:-moz-placeholder-shown {
		text-overflow: ellipsis;
	}
	&:placeholder-shown {
		text-overflow: ellipsis;
	}
	&:hover {
		border-color: $color-primary-blue;
		border-right-width: 1px !important;
		border-color: $color-primary-blue;
		border-right-width: 1px !important;
	}
	&:focus {
		border-color: $color-primary-blue;
		outline: 0;
	}
	> input.ant-input {
		padding: 0;
		border: none;
		outline: none;
		&:focus {
			box-shadow: none;
		}
	}
	&::before {
		width: 0;
		visibility: hidden;
		content: "\a0";
	}
	.ant-input {
		position: relative;
		text-align: inherit;
		border: none;
		padding: 0;
		&:focus {
			border: none;
			outline: none;
			box-shadow: none;
		}
	}
	.ant-input-prefix {
		display: flex;
		align-items: center;
		white-space: nowrap;
		margin-right: 4px;
		&:not(.anticon) {
			line-height: 1.5715;
		}
	}
	.ant-input-suffix {
		display: flex;
		align-items: center;
		white-space: nowrap;
		margin-left: 4px;
		&:not(.anticon) {
			line-height: 1.5715;
		}
	}
	.ant-input-disabled {
		~ {
			.ant-input-suffix {
				.anticon {
					color: rgba(0, 0, 0, 0.25);
					cursor: not-allowed;
				}
			}
		}
	}
}
.ant-input-affix-wrapper-disabled {
	color: rgba(0, 0, 0, 0.25);
	background-color: #f5f5f5;
	cursor: not-allowed;
	opacity: 1;
	color: rgba(0, 0, 0, 0.25);
	background-color: #f5f5f5;
	cursor: not-allowed;
	opacity: 1;
	&:hover {
		border-color: #d9d9d9;
		border-right-width: 1px !important;
		border-color: #d9d9d9;
		border-right-width: 1px !important;
	}
	.ant-input[disabled] {
		background: transparent;
	}
}
.ant-input-affix-wrapper[disabled] {
	color: rgba(0, 0, 0, 0.25);
	background-color: #f5f5f5;
	cursor: not-allowed;
	opacity: 1;
	&:hover {
		border-color: #d9d9d9;
		border-right-width: 1px !important;
	}
}
textarea.ant-input-affix-wrapper {
	max-width: 100%;
	height: auto;
	min-height: 32px;
	line-height: 1.5715;
	vertical-align: bottom;
	transition: all 0.3s, height 0s;
}
.ant-input-affix-wrapper-lg {
	padding: 6.5px 11px;
	font-size: 16px;
	padding: 6.5px 11px;
	font-size: 16px;
}
.ant-input-affix-wrapper-sm {
	padding: 0px 7px;
	padding: 0px 7px;
}
.ant-input-prefix {
	display: flex;
	flex: none;
	align-items: center;
	margin-right: 4px;
}
.ant-input-suffix {
	display: flex;
	flex: none;
	align-items: center;
	margin-left: 4px;
}
.ant-input {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-variant: tabular-nums;
	list-style: none;
	font-feature-settings: "tnum";
	position: relative;
	display: inline-block;
	width: 100%;
	padding: 4px 11px;
	font-size: 14px;
	line-height: 1.5715;
	background-color: $color-mono-white;
	background-image: none;
	border: 1px solid #d9d9d9;
	border-radius: 2px;
	transition: all 0.3s;
	&::-moz-placeholder {
		color: #bfbfbf;
		opacity: 1;
	}
	&:-ms-input-placeholder {
		color: #bfbfbf;
		text-overflow: ellipsis;
	}
	&::-webkit-input-placeholder {
		color: #bfbfbf;
	}
	&:-moz-placeholder-shown {
		text-overflow: ellipsis;
	}
	&:placeholder-shown {
		text-overflow: ellipsis;
	}
	&:hover {
		border-color: $color-primary-blue;
		border-right-width: 1px !important;
	}
	&:focus {
		border-color: $color-primary-blue;
		border-right-width: 1px !important;
		outline: 0;
	}
}
.ant-input-disabled {
	color: rgba(0, 0, 0, 0.25);
	background-color: #f5f5f5;
	cursor: not-allowed;
	opacity: 1;
	&:hover {
		border-color: #d9d9d9;
		border-right-width: 1px !important;
	}
}
.ant-input[disabled] {
	color: rgba(0, 0, 0, 0.25);
	background-color: #f5f5f5;
	cursor: not-allowed;
	opacity: 1;
	&:hover {
		border-color: #d9d9d9;
		border-right-width: 1px !important;
	}
}
textarea.ant-input {
	max-width: 100%;
	height: auto;
	min-height: 32px;
	line-height: 1.5715;
	vertical-align: bottom;
	transition: all 0.3s, height 0s;
}
.ant-input-lg {
	padding: 6.5px 11px;
	font-size: 16px;
}
.ant-input-sm {
	padding: 0px 7px;
}
.ant-input-group {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-size: 14px;
	font-variant: tabular-nums;
	line-height: 1.5715;
	list-style: none;
	font-feature-settings: "tnum";
	position: relative;
	display: table;
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	> [class*="col-"] {
		padding-right: 8px;
		&:last-child {
			padding-right: 0;
		}
	}
	> .ant-input {
		display: table-cell;
		&:not(:first-child) {
			&:not(:last-child) {
				border-radius: 0;
			}
		}
		&:first-child {
			border-top-right-radius: 0;
			border-bottom-right-radius: 0;
			.ant-select {
				.ant-select-selector {
					border-top-right-radius: 0;
					border-bottom-right-radius: 0;
				}
			}
		}
		&:last-child {
			border-top-left-radius: 0;
			border-bottom-left-radius: 0;
			.ant-select {
				.ant-select-selector {
					border-top-left-radius: 0;
					border-bottom-left-radius: 0;
				}
			}
		}
	}
	.ant-input {
		float: left;
		width: 100%;
		margin-bottom: 0;
		text-align: inherit;
		&:focus {
			z-index: 1;
			border-right-width: 1px;
		}
		&:hover {
			z-index: 1;
			border-right-width: 1px;
		}
	}
	> .ant-input-affix-wrapper {
		&:not(:first-child) {
			.ant-input {
				border-top-left-radius: 0;
				border-bottom-left-radius: 0;
			}
		}
		&:not(:last-child) {
			.ant-input {
				border-top-right-radius: 0;
				border-bottom-right-radius: 0;
			}
		}
	}
}
.ant-input-group[class*="col-"] {
	float: none;
	padding-right: 0;
	padding-left: 0;
}
.ant-input-group-addon {
	display: table-cell;
	width: 1px;
	white-space: nowrap;
	vertical-align: middle;
	position: relative;
	padding: 0 11px;
	font-weight: normal;
	font-size: 14px;
	text-align: center;
	background-color: #fafafa;
	border: 1px solid #d9d9d9;
	border-radius: 2px;
	transition: all 0.3s;
	&:not(:first-child) {
		&:not(:last-child) {
			border-radius: 0;
		}
	}
	.ant-select {
		margin: -5px -11px;
	}
	.ant-select.ant-select-single {
		&:not(.ant-select-customize-input) {
			.ant-select-selector {
				background-color: inherit;
				border: 1px solid transparent;
				box-shadow: none;
			}
		}
	}
	.ant-select-open {
		.ant-select-selector {
			color: $color-primary-blue;
		}
	}
	.ant-select-focused {
		.ant-select-selector {
			color: $color-primary-blue;
		}
	}
	> i {
		&:only-child {
			&::after {
				position: absolute;
				top: 0;
				right: 0;
				bottom: 0;
				left: 0;
				content: "";
			}
		}
	}
	&:first-child {
		border-top-right-radius: 0;
		border-bottom-right-radius: 0;
		border-right: 0;
		.ant-select {
			.ant-select-selector {
				border-top-right-radius: 0;
				border-bottom-right-radius: 0;
			}
		}
	}
	&:last-child {
		border-left: 0;
		border-top-left-radius: 0;
		border-bottom-left-radius: 0;
		.ant-select {
			.ant-select-selector {
				border-top-left-radius: 0;
				border-bottom-left-radius: 0;
			}
		}
	}
}
.ant-input-group-wrap {
	display: table-cell;
	width: 1px;
	white-space: nowrap;
	vertical-align: middle;
	&:not(:first-child) {
		&:not(:last-child) {
			border-radius: 0;
		}
	}
	> * {
		display: block !important;
	}
}
.ant-input-group-lg {
	.ant-input {
		padding: 6.5px 11px;
		font-size: 16px;
	}
	> .ant-input-group-addon {
		padding: 6.5px 11px;
		font-size: 16px;
	}
	.ant-select-single {
		.ant-select-selector {
			height: 40px;
		}
	}
}
.ant-input-group-sm {
	.ant-input {
		padding: 0px 7px;
	}
	> .ant-input-group-addon {
		padding: 0px 7px;
	}
	.ant-select-single {
		.ant-select-selector {
			height: 24px;
		}
	}
}
.ant-input-group.ant-input-group-compact {
	display: block;
	zoom: 1;
	&::before {
		display: table;
		content: "";
	}
	&::after {
		display: table;
		content: "";
		clear: both;
	}
	> .ant-input {
		&:not(:first-child) {
			&:not(:last-child) {
				border-right-width: 1px;
				&:hover {
					z-index: 1;
				}
				&:focus {
					z-index: 1;
				}
			}
		}
	}
	> * {
		display: inline-block;
		float: none;
		vertical-align: top;
		border-radius: 0;
		&:not(:last-child) {
			margin-right: -1px;
			border-right-width: 1px;
		}
		&:first-child {
			border-top-left-radius: 2px;
			border-bottom-left-radius: 2px;
		}
		&:last-child {
			border-right-width: 1px;
			border-top-right-radius: 2px;
			border-bottom-right-radius: 2px;
		}
	}
	> .ant-input-affix-wrapper {
		display: inline-flex;
	}
	.ant-input {
		float: none;
	}
	> .ant-select {
		> .ant-select-selector {
			border-right-width: 1px;
			border-radius: 0;
			&:hover {
				z-index: 1;
			}
			&:focus {
				z-index: 1;
			}
		}
		&:first-child {
			> .ant-select-selector {
				border-top-left-radius: 2px;
				border-bottom-left-radius: 2px;
			}
		}
		&:last-child {
			> .ant-select-selector {
				border-right-width: 1px;
				border-top-right-radius: 2px;
				border-bottom-right-radius: 2px;
			}
		}
	}
	> .ant-calendar-picker {
		.ant-input {
			border-right-width: 1px;
			border-radius: 0;
			&:hover {
				z-index: 1;
			}
			&:focus {
				z-index: 1;
			}
		}
		&:first-child {
			.ant-input {
				border-top-left-radius: 2px;
				border-bottom-left-radius: 2px;
			}
		}
		&:last-child {
			.ant-input {
				border-right-width: 1px;
				border-top-right-radius: 2px;
				border-bottom-right-radius: 2px;
			}
		}
	}
	> .ant-select-auto-complete {
		.ant-input {
			border-right-width: 1px;
			border-radius: 0;
			vertical-align: top;
			&:hover {
				z-index: 1;
			}
			&:focus {
				z-index: 1;
			}
		}
		&:first-child {
			.ant-input {
				border-top-left-radius: 2px;
				border-bottom-left-radius: 2px;
			}
		}
		&:last-child {
			.ant-input {
				border-right-width: 1px;
				border-top-right-radius: 2px;
				border-bottom-right-radius: 2px;
			}
		}
	}
	> .ant-cascader-picker {
		.ant-input {
			border-right-width: 1px;
			border-radius: 0;
			&:hover {
				z-index: 1;
			}
			&:focus {
				z-index: 1;
			}
		}
		&:first-child {
			.ant-input {
				border-top-left-radius: 2px;
				border-bottom-left-radius: 2px;
			}
		}
		&:last-child {
			.ant-input {
				border-right-width: 1px;
				border-top-right-radius: 2px;
				border-bottom-right-radius: 2px;
			}
		}
	}
	> .ant-mention-wrapper {
		.ant-mention-editor {
			border-right-width: 1px;
			border-radius: 0;
			&:hover {
				z-index: 1;
			}
			&:focus {
				z-index: 1;
			}
		}
		&:first-child {
			.ant-mention-editor {
				border-top-left-radius: 2px;
				border-bottom-left-radius: 2px;
			}
		}
		&:last-child {
			.ant-mention-editor {
				border-right-width: 1px;
				border-top-right-radius: 2px;
				border-bottom-right-radius: 2px;
			}
		}
	}
	> .ant-time-picker {
		.ant-time-picker-input {
			border-right-width: 1px;
			border-radius: 0;
			&:hover {
				z-index: 1;
			}
			&:focus {
				z-index: 1;
			}
		}
		&:first-child {
			.ant-time-picker-input {
				border-top-left-radius: 2px;
				border-bottom-left-radius: 2px;
			}
		}
		&:last-child {
			.ant-time-picker-input {
				border-right-width: 1px;
				border-top-right-radius: 2px;
				border-bottom-right-radius: 2px;
			}
		}
	}
	> .ant-input-group-wrapper {
		.ant-input {
			border-right-width: 1px;
			border-radius: 0;
			&:hover {
				z-index: 1;
			}
			&:focus {
				z-index: 1;
			}
		}
	}
	> .ant-select-focused {
		z-index: 1;
	}
	> .ant-cascader-picker-focused {
		&:last-child {
			.ant-input {
				border-right-width: 1px;
				border-top-right-radius: 2px;
				border-bottom-right-radius: 2px;
			}
		}
	}
}
.ant-input-group.ant-input-group-compact-addon {
	&:not(:first-child) {
		&:not(:last-child) {
			border-right-width: 1px;
			&:hover {
				z-index: 1;
			}
			&:focus {
				z-index: 1;
			}
		}
	}
}
.ant-input-group.ant-input-group-compact-wrap {
	&:not(:first-child) {
		&:not(:last-child) {
			border-right-width: 1px;
			&:hover {
				z-index: 1;
			}
			&:focus {
				z-index: 1;
			}
		}
	}
}
.ant-input-group-wrapper {
	display: inline-block;
	width: 100%;
	text-align: start;
	vertical-align: top;
}
.ant-input-affix-wrapper-focused {
	border-color: $color-primary-blue;
	border-right-width: 1px !important;
	outline: 0;
	box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}
.ant-input-password-icon {
	color: rgba(0, 0, 0, 0.45);
	cursor: pointer;
	transition: all 0.3s;
	&:hover {
	}
}
.ant-input-clear-icon {
	color: rgba(0, 0, 0, 0.25);
	font-size: 12px;
	cursor: pointer;
	transition: color 0.3s;
	margin: 0 4px;
	vertical-align: 0;
	&:hover {
		color: rgba(0, 0, 0, 0.45);
	}
	&:active {
	}
	+ {
		i {
			margin-left: 6px;
		}
	}
}
.ant-input-clear-icon-hidden {
	visibility: hidden;
}
.ant-input-textarea-clear-icon-hidden {
	visibility: hidden;
}
.ant-input-textarea-clear-icon {
	color: rgba(0, 0, 0, 0.25);
	font-size: 12px;
	cursor: pointer;
	transition: color 0.3s;
	margin: 0 4px;
	position: absolute;
	top: 0;
	right: 0;
	margin: 8px 8px 0 0;
	&:hover {
		color: rgba(0, 0, 0, 0.45);
	}
	&:active {
	}
	+ {
		i {
			margin-left: 6px;
		}
	}
}
.ant-input-textarea-show-count {
	&::after {
		display: block;
		color: rgba(0, 0, 0, 0.45);
		text-align: right;
		content: attr(data-count);
	}
}
.ant-input-search-icon {
	color: rgba(0, 0, 0, 0.45);
	cursor: pointer;
	transition: all 0.3s;
	&:hover {
	}
}
.ant-input-search-enter-button {
	input {
		border-right: 0;
		+ {
			.ant-input-group-addon {
				padding: 0;
				border: 0;
				.ant-input-search-button {
					border-top-left-radius: 0;
					border-bottom-left-radius: 0;
				}
			}
		}
	}
	+ {
		.ant-input-group-addon {
			padding: 0;
			border: 0;
			.ant-input-search-button {
				border-top-left-radius: 0;
				border-bottom-left-radius: 0;
			}
		}
	}
}
