:root {
	--main-color: #edfe3;
	--light-bg: #f7f7f7;
	--light-color: #343434;
	--dark-bg: #1f1f1f;
	--dark-color: #d6d6d6;
	--mode-bg: var(--light-bg);
	--mode-color: var(--light-color);

	--btn-min-width: 45px;
	--btn-min-height: 35px;
	--btn-checkbox-radio: 18px;
	--btn-border-radius: 0.375rem;
}
::-webkit-input-placeholder {
	color: #a5a5a5;
	font-weight: 400 !important;
}

:-ms-input-placeholder {
	color: #a5a5a5;
	font-weight: 400 !important;
}

::-ms-input-placeholder {
	color: #a5a5a5;
	font-weight: 400 !important;
}

::placeholder {
	color: #a5a5a5;
	font-weight: 400 !important;
}

[type="text"],
[type="password"],
[type="email"],
[type="search"],
[type="url"],
[title="tel"],
[title="number"],
[title="time"],
[title="date"],
[title="datetime"],
[title="datetime-local"],
[title="month"],
[title="week"],
[title="image"],
[title="file"],
[type="button"],
[type="reset"],
[type="submit"],
button,
select,
textarea {
	font-family: inherit;
	color: inherit;
	border-radius: var(--btn-border-radius);
	border-width: 1px;
	padding: 0.5rem 1.5rem;
	min-width: var(--btn-min-width);
	min-height: var(--btn-min-height);
}

[type="text"],
[type="password"],
[type="email"],
[type="search"],
[type="url"] {
	-webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
/** FIXME - reset autocomplete chrome styles. */
input:-internal-autofill-selected {
	appearance: none !important;
	background-image: initial !important;
	background-color: initial !important;
	color: initial !important;
}

.btn,
[type="button"],
[type="reset"],
[type="submit"],
button {
	-webkit-appearance: button;
	cursor: pointer;
	background: #eee;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	border: none;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.btn i,
.btn span,
[type="button"] i,
[type="button"] span,
[type="reset"] i,
[type="reset"] span,
[type="submit"] i,
[type="submit"] span,
button i,
button span {
	pointer-events: none;
}

.btn:not([disabled]):not(.disabled):focus,
[type="button"]:not([disabled]):not(.disabled):focus,
[type="button"]:not([disabled]):not(.disabled):hover,
[type="reset"]:not([disabled]):not(.disabled):focus,
[type="reset"]:not([disabled]):not(.disabled):hover,
[type="submit"]:not([disabled]):not(.disabled):focus,
[type="submit"]:not([disabled]):not(.disabled):hover,
button:not([disabled]):not(.disabled):focus,
button:not([disabled]):not(.disabled):hover {
	background: #e2e2e2;
}

input[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font-family: inherit;
}

::-webkit-input-placeholder {
	color: inherit;
	opacity: 0.54;
}

option[value=""][disabled],
option.placeholder {
	display: none;
}

label {
	cursor: pointer;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

input[type="radio"] {
	border-radius: 50%;
}

input[type="radio"]:before,
input[type="radio"]::after {
	border-radius: 50%;
}

input[type="checkbox"] {
	border-radius: var(--btn-border-radius);
}

input[type="radio"],
input[type="checkbox"] {
	cursor: pointer;
	width: var(--btn-checkbox-radio);
	height: var(--btn-checkbox-radio);
	margin: 0 0.5rem;
}
