body {
  margin-top:0 !important;
}

.tooltip {
  z-index: 80000 !important;
}
.buttons-excel {
  /*display: none !important;*/
}

div.dt-buttons {
    position: relative;
    float: right !important;
}

.side{
  height:100vh;
  position:fixed;
  right:0px;
  top:0px;
  width:800px;
  overflow-y:scroll;
  background-color:#fff;
  z-index:9000;
  padding:20px;
  border:1px solid #eee;
}

.btn.new{
  position:fixed;
  right:20px;
  bottom:20px;
  border-radius:50%;
  width:50px;
  height:50px;
  font-size:24px;
  -webkit-box-shadow: 5px 5px 15px -1px #727272; 
  box-shadow: 5px 5px 15px -1px #727272;
  z-index: 1;
}

@media screen and (min-width: 992px) {
  header {
    display: none;
  }
  .has-sidebar #sidebar,
  .has-sidebar #sidebar .sidebar-inner {
    width: 200px;
  }
  .has-sidebar #body {
    width: calc(100% - 200px)
  }
}

section.ajax_grid, section.grid {
  font-size: 14px;
}

.dataTables_wrapper {
  overflow: auto;
  margin-bottom: 7em;
  padding: 1em 0;
  /*max-height: 89vh;*/
}

@media screen and (max-width: 991px) {
  .itemname-logo-desktop {
    display: none;
  }
}

@media only screen and (max-width: 600px) {
  .login-wrapper {
    min-width: 100%;
  }
}

/*************************************/
.has-sidebar #body{
  padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.sidebar-inner{
  background-color:#EFEBE7;
}

.navname-top{
  padding-left:20px;
  padding-top:20px;
}

.nav-item a {
  color:#1e4e9c;
}
 
.btn-primary {
    color: #fff;
    background-color: #1e4e9c;
    border-color: #1e4e9c;
}

.section-header{
  padding-left:10px;

}
.section-header h2{
  color:#1e4e9c;
}

section.generatore-navigazione .container {
    margin: 0;
    max-width: 100%;
}

table.dataTable{
    font-size: smaller;
}

table.hover.dataTable.no-footer {
    padding-top: 10px;
    margin-bottom: 10px;
}
table.dataTable tbody th, table.dataTable tbody td {
    padding: 8px 16px !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{
  background:none !important;
  
}
.dataTables_wrapper .dataTables_paginate .paginate_button,.dataTables_wrapper .dataTables_paginate .paginate_button:hover{
  background:none !important;
  color:#000 !important;
  border:none !important;
  
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover{
background-color:#eee !important;
}
tr.even{
  background-color:#efebe750 !important;
}
table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover{
  background-color:#efebe7 !important;
}


section.generatore-navigazione .actions {
  border-bottom: 1px solid #aaa !important;
  padding: 0 1em;
  position: relative;
}


section.generatore-navigazione .btn-primary{
    background-color: #fff;
    border: none;
    color: #666;
    border: 1px solid #aaa !important;
    /* text-decoration: underline; */
    margin-bottom: -1px !important;
    margin-right: 3px !important;
    margin-left: 0px !important;
    border-radius: 5px 5px 0 0;
    padding: 10px 13px;
}
section.generatore-navigazione .btn-primary.selected{
  background-color:#fff;
}
section.generatore-navigazione .btn-primary:hover{
  background-color:#ccc;
}

section.generatore-navigazione .btn-primary.active {
    background: #fff !important;
    color: #666 !important;
    border-bottom: 1px solid #fff !important;
  
}
.nav-item img{
  max-width:100%;
}

table {
  width: 100% !important;
  margin: 0 !important;
}


.select2-container{
  display:block !important;
  width:100% !important;
}
.select2-container--default .select2-selection--single{
  border-radius:0 !important;
  border: 1px solid #ced4da !important;
  height: calc(1.5em + .75rem + 2px) !important;
  padding: .375rem .75rem !important;
      
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height: 1.4 !important;
}

.select2-dropdown--below {
    position: relative !important;
    z-index: 9000 !important;
}

.form {
  padding-bottom: 2em;
}

/* Richiesta di Feng: nella griglia lasciare solo il pulsante di download excel */
#myAjaxTable_wrapper > div.dt-buttons > button.dt-button.buttons-copy.buttons-html5,
#myAjaxTable_wrapper > div.dt-buttons > button.dt-button.buttons-csv.buttons-html5,
#myAjaxTable_wrapper > div.dt-buttons > button.dt-button.buttons-pdf.buttons-html5 {
  display: none!important;
}

@media print {
  body #page-175, 
  body #page-176, 
  body #page-189,
  body #page-190,
  body #page-221,
  button, 
  .btn-delete,
  .close, .new,
  input[value="0"]{
    visibility: hidden!important;
  }
  .generatore-ajax_grid,
  #sideForm::-webkit-scrollbar {
    display: none;
  }
  #sideForm{
    visibility: visible!important;
    position: absolute!important;
    left: 0!important;
    top: 0!important;
    width:100%!important;
    overflow-y: visible!important;
    margin: 0!important;
  }
  #sideForm label {
    margin-bottom: 0.0rem!important;
  }
  #sideForm .form-control, 
  #sideForm .select2-selection,
  #sideForm .side{
    display:inline-block!important;
    width:70%!important;
    border: 0px solid #ced4da!important;
    font-weight: 700;
    font-style: italic!important;
    margin-left: 30px!important;
  }
}
