/* Used to hide default jquery validator error label */ 
label.baseErrorDisplayNone {
	display: none!important;
}

.disabled-icon {
  color: #ccc!important;
  pointer-events: none;
}

.loader {
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	height: 100%;
	width: 100%;
	z-index: 99999;
}

.element-loader {
	position: absolute;
	background-color: rgba(0, 0, 0, 0.05);
	box-shadow: inset 0 0 20px white;
}

.ui-rounded .element-loader {
    border-radius: 10px;
}

.page-loader {
	position: fixed;
	background-color: rgba(0, 0, 0, 0.2);
}

.show-hide-pwd {
	position: absolute;
	right: 8px;
	top: 0px;
	padding: 8px;
	opacity: .4;
}

.show-hide-pwd-md {
	position: absolute;
	right: 8px;
	top: 0px;
	padding: 8px;
	opacity: .4;
}

.show-hide-pwd-lg {
	position: absolute;
	right: 8px;
	top: 0px;
	padding: 16px;
	opacity: .4;
}

/* Add top margine to show/hide pwd icon if it has a label sibling */ 
label ~ .show-hide-pwd, label ~ .show-hide-pwd-md, label ~ .show-hide-pwd-lg {
    top: 32px;
}

.text-quiet {
	opacity: 0.6!important;
}

/* BASE table actions - START */

.base-table tbody tr td .base-table-actions {
	background-color: transparent;
	border: 1px solid transparent;
	display: inline-block;
	padding: 1px 5px;
	position: relative;
}

.base-table thead tr th .base-sorting {
	font-size: 1.5em;
	opacity: 0.3;
	cursor: pointer;
}

.base-table thead tr th .base-sorting.base-sorting-selected {
	opacity: 1.0 !important;
}

.ui-rounded .base-table tbody tr td .base-table-actions {
    border-radius: 0.35rem;
}

.base-table tbody tr td .base-table-actions::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	opacity: 0.25;
}

.ui-rounded .base-table tbody tr td .base-table-actions::before {
	border-radius: 0.35rem;
}

.base-table tbody tr td .base-table-actions.base-table-actions-primary::before {
	background-color: #2a4693!important;
}

.base-table tbody tr td .base-table-actions.base-table-actions-secondary::before {
	background-color: #ec1f27!important;
}

.base-table tbody tr td .base-table-actions:hover {
	color: #fff!important;
}

.base-table tbody tr td .base-table-actions.base-table-actions-primary:hover {
	background-color: rgba(36, 61, 127, 1.0)!important;
	border-color: rgba(36, 61, 127, 1.0)!important;
}

.base-table tbody tr td .base-table-actions.base-table-actions-secondary:hover {
	background-color: rgba(223, 19, 27, 1.0)!important;
	border-color: rgba(223, 19, 27, 1.0)!important;
}

.base-table tbody tr td .dropdown.no-arrow, .base-table tbody tr td .dropdown-toggle::after {
  display: none;
}

.focused-base-table-row {
	color: #2a4693;
	font-weight: bold;
}

.base-table tbody tr.focused-base-table-row td .base-table-actions.base-table-actions-primary.text-primary {
	background-color: rgba(36, 61, 127, 1.0)!important;
	color: #fff !important;
}

.base-table tbody tr.focused-base-table-row td .base-table-actions.base-table-actions-primary.text-primary:hover {
	opacity: 0.85;
}

/* BASE table actions - END */

.animation-fade-in {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
  -webkit-animation-duration: 200ms;
  animation-duration: 200ms;
  -webkit-animation-timing-function: opacity cubic-bezier(0, 1, 0.4, 1);
  animation-timing-function: opacity cubic-bezier(0, 1, 0.4, 1);
}

/* Avoid custom textTransform attributes on TextTag for placeholder text - START */ 

::-webkit-input-placeholder {
   text-transform: none;
}

:-moz-placeholder { 
   text-transform: none;
}

::-moz-placeholder {  
   text-transform: none;
}

:-ms-input-placeholder { 
   text-transform: none;
}

.inline-label {
	align-items: baseline !important;
}

/* Dialog - START */

.base-modal-open {
	overflow: hidden;
}

dialog.base-modal {
	opacity: 0;
	border: none;
	padding: 0;
	position: fixed;
	outline: 0;
	margin-top: 30px;
	background-color: transparent;
	transition:
	  opacity 0.3s ease-out,
	  transform 0.3s ease-out,
	  -webkit-transform .3s ease-out,
	  overlay 0.3s ease-out allow-discrete,
	  display 0.3s ease-out allow-discrete;
	-webkit-transform: translate(0,-50px);
	transform: translate(0,-50px);
}

dialog.base-modal .close {
	margin: -1rem -1rem -1rem auto;
	color: #000;
	font-size: 31px;
}

dialog.base-modal .close:focus {
	outline: none;
}

dialog.base-modal .base-modal-dialog {
	position: relative;
	width: auto;
	pointer-events: none;
	margin: 1.75rem auto;
	max-width: 800px;
}

dialog.base-modal .base-modal-content {
	position: relative;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-direction: column;
	flex-direction: column;
	width: 100%;
	pointer-events: auto;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 10px;
	outline: 0;
	color: #686562;
}

dialog.base-modal .base-modal-header {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: start;
	align-items: flex-start;
	-ms-flex-pack: justify;
	justify-content: space-between;
	padding: 1rem 1rem;
	border-bottom: 1px solid #dee2e6;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

dialog.base-modal .base-modal-header .close {
	padding: 1rem 1rem;
	margin: -1rem -1rem -1rem auto;
}

dialog.base-modal .base-modal-title {
	margin-bottom: 0;
	line-height: 1.5;
	font-weight: 700;
	font-size: 22px;
}

dialog.base-modal .base-modal-body {
	position: relative;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	padding: 1rem;
}

dialog.base-modal .base-modal-footer {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-pack: end;
	justify-content: flex-end;
	padding: 0.75rem;
	border-top: none;
	border-bottom-right-radius: calc(0.3rem - 1px);
	border-bottom-left-radius: calc(0.3rem - 1px);
	margin: 0.25rem;
}

dialog.base-modal:open {
	opacity: 1;
	-webkit-transform: none;
	transform: none;
}

@starting-style {
	dialog.base-modal:open {
		opacity: 0;
		-webkit-transform: translate(0,-50px);
		transform: translate(0,-50px);
	}
}

dialog.base-modal::backdrop {
	background-color: rgb(0 0 0 / 50%);
	transition:
	  display 0.3s allow-discrete,
	  overlay 0.3s allow-discrete,
	  background-color 0.3s;
}

dialog.base-modal:open::backdrop {
	background-color: rgb(0 0 0 / 50%);
}

@starting-style {
	dialog.base-modal:open::backdrop {
		background-color: transparent;
	}
}

/* Dialog - END */

/* Avoid custom textTransform attributes on TextTag for placeholder text - END */

/* Footer - START */

footer.base-footer {
  padding: 0 0 1rem 0;
  flex-shrink: 0;
}

footer.base-footer div.base-footer-content {
  line-height: 1;
  font-size: 0.8rem;
  text-align: center !important;
  color: #6c757d !important;
  margin: auto !important;
}

footer.base-footer div.base-footer-content img.base-footer-logo {
	display: block;
    width: 100%;
    max-width: 120px;
    margin: 10px auto;
}

/* Footer - END */
