.sticky-actions th:last-of-type,
.sticky-actions td:last-of-type {
	position: -webkit-sticky;
	position: sticky;
	right: 0;
	background-color: #ffffff;
}
.sticky-actions th:last-of-type::before,
.sticky-actions td:last-of-type::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 1px;
	background-color: #dddddd;
}
.sticky-actions .table-striped > tbody > tr:nth-of-type(odd) td:last-of-type {
	background-color: #f9f9f9;
}

.em-working {
	background-image: url('../assets/img/core/loading.gif');
	background-repeat: no-repeat;
	background-size: 16px 16px;
	display: inline-block;
	width: 16px;
	height: 16px;
}

.em-working-btn {
	background-image: url('../assets/img/core/waitingrot_nera.gif');
	background-repeat: no-repeat;
	background-size: 16px 16px;
	position: absolute;
	top: 0;
	right: 0;
	margin-top: 6px;
	margin-right: 4px;
}

.em-working-btn-reverse {
	background-image: url('../assets/img/core/waitingrot_bianca.gif');
	background-repeat: no-repeat;
	background-size: 16px 16px;
	position: absolute;
	top: 0;
	right: 0;
	margin-top: 6px;
	margin-right: 4px;
}

.em-btn-actions {
	width: 130px;
}

.em-btn-actions-small {
	width: 70px;
	padding: 4px 1px 4px;
	margin-right: 5px;
}

.em-btn-dialog {
	width: 80px;
}

.em-conditional-right-alignment {
	text-align: left;
}

.em-conditional-center-alignment {
	text-align: left;
}

@media (min-width: 768px) {
	.em-conditional-right-alignment {
		text-align: right;
	}
	.em-conditional-center-alignment {
		text-align: center;
	}
}

.em-ajax-result {
	margin-top: 10px;
	margin-bottom: 10px;
}

.em-mono {
	font-family: 'Courier New', Courier, 'Lucida Sans Typewriter', 'Lucida Typewriter', monospace;
	font-style: normal;
	font-variant: normal;
	font-weight: 400;
}

.em-grid-column-sort-desc:after {
	content: ' \25bc';
}
.em-grid-column-sort-asc:after {
	content: ' \25b2';
}

.em-text-editor {
	padding: 10px;
	margin-top: 10px;
	border: 1px solid lightgray;
	border-radius: 5px;
	overflow: scroll;
	min-height: 100px;
	max-height: 400px;
	color: black;
	background-color: white;
}

.em-comp-tabella {
	width: 100%;
	margin-bottom: 5px;
}

.em-comp-icona-cella {
	width: 50px;
}

.em-comp-tabella,
.em-comp-icona-cella,
.em-comp-titolo-tabella,
.em-comp-sottotitolo-cella,
.em-comp-titolo-cella {
	background-color: transparent;
}

.em-comp-icona {
	margin-top: 5px;
	margin-bottom: 0px;
	margin-right: 10px;
	width: 50px;
}
.em-comp-titolo {
	font-size: large;
	padding-top: 20px;
	margin-bottom: 0px;
}
.em-comp-sottotitolo {
	font-size: small;
	padding-bottom: 5px;
}

.em-form-text {
	padding-top: 5px;
}

@media (max-width: 767px) {
	.em-xs-spaced {
		margin-top: 5px;
		margin-bottom: 5px;
	}
	.em-xs-spaced-top {
		margin-top: 5px;
	}
	.em-xs-spaced-bottom {
		margin-bottom: 5px;
	}
}

.em-grid-column-select-all {
	margin-left: 5px !important;
}

a.em-grid-icon-shortcut {
	display: inline-block;
	width: 28px;
	height: 28px;
	margin-left: 10px;
	margin-bottom: -3px;
	background-repeat: no-repeat;
	background-size: 100%;
}

a.em-grid-icon-excel-shortcut {
	background-image: url('../assets/img/core/excel-128.png');
}

a.em-grid-icon-csv-shortcut {
	background-image: url('../assets/img/core/csv-128.png');
}

a.em-grid-icon-pdf-shortcut {
	background-image: url('../assets/img/core/pdf-128.png');
}

div.em-top-right {
	position: absolute;
	top: 0px;
	right: 0px;
}

div.em-loading-div {
	position: fixed;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	background-image: url('../assets/img/core/loading_big.gif');
	background-repeat: no-repeat;
	background-position: center center;
	z-index: 1000;
}

div.em-screen-overlay-container {
	position: fixed;
	top: 20px;
	left: 20px;
	right: 20px;
	bottom: 20px;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1100;
	border-radius: 15px;
}

div.em-screen-overlay-area {
	position: absolute;
	top: 10px;
	left: 10px;
	right: 10px;
	bottom: 10px;
	background-color: white;
	border-radius: 10px;
	overflow: scroll;
	-webkit-overflow-scrolling: touch;
}

a.em-screen-overlay-dismiss {
	font-size: 200%;
	position: absolute;
	top: 10px;
	right: 15px;
	color: gray;
}

input.hasError {
	border-color: rgba(127, 0, 0, 0.5);
	border-width: 1px;
}

@media (max-width: 1192px) {
	.table-md-responsive {
		width: 100%;
		margin-bottom: 15px;
		overflow-y: hidden;
		overflow-x: scroll;
		border: 1px solid #142410;
	}
	.table-md-responsive > .table {
		margin-bottom: 0;
		background-color: #fff;
	}
	.table-md-responsive > .table > thead > tr > th,
	.table-md-responsive > .table > tbody > tr > th,
	.table-md-responsive > .table > tfoot > tr > th,
	.table-md-responsive > .table > thead > tr > td,
	.table-md-responsive > .table > tbody > tr > td,
	.table-md-responsive > .table > tfoot > tr > td {
		white-space: nowrap;
	}
	.table-md-responsive > .table-bordered {
		border: 0;
	}
	.table-md-responsive > .table-bordered > thead > tr > th:first-child,
	.table-md-responsive > .table-bordered > tbody > tr > th:first-child,
	.table-md-responsive > .table-bordered > tfoot > tr > th:first-child,
	.table-md-responsive > .table-bordered > thead > tr > td:first-child,
	.table-md-responsive > .table-bordered > tbody > tr > td:first-child,
	.table-md-responsive > .table-bordered > tfoot > tr > td:first-child {
		border-left: 0;
	}
	.table-md-responsive > .table-bordered > thead > tr > th:last-child,
	.table-md-responsive > .table-bordered > tbody > tr > th:last-child,
	.table-md-responsive > .table-bordered > tfoot > tr > th:last-child,
	.table-md-responsive > .table-bordered > thead > tr > td:last-child,
	.table-md-responsive > .table-bordered > tbody > tr > td:last-child,
	.table-md-responsive > .table-bordered > tfoot > tr > td:last-child {
		border-right: 0;
	}
	.table-md-responsive > .table-bordered > thead > tr:last-child > th,
	.table-md-responsive > .table-bordered > tbody > tr:last-child > th,
	.table-md-responsive > .table-bordered > tfoot > tr:last-child > th,
	.table-md-responsive > .table-bordered > thead > tr:last-child > td,
	.table-md-responsive > .table-bordered > tbody > tr:last-child > td,
	.table-md-responsive > .table-bordered > tfoot > tr:last-child > td {
		border-bottom: 0;
	}
}

.select2-container {
	height: 34px;
	-webkit-appearance: menulist-button;
	appearance: menulist-button;
	border: 1px solid #aaa;
	white-space: nowrap;
	/*padding-top: 5px !important;*/
	color: #444;
	text-decoration: none;
	border-radius: 4px;
}
