@import url(https://fonts.googleapis.com/css?family=Roboto:300);

.dropbtn {
  /*background-color: #4CAF50;
  color: white;*/
  /*padding: 1em;*/
  /*font-size: 1em;
  border: none;*/
  cursor: pointer;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 2.1em;
  right: 1.5em;
  background-color: lightgray;
  min-width: 200px;
  border: 1px solid darkslategray;
	border-radius: 0.3em;
  /*box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);*/
  z-index: 1;
}

.dropdown-content a {
  color: navy;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
	border-radius: 0.3em;
}

.dropdown-content a:hover {
	background-color: ghostwhite;
}

.dropdown:hover .dropdown-content {
  display: block;
}

body {
	background: white; /* fallback for old browsers */
	background: -webkit-linear-gradient(right, indigo, darkviolet);
	background: -moz-linear-gradient(right, indigo, darkviolet);
	background: -o-linear-gradient(right, indigo, darkviolet);
	background: linear-gradient(to left, indigo, darkviolet);
	font-family: "Roboto", sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	margin: 0;
}

input, select, textarea {
	font-family: "Roboto", sans-serif;
	outline: 0;
	background-color: whitesmoke;
	color: darkslategray;
	border: 1px solid darkblue;
	margin-bottom: 0.5em;
	padding-left: 0.5em;
	padding-right: 0.5em;
	box-sizing: border-box;
	font-size: 1em;
	height: 2em;
	border-radius: 0.3em;
	display: block;
}

input[type="time"] {
	/*width: 7em;*/
	width: fit-content;
}

input[type="number"] {
	/*width: 6em;*/
	width: fit-content;
}

input:disabled {
	opacity: 0.4;
}

.timepicker {
	width: 4.2em;
}

.ui-timepicker-standard {
	font-family: "Roboto", sans-serif !important;
	font-size: 1em !important;
}
.ui-timepicker-standard a {
	text-align: left !important;
	padding: .1em !important;
}

@media screen and (max-width: 600px) {
	input[type="checkbox"] {
		width: 2em;
	}
}

input[name="mandato_num_quantita"] {
	width: 6em;
}

textarea {
	padding-top: 0.5em;
	height: 15em;
	width: 100%;
}

input.login, input.materiale, input.mezzo, input.cantiere {
	width: 100%;
}

select.mandato {
	width: 98%;
	margin-left: 0.5em;
	/*margin-top: 0.5em;*/
	font-size: 1em;
	font-weight: bold;
	color: darkblue;
	/*display: inline;*/
}

option.mandato_non_compilato {
	color: royalblue;	
}

option.mandato_compilato {
	color: navy;
}

select.intervallo {
	width: 4em;
	margin-left: 0.5em;
	/*margin-top: 0.5em;*/
	font-size: 1em;
	font-weight: bold;
	color: darkblue;
	/*display: inline;*/
}

label {
	white-space: nowrap;
}

div.materiali {
	background-color: white;
	border-radius: 0.3em;
	border: 1px solid midnightblue;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

span.materiale {
	padding-top: 0.5em;
	padding-right: 0.5em;
}

.btn {
	display: inline-block;
	height: 2em;
	text-align: center;
	vertical-align: middle;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-color: midnightblue;
	color: yellow;
	padding-left: 0.4em;
	padding-right: 0.4em;
	margin-top: 0.3em;
	margin-bottom: 0.6em;
	font-size: 0.9em;
	font-weight: bold;
	line-height: 1.5;
	border-radius: 0.3em;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn:hover:enabled, .btn:active:enabled, .btn:focus:enabled {
	background-color: dodgerblue;
}

.btn:hover:enabled {
	cursor: pointer;
}

.btn.disabled, .btn:disabled {
	opacity: 0.65;
	color: lightgray;
}

div.headerbuttons {
	float: right;
	margin-right: 0.5em;
}

button.tools {
	float: right;
	margin-right: 0.5em;
}

button.logout, button.tools {
	float: right;
}

button.logout i, button.tools i {
	padding-left: 0.2em;
}

button.annulla {
	display: none;
}

button.salva_materiale {
	float: right;
	margin-top: 1em;
	margin-bottom: 0;
}

button.elimina_materiale {
	margin-left: 0.5em;
	margin-right: 0.5em;
	margin-bottom: 0;
}

button.modifica_materiale {
	margin-right: 0.5em;
	margin-bottom: 0;
}

.rowempty {
  height: 0.5rem;
}

/* Clear floats after the columns */
.row:after {
	content: "";
	display: table;
	clear: both;
}
.columncenter {
	text-align: center;
}
.columncenter input, .columncenter select, .columncenter textarea {
	margin: auto;
}
.column_selezione_mandato {
	display: table-cell;
	/*float: left;*/
	width: 80%;
}
.column_selezione_intervallo {
	display: table-cell;
	/*float: right;*/
	width: 15%;
	padding-right: 0.4em;
}
.column100 {
	display: table-cell;
	float: left;
	width: 100%;
}
.column90 {
	display: table-cell;
	float: left;
	width: 90%;
}
.column80 {
	display: table-cell;
	float: left;
	width: 80%;
}
.column70 {
	display: table-cell;
	float: left;
	width: 70%;
}
.column60 {
	display: table-cell;
	float: left;
	width: 60%;
}
.column50 {
	display: table-cell;
	float: left;
	width: 50%;
}
.column35 {
	display: table-cell;
	float: left;
	width: 35%;
}
.column30 {
	display: table-cell;
	float: left;
	width: 30%;
}
.column25 {
	display: table-cell;
	float: left;
	width: 25%;
}
.column20 {
	display: table-cell;
	float: left;
	width: 20%;
}
.column15 {
	display: table-cell;
	float: left;
	width: 15%;
}
.column10 {
	display: table-cell;
	float: left;
	width: 10%;
}
.column {
	display: table-cell;
}
.columnnowrap {
	white-space: nowrap;
}

div.header {
	margin-top: 0.5em;
	/*height: 3em;*/
	/*min-height: 3em;*/
	/*text-align: center;*/
	/*background-color: steelblue;*/
}

span.title {
	margin-left: 0.5em;
	font-size: 2em;
	font-weight: bold;
	color: yellow;
}

span.addetto {
	margin-left: 0.3em;
	font-size: 1.5em;
	font-weight: bold;
	color: yellow;
}

/*
@media screen and (max-width: 600px) {
	span.logout {
		display: none;
	}
}
*/

div.content {
	/*background-color: transparent;*/
	text-align: center;
}

.message-ok {
	background-color: lightyellow;
	color: darkblue;
	font-size: 1em;
	font-weight: bold;
	text-align: center;
	width: fit-content;
  margin: 0.5em auto;
  padding: 0.5em 2em;	
  border-radius: 1em;
}

.message-ko {
	background-color: lightyellow;
	color: darkred;
	font-size: 1em;
	font-weight: bold;
	text-align: center;
	width: fit-content;
  margin: 0.5em auto;
  padding: 0.5em 2em;
  border-radius: 1em;
}

.resetpassword-form {
	margin: auto;
  width: fit-content;
}

.stato-mandato {
	padding-top: 1.5em;
	font-weight: bold;
	text-transform: uppercase;
	color: red;
}

table.struttura_cantiere {
	width: 100%;
}

.struttura_cantiere th {
	text-align: left;
	white-space: nowrap;
}

#documentazione-cantiere p {
	text-align: center;	
}

.form {
	position: relative;
	z-index: 1;
	/*background-color: white;*/
	padding-left: 1em;
	padding-top: 1em;
	padding-right: 1em;
	/*box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);*/
}

div.tab-container {
	margin: 0.5em;
	text-align: left;
	color: midnightblue;
}

ul.tabs {
	margin: 0px;
	padding: 0px;
	list-style: none;
	font-weight: bold;
}

ul.tabs li {
	background-color: steelblue;
	color: white;
	display: inline-block;
	padding: 0.4em 0.3em;
	cursor: pointer;
	border-top-left-radius: 0.3em;
	border-top-right-radius: 0.3em;
	border-right: 1px solid;
}

ul.tabs li.current {
	background-color: lightblue;
	color: midnightblue;
}

.tab-content {
	display: none;
	background-color: steelblue;
	padding: 1em;
}

.tab-content.current {
	display: inherit;
	background-color: lightblue;
}

div.button-bar {
	padding-top: 0.5em;
	height : 4em;
	min-height: 4em;
	text-align: center;
	height: 4em;
	/*background-color: steelblue;*/
}
 
div.footer {
	display: none;
	/*
	padding-top: 0.5em; height : 4em;
	min-height: 4em;
	text-align: center;
	height: 4em;
	*/
}

div.title {
	font-weight: bold; 
	/*text-align: center;*/
}

/* jquery-autocomplete */
.autocomplete-suggestions {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border: 1px solid midnightblue;
	background: white;
	cursor: default;
	overflow: auto;
	-webkit-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
	-moz-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
	box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
}
.autocomplete-suggestion {
	padding: 2px 5px;
	white-space: nowrap;
	overflow: hidden;
}
.autocomplete-no-suggestion {
	padding: 2px 5px;
}
.autocomplete-selected {
	background: lightskyblue;
}
.autocomplete-suggestions strong {
	font-weight: bold;
	color: midnightblue;
}
.autocomplete-group {
	padding: 2px 5px;
	font-weight: bold;
	font-size: 16px;
	color: #000;
	display: block;
	border-bottom: 1px solid midnightblue;
}
