@import url("https://fonts.googleapis.com/css?family=Nunito");
/*------------- Font Awesome -----------*/
@import url("https://pro.fontawesome.com/releases/v5.15.4/css/all.css");

/*################# RESET and Semantic ###################*/


:root {
	--color-primary: #335678;
/*	--color-primary: rebeccapurple;*/
	--color-primary-variant: #705889;
	--color-secondary: #122a57;
	--color-secondary-variant: #1b3769;
	--color-black: #575757;
	--color-light: rgba(249 250 251 / 80%);
	--color-light-variant: #e9e6e3;
	--color-dark: #304d9b;
	--color-white: #fff;
	--color-black: #000f37;
	--color-gold: -webkit-linear-gradient(220.55deg,#fadd76,#9f3311);

	--color-danger: #ff7782;
	--color-warning: #ffbb55;
	--color-info-dark: #7d8da1;
	--color-info-light: #dce1eb;
	--color-black: #363949;
	--color-black-variant: #677483;

	--section-padding: 3rem;

	--card-border-radius: 0.3rem;
	--border-radius-sm: 0.4rem;
	--border-radius-md: 0.8rem;
	--border-radius-lg: 1.2rem;

	--card-padding: .8rem;
	--padding-1: 1.2rem;

	--box-shadow: 0 1rem 2rem var(--color-light-variant);


	--sm-font-size: 0.78rem;
}

.copy {
	cursor: pointer;
	font-size: 14px;
	color: var(--color-primary);
}

html {
	scroll-behavior: smooth;
}
html, body{
    height: 100%;
    width: 100%;
/*    background: var(--color-primary);*/
}

body {
	margin: 0;
	padding: 0;
	color: var(--color-black);
	font-family: "Nunito", sans-serif;
}

.font-serif {
	font-family: serif !important;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	text-decoration: none;
	list-style: none;
	outline: none;
	border: none;
	position: relative;
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1;
}
h1 {
	font-size: 3.6rem;
	color: var(--color-black);
}

h2 {
	font-size: 2rem;
	font-weight: 800;
}

h3 {
	font-size: 1.6em;
	font-weight: 500;
}

h4 {
	font-size: 1em;
	font-weight: 500;
}

h5 {
	font-size: 0.8em;
	font-weight: 500;
}

canvas {
	max-width: 100%;
  max-height: 198px;
}

small {
	font-size: var(--sm-font-size);
}

hr {
	border: 1px inset rgba(0 0 0 / 20%);
	margin-bottom: 0.6rem;
}

p {
	margin: 2px 0;
}

::-webkit-scrollbar {
	width: 4px;
	height: 4px;
}

::-webkit-scrollbar-track {
	background: #f1f1f1;
	box-shadow: inset 0 0 5px grey;
}

::-webkit-scrollbar-thumb {
	background: var(--color-primary);
	border-radius: 4px;
}

::placeholder {
	opacity: 1;
	font-size: 0.76rem;
	font-family: inherit;
	color: currentColor !important;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.swal-text {
	text-align: center;
	color: var(--color-black);
}

/* Firefox */
input[type=number] {
	-moz-appearance: textfield;
}


/*################### General Class ###############*/

.section {
	max-width: 100vw;
	padding: var(--section-padding);
}

#wrapper {
	min-height: 100vh;
	position: relative;
}

.d-block {
	display: block;
}

.wrap {
	flex-wrap: wrap;
}

.d-none {
	display: none;
}

.cl-light, .text-light {
	color: var(--color-light) !important;
}

.cl-white, .text-white {
	color: var(--color-white);
}

.text-dark {
	color: var(--color-dark) !important;
}
.text-success {
	color: var(--color-secondary);
}

.text-danger {
	color: var(--color-danger);
}

.text-muted {
	color: var(--color-black-variant);
}

.text-warning {
	color: var(--color-warning);
}
.text-primary {
	color: var(--color-primary) !important;
}
.text-primary-2 {
	color: var(--color-primary-variant);
}
.text-bold {
	font-weight: 500;
}
.text-bolder {
	font-weight: 700;
}
.first-cap:first-letter {
	text-transform: uppercase;
}

.f-sm {
	font-size: var(--sm-font-size);
}

.container {
/*	max-width: 700px;*/
	padding: 0;
}

.hidden {
	overflow: hidden;
}


.nav.nav-tabs .nav-link{
	min-width: 150px;
	text-align: center;
}
.nav.nav-tabs .nav-link.active {

/*	color: var(--color-secondary);*/
}


a {
	color: var(--color-black);
	font-weight: 300;
}
a:not(a.btn){
	transition: all 0.3s;
}
a:hover:not(a.btn) {
	color: var(--color-primary);
}

img {
	width: 100%;
}

.avatar {
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
	object-fit: cover;
}

/*==================== BUTTONS ========================*/
.btn:hover {
/*	background: currentColor;*/
}
.btn {
	border-radius: 4px;
	box-shadow: 0px 2px 10px rgba(0 0 0 / 5%) !important;
	cursor: pointer;
	border: none;
}
a.no-underline {
	text-decoration: none;
}

.btn.w-100 {
	display: block;
	padding: 1rem;
}
.btn-primary {
	background: var(--color-primary);
	color: var(--color-white);
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
	background: var(--color-primary);
}

.bg-primary {
	background: var(--color-primary) !important;
}

.bg-secondary {
	background: var(--color-secondary) !important;
}

.bg-secondary-2 {
	background: var(--color-secondary-variant) !important;
}
.bg-dark {
	background: var(--color-secondary-variant) !important;
}

/*.bg-dark {
	background: var(--color-black) !important;
}*/

.bg-dark-2 {
	background: var(--color-black) !important;
}
.bg-dark-3 {
	background: #333 !important;
}

.bg-danger {
	background: var(--color-danger) !important;
}

.bg-light {
	background: var(--color-light);
}

.bg-success {
	background: var(--color-secondary) !important;
}

.bg-white {
	background: var(--color-white);
}
.bg-gold {
	background: var(--color-gold) !important;
}

/*############ SWAL Alert RESET ############*/
.swal-modal {
	background: var(--color-primary);
	/*width: 400px;*/
}
.swal-text {
	color: var(--color-light);
}
.swal-icon--success:before, .swal-icon--success__hide-corners, .swal-icon--success:after {
	background: transparent;
}
.swal-icon:first-child {
	margin-top: 10px;
}
.swal-text:last-child {
	margin-bottom: 20px;
}


/*==================== FORMS ========================*/
/*select {
	-moz-appearance: none;
	-o-appearance: none;
	appearance: none;
}
select::after {
	position: absolute;
	top: 0;
	right: 0;
	background: red;
	width: 20px;
	height: 20px;
}*/

label {
	font-size: 1rem;
	display: inline-block;
}
label.important::after {
	content: '*';
	color: var(--color-danger);
	text-align: center;
	margin-left: 4px;
}

label:first-letter {
	text-transform: uppercase;
}

textarea {
	resize: none;
	font-family: inherit;
}

.form-group {
	margin: 1rem 0;
}
.form-header {
	min-height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-primary);
	clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}
.nowrap {
	flex-wrap: nowrap;
}
.form-control {
	box-shadow: 0 0 0 0.3px var(--color-primary) !important;
	border: none;
	outline: none;
}
/* Group input */
.input-group {
	box-shadow: 0 0 0 0.9px rgba(0 0 0 / 5%); !important;
	border-radius: 4px;
	transition: all 0.3s;
}
.input-group .form-control {
	box-shadow: none !important;
	padding: 16px;
}
.input-group .form-control:focus {
	box-shadow: none !important;
}
.input-group .input-group-text {
	border: none;
	outline: none;
	background: white;
}

.input-group:hover, .input-group.active, .form-control.active {
	box-shadow: 0 0 0 0.3px var(--color-primary) !important;
}

.input-group.active-2 {
	box-shadow: 0 0 0 2px var(--color-secondary) !important;
}

.form-control:focus {
	box-shadow: 0 0 0 0.08rem var(--color-primary) !important;
}

input[readonly]{
	color: white;
}
input[readonly]:focus {
	outline: none !important;
	background: #e9e6e3;
}
.form-control-lg {
/*	padding: 1rem;*/
}


/*==================== CARD ========================*/
.card {
	background: var(--color-white);
	padding: var(--card-padding);
	border: none;
	border-radius: var(--card-border-radius);
	box-shadow: var(--box-shadow);
	margin-bottom: 1.4rem;
}
.border-none {
	border-radius: 0;
}

.card-body {
    flex: 1 1 auto;
    padding: 1rem 0.3rem;
}

.card.h-100 {
	height: calc(100% - 1.4rem) !important;
/*	height: calc(100%) !important;*/
}
.card.no-shadow, .no-shadow {
	box-shadow: none !important;
}

/*==================== LENGTHS ========================*/
.mw-400 {
	max-width: 400px;
}

.mw-500 {
	max-width: 500px;
}

.mw-600 {
	max-width: 600px;
}

.mw-700 {
	max-width: 700px;
}

.mw-800 {
	max-width: 800px;
}

.m-auto {
	margin-inline: auto;
}

.mh-100 {
	min-height: 100vh;
}


/*================ SIGN UP and LOGIN ===============*/
.signup {
/*	background: url('https://images.pexels.com/photos/920382/pexels-photo-920382.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') no-repeat fixed center;*/
	background-size: cover;
	align-items: flex-end;
	justify-content: center;
	position: relative;
}



/*==================== DASHBOARD ========================*/
#dash__wrapper {
	display: grid;
	grid-template-columns: 0 100%;
	overflow: hidden;
}
#open-nav {
	position: fixed;
	bottom: 4px;
	right: 0;
	z-index: 1;
	margin: 1rem;
	height: 40px;
	width: 40px;
	border-radius: 50%;
	text-align: center;
	color: var(--color-black);
	padding: 0 !important;
}
#open-nav i {
	font-weight: bolder;
}

#main {
	padding: 1rem;
/*	padding-bottom: 5rem;*/
}

#main .card h5 {
	font-weight: 500;
}

#aside {
	height: 100vh;
	overflow: hidden;
}
.sidebar {
	position: fixed;
	left: 0;
	height: 100%;
	overflow: hidden;
	overflow-y: auto;
	width: 0;
	z-index: 6;
	transition: width 0.21s;
	white-space: nowrap;
	background: white;
	padding: 0;
	box-shadow: var(--box-shadow);
}

.sidebar.active {
	width: 16rem;
}

.sidebar .inner {
	margin-top: 20%;
}
.sidebar a {
	font-size: 1rem;
	display: flex;
	gap: 1rem;
	align-items: center;
	position: relative;
	transition: all 0.3s ease;
	color: var(--color-light);
	text-decoration: none;
	margin: 2% 0;
	padding: 12px;
}
.sidebar a span {
/*	font-size: 13px;*/
}
.sidebar a span:first-letter {
	text-transform: uppercase;
}
.sidebar a i {
	font-size:;
}
.sidebar a:hover, #link-active {
/*	background: var(--color-black);*/
    color: var(--color-white) !important;
}

.tradingview-widget-copyright, .label-dzbd7lyV.snap-dzbd7lyV.end-dzbd7lyV {
	display: none !important;
}


/*==================== QUERIES ========================*/
/* Big screens */
@media screen and (min-width: 1020px){
	#dash__wrapper {
		grid-template-columns: 16rem auto;
	}
	.sidebar {
		width: 16rem;
	}
	.aside-toggle, #back-btn {
		display: none;
	}
}


/* Preloader */
#preloader {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: var(--color-black);
	z-index: 99;
	color: var(--color-primary);
	font-size: 80px;
}
#preloader.off {
	transition: all 1s;
	opacity: 0;
	visibility: hidden;
	z-index: -0;
}

.inner-2 {
	gap: 1rem;
	margin: 2% 0 0 0;
	box-shadow: 0 0 5px rgba(0 0 0 / 8%);
	border-radius: 4px;
	padding: 1rem;
}

.container {
  z-index: 2;
  position: relative;
}

.border-top {
  border-top: 1px solid #f2f2f2 !important;
}

.border-bottom {
  border-bottom: 1px solid #f2f2f2 !important;
}



/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  padding: 5rem 0 2.5rem 0;
}

.footer h3 {
  font-size: 18px;
  margin-bottom: 40px;
  color: var(--color-black-variant);
}

.footer ul li {
  margin-bottom: 10px;
}


.bg-none {
	background: none !important;
}



/*############## DATATABLE ####################*/
.dataTable-wrapper.no-header .dataTable-container {
	border-top: 1px solid #d9d9d9;
}


.dataTable-top,
.dataTable-bottom {
	padding: 8px 10px;
	padding-left: 0;
}

.dataTable-top > div:first-child,
.dataTable-bottom > div:first-child {
	float: left;
}

.dataTable-top > div:last-child,
.dataTable-bottom > div:last-child {
	float: right;
}

.dataTable-input {
	padding: 6px 12px;
	width: 150px;
	border-radius: 4px;
	box-shadow: 0 0 0 2px var(--color-primary);
}

.dataTable-info {
	margin: 7px 0;
}


.dataTable-pagination a {
	border: 1px solid transparent;
	float: left;
	margin-left: 2px;
	padding: 6px 12px;
	position: relative;
	text-decoration: none;
	color: #333;
}

.dataTable-pagination a:hover {
	background-color: #d9d9d9;
}

.dataTable-pagination .active a,
.dataTable-pagination .active a:focus,
.dataTable-pagination .active a:hover {
	background-color: #d9d9d9;
	cursor: default;
}

.dataTable-pagination .ellipsis a,
.dataTable-pagination .disabled a,
.dataTable-pagination .disabled a:focus,
.dataTable-pagination .disabled a:hover {
	cursor: not-allowed;
}

.dataTable-pagination .disabled a,
.dataTable-pagination .disabled a:focus,
.dataTable-pagination .disabled a:hover {
	cursor: not-allowed;
	opacity: 0.4;
}

.dataTable-pagination .pager a {
	font-weight: bold;
}

/* TABLE */

table {
	margin-bottom: 0 !important;
}
table::scrollbar {
	width: 4px;
}
td {
	word-wrap: break-word;
	white-space: nowrap;
}
tbody td {
	font-size: 12px;
}
.table>:not(:first-child){
	border-top: none;
}

.dataTable-table {
	max-width: 100%;
	width: 100%;
	border-spacing: 0;
	border-collapse: separate;
}


.dataTable-table > tfoot > tr > th {
	vertical-align: bottom;
	text-align: left;
	border-top: 1px solid #d9d9d9;
}

.dataTable-table th {
	vertical-align: bottom;
	text-align: left;
}

.dataTable-table th a {
	text-decoration: none !important;
	color: inherit;
}

.dataTable-sorter {
	display: inline-block;
	height: 100%;
	position: relative;
	width: 100%;
	text-decoration: none;
	color: var(--color-light)  !important;
}

.dataTable-sorter::before,
.dataTable-sorter::after {
	content: "";
	height: 0;
	width: 0;
	position: absolute;
	right: 4px;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	opacity: 0.2;
}

.dataTable-sorter::before {
	border-top: 4px solid #000;
	border-top: 4px solid var(--color-light);
	bottom: 0px;
}

.dataTable-sorter::after {
	border-bottom: 4px solid #000;
	border-bottom: 4px solid var(--color-light);
	border-top: 4px solid transparent;
	top: 0px;
}

.asc .dataTable-sorter::after,
.desc .dataTable-sorter::before {
	opacity: 0.6;
}

.dataTables-empty {
	text-align: center;
}

.dataTable-top::after, .dataTable-bottom::after {
	clear: both;
	content: " ";
	display: table;
}

.dataTable-dropdown {
	display: inline-flex;
	align-items: center;
}

.dataTable-dropdown label {
	white-space: nowrap;
	display: none;
/*	margin-left: 15px;*/
}