@media all {
  body {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact !important;
  }
}

@media print {
  .bg-info,
  td.bg-info,
  th.bg-info,
  tr.bg-info {
    color: #17a2b8 !important;
  }
  .bg-warning,
  td.bg-warning,
  th.bg-warning,
  tr.bg-warning {
    color: #ffc107 !important;
  }
  .bg-danger,
  td.bg-danger,
  th.bg-danger,
  tr.bg-danger {
    color: #dc3545 !important;
  }
  .bg-success,
  .alert-success,
  .label-success,
  td.bg-success,
  th.bg-success,
  tr.bg-success {
    color: #28a745 !important;
  }

  .bg-primary {
    background-color: #007bff !important;
  }

  table [data-toggle="collapse"] .fa:before {
    content: "" !important;
  }

  table [data-toggle="collapse"].collapsed .fa:before {
    content: "" !important;
  }

  .spread,
  .dfpn,
  .bold {
    font-weight: bold;
  }

  .border_top_red {
    border-top: 1pt solid red;
  }
  .border_bot_red {
    border-top: 1pt solid red;
  }

  @page {
    size: auto;
    margin: 10mm 10mm 10mm 10mm;
    /* change the margins as you want them to be. */
  }

  .spacing {
    height: 40mm !important;
  }

  body {
    /* sheet size */
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background-color: white !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .hidden-print {
    display: none !important;
  }

  #btn-back-to-top {
    display: none !important;
  }

  .container {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
  }

  .page-break {
    page-break-after: always;
  }

  .table th,
  .table td {
    padding: 0.1rem 0.75rem !important;
  }

  p {
    margin-bottom: 0.1rem !important;
  }

  .btn {
    padding: 0 !important;
    font-size: 0.5rem !important;
  }
}

caption {
  caption-side: top !important;
}

.hidden-print:fullscreen {
  display: none !important;
}

#btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  z-index: 10000 !important;
}

.page-break {
  page-break-after: always;
}

table.dataTable tbody td {
  vertical-align: top !important;
}

table [data-toggle="collapse"] .fa:before {
  content: "\f146";
}

table [data-toggle="collapse"].collapsed .fa:before {
  content: "\f0fe";
}

.ameno:before {
  content: "\f146";
}

.apiu:before {
  content: "\f0fe";
}

.ameno.label:before {
  content: "Comprimi";
}

.apiu.label:before {
  content: "Espandi";
}

.spread,
.dfpn,
.bold {
  font-weight: bold;
}

.border_top_red {
  border-top: 1pt solid red;
}
.border_bot_red {
  border-top: 1pt solid red;
}

body {
  font-family: "Poppins", sans-serif !important;
  font-size: 0.7rem !important;
}
.form-control {
  font-size: 0.7rem !important;
}

.card-title,
.content-header h1 {
  font-size: 0.8rem !important;
}

.nav-pills .nav-link {
  border-radius: 0;
}

.nav-pills .nav-link:not(.active):hover {
  color: #777;
}

.card-body .nav-pills {
  border-right: 1px solid #f4f6f9;
}

.card-body .nav-pills .nav-link {
  border-radius: 100px;
}

@media (min-width: 992px) {
  .content-wrapper,
  .main-footer,
  .main-header {
    margin-left: 270px;
  }
}

.main-sidebar,
.main-sidebar:before {
  transition: margin-left 0.3s ease-in-out, width 0.3s ease-in-out;

  width: 270px;
}

.nav-sidebar .nav-item .nav-icon {
  width: 2.4rem !important;
}

.nav-sidebar > .nav-item .nav-icon.fa-mobile {
  font-size: 1.6rem;
}

.content-header {
  padding: 15px 1.5rem;
}

.content-wrapper > .content {
  padding: 0 1.5rem;
}

.content-headerfixed-top {
  margin-top: 60px;
}

.sidebar {
  padding-left: 0;

  padding-right: 0;
}

body:not(.sidebar-collapse)
  .main-sidebar
  .nav-treeview
  > .nav-item
  > .nav-link {
  color: #676767;

  padding-left: 2rem;

  font-size: 90% !important;
}

body:not(.sidebar-collapse)
  .main-sidebar
  .nav-treeview
  .nav-treeview
  .nav-item
  > .nav-link {
  padding-left: 3rem;
}

body:not(.sidebar-collapse) .main-sidebar .nav-treeview > .nav-item .nav-icon {
  font-size: 95% !important;
}

.small-box .icon i {
  font-size: 90px !important;
}

.pb-35 {
  padding-bottom: 0.9rem !important;
}

.dt-buttons.btn-group {
  display: inline;
}

div.dataTables_wrapper div.dataTables_filter {
  height: 60px;
}

div.dataTables_filter input.form-control.input-sm {
  margin: 0 20px;
}

div.dataTables_wrapper div.dataTables_info {
  float: left;

  padding-top: 10px;
}

div.dataTables_wrapper .dataTables_length {
  float: left;
}

.pagination > li > a {
  border-radius: 70px !important;

  font-size: 12px;

  line-height: 1;

  margin: 0 3px;

  width: 32px;

  height: 32px;

  text-align: center;

  padding: 10px 12px;
}

#dataTableBuilder_previous a,
#dataTableBuilder_next a {
  width: auto !important;
}

/*.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {*/

/*background-color: #a9b6b7;*/

/*border: 1px solid #878a8a !important;*/

/*}*/

.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  color: #b9b9b9 !important;
}

/*.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {*/

/*background-color: #878a8a;*/

/*}*/

table.dataTable {
  margin-bottom: 15px !important;

  border-spacing: 0px;
}

.table th,
.table td {
  vertical-align: middle;
}

table.dataTable tr.group.group-start {
  background-color: #e9ecef;
}

table.dataTable tr.group.group-start td {
  padding: 0.4rem 0.75rem;

  font-weight: 600;
}

table.dataTable .btn-group,
.btn-group-vertical {
  align-items: center;
}

.btn-default {
  color: #383838;

  background-color: #f1f1f1;

  border-color: #f1f1f1;
}

.btn-default:hover,
.btn-default:active,
.btn-default:focus,
.btn-default:active:hover {
  color: #000000;

  background-color: #e2e2e2;

  border-color: #e2e2e2;
}

span.input-group-addon {
  width: 43px !important;

  border: 2px solid #dce4ec;
}

div[class|="iradio_flat"] {
  width: 30px;
}

.select2-container--default .select2-selection--single,
.select2-selection .select2-selection--single {
  height: 40px;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 35px;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 31px;

  right: 5px;
}

.select2-dropdown .select2-search__field:focus,
.select2-search--inline .select2-search__field:focus {
  outline: none;

  border: 1px solid #777;

  border-radius: 2px;
}

.card
  .card-header
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 22px;
}

.card
  .card-header
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 25px;
}

.card .card-header .select2-container--default .select2-selection--single,
.select2-selection .select2-selection--single {
  height: 30px;
}

.card .card-body .custom-field-container {
  padding-top: 20px;

  border-top: 1px solid #eee;

  display: flex;

  flex-wrap: wrap;
}

.card .card-header .select2-container--default .select2-selection__arrow {
  height: 22px;
}

.card .card-header .select2-container--default .select2-selection__rendered {
  line-height: 25px;
}

.card .card-header .select2-container--default,
.card .card-header .select2-selection {
  height: 30px;
}

.card
  .card-header
  .select2-container--default
  .select2-dropdown.select2-dropdown--below {
  margin-top: 2px;
}

.card .card-header .select2-container--default li.select2-selection__choice {
  font-size: 14px;

  padding: 1px 7px;

  line-height: 1.2;
}

.select2-container {
  width: 100% !important;
}

/* Card nav */

.card .card-header .nav-link {
  font-size: 85%;

  padding: 0.5rem 0.6rem;
}

/* icons */

.fa {
  font: normal normal normal 16px/1 FontAwesome;
}

/* Login */

.login-box .login-logo img {
  max-width: 160px;

  max-height: 80px;
}

.login-box span.input-group-text,
.login-box span.input-group-text i {
  width: 50px;
}

.login-box .btn-group .btn + .btn {
  margin-left: 0;
}

.login-box .btn-group .btn {
  border-radius: 0px;
}

.login-box .error-code i.fa {
  font-size: 40px !important;
}

.login-box,
.register-box {
  width: 450px;

  margin: 7% auto;
}

.btn.btn-facebook {
  background-color: #3b5998;

  border-color: #3b5392;

  color: #fff;
}

.btn.btn-google {
  background-color: #dd4b39;

  border-color: #c74a38;

  color: #fff;
}

.btn.btn-twitter {
  background-color: #00aced;

  border-color: #00a4e6;

  color: #fff;
}

/* forms */

.form-text {
  font-size: 80%;
}

@media (min-width: 576px) {
  #mediaModal .card {
    position: initial;

    box-shadow: 0 0px 3px rgba(0, 0, 0, 0.2);

    cursor: pointer;
  }

  #mediaModal .card:hover {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  }

  #mediaModal .card img {
    border-radius: 3px 3px 0 0;
  }

  #mediaModal .card-footer {
    padding: 0.25rem 0.5rem 0;
  }

  #mediaModal .card:hover .card-footer {
    background-color: rgba(0, 0, 0, 0.08);
  }

  #mediaModal .card .delete-media {
    position: absolute;

    right: 13px;

    top: 5px;

    padding: 0.1rem 0.35rem;

    display: none;
  }

  #mediaModal .modal-footer span {
    width: 100%;

    text-align: left;

    font-size: 90%;
  }

  #mediaModal .card-footer small {
    display: inline-block;

    font-size: 80%;

    font-weight: 400;

    white-space: nowrap;

    text-overflow: ellipsis;

    width: 100%;

    overflow: hidden;
  }

  #mediaModal .modal-body {
    height: 560px;

    overflow: auto;
  }

  #mediaModal #createMediaField {
    display: none;
  }

  #mediaModal .media-item {
    position: relative;
  }
}

[data-toggle="tooltip"] {
  display: inline !important;
}

.nmain-header .navbar-nav p {
  margin-bottom: 0;
}

nav.nmain-header .nav-header {
  display: none;
}

nav.nmain-header img.brand-image {
  margin-top: -5px;

  margin-left: 0px;
}

nav.nmain-header .brand-text {
  margin-right: 15px;
}

.dropdown-menu a.dropdown-item {
  color: #212529 !important;
}

.navbar-nav.ml-auto .brand-image {
  float: right;
}

.card-body form div.form-group.col-12.text-right {
  border-top: 1px solid #eee;

  padding-top: 25px;

  margin-top: 15px;
}

.note-editor.note-frame {
  border: 1px solid #ced4da;

  border-radius: 5px;

  box-shadow: none;
}

@media (min-width: 1440px) {
  .container {
    max-width: 1550px;
  }
}

.timeline-with-icons {
  border-left: 1px solid hsl(0, 0%, 90%);
  position: relative;
  list-style: none;
}

.timeline-with-icons .timeline-item {
  position: relative;
}

.timeline-with-icons .timeline-item:after {
  position: absolute;
  display: block;
  top: 0;
}

.timeline-with-icons .timeline-icon {
  position: absolute;
  left: -48px;
  background-color: hsl(217, 88.2%, 90%);
  color: hsl(217, 88.8%, 35.1%);
  border-radius: 50%;
  height: 31px;
  width: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(249, 249, 249);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  z-index: 10001 !important;
}

.preloader-bar {
  flex: 0 0 75%;
  max-width: 75%;
}

.fade-out-animation {
  opacity: 0;
  visibility: hidden;
}

.fullscreen {
  width: 100% !important;
  height: 100% !important;
}

.carousel-control-prev,
.carousel-control-prev {
  display: none !important;
}

.filigrane-content {
  background-color: transparent !important;
  border: none !important;
}

.big-text {
  font-size: 6rem !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
}

.caption-text {
  font-size: 1.2rem !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
}
