﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

.aside-full .left-sidebar {
	background-color: #3333330d;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

button:disabled {
	cursor: not-allowed;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
}
body.external {
  margin-bottom: 0px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
}

table.details tbody tr td {
  border: none;
}
table.details tbody tr td .form-group {
  margin-bottom: 0;
}

.floating-labels .d-flex label {
	position: initial;
	margin-bottom: 0;
}

/* External Login */
#external-login-container .text-info {
	margin-bottom: 32px;
}
#external-login-container.login-register {
	overflow: auto;
	padding: 5% 0;
}

.row-child-container {
	margin-bottom: 10px;
}

.row-child-container p {
	margin-bottom: 0px;
	font-weight: bold;
}

table tr td.child {
	background-color: white !important;
}

table .row-child-container.d-flex {
	display: flex !important;
}

@media screen and (max-width: 767px) {
	div.dataTables_wrapper div.dataTables_info {
		text-align: left;
		white-space: normal;
	}
}

.sidebar-nav {
	height: 100%;
	display: flex !important;
}

.sidebarnav.top {
	overflow: auto;
}

.sidebarnav.bottom {
	overflow: inherit;
	position: fixed;
	top: calc(100vh - 45px);
	background-color: white;
	width: 237px;
	height: 50px;
	padding-left: 20px;
	left: -7px;
	top: calc(-45px + 100vh);
}

.mini-sidebar .sidebarnav.bottom {
	background-color: transparent;
}

nav.sidebar-nav .sidebarnav.bottom li {
	display: flex !important;
}

nav.sidebar-nav .sidebarnav.bottom li img {
	max-width: 160px;	
}
.mini-sidebar nav.sidebar-nav .sidebarnav.bottom li img {
	max-width: 40px;
}

.sidebarnav.bottom ul {
	border-top: #8d97ad thin solid;
}

.mini-sidebar .scroll-sidebar {
	height: -webkit-calc(100% - 70px);
	height: -moz-calc(100% - 70px);
	height: calc(100% - 70px);
}

.mini-sidebar .sidebar-nav .sidebarnav.bottom > li > ul {
	bottom: 47px;
	top: unset;
}


/* Styles for expand/collapse toggle in datatables */
table.dtr-inline tr td.responsive-column > i {
	display: none;
}

/* Toggle expand/collapse display based on table state */
table.dtr-inline.collapsed tr.parent td.responsive-column i.fa-minus {
	display: inline-block;
	width: 24px;
}

table.dtr-inline.collapsed tr td.responsive-column i.fa-plus {
	display: inline-block;
	width: 24px;
}

table.dtr-inline.collapsed tr.parent td.responsive-column i.fa-plus {
	display: none;
}

table.dtr-inline.collapsed tr td:first-child {
	cursor: pointer;
}

table.dtr-inline.collapsed tr td.child:first-child {
	cursor: auto;
}

/* Badge shared styles */
table tr td.responsive-column i {
	margin-right: 10px;
	color: white;
	padding: 5px;
	border-radius: 50%;
	text-align: center;
}

	table tr td.responsive-column i.fa-plus {
		background-color: var(--primary-color);
	}

table tr td.responsive-column i.fa-minus {
		background-color: var(--primary-color);
}

table .row-child-container .wrap {
	white-space: normal;
    word-break: break-all;
}

.datatable-row-actions {
	display: flex;
	flex-wrap: wrap;
}

/* End Styles for expand/collapse toggle in datatables */

/* Styles for list of values in datatables */
table .list .list-item {
	padding: 1px 5px;
	margin-right: 8px;
	margin-bottom: 0px;
	border-radius: 5px;
	font-weight: 400;
	font-size: 12px;
}

table .list .list-item.additional, table .list .list-item i {
	font-weight: 600;
}

table .list.d-flex {
	display: flex !important;
	flex-wrap: wrap !important;
}

table .list .list-item.Gray {
	background-color: #e2e8f0;
	color: #1a202c;
}

table .list .list-item.Red {
	background-color: #feb2b2;
	color: #742a2a;
}

table .list .list-item.Orange {
	background-color: #fbd38d;
	color: #7b341e;
}

table .list .list-item.Yellow {
	background-color: #faf089;
	color: #744210;
}

table .list .list-item.Green {
	background-color: #9ae6b4;
	color: #22543d;
}

table .list .list-item.Teal {
	background-color: #81e6d9;
	color: #234e52;
}

table .list .list-item.Blue {
	background-color: #90cdf4;
	color: #2a4365;
}

table .list .list-item.Indigo {
	background-color: #a3bffa;
	color: #3c366b;
}

table .list .list-item.Purple {
	background-color: #d6bcfa;
	color: #44337a;
}

table .list .list-item.Pink {
	background-color: #fbb6ce;
	color: #702459;
}

div.dt-button-collection {
	display: flex;
	flex-wrap: wrap;
	max-width: 450px;
	width: auto;
	padding: 12px;
}

table.dtr-inline.collapsed tr td.responsive-column i + div.wrap {
	display: inline-block;
}

.buttons-colvis {
	display: none;
}

.datatable-preferences-container .buttons-colvis {
	margin-right: 8px;
}
.datatable-preferences-container .title {
	display: none;
}
/* End Styles for list of values in datatables */
/* Styles for simple pagination on datatables */
.dataTables_wrapper .dataTables_paginate.paging_simple .paginate_button:hover,
.dataTables_wrapper .dataTables_paginate.paging_simple .paginate_button {
	background-color: #242A33;
	border: none;
	padding: 2px;
}

	.dataTables_wrapper .dataTables_paginate.paging_simple .paginate_button:not(.disabled) a {
		background-color: #242A33;
		color: white;
		margin-bottom: 0;
	}

	.dataTables_wrapper .dataTables_paginate.paging_simple .paginate_button a {
		border: none;
	}
/* End Styles for simple pagination on datatables */

/* Styles for checkboxes on datatables with selection enabled */
table.dataTable tbody td.select-checkbox:before {
	margin-top: -2px;
	margin-left: -2px;
	width: 16px;
	height: 16px;
}

table.dataTable tbody td.select-checkbox {
	cursor: pointer;
	height: 21px;
}

table.dataTable tr.selected td.select-checkbox:after {
	margin-top: -4px;
	margin-left: 0;
	text-shadow: none;
	font-weight: bold;
}

table.dataTable.display tbody > tr.even.selected > .sorting_1,
table.dataTable.display tbody > tr.odd.selected > .sorting_1 {
	background-color: initial;
}

table.dataTable.display tbody > tr.even.selected,
table.dataTable.display tbody > tr.odd.selected {
	background-color: #F0F2F4
}

.table-hover tbody tr:hover {
	background: none;
}
/* End Styles for checkboxes on datatables with selection enabled */

.footer {
	line-height: initial;
}

table tr .actions {
	vertical-align: middle;
}
/*
.topbar .top-navbar .navbar-header .navbar-brand {
	padding-top: 1px;
}*/

/* Remove file styles */
.existing-file div:first-child {
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-position: center;
}

.existing-file p {
	text-align: center;
	margin-top: 8px;
	margin-bottom: 16px;
}

.download-file-btn {
	margin-top: 16px;
	width: 100%;
}

.remove-file-btn {
	position: absolute;
	top: 5px;
	right: 5px;
	background-color: #ff5c6c;
	color: white;
	border: none;
	border-radius: 50%;
	padding: 4px 8px;
	cursor: pointer;
}
/* End Remove file styles */
.account-dropdown-footer {
	padding: 8px;
	font-size: 12px;
	margin-bottom: 0px;
}

@media(max-width: 767px){
	.mini-sidebar .scroll-sidebar {
		height: 100%;
	}
	.mini-sidebar.show-sidebar .top-navbar .navbar-header {
		width: 260px;
	}
}


form.floating-labels {
	padding-top: 30px;
}

.floating-labels label.floating-none {
	position: initial;
	display: block;
	top: -28px;
}

/* Ignite Address Styles */
.ignite-address .map{
	min-height: 250px;
}
.ignite-address .input-group{
	margin-bottom: 12px;
}
.ignite-address .input-group .input-group-append{
	cursor: pointer;
}
.ignite-address .input-group i{
	margin-right: 8px;
}
.ignite-address .input-group span{
	font-size: 12px;
}
.ignite-address .address-components-container {
	padding: 12px;
	background-color: #F6F9FA;
}
.ignite-address .address-components{
	padding: 12px;
	background-color: white;
}
.ignite-address .address-components p{
	margin-bottom: 0px;
	font-weight: 700;
}
.ignite-address .address-components p span{
	margin-left: 12px;
	font-weight: normal;
}
	.ignite-address .address-components .component {
		margin-bottom: 8px;
		display: flex;
	}
.ignite-address .address-components .component label{
	margin-right: 8px;
}
.ignite-address .address-components .component input{
	border: none;
	border-bottom: #BCC2CF thin solid;
	flex-grow: 1;
}
.ignite-address .address-components .component input:read-only{
	border: none;
	background-color: #F6F9FA;
}
.ignite-address .address-components .component{
	margin-bottom: 8px;
	margin-right: 8px;
}
/* End Ignite Address Styles */
.btn.btn-primary.excel {
	background-color: #21a366;
	border-color:#21a366;
}

.select2-container {
	width: 100% !important;
}

.form-control-feedback.field-validation-error {
	color: #ff5c6c;
}

/* Ignite tree styles */
.ignite-tree .dd-item>button {
	font-size: 25px;
	height: auto;
}

.ignite-tree .dd-item .action-buttons {
	display: inline-block;
}

.ignite-tree .dd-handle {
	display: inline-block;
	border-radius: 5px;
	background: transparent;
	cursor: default;
}
.ignite-tree .dd-handle-header p {
	margin-bottom: 0;
}
.ignite-tree .dd-handle-header .action-buttons .btn {
	margin-bottom: 0;
}
.dd-handle:hover {
	color: var(--gray);
}

.ignite-tree.lazy-loading button.collapse-button {
	display: none;
}

.dd-list.dd-dragel .action-buttons {
	display: none;
}
.dd-item.dd-collapsed ol li {
	display: none;
}

.dd-list .dd-list {
	padding-left: 41px;
}

.ignite-tree .no-results {
	background-color: #F6F9FA;
	border-radius: 0.5rem;
	padding: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	margin-top: 16px;
}

.ignite-tree .no-results i {
	margin-right: 8px;
}

.ignite-tree .no-results p {
	margin-bottom: 0;
}

.dd-list .dd-list {
	min-width: 200px;
}

.ignite-tree {
	overflow: auto;
}
	.ignite-tree .btn {
		color: var(--gray);
	}
	.ignite-tree .load-children {
		color: var(--gray);
	}
	.ignite-tree .collapse-button {
		color: var(--gray);
	}

	@media (max-width: 768px) {
		.ignite-tree .dd-item .action-buttons {
		display: block;
		text-align: right;
		width: 100%;
	}

	.ignite-tree .dd-handle {
		width: calc(100% - 41px);
	}
}
/* End Ignite tree styles */

/* Swal file import purchase order styles */
.swal-file-import-errors {
	width: auto;
}

.swal-file-import-errors #swal2-content {
		max-height: 30em;
		overflow-y: scroll;
}
/* End Swal file import purchase order style */
.spinner-grow {
	color: var(--primary-color);
}

ignite-checkbox[disabled] .switchery {
	margin-left: 10px;
} 
.chat-rbox,
.chatonline {
	overflow: hidden;
}
.chatonline .card-body {
	padding: 1.25rem 1.25rem 0 1.25rem;
}
.chat-right-aside .m-b-40 {
	margin: 0;
}
.chat-right-aside .card-body {
	padding: 1.25rem 1.25rem 0 1.25rem;
}
.chat-main-box .chat-right-aside .chat-list {
	padding-top: 0 !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
	background-color: var(--primary-color);
}