body{
    min-height: 100vh;
    background-color: #f1f1f1;
    font-family: 'Open Sans', serif;
    padding-bottom: 140px;
    position: relative;
  -webkit-print-color-adjust:exact;
}

*{

	 -webkit-print-color-adjust:exact;
}



a{
    text-decoration: none;
    transition: all 0.3s ease-out;
    color: #056d00;
}

a:hover,
a:focus{
    text-decoration: none;
    color: #053900;
}

img{
    max-width: 100%;
    height: auto;
}

.login-box{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    padding: 40px 60px;
    background-color: #fff;
    transform: translate( -50% , -50% );
    -webkit-transform: translate( -50% , -50% );
    -moz-transform: translate( -50% , -50% );
}

.login-box .logo{
    position: absolute;
    bottom: 107%;
    left: 50%;
    transform: translate( -50% , 0 );
    -webkit-transform: translate( -50% , 0 );
    -moz-transform: translate( -50% , 0 );
    width: 300px;
}

.form-group{
    margin-bottom: 30px;
}

.form-group label{
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    font-size: 12px;
}

.form-control{
    box-shadow: none;
    -webkit-box-shadow: none;
    border-radius: 0;
    -webkit-border-radius: 0;
    /*padding: 10px 15px;*/
    height: auto;
}

.form-control:required:invalid,.form-control:focus:invalid,{
	border: 1px solid red !important;
}

.btn-primary{
	background-color: #056d00;
	box-shadow: none;
	-webkit-box-shadow: none;
	border-radius: 0;
	-webkit-border-radius: 0;
	text-transform: uppercase;
	letter-spacing: 2px;
	padding: 10px 15px;
	border-color: #056d00;
	transition: all 0.18s ease-out;
}

.btn-primary:hover{
	background-color: #053900;
	border-color: #053900;
}

.navbar-default{
	background-color: #fff;
	border-bottom: 2px solid #056d00 !important;
}

.navbar-brand{
	height: auto;
	display: inline-block;
}

.navbar-brand img{
	height: 50px;
}

.navbar-nav{
	margin-top: 15px;
}

.navbar-default{
	border: none;
}

.navbar-default .navbar-nav > li > a{
	color: #333;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 500;
}

.navbar-default .navbar-nav > li > a > span{
	position: relative;
}

.navbar-default .navbar-nav > li > a > span:after{
	position: absolute;
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	left: 0;
	bottom: -7px;
	background-color: #056d00;
	transform: scale( 0 , 1 );
	transform-origin: left center 0;
	transition: all 0.18s ease-out;
}

.navbar-default .navbar-nav > li.is-active > a > span:after,
.navbar-default .navbar-nav > li > a:hover > span:after{
	transform: scale( 1 , 1 );
}

.container--main{
	margin-bottom: 30px;
}

footer.container{
	background-color: #fff;
	padding: 30px;
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX( -50% );
}

.searchBar{
	display:inline-block;
	float:right;
	max-width:600px;
}

h1{
	margin-bottom: 30px;
}

.clear20{
	clear: both;
	height: 20px;
}

.alterned-row{
	margin: 0;
}

.c-intervento{
	padding: 15px 20px;
	background-color: #fff;
}

.c-intervento:nth-of-type( even ){
	background-color: #e4e4e4;
}

.c-intervento > small{
	margin-bottom: 8px;
	display: inline-block;
}

textarea.form-control{
	height: 100px;
	resize: none;
}

h3{
	margin: 0 0 20px;
}

h5{ 
	margin-bottom: 0;
}

.table>tbody>tr>td, 
.table>tbody>tr>th, 
.table>tfoot>tr>td, 
.table>tfoot>tr>th,
.table>thead>tr>td, 
.table>thead>tr>th{
	vertical-align: middle;
}

.row-prezzi{
	display: flex;
	align-items: flex-end;
}

.row-prezzi:first-child .glyphicon-remove{
	display: none;
}

.row-prezzi .glyphicon{
	font-size: 24px;
}


.costi_fattura .row{
    border-bottom:1px solid #ccc;
    padding: 10px 0;
    background: #FFF;
}

.costi_fattura{
    margin-bottom: 30px;
}

.btn-secondary {
    color: #383d41;
    background-color: #e2e3e5;
    border-color: #d6d8db;
}
                                  
.nav-link {
    display: inline-block;
    padding: .5rem 1rem;
    cursor:pointer;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
border-top-left-radius: .25rem;
border-top-right-radius: .25rem;
    color: #fff;
    background-color: #056d00;
    border-color: #dee2e6 #dee2e6 #fff;

}

.tabfatture .show {
    display: block;
}

.tabfatture {
    display: none;
}


@media only screen and ( max-width: 767px ){
	footer.container{
		width: 100%;
		bottom: 0;
	}

	.container--main{
		padding: 0 30px;
	}

	.navbar-toggle{
		border: none;
		margin-top: 27px;
	}

	.table > thead{
		display: none;
	}

	.table > tbody{
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
	}

	.table tr,
	.table td{
		display: block !important;
		width: 100% !important;
	}

	.navbar-nav{
		float: left !important;
		width: 100%;
	}
}

[type=radio], [type=checkbox]{
	width: 30px;
	display: inline-block;
}

.bgr-1, .bgr-1 td{
    background-color:#FFEFD5;
}
.bgr-2, .bgr-2 td{
    background-color:#FFE4B5;
}
.bgr-3, .bgr-3 td{
    background-color:#FAFAD2;
}
.bgr-4, .bgr-4 td{
    background-color:#98FB98;
}
.bgr-5, .bgr-5 td{
    background-color:#9ACD32;
}
.bgr-6, .bgr-6 td{
    background-color:#FA8072;
}

.bgr-a, .bgr-a td{
    background-color:#82C0FF;
}
.bgr-b, .bgr-b td{
    background-color:#00FFB2;
}
.bgr-c, .bgr-c td{
    background-color:#FFE118;
}
.bgr-d, .bgr-d td{
    background-color:#E01F25;
}
.bgr-e, .bgr-e td{
    background-color:#D2BFFF;
}


.date-filter{
	display: inline-flex;
	flex-wrap: nowrap;
	align-items: center;
}
.date-filter span{
	display: inline-block;
	font-size: 12px;
}
.date-filter input{
    display: inline-block;
    padding: 0 !important;
    height: 32px !important;
    width: 137px;
    margin: 0 5px;
}

.table-small td,
.table-small th{
	font-size: 12px !important;
	padding: 5px !important;
}

.info-descrizione{
	font-size: 24px !important;
    display: inline-block;
    top: 3px;
    position: relative;
    color:#000;
}

.modal.fade .modal-body{
    white-space: normal;
}

*.wrap{ 
   white-space: pre-wrap;      /* CSS3 */   
   white-space: -moz-pre-wrap; /* Firefox */    
   white-space: -pre-wrap;     /* Opera <7 */   
   white-space: -o-pre-wrap;   /* Opera 7 */    
   word-wrap: break-word;      /* IE */
   word-break: break-word;      /* IE */
} 

.riepiloghi{
    display:flex;
    flex-wrap:wrap; 

}
.riepiloghi h3{
    width: calc(100% / 3);
    padding:15px;
    background:#FFF;
    font-weight:normal;
}

.riepiloghi h3 span{
    display:block;
    font-weight:800;
}

@media print {

*:not(h1):not(h2):not(h3){
	font-size: 8px !important;
}

  *,
  *:before,
  *:after {
    color: #000 !important;
    text-shadow: none !important;
    background: transparent !important;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre,
  blockquote {
    border: 1px solid #999;

    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
  .navbar {
    display: none;
  }
  .btn > .caret,
  .dropup > .btn > .caret {
    border-top-color: #000 !important;
  }
  .label {
    border: 1px solid #000;
  }
  .table {
    border-collapse: collapse !important;
  }
  .table td,
  .table th {
    background-color: #fff !important;
  }
  .table-bordered th,
  .table-bordered td {
    border: 1px solid #ddd !important;
  }
}

