/* USER VARIABLES SECTION */

:root {
	--accent: #1A4198;
	--text: #1F1E1C;
	--light_blue: #CADEF8;
	--light_gray: #626262;
	--tg: #00B0F2;
	--gray: #F9F9F9;
	--regular-text: 16px;
	--lineheight: 1.4;
	--userfont: Montserrat, sans-serif;
	--systemfont: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
	--transition: 0.2s ease all;
	--index: calc(1vw + 1vh);
	--radius: 20px;
	--fwld: 300;
	--fwmd: 500;
	--fwbd: 700;
	--xl: 22px;
	--lg: 20px;
	--md: 18px;
	--rg: 16px;
	--sm: 14px;
	--ls: 12px;
	--border: 1px solid #E3E3E3;
}

::selection {
	background-color: var(--accent);
	color: #fff;
}

/* BOOTSTRAP SETTINGS SECTION */

/* gutter 20px (10px + 10px). Comment this code for default gutter start at 1.5rem (24px) wide. */
.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
	--bs-gutter-x: .625rem;
}

.row,
.row>* {
	--bs-gutter-x: 1.25rem;
}

/* FONTS LOAD SECTION */
@font-face {
	src: url("../fonts/Montserrat-Light.woff2") format("woff2");
	font-family: "Montserrat";
	font-weight: 300;
	font-style: normal;
}

@font-face {
	src: url("../fonts/Montserrat-Regular.woff2") format("woff2");
	font-family: "Montserrat";
	font-weight: 400;
	font-style: normal;
}

@font-face {
	src: url("../fonts/Montserrat-Medium.woff2") format("woff2");
	font-family: "Montserrat";
	font-weight: 500;
	font-style: normal;
}

@font-face {
	src: url("../fonts/Montserrat-Bold.woff2") format("woff2");
	font-family: "Montserrat";
	font-weight: 700;
	font-style: normal;
}

/* GENERAL CSS SETTINGS */
body {
	font-family: var(--userfont);
	font-size: var(--regular-text);
	line-height: var(--lineheight);
	color: var(--text);
	min-width: 320px;
	position: relative;
	overflow-x: hidden;
}

html,
body {
	height: 100%;
}

body.lock {
	overflow: hidden;
}

.app {
	min-height: 100%;
	display: flex;
	flex-direction: column;
}

main {
	flex: 1 1 auto;
}

.relative {
	position: relative;
}

h1,
.one,
h2,
.two,
h3,
.three,
h4,
.four,
h5,
.five,
.standart_window_title_ins,.rf_div_title,.user_widget_title_ins,.xchange_div .xchange_data_title, .xchange_div .xchange_pers_title {
	font-weight: 700;
	font-family: Montserrat;
}

h1,
.one {
	font-size: 56px;
}

h2,
.two {
	font-size: 40px;
}

h3,
.three,.rf_div_title,.xchange_div .xchange_data_title, .xchange_div .xchange_pers_title {
	font-size: 32px;
}

h4,
.four,.standart_window_title_ins,.user_widget_title_ins {
	font-size: 24px;
}

h5,
.five {
	font-size: 18px;
}

h1,
.one,
h2,
.two,
h3,
.three {
	font-weight: 700;
	text-wrap: balance;
}

.xl_text {
	font-size: var(--xl);
}

.lg_text {
	font-size: var(--lg);
}

.md_text {
	font-size: var(--md);
}

.rg_text {
	font-size: var(--rg);
}

.sm_text {
	font-size: var(--sm);
}

.ls_text {
	font-size: var(--ls);
}

.fw_lt {
	font-weight: var(--fwld);
}

.fw_ld {
	font-weight: 300;
}

.fw_rg {
	font-weight: 400;
}

.fw_md {
	font-weight: 500;
}

.fw_bd {
	font-weight: 700;
}

.accent_text {
	color: var(--accent);
}

.light_gray {
	color: var(--light_gray);
}

.light_blue {
	color: var(--light_blue);
}

.white_text {
	color: #fff;
}

.gradient_section {
	background: linear-gradient(180deg, #f8f8fc 0%, rgba(248, 248, 252, 0) 100%);
	border-radius: 60px 60px 0 0;
	margin-top: 90px;
}

.gray {
	background: #F9F9F9;
}

.accent {
	background: var(--accent);
}

section {
	position: relative;
	padding: 50px 0;
}

.section_title {
	display: flex;
	align-items: center;
	gap: 30px;
}

.section_title::after {
	content: '';
	flex: 1;
	height: 1px;
	background-color: #d9dbe9;
}

/* USER STYLES */
/* BUTTONS */
.btn,.cf_submit,input.rb_submit,.rf_line.has_submit input,.xtl_submit_ins .xtl_submit {
	border-radius: 100px;
	text-align: center;
	display: inline-block;
	padding: 22px 40px;
	font-weight: var(--fwmd);
	color: #fff;
	text-decoration: none;
	background: var(--accent);
	border: none;
}

.btn.light_btn {
	background: var(--light_blue);
	color: var(--text);
}

.btn.tg_btn {
	background: #fff;
	border: 1px solid var(--tg);
	font-weight: var(--fwmd);
	color: var(--text);
	padding: 12px 14px;
}

.btn.tg_btn span {
	margin-right: 10px;
}

.btn.white_btn {
	background: #fff;
	color: var(--text);
	font-weight: 500;
	padding: 18px 40px;
	border-radius: 10px;
}

header .btn {
	padding: 12px 18px;
}

header ul {
	margin-right: 30px;
}

.btn_group *+* {
	margin-left: 10px;
}

/* HEADER*/
header {
	position: fixed;
	top: 0;
	width: 100%;
	left: 0;
	z-index: 99;
	border-bottom: var(--border);
	padding: 16px 0;
	background: #fff;
}

header ul {
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
}

header ul li+* {
	margin-left: 28px;
}

header ul li a {
	text-decoration: none;
	color: var(--text);
}

header .language_switcher {
	padding-left: 18px;
	margin-left: 18px;
	border-left: var(--border);
	cursor: pointer;
	padding-right: 20px;
	margin-right: 40px;
	background: url('../images/arrow.svg') no-repeat center right;
}

/* MOBILE MENU AND LANG LIST */
aside {
	position: fixed;
	z-index: 98;
	width: 100%;
	height: 100%;
	background: #fff;
	overflow: auto;
	display: none;
}

aside .aside_wrap {
	padding-bottom: 40px;
	padding-top: 100px;
}

aside .aside_wrap ul {
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
}

aside .aside_wrap ul li a {
	padding-bottom: 14px;
	margin-bottom: 14px;
	color: var(--text);
	font-weight: 500;
	display: block;
	border-bottom: var(--border);
	text-decoration: none;
}

.menu_toggle {
	position: relative;
	z-index: 99;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: var(--border);
	background: transparent;
}

.menu_toggle::before,
.menu_toggle::after {
	content: '';
	width: 18px;
	height: 2px;
	border-radius: 20px;
	background: var(--text);
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;
	transition: var(--transition);
}

.menu_toggle::before {
	top: 14px;
}

.menu_toggle::after {
	bottom: 14px;
}

.menu_toggle.active::before {
	top: 18px;
	bottom: auto;
	transform: rotate(-45deg);
}

.menu_toggle.active::after {
	top: auto;
	bottom: 18px;
	transform: rotate(45deg);
}

.lang_list_wrap {
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 99;
	background: #fff;
	padding-top: 80px;
	overflow: auto;
	padding-bottom: 40px;
	display: none;
}

.lang_list_wrap .langlist_ul img {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 50%;
	margin-right: 10px;
	border: var(--border);
}

.lang_list_wrap .langlist_ul>a {
	text-decoration: none;
	color: var(--text);
	display: block;
}
.langlist_liimg {
	display: inline-block;
}
.lang_list_wrap .langlist_ul>a+* {
	padding-top: 14px;
	margin-top: 14px;
	border-top: var(--border);
}

.back_btn {
	cursor: pointer;
}

.lang_list_wrap .back_btn {
	position: absolute;
	right: 10px;
	top: -57px;
	cursor: pointer;
}

.back_btn span {
	margin-right: 10px;
}

/* FIRST SCREEN  */
.first_screen,
.page_content {
	position: relative;
	padding-top: 120px;
	background: url('../images/first_after.png') no-repeat top right;
}

.exchange_widget {
	border-radius: 24px;
	padding: 22px 14px;
	grid-template-columns: 1fr auto 1fr;
	gap: 24px 0;
	position: relative;
	align-items: center;
}
.langlist_title{
	text-transform: uppercase;
}

.lang_list_wrap .tolbar_lang .langlist_title{
	display: none !important;
}
.lang_list_wrap .langlist_ul{
	display: block !important;
}
header .langlist_ul{
	display: none !important;
}
.exchange_widget .swap_btn {

	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: var(--border);
	z-index: 1;
	background: #fff;
	cursor: pointer;
	margin-left: -6px;
	margin-right: -6px;
}

.col_full {
	grid-column: 1 / -1;
}

.exchange_widget .btn,
.exchange_widget button {
	width: 100%;
}

.exchange_widget .col_wrap {
	background: #fff;
	padding: 14px;
	border-radius: var(--radius);
}

.exchange_steps>div+* {
	margin-top: 30px;
	padding-top: 30px;
	border-top: var(--border);
}

.exchange_steps .steps_index {
	color: rgba(26, 65, 152, 0.6);
	margin-right: 32px;
}

/* INPUTS AND FORMS */
::placeholder {
	color: var(--text);
	font-weight: var(--md);
}

input,
textarea {
	outline: none;
	resize: none;
	border-radius: 99px;
	background: var(--gray);
	width: 100%;
	padding: 20px;
	border: none;
}

textarea {
	border-radius: 16px;
}

.page_content input,
.page_content textarea {
	border: var(--border);
}

.page_content .btn {
	max-width: 190px;
}

.page_content .form_group .ls_text {
	margin-left: 20px;
}

input:focus:required:invalid,
textarea:focus:required:invalid {
	border-color: rgb(229, 135, 135);
}

input:disabled {
	opacity: 0.5;
}

input:required:valid,
textarea:required:valid {
	border-color: rgb(164, 230, 164);
}

.form_row .form_group+* {
	margin-top: 0;
	margin-left: 20px;
}

.form_row .form_group {
	width: 100%;
}

.form_group+* {
	margin-top: 14px;
}

input.telegram,
input.e-mail,
input.name {
	padding-right: 44px;
	position: relative;
	background-position: right center;
	background-position-x: 95%;
	background-size: 14px;
	background-repeat: no-repeat !important;
}

input.telegram {
	background-image: url('../images/tg.svg');
}

input.e-mail {
	background-image: url('./images/envelope.svg');
}

input.name {
	background-image: url('./images/profile.svg');
}

body .custom_select+.select2 {
	width: 100% !important;
}

body .select2-container--default .select2-selection--single {
	border: 1px solid var(--gray);
	border-radius: 99px;
	background: #fff;
	height: 52px;
	display: flex;
	align-items: center;
}

body .select2-container--default .select2-selection--single .select2-selection__arrow b {
	border: none;
	background: url('../images/arrow.svg') no-repeat center center;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	text-align: center;
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	right: 25px;
}

body .select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
	border-radius: 99px;
}

body .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 100%;
	top: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	width: 40px;
}

body .select2-container--open .select2-dropdown--below {
	border-radius: 20px;
	overflow: hidden;
}

body span.select2.select2-container.select2-container--default.select2-container--below.select2-container--focus.select2-container--open .select2-selection__arrow b {
	transform: rotate(180deg);
}

body .select2-dropdown {
	border: 1px solid var(--gray);
}

body .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
	background: var(--accent);
}

body .select2-results {
	display: block;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
	overflow: hidden;
}

.option-with-image {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}

.option-with-image img {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 50%;
}

.select2-selection__rendered .option-with-image img {
	margin-right: 5px;
}

/* FAQ */
.faq_widget>div {
	position: relative;
	cursor: pointer;
}
.faq_widget p{
	margin-bottom: 12px !important;
}
.faq_widget>div+* {
	border-top: var(--border);
}

.faq_widget>div>div:last-child {
	display: none;
}

.faq_widget>div>div:first-child {
	padding: 18px 34px 18px 0;
	position: relative;
}

.faq_widget>div>div:first-child::after,
.faq_widget>div>div:first-child::before {
	content: '';
	top: 0;
	bottom: 0;
	position: absolute;
	background: var(--accent);
	margin: auto;
	transition: var(--transition);
}

.faq_widget>div.active>div:first-child::after,
.faq_widget>div.active>div:first-child::before {
	transform: rotate(45deg);
}

.faq_widget>div>div:first-child::after {
	height: 17px;
	border-radius: 4px;
	width: 1px;
	right: 17px;
}

.faq_widget>div>div:first-child::before {
	width: 17px;
	height: 1px;
	border-radius: 4px;
	right: 9px;
}

/* PROMO */
.promo_wrapper {
	border-radius: var(--radius);
	background-image: url('../images/promo.png');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	z-index: 1;
	position: relative;
}

.promo_holder img {
	position: absolute;
	object-fit: contain;
	max-width: 314px;
	width: 100%;
	height: 100%;
	top: -30px;
}

.promo_holder {
	min-height: 320px;
}

/* Partners */
.partners_grid {
	grid-template-columns: repeat(5, 1fr);
	gap: 32px;
}

.partners_grid a {
	display: flex;
	align-items: center;
	justify-content: center;
}

.partners_grid a img {
	max-width: 150px;
	object-fit: contain;
	width: 100%;
	height: 100%;
	max-height: 40px;
}

/* FOOTER */
footer {
	padding: 40px 0 164px 0;
	margin-top: 20px;
	position: relative;
	background: url('../images/vawe.png') no-repeat center bottom;
	background-size: contain;
}

footer ul {
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
}

footer ul li+* {
	margin-top: 10px;
}

footer ul li a {
	text-decoration: none;
	color: var(--text);
}

/* social */
.social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	text-align: center;
	border-radius: 50%;
	border: 1px solid var(--accent);
}

.social a svg {
	max-width: 14px;
}

.social a+* {
	margin-left: 12px;
}

/* OTHER */
.contacts_widget {
	padding-left: 50px;
	margin-left: 50px;
	border-left: var(--border);
	padding-top: 70px;
	padding-bottom: 70px;
}
.contacts_widget>div{
	position: sticky;
	top: 100px;
}
.contacts_widget>div>div+* {
	margin-top: 38px;
}

.contacts_widget>div>div .four a {
	text-decoration: none;
	color: var(--accent);
}

.reviews_widget>div+*,.many_reviews_ins>div+* {
	padding-top: 24px;
	margin-top: 24px;
	border-top: var(--border);
}

.overlay {
	position: fixed;
	z-index: 998;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: 0.7;
}

.slide_toggle {
	position: fixed;
	width: 50%;
	background: #fff;
	height: 100%;
	right: 0;
	top: 0;
	z-index: 999;
	bottom: 0;
	padding: 30px;
	overflow: auto;
	display: none;
}

.overlay {
	display: none;
}

.profile_nav {
	position: sticky;
	top: 68px;
}

.profile_nav ul {
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
}

.profile_nav ul li a {
	display: block;
	color: var(--text);
	text-decoration: none;
	padding: 18px 0;
	border-bottom: var(--border);
}

.profile_nav ul li.current a {
	border-color: var(--accent);
	font-weight: 700;
}

.preloader-wrap {
	background: #fff;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.preloader-wrap .logo img,
.preloader-wrap .logo {
	transition: none;
}

.linePreloader {
	width: 200px;
	height: 4px;
	background: linear-gradient(to right, var(--accent), var(--accent));
	background-color: #ccc;
	position: fixed;
	top: 0;
	bottom: -140px;
	left: 0;
	right: 0;
	margin: auto;
	border-radius: 4px;
	background-size: 20%;
	background-repeat: repeat-y;
	background-position: -25% 0;
	animation: scroll 1.2s ease-in-out infinite;
}

@keyframes scroll {
	50% {
		background-size: 80%
	}

	100% {
		background-position: 125% 0;
	}
}