:root {
	--text-color-black: #1C1B1B;
	--text-color-gray: #6A6A6A;
	--text-color-purple: #91586B;
	--text-color-red: #ce4c4c;

	--background-color-black: #1C1B1B;
	--background-color-gray: #EFEFEF;
	--background-color-purple: #91586B;
	--background-color-white: #FFFFFF;

	--border-color-black: #1C1B1B;
	--border-color-white: #CFCFCF;
	--border-color-purple: #91586B;

	--font-size-s: 14px;
	--font-size-m: 16px;
	--font-size-l: 18px;
	--font-size-4: 20px;
	--font-size-3: 26px;
	--font-size-2: 32px;
	--font-size-1: 48px;
}

::placeholder {
	opacity: 1;
	user-select: none;
	font-weight: unset;
	color: var(--text-color-gray);
	font-size: var(--font-size-s);
	letter-spacing: unset;
	text-transform: uppercase;
}

/* ---------- */

@font-face {
	font-family: 'Montserrat';
	src:
		url('../fonts/text/montserrat-v15-latin-300.woff2') format('woff2'),
		url('../fonts/text/montserrat-v15-latin-300.woff') format('woff');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Montserrat';
	src:
		url('../fonts/text/montserrat-v15-latin-regular.woff2') format('woff2'),
		url('../fonts/text/montserrat-v15-latin-regular.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Montserrat';
	src:
		url('../fonts/text/montserrat-v15-latin-500.woff2') format('woff2'),
		url('../fonts/text/montserrat-v15-latin-500.woff') format('woff');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Montserrat';
	src:
		url('../fonts/text/montserrat-v15-latin-600.woff2') format('woff2'),
		url('../fonts/text/montserrat-v15-latin-600.woff') format('woff');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

/* ---------- */

* {
	box-sizing: border-box;
    min-height: 0;
    min-width: 0;
}

body {
	margin: 0;
	overflow-x: hidden;
	overflow-y: scroll;
	font-family: 'Montserrat', sans-serif;
	color: var(--text-color-black);
	font-size: var(--font-size-s);
	background-color: var(--background-color-gray);

	min-width: unset !important;
	/* min-height: max(100vh, 700px) !important; */

	-webkit-text-size-adjust: none;
	-webkit-appearance: none;

	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-smoothing: antialiased;
	font-smooth: always;

	position: relative;
	display: flex;
    flex-direction: column;

	cursor: auto !important;
}

h1 {
	margin: 0;
    font-size: var(--font-size-1);
    font-weight: 600;
}

h2 {
	margin: 0;
	font-size: var(--font-size-2);
	font-weight: 600;
}

h3 {
	margin: 0;
	font-size: var(--font-size-3);
	font-weight: 600;
}

h4 {
	margin: 0;
	font-size: var(--font-size-4);
	font-weight: 400;
}

a {
	color: var(--text-color-gray);
	text-decoration: none;
	font-weight: 500;
	outline: none;
	cursor: pointer;
	font-size: 12px;

	width: max-content;
    width: fit-content;

	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

a[in-text] {
	font-weight: unset;
	font-size: unset;
	box-shadow: 0 .5px 0 0 var(--border-color-black);
	text-transform: initial;
}

a:hover,
a[active] {
	box-shadow: 0 .5px 0 0 var(--border-color-black);
}

p {
	margin: 0;
	padding: 0;
}

hr {
	margin: 0;
	height: .98px;
	border: 0;
	background: var(--border-color-white);
	opacity: .5;
}

hr[style-light] {
	background: var(--background-color-gray);
	opacity: 1;
}

select {
	display: none;
}

[b-tab-switch] {
	font-family: 'Montserrat', sans-serif;
	border: 0;
	color: var(--text-color-black);
	text-transform: uppercase;
	outline: none;
	padding: 0;
	margin-right: 20px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	border-bottom: 2px solid transparent;
	cursor: pointer;
	background: transparent;
	padding-bottom: 5px;
}

[b-tab-switch]:last-of-type {
	margin-right: 0;
}

[b-tab-switch][active],
[b-tab-switch]:hover {
	color: var(--text-color-purple) !important;
	border-bottom: 2px solid var(--background-color-purple) !important;
}

button:not([tab-switch]) {
	cursor: pointer;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	
	font-family: 'Montserrat', sans-serif;
	background: var(--background-color-black);
	height: 48px;
	border: 0;
	padding: 0 20px;
	color: #fff;
	font-size: var(--font-size-s);
	text-transform: uppercase;
	outline: none;

	min-width: 120px;
}

button[style-light]:not([tab-switch]) {
	color: var(--text-color-black);
	background: transparent;
	border: 1px solid var(--border-color-white);
	font-weight: 500;
}

button[style-small]:not([tab-switch]),
input[style-small]:not([tab-switch]) {
	height: 40px;
}

button[style-light][style-small]:not([tab-switch]) {
	height: 40px;
}

button[style-center] {
	align-self: center !important;
    justify-self: center !important;
}

textarea {
	font-family: 'Montserrat', sans-serif;
	background: var(--background-color-gray);
	height: 120px;
	padding: 10px;
	outline: none;
	border: 0;
	color: var(--text-color-black);
	font-size: var(--font-size-s);
	resize: none;
}

textarea[style-light] {
	background: transparent;
	border: 1px solid var(--border-color-white);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	margin: 0;
}

[input][number] {
	border: 1px solid var(--border-color-white);
    width: 140px;
    align-items: center;
    padding: 0;
    font-size: 24px;
    font-weight: 300;
}

[input][number] input {
	height: 46px;
    background: transparent !important;
    text-align: center;
    font-weight: 500;
    font-size: var(--font-size-m);
    padding: 0;
	outline: none;
}

[input][number] span:first-of-type {
	position: relative;
	top: -1px;
}

[input][number] span {
	flex-shrink: 0;
	outline: none;
	
	height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
    font-size: 26px;
	font-weight: 300;

	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* ---------- */

input:not(input[type="checkbox"]) {
	font-family: 'Montserrat', sans-serif;
	background: var(--background-color-gray);
	height: 48px;
	padding: 0 10px;
	outline: none;
	border: 0;
	color: var(--text-color-black);
	font-size: var(--font-size-s);
}

[input] input[style-light]:not(input[type="checkbox"]) {
	background: transparent;
	border: 1px solid var(--border-color-white);
}

input[type="checkbox"] {
    position: absolute;
    opacity: 0;
	margin: 0;
}

input[type="checkbox"] + label {
	position: relative;
	cursor: pointer;
	display: flex;
	align-items: center;
	font-weight: 500;
    font-size: 12px;
	
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

input[type="checkbox"] + label:before {
	content: '';
	margin-right: 10px;
	width: 22px;
	height: 22px;
	border: 1px solid var(--border-color-black);
}

input[type="checkbox"]:checked + label:after {
	content: '';
	position: absolute;
	left: 9px;
	top: 5px;
	width: 5px;
	height: 10px;
	border: 1px solid var(--border-color-black);
	border-width: 0 2px 2px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

[input] {
	width: auto;
    flex-shrink: 0;
}

[input] text {
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 500;
	margin-bottom: 5px;
	text-align: left;
}

[menu] {
	position: absolute;
    background: #fff;
    width: 160px;
    box-shadow: 0px 4px 60px rgb(0 0 0 / 15%);
	z-index: 999;
	text-transform: uppercase;
	font-weight: 500;
	font-size: 12px;
	
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

[menu] > * {
    cursor: pointer;
    padding: 10px;
}

[menu] > *:hover {
    color: var(--text-color-purple);
}

[circle-button] {
	height: 40px;
	width: 40px;
	background: var(--color-white-background);
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 100%;
	cursor: pointer;
	border: 1px solid var(--border-color-white);
	flex-shrink: 0;
}

[circle-button][active] {
	border: 1px solid var(--border-color-purple);
	color: var(--text-color-purple);
}

.nice-select {
	height: 48px !important;
    display: flex !important;
    align-items: center !important;
    border-radius: unset !important;
    padding: 0 10px !important;
    background: transparent !important;
    border: 1px solid var(--border-color-white) !important;
    flex-shrink: 0 !important;
    width: 240px !important;
	text-transform: uppercase;
}

.nice-select:after {
	display: none !important;
}

.nice-select.open:after {
	display: none !important;
}

.nice-select:before {
	display: inline-block;
    font-family: "Font Awesome 5 Pro";
	content: "\f078";
    font-weight: 300;
	right: 10px;
	position: absolute;
	font-size: var(--font-size-m);
}

.nice-select.open:before {
	content: "\f077";
	top: 3.3px;
}

.nice-select .list {
	border-radius: unset !important;
    width: calc(100% + 2px) !important;
    left: -1px !important;
    border: 1px solid var(--border-color-white) !important;
    box-shadow: unset !important;
    margin: 0px !important;
	transform: unset !important;
	transition-duration: 0s !important;
}

.nice-select.open .list {
	transition-duration: .2s !important;
}

.nice-select .option {
	min-height: 44px !important;
	line-height: 44px !important;
	padding: 0 !important;
	padding: 0 10px !important;
	border-bottom: 1px dotted var(--border-color-white) !important;
	transition: unset !important;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nice-select .option:last-of-type {
	border-bottom: 0 !important;
}

.nice-select .option.selected {
	font-weight: 500 !important;
}

.nice-select .option:hover, 
.nice-select .option.focus, 
.nice-select .option.selected.focus {
	background: transparent !important;
}

.nice-select.open .disabled {
	display: none;
}

.popup_wrapper {
	display: flex;
	text-align: left !important;
}

.popup_content {
	padding: 40px;
	max-width: 60%;
	width: 540px;
	background: #fff;
	margin: auto;
}

[b-select-item] {
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 500;
	border: 1px solid var(--border-color-white);
	cursor: pointer;
	padding: 5px 10px;
	min-height: 40px;
	text-align: center;
	overflow: hidden;
	margin-right: 20px;
	
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	
	text-transform: uppercase;
	align-items: center;
    justify-content: center;
}

[b-select-item]:last-of-type {
	margin-right: 0;
}

[b-select-item]:hover {
	border: 1px solid var(--border-color-purple);
}

[b-select-item][active] {
	border: 1px solid var(--border-color-purple);
	color: var(--text-color-purple);
}

select[width-100] + .nice-select {
	width: 100% !important;
}

[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}

[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
	font-weight: 500;
}

[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 21px;
	height: 21px;
	border: 1px solid var(--background-color-black);
	border-radius: 100%;
}

[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
	content: '';
	width: 6px;
	height: 6px;
	background: var(--background-color-black);
	position: absolute;
	top: 9px;
	left: 9px;
	border-radius: 100%;
	margin: auto;
}

[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}

[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}