/* ========== Globali ========== */
body {
  -ms-overflow-style: scrollbar;
}

/* pulsante back-to-top */
#toTopBtn {
  display: none;
  position: fixed;
  bottom: 60px;
  right: 40px;
  z-index: 99;
  width: 40px;
  height: 40px;
  text-align: center;
  padding: 6px 0 6px 0px;
  font-size: 24px;
  line-height: 0.9;
  border-radius: 20px;
}

/* larghezza container navbar e pagina */
@media (min-width: 576px) {
  .container {
    max-width: 95%; }
}
@media (min-width: 768px) {
  .container {
    max-width: 95%; }
}
@media (min-width: 992px) {
  .container {
    max-width: 95%; }
}
@media (min-width: 1200px) {
  .container {
    max-width: 95%; }
}
@media (max-width: 767.98px) {
  .navbar-expand-md>.container {
    padding-right: 15px;
    padding-left: 15px;
  }
}

.modal-dialog {
  max-width: calc(100% - 4rem);
  width: 1000px;
  min-width: 500px;
}

/* hamburger menu animato - https://mdbootstrap.com/docs/jquery/navigation/hamburger-menu/ - caso 2 */
.animatedHamburger {
width: 30px;
height: 20px;
position: relative;
margin: 0px;
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
-webkit-transition: .5s ease-in-out;
-moz-transition: .5s ease-in-out;
-o-transition: .5s ease-in-out;
transition: .5s ease-in-out;
cursor: pointer;
}
.animatedHamburger span {
display: block;
position: absolute;
height: 2px;
width: 100%;
border-radius: 9px;
opacity: 1;
left: 0;
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
-webkit-transition: .25s ease-in-out;
-moz-transition: .25s ease-in-out;
-o-transition: .25s ease-in-out;
transition: .25s ease-in-out;
}
.animatedHamburger span {
background: #3369e8;
}
.animatedHamburger span:nth-child(1) {
top: 0px;
}
.animatedHamburger span:nth-child(2), .animatedHamburger span:nth-child(3) {
top: 8px;
}
.animatedHamburger span:nth-child(4) {
top: 16px;
}
.animatedHamburger.open span:nth-child(1) {
top: 11px;
width: 0%;
left: 50%;
}
.animatedHamburger.open span:nth-child(2) {
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
.animatedHamburger.open span:nth-child(3) {
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.animatedHamburger.open span:nth-child(4) {
top: 11px;
width: 0%;
left: 50%;
}

.cursor_default {
  cursor: default;
}
.cursor_pointer {
  cursor: pointer;
}
.displayNone {
  display: none;
}
.displayBlock {
  display: block;
}
.fontWeight_600 {
  font-weight: 600;
}

button:focus {
  outline: none;
}
:focus {
  outline: none;
}

/* ========== Bootstrap ========== */
/* bordo Custom checkbox e radio */
.custom-control-label::before {
  border: 1px solid #d9dee8;
}

.form-control:focus {
  box-shadow: none;
}

.tooltip-inner {
  text-align: left;
}

/* ========== Spinner ========== */
#spinner {
position: fixed;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
z-index: 9999;
/* background-color: #ffffff; */
}

/* ========== Select2 ========== */
/* select singola */
/* .select2-container--bootstrap4 .select2-selection--single {
  padding: .6rem 1.125rem .6rem .5rem;
}
 .select2-container--bootstrap4 .select2-selection {
  border: 1px solid #d9dee8;
  border-radius: .0rem;
}
.select2-dropdown {
  border-radius: 0px;
}
.select2-container--bootstrap4 .select2-dropdown {
  border-color: #00a0f0
}
.select2-container--bootstrap4.select2-container--open .select2-selection {
  border-color: #00a0f0;
}
.select2-container--bootstrap4 .select2-search--dropdown .select2-search__field {
  border: 1px solid #d9dee8;
  border-radius: .0rem;
  color: #000;
}
.select2-container--bootstrap4 .select2-search--dropdown .select2-search__field:focus {
  border: 1px solid #00a0f0;
}
.select2-container--bootstrap4.select2-container--focus .select2-selection {
  border-color: #00a0f0;
}
.select2-container--bootstrap4 .select2-results__option--highlighted[aria-selected] {
  background-color: #003c7d;
} */
/* altrimenti taglia la parte bassa del placeholder nella select2 editor */
/* .select2-container--bootstrap4 .select2-selection--single {
  line-height: 1.05;
} */

/* select multipla */
/* .select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
  color: #000;
  border: 1px solid #d9dee8;
  border-radius: .0rem;
  margin: 0 .25rem .25rem 0;
  padding: 0 .25rem;
}
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__rendered {
  padding: .6rem .5rem .5rem .5rem;
  line-height: 1.4;
}
.select2-container--bootstrap4 .select2-selection--multiple .select2-search--inline .select2-search__field {
  line-height: 1.1;
}
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice__remove {
  margin-left: 0;
} */

/* ========== DataTables ========== */
/* centratura orizzontale titoli di colonna */
.table_centerColTitle th {
  text-align: center;
}

/* centratura verticale titoli di colonna */
.table thead th {
  vertical-align: middle;
}

/* larghezza search box */
div.dataTables_wrapper div.dataTables_filter input {
  width: 180px;
}

/* cursor pointer su righe cliccabili ma non su quelle child se la tabella è responsiva */
.table_pointer tbody tr:not(.child) {
  cursor: pointer;
}

.table_pointer tbody tr {
  cursor: pointer;
}

table.dataTable tbody > tr.selected {
  background-color: #bbb;
}

div.dataTables_wrapper div.dataTables_info {
  padding-top: 0em;
}

/* colori pulsante apertura / chiusura tabella responsiva */
table.dataTable.dtr-column > tbody > tr > td.control::before, table.dataTable.dtr-column > tbody > tr > th.control::before {
  background-color: #3369e8;
}
table.dataTable.dtr-column > tbody > tr.parent td.control::before, table.dataTable.dtr-column > tbody > tr.parent th.control::before {
  background-color: #000;
}

.table thead th {
  /* vertical-align: middle; */
  border-bottom: 1px solid #dee2e6;
}

.table td, .table th {
  vertical-align: middle;
}

/* https://stackoverflow.com/questions/43679491/bootstrap-4-center-pagination-in-column */
@media screen and (max-width: 767px) {
  div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: center;
  }
}

/* pulsante es. Excel non al 100% su mobile */
/* @media screen and (max-width: 767px) {
  div.dt-buttons {
    width: 100%;
  }
} */

/* https://datatables.net/forums/discussion/55596 */
.dataTables_length .custom-select {
  background: none;
}

/* ========== Tabelle ========== */
/* larghezza colonne standard tabelle */
.table__col_width_30 {
    width: 30px;
    max-width: 30px;
}
.table__col_width_55 {
    width: 55px;
    max-width: 55px;
}
.table__col_width_70 {
    width: 70px;
    max-width: 70px;
}
.table__col_width_100 {
    width: 100px;
    max-width: 100px;
}
.table__col_width_140 {
    width: 140px;
    max-width: 140px;
}
.table__col_width_200 {
    width: 200px;
    max-width: 200px;
}
.table__col_width_280 {
    width: 280px;
    max-width: 280px;
}

/* ========== Elementi ========== */
/* password strength bar height */
/* .progress {
    height: 5px;
} */

/* Resize solo verticale per caselle di testo */
.textarea_resize_v {
    resize: vertical;
}

.tag_vacche {
  color: red;
}
.tag_vacche_icon {
  background-color: red;
  color: red;
  border-radius: 18px;
}
.tag_temperatura {
  color: blue;
}
.tag_temperatura_icon {
  background-color: blue;
  color: blue;
  border-radius: 2px;
}
.tag_raschiatori {
  color: orange;
}
.tag_raschiatori_icon {
  background-color: orange;
  color: orange;
  border-radius: 18px;
}
.tag_operatori {
  color: yellow;
}
.tag_operatori_icon {
  background-color: yellow;
  color: yellow;
  border-radius: 18px;
}
.tag_test {
  color: green;
}
.tag_test_icon {
  background-color: green;
  color: green;
  border-radius: 18px;
}
.fuoriZona {
  color: DarkViolet;
}
.fuoriZona_icon {
  background-color: DarkViolet;
  color: DarkViolet;
  border-radius: 18px;
}
.frescheGravide {
  color: #fff;
  background-color: #ff4887;
}
.conToro {
  color: #212529;
  background-color: #f9fca8;
}
.asciutte1 {
  color: #212529;
  background-color: #fe619f;
}
.asciutte2 {
  color: #212529;
  background-color: #b57db6;
}


/* tr.vaccheRimosse, label.vaccheRimosse {
  background-color: LightPink;
}
.table-hover tbody tr.vaccheRimosse:hover {
  background-color: #ff99a8;
}
.table-striped tbody tr.vaccheRimosse:nth-of-type(odd) {
  background-color: LightPink;
}
.table-striped tbody tr.vaccheRimosse:nth-of-type(odd):hover {
  background-color: #ff99a8;
} */

#iScraperTableRS3_wrapper .dt-buttons.btn-group.flex-wrap, #iScraperTableRS4_wrapper .dt-buttons.btn-group.flex-wrap {
  margin-bottom: 8px;
}