/* ----GENERALI----- */
.swal2-icon.swal2-question,
.swal2-icon.swal2-warning,
.swal2-icon.swal2-info {
	font-size: unset;
}

h4.card-title {
	margin-bottom: 0.5rem;
	margin-top:    0;
}

/* The switch - the box around the slider */
.switch {
	position: relative;
	display:  inline-block;
	width:    60px;
	height:   34px;
	float:    right;
}

/* Hide default HTML checkbox */
.switch input {
	display: none;
}

/* The slider */
.slider {
	position:           absolute;
	cursor:             pointer;
	top:                0;
	left:               0;
	right:              0;
	bottom:             0;
	background-color:   #ccc;
	-webkit-transition: .4s;
	transition:         .4s;
}

.slider:before {
	position:           absolute;
	content:            "";
	height:             26px;
	width:              26px;
	left:               4px;
	bottom:             4px;
	background-color:   white;
	-webkit-transition: .4s;
	transition:         .4s;
}

input.default:checked + .slider {
	background-color: #444;
}

input.primary:checked + .slider {
	background-color: #2196F3;
}

input.success:checked + .slider {
	background-color: #8bc34a;
}

input.info:checked + .slider {
	background-color: #3de0f5;
}

input.warning:checked + .slider {
	background-color: #FFC107;
}

input.danger:checked + .slider {
	background-color: #f44336;
}

input:focus + .slider {
	box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform:     translateX(26px);
	transform:         translateX(26px);
}

/* Rounded sliders */
.slider.round {
	border-radius: 34px;
}

.slider.round:before {
	border-radius: 50%;
}

input.error {
	border:      1px solid red;
	font-weight: 100;
	color:       red;
}

select.error {
	border:      1px solid red;
	font-weight: 100;
	color:       red;
}

label.error {
	position:    absolute;
	top:         -10%;
	width:       80%;
	left:        20%;
	color:       red;
	font-size:   15px;
	font-weight: bold;
	display:     block;
	margin-top:  5px;
	text-align:  right;
}

input.form-control.input {
	background-color: #ffffff;
	color:            #000000;
	cursor:           pointer;
}

body, .card label {
	color: #000000;
}

.card label {
	font-size:     16px;
	margin-bottom: 5px;
	color:         #212121;
	font-weight:   bold;
}

.footer {
	padding: 0 !important;
}

.card label {
	font-size:     16px;
	margin-bottom: 5px;
	color:         #212121;
	font-weight:   bold;
}

span.caret {
	display:  none !important;
	overflow: hidden !important;
}

.btn.piccolo {
	min-width: 0;
	width:     30px;
	height:    30px;
}

select.form-control {
	height: calc(1.9rem + 2px) !important;
}

.form-group .form-control, .input-group .form-control {
	padding: 6px 10px;
}

textarea.form-control {
	padding: 3px 5px 3px 1px;
}

.table select {
	height: calc(1.85rem + 2px) !important;
}

.table td {
	vertical-align: middle !important;
}

h4.card-title {
	margin-top: 0;
}

/*
 *	test per avere meno padding sopra ai pulsanti sopra alla kendogrid,
 *  ovviamente modifica tutte le pagine, controllare
 */
.main-panel > .content {
	padding:    0 30px 30px;
	min-height: calc(100vh - 123px);
	margin-top: 70px;
}

.navbar {
	padding-bottom: 0.2rem;
}

.navbar.navbar-absolute {
	padding-top: 0.2rem;
}

.navbar .navbar-nav > a.btn.btn-icon {
	height:    2rem;
	min-width: 2rem;
	width:     2rem;
}

.tooltip-inner {
	padding: 1px 0;
}

/* ----------------- */

.bootstrap-table .btn-group:last-child .btn {
	margin:                     0;
	border-top-right-radius:    3px !important;
	border-bottom-right-radius: 3px !important;
}

/* Hover riga tabella */
.table-hover > tbody > tr:hover {
	background-color: #e0e0e0;
	z-index:          999999;
}

tr.selected td {
	background-color: #a8a8a8 !important;
}

/* Tabelle */
table {
	overflow-y: auto;
	height:     60px;
	font-size:  12px;
}

.fixed-table-loading span.loading-text {
	font-size: 20px !important;
}

.fixed-table-container thead th {
	padding: 2px !important;
}

.fixed-table-pagination div.pagination,
.fixed-table-pagination .pagination-detail {
	margin-top:    0;
	margin-bottom: 0;
}

table th {
	position:         sticky;
	top:              0;
	z-index:          1;
	background-color: #212121;
	font-size:        12px !important;
}

table thead {
	background-color: #212121;
	color:            white;
}

table td {
	padding:        1px 3px !important;
	white-space:    nowrap;
	vertical-align: middle !important;
}

table .btn.btn-icon .nc-icon {
	font-size: 0.75rem !important;
}

table .btn.btn-icon {
	height:    20px;
	min-width: 0;
	width:     20px;
}

table .filter-control input {
	font-size: 10px;
	padding:   .1rem .5rem;
	height:    20px;
}

.table select {
	font-size: 10px;
	height:    calc(1.34rem + 2px) !important;
	padding:   .3rem .45rem;
}

.fixed-table-body {
	max-height: 700px;
}

.fixed-table-container thead th .th-inner {
	padding:     3px 17px 3px 3px;
	line-height: 18px;
}

tr.groupBy > td {
	padding-left:     25px !important;
	font-weight:      bold;
	background-color: #212121;
	color:            white;
}

/* Bottoni nav-bar (sopra tabelle) */

.btn.sopra-tabella {
	margin:  0 3px 5px;
	padding: 4px 14px;
}

/* ------------------------------ */

/* -------- TABELLE DI PRODUZIONE -------- */
table.produzione {
	font-size: 14px;
}

table.produzione .btn.btn-icon {
	height: 25px;
	width:  25px;
}

table.produzione .btn.btn-icon .nc-icon {
	font-size: 1rem !important;
	color:     white;
}

/* --------------------------------------- */

.ui-menu {
	width:      150px;
	height:     200px;
	overflow-x: hidden;
	overflow-y: scroll;
	z-index:    100 !important;
	position:   fixed !important;
}

/* --------------------------------------- */
/* Tabelle e pulsanti in pianificazione */
/*.pianificazione thead{*/
/*background-color: #212121;*/
/*color: white;*/
/*}*/

.pianificazione .fixed-table-body {
	max-height: 400px;
}

.pianificazione .led-box {
	height: auto;
}

.pianificazione .led-red, .pianificazione .led-green {
	width:  16px;
	height: 16px;
}

/* ------------------------- */

/* --FORM MINIMIZE-- */
.minimize {
	line-height: 1;
}

.minimize input.form-control {
	height: calc(1.65em + 2px) !important;
}

.minimize .card-title {
	margin-bottom: 0;
}

.minimize h3 {
	font-size: 1em;
}

.minimize .card label {
	font-size: 0.75em;
}

.minimize .form-control {
	border-color: #b0b0b0;
	font-size:    12px;
	padding:      .15rem .4rem;
}

.minimize select.form-control {
	height: calc(1.2rem + 2px) !important;
}

.minimize .select2-container .select2-selection--single {
	height:      23px;
	line-height: 23px !important;
	font-size:   12px;
}

.minimize .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 22px;
}

.minimize .form-check {
	margin-bottom: 0;
}

.minimize .col-md-2, .minimize .col-md-3, .minimize .col-md-4, .minimize .col-md-6, .minimize .col-md-12 {
	padding-right: 10px;
	padding-left:  10px;
}

.minimize .form-check .form-check-sign::before, .minimize .form-check .form-check-sign::after {
	width:  20px;
	height: 20px;
}

.minimize .form-check .form-check-sign::after {
	top:       -3px;
	font-size: 13px;
}

/* ------------------------- */
.bootstrap-tagsinput .tag {
	margin-right: 2px;
	color:        black;
}

/*Bottoni Customizzati*/
a.btn-sm.btn-success {
	background-color: #2DB48D;
	color:            #FFFFFF;
}

a.btn-sm.btn-success:focus, a.btn-sm.btn-success:active, a.btn-sm.btn-success:hover {
	background-color: #248766 !important;
	color:            #FFFFFF !important;
}

.btn.btn-success {
	background-color: #2DB48D;
	color:            #FFFFFF;
}

.btn.btn-success:focus, .btn.btn-success:active, .btn.btn-success:hover {
	background-color: #248766 !important;
	color:            #FFFFFF !important;
}

.btn.btn-twitter {
	background-color: #29A6EE;
	color:            #FFFFFF;
}

.btn.btn-twitter:focus, .btn.btn-twitter:active, .btn.btn-twitter:hover {
	background-color: #1a8ab9 !important;
	color:            #FFFFFF !important;
}

.btn.btn-danger {
	background-color: #DD4B39;
	color:            #FFFFFF;
}

.btn.btn-danger:focus, .btn.btn-danger:active, .btn.btn-danger:hover {
	background-color: #DD4B39 !important;
	color:            #FFFFFF !important;
}

.btn.btn-warning {
	background-color: #ffc107;
	color:            #FFFFFF;
}

.btn.btn-warning:focus, .btn.btn-warning:active, .btn.btn-warning:hover {
	background-color: #d39e00 !important;
	color:            #FFFFFF !important;
}

/* Menù di color nero */
.sidebar:after,
.off-canvas-sidebar:after,
button#minimizeSidebar,
button#minimizeSidebar:hover,
thead.thead-dark,
.table .thead-dark th {
	background: #212121;
}

/* Icona e Testo del modulo attuale di color arancione */
.sidebar .nav li.active > a[data-toggle="collapse"],
.sidebar .nav li.active > a[data-toggle="collapse"] i,
.sidebar .nav li.active > a[data-toggle="collapse"] ~ div > ul > li.active i,
.sidebar .nav li.active > a[data-toggle="collapse"] ~ div > ul > li.active > a,
.off-canvas-sidebar .nav li.active > a[data-toggle="collapse"],
.off-canvas-sidebar .nav li.active > a[data-toggle="collapse"] i,
.off-canvas-sidebar .nav li.active > a[data-toggle="collapse"] ~ div > ul > li.active i,
.off-canvas-sidebar .nav li.active > a[data-toggle="collapse"] ~ div > ul > li.active > a {
	/*color: #ef8157;*/
	color: #F5821F;
}

/* Icona e Testo degli altri moduli di color bianco e più evidente */
.sidebar .nav li > a,
.off-canvas-sidebar .nav li > a {
	opacity: 1;
	color:   #FFFFFF;
}

.singolo.active i,
.singolo.active p {
	color: #F5821F !important;
}

.collapse li.active i,
.collapse li.active span {
	color: #F5821F !important;
}

.alert.alert-success {
	background-color: #2DB48D;
}

label {
	font-size:     0.8571em !important;
	margin-bottom: 5px;
	color:         #212121;
	font-weight:   bold;
}

span.fal {
	font-size: 15px;
}

table .btn-sm {
	font-size: 1.2em;
}

.fixed-table-container .table thead th .th-inner {
	line-height: 10px;
	padding:     .5rem !important;
}

.righe-strette > thead > tr > th {
	border-left:   1px solid #ddd;
	border-right:  1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

.righe-strette {
	overflow-y: auto;
	height:     100px;
	font-size:  12px;
}

.righe-strette th {
	position:         sticky;
	top:              0;
	z-index:          1;
	background-color: #212121;
	font-size:        11px !important;
}

.righe-strette thead {
	background-color: #212121;
	color:            white;
}

.righe-strette td {
	padding:        1px !important;
	white-space:    nowrap;
	vertical-align: middle !important;
	line-height:    1 !important;
}

a {
	color: #0070ff;
}

a:hover {
	color: #0056b3;
}

.form-control {
	color: #000;
}

.bs-print {
	background-color: #66615B;
}

.bs-print:hover {
	background-color: #403D39;
}

.bs-print i::before {
	padding-right: 10px;
	font-family:   "FontAwesome", sans-serif;
}

.bs-print i::before {
	content: "\f02f";
}

/*a.btn,*/
/*button.btn {*/
/*	font-size: 1em;*/
/*}*/

.righe-strette .btn.btn-icon .nc-icon {
	font-size: 0.75rem !important;
}

.righe-strette .btn.btn-icon {
	height:    22px;
	min-width: 0;
	width:     22px;
}

.righe-strette .filter-control input {
	font-size: 10px;
	padding:   .25rem .7rem;
}

.righe-strette select {
	font-size: 10px;
	height:    calc(1.34rem + 2px) !important;
	padding:   .3rem .75rem;
}

.totale {
	overflow-y: auto;
}

.totale td {
	position: sticky;
	bottom:   0;
}

tr.selected {
	background-color: #dff2f5 !important;
}

li.selected {
	color:            black !important;
	background-color: #DFF2F5 !important;
}

.dropdown-item.active,
.dropdown-item:active,
.dropdown-item:hover .dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
	color:            black !important;
	background-color: #E0E0E0 !important;
}

.dropdown-menu.show {
	margin-top: -14px;
}

.dropdown-menu .dropdown-item:last-child {
	border-bottom-left-radius:  0;
	border-bottom-right-radius: 0;
}

.dropdown-menu .dropdown-item:first-child {
	border-top-left-radius:  0;
	border-top-right-radius: 0;
}

span.select2.select2-container {
	width: 100% !important;
}

button.fc-state-default {
	background-color: #212121;
	border:           0;
}

button.fc-state-active,
button.fc-state-default:hover,
button.fc-state-default:focus {
	background-color: #F5821F !important;
	color:            #212121 !important;
}

.bg-google {
	background-color: #DD4B39 !important;
}

.bg-dark {
	background-color: #212121 !important;
}

.testo {
	font-size: 16px;
}

.alert.alert-danger {
	background-color: #DD4B39 !important;
}

.close {
	padding:   0 !important;
	font-size: 35px;
}

.alert span[data-notify="icon"] {
	font-size:  28px;
	display:    block;
	left:       19px;
	position:   absolute;
	top:        46%;
	margin-top: -11px;
}

/* LED BOX */
.led-box {
	height: 16px;
	width:  16px;
}

.led-box p {
	font-size:  12px;
	text-align: center;
	margin:     1em;
}

.led-red {
	margin:            0 auto;
	width:             16px;
	height:            16px;
	background-color:  #F00;
	border-radius:     50%;
	box-shadow:        rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 12px;
	-webkit-animation: blinkRed 0.5s infinite;
	-moz-animation:    blinkRed 0.5s infinite;
	-ms-animation:     blinkRed 0.5s infinite;
	-o-animation:      blinkRed 0.5s infinite;
	animation:         blinkRed 0.5s infinite;
}

@-webkit-keyframes blinkRed {
	from {
		background-color: #F00;
	}
	50% {
		background-color: #A00;
		box-shadow:       rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 0;
	}
	to {
		background-color: #F00;
	}
}

@-moz-keyframes blinkRed {
	from {
		background-color: #F00;
	}
	50% {
		background-color: #A00;
		box-shadow:       rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 0;
	}
	to {
		background-color: #F00;
	}
}

@-ms-keyframes blinkRed {
	from {
		background-color: #F00;
	}
	50% {
		background-color: #A00;
		box-shadow:       rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 0;
	}
	to {
		background-color: #F00;
	}
}

@-o-keyframes blinkRed {
	from {
		background-color: #F00;
	}
	50% {
		background-color: #A00;
		box-shadow:       rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 0;
	}
	to {
		background-color: #F00;
	}
}

@keyframes blinkRed {
	from {
		background-color: #F00;
	}
	50% {
		background-color: #A00;
		box-shadow:       rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 0;
	}
	to {
		background-color: #F00;
	}
}

.led-yellow {
	margin:            0 auto;
	width:             16px;
	height:            16px;
	background-color:  #FF0;
	border-radius:     50%;
	box-shadow:        rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #808002 0 -1px 9px, #FF0 0 2px 12px;
	-webkit-animation: blinkYellow 1s infinite;
	-moz-animation:    blinkYellow 1s infinite;
	-ms-animation:     blinkYellow 1s infinite;
	-o-animation:      blinkYellow 1s infinite;
	animation:         blinkYellow 1s infinite;
}

@-webkit-keyframes blinkYellow {
	from {
		background-color: #FF0;
	}
	50% {
		background-color: #AA0;
		box-shadow:       rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #808002 0 -1px 9px, #FF0 0 2px 0;
	}
	to {
		background-color: #FF0;
	}
}

@-moz-keyframes blinkYellow {
	from {
		background-color: #FF0;
	}
	50% {
		background-color: #AA0;
		box-shadow:       rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #808002 0 -1px 9px, #FF0 0 2px 0;
	}
	to {
		background-color: #FF0;
	}
}

@-ms-keyframes blinkYellow {
	from {
		background-color: #FF0;
	}
	50% {
		background-color: #AA0;
		box-shadow:       rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #808002 0 -1px 9px, #FF0 0 2px 0;
	}
	to {
		background-color: #FF0;
	}
}

@-o-keyframes blinkYellow {
	from {
		background-color: #FF0;
	}
	50% {
		background-color: #AA0;
		box-shadow:       rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #808002 0 -1px 9px, #FF0 0 2px 0;
	}
	to {
		background-color: #FF0;
	}
}

@keyframes blinkYellow {
	from {
		background-color: #FF0;
	}
	50% {
		background-color: #AA0;
		box-shadow:       rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #808002 0 -1px 9px, #FF0 0 2px 0;
	}
	to {
		background-color: #FF0;
	}
}

.led-green {
	margin:           0 auto;
	width:            16px;
	height:           16px;
	background-color: #ABFF00;
	border-radius:    50%;
	box-shadow:       rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #304701 0 -1px 9px, #89FF00 0 2px 12px;
}

.led-blue {
	margin:           0 auto;
	width:            16px;
	height:           16px;
	background-color: #24E0FF;
	border-radius:    50%;
	box-shadow:       rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #006 0 -1px 9px, #3F8CFF 0 2px 14px;
}

.ui-widget-content {
	z-index: 99999;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin:             0;
}

.fc-toolbar {
	margin-bottom: 0;
}

.calendar h2 {
	text-transform: capitalize;
}

.btn-attivo, .btn-attivo:focus, .btn-attivo:active {
	background-color: #F5821F !important;
}

.btn-attivo:hover {
	background-color: #d77318 !important;
}

.input-group-append .btn-group-append{
	margin: 0 !important;
	line-height: 0.35em !important;
	height: auto;
}