.mt-20 {
	margin-top: -20px;
}

.m-t-5 {
	margin-top: 5px;
}

.m-t-25 {
	margin-top: 25px;
}

.p-l-20 {
	padding-left: 20px;
}

.m0 {
	margin: 0px;
}

.p0 {
	padding: 0px;
}

.hidden{
	display: none !important;
}

.fancybox-inner .hidden-ajax{
	display: none !important;
}

.card-caption
{
	padding: 20px;
	padding-top: 0px !important;
}

.no-margin, .no-margin > p, .no-margin > div {
	margin: 0px !important;
}

tr.match1
{
	border-top: solid 2px gray !important;
	#border-right: solid 2px gray !important;
	border-left: solid 2px gray !important;
	color: aquamarine;
}

tr.match2
{
	border-bottom: solid 2px gray !important;
	#border-right: solid 2px gray !important;
	border-left: solid 2px gray !important;
}

td.success {
	color: #10c469 !important;
}

tr.status-canceled {
	text-decoration: line-through;
}

@-webkit-keyframes pulsate { 50% { color: #fff; text-shadow: 0 -1px rgba(0,0,0,.3), 0 0 5px #ffd, 0 0 8px #fff; } } 
@keyframes pulsate { 50% { color: #fff; text-shadow: 0 -1px rgba(0,0,0,.3), 0 0 5px #ffd, 0 0 8px #fff; } }

.blink { 
	color: rgb(245,245,245); 
	text-shadow: 0 -1px rgba(0,0,0,.1); 
	#background: green; 
	-webkit-animation: pulsate 1.2s linear infinite; 
	animation: pulsate 1.2s linear infinite; 
}

.pagination-box
{
	padding-right: 0px !important;
	padding-left: 0px !important;
	#float: right !important;
}

.row-header .pagination-box
{
	margin-top: -5px !important;
}

.form-horizontal > div
{
	float: left !important;
	margin-left: 5px !important;
}

.table-border td, .table-border th
{
	border-left: 2px solid #354650 !important;
}

.fancybox-skin
{
	background: #253138 !important;
	color: unset !important;
}

.fancybox-skin .card-actions
{
	text-align: right;
}

.fancybox-skin .card-box, .fancybox-skin .card-body
{
	padding: 10px !important;
}

.fancybox-skin .card-caption
{
	display: none;
}

.show-sm {
	display: none;
}

@media (max-width: 750px) {
	.hidden-md {
		display: none;
	}
}

@media (max-width:576px) {
	.wrapper-page {
		width: unset !important;
	}

	.hidden-sm {
		display: none;
	}
	
	input#symbol {
		max-width: 100px;
	}
	
	select#trading {
		max-width: 120px;
	}
	
	.show-sm {
		display: unset;
	}
	
	img.show-sm  {
		max-width: 24px !important;
	}
	
	.text-center-sm {
		text-align: center !important;
	}
	
	label {
		white-space: nowrap !important;
		overflow: hidden;
		max-width: 100%;
	}
	
	div.row .col-4:first-child {
		padding-right: 2px !important;
	}
	
	div.row .col-4:last-child {
		padding-left: 2px !important;
	}
	
	div.btn-box .form-group {
		width: 100% !important;
		margin-left: 0px !important;
	}
}

@media (max-width: 521px) {
	.wrapper-page {
		width: unset !important;
	}
	
	div[class*="-sm-"].col-12 label {
		margin-top: 10px;
		width: 30%;
		white-space: nowrap;
		text-overflow: ellipsis;
		overflow: hidden;
	}
	
	div[class*="-sm-"].col-12 input, div[class*="-sm-"].col-12 select {
		width: 70%;
		float: right;
	}
	
	div[class*="-sm-"].col-12 .form-group {
		margin-bottom: 4px;
	}
	
	.form-group.file label {
		width: 100% !important;
	}
}

@media (max-width: 415px) {
	.wrapper-page {
		width: unset !important;
	}
	
	.hidden-lt {
		display: none;
	}
	
	.filter-row #user {
		display: none !important;
	}
	
	.pagination-box p.counter {
		display: none;
	}
	
	.modal-box {
		padding-right : 10px !important;
		padding-left  : 10px !important;
		padding-bottom: 10px !important;
	}
	
	.modal-box .card-caption, .modal-box .card-body {
		padding: 5px !important;
	}
	
	.header-title-sm {
		text-align: center;
		float: none;
	}
}

.table td, .table th {
    padding: .35rem;
}

.inline {
	display: inline;
}

yellow, .yellow {
	color: yellow;
}

red, .red {
	color: red;
}

gray, .gray {
	color: gray;
}

blue, .blue {
	color: blue;
}

green, .green {
	color: green;
}

greenyellow, .greenyellow {
	color: greenyellow;
}

antiquewhite, .antiquewhite {
	color: antiquewhite;
}

tfoot {
	background-color: #343d44;
}

.fancybox-overlay .card-box {
	padding-bottom: 0px !important;
}

.fancybox-skin {
	padding-bottom: 0px !important;
}

.container-fluid {
    max-width: 99% !important;
}

. filter-row {
	display: contents !important;
}

.ajax-wait {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba(255, 255, 255, .7) url('/images/ajax.gif') 50% 50% no-repeat;
}

body.loading .ajax-wait{
    overflow: hidden;   
	display: block;
}

.modal-box {
	width: 600px;
	max-width: 85vw;
}

.color-unset {
	color: unset;
}

@media (min-width:600px) {
	.bigH {
		min-height: 420px !important;
		max-height: 420px !important;
	}
	
	.bigH2 {
		min-height: 510px !important;
		max-height: 510px !important;
	}
}

table.text-middle > td, tr.text-middle > td, tr.text-middle > th {
	vertical-align: middle;
}

.m-l-20 {
	margin-left: 20px !important;
}

.no-padding {
	padding: 0 !important;
}

.row-header {
	margin-top: -15px !important;
}

.modal-dialog {
	z-index: 80100 !important;
}

.modal {
	z-index: 80000 !important;
}

#side, #type {
	text-transform: uppercase !important;
}

.m-l-0 {
    margin-left: 0px !important;
}

.m-l-0 div:first-child {
	margin-left: 0px !important;
}

.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
    border-color: #47535b !important;
}

tr.locked > td, tr.locked > th {
	text-decoration: line-through;
}

.up, tr.up > td, tr.up > th, td.up {
	color: green;
}

.down, tr.down > td, tr.down > th, td.down {
	color: red;
}

.perm-error {
	padding: 45px;
}

.form-horizontal > div:first-of-type {
  margin-left: 0px !important;
}

input#balance-f, input#balance-s {
	text-align: right
}

.form-inline {
	flex-flow: nowrap !important;
}

.btn-candle {
	display: block;
	width: 80px;
	margin-top: 2px;
	
	background-color: #10c469 !important;
	border: 1px solid #10c469 !important;
	
	color: #ffffff !important;
}

.btn-candle:nth-child(2n) {
} 

.btn-candle:nth-child(2n+1) {
} 