/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.2
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.page-overlay-txn {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: #ffffff;
	z-index: 9999; /* Ensures it stays on top of all content */

	/* Run the fade-out animation */
	animation: fadeOutOverlay 0.3s ease-in-out forwards;
}

/* 2. Define the fade-out behavior */
@keyframes fadeOutOverlay {
	0% {
		opacity: 1;
		visibility: visible;
	}
	90% {
		/* Speeds up interaction readiness right before the visual fade ends */
		pointer-events: none;
	}
	100% {
		opacity: 0;
		visibility: hidden; /* Fully hides the layer from screen readers and clicks */
	}
}

/****************************************************/

#masthead #logo a {
	color: #ce3e3e !important;
}

td {
	font-size: revert;
}

td {
	color: #333333 !important;
}

body {
	color: #333333 !important;
}

body #main a {
	color: rgb(47, 47, 218) !important;
}

body.logged-in :is(.header-nav, .sidebar-menu) li.nav-link-request-account {
	display: none;
}

#masthead .mobile-nav.nav.nav-right :is(a.primary, #boost) {
	background-color: #ce3e3e;
	font-size: 1em;
}

xxx.mobile-nav .header-button{
	position: fixed;
  right: 10px;
  top: 20px;
}

.mfp-content:has(.mobile-sidebar) {
	background-color: #ce3e3e;
}

.mobile-sidebar :is(a, #boost) {
	color: white !important;
}

.mobile-sidebar li {
	border-color: #9f2d2d !important;
	font-size: 1.3em !important;
}
.mfp-ready .mfp-close {
	color: white !important;
	opacity: 1 !important;
	mix-blend-mode: initial !important;
}
/**************************************************/

.wpDataTablesWrapper th.expand,
xxx.wpDataTablesWrapper .wdtheader {
	padding: 20px 16px !important;
	margin: 0 !important;
}
/* #this-profile-pic{
    object-fit: cover !important;
    height: 100px;
    width: 100px;
    min-width: 100px;
    object-position: center;
	aspect-ratio: 1/1;
	max-width: 1000px;
	max-height: 678px;
} */

.wpdt-c.wdt-skin-aqua .wpDataTablesWrapper table.wpDataTable > thead > tr > th,
.wpdt-c.wdt-skin-aqua .wpDataTablesWrapper table.wpDataTable thead th.sorting {
	border: none !important;
	margin: 0 !important;
}

/*
xxx#wdtscroll .wdtscroll .wpDataTablesWrapper table.scroll{
	width: 100% !important;
}
*/

/********* all wp dt *************************************/

.wpdt-c.wdt-skin-aqua .wpDataTablesWrapper table.wpDataTable tbody td,
.wpdt-c.wdt-skin-aqua
	.wpDataTablesWrapper
	table.wpDataTable
	tbody
	tr:last-child
	td {
	border-bottom-color: #f0988c;
}

.wpDataTablesWrapper table.wpDataTable > tbody > tr > th,
.wpDataTablesWrapper table.wpDataTable > tbody > tr > td.expand {
	display: revert;
	max-width: revert;
	padding-left: revert;
	padding-right: revert;
	width: auto !important;
}

.wpDataTablesWrapper table.scroll {
	width: 100% !important;
}

/*********** v2 **************************************/

#mydatatable tr:hover {
	background-color: #ce3e3e0c !important;
}

#mydatatable tr td > a {
	display: flex !important;
	justify-content: center;
	padding: 15px;
	background: #ce3f3e0d;
	border-radius: 5px;
	color: #ce3f3e !important;
	transition: all .25s ease-in-out;
	
}

#mydatatable tr:hover td > a {
	background: #ff22201f;
	text-decoration: none !important;
	border-radius: 8em;
}
#mydatatable tr:hover td > a:hover {
	background: #ce3f3e;
	color: white !important;
}

/* div.dt-processing {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  margin-left: -100px;
  margin-top: -22px;
  text-align: center;
  padding: 2px;
  z-index: 10;
} */
div.dt-processing {
	background-color: white !important;
	border-radius: 10px !important;
	border: 1px solid rgb(183, 183, 183);
}

/* gen table settings */
#this-cust-datatable-wrapper-v2 table#mydatatable {
	table-layout: fixed !important;
}

#this-cust-datatable-wrapper-v2 table#mydatatable tr > td {
	overflow-wrap: break-word !important;
}

#this-cust-datatable-wrapper-v2 table#mydatatable colgroup col {
	width: 200px !important;
}

#this-cust-datatable-wrapper-v2
	table#mydatatable
	colgroup
	col[data-dt-column="0"] {
	width: 120px !important;
}
#this-cust-datatable-wrapper-v2
	table#mydatatable
	colgroup
	col[data-dt-column="7"] {
	width: 300px !important;
}

/* master */

#this-cust-datatable-wrapper-v2 #mydatatable_wrapper {
	overflow-x: scroll !important;
}

#this-cust-datatable-wrapper-v2 #mydatatable {
	/* width: 1440px !important; */
	width: 100% !important;
}
#this-cust-datatable-wrapper-v2
	#mydatatable_wrapper
	:first-child.dt-layout-row {
	justify-content: flex-start !important;
	column-gap: 35px !important;
}
#this-cust-datatable-wrapper-v2
	#mydatatable_wrapper
	:first-child.dt-layout-row
	.dt-layout-cell {
	margin: initial !important;
}
#this-cust-datatable-wrapper-v2 div.dt-container .dt-search input {
	margin: 0 !important;
}

#this-cust-datatable-wrapper-v2 #mydatatable thead {
	background: #ce3f3e !important;
	color: white !important;
}

#this-cust-datatable-wrapper-v2
	#mydatatable_wrapper
	> .dt-layout-row:first-child
	.dt-layout-end {
	align-self: flex-start;
}

#this-cust-datatable-wrapper-v2 #mydatatable thead .dt-column-order::before {
	opacity: 0.425 !important;
}
#this-cust-datatable-wrapper-v2 #mydatatable thead .dt-column-order::after {
	opacity: 0.425 !important;
}

#this-cust-datatable-wrapper-v2
	#mydatatable
	thead
	.dt-ordering-asc
	.dt-column-order::before {
	opacity: 1 !important;
}
#this-cust-datatable-wrapper-v2
	#mydatatable
	thead
	.dt-ordering-desc
	.dt-column-order::after {
	opacity: 1 !important;
}

#this-cust-datatable-wrapper-v2
	#mydatatable
	thead
	.dt-orderable-none
	.dt-column-order {
	display: none !important;
}

#this-cust-datatable-wrapper-v2 #mydatatable_wrapper > .dt-layout-row {
	max-width: 100% !important;
}

#this-cust-datatable-wrapper-v2 #mydatatable_wrapper #this-profile-pic {
	object-fit: cover !important;
	height: 100px;
	width: 100px;
	min-width: 100px;
	object-position: center;
	aspect-ratio: 1/1;
	border-radius: 5px;
}
#this-cust-datatable-wrapper-v2 #mydatatable_wrapper .name-col-link {
	color: rgb(47, 47, 218);
}
#this-cust-datatable-wrapper-v2 #mydatatable_wrapper .name-col-link:hover {
	color: rgb(47, 47, 218);
	text-decoration: underline;
}

/* detail */

#this-cust-datatable-wrapper-v2
	#mydatatable-detail_wrapper
	table
	:is(thead, colgroup, #boost#boost) {
	display: none !important;
}
#this-cust-datatable-wrapper-v2 #mydatatable-detail_wrapper table {
	width: 600px !important;
	max-width: 80vw !important;
	background-color: white;
	border-radius: 10px;
}
#this-cust-datatable-wrapper-v2 #mydatatable-detail_wrapper #this-profile-pic {
	object-fit: cover !important;
	height: auto;
	width: 100%;
	min-width: 100px;
	object-position: center;
	aspect-ratio: 1/1;
}
#this-cust-datatable-wrapper-v2 #mydatatable-detail_wrapper table tbody > tr {
	display: flex;
	flex-direction: column;
}

@media only screen and (max-width: 48em) {
	/*************** ADD MOBILE ONLY CSS HERE  ***************/
}
