.vcenter {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: row;
}
/*
Full screen Modal 
*/
.fullscreen-modal .modal-dialog {
  margin: 0;
  margin-right: auto;
  margin-left: auto;
  width: 100%;
}
@media (max-width: 767px) {
  .fullscreen-modal .modal-dialog {
    width: 760px;
  }
  .container-fluid .container {
    width: 100%;
  }
  .container {
    padding-left: 0px;
    padding-right: 0px;
  }
}
@media (min-width: 768px) {
  .fullscreen-modal .modal-dialog .container {
    width: 760px;
  }
}
@media (min-width: 992px) {
  .fullscreen-modal .modal-dialog .container {
    width: 980px;
  }
}
@media (min-width: 1200px) {
  .fullscreen-modal .modal-dialog {
     width: 1170px;
  }
  .container-fluid .container {
    width: 100%;
  }
}
.loadingPad {
  padding-top: 2px; 
  padding-right: 2px; 
  padding-bottom: 2px;
}
/*Barra del titolo dell'app */
.menu {
  background-color: #043A71 !important;
  background-image: #043A71 !important;
  color: #FFFFFF;
  font-size: 10pt;
  /*font-weight: bold;*/
  font-family: verdana;
  border-bottom: 5px solid #cccccc !important;
}
.menu A {
  color: #FFFFFF !important;
}
.menu A:hover {
  color: #FFFF00 !important;
}

.navbar-default {
  background-image: -webkit-linear-gradient(top, #043A71 0%, #043A71 100%);
  background-image:      -o-linear-gradient(top, #043A71 0%, #043A71 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#043A71), to(#043A71));
  background-image:         linear-gradient(to bottom, #043A71 0%, #043A71 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#043A71', endColorstr='#043A71', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  background-repeat: repeat-x;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .active > a {
  background-image: -webkit-linear-gradient(top, #043A71 0%, #043A71 100%);
  background-image:      -o-linear-gradient(top, #043A71 0%, #043A71 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#043A71), to(#043A71));
  background-image:         linear-gradient(to bottom, #043A71 0%, #043A71 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#043A71', endColorstr='#043A71', GradientType=0);
  background-repeat: repeat-x;
  -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
          box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
}

.navbar-nav > li > .dropdown-menu {
    color: #FFFFFF;
    background-color: #043A71;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  background-color: #043A71;
  background-image: -webkit-linear-gradient(top, #043A71 0%, #043A71 100%);
  background-image:      -o-linear-gradient(top, #043A71 0%, #043A71 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#043A71), to(#043A71));
  background-image:         linear-gradient(to bottom, #043A71 0%, #043A71 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#043A71', endColorstr='#043A71', GradientType=0);
  background-repeat: repeat-x;
}

.dropdown-menu-grid > li > a:hover,
.dropdown-menu-grid > li > a:focus {
  background-color: #a0c9f7;
  background-image: -webkit-linear-gradient(top, #ffffff 0%, #a0c9f7 100%);
  background-image:      -o-linear-gradient(top, #ffffff 0%, #a0c9f7 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#a0c9f7));
  background-image:         linear-gradient(to bottom, #ffffff 0%, #a0c9f7 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#a0c9f7', GradientType=0);
  background-repeat: repeat-x;
  color: #1b3c6e
}

hr.style-one {
    border: 0 !important;
    height: 1px !important;
    background: #333 !important;
    background-image: linear-gradient(to right, #ccc, #333, #ccc) !important;
}
.ng-invalid.ng-touched {
    border-color: red;
}

/*modifica il padding delle tabelle*/
.table-condensed>thead>tr>th, .table-condensed>tbody>tr>th, .table-condensed>tfoot>tr>th, .table-condensed>thead>tr>td, .table-condensed>tbody>tr>td, .table-condensed>tfoot>tr>td{
    padding: 3px;
}

/*imposta la larghezza delle colonne per i bottoni sulle tabelle a una colonna*/
.table-one-column tr td:nth-child(2), .table-one-column tr td:nth-child(3){
    width:10%;
}

/*impostazioni tabella dei parametri nell'are admin*/
.table-impostazioni tr td:nth-child(1){
    background-color: #EEEEEE;
}
.table-impostazioni tr td:nth-child(3){
    width:20%;
}

/*classe per mettere un well semi-trasparente*/
.well-transparent {
  background-color: rgba(245, 245, 245, 0.6)!important;
  background-image: -webkit-linear-gradient(top,rgba(255, 255, 255, 0.6) 0%,rgba(245, 245, 245, 0.6) 100%);
  background-image:      -o-linear-gradient(top, rgba(255, 255, 255, 0.6) 0%,rgba(245, 245, 245, 0.6) 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.6)), to(rgba(245, 245, 245, 0.6)));
  background-image:         linear-gradient(to bottom, rgba(255, 255, 255, 0.6) 0%, rgba(245, 245, 245, 0.6) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
  background-repeat: repeat-x;
  border-color: #dcdcdc;
  -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
          box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
}

.well-azzurro {
  background-color: rgba(245, 245, 245, 0.6)!important;
  background-image: -webkit-linear-gradient(top,rgba(167, 238, 183, 0.6) 0%,rgba(255, 255, 255, 0.6) 100%);
  background-image:      -o-linear-gradient(top, rgba(167, 238, 183, 0.6) 0%,rgba(255, 255, 255, 0.6) 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(167, 238, 183, 0.6)), to(rgba(255, 255, 255, 0.6)));
  background-image:         linear-gradient(to bottom, rgba(167, 238, 183, 0.6) 0%, rgba(255, 255, 255, 0.6) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
  background-repeat: repeat-x;
  border-color: #dcdcdc;
  -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
          box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
}

/*Stile per checkbox*/
.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 25px;
}

.switch input {display:none;}

.slider {
  position: absolute;
  cursor: pointer;
  top: 10px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 1px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 15px;
}

.slider.round:before {
  border-radius: 50%;
}

/*Stile della modal per gli errori*/
.modal-header-error, .closeError {
  background-color: #FF3333;
  color:white !important;
  text-align: center;
  font-size: 24px;
}
.modal-footer-error {
  background-color: #f9f9f9;
}

/*Stile della modal Edit*/
.modal-header-edit, .closeEdit {
    background-color: #5cb85c;
    color:white !important;
    text-align: center;
    font-size: 30px;
}
.modal-footer {
    background-color: #f9f9f9;
}
.panel-gest > .panel-heading {
  padding: 5px 10px;
  background-image: -webkit-linear-gradient(top, #d3e5f0 0%, #aac6d8 100%);
  background-image:      -o-linear-gradient(top, #d3e5f0 0%, #aac6d8 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#d3e5f0), to(#aac6d8));
  background-image:         linear-gradient(to bottom, #d3e5f0 0%, #aac6d8 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd3e5f0', endColorstr='#aac6d8', GradientType=0);
  background-repeat: repeat-x;
}

.panel-gest {
  border-color: #aab9c7;
}

.panel-gest > .panel-body {
  padding: 15px;
}


.panel-warning > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #aab9c7;
}

body, p {
  font-size: 12px;
}

.thGrid {
  background-image: -webkit-linear-gradient(top, #FFFFFF 70%, #cadeee 100%) !important;
  background-image:      -o-linear-gradient(top, #FFFFFF 70%, #cadeee 100%) !important;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#cadeee)) !important;
  background-image:         linear-gradient(to bottom, #FFFFFF 70%, #cadeee 100%) !important;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffFFFFFF', endColorstr='#ffcadeee', GradientType=0) !important;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false) !important;
  border-color: #cadeee !important;
  color: #1b3c6e !important;
}
.thGrid:hover,
.thGrid:focus {
    background-color: #cadeee !important;
}

.row {
  margin-right: -5px;
  margin-left: -5px;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
  position: relative;
  min-height: 1px;
  padding-right: 5px;
  padding-left: 5px;
}

label {
  margin-bottom: 2px;
  /*font-weight: bold;*/
}

.tableWidth100 {
  width: 100%
}

.tdSpace {
  width: 5px;
}

.percento {
  padding-left: 2px !important;
  padding-right: 2px !important;
}

.input-sm {
  padding: 5px 5px;
  line-height: 1.5;
  border-radius: 3px;
}

.label-totali {
  font-size: 12pt;
  font-weight: bold;
}

.table tbody tr > .scadenze.entrate {
  background-color: #a5e08e !important;
}

.table tbody tr > .scadenze.uscite {
  background-color: #db9292 !important;
}

.selectAuto {
  width:auto;
}

.buttonCircle {
  border-radius: 50%;
}

.alert-filtri {
  padding-left: 15px;
  padding-top: 7px;
  padding-bottom: 7px;
  padding-right: 30px;
  margin-bottom: 5px;
}

/*Fa in modo che la navbar dei menu si trasformi in menu verticale già a 990px, per i tablet */
@media (max-width: 990px) {
  .navbar-header {
      float: none;
  }
  .navbar-left,.navbar-right {
      float: none !important;
  }
  .navbar-toggle {
      display: block;
  }
  .navbar-collapse {
      border-top: 1px solid transparent;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }
  .navbar-fixed-top {
		top: 0;
		border-width: 0 0 1px;
	}
  .navbar-collapse.collapse {
      display: none!important;
  }
  .navbar-nav {
    float: none!important;
		margin-top: 7.5px;
	}
	.navbar-nav>li {
      float: none;
  }
  .navbar-nav>li>a {
      padding-top: 10px;
      padding-bottom: 10px;
  }
  .collapse.in{
      display:block !important;
  }
}

/* codice per tabella con intestazioni fisse e body scrollabile, usata nella modal dei clienti destinatari per l'itinerario*/
.container-list {
  height: 300px;
  overflow-y: auto;
  width: 100%;
}
.container-row {
	width: 98%;
	padding-top: 5px;
}
.container-row-header {
	width: 96%;
}
.container-striped > div:nth-of-type(odd) {
  background-color: #ebebeb;
}

.totali{
  color: rgb(17, 112, 22);
  background-color:  rgb(223, 250, 223);
	border: 1px solid rgb(17, 112, 22);
	border-radius: 3px;
	padding: 5px;
}

.totaliTitolo{
  color: rgb(17, 112, 22);
}


/*Evita che l'anteprima stampa del browser sia fatta in versione Mobile, invece che normale*/
@media print {
  @page {
    size: 330mm 427mm;
    margin: 14mm;
  }
  .container {
    width: 1170px;
  }
  .no-print {
    visibility: hidden;
  }
}

.img-center{
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.addon-num{
  padding-left: 1px;
  padding-right: 1px;
}

.totali-giro-excel {
  padding: 3px;
  margin: 4px;
  color: #157708;
  background-color: #c8eccd;
  border-radius: 3px;
  border: 1px solid #59a14f;
  display: inline;
  font-size: 10pt;
  font-weight: bold;
}