/*
Theme Name: Variable Compensation
Author: Prosoft Phils
Author URL: http://prosoft-phils.com/
Description: Main CSS for Global Partials
*/


/*--------------------------------------------------------------
Main Admin Header
--------------------------------------------------------------*/
	.admin-header {
		min-height: 50px;
		background-color: var(--color-dteal);
		display: flex;
		align-items: center;
	}

		.logoutdiv {
			margin-right: 100px;
		}

		.pointer:hover {
			cursor: pointer;
		}

	.client-header {
		min-height: 50px;
		background-color: var(--color-dteal);
		display: flex;
		align-items: center;
		padding-top: 3px;
		padding-bottom: 3px;
	}

	.logout-div:hover i, .logout-div:hover button,
	.switch-div:hover i, .switch-div:hover button {
	   color: var(--color-lgray);
	}

/*----------------------------------------------------------------------
Common
----------------------------------------------------------------------*/
	button {
		border: none;
		background: none;
	}

	ul,
	h4,
	h5 {
		list-style-type: none;
		padding: 0;
		margin: 0;
	}

	p { margin: 0; }

	a i.gray:hover {
		color: var(--color-deep-blue);
	}

	a.text-danger:hover,
	a .text-danger:hover {
		opacity: .8;
	}

	.fit-content {
		width: fit-content;
	}

	/*Table*/
	table thead th,
	table thead td {
		background-color: #EBEBED;
		color: black;
	}

	.main-con-2 table.dataTable td,
	.main-con-2 table.dataTable th {
		border: 1px solid #DDE1E6;
	}

	.main-con-2 table.dataTable td {
		/* white-space: nowrap; */
	}

	.main-con-2 table td, .main-con-2 table th { padding: 6px 10px !important; }

	table.dataTable.no-footer { border-bottom: 0 !important; }

	table.dataTable tbody tr:hover { background-color: #EAEFF5; }

	.edit-td { border: none !important; }

	.no-border {
		border: none !important;
	}

	.no-bg {
		background: none !important;
	}

	.fa-pencil.gray:hover {
		color: var(--color-deep-blue);
	}

	.dataTables_wrapper .dataTables_paginate {
		padding-right: 2.2em !important;
	}

	.dataTables_wrapper .dataTables_paginate .paginate_button {
		border: none;
		margin-left: 4px;
		margin-top: 10px;
		padding: 0.15em 0.6em;
		min-height: 31.25px;
	}

	.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
	    border: none;
	    background: var(--color-deep-blue);
	}

	.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
	    background: var(--color-deep-blue);
	    color: #fff !important;
	    border: none;
	}

/*----------------------------------------------------------------------
General
----------------------------------------------------------------------*/
	.square {
		display: block;
		width: 16px;
		height: 16px;
		margin-right: 11px;
	}

	.square img {
		vertical-align: text-top;
	}

	.mb-8 { margin-bottom: 8px; }
	.mb-20 { margin-bottom: 20px; }

	.mr-10 { margin-right: 10px; }

	.p-0 { padding: 0; }
	.pr-0 { padding-right: 0; }
	.pl-0 { padding-left: 0; }
	.pb-20 { padding-bottom: 20px; }
	.pr-36 { padding-right: 36px; }
	.pr-40 { padding-right: 40px; }
	.pr-60 { padding-right: 60px; }
	.pt-100 { padding-top: 100px; }

	.w-20 { width: 20% !important; }
	.w-60 { width: 60%; }
	.w-140 { width: 140px !important; }
	.w-155 { width: 155px !important; }

	.font-14 { font-size: 14px; }
	.font-18 { font-size: 18px; }
	.font-16 { font-size: 16px; }
	.font-12 { font-size: 12px; }

	.border-right { border-right: 1px solid var(--color-lgray); }
	.border-left { border-left: 1px solid var(--color-lgray); }
	.border-bottom { border-bottom: 1px solid var(--color-lgray); }

	.align-content-center {
		display: flex;
		align-items: center;
	}

	.partials-col { display: none; }
	.partials-col.active { display: block !important; }
	
	input[type="date"].date {
		padding: 8px;
	}

	input[type="date"].form-control.is-invalid {
		background-position: right calc(1.75em + 0.1875rem) center;
	}

	.loader {
		margin-top: 150px;
		margin-bottom: 150px;
	}

	.c-tooltip {
		position: relative;
		display: inline-block;
		font-size: 14px;
	}

	.c-tooltip i {
		color: var(--color-gray);
	}
	
	.c-tooltip .c-tooltip-text {
		font-size: 14px;
		visibility: hidden;
		width: fit-content;
		background-color: #272727;
		color: #fff;
		text-align: center;
		border-radius: 6px;
		padding: 5px 10px;
		position: absolute;
		z-index: 1;
		bottom: 125%;
		left: 50%;
		margin-left: -100px;
	}
	
	.c-tooltip .c-tooltip-text::after {
		content: "";
		position: absolute;
		top: 100%;
		left: 50%;
		margin-left: -5px;
		border-width: 5px;
		border-style: solid;
		border-color: #272727 transparent transparent transparent;
	}
	
	.c-tooltip:hover .c-tooltip-text {
		visibility: visible;
	}
	
/*----------------------------------------------------------------------
Side Bar
----------------------------------------------------------------------*/
	.side-bar {
/*		min-width: 260px;
		width: 260px;*/
		background-color: #F6F7FB;
		padding-top: 32px;
		padding-bottom: 32px;
		text-align: center;
	}

		.side-bar .logo {
			max-height: 100px;
			margin: auto;
		}

	.dropdown-btn {
		display: flex;
		align-items: center;
		padding: 8px 16px 8px 32px;
		width: 100%;
	}

	.dropdown-btn i {
		margin-left: auto;
		color: var(--color-dgray);
	}

	.dropdown-btn:after {
		font-family: 'FontAwesome';
		content: '\f107';
		margin-left: auto;
		color: var(--color-dgray);
	}

	.dropdown-btn.collapsed:after {
		font-family: 'FontAwesome';
		content: '\f106';
		margin-left: auto;
		color: var(--color-dgray);
	}

	.dropdown-content ul li:hover {
		background-color: #E6EBF2;
	}

	.dropdown-content ul li button {
		width: 100%;
		text-align: left;
		padding: 8px 16px 8px 86px;
	}

	.dropdown-content ul li button:active,
	.dropdown-content ul li button.active {
		background-color: #fff !important;
		font-weight: bold;
	}

/*----------------------------------------------------------------------
Main
----------------------------------------------------------------------*/
	.admin-pg {
		min-height: calc(100vh - 50px);
	}

	.main-con {
		padding: 32px 32px 32px 16px;
		min-height: 100vh;
		width: 100%;
	}

	.main-con-1 {
		padding: 20px !important;
	}

	.main-con-2 {
		padding-top: 32px;
		padding-bottom: 32px;
	}

	.update-date {
		color: var(--color-gray);
	}

	.table-scroll-x {
		overflow-x: auto;
	}

/*----------------------------------------------------------------------
Tables
----------------------------------------------------------------------*/
table.table-single-border th {
   padding: 10px 8px;
   border: none;
   border-bottom: 1px solid #000;
   background-color: white;
}

	table.table-single-border th.invisible:last-child {
		border-bottom: none;
	}

table.table-single-border td {
	border: none;
	border-bottom: 1px solid var(--color-lgray);
}

	table.table-single-border td.btn-col {
		border-bottom: none;
	}

table.table-single-border tr:hover {
   background-color: #E6EBF2;
}

/*--------------------------------------------------------------
Debugging
--------------------------------------------------------------*/
.border {
	border: 1px solid red !important
}

/*--------------------------------------------------------------
FOOTER
--------------------------------------------------------------*/
footer {
	background: white;
	/*padding: 25px 0;*/
}

.footer-client {
	padding: 25px 0;	
}

/*--------------------------------------------------------------
MODAL
--------------------------------------------------------------*/
	.modal input[type='text']:not(.is-invalid) {
		padding: 8px;
		/*border: 1px solid #E0E0E0;
		background: none;*/
	}

/*--------------------------------------------------------------
DATEPICKER
--------------------------------------------------------------*/
	.ui-widget-header {
		border: none;
		background: none;
	}

		.ui-datepicker .ui-datepicker-prev, 
		.ui-datepicker .ui-datepicker-next {
			top: 9px;
		}

		.ui-widget-header .ui-state-hover {
			border: none;
			cursor: pointer;
			top: 9px;
		}

		.ui-widget-header .ui-datepicker-next-hover {
			right: 2px;
		}

		.ui-widget-header .ui-datepicker-prev-hover {
			left: 2px;
		}

	.ui-datepicker-calendar thead {
		background: #FAFCFE;
	}

	.ui-state-default.ui-state-active {
	    background: var(--color-deep-blue);
	}

	.ui-state-hover {
		background: #EAEFF5;
	}

	.ui-datepicker-prev span.ui-icon {
		background: url('../../plugins/fontawesome-free-6.1.1/svgs/solid/angle-left.svg');
		background-repeat: no-repeat;
		background-position: center;
	}

	.ui-datepicker-next span.ui-icon {
		background: url('../../plugins/fontawesome-free-6.1.1/svgs/solid/angle-right.svg');
		background-repeat: no-repeat;
		background-position: center;
	}

	.ui-datepicker {
		z-index: 10000 !important;
	}

	.ui-state-default,
	.ui-widget-content .ui-state-default {
		background: none;
		border: none;
		text-align: center;
	}

	.ui-state-default.ui-state-hover {
		background: #EAEFF5;
	}

	.ui-state-highlight, 
	.ui-widget-content .ui-state-highlight, 
	.ui-widget-header .ui-state-highlight {
		background: rgba(0, 103, 142, .3);
		border: 1px solid rgba(0, 103, 142, .5);
		color: rgba(0, 103, 142);
	}

	.ui-state-default.ui-state-active {
		background: var(--color-deep-blue);
		border: 1px solid rgba(0, 103, 142, .5);
		color: #fff;
	}

/*--------------------------------------------------------------
404 PAGE NOT FOUND
--------------------------------------------------------------*/
