/* --- Button --- */
button {
	background: none;
	color: inherit;
	display: block;
	cursor: inherit;
	height: 42px;
	text-align: inherit;
	font: inherit;
}

button:disabled {
	background-color: #606060 !important;
}

button.full,
.button.full {
	width: 100% !important;
}

.small button,
.small .button,
.small input[type="text"],
.small input[type="email"],
.small input[type="number"],
.small input[type="password"],
button.small,
.button.small,
input[type="text"].small,
input[type="email"].small,
input[type="number"].small,
input[type="password"].small {
	height: 32px;
	padding: 0 10px 0 10px;
}

.small input[type="text"],
.small input[type="email"],
.small input[type="number"],
.small input[type="password"],
input[type="text"].small,
input[type="email"].small,
input[type="number"].small,
input[type="password"].small {
	width: calc(100% - 23px);
}

.rounded {
	border-radius: 500px !important;
}

input.anuglar {
	border-radius: 0 !important;
}

button.selected,
.button.selected {
	border: 2px solid var(--blue-primary) !important;
}

button.active:not(.red, .blue, .green, .orange, .transparent) {
	background-color: var(--select);
}

button.active:not(.red, .blue, .green, .orange, .transparent):hover {
	background-color: var(--select-hover);
}

/* --- Color --- */
.is-red {
	background-color: var(--red-primary) !important;
	color: #fff !important;
}

.is-blue {
	background-color: var(--blue-primary) !important;
	color: #fff !important;
}

.is-green {
	background-color: var(--green-primary) !important;
	color: #fff !important;
}

.is-orange {
	background-color: var(--orange-primary) !important;
	color: #fff !important;
}

.svg_white,
button.red img,
button.blue img,
button.green img,
button.orange img,
.is-red img,
.is-blue img,
.is-green img,
.is-orange img {
	filter: brightness(0) saturate(100%) invert(96%) sepia(4%) saturate(0%) hue-rotate(356deg) brightness(105%) contrast(105%);
}

.himg {
	width: 35px;
	height: 35px;
	filter: var(--svg-filter);
}
.simg {
	width: 20px;
	height: 20px;
}

.value {
	color: var(--red-primary);
}

button.light-grey,
.button.light-grey {
	background-color: #fff0;
}

.is-light-grey {
	background-color: var(--index-shadow) !important;
	color: var(--text) !important;
}

.is-light-value {
	background-color: #e32f2022;
  color: var(--red-primary) !important;
}

.is-light-red {
	background-color: var(--red-back) !important;
	color: var(--red-primary) !important;
}

.is-light-red img {
	filter: var(--red-filter);
}

.is-light-blue {
	background-color: var(--blue-back) !important;
	color: var(--blue-primary) !important;
}

.is-light-blue img {
	filter: var(--blue-filter);
}

.is-light-green {
	background-color: var(--green-back) !important;
	color: var(--green-primary) !important;
}

.is-light-green img {
	filter: var(--green-filter);
}

.is-light-orange {
	background-color: var(--orange-back) !important;
	color: var(--orange-primary) !important;
}

.is-light-orange img {
	filter: var(--orange-filter);
}

/* --- Button color --- */
button.red,
.button.red {
	background-color: var(--red-primary);
	color: #fff;
}

button.red:hover,
.button.red:hover {
	background-color: var(--red-secondary);
}

button.blue,
.button.blue {
	background-color: var(--blue-primary);
	color: #fff;
}

button.blue:hover,
.button.blue:hover {
	background-color: var(--blue-secondary);
}

button.green,
.button.green {
	background-color: var(--green-primary);
	color: #fff;
}

button.green:hover,
.button.green:hover {
	background-color: var(--green-secondary);
}

button.orange,
.button.orange {
	background-color: var(--orange-primary);
	color: #fff;
}

button.orange:hover,
.button.orange:hover {
	background-color: var(--orange-secondary);
}

button.grey,
.button.grey {
	border: 2px solid var(--button-back-secondary);
}

button.grey:hover,
.button.grey:hover {
	background-color: var(--button-back-primary);
}

button.light-grey,
.button.light-grey {
	background-color: #fff0;
}

button.light-grey:hover,
.button.light-grey:hover {
	background-color: var(--button-back-secondary);
	border: 2px solid transparent !important;
}

button.light-red,
.button.light-red {
	background-color: var(--red-back);
	color: var(--red-primary);
}

button.light-red:hover,
.button.light-red:hover {
	background-color: var(--red-light);
}

button.light-blue,
.button.light-blue {
	background-color: var(--blue-back);
	color: var(--blue-primary);
}

button.light-blue:hover,
.button.light-blue:hover {
	background-color: var(--blue-light);
}

button.light-green,
.button.light-green {
	background-color: var(--green-back);
	color: var(--green-primary);
}

button.light-green:hover,
.button.light-green:hover {
	background-color: var(--green-light);
}

button.light-orange,
.button.light-orange {
	background-color: var(--orange-back);
	color: var(--orange-primary);
}

button.light-orange:hover,
.button.light-orange:hover {
	background-color: var(--orange-light);
}

/* --- button --- */
button,
.button {
	display: inline-flex;
	height: 42px;
	border-radius: 5px;
	outline: 0;
	cursor: pointer;

	justify-content: center;
	align-items: center;
	border: 2px solid #4f474e00;
	box-sizing: border-box;
	gap: 10px;
	padding: 0 12px 0 12px;
	margin-bottom: 2px;
	white-space: nowrap
}

button:active,
.button:active {
	transform: translateY(3%);
}

button:hover,
button:active,
.button:hover,
.button:active {
	border: 2px solid #4f474e61;
	background-color: var(--button-back-secondary);
}

button.mini,
.button.mini{
	width: 42px;
  	height: 42px;
}

button.mini img,
.button.mini img {
	max-width: 25px;
  max-height: 25px;
}

button.left,
.button.left {
	justify-content: left !important;
}

button.right,
.button.right {
	justify-content: right !important;
}

button img,
.button img {
	width: 30px;
}

button .check {
	width: 20px;
	height: 20px;
}

button.fluent span,
.button.fluent span {
	opacity: 0.5;
	transition: opacity .5s
}

button.fluent:hover span,
.button.fluent:hover span {
	opacity: 1;
}

.refresh {
	background-color: #fff;
	color: var(--blue-primary) !important;
	margin-left: 2px;
	border-radius: 5px 0px 0px 5px;
	height: 24px;
	width: 24px;
	display: flex;
	justify-content: space-around;
}

/* --- Input --- */
input.red:hover,
input.red:active,
input.red:focus {
	border: 2px solid var(--red-secondary) !important;
}

input.blue:hover,
input.blue:active,
input.blue:focus {
	border: 2px solid var(--blue-secondary) !important;
}

input.green:hover,
input.green:active,
input.green:focus {
	border: 2px solid var(--green-secondary) !important;
}

input.orange:hover,
input.orange:active,
input.orange:focus {
	border: 2px solid var(--orange-secondary) !important;
}

.is-red {
	color: var(--red-secondary);
}

.is-blue {
	color: var(--blue-secondary);
}

.is-green {
	color: var(--green-secondary);
}

.is-orange {
	color: var(--orange-secondary);
}

/* --- Input --- */
input:disabled,
textarea:disabled,
.editor:disabled,
button:disabled {
	cursor: not-allowed !important;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"] {
	width: calc(100% - 13px);
	height: 32px;
	display: block;
	box-sizing: content-box;

	color: var(--text);
	border-radius: 5px;
	margin: 5px 0;
	padding: 5px;
	outline: 0;

	font-size: 17px;
font-weight: 700;
}

textarea,
.editor {
	border-radius: 5px;
	margin: 5px 0;
	padding: 5px;
	outline: 0;

	max-width: calc(100% - 10px);
	min-width: calc(100% - 10px);

}

.editor {
	min-height: 32px;
}

textarea,
.editor,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="file"] {
	background-color: var(--button-back-primary);
	border: 2px solid var(--transparent);
}

textarea:hover,
textarea:active,
textarea:focus,
.editor:hover,
.editor:active,
.editor:focus,
.editor.focused,
input[type="text"]:hover,
input[type="text"]:active,
input[type="text"]:focus,
input[type="email"]:hover,
input[type="email"]:active,
input[type="email"]:focus,
input[type="number"]:hover,
input[type="number"]:active,
input[type="number"]:focus,
input[type="password"]:hover,
input[type="password"]:active,
input[type="password"]:focus,
input[type="file"]:hover,
input[type="file"]:active,
input[type="file"]:focus {
	background-color: var(--button-back-secondary);
	border: 2px solid var(--border-color);
}

/* --- Form File --- */
input[type="file"] {
	width: calc(100% - 13px);
	height: 32px;
	margin: 0;
	display: block;
	box-sizing: content-box;

	color: var(--text);
	border-radius: 5px;
	margin: 5px 0;
	padding: 5px;
	outline: 0;

	font-size: 17px;
font-weight: 700;
}

/* --- checkmark --- */
.checkbok-container {
	display: block;
	position: relative;
	padding-left: 35px;
	cursor: pointer;
	font-size: 22px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	font-size: 15px;
	text-align: left;
}

.checkbok-container input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

.checkmark {
	position: absolute;
	top: -3px;
	left: 0;
	height: 25px;
	width: 25px;
	border-radius: 5px;
	background-color: var(--button-back-primary);
	border: 2px solid var(--transparent);
}

.checkbok-container:hover input~.checkmark,
.checkmark:hover {
	background-color: var(--button-back-primary);
	border: 2px solid var(--border-color);
}

.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

.checkbok-label {
	position: relative;
	top: 4px;
}

.checkbok-container input:checked~.checkmark:after {
	display: block;
}

.checkbok-container .checkmark:after {
	left: 9px;
	top: 5px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.checkbok-container input:checked~.checkmark {
	background-color: var(--blue-primary)
}

.checkbok-container:hover input:checked~.checkmark {
	background-color: var(--blue-secondary)
}

.checkbok-container input:disabled~.checkmark {
	background-color: #606060 !important;
	cursor: not-allowed !important;
}
