.trade_desc_green, .trade_desc_red {
	left: 0;
	top: 0;
	bottom: 0;
	position: absolute;
	cursor: pointer;
	padding: 0 11px 1px;
	border-radius:5px 0 0 5px;
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none;   /* Chrome/Safari/Opera */
	-khtml-user-select: none;    /* Konqueror */
	-moz-user-select: none;      /* Firefox */
	-ms-user-select: none;       /* Internet Explorer/Edge */
	user-select: none;
	transition: 0.1s;
	display:flex;
	align-items: center;
}



.line {
	background: #415a70;
}

menu, menu_list {
	color:#ffffffd6;
}

menu:hover, menu_list:hover {
	color: #febc58;
}

.list_2, .list_2_filter {
	background: #30485d;
}

.notice_red { color: #ff9393; }
.notice_green { color: #3dd7a9; }
.notice_blue { color: #6fdcff; } 
.notice_orange { color: #e3aa63; } 
.notice_white { color: #ffffffcf; } 
.notice_violet { color: #d0a1ff; }

.notice_red:hover, .notice_green:hover, .notice_blue:hover, .notice_orange:hover, .notice_white:hover, .notice_violet:hover {
	color:#FFF
}

.tr_top, .tr_2_top {
	position:sticky;
	top:51px;
	cursor:pointer;
	z-index:2;
}

.td {
	padding:15px;
}

.info_green, .info_red {
	padding: 0px 5.5px 1px 4.5px;
	margin: 0px 0 -2px 0;
	border-radius: 15px;
	letter-spacing: 0px;
	cursor:pointer;
	transition:0.2s;
}

.button_green, .button_red, .button_blue, .button_grey {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Chrome/Safari/Opera */
  -khtml-user-select: none;    /* Konqueror */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently not supported by any browser */
}

.button_green_page, .button_blue_page {
	padding: 4.5px 12px 6.5px 13px;
	letter-spacing: 2px;
    border-radius: 5px;
    width: fit-content;
    cursor: pointer;
    transition: 0.2s;
    color: #ffffffc7;
	font-size: 14px;
	font-weight: 500;
}

.button_green_page {
	background: #22876d;
}

.button_blue_page {
	background: #2175bd;
}

.button_green_page:hover, .button_blue_page:hover {
    color: #fff;
}

.label_block {
	border-radius: 5px;
	padding: 10px 15px 14px;
	margin: 12px;
	display:block;
	border-radius:5px;
	position:relative;
}

.list_1:hover .up {
	content: url('../images/design/up_active.png');
}

.list_1:hover .down {
	content: url('../images/design/down_active.png');
}

code, .code {
    width: max-content;
    border-radius: 5px;
    padding: 5px 10px;
    margin: 0 -10px;
	display: block;
}








.top_navigation_, .bottom_navigation_, 
.HISTORY_filter_,

.TICKETS_06,
.USER_filter_,

.SURFING_filter_ {display:none;}

.bottom_navigation {display:flex;}

adaptive_shadow_1, adaptive_shadow_2, adaptive_shadow_1_reverse, adaptive_shadow_2_reverse {
	display: block;
	width:8px;
}

.button_green_dark, .button_red_dark, .button_blue_dark, .button_grey_dark, 
.button_green, .button_red, .button_blue, .button_grey {
	padding: 5px 12px 9px 13px;
	letter-spacing: 0.5px;
	border-radius: 5px;
	width: fit-content;
	cursor:pointer;
	transition:0.2s;
	width: max-content;
}

.button_green_dark {
	border: 1px #266c56 solid;
	background: #144b4a;
	color: #1fba8b;
}

.button_blue_dark {
	border: 1px #3971a1 solid;
	background: #255074;
    color: #00b8ff;
}

.button_red_dark {
	border: 1px #89576d solid;
	background: #573c48;
    color: #e57f7f;
}

.button_grey_dark {
	border: 1px #4c6274 solid;
	background: #294258;
    color: #6e7a85;
}

.sandwich {
	width: 19px;
	height: 19px;
	display: block;
	cursor:pointer
}

sandwich_block {
	position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
	cursor:pointer;
}

.sort_green_red, .sort_red_green, .sort_red, .sort_green {
	cursor:pointer;
}

sandwich_menu_list_filter {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding:5px 0;
    cursor: pointer;
}

.line_3 {
	width: 1px;
	height: 27px;
	margin-left: 15px;
}

adaptive_close {
	display: flex;
	justify-content: center;
	padding: 12px 20px;
	margin:0 -20px;
	cursor:pointer;
}

#adaptive_background_right {
	display:none;
	position:absolute;
	right:0;
	top:0;
	bottom:0;
	width:48px;
	z-index:1
}

#add_button_temp, 
#buy_button_temp, 
#sell_button_temp, 
#add_button, #buy_button, #sell_button {
	width: auto;
    font-weight: 500;
    margin: 0 6px;
    font-size: 16px;
    align-items: center;
    display: flex;
    justify-content: center;
    flex: 1;
	padding: 5px 0 9px;
	transition:0.2s;
	cursor:pointer
}

.tv_Resolution, .tv_Resolution_,
.tv_TimeFrame, .tv_TimeFrame_,
.tv_function, .tv_function_ {
	padding:5px 7.5px 5px 5px;
	transition:0.2s;
	cursor:pointer;
	font-size: 11px;
    letter-spacing: 1px;
}

.no_positions_1, .no_positions_2 {
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 14px;
	text-align: center;
}

.block-page {
	width: 
	<?
		if($section == 'market') echo '1500px';
	
	elseif($section == 'cryptocurrencies') echo '1240px';
	elseif($section == 'markets') echo '1240px';
	elseif($section == 'pools') echo '1240px';
	
	elseif($section == 'wallet') echo '1080px';
	elseif($section == 'liquidity') echo '1728px';
	elseif($section == 'orders') echo '1240px';
	
	elseif($section == 'trades') echo '1240px';
	
	
	elseif($section == 'referrals') echo '1152px';
	elseif($section == 'referral_exchange') echo '1280px';
	
	elseif($section == 'user') echo '1280px';
	elseif($section == 'about') echo '1152px';
	elseif($section == 'qtshares') echo '1152px';
	
	elseif($section == 'assets') echo '2000px';
	
	elseif($section == 'faucet') echo '1240px';
	elseif($section == 'listing_request') echo '1280px';
	
	
	
	
	else echo '1024px';
	?>
}

.dark_sort_green_red, .dark_sort_red_green, .dark_sort_green, .dark_sort_red {
	cursor:pointer;
}

.dark_sort_green_red                               { color: #3dd7a9; }
.dark_sort_green_red:hover, .dark_sort_red:hover   { color: #ff9393; }
.dark_sort_red_green                               { color: #ff9393; }
.dark_sort_red_green:hover, .dark_sort_green:hover { color: #3dd7a9; }
.dark_sort_green, .dark_sort_red                   { color: #ffffffb3; }

.background_top {
	background: #30485d;
	/*border-bottom:1px #415a70 solid;*/
}

.background_bottom {
	background: #30485d; 
	/*border-top:1px #415a70 solid;*/
}

.deposit_mini {
	cursor:pointer;
	z-index:1;
	margin: -4px 5px -4px 0;
	height: 14px;
	width: 14px;
	padding: 0 0.5px 1px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 15px;
    letter-spacing: 0px;
	transition: 0.2s;
}

.withdraw_mini {
	cursor:pointer;
	z-index:1;
	margin: -4px 0;
	height: 12px;
	width: 15px;
	padding: 0 0 3px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 15px;
    letter-spacing: 0px;
	transition: 0.2s;
}

.surfing_left {
	position: absolute;
	right: 0;
	width: 50px;
	top: 0;
	bottom: 0;
}

/*
ru { <? if($lang != 'ru') echo 'display:none;'; ?> }
en { <? if($lang != 'en') echo 'display:none;'; ?> }
*/

.lang_ru * {
	en { display:none; }
}

.lang_en * {
	ru { display:none; }
}




sort_grey_up, sort_grey_down, sort_green_up, sort_red_down {
	position: absolute; 
	width: 8px; 
	height: 4px; 
	background-size: 8px 4px; 
	right: -15px;
}
sort_grey_up, sort_grey_down {
	opacity: 0.5;
}
sort_grey_up, sort_green_up { 
	top: 5px; 
}
sort_grey_down, sort_red_down {
	top: 12px; 
}

sort_grey_up_mini, sort_grey_down_mini, sort_green_up_mini, sort_red_down_mini {
	position: absolute; 
	width: 7px;
    height: 3.5px;
    background-size: 7px 3.5px;
    right: -10px;
}
sort_grey_up_mini, sort_grey_down_mini {
	opacity: 0.5;
}
sort_grey_up_mini, sort_green_up_mini { 
	top: 1px; 
}
sort_grey_down_mini, sort_red_down_mini {
	top: 8px; 
}



.button-grey, .button-blue, .button-green, .button-red {
	padding: 8px 10px;
    border-radius: 5px;
    width: fit-content;
    cursor: pointer;
    transition: 0.2s;
    width: max-content;
	border: 1px #fff0 solid;
}


.button-green-2, .button-red-2, .button-blue-2, .button-grey-2 {
    padding: 8px 12px;
    letter-spacing: 1px;
    border-radius: 5px;
    width: fit-content;
    cursor: pointer;
    transition: 0.2s;
	font-weight:600;
}




.switch, .switch_ {
	font-size: 13px;
	margin-left:13px;
	font-size:13px;
	cursor:pointer;
}


.mini_menu, .mini_menu_ {
	margin-right:15px;
	font-size:14px;
	cursor:pointer;
}








.buying_button, .selling_button, .adding_button, .buying_button_, .selling_button_, .adding_button_ {
    flex: 1;
	text-align:center;
	padding: 6px 0 8px;
	transition:0.2s;
	cursor:pointer;
	user-select: none;
	border-radius:5px;
}



.form_trade {
    outline: none;
    background: none;
    border: none;
    letter-spacing: 0.5px;
    width: 100%;
    font-family: Segoe, Segoe UI, DejaVu Sans, Trebuchet MS, Verdana, sans-serif;
    font-size: 14px;
	height:auto;
	text-align:right;
	padding: 0;
}

.form_desc_placeholder {
	padding:0 11px 0 4px;
}


main {
	display: block;
    border-radius: 15px;
	padding: 10px 15px;
}

.main_next {
	font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
}

.main_bottom {
	font-size: 14px;
    font-weight: 500;
    padding: 5px 10px 7px;
    border-radius: 5px;
    margin: 13px 0 0;
    display: block;
    width: max-content;
	transition: 0.2s;
    cursor: pointer;
}

.main_top {
	padding:35px 0;
	text-align: center;
	margin: 35px 12px;
	border-radius: 15px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}
.main_page {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	margin: 35px 12px;
	gap: 35px;
}
.main_footer {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	text-align: center;
	padding: 30px;
	border-radius: 15px;
	margin: 0 12px 35px;
	font-size:13px;
}
.main_footer_block {
	padding:25px 0;
	min-width:max-content
}
.main_footer_title {
	font-size:18px; 
	font-weight:500; 
	margin-bottom:5px
}

.main_logo {
    width: 80%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	border-radius: 5px;
	display: table-cell;
	vertical-align: middle;
	margin: 0 auto;
	padding: 5% 12px;
}

.market_record {
	display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: 0.2s;
    font-size: 11px;
    font-family: Roboto, sans-serif;
	position: relative;
    padding: 0 10px;
    min-height: 21px;
}
.market_record_ {
	display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 11px;
    font-family: Roboto, sans-serif;
    padding: 0 10px;
	min-height: 32px;
}

#bid_depth, #ask_depth, #ask_depth_2 {
	position: absolute;
	left: 0;
	right: 13px;
}
#bid_depth, ask_depth_2 {
	top:0
}
#ask_depth {
	bottom:0
}

#orderbook_calc {
	font-size:11px;
	padding: 12px 12px 12px 0px;
	border-radius: 5px;
	position: absolute;
	z-index: 1;
	right:0;
	display:none;
	transform: translate(calc(100% + 12px), 0) rotate(0deg);
	min-width: 225px;
}
.orderbook_arrow  {
	width:9px;
	height:9px;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%) rotate(45deg);
}


.spoiler_name {
	font-size: 28px;
    margin: 0 25px 15px;
    font-weight: 700;
}
.spoiler_title, .spoiler_title_active {
	font-size:18px;
	padding:15px 25px;
	cursor:pointer;
	transition:0.05s;
	display: flex;
    align-items: center;
    justify-content: space-between;
}
.spoiler_content {
	display:none;
	padding: 0 25px 20px;
    line-height: 23px;
    font-size: 15px;
}







.slider_record {
	display:flex;
	align-items: center;
	padding: 9px 10px;
	transition:0.1s;
	border-radius: 5px;
}






/* PAGE TOP */

.page_top {
	border-radius: 12px 12px 0 0;
}
.page_top_name {
	padding: 15px 20px 10px;
	font-size: 15px; 
	width: auto;
	margin: 12px 0 0 0;
	border-radius: 12px 12px 0 0;
	display: flex;
	justify-content: space-between;
	font-weight:500;
}



/*
#liquidity_4, #liquidity_3, #liquidity_2, #liquidity_1 {
	padding:0 4px
}

#liquidity_4 {
	 display:flex;
}
#liquidity_3, #liquidity_2, #liquidity_1 {
	display:none;
}
.liquidity_item {
	 padding: 8px 17px; 
	 display: flex; 
	 font-size:11px;
}


#active_liquidity_4, #active_liquidity_3, #active_liquidity_2, #active_liquidity_1 {
	padding:0 4px
}

#active_liquidity_4 {
	 display:flex;
}
#active_liquidity_3, #active_liquidity_2, #active_liquidity_1 {
	display:none;
}
.liquidity_item {
	 padding: 8px 17px; 
	 display: flex; 
	 font-size:11px;
}
*/

.active_liquidity {
	display: flex;
	overflow:hidden;
	border-radius: 12px; 
	margin: 0; 
	flex-wrap: wrap; 
	gap:3px
}

.active_liquidity_results {
	margin-right: 3px;
    border-radius: 0;
    min-width: 250px;
    padding: 13px 23px 15px 23px;
    font-size: 14px;
	margin:0; 
	flex:1
}





.nav_border {
	height:3px;
	background:#eef0f5;
}

.background_top {
	background: #ffffff;
}
menu, menu_list {
    color: #000;
}
menu:hover, menu_list:hover {
    color: #E88100;
}

.top_icon {
	color: #94a1ad;
}


.list_2, .list_2_filter {
    background: #fff;
}



.line {
    background: #dbdcde;
}



menu_list {
    padding: 3px 0;
    display: flex;
    justify-content: space-between;
    padding: 6px 10px;
    margin: 0px -10px;
    border-radius: 5px;
}
menu:hover, menu_list:hover {
    color: #000;
	background: #eef0f5;
}




#user_login {
	display:flex; 
	align-items:center;
	border-radius: 8px;
	overflow:hidden;
	margin:0 10px 0 auto;
}

.button_singin, .button_singup {
    padding: 6px 13px 7px 13px;
    letter-spacing: 2px;
    width: fit-content;
    cursor: pointer;
    transition: 0.2s;
    color: #ffffffd9;
    font-size: 15px;
    font-weight: 500;
}

.button_singin {
	margin-right:1px
}

.button_singin {
	background: #2175bd;
}
.button_singup {
	background: #099773;
}

.button_singin:hover, .button_singup:hover {
	color:#FFF
}














#dialog_table, #dialog_user {
	display:none;
	z-index:6;
	background:#00000025; 
	z-index:6; 
	position:fixed; 
	top:0; 
	bottom:0; 
	right:0; 
	left:0;
}

#dialog_table_body, #dialog_user_body {
	border-radius: 15px;
	overflow:auto;
    box-shadow: 0 0 15px rgb(0 0 0 / 50%);
    max-width: 2000px;
    width: fit-content;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.dialog_table_top, .dialog_user_top {
	padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

#dialog_table_name, .dialog_user_name {
	font-size:19px;
	font-weight:600;
}

#dialog_table_data, #dialog_user_data {
	overflow-y: scroll;
    overflow-x: hidden;
}

#dialog_table_data, #dialog_user_data {
    max-height: calc(100vh - 104px);
    margin: 20px 0;
}

#dialog_user_data {
    max-height: calc(100vh - 88px);
	margin: 0 0 20px 0; 
	padding: 0 16px 0 20px;
}

.dialog_close {
	width: 21px;
	cursor:pointer;
	transition:0.1s;
}




.theme_Light * {
	#dialog_table, #dialog_user {
		background:#00000025; 
	}
	#dialog_table_body {
		background: #FFF;
	}
	#dialog_user_body {
		background: #eef0f5;
	}
	.dialog_user_top {
		background: #ffffff; 
		border-bottom: 3px #eef0f5 solid;
	}
	.dialog_table_top {
		background: #eef0f5;
	}
	#dialog_table_name, .dialog_user_name {
		color: #94a1ad;
	}
	.dialog_close {
		color: #94a1ad;
	}
	.dialog_close:hover {
		color: #E88100;
	}
}

.theme_Dark * {
	#dialog_table, #dialog_user {
		background:#00000025; 
	}
	#dialog_table_body {
		background: #1f3749;
	}
	#dialog_user_body {
		background: #152836;
	}
	.dialog_user_top {
		background: #1f3749; 
		border-bottom: 3px #152836 solid;
	}
	.dialog_table_top {
		background: #294358;
	}
	#dialog_table_name, .dialog_user_name {
		color: #94a1ad;
	}
	.dialog_close {
		color: #94a1ad;
	}
	.dialog_close:hover {
		color: #e3aa63;
	}
}











div.simplebar::-webkit-scrollbar-thumb {
    background-color: transparent;	
}

.theme_Light * {
	.simplebar-scrollbar:before {
		background: #e6eaef !important;
	}
	.market_options_scroll .simplebar-scrollbar:before {
		background: #CCC !important;
	}
}

.theme_Dark * {
	.simplebar-scrollbar:before {
		background: #415a70 !important;
	}
	.market_options_scroll .simplebar-scrollbar:before {
		background: #415a70 !important;
	}
}