@charset "utf-8";
/* CSS Document */
body,*{
	font-family:"Open Sans","Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif !important;
}

#row_functions{
	z-index:10;
}

row{
	max-width:100%;
	width:100%;
}
#section{
	padding:0 10px;
}
#fixed_header.fixed{
	z-index:99;
	background-color: rgb(239, 239, 239);
	position:absolute;
	left:10px;
}
#section h2.title{
	text-align:center;
	font-size: 20px;
	margin-top:0;
	margin-bottom:0;
	font-weight: bold;
}

#section .sub-nav dt,
#section .sub-nav dd,
#section .sub-nav li{
	margin:0;
	margin-right:5px;
}

table.dataTable.stripe tbody tr.selected, table.dataTable.display tbody tr.selected{
	background-color: #abb9d3 !important;
}

table.dataTable{
	/*table-layout: fixed;*/
}
table.dataTable.display tbody td{
	/*white-space: nowrap;
	overflow: hidden;
	text-overflow:ellipsis;*/
}
table.dataTable td .truncate{
	height:22px;
	line-height: 22px;
	/*white-space: nowrap;*/
	overflow: hidden;
	text-overflow:ellipsis;
	/**/
}
table.dataTable td .truncate.break{
	word-break: break-all;
}

table.dataTable td.nowrap{
	white-space: nowrap;
}

.editable.alert{
	border:1px solid red !important;
	color:red !important;
}
.top-bar,
.top-bar.expanded .title-area{
	background: #0091d2 !important;
}
.top-bar.expanded .toggle-topbar a{
	color:#000 !important;
}

.top-bar,.top-bar-section li a:not(.button){
	background: #0091d2;
}
.top-bar-section ul li:hover>a,
.top-bar-section li a:not(.button):hover{
	background: #006EA0;
}
.side-nav li a{
	color:#0091d2;
}
.side-nav li > a:hover, .side-nav li > a.active{
	background: #006EA0;
}

body{
	position: absolute;
	height: 100%;
	width: 100%;
	background-color: #efefef;
}
.top-bar{
	position:fixed;
	z-index:10;
	width:100%;
}
#sidebar {
	background: #FAFAFA;
	min-height: 100%;
	height: 100%;
	position: fixed;
}
#navigator {
	height:100%;
}
.side-nav{
	margin:0;
	padding:0;
}
.side-nav li{
	margin:0;
}
.side-nav li > a{
	padding:10px 5px 10px 10px;
	transition:all 0.2s ease-in-out;
}
#content {
	position: absolute;
	max-width: 100%;
	min-height: 100%;
	top: 0;
	/*padding-top: 45px;*/
	/*overflow: hidden;*/
}

#content > *{
	padding-top:45px !important;
}

.side-nav li > a:hover,
.side-nav li > a.active{
	color: #006887;
	background: rgba(0, 64, 84, 0.03);
}
.top-bar .toggle-topbar.menu-icon a{
	text-indent:inherit;
}
td.functions{
	text-align:center;
}
td.functions img{
	margin:2px;
}
#row_functions{
	top:0;
	left:50px;
	position: absolute;
	background: #fff;
	border: 1px solid #ccc;
	display:none;
}
#row_functions > .side-nav li > a{
	padding: 7px 12px;
	font-size: 12px;
}
#row_functions > .side-nav li > a img{
	width:20px;
	margin-right:5px;
}

.margin-bottom{
	margin-bottom: 1.25rem !important;
}

.side-nav li > a span{
	float: right;
	background: rgb(255, 120, 120);
	padding: 0px 8px;
	color: #fff;
	opacity:0;
	transition:opacity 0.3s ease-in-out;
}

button, .button{
	background:#0091d2;
}
button:hover,
.button:hover{
	background: #006EA0;
}
table.dataTable tbody td.edited{
	/*color:red !important;*/
}
table.dataTable tbody tr.edited{
	background-color:#FF4242 !important;
}
form > p.error{
	text-align: center;
	color: red;
	padding: 8px;
	background: #FFFFD0;
}

/*
UPLOAD
*/
#uploader{
	padding: 0;
	height:100%;
	position:relative;
}
#uploader input[type="file"]{
	height:80px !important;
}
.qq-upload-list{
	display:none;
}
.qq-upload-button{
	width:100%;
	padding:30px;
	border: 2px dashed #ccc;
	height:80px;
	position:absolute;
}
.top-bar{
	height:45px;
}
.top-bar .name h1 a{
	padding-left:0px;
	line-height:normal;
}
.top-bar .name h1 img{
	height: 39px !important;
	margin-top: 3px;
}
.section img{
	vertical-align: bottom !important;
}

table.dataTable.display tbody tr>.sorting_2, table.dataTable.order-column.stripe tbody tr>.sorting_2{
	background-color: inherit !important;
}
.panel{
	margin-bottom:0;
}
.panel.error{
	text-align:center;
	color:darkred;
	border-color:darkred;
	background: #FFC4C4;
}
.panel.success{
	text-align: center;
	color: green;
	border-color: green;
	background: #C4FFC5;
}
.panel.yellow{
	text-align: center;
	color: yellow;
	border-color: #ff8800;
	background: #FFFCC4;
}
.dataTable > tbody > tr > td span.highlight{
	background: yellow;
	border: 1px solid rgb(255, 122, 0);
	color: red;
}
.dataTables_processing{
	top: 48px;
	position: absolute;
	z-index: 999;
	height: 60px;
	line-height: 60px;
	background: rgba(255,255,255,0.9);
	padding: 0;
}
.dataTables_wrapper.filtered{
	margin-top:55px !important;
}
/*#table_wrapper.filtered #table_processing{
	top: 129px;
}*/
.dataTables_wrapper.filtered thead.filtered{
	top:-54px;
	position:absolute;
	width:100%;
}
.dataTables_wrapper.filtered > .dataTables_filter{
	top:36px;
	z-index:2;
}
/*form textarea{
	height:100px;
}*/
#functions{
	/*background:#fff;*/
	float:left;
	/*position: absolute;*/
}
#functions > .sub-nav{
	margin:0;
	padding:0;
}
#functions img{
	width:26px;
	height:auto;
}
.clearfix{
	clear:both;
}
.clear-left{
	clear:left;
}
.clear-right{
	clear:right;
}
.centered{
	margin:0 auto;
	float:none!important;
	display:block;
}
.searchable{
	margin:0 !important;
	padding:0 !important;
	height:25px !important;
}
#other_functions{
	margin-top:0;
}
#other_functions ul li{
	padding:0 3px;
}
ul li{
	padding-bottom:0;
}
.functions .button,
#other_functions .button{
	display:block;
	margin:5px auto;
	padding:0;
	font-size:12px;
	height:35px;
	line-height:37px;
	overflow: hidden;
}
canvas.signature{
	background: #fff;
	border: 1px solid #ccc;
}
.functions .button img,
#other_functions .button img{
	vertical-align:sub !important;
}
table.dataTable thead th, table.dataTable thead td {
	padding: 1px 3px;
	font-size:14px;
	white-space: nowrap;
}
.file-preview img{
	width:100%;
	max-width: 100% !important;
}
fieldset{
	background: #FAFAFA;
	padding: 8px 15px 15px 15px;
	margin: 7px auto;
}
fieldset:not(.tecnico):not(.show-legend){
	padding-top: 15px;
}
fieldset:not(.tecnico):not(.show-legend) > legend{
	background:transparent;
	font-weight: normal;
	display:none;
}

li.file fieldset legend{
	display:block;
	font-weight:bold;
}

fieldset legend{
	background:transparent !important;
}
fieldset legend.row{
	padding:0;
	margin:0;
	width:100% !important;
}
.indent{
	padding-left:10px;
}
input,textarea,button{
	margin-bottom:0;
}
.editable{
	margin-bottom:0 !important;
}

form select:not(.error),
form input:not(.error),
form textarea:not(.error){
	margin-bottom:10px;
}
form input[type="submit"]{
	margin-top:10px;
}
.dataTables_filter{
	position: relative;
	margin-top: -44px;
	margin-bottom: 0;
	margin-right: 7px;
	display:none !important;
}

.hidden{
	display:none;
}

.blink{
	animation-name: blink;
    animation-duration: 0.3s;
    animation-timing-function: linear;
    animation-delay: 0s;
    animation-play-state: running;
    animation-direction: alternate;
    animation-iteration-count: infinite;

	-webkit-animation-name: blink;
    -webkit-animation-duration: 0.3s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-delay: 0s;
    -webkit-animation-direction: alternate;
    -webkit-animation-play-state: running;
    -webkit-animation-iteration-count: infinite;
}

@-moz-keyframes blink {
    from {
    	background-color:#FAFAFA;
		color:red;
   	}
    to {
    	background-color:red;
    }
}
@-webkit-keyframes blink {
    from {
    	background-color:#FAFAFA;
		color:red;
   	}
    to {
    	background-color:red;
    }
}
@keyframes blink {
    from {
    	background-color:#FAFAFA;
		color:red;
   	}
    to {
    	background-color:red;
    }
}

.blink_opacity{
	animation-name: blink_opacity;
    animation-duration: 0.3s;
    animation-timing-function: linear;
    animation-delay: 0s;
    animation-play-state: running;
    animation-direction: alternate;
    animation-iteration-count: infinite;

	-webkit-animation-name: blink_opacity;
    -webkit-animation-duration: 0.3s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-delay: 0s;
    -webkit-animation-direction: alternate;
    -webkit-animation-play-state: running;
    -webkit-animation-iteration-count: infinite;
}

@-moz-keyframes blink_opacity {
    from {
    	opacity: 1;
   	}
    to {
    	opacity:0.1;
    }
}
@-webkit-keyframes blink_opacity {
    from {
    	opacity: 1;
   	}
    to {
    	opacity:0.1;
    }
}
@keyframes blink_opacity {
    from {
    	opacity: 1;
   	}
    to {
    	opacity:0.1;
    }
}

.text-small{
	font-size:14px;
}

.details *:not(legend){
	font-size:14px;
}
.details > p{
	min-width:90px;
	min-height:50px;
}

form.custom .switch{
	height: auto;
	overflow: hidden;
	margin: 2px 0;
}
form.custom .switch label{
	float:left;
}
form.custom .switch .label{
	line-height: 1.5rem;
	background:transparent;
	color:#000;
	font-size:12px;
	margin-left:2px;
	padding:0;
}

form.custom .switch{
	height: 25px;
}
.switch label:after{
	width: 1rem;
	height: 1rem;
}
.switch label {
	width: 3rem;
	height: 1.5rem;
}
.switch input:checked + label:after{
	left: 1.8rem;
}

form#assign input[type="submit"]{
	padding: 7px;
	margin: 0;
	font-size: 14px;
	width: 100%;
	text-align:left;
}
/*form#assign .checks{
	padding-left:5px;
}*/
form#assign button[type='submit']{
	padding:5px;
	text-align:left;
	width:98%;
	min-height:55px;
	font-size:14px;
}
form#assign .lista_interventi{
	max-height: 200px;
	overflow-y: scroll;
	display:none;
}

.minimal #sidebar,
.minimal .top-bar{
	display:none !important;
}
.minimal #section{
	left:0 !important;
	width:100% !important;
}
.minimal #content > *{
	padding-top:0 !important;
}
input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="week"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"]{
	padding: 5px;
    height: 30px;
}
.prefix, .postfix{
	height: 30px;
}
/*
PLANNING
*/
.fc-time-grid .fc-event{
	min-height: 20px !important;
}

@media only screen and (max-width: 40.063em){
	
}

@media only screen and (min-width: 64.063em){
	#sidebar{
		width:12%;
	}
	.side-nav li > a{
		font-size:13px;
	}
	#section{
		position: absolute;
		width:88%;
		left:12%;
	}
	.top-bar{
		height:45px !important;
	}
}
@media print{
	#functions,
	table.dataTable > thead.filtered,
	.dataTables_paginate,
	.top-bar,
	#sidebar,
	table.dataTable td.functions img{
		display:none;
	}
	table.dataTable td.functions{
		width:0px !important;
	}
	#content > *,
	#section{
		padding-top:0 !important;
		padding:0 !important;
	}
	.dataTable > tbody > tr > td span.highlight{
		background: transparent !important;
		border: 0 !important;
		color: initial;
	}
}