body {
	font-family: 'Roboto', sans-serif;
	color: #585858;
	font-size: 14px;
	font-weight: 400;
}

#navbar-logo {
	height: 30px;
	position: relative;
	top: -5px;
}

.top-navigation .navbar-nav > li > a,
.top-navigation .navbar-right > li > a {
	color: #fff; /*overwrites inspinia*/
}

.panel > .panel-heading {
	border-bottom: 1px solid #F4CD70;
}

.progress-mini {
	height: 7px;
}

.border-primary {
	border: 1px solid #F49537 !important;
}

.kn-datepicker {
	width: 100px;
}

.text-color-default {
	color: #000 !important;
}

.flag {
	display: inline-block;
	vertical-align: middle;
	position: relative;
	width: 30px;
	height: 30px;
}

.box-shadow--2dp {
     -webkit-box-shadow: 0 0 5px 2px #ddd;
    -moz-box-shadow: 0 0 5px 2px #ddd;
    box-shadow: 0 0 5px 2px #ddd;
}

#menu-cliente .btn-primary {
	white-space: normal;
}

.progetto-rif {
	color: #000;
}

.progetto-rif:hover {
	color: #f49537;
}

.panel {
	box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.05) !important;
}

.panel-body {
	/*margin-top: 5px;*/
	/*border-left: 2px solid #eee;*/
}

input:focus, textarea:focus, select:focus {
  border-color: #F49537 !important;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(244, 149, 55, 0.6) !important;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(244, 149, 55, 0.6) !important;
}

/* --- ZANINI --- */

h1 {
	font-weight: 400;
	color: #000;
	font-size: 36px;
}

h3.panel-title {
	font-weight: 700;
	color: #585858;
	font-size: 14px;
}

small, label {
	text-transform: uppercase;
	font-size: 11px;
	font-weight: 400; /*300*/
	color: #585858;
}

h4.text-primary, h4 > span.text-primary {
	font-size: 18px;
	font-weight: 700;
	color: #f49537;
}

.kn-flag {
	width: 16px;
	position: relative;
	top: -2px;
	border: 1px solid #bbb !important;
}

.kn-flag-left {
	border-bottom-left-radius: 50%;
	border-top-left-radius: 50%;
}

.kn-flag-right {
	border-bottom-right-radius: 50%;
	border-top-right-radius: 50%;
}

.primary {
	background: #fdedd7;
}

.importo-totale {
	font-size: 18px;
	font-weight: 700;
	position: relative;
	top: -3px;
}

td.actions {
	width: 100px;
}

.zanini-icon {
	width: 18px;
}

.zanini-row-icon {
	width: 20px;
	position: relative;
	top: -8px;
}

.dataTable .zanini-row-icon {
	position: relative;
	top: -3px;
}

#kma-list a.active {
	background: #fff !important;
	color: #f49537 !important;
	border: 1px solid #DDD !important;
}

/* Date picker */

.ui-datepicker tbody td {
	border: 0px !important;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
	border: 0px !important;
	color: #f49537;
}

.ui-widget-header {
	border: 0px;
	background: #f49537;
}

.ui-datepicker-month {
	text-transform: uppercase;
}

.ui-datepicker-calendar th {
	color: #585858 !important;
}

.ui-state-active, .ui-state-hover {
	color: #000 !important;
	border: 1px solid #fff;
}

.ui-widget-content {
	background: #fff;
}

/* END OF Date picker */

.progress {
	margin-bottom: 0px;
}

.gantt-task-content, .gantt-task-content span {
	color: #fff !important;
}

.text-gray {
	color: #777;
}

#messages td {
	border-bottom: 0px;
}

td.tipo-documento {
	width: 150px;
}

.panel-quotations {
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
}

.panel-quotations .panel-body {
	background: #fafafa;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	border-right: 1px solid #eee;
}

.message .date, .conversation .date {
	color: #aaa;
	font-weight: bold;
	font-size: 85%;
}

.message-content {
	margin-top: 10px;
}

.user-symbol {
	font-size: 120%;
	font-weight: bold;
	display: inline-block;
	padding: 5px;
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-o-border-radius: 50%;
	min-width: 40px;
	text-align: center;
}

.user-symbol-primary {
	border: 2px solid #f49537;
	color: #f49537;
}

.user-symbol-default {
	border: 2px solid #dfdfdf;
	color: #dfdfdf;
}

.text-gray {
	color: #ccc;
}

.conversation-title i {
	color: #dfdfdf;
}

.conversation-title a {
	color: #585858;
	text-decoration: none;
}

.conversation-title a:hover {
	color: #dfdfdf;
	text-decoration: none;
}

a.tag-progetto {
	color: #585858;
	text-decoration: none;
}

a.tag-progetto:hover {
	color: #dfdfdf;
	text-decoration: none;
}

#send-msg-form-panel .zanini-icon {
	position: relative;
	top: -5px;
}

#send-msg-form-panel .cke_bottom {
	display: none;
}

.messaging-icon {
	height: 20px;
}

.messaging-icon-2x {
	height: 40px;
}

.conversation .messaging-icon-2x {
	margin-top: 10px;
}

.bg-inactive {
	background: #eee;
}

.kn-badge {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-o-border-radius: 50%;
}

.chosen-container {
	width: 100% !important;
}

.form-tempistiche .source-target {
	width: 30%;
}

.mercati-container .source-target {
	width: 20%;
}

.dtRow-aggregated-data {
	background-color: #FDEDD7;
	font-weight: bold;
}

.text-primary {
	color: #f49537 !important;
}

.panel-edit .zanini-icon {
	position: relative;
	top: -5px;
}

.actions .btn, .fase-actions .btn {
	margin-top: -5px;
}

.fase {
	padding-bottom: 15px;
}

.fase-offerta .input, .fase-interna .input {
	position: relative;
	top: -7px;
	margin-bottom: 5px;
}

.bottom-border {
	border-bottom: 1px solid #fefefe;
}

.bottom-border2 {
	border-bottom: 1px solid #ccc;
}

.checkbox { /* bootstrap override */
	margin-top: 0;
	margin-bottom: 0;
}

.workflow-vendor td {
	border-right: 0 !important;
}

.workflow-vendor:not(:first-child) td {
	border-top: 1px solid #6c6c6c !important;
}

.documento-extra-info-container {
	background: #f8f8f8;
}

.job-tab {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bkg-danger {
	background: #FFD1D1 !important;
}

#logged-user-picture {
	height: 20px;
	margin-right: 5px;
}


/*
 * ======================================================================
 * ======================================================================
 * datatables
 * ======================================================================
 * ======================================================================
 */

td.text-bold {
	font-weight: bold;
}

td.italic {
	/*font-style: italic;*/ /* 2017-03-27: il testo non deve più essere in corsivo*/
}

table.dataTable {
	color: #565656;
	font-weight: 400;
}

table.dataTable tbody tr.selected {
    background-color: #FDEDD6 !important;
}

table.dataTable tbody tr.selected > td {
	/*border-top: 1px solid #F39636 !important;*/
	border-top: 0px !important;
    border-bottom: 1px solid #F39636 !important;
    border-top: 1px solid #F39636 !important;
    color: #F49537;
}


.dataTables_scrollBody{
	border-top: 1px solid #6C6C6C !important;
	border-bottom: 1px solid #6C6C6C !important;
}

table.dataTable.striped tr.odd {
	background: #F8F8F8;
}

.thead-first-tr th, .kn-th {
	font-size: 11px;
	text-transform: uppercase;
	font-weight: bold !important;
}

table.dataTable td, table.dataTable th {
	border-right: 1px solid #D7D7D7;
}

.dt-no-right-border {
	border-right: 0px !important;
}

table.dataTable thead .sorting::after, table.dataTable thead .sorting_asc::after, table.dataTable thead .sorting_desc::after, table.dataTable thead .sorting_asc_disabled::after, table.dataTable thead .sorting_desc_disabled::after
{
	font: normal normal normal 14px/1 FontAwesome;
	color: #000;
}

table.dataTable thead .sorting::after {
	content: "\f0dc";
}

table.dataTable thead .sorting_asc::after {
	content: "\f150";
}

table.dataTable thead .sorting_desc::after {
	content: "\f151";
}

.dataTables_info, .dataTables_paginate {
	font-size: 11px;
	text-transform: uppercase;
}

.dataTables_length select {
	background: #fff;
	border: 1px solid #D7D7D7;
	font-size: 14px;
	margin: 0 5px;
}

.kn-dt-border-right {
	border-right: 1px solid #6C6C6C !important;
}

.kn-dt-border-top {
	border-top: 1px solid #6C6C6C !important;
}

.dt-footer-container {
	margin-top: 20px;
}

.kn-tbody {
	border-top: 1px solid #6C6C6C !important;
}

.kn-thead {
	margin: 0;
}

.kn-th {
	padding: 8px;
}

.documento-container {
	margin: 0;
	/*border-top: 1px solid #D7D7D7;
	border-bottom: 1px solid #D7D7D7;*/
}

.kn-tr-even {
	background: #F8F8F8;
}

.kn-td {
	padding: 8px;
	vertical-align: top;
}

.kn-td-border-left {
	border-left: 1px solid #D7D7D7;
}

.kn-td-border-right {
	border-right: 1px solid #D7D7D7;
}

.kn-td-border-top {
	border-top: 1px solid #D7D7D7;
}

.kn-td-border-bottom {
	border-bottom: 1px solid #D7D7D7;
}

.text-small {
	font-size: 11px;
}

.btn-dark {
	color: #fff;
	background: #807F7D;
}

#offerta-container th .input,
#offerta-container th .select
#workflow-container th .input,
#workflow-container th .select,
#jobs-container th .input,
#jobs-container th .select,
.workflow-filter  {
	font-weight: normal !important;
}

#workflow-container .date {
	width: 110px !important;
}

.thead-first-tr th {
	border-bottom: 0 !important;
}

.thead-second-tr th {
	border-top: 0 !important;
}

.text-left {
	text-align: left;
}

.text-bold {
	font-weight: bold;
}

.text-italic {
	font-style: italic;
}

.dt-totale {
	margin-top: 20px;
	padding: 15px;
}

.dt-totale .labels {
	padding: 8px 0;
}

.dt-totale .values {
	padding: 8px 0;
	border-top: 1px solid #6c6c6c;
	border-bottom: 1px solid #6c6c6c;
	background: #FFE5CC;
}

/* per le tabelle che usano filtri interni è mandatory questa rule
 * (che però fa vedere parzialmente l'header nascosto in mobile)
 */
#offerta-container .dataTables_scrollHead,
#workflow-container .dataTables_scrollHead,
#jobs-container .dataTables_scrollHead,
#accounting-container .dataTables_scrollHead {
	overflow: visible !important;
}

.documento-tr-edit, .documento-tr-edit td {
	background: #FFE5CC;
}

.lingua-source, .lingua-target {
	font-family: 'Cousine', monospace;
	font-size: 15px;
}

.btn-jobsheet-status {
	border: 1px solid #d7d7d7;
	background: #fff;
	position: relative;
	top: -4px;
}

.odd-vendor td {
	background: #f8f8f8;
}

#progetti_filter label {
	white-space: nowrap;
}

#progetti_filter input {
	display: inline-block;
	margin-left: 5px;
}


#lista-metatesti th,
#lista-materiale-lavoro th,
#lista-mercati th {
	border-bottom: 1px solid #6C6C6C !important;
}

#lista-metatesti td,
#lista-materiale-lavoro td,
#lista-mercati td {
	border-bottom: 1px solid #d7d7d7 !important;
}

.dd-handle span {
	font-weight: normal !important; /* corregge visualizzazione source/target */
}

.documento-tr-edit .dd-handle {
	background: #FFF2E2;
}

#lista-metatesti-tipo {
	cursor: pointer;
}

.table-edit-fasi td {
	vertical-align: top;
	padding-top: 16px; /* serve più spazio per la presenza dei campi di input */
	padding-bottom: 16px; /* serve più spazio per la presenza dei campi di input */
}

.table-edit-fasi .tr-odd,
.table-edit-fasi .tr-odd td,
.table-edit-tempistiche .tr-odd,
.table-edit-tempistiche .tr-odd td {
	background: #FFF6ED;
}

.table-edit-fasi th {
	border-bottom: 1px solid #d7d7d7 !important;
}

.table-conteggi td, .table-conteggi th {
	padding: 5px !important;
	background: #fff !important;
}

.tr-totale-step td {
	background: #F3F3F3 !important;
	vertical-align: middle;
}

.tr-totale-documento td {
	background: #FFE5CC !important;
	vertical-align: middle;
	padding-top: 20px;
	padding-bottom: 20px;
}

.bkg-primary {
	background: #FFE5CC;
}

.bkg-gray {
	background: #f8f8f8;
}

.kn-table > tr > th,
.kn-table > thead > tr > th {
	padding: 8px 10px;
	border-bottom: 1px solid #6C6C6C !important;
}

.kn-table > tr > td,
.kn-table > tbody > tr > td {
	padding: 8px 10px;
	border-bottom: 1px solid #d7d7d7 !important;
}

.kn-striped-table > tbody > tr:nth-child(odd) {
	background: #f8f8f8;
}

.kn-td-dark-border-right {
	border-right: 1px solid #585858 !important;
}

.workflow-vendor {
	cursor: pointer;
}

.login-outer-box {
	padding: 60px 30px 40px 20px;
	background: #F49537;
	border-radius: 10px;
}

.login-inner-box {
	padding: 30px;
	background: #212025;
	border-radius: 10px;
}

.login-inner-box label {
	color: #aaa;
}

#logo_ape {
	height: 100px;
	margin-top: -80px;
}

#logo_scritta {
	height: 25px;
	margin-top: 20px;
}

#UserRemember {
	margin-left: 3px;
	margin-top: -8px;
}


.top-navigation a {
	font-size: 12px;
}

.top-navigation a.primary-link {
	text-transform: uppercase;
	border-right: 1px solid #E58323;
	font-size: 13px;
}

#navbar-user {
	background: #F49537 !important;
	font-size:13px;
}

#navbar-user:hover {
	background: #E58323 !important;
}

#crumb-outer-container {
	background: #BBBBBB !important;
}

#crumb-inner-container {
	position: relative;
	top: 10px;
}

#crumb-inner-container ol {
	color: #fff;
	background: #BBBBBB !important;
}

#crumb-inner-container li {
	font-weight: bold;
	font-size: 14px !important;
}

#crumb-inner-container li.active {
	text-transform: uppercase;
	color: #58585a;
	font-size: 14px !important;
}

#crumb-inner-container li + li::before {
	content: "\00a0" !important;
}

#latest-messages-list {
	margin-left: 15px;
	margin-right: 15px;
}

#latest-messages-list .date {
	float: right
}

.latest-message {
	margin-left: 10px;
	margin-right: 10px;
}

.ibox-title-active {
	background: #F49537;
	color: #fff;
}

.ibox-title-active a {
	color: #fff !important;
}

.btn-prossima-consegna {
	position: relative;
	top: -6px;
}

.bkg-light-gray {
	background: #F8F8F8;
}

.active-area {
	color: #fff !important;
	background: #58585A !important;
}

/*------------------- HAMBURGER MENU -------------------------- */
@media (min-width: 768px) {
	.dropdown-menu {
		width: 400px !important;
	}
	.navbar-collapse.collapse {
		width: 0;
		height: 50px !important;
		overflow: hidden !important;
		-webkit-transition-property: width, visibility;
		transition-property: width, visibility;
	}

	.navbar-collapse.in {
		/* width: calc(100% - 248px); */
		width: auto;
		height: 50px !important;
		overflow: hidden !important;
	}

	.navbar-collapse.collapsing {
		position: relative;
		height: 50px;
		overflow: hidden;
		-webkit-transition-property: width, visibility;
		transition-property: width, visibility;
		-webkit-transition-duration: 0.35s;
		transition-duration: 0.35s;
		-webkit-transition-timing-function: ease;
		transition-timing-function: ease;
	}

	.navbar-toggle {
		display: block;
	}

	.navbar.d-flex {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.top-navigation .navbar-nav {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		height: 50px;
		overflow: hidden;
	}

	.navbar-right {
		min-width: 130px;
	}

	.top-navigation .navbar-nav {
		position: relative;
		top: 50%;
		transform: translateY(-50%);
	}

	.top-navigation .navbar-nav > li > a {
		padding: 0 10px;
		font-size: 12px;
	}
}

@media (min-width: 768px) and (max-width: 1199px) {
	.top-navigation .navbar-nav {
		height: 40px;
	}
}

@media (max-width: 767px) {
	.navbar.d-flex {
		display: flex;
		justify-content: space-between;
	}
}

.navbar-toggle.collapsed .fa::before{
	content: "\f0c9";
}
.navbar-toggle .fa::before{
	content: "\f00d";
}

.navbar-top-links {
	text-align: right;
}

.navbar-top-links > li > a {
	padding: 15px 5px !important;
}

.navbar.d-flex::before,
.navbar.d-flex::after,
.no-before::before {
	content: none;
}

.no-before::after {
	content: none;
}

.fa-stack[data-count]:after{
	position:absolute;
	right:0;
	left:70%;
	top:-5%;
	content: attr(data-count);
	font-size:50%;
	padding:.5em;
	border-radius:999px;
	line-height:.75em;
	color: white;
	background:#111111;
	text-align:center;
	min-width:3em;
	font-weight:bold;
	z-index: 100;
}

.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
	background: #cc6d05;
}

/*------------------- HAMBURGER MENU -------------------------- */

/* CARD */
.card {
	margin-top: 30px;
}

.card .card-body {
	background-color: white;
	padding: 30px;
}

.form [class*="col-"] {
	margin-bottom: 30px;
}

.form label,
.form small {
	text-transform: none;
}

/* File upload */
.file-upload {
	display: flex;
	align-items: center;
	margin: 30px 0;
}

.file-upload-icon {
	font-size: 20px;
	background-color: #F49537;
	border-radius: 100%;
	width: 50px;
	height: 50px;
	color: white;
	position: relative;
	margin-right: 15px;
}

@media (max-width: 767px) {
	.file-upload-icon {
		display: none;
	}
}

.file-upload-icon .fa {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

.file-upload .file-upload-select {
	display: flex;
	justify-content: space-between;
	color: black;
	cursor: pointer;
	text-align: left;
	background: #F49537;
	overflow: hidden;
	position: relative;
	border-radius: 40px;
	padding: 4px;
	width: 70%;
}
.file-upload .file-upload-select .file-select-button {
	background: #F49537;
	padding: 5px;
	color: white;
	display: inline-block;
	margin: auto;
}
.file-upload .file-upload-select .file-select-name {
	display: inline-block;
	padding: 5px 10px;
	width: 100%;
	background-color: white;
	border-radius: 40px;
}
.file-upload .file-upload-select:hover .file-select-button {
	background: #F49537;
	color: #ffffff;
	transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
}
.file-upload .file-upload-select input[type="file"] {
	display: none;
}
/* File upload */
.check-quote {
	display: inline;
	padding: 0 0 0 5px;
}

#message > div.error {
	background-color: #f8d7da;
	color: #721c24;
}

#message > div.success {
	background-color: #d4edda;
	color: #155724;
}

.select2-search  > input:focus {
	border: none !important;
	outline: 0;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}

.home-title-widget{
	color: #FE7D19;
	font-size: 17px;
	font-weight: bold;
	text-align: center;
}

.home-title-widget > .first{
	color: #58585A;
}
#page-wrapper {
	min-height: auto !important;
}
