.green_led {
  background-color: green;
  width: 20px;
  height: 20px;
  margin-left: 5px;
  float: right;
}

.red_led {
  background-color: red;
  width: 20px;
  height: 20px;
  margin-left: 5px;
  float: right;
}

.board-content {
  overflow: hidden;
  margin-top: 1%;
  margin-left: 5%;
  width: 90%;
  background-color: #ffffff;
  padding: 20px;
  border-top-style: solid;
  border-top-color: #eee;
  border-top-width: 1px;
}

div.ui-datepicker {
  font-size: 14px;
}

a:hover {
  text-decoration: none;
  color: black;
  font-weight: bold;
}

td a {
  display: block;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 8px;
  padding-right: 8px;
  color: black;
  font-weight: bold;
}

.myfaketextarea {
  height: 150px;
  overflow: auto;
  background-color: white;
  border: solid #ccc 1px;
  padding-left: 5px;
  padding-right: 5px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}

.mytextarea {
  cursor: default;
  padding-left: 5px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  height: auto !important;
  height: 100%;
  min-height: 100%;
}

.table_list_search {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}

.table_list_search table {
  table-layout: fixed;
}

.table_list_search td {
  border: 0px solid #ddd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table_list_search th {
  border-bottom: 0px solid red;
  background-color: #ddd;
}

.table_list_search th {
  padding-top: 5px;
  padding-bottom: 1px;
  text-align: left;
  color: black;
}

.table_list {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}

.table_list table {
  table-layout: fixed;
}

.table_list td {
  border: 0px solid #ddd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table_list th {
  border-bottom: 5px solid red;
  background-color: #ddd;
  padding-top: 1px;
  padding-bottom: 1px;
  text-align: left;
  color: black;
}

.table_list tr:nth-child(even) {
  background-color: #f2f2f2;
}

.table_list tr:hover {
  background-color: #ddd;
}

.table_list td:hover {
  background-color: #ddd;
}

.table_list_new {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}

.table_list_new table {
  table-layout: fixed;
}

.table_list_new th {
  border-bottom: 5px solid red;
  background-color: #ddd;
}

.table_list_new th {
  padding-top: 1px;
  padding-bottom: 1px;
  text-align: left;
  color: black;
}

.table_list_new tr:nth-child(even) {
  background-color: #f2f2f2;
}

.table_list_new tr:hover {
  background-color: #ddd;
}

.table_list_new td:hover {
  background-color: #ddd;
}

#list_appti {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}

#list_appti table {
  table-layout: fixed;
}

#list_appti td {
  border: 0px solid #ddd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#list_appti th {
  border-bottom: 5px solid red;
  background-color: #ddd;
}

#list_appti th {
  padding-top: 1px;
  padding-bottom: 1px;
  text-align: left;
  color: black;
}

#list_appti tr:nth-child(even) {
  background-color: #f2f2f2;
}

#list_appti tr:hover {
  background-color: #ddd;
}

#list_appti td:hover {
  background-color: #ddd;
}

.logonbtn {
  padding-top: 0px;
  background-color: gray;
  color: white;
  height: 35px;
  border-radius: 4px;
  border: none;
  min-width: 50px;
}

.logonbtn:hover {
  background-color: red;
}

.chatbtn {
  background-color: gray;
  color: white;
  height: 35px;
  border-radius: 4px;
  border: none;
  min-width: 50px;
  color: white;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  text-decoration: none;
}

.statelabel {
  display: inline-block;
  width: 100px;
  padding: 10px;
  border-radius: 4px;
}

.infolabel {
  display: inline-block;
  width: 100%;
  height: 100%;
  padding-left: 10px;
  padding-top: 5px;
  padding-right: 10px;
  padding-bottom: 5px;
  border-radius: 4px;
  color: white;
  background-color: #cacaca;
  font-weight: bold;
  vertical-align: text-top;
}

.datelabel {
  display: inline-block;
  width: 110px;
  padding: 10px;
  border-radius: 4px;
}

.red {
  background-color: gray;
}

.red {
  background-color: red;
}

.green {
  background-color: green;
}

.yellow {
  background-color: orange;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.blink-text {
  animation: blink 1s step-start infinite;
}

@keyframes blinking {
  0% {
    background-color: #fc0303;
    color: white;
    font-weight: bold;
  }
  50% {
    background-color: #f7baba;
    color: black;
    font-weight: bold;
  }
  100% {
    background-color: #fc0303;
    color: white;
    font-weight: bold;
  }
}
.blink {
  animation: blinking 1s infinite;
}

.ow {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.navbar-nav > li {
  font-size: 11px;
}

body {
  font-size: 11px;
  font-family: Tahoma, sans-serif, arial;
  color: #444;
  background: #ffffff;
}

select {
  border: 1px solid #ccc;
  background: #ffffff;
}

.shadowbox {
  box-shadow: 0px 0px 10px gray;
}

.shadowbox20 {
  box-shadow: 0px 0px 20px gray;
}

.myrounded20 {
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  padding: 0px;
}

.shadowbox10 {
  box-shadow: 0px 0px 10px gray;
}

.myrounded10 {
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  padding: 0px;
}

.myrounded10-top {
  -moz-border-top-left-radius: 10px;
  -moz-border-top-right-radius: 10px;
  -webkit-border-top-left-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 0px;
}

.myrounded4 {
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  padding: 0px;
}

ul.pagination {
  display: inline-block;
  padding: 0;
  margin: 0;
}

ul.pagination li {
  display: inline;
  font-weight: bold;
}

ul.pagination li a {
  color: black;
  float: left;
  padding: 8px 16px;
  background-color: #fff;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

ul.pagination li a.active {
  background-color: red;
  color: white;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.mytextbox {
  border: 1px solid #ccc;
  border-radius: 4px;
  position: relative;
  height: 35px;
}

.myselectbox {
  float: left;
  width: 100%;
  height: 30px;
  max-height: 30px;
  margin-right: 0px;
}

.mytextbox3 {
  width: 100%;
  margin-top: -2px;
}

.mytextbox2 {
  width: 100%;
  height: 30px;
  margin-top: 1px;
  margin-left: 1px;
  margin-right: 1px;
  padding-left: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  position: relative;
}

.mytextbox2:disabled {
  background-color: #fafafa;
}

.mytextarea:disabled {
  background-color: #fafafa;
}

.mytextboxdisabled:disabled {
  background-color: #fff;
  border-color: #fff;
}

ul.pagination li a:hover:not(.active) {
  background-color: #ddd;
}

nav.pagination {
  margin-top: -45px;
}

.overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
  cursor: pointer;
}

.loader_parent {
  position: relative;
}

.loader_child {
  border: 16px solid #f3f3f3;
  border-top: 16px solid red;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
  position: fixed;
  top: 10%;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

.loader_text {
  width: 130px;
  height: 120px;
  color: white;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

/* The Close Button */

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

button.multiselect {
  height: 25px;
  font-size: 11px;
}

.multiselect .dropdown-toggle .btn .btn-default {
  height: 62px;
  font-family: cursive;
}

.dropdown-menu > a {
  font-size: 11px;
}

.dropdown-menu > a:hover {
  font-size: 11px;
  font-weight: normal;
  color: red;
}

.navbar > ul > li > a:hover {
  font-size: 11px;
  font-weight: normal;
  color: red;
}

.modal-header {
  padding: 16px 16px;
}

.chat-modal-dialog {
  height: 90% !important;
}

.chat-modal-content {
  height: 90%;
}

.editbtn {
  background-color: gray;
  color: white;
  border-radius: 4px;
  border: none;
  min-width: 35px;
  width: 35px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
}

.editbtn:hover {
  background-color: red;
  color: white;
}

.editbtndisabled {
  background-color: gray;
  color: white;
  border-radius: 4px;
  border: none;
  min-width: 35px;
  width: 35px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
}

.searchTextBox {
  height: 25px;
  width: 100%;
  margin-left: 0px;
  margin-right: 0px;
  padding-left: 5px;
}

.searchSelectBox {
  float: left;
  width: 100%;
  height: 25px;
  margin-right: 0px;
}

.modal-ku {
  min-width: 1024px;
  width: 1024px;
  margin: auto;
}

pre {
  white-space: pre-wrap; /* Since CSS 2.1 */
  white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
  white-space: -pre-wrap; /* Opera 4-6 */
  white-space: -o-pre-wrap; /* Opera 7 */
  word-wrap: break-word; /* Internet Explorer 5.5+ */
}

@media (min-width: 768px) {
  .modal-xl {
    width: 90%;
    max-width: 1200px;
  }
}

.lavagna {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  table-layout: fixed;
  background-color: #eee;
}

.lavagna tr:nth-child(even) {
  background-color: #f2f2f2;
}

.lavagna tr:nth-child(odd) {
  background-color: #ffffff;
}

.lavagna td {
  border: 1px solid #ddd;
  padding: 0px;
  height: 25px;
}

.lavagna td a {
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 8px;
  padding-right: 8px;
}

.lavagna td:hover {
  background-color: #ddd;
}

.lavagna .cellbtn {
  padding-top: 11px;
  padding-bottom: 11px;
}

.lavagna th {
  border-bottom: 5px solid red;
  width: 28px;
  background-color: #ddd;
}

.lavagna th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  color: black;
  font-weight: bold;
  text-align: center;
}

.lavagna .slot_non_disp {
  background-color: #ddd;
}

.lavagna .pa {
  background-color: limegreen;
}

.lavagna .corporate {
  background-color: green;
}

.lavagna .nogruppo {
  background-color: darkseagreen;
}

.lavagna .intervento_extra {
  background-color: red;
}

.abtn {
  padding-left: 10px;
  padding-right: 10px;
  background-color: gray;
  color: white;
  border-radius: 4px;
  border: none;
  font-weight: normal;
  display: inline-block;
  height: 100%;
  line-height: 35px;
}

.abtn:hover {
  background-color: red;
  font-weight: normal;
  color: white;
}

.flex-container {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.flex-container > span {
  flex-grow: 1;
}

.flex-container > .flex-item {
  flex-grow: 0;
  padding: 2px;
}

.asc_ord {
  position: relative;
  top: 0px;
}

.a-col-title {
  color: black;
}
.altRow table {
  width: 100%;
}

.sub_table_list {
  width: 100%;
}
.sub_table_list td {
  padding: 10px;
  height: 40px;
}
.note_tecnico_onsite {
  white-space: pre-wrap;
  word-wrap: break-word;
  padding: 10px;
}
.fake-input-editable {
  background-color: #efefef;
  border: 1px solid #ccc;
  margin-top: 0px;
  margin-bottom: 10px;
  padding: 5px 8px 5px 8px;
  width: 98%;
  border-radius: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  background-color: white;
  min-height: 50px;
}

.fake-input {
  background-color: #efefef;
  border: 1px solid #ccc;
  margin-top: 0px;
  padding: 5px 8px 5px 8px;
  width: 93%;
  border-radius: 10px;
  min-height: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.my-select {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  background-color: white;
}
.my-label {
  margin-top: 10px;
  width: 95%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.table_sub_list {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}

.table_sub_list table {
  table-layout: fixed;
}

.table_sub_list td {
  border: 0px solid #ddd;
}

.table_sub_list th {
  border-bottom: 5px solid red;
  background-color: #ddd;
}

.table_sub_list th {
  padding-top: 1px;
  padding-bottom: 1px;
  text-align: left;
  color: black;
}

.table_sub_list tr:nth-child(even) {
  background-color: #f2f2f2;
}

input[type="text"]:disabled {
  color: black;
}
.form-table {
  margin-top: 0px;
  margin-bottom: 0px;
  width: 100%;
}
.form-table td {
  padding-top: 5px;
  padding-left: 20px;
}
.form-table td:first-child {
  padding-top: 5px;
  padding-left: 0px;
}

.infolabel {
  font-family: "Arial";
  font-size: 12px;
  display: inline-block;
  width: 100%;
  height: 100%;
  padding-left: 10px;
  padding-top: 5px;
  padding-right: 10px;
  padding-bottom: 5px;
  border-radius: 4px;
  color: white;
  background-color: #cacaca;
  font-weight: bold;
  vertical-align: text-top;
}
.infolabel .txt {
  float: left;
  width: 80%;
  height: 100%;
}
.infolabel .nr {
  float: right;
  font-size: 26px;
  width: 20%;
  text-align: right;
  height: 100%;
}
.statelabel {
  width: 100%;
  text-align: center;
  height: 100%;
  padding-left: 0px;
  padding-right: 0px;
}
.multirowlabel {
  display: inline-block;
  border-radius: 4px;
  width: 100%;
  text-align: center;
  height: 35px;
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
}

.label-card {
  flex: 1 1 auto;
  background-color: rgb(237, 237, 237);
  color: rgb(70, 69, 69);
  align-items: flex-start;
  text-align: left;
  padding-left: 5px;
  padding-top: 2px;
  cursor: pointer;
  text-decoration: none;
}
.label-card:hover {
  text-decoration: none;
  font-weight: normal;
}
.label-card-inactive {
  flex: 1 1 auto;
  background-color: rgb(237, 237, 237);
  color: rgb(70, 69, 69);
  align-items: flex-start;
  text-align: left;
  padding: 5px 10px 5px 10px;
  text-decoration: none;
}

.value-card {
  flex: 1 1 auto;
  background-color: rgb(237, 237, 237);
  color: rgb(70, 69, 69);
  align-items: flex-start;
  text-align: right;
  padding-right: 5px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

.value-card:hover {
  text-decoration: none;
  font-weight: bold;
}
.value-card-inactive {
  flex: 1 1 auto;
  background-color: rgb(237, 237, 237);
  color: rgb(70, 69, 69);
  align-items: auto;
  text-align: right;
  padding: 5px 10px 5px 10px;
  font-size: 24px;
  font-weight: bold;
  margin-right: 1px;
  text-decoration: none;
}

.value-card-small {
  flex: 1 1 auto;
  background-color: rgb(237, 237, 237);
  color: rgb(70, 69, 69);
  align-items: auto;
  text-align: right;
  padding: 5px 10px 5px 10px;
  font-weight: bold;
  margin-right: 1px;
  cursor: pointer;
  text-decoration: none;
  font-size: 20px;
}
.value-card-small:hover {
  text-decoration: none;
  font-weight: bold;
}

.label-card-header {
  flex: 1 1 auto;
  background-color: #cecece;
  color: rgb(29, 29, 29);
  align-items: flex-start;
  text-align: left;
  font-weight: bold;
  padding: 5px 10px 5px 10px;
}

.value-card-header {
  flex: 1 1 auto;
  background-color: #cecece;
  color: black;
  align-items: flex-end;
  text-align: right;
  font-weight: bold;
  padding: 5px 10px 5px 10px;
}

.col-container {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-align-content: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  width: 100%;
  margin: 1px;
}
.row-container {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-align-content: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  width: 100%;
}

.gpsbtn {
  background-color: gray;
  color: white;
  border-radius: 4px;
  border: none;
  min-width: 35px;
  width: 35px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
}
.gpsbtn:hover {
  background-color: red;
  color: white;
}

.mytextarea {
  cursor: default;
  padding-left: 5px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  height: auto !important;
  height: 100%;
  min-height: 100%;
}

.myanchor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 35px;
  margin-bottom: -10px;
}

.dropbtn {
  background-color: gray;
  color: white;
  padding: 10px;
  border: none;
  cursor: pointer;
}

/* Dropdown button on hover & focus */
.dropbtn:hover,
.dropbtn:focus {
  background-color: red;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  min-width: 300px;
  width: 300px;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
  display: inline-block;
}

#my_table_list {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}

#my_table_list table {
  table-layout: fixed;
}

#my_table_list td {
  border: 0px solid #ddd;
  white-space: wrap;
  text-overflow: ellipsis;
}

#my_table_list th {
  border-bottom: 5px solid red;
  background-color: #ddd;
}

#my_table_list th {
  padding-top: 1px;
  padding-bottom: 1px;
  text-align: left;
  color: black;
}

#my_table_list tr:nth-child(even) {
  background-color: #f2f2f2;
}

#my_table_list tr:hover {
  background-color: #ddd;
}

#my_table_list td:hover {
  background-color: #ddd;
}

.my_fake_textbox {
  background-color: white;
  padding: 5px;
  width: 100%;
  min-height: 25px;
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #ddd;
  color: #333;
  text-align: center;
}

/*====================================================*/
.search_box_style {
  height: 25px;
  width: 100%;
  margin-left: 0px;
  margin-right: 0px;
  padding-left: 5px;
}
.search_select_style {
  float: left;
  width: 100%;
  height: 25px;
  margin-right: 0px;
}

.view {
  margin: auto;
  width: 600px;
}

.wrapper {
  position: relative;
  overflow: auto;
  border: 1px solid black;
  white-space: nowrap;
}

.sticky-col {
  position: -webkit-sticky;
  position: sticky;
  background-color: white;
}

.first-col {
  width: 50px;
  min-width: 50px;
  max-width: 50px;
  left: 0px;
  z-index: 100;
}

/* width */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: gray;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: red;
}

/* Dropdown Button */
.mydropbtn {
  background-color: gray;
  color: white;
  padding: 10px;
  /* font-size: 16px; */
  border: none;
  cursor: pointer;
}

/* Dropdown button on hover & focus */
.mydropbtn:hover,
.mydropbtn:focus {
  background-color: red;
}

.mydropdown {
  position: absolute;
  display: inline-block;
}

/* dipende da list_table :  per tabelle con contenuto celle su più righe e larghezza fissa */
/* Dropdown Content (Hidden by Default) */
.mydropdown-content {
  left: 50px;
  top: 0px;
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 300px;
  width: 300px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 100;
}

/* Links inside the dropdown */
.mydropdown-content a {
  color: black;
  padding: 8px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.mydropdown-content a:hover {
  background-color: red;
  color: white;
}
/**sublist*********************************************/
.mydropdown-sublist {
  position: absolute;
  display: inline-block;
}

/* dipende da list_table :  per tabelle con contenuto celle su più righe e larghezza fissa */
/* Dropdown Content (Hidden by Default) */
.mydropdown-sublist-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 300px;
  width: 300px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 100;
}

/* Links inside the dropdown */
.mydropdown-sublist-content a {
  color: black;
  padding: 8px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.mydropdown-sublist-content a:hover {
  background-color: red;
  color: white;
}

/***********************************************
        /* Dropdown Button */
.mydropFormbtn {
  background-color: gray;
  color: white;
  padding: 10px;
  margin-top: 21px;
  border: none;
  cursor: pointer;
}

/* Dropdown button on hover & focus */
.mydropFormbtn:hover,
.mydropFormbtn:focus {
  background-color: red;
}

.mydropdownform {
  margin: auto;
}

/* Dropdown Content (Hidden by Default) */
.mydropdownform-content {
  display: none;
  position: relative;
  background-color: #fff;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

/* Links inside the dropdown */
.mydropdownform-content a {
  color: black;
  padding: 8px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.mydropdownform-content a:hover {
  background-color: red;
  color: white;
}
/***********************************************


		/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
  display: inline-block;
}

/* dipende da list_table : per tabelle con contenuto celle su più righe e larghezza fissa - modificare anche mydropdown-content */
.list_table {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;

  border-bottom: 2px solid #ddd;
  display: block;
  overflow-x: auto;
  white-space: nowrap;
  min-height: 430px;
}

.list_table td {
  border: 0px solid #ddd;
  white-space: normal;
  word-wrap: break-word; /* All browsers since IE 5.5+ */
  overflow-wrap: break-word; /* Renamed property in CSS3 draft spec */
}

.list_table th {
  border-bottom: 5px solid red;
  background-color: #ddd;
}

.list_table th {
  padding-top: 1px;
  padding-bottom: 1px;
  text-align: left;
  color: black;
}

.list_table tr:nth-child(even) {
  background-color: #f2f2f2;
}

.list_table tr:hover {
  background-color: #ddd;
}

.list_table td:hover {
  background-color: #ddd;
}

.cell_padding {
  padding-top: 10px;
  padding-left: 5px;
}

input[type="file"] {
  width: 200px;
  max-width: 100%;
  color: #333;
  padding: 0px;
  background: #fff;
}

input[type="file"]::file-selector-button {
  font-size: 12px;
  margin-right: 5px;
  border: none;
  background-color: gray;
  padding: 8px 20px;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

input[type="file"]::file-selector-button:hover {
  background-color: red;
}
/*=================================================*/

#login_email,
#login_password,
#sign_nome,
#sign_cognome,
#sign_telefono,
#sign_email,
#sign_password {
  border: 1px solid #ccc;
  border-radius: 4px;
  border-left: 30px solid #ccc;
  position: relative;
  height: 25px;
  font-size: 11px;
  margin-left: 30px;
  margin-right: 20px;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  background-color: #333;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 20px;
  padding-bottom: 140px;
  margin-top: 50px;
}

.sidenav a {
  text-decoration: none;
  font-size: 12px;
  color: #aaa;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  margin-left: 50px;
}

.menusearch {
  position: absolute;
  height: 35px;
  border-radius: 4px;
  top: 10;
  right: 25px;
  margin-left: 50px;
  width: 80%;
}

.mysidenavcontent {
  margin-top: 50px;
}

@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }

  .sidenav a {
    font-size: 18px;
  }
}

.sidenav ul,
#myUL {
  list-style-type: none;
  color: white;
  font-size: 12px;
}

.sidenav li {
  padding-bottom: 10px;
}

/* Remove margins and padding from the parent ul */
#myUL {
  margin: 20px;
  padding: 0;
}

/* Style the caret/arrow */
.sidenav .caret {
  cursor: pointer;
  user-select: none;
}

/* Create the caret/arrow with a unicode, and style it */
.sidenav .caret::before {
  content: "\25B6";
  color: white;
  display: inline-block;
  margin-left: 5px;
}

/* Rotate the caret/arrow icon when clicked on (using JavaScript) */
.sidenav .caret-down::before {
  transform: rotate(90deg);
}

/* Hide the nested list */
.sidenav .nested {
  display: none;
  padding-top: 10px;
  margin-left: -20px;
}

/* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
.sidenav .active {
  display: block;
}

/* Style The Dropdown Button */
.usr_dropbtn {
  background-color: white;
  color: #888;
  padding: 15px;
  font-size: 12px;
  border: none;
  cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.usr_dropdown {
  position: relative;
  float: right;
}

/* Dropdown Content (Hidden by Default) */
.usr_dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 260px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  right: 0;
}

/* Links inside the dropdown */
.usr_dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.usr_dropdown-content span {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.usr_dropdown-content a:hover {
  background-color: #f1f1f1;
}

/* Show the dropdown menu on hover */
.usr_dropdown:hover .usr_dropdown-content {
  display: block;
}

/* Style The Dropdown Button */
.action_dropbtn {
  background-color: white;
  color: #888;
  padding: 15px;
  border: none;
  cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.action_dropdown {
  position: relative;
  float: right;
}

/* Dropdown Content (Hidden by Default) */
.action_dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 260px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 100;
  right: 0;
}

/* Links inside the dropdown */
.action_dropdown-content a {
  color: black;
  padding: 8px 16px;
  text-decoration: none;
  display: block;
}

.action_dropdown-content span {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.action_dropdown-content a:hover {
  background-color: red;
  color: white;
}

.no-border-on-focus:focus {
  outline: none !important;
  border: none;
}
.no-border {
  outline: none !important;
  border: none;
}

.myform-close-btn {
  float: right;
}
a.myform-close-btn:hover {
  background-color: inherit;
  color: red;
}

.diary-note-container {
  border: 2px solid #dedede;
  background-color: #fefefe;
  border-radius: 10px;
  padding: 10px;
  margin: 10px 0;
}
.diary-note-container::after {
  content: "";
  clear: both;
  display: table;
}

.diary-note-datetime {
  float: right;
  color: #aaa;
}

.diary-note-user {
  float: left;
  color: #999;
}

.myrow-container {
  width: 100%;
  margin-bottom: 40px;
}
.myrow-container::after {
  content: "";
  clear: both;
}

.myrow-right {
  float: right;
}

.myrow-left {
  float: left;
}

.search_content {
  height: 300px;
  border: 1px solid grey;
  display: none;
  overflow-y: scroll;
  background-color: white;
  position: absolute;
  z-index: 1;
  min-width: 300px;
  width: 300px;
}

.search_content a {
  width: 100%;
  padding: 0px;
  margin: 0px;
  height: 10px;
  font-size: 12px;
  font-weight: normal;
}

/* DASHBOARD HEADER */
.dash-header-container {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-bottom: 10px;
}
.dash-header-block {
  display: inline-flex;
}
.dash-header-title {
  padding-top: 10px;
  padding-bottom: 10px;
  color: red;
  font-size: 20px;
  margin-left: 10px;
  color: red;
}
.dash-header-search-tb {
  height: 25px;
  width: 150px;
}
.dash-header-btn {
  height: 25px;
  margin-left: 3px;
}

.dash-header-right {
  display: inline-flex;
  margin: auto;
  margin-right: 0;
}

/*SUMMARY INFO*/
.category-container {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-align-content: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  width: 100%;
}

.cat-head-container {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-align-content: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  width: 100%;
}
.btn-list-container {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-align-content: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

.label-card {
  flex: 1 1 auto;
  background-color: rgb(237, 237, 237);
  color: rgb(70, 69, 69);
  align-items: flex-start;
  text-align: left;
  padding-left: 5px;
  padding-top: 2px;
  cursor: pointer;
  text-decoration: none;
}
.value-card {
  flex: 1 1 auto;
  background-color: rgb(237, 237, 237);
  color: rgb(70, 69, 69);
  align-items: flex-start;
  text-align: right;
  padding-right: 5px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}
.label-card-header {
  flex: 1 1 auto;
  background-color: #cecece;
  color: rgb(29, 29, 29);
  align-items: flex-start;
  text-align: left;
  font-weight: bold;
  padding: 5px 10px 5px 10px;
}
.value-card-header {
  flex: 1 1 auto;
  background-color: #cecece;
  color: black;
  align-items: flex-end;
  text-align: right;
  font-weight: bold;
  padding: 5px 10px 5px 10px;
}
@media screen and (max-width: 640px) {
  .btn-list-container {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
    margin: 1px;
  }
  .cat-head-container {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
    margin: 1px;
  }
}

@media (max-width: 1024px) {
  .category-container {
    flex-direction: column;
  }

  .col-container {
    width: 100%;
  }
}

#loading {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-align: center;
  z-index: 9999;
}

#loading-image {
  position: absolute;
  top: 40%;
  left: 45%;
  z-index: 10000;
}
