.estadocuenta-saldomayoracupo{
	background-color: antiquewhite !important;
}

/** info icon - primefaces icons */
body .ui-button.ui-button-text-only .ui-button-text{
	padding: .3em 1em;
}

body .ui-button.ui-state-hover .button.button-primary:hover, button.button-primary:hover, input[type="submit"].button-primary:hover,
	input[type="reset"].button-primary:hover, input[type="button"].button-primary:hover{
	color: #FFF;
	background-color: #f3802b;
	border-color: #db781e;
	box-shadow: 0 2px #9a4100;
}

body .ui-button{
	transition: none;
}

.multifilter-icon{
	font-size: 1.1rem !important;
	padding-left: 5px;
}

/** omnifaces error highlight - similar styles to '.form-control.invalid' on boostrap */
input.error, select.error, textarea.error {
	border-bottom-color: #dc3545 !important;
}

td:has(input.error) {
  color: red;
}

/** status-dialog */
.status-dialog {
	box-shadow: none !important;
}

.ui-dialog.status-dialog {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
}

.ui-dialog.status-dialog .ui-dialog-content {
	background: transparent;
	padding-top: 30px;
	box-shadow: none;
}

/** center prime dialogs */
.centered-dialog {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
}


.no-bg-button,
.no-bg-button.ui-button {
    background: 
transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: inherit !important;
}

/** give more space to some br to fields with blank label */
.br-label{
	line-height: 27px;	
}

.section_title {
	cursor: pointer;
}

.buttonadd_right {
	float: right;
	margin-top: 0px !important;
}

.mail_label {
	font-weight: bold;
}

.button-active.ui-state-active {
	background-color: mediumseagreen !important;
	border-color: mediumseagreen !important;
}

/** bootstrap-ext*/
.dropdown-menu {
	--bs-dropdown-min-width: 5rem;
}
	
.form-label-ext{
	display: block;
}

.form-control-readonly{
	display:block;
	width:100%;
}

/** bootstrap */
.form-label {
	margin-bottom: 0.2rem;
}

.btn-primary {
	background-color: steelblue !important;
	border-color: steelblue !important;
	color: white !important;
}

.alert {
	display: block;
	padding: 0.4em 1rem;
}

/** for required validation messages - omnifaces */
.invalid-feedback-custom {
	width: 100%;
	margin-top: .25rem;
	font-size: .9em;
	color: #dc3545;
	display: block;
}

/** -- */

/** primefaces */
.ui-datagrid-content {
	border: 0px !important;
	padding: 0px !important;
	background: none !important;
}

.ui-panelgrid .ui-panelgrid-cell {
	padding: 0.5rem !important;
	background: none !important;
}

.ui-inputfield, .ui-widget-content .ui-inputfield, .ui-widget-header .ui-inputfield
	{
	border: 1px solid #ced4da !important;
	-webkit-box-shadow: inset 0 0px 0px #8f8f8f !important;
	box-shadow: inset 0 0px 0px #8f8f8f !important;
}

body .ui-inputfield.ui-state-error {
	border-bottom-color: #dc3545 !important;
}

body .ui-widget{
	font-family: "Open Sans Condensed",sans-serif;
    color: #333;
    font-size: 14px;
    line-height: 20px;
}


/** growl messages */
.ui-growl {
	width: auto;
}

body .ui-growl .ui-growl-item-container{
	border-width: 0 0 0 3px !important;
}

body .ui-growl .ui-growl-item-container.ui-growl-info{
	background: #d1e7dd !important;
	color: #0f5132 !important;
	border: 1px solid #badbcc;
}

body .ui-growl .ui-growl-item-container.ui-growl-info .ui-icon{
	color: #0f5132 !important;
}

body .ui-growl .ui-growl-item-container .ui-growl-item{
	padding: 6px 25px 6px 20px !important;
	min-height: 30px !important;
}

.ui-growl-message {
	width: auto;
}

.ui-growl-image {
	display:none !important;
	font-size: 1.5rem !important;
}


/* Checkboxes p:selectmanycheckbox */
body .ui-chkbox .ui-chkbox-box .ui-chkbox-icon.ui-icon-check{
	display:none;
}

body .ui-chkbox .ui-chkbox-box{
	border-radius: .25em;
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(0,0,0,.25);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;	
}
body .ui-chkbox .ui-chkbox-box.ui-state-active{
	background-color: #0d6efd;
    border-color: #0d6efd;
	background-image: url(../images/check-icon.svg);
}
body .ui-chkbox .ui-chkbox-box.ui-state-active.ui-state-hover{
	background: #0d6efd;
	background-image: url(../images/check-icon.svg);
}
.ui-selectmanycheckbox label{
	margin: 0;
}
/** end primefaces */


/* Checkboxes h:selectmanycheckbox */
/** copy from bootstrap form-check-input */
.manycheckbox input{
	border-radius: .25em;
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(0,0,0,.25);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
}

.manycheckbox input:checked[type=checkbox]{
	background-color: #0d6efd;
    border-color: #0d6efd;
	background-image: url(../images/check-icon.svg);
}

.manycheckbox input:invalid{
	border-color: #dc3545;
}

.manycheckbox label {
	margin-left: 10px;
}


/** datatables */
.datatable {
	width: 100%
}

.datatableHeader {
	height: 42px;
	text-align: left;
	background: none repeat scroll 0 0 #EAE9E4;
	padding-left: 10px;
}

.datatableHeader a {
	color: black;
}

.datatable tbody tr:nth-child(even) {
	background-color: #f9f9f9;
}

.datatable tbody tr {
	color: #808080;
	height: 42px;
	border-bottom: 1px solid #ddd;
}

.datatable tbody tr td {
	padding-left: 10px;
	padding-right: 10px;
}

.datatable tbody tr td:nth-last-child(1) {
	text-align: right;
}

.datatable tbody tr:hover {
	color: #555555;
	background-color: #f5f5f5;
}
/* --- */

/* responsive tables */
@media all and (min-width: 1050px) and (max-width: 1200px) {
	/* Buttons are in last-child*/
	.datatable th:nth-child(n+8):not(:last-child), .datatable td:nth-child(n+8):not(:last-child)
		{
		display: none !important;
	}
}

@media all and (min-width: 910px) and (max-width: 1049px) {
	.datatable th:nth-child(n+7):not(:last-child), .datatable td:nth-child(n+7):not(:last-child)
		{
		display: none !important;
	}
}

@media all and (min-width: 767px) and (max-width: 909px) {
	.datatable th:nth-child(n+6):not(:last-child), .datatable td:nth-child(n+6):not(:last-child)
		{
		display: none !important;
	}
}

@media all and (min-width: 600px) and (max-width: 766px) {
	.datatable th:nth-child(n+5):not(:last-child), .datatable td:nth-child(n+5):not(:last-child)
		{
		display: none !important;
	}
}

@media all and (min-width: 400px) and (max-width: 599px) {
	.datatable th:nth-child(n+4):not(:last-child), .datatable td:nth-child(n+4):not(:last-child)
		{
		display: none !important;
	}
}

@media all and (min-width: 200px) and (max-width: 399px) {
	.datatable th:nth-child(n+3):not(:last-child), .datatable td:nth-child(n+3):not(:last-child)
		{
		display: none !important;
	}
}
/* --- */


.navbar-expand-lg .navbar-collapse{
	margin-left: 20px !important;
}


/** bootsrap menu mouseover */
@media all and (min-width: 992px) {
	.navbar .nav-item:hover .dropdown-menu {
		display: block;
	}
	.navbar .nav-item .dropdown-menu {
		margin-top: 0;
	}
}


/** loader */
.loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-block;
  border-top: 3px solid #FFF;
  border-right: 3px solid transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
} 