* {box-sizing: border-box;}

body { 
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}


.topnav {
  overflow: hidden;
  background-color: #373737;
}

.topnav a {
  float: left;
  display: block;
  color: #dfbc1f;
  text-align: center;
  padding: 12px 12px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #373737;
  color: white;
  padding: 1px;
}

.topnav .icon {
  display: none;
}

  div.utenteConnesso {
    text-align: right;
    color: #808080;
  }

  div.title {
    text-align: center;
    color: #373737;
  }

@media screen and (min-width: 601px) {
  div.title {
    font-size: 18px;
  }
  
  
  div.utenteConnesso {
    font-size: 12px;
  }
}
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
  div.title {
    font-size: 12px;
  }
  div.utenteConnesso {
    font-size: 10px;
  }  
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

.responsive {
  width: 100%;
  height: auto;
}


.contentdiv{
  	margin-left: 1%;
  	margin-right: 1%;

}


.datatable{
	font-family: Arial, Helvetica, sans-serif;
  	border-collapse: collapse;
  	margin-left: auto;
  	margin-right: auto;
  	table-layout: fixed;
}

.datatable-max-width-1100px{
	max-width: 1100px;
}

.datatable th {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
  white-space: nowrap;
}

.datatable td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.datatable-td-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  max-width: 0;
}

.datatable-td-withoutsearchfield {
  padding-top: 20px !important; 
  padding-bottom: 20px !important;
}


.datatable-td-width5 {
  width: 5%;
}
.datatable-td-width10 {
  width: 10%;
}
.datatable-td-width15 {
  width: 15%;
}
.datatable-td-width20 {
  width: 20%;
}
.datatable-td-width25 {
  width: 25%;
}

.datatable-td-width45 {
  width: 45%;
}
.datatable-td-width50 {
  width: 50%;
}
.datatable-td-width55 {
  width: 55%;
}
.datatable-td-width60 {
  width: 60%;
}

.datatable-td-width80 {
  width: 80%;
}

.datatable-td-width100 {
  width: 100%;
}

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

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

.datatable th {
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: #6bb42c;
  color: white;
}

.datatable a {
  text-decoration: none;
  color: white;
}


.datatable input[type="text"]{
  width:100%;/* Whatever percent you want*/
  border: 1px solid #ccc;
  border-radius: 4px;
}


.pulsante {
  background-color: #6bb42c;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
}

.pulsante-disabilitato {
  background-color: #ddd;
  color: #8d8b84;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}


.pulsantetabella {
  background-color: #6bb42c;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
}

.center-children {
	text-align: center !important;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #373737;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #373737 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}


/* Add padding and center-align text to the container */
.modal-container {
  padding: 16px;
  text-align: center;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: #474e5d;
  padding-top: 50px;
}

.modal form > div > div{
	width: 100%;
}


/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* Style the horizontal ruler */
hr {
  border: 1px solid #f1f1f1;
  margin-bottom: 25px;
}

/* The Modal Close Button (x) */
.close {
  position: absolute;
  right: 35px;
  top: 15px;
  font-size: 40px;
  font-weight: bold;
  color: #f1f1f1;
}

.close:hover,
.close:focus {
  color: #f44336;
  cursor: pointer;
}

/* Clear floats */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/* Change styles for cancel button and delete button on extra small screens */
@media screen and (max-width: 300px) {
  .modalcancelbtn, .modalokbtn {
    width: 100%;
  }
}

/* The alert message box */
.ok-message {
  padding: 20px;
  background-color: #4CAF50; 
  color: white;
  margin-bottom: 15px;
}

.error-message {
  padding: 20px;
  background-color: #f44336; 
  color: white;
  margin-bottom: 15px;
}

/* The close button */
.closebtn-message {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

/* When moving the mouse over the close button */
.closebtn-message:hover {
  color: black;
}









form > div {
  clear: both;
  overflow: hidden;
  padding-left: 12px;
  padding-right: 12px;
  margin: 0 0 10px 0;
}
form > div > fieldset > div > div {
  margin: 0 0 5px 0;
}
form > div > label,
legend {
	width: 25%;
  float: left;
  padding: 12px;
  text-align: right;
}
form > div > div,
form > div > fieldset > div {
  width: 75%;
  float: right;
}
form > div > fieldset label {
	font-size: 90%;
}
fieldset {
	border: 0;
  padding: 0;
}

.dataimage {
    width: 70%;
  }

.errorimage{
    width: 50%;
}

input[type=text],
input[type=number],
input[type=email],
input[type=date],
input[type=url],
input[type=password],
select,
textarea {
	width: 70%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type=text]:focus,
input[type=number]:focus,
input[type=email]:focus,
input[type=date]:focus,
input[type=url]:focus,
input[type=password]:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: #6bb42c;
}

@media (max-width: 600px) {
  form > div {
    margin: 0 0 15px 0; 
  }
  form > div > label,
  legend {
	  width: 100%;
    float: none;
    margin: 0 0 5px 0;
    padding: 12px;
    text-align: left;
  }
  form > div > div,
  form > div > fieldset > div {
    width: 100%;
    float: none;
padding-top: 5px;
padding-bottom: 5px;
  }
  input[type=text],
  input[type=number],
  input[type=email],
  input[type=date],
  input[type=url],
  input[type=password],
  textarea,
  select {
    width: 100%; 
  }
  
.dataimage {
    width: 100%;
  }

.errorimage{
    width: 80%;
}  
   
.pulsante-grande-mobile {
    width: 100%;
  }
  
}





