p {
	white-space: normal;
}
a, a:focus {
	outline: none !important;
	box-shadow: none !important;
}

.logo-login {
	max-height: 45px;
	margin-bottom: 20px;
}
.help-block ul li {
	font-size: 12px;
	margin-top: 5px;
}
.navbar-brand img {
	max-height: 45px;
}

.td-avatar {
	text-align: center !important;
}
.td-avatar img {
	max-width: 50px;
	margin: 0 auto;
	border:1px solid #ddd;
	border-radius: 4px;
}

.txt-center{
	text-align:center;
}

div.btn {
	cursor: auto;
}
div.btn label {
	font-weight: 500;
	margin: 0 5px 0 0;
	cursor: pointer;
}
div.btn input[type="checkbox"] {
	margin-top: -2px;
}

.tablesaw-stack td.td-view-status {
	text-align: center;
}

.bg-deviceType-1, .btn-deviceType-1 {
	color: #fff;
	background-color: #fc4b6c;
}
.bg-deviceType-2, .btn-deviceType-2 {
	color: #fff;
	background-color: #ffbc34;
}
.bg-deviceType-3, .btn-deviceType-3 {
	color: #fff;
	background-color: #1e88e5;
}
.btn-deviceType-1:hover, .btn-deviceType-2:hover, .btn-deviceType-3:hover {
	color: rgba(255,255,255,.8);
}

.page-wrapper {
	background-color: #e6f1f5;
}
.page-titles {
	padding: 10px 15px;
}
.page-titles .breadcrumb {
	font-size: 11px;
}
.breadcrumb-item+.breadcrumb-item::before {
	padding-right: .3rem;
    padding-left: .3rem;
}
.sidebar-nav ul li.nav-small-cap {
	color:#8592ab;
}
.sidebar-nav ul li a {
	color:#667799;
}
.sidebar-nav>ul>li>a.active {
    background: #f2f2f2;
}
.sidebar-nav > ul > li > a i {
	font-weight: 400;
}
.tablesaw-sortable thead tr th {
	padding-right: 0.7em;
}
.tablesaw tbody th .btn, .tablesaw td .btn {
	margin-right: 5px;
}
[class^="icon-"], [class*=" icon-"] {
	font-weight: 600;
}
.notify .heartbit {
	border-color: #ffcc00;
}
.notify .point {
	background-color: #ffcc00;
}
.topbar .profile-pic {
	border-left: 1px solid rgba(0,0,0,.1);
}
.footer {
	font-size: 13px;
}
.footer a {
	color: #d91127;
}
.card .card-title {
	margin-bottom: 6px;
}
.card .card-subtitle {
	color: #67757c;
	line-height: 1.5em;
}
.card .card-subtitle:last-child {
	margin-bottom: 0;
}
.card#diagnosticsCont {
	margin-bottom: 0;
}

/*.card:last-child {
	margin-bottom: 0;
}*/
.tablesaw thead th, .tablesaw thead tr:first-child th {
	background-color: #d91127;
	text-transform: none;
	color: #fff;
	font-weight: 500;
	padding: .75rem;
}
td.actions > * {
	margin: 0 4px;
}
td.actions > *:first-child {
	margin-left: 0;
}
td.actions > *:last-child {
	margin-right: 0;
}
.table-striped tbody tr:nth-of-type(odd), .tablesaw tbody tr:nth-of-type(odd) {
	background-color: rgba(0,0,0,.02);
}
.table-striped tbody tr:nth-of-type(even):hover, .table-striped tbody tr:nth-of-type(odd):hover, .tablesaw tbody tr:nth-of-type(even) {
	background-color: rgba(0,0,0,.05);
}
.table .table-warning td {
	border-color: #f1dea7;
}
.modal-title {
	color: #d91127;
}


.list-details {
	width: 100%;
	float: left;
	padding: 0;
	margin: 0 0 15px;
	list-style-type: none;
}
.list-details .icon {
	font-size: 18px;
	margin-right: 5px;
	color: #d91127;
	font-weight: 400;
}
.list-details .list-label, .list-details .list-label-wide {
	min-height: 45px;
	width: 50%;
	font-weight: 600;
	color: #666;
	float: left;
	padding: 10px 0;
	border-top: 1px dashed #ddd;
}
.list-details .list-value, .list-details .list-value-wide {
	min-height: 45px;
	width: 50%;
	float: left;
	padding: 10px 0;
	border-top: 1px dashed #ddd;
}
.list-details .list-label-wide, .list-details .list-value-wide {
	width: 100%;
}
.list-details li:first-child, .list-details li:nth-child(2), .list-details .list-value-wide {
	border-top: none;
}
.list-details .list-value-wide {
	padding-top: 0;
}

.deviceData .list-details .icon {
	font-weight: 400;
}
.deviceData .list-details .list-value, .deviceData .list-details .list-value-wide, .deviceData .list-details .list-label, .deviceData .list-details .list-label-wide {
	min-height: 0;
	float: none;
	padding-top: 6px;
	padding-bottom: 6px;
}
.deviceData .list-details .list-value, .deviceData .list-details .list-value-wide {
	padding-left: 23px;
}
.deviceData .list-details .list-label, .deviceData .list-details .list-label-wide {
	padding-bottom: 0;
}
.deviceData .list-details .list-value, .deviceData .list-details .list-value-wide {
	padding-top: 0;
}
.deviceData .list-details {
	border-top: 1px dashed #ddd;
	border-bottom: 1px dashed #ddd;
	margin-bottom: 20px;
}


@media (max-width: 767px) {

	.tablesaw td, .tablesaw th {
		padding: 1em .7em;
	}
	.table-bordered td, .table-bordered th {
		border-bottom: none;
	}
	.table-bordered tbody tr:last-child td:last-child {
		border-bottom: 1px solid #dee2e6;
	}

}

.googleMap {
	width: 100%;
	min-height: 300px;
	background-color: #fff;
	border: 1px solid #ddd;
}
.gm-style .gm-style-iw {
	text-align:center;
}
.map-cloud-info {
	text-align: center;
	line-height: 1.5;
	padding: 0;
	margin: 0;
}
.map-cloud-info b {
	font-weight: 700;
}
.map-cloud-info i.mdi, .td-status i.mdi {
	font-size: 30px;
}
.map-cloud-info i.mdi-check-circle-outline, .td-status i.mdi-check-circle-outline {
	color: #24d2b5;
}
.map-cloud-info i.mdi-close-circle-outline, .td-status i.mdi-close-circle-outline {
	color: #ff5c6c;
}
.gm-style .gm-style-iw a.btn {
	margin:6px 0 0;
}
.deviceData {
	width: 300px;
	height: 100%;
	position: absolute;
	top: 0;
	right: -350px;
	background-color: #fff;
	border: 1px solid #ddd;
	padding: 20px 15px;
	-webkit-box-shadow: -5px 0px 5px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: -5px 0px 5px 0px rgba(0,0,0,0.2);
	box-shadow: -5px 0px 5px 0px rgba(0,0,0,0.2);
	transition: all 0.5s ease 0s;
	-moz-transition: all 0.5s ease 0s;
	-webkit-transition: all 0.5s ease 0s;
	-o-transition: all 0.5s ease 0s;
}
.deviceData.isLoading, .modal-body.isLoading {
	min-height: 200px;
	background-image: url(../assets/images/loader.gif);
	background-position: center;
	background-repeat: no-repeat;
}
.deviceData.opened {
	right: 15px;
}
.deviceData .mdi.mdi-close {
	color: #ccc;
	cursor: pointer;
	float: right;
}

span.toHide {
	display: none;
}
td small {
	color: #999;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
	color: #ffffff !important;
    border: 1px solid #ccc;
    background-color: #ccc;
}

h1.step-title {
	color: #d91127;
	position: relative;
}
h1.step-title > span.apice {
	position: absolute;
	display: inline-block;
	padding: 5px;
	font-size: 13px;
	line-height: 15px;
	top: -10px;
	margin-left: -15px;
}

.custom-control-label {
	padding-top: 2px;
}
.comandi-dispositivi .card, .comandi-dispositivi .card-body > * {
	transition: all 0.5s ease 0s;
	-moz-transition: all 0.5s ease 0s;
	-webkit-transition: all 0.5s ease 0s;
	-o-transition: all 0.5s ease 0s;
}
.comandi-dispositivi .card {
	border-radius:.25rem;
	border:none;
}
.comandi-dispositivi .card:hover, .comandi-dispositivi .card.selected {
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.3);
}
.comandi-dispositivi .card:hover h4.card-title, .comandi-dispositivi .card.selected h4.card-title {
	color: #d91127;
}
.comandi-dispositivi .card-body p:last-child {
	margin-bottom: 0;
}
.comandi-dispositivi .card img.img-responsive {
	max-width: 200px;
	margin: 20px auto;
}
.comandi-dispositivi .card .btn:last-child {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	text-transform: uppercase;
	font-weight: 900;
	border:none;
}
.comandi-dispositivi .card .pull-left .btn:last-child, .comandi-dispositivi .card .pull-right .btn:last-child {
	border-top-left-radius: .25rem;
	border-top-right-radius: .25rem;
}
.comandi-dispositivi .card .btn-success:last-child {
	background-color: #aaa;
}
.comandi-dispositivi .card:hover .btn-success:last-child, .comandi-dispositivi .card.selected .btn-success:last-child {
	background-color: #A5DC86;
	opacity: 1;
}
/*.comandi-dispositivi .card.selected {
	border:1px solid #88bf69;
}*/
.comandi-dispositivi .card.selected .btn-success:last-child {
	background-color: #88bf69;
}
.comandi-dispositivi .card .form-control {
	text-align: center;
	color: #333;
	border-color: #bbb;
	max-width: 350px;
	margin: 0 auto;
}
.comandi-dispositivi .card .onoffswitch {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 48;
}

.display-preview {
	text-align: center;
	border: 8px solid #193651;
	margin: 0;
}
.display-preview.display-simple {
	border:none;
}
.display-preview .display-preview-content {
	border:14px solid #fff;
	background-color: #E1E6E9;
	padding: 20px;
}
.display-preview.display-simple .display-preview-content {
	border:none;
	background-color: transparent;
	padding: 0px;
}
.display-preview .display-preview-row {
	background-color: #193651;
	margin: 0 0 20px;
	min-height: 55px;
	background-image:url(../assets/images/icons/bg-casella-display.png);
	background-repeat:repeat;
	background-position:center center;
}
.display-preview.display-simple .display-preview-row {
	margin: 0 0 5px;
	min-height: 40px;
}
.display-preview .display-preview-row:last-child {
	margin-bottom: 0;
}
.display-preview input[type="text"] {
	height: 50px;
	padding: 0 5px;
	border:none;
	text-align: left;
	font-family: "5x7_dot_matrixregular";
	font-size: 40px;
	line-height: 50px;
	color: #f7e253;
	background-color: transparent;
}
.display-preview.display-simple input[type="text"] {
	height: 35px;
	font-size: 25px;
	line-height: 35px;
}

.lamp_check-bulb {
	position: relative;
	margin: 0 auto;
	width: 27.5px;
	height: 50px;
	overflow: hidden;
	display: inline-block;
	vertical-align: middle;
    border-style: none;
}
.lamp_check-bulb img {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}
.lamp_check-bulb img:first-child {
	z-index: 2;
}

.onoffswitch {
	display: inline-block;
    position: relative;
    width: 54px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 49;
    opacity: 0;
    width: 54px;
    height: 34px;
    -webkit-appearance: none;
    cursor: pointer;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border-radius: 30px;
}
.onoffswitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.2s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left;
    width: 50%;
    height: 34px;
    padding: 0;
    line-height: 34px;
    box-sizing: border-box;
}
.onoffswitch-inner:before {
    content: "";
    padding-left: 10px;
    background-color: #27a2de;
    color: #FFFFFF;
}
.onoffswitch-inner:after {
    content: "";
    padding-right: 10px;
    background-color: #ddd;
    color: #999999;
    text-align: right;
}
.onoffswitch-switch {
    display: block;
    width: 30px;
    height: 30px;
    margin: 2px;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 20px;
    border-radius: 30px;
    transition: all 0.2s ease-in 0s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}
.form-group:last-child {
	margin-bottom: 0;
}

.mt-30 {
	margin-top: 30px;
}
.mb-20 {
	margin-bottom: 20px;
}
.ptb-20 {
	padding-top: 20px;
	padding-bottom: 20px;
}

.alert a {
	text-decoration: underline;
}
.alert.alert-success a {
	color: #155724;
}
.alert.alert-danger a {
	color: #721c24;
}
.alert.alert-warning a {
	color: #856404;
}

thead a.sorting {
	color: #fff;
}
thead a.sorting:after {
    content: "\f0dc";
    margin-left: 10px;
    font-family: fontawesome !important;
    cursor: pointer;
    color: rgba(50, 50, 50, 0.5);
}

.page-item.active .page-link {
	background-color: #d91127;
    border-color: #d91127;
}

.tableData_placeholder {
	position: relative;
}
.tableData_placeholder.loading:after {
	background-image:url("../assets/images/loader.gif");
	background-repeat: no-repeat;
	background-position: 50% 15px;
	background-color: #fff;
	display: inline-block;
	position: absolute;
	top: -50px;
	right: -30px;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,.4);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,.4);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,.4);
	content: "Aggiornamento...";
	text-align: center;
	padding: 80px 10px 10px;
	border-radius: 6px;
	font-size: 12px;
	font-style: italic;
	z-index: 99999;
}

#tableData_contents {
	background-color: #fff;
}
#diagnosticsCont #notes .card-body .form-actions {
	padding-bottom: 20px;
}
.topbar .top-navbar .navbar-nav>.nav-item>.nav-link {
	font-size: 24px;
}

@media screen and (max-width: 1199px) {

	.tablesaw:not(.tablesaw-stack) {
		min-width: 990px;
	}
	#tableData_contents {
		overflow: hidden;
		overflow-x: visible;
	}

}


@media screen and (min-width: 768px) and (max-width: 1024px) {
	#sendingStep_1 .card .card-body img {
		max-width: 60px !important;
	}
	.topbar .top-navbar .navbar-nav>.nav-item>.nav-link {
		font-size: 26px;
	}
}
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {

}
@media screen and (max-width: 767px) {
	.display .col-sm-3.col-md-3 {
		width: 30%;
	}
	.display .col-sm-9.col-md-9 {
		width: 70%;
	}
	.dataTables_filter {
		float: none;
	}
	.login-register {
		position: fixed;
	}
	.topbar .top-navbar .navbar-nav>.nav-item>.nav-link {
		padding-top:10px;
	}
}
@media screen and (max-width: 767px) and (orientation: landscape) {
	.dataTables_filter {
		float: right;
	}
	.profiles .tablesaw-stack td .tablesaw-cell-label {
		width: 50%;
	}
	.profiles .tablesaw-cell-content {
		max-width: 50%;
	}
	.profiles .td-avatar .tablesaw-cell-content {
		width: 50%;
		text-align: left;
	}
	.profiles .td-avatar .tablesaw-cell-label {
		text-align: left;
	}
}
@media screen and (max-width: 480px) {
	.tablesaw-stack td .tablesaw-cell-label {
		width: 36%;
	}
	.tablesaw-cell-content {
		max-width: 64%;
	}
	.profiles .tablesaw-stack td .tablesaw-cell-label {
		width: 50%;
	}
	.profiles .tablesaw-cell-content {
		max-width: 50%;
	}
	.profiles .td-avatar .tablesaw-cell-content {
		width: 50%;
		text-align: left;
	}
	.profiles .td-avatar .tablesaw-cell-label {
		text-align: left;
	}
}
