/*
 * File di modifiche non riportate nel LESS
 */

 #sidebar_right {
	padding-top   : 130px;
	padding-left  : 10px;
	padding-right : 10px;
	padding-bottom: 10px;
}

.sidebar-right-content .checkbox-custom label,
.sidebar-right-content .checkbox-custom span {
	margin-right : 0;
	margin-bottom: 0;
	box-sizing   : border-box;
	display      : block;
}

/* fix margini di stampa errati */
@media print {

	body.sb-l-m #main,
	body #main {
		position   : static !important;
		margin-left: 0 !important;
		margin-top : 0 !important;
	}

	#content_wrapper,
	.sb-l-o #content_wrapper {
		position: static;
	}
}

/* fix pulsanti dropdown nascosti ibn nxt-table-p */
@media (max-width: 815px) {
	#content [nxt-table-p] .panel .panel-body {
		overflow: visible !important;
	}
}

@media screen and (max-width: 767px) {
	[nxt-table-p] .table-responsive {
		overflow: visible;
	}
}

/* Fix stili per nxt-switch  */
nxt-switch>div.switch label,
nxt-switch>label.switch span {
	background: #999999;
}

nxt-switch>div.switch input:checked+label,
nxt-switch>label.switch input:checked+span {
	background-color: #70ca63;
}

nxt-switch>div.switch input:read-only+label,
nxt-switch>label.switch input:read-only+span {
	cursor: pointer;
}

nxt-switch>div.switch input:disabled+label,
nxt-switch>label.switch input:disabled+span {
	background-color: #dddddd;
	cursor          : not-allowed;
}

nxt-switch>div.switch input:disabled:checked+label,
nxt-switch>label.switch input:disabled:checked+span {
	background-color: #b8e2b2;
	cursor          : not-allowed;
}


/* Fix stili per boostrap-select.min.less  */
.bs-searchbox .bs-actionsbox {
	padding: 0 8px 4px;
}

.bs-searchbox .form-control {
	margin-bottom: 0 !important;
	width        : 100% !important;
	float        : none !important;
}

.nav.panel-tabs.left {
	right: auto;
}

.nav.panel-tabs.left>li.active:last-child>a {
	border-right-color: #DDD;
}

.page_news .note-editable {
	border: 1px solid #D9D9D9;
}

.page_news .note-toolbar {
	margin: 0px;
	border: 1px solid #D9D9D9;
}

/* Fix padding-bottom filtro laterale */
.nano.has-scrollbar>.nano-content {
	padding-bottom: 130px;
}

label.switch.round input[type=checkbox]:disabled + span{
	cursor: not-allowed !important;
}

/* ================================== 
				FLEX
===================================== */

.d-flex{
	display: flex;
}

.d-flex-row{
	display: flex;
	flex-direction: row;
}

.d-flex-column{
	display: flex;
	flex-direction: column;
}

.justify-content-center{
	justify-content: center;
}

.align-items-start{
	align-items: flex-start;
}

.align-items-center{
	align-items: center;
}

.justify-content-between{
	justify-content: space-between;
}

.justify-content-center{
	justify-content: center;
}

.scroll-table {
    max-height: 400px;
    overflow-y: scroll;
}
