/* ---------------------------------------------------
    GENERAL STYLE
----------------------------------------------------- */
@import "https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,300&display=swap";

:root {
	--primary-rgb: 38, 188, 187;
}

html {
	overflow-y: scroll;
}

body {
	background-color: rgba(var(--primary-rgb), 0.1);
	font-size: 0.875rem;
	font-family: 'Lato', sans-serif;
	font-weight: 300;
	min-height: calc(100vh - 4.5rem);
	background-image: url(/images/background.png);
	background-position: top;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

label.title {
	font-size: 1rem;
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	color: #4E85FF;
}

label.sub-title {
    font-size: 0.9rem;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: #000000;
}

.signin-form {
	min-width: 20%;
	margin: auto;
}

label.error
{
	color: red;
	font-style: italic;
}

.link-underline {
	font-family: 'Lato', sans-serif;
	font-size: 0.75rem;
	color: #4F5C80;
	font-weight: 300;
	letter-spacing: 0.34px;
	line-height: 22px;
	text-decoration: underline;
}

.content-div {
	margin-top: 10px;
	margin-bottom: 20px;
	margin-right: 0.5rem;
	padding: 2%;
	border-radius: 6px;
	background-color: #FFFFFF;
	box-shadow: 1px 1px 12px 0 rgba(0,0,0,0.12);
	overflow-x: auto;
}

tbody.edit-row a.btn.btn-xs {
	border: 1px solid gray;
}

.text-wrapper label {
	margin-bottom: 0;
}

.text-wrapper .text-content, .input-area {
	font-weight: 400;
	overflow-wrap: anywhere;
}

/* ---------------------------------------------------
    PROFILE EDIT
----------------------------------------------------- */
.avatar {
  vertical-align: middle;
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

/* ---------------------------------------------------
    FORM INPUT STYLE
----------------------------------------------------- */
.form-control {
	font-size: 0.875rem;
    color: #4a4a4a;
    background-color: #F5F6FA;
    padding: 0.8125rem 1rem;
    border-radius: 6px;
	box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.12);
	-webkit-box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.12);
	-moz-box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.12);
}

.control-label, .col-form-label {
	font-weight: 300;
}

select.form-control {
	padding: .375rem .75rem;
	font-family: 'Lato', sans-serif;
	border-radius: 6px;
	background-color: #F5F6FA;
	border: 1px solid #ced4da;
	font-size: 0.8rem;
}

.form-control::-webkit-input-placeholder {
	/* Chrome/Opera/Safari */
	font-style: italic;
	font-weight: 300;
	font-size: 0.80rem;
	line-height: 22px;
	letter-spacing: 0.3375px;
	opacity: 0.5px;
	color: #4F5C80;
	text-transform: initial;
}

.form-control::-moz-placeholder {
	/* Firefox 19+ */
	font-style: italic;
	font-weight: 300;
	font-size: 0.80rem;
	line-height: 22px;
	letter-spacing: 0.3375px;
	opacity: 0.5px;
	color: #4F5C80;
	text-transform: initial;
}

.form-control:-ms-input-placeholder {
	/* IE 10+ */
	font-style: italic;
	font-weight: 300;
	font-size: 0.80rem;
	line-height: 22px;
	letter-spacing: 0.3375px;
	opacity: 0.5px;
	color: #4F5C80;
	text-transform: initial;
}

.custom-file-label {
	font-weight: 300;
	font-size: 0.8rem;
	line-height: 22px;
	letter-spacing: 0.3375px;
	opacity: 0.5px;
	color: #4F5C80;
}

input[type="file"] {
   	position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.right-align-input {
	margin-left: auto;
}

/* ---------------------------------------------------
    JQUERY DATETIMEPICKER STYLE
----------------------------------------------------- */
.ui-datepicker {
	font-family: Lato;
	font-size: 0.85rem;
	background-color: #FFFFFF;
	box-shadow: 1px 1px 12px 0 rgba(0,0,0,0.12);
	-webkit-box-shadow: 1px 1px 12px 0 rgba(0,0,0,0.12);
	-moz-box-shadow: 1px 1px 12px 0 rgba(0,0,0,0.12);
}

.ui-datepicker .ui-datepicker-header {
	background-color: #FFFFFF;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
	cursor: pointer;
}

.ui-datepicker .ui-datepicker-next {
	transform: rotate(180deg);
}

.ui-datepicker .ui-widget-header .ui-icon {
    background: url(/images/buttons/arrow-left.svg) no-repeat center;
    background-size: 15px;
}

.ui-datepicker table {
	background-color: #FFFFFF;
}

.ui-datepicker .ui-widget-header {
	border: 1px solid #fff;
}

.ui-datepicker td span, .ui-datepicker td a {
    text-align: center;
}

.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
    border: 1px solid #FFFFFF;
    background-color: #FFFFFF;
    color: #000000;
    font-weight: normal;
}

.ui-widget-content .ui-state-active {
	border: 1px solid #4E85FF;
	border-radius: 6px;
	background: #4E85FF;
	color: #FFFFFF;
}

.ui-widget-content .ui-state-hover {
	border: 1px solid #4E85FF;
	color: #000000;
	border-radius: 6px;
	background: #FFFFFF;
}

.ui-widget-header .ui-state-hover {
	background: #FFFFFF;
}

/* ---------------------------------------------------
    BUTTONS STYLE
----------------------------------------------------- */
.btn.btn-submit-blue,
.btn.btn-submit-orange,
.btn-submit-gray {
  	height: 50px;
  	width: 50%;
 	border-radius: 45px;
 	border: none;
 	margin-top: 2%;
 	color: #FFFFFF;
 	font-size: 0.85rem;
	letter-spacing: 0.34px;
	line-height: 24px;
	text-align: center;
	box-shadow: 1px 1px 8px 0 rgba(0,0,0,0.2);
	-webkit-box-shadow: 1px 1px 8px 0 rgba(0,0,0,0.2);
	-moz-box-shadow: 1px 1px 8px 0 rgba(0,0,0,0.2);
}

.btn.btn-submit-blue {
	background: linear-gradient(130.93deg, #4E85FF 0%, #A9CBFF 100%);
}

.btn.btn-submit-orange {
	background: linear-gradient(138.91deg, #FF9E28 0%, #FFCE28 100%);
}

.btn.btn-submit-gray {
	background: linear-gradient(130.93deg, #959DB3 0%, #BAC5E2 100%);
}

.btn.btn-submit-gray:hover {
	color: #FFFFFF;
}

.btn.btn-dropdown-custom {
	height: 7vh;
	width: 10vw;
	border: none;
	border-radius: 6px !important;
	background: linear-gradient(130.93deg, #4E85FF 0%, #A9CBFF 100%);
	box-shadow: 1px 1px 12px 0 rgba(0,0,0,0.12);
	color: #FFFFFF;
	font-family: 'Lato', sans-serif;
	font-size: 1.0vw;
}

.btn-group .dropdown-menu {
	font-size: 1.0vw;
}

.btn.btn-primary-custom {
	color: #4E85FF;
	font-size: 0.85rem;
	width: 11em;
	height: 2.5em;
    border: 1px solid #4E85FF;
    margin: 1em;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
#sidebar {
    width: 205px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 999;
    background: #FFFFFF;
    color: #959DB3;
    transition: all 0.3s;
	overflow-x: auto;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #FFFFFF;
}

#sidebar .sidebar-header a img {
	max-width: 100%;
	height: auto;
}

#sidebar ul.components {
    padding: 20px 15px 0;
}

#sidebar ul li a,
#sidebar ul li a:hover,
#sidebar ul li a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 0.80em;
    font-weight: 400;
    display: block;
}

#sidebar ul li a img {
    padding-right: 15px;
    max-width:20%;
    height:auto;
}

#sidebar ul li a:hover {
    box-shadow: 0 0 6px rgba(35, 173, 255, 1);
   	-webkit-box-shadow: 0 0 6px rgba(35, 173, 255, 1);
	-moz-box-shadow: 0 0 6px rgba(35, 173, 255, 1);
}

#sidebar ul li.active>a {
	font-weight: 400;
    color: #000000;
}

/* ---------------------------------------------------
    TOP BAR STYLE
----------------------------------------------------- */
#topbar {
    width: calc(100% - 205px);
    padding: 0;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
    background: #FFFFFF; 
}

#topbar a,
#topbar a:hover,
#topbar a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    border: none;
    border-radius: 0;
    font-size: 0.80rem;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

#profileLink, #profileLink label {
	font-size: 0.80rem;
	cursor: pointer;
}

.navbar span.account {
	color: #4E85FF;
}

/* ---------------------------------------------------
    Container
----------------------------------------------------- */
.main-container {
	width: calc(100% - 205px);
    transition: all 0.3s;
    position: absolute;
    top: 65px;
    right: 0;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
}

/* ---------------------------------------------------
    WALLET CHART STYLE
----------------------------------------------------- */
#wallet-chart-container {
    margin-top: 10px;
    margin-bottom: 8px;
    transition: all 0.3s;
    height: 32vh;
    overflow: auto;
}

.line-chart-div, .donut-chart-div {
	padding: 5px;
	border-radius: 6px;
	background-color: #FFFFFF;
	box-shadow: 1px 1px 12px 0 rgba(0,0,0,0.12);
}

.line-chart-div {
	flex: 1 1 0;
	width: 100%;
	height: 30vh;
}

.donut-chart-div {
	flex: 1 1 0;
	width: 100%;
	height: 30vh;
}

/* ---------------------------------------------------
    DATA TABLE STYLE
----------------------------------------------------- */
.data-table-custom {
	width: 100% !important;
	border-bottom: 1px solid #ddd !important;
}

.dataTables_wrapper .dataTables_paginate {
	margin-top: 15px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
	font-weight: 300;
	color: #333 !important;
	padding: 5px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button:active,
.dataTables_wrapper .dataTables_paginate .paginate_button:focus {
	border: 1px solid #4E85FF;
	box-shadow: none;
	background: none;
	background-color: white;
	outline: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
	color: #333 !important;
}

.data-table-custom .table-header,
.data-table-custom thead {
	font-size: 0.80rem;
   	font-family: 'Lato', sans-serif;
   	color: #4E85FF;
}

.data-table-custom .sub-table-custom thead {
	color: #212529;
}

.data-table-custom td {
	max-width: 120px;
	white-space: nowrap;
	text-overflow: ellipsis;
	word-break: break-all;
	overflow: hidden;
}

.data-table-custom thead th {
	font-weight: 400;
}

.data-table-custom thead th.text-orange {
	color: #FFB428;
}

.data-table-custom .table-header tr:not(.border-bottom-none) th {
	border-bottom: 1px solid #ddd;
}

.data-table-custom thead tr:not(.border-bottom-none) th {
	border-bottom: 1px solid #ddd;
}

.data-table-custom .table-header tr.border-bottom-none th {
	border-bottom:1px solid white;
	text-align: center;
}

.data-table-custom thead tr.border-bottom-none th {
	border-bottom:1px solid white;
	text-align: center;
}

.data-table-custom tbody {
	letter-spacing: 0.5px;
	font-size: 0.80rem;
   	font-weight: 300;
   	font-family: 'Lato', sans-serif;
}

.data-table-custom .table-body {
	letter-spacing: 0.5px;
	font-size: 0.80rem;
   	font-weight: 300;
   	font-family: 'Lato', sans-serif;
}

.data-table-custom thead .sorting,
.data-table-custom thead .sorting_asc,
.data-table-custom thead .sorting_desc {
   	background : none;
}

.data-table-custom tbody tr {
	cursor: pointer;
}

.data-table-custom tbody tr td.details-expand {
	background: url('/images/buttons/bi-chevron-up.svg') no-repeat center center;
}

.data-table-custom tbody tr.shown td.details-expand {
   	background: url('/images/buttons/bi-chevron-down.svg') no-repeat center center;
}

.data-table-custom tbody tr td.details-edit {
	background: url('/images/buttons/bi-pencil.svg') no-repeat center center;
}

.data-table-custom tbody tr td.details-delete {
	background: url('/images/buttons/bi-trash.svg') no-repeat center center;
}

.sub-table-custom {
	width: 95% !important;
	margin: 10px;
	border: 1px solid gray;
}

.sub-table-custom th {
	padding: 4px;
	border-bottom: 1px solid #111;
}

.sub-table-custom .table-body {
	font-weight: 400;
}

.sub-table-custom tbody {
	font-weight: 400;
}

.sub-table-custom .table-body td {
	padding: 4px;
	border-top: 1px solid #ddd;
}

.sub-table-custom tbody td {
	padding: 4px;
	border-top: 1px solid #ddd;
}

form .data-table-custom tbody.edit-row {
	font-weight: 400;
}

form .data-table-custom tbody.edit-row tr td {
	padding: 10px;
}

/* ---------------------------------------------------
    MODAL STYLE
----------------------------------------------------- */
.modal-color-blue .modal-backdrop {
	background-color: #A9CBFF;
}

.custom-modal .modal-dialog {
	border-radius: 6px;
	box-shadow: 1px 1px 12px 0 rgba(0,0,0,0.12);
}

.custom-modal .modal-header {
    border-bottom: 1px solid #FFFFFF;
    padding: 1.2rem 2.5rem 0rem 2.5rem
}

.custom-modal .modal-body {
	padding: 0.5rem 2.5rem 0.5rem 2.5rem
}

.custom-modal .modal-header {
    border-bottom: 1px solid #FFFFFF;
    padding: 1.2rem 2.5rem 0rem 2.5rem
}

.custom-modal .modal-footer {
	padding-top: 0;
    border-top: 1px solid #FFFFFF;
}

.custom-modal .input-group-text {
	font-size: 0.8rem;
	font-style: italic;
}

body.modal-open {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

/* ---------------------------------------------------
    BOOTSTRAP TABS STYLE
----------------------------------------------------- */
.custom-tab-content {
	border-left: 1px solid #dee2e6;
	border-right: 1px solid #dee2e6;
	border-bottom: 1px solid #dee2e6;
	min-height: 50vh;
	padding: 20px 15px;
}

/* ---------------------------------------------------
    Filter Criteria
----------------------------------------------------- */
.filter-link {
    background-color: #F8F8F8;
    padding-top:10px;
    padding-bottom:10px;
    font-weight: bold;
    padding-left: 10px;
    border-radius: 6px;
}

.filter-link a {
    color:#4E85FF;	
}

.filter-link a:after {
    position: absolute;
    right: 8%;
    content: "\f178";
     font-family: FontAwesome;
    transform: rotate(-90deg);
    font-size: 10;
}

.filter-link.open a:after {
    transform: rotate(90deg);
}

/* ---------------------------------------------------
    Section
----------------------------------------------------- */
.section {
	background-color: #F8F8F8;
	padding-top:10px;
	padding-bottom:10px;
	margin-top:40px;
	border-radius: 6px;
}

.sub-section {
	background-color:#E8E8E8;
	padding-top:10px;
	padding-bottom:10px;
	margin:2px;
	border-radius:6px;
}

/* ---------------------------------------------------
    Section
----------------------------------------------------- */
.sub-header {
	color:#4E85FF;
	font-weight:bold;
}

.bottom-button-div{
	margin-left: auto;
}

