@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');

/*inizio loading gif*/
.no-js #loader { display: none;  }
.js #loader { display: block; position: absolute; left: 100px; top: 0; }
.se-pre-con {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url(../img/preloader.gif) center no-repeat #fff;
}
/*fine loading gif*/
* {
  font-family: 'Roboto', sans-serif;
}

*::-webkit-scrollbar {
  display: none;
}

html {
  background-color: #e6f8ff;
}

header {
  background-color: #1565C0;
  box-shadow: 0 0 10px 0 #1565C0;
  margin-bottom: 30px;
  padding: 10px;
  height: 60px;
  position: fixed;
  top: 0;
  width: 100%;
}

section {
  max-width: 1000px;
  margin: auto;
  font-size: 20px;
  padding: 10px;
}

body {
  margin: 0 !important;
  padding: 0 !important;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

input[type="text"], .inputstyle {
  -webkit-user-select: all;
  -webkit-tap-highlight-color: #1565C0;
  -webkit-touch-callout: all;
}

/*inizio login*/
section#login {
	width: 200px;
	text-align: center;
	background-color: #fff;
	margin-top: 200px;
	border-radius: 10px;
	box-shadow: 0 0 5px 0 #4f4f4f;
	overflow-wrap: break-word;
}

section#login input[type="text"], section#login input[type="password"] {
	background-color: transparent;
	border: none;
	border-bottom: 1px solid #929292;
	width: 90%;
	margin: 25px auto 0 auto;
	padding: 5px;
}

section#login input[type="submit"] {
	background-color: #1565C0;
	text-transform: uppercase;
	color: #fff;
	border: 1px solid #1565C0;
	border-radius: 5px;
	padding: 5px;
	box-shadow: 0 0 5px 0 #4f4f4f;
	transition: all 0.3s linear;
}

section#login input[type="submit"]:hover, section#login input[type="submit"]:active {
	background-color: #0c407b;
	border-color: #0c407b;
}

section#login input:valid {
	border: 1px solid #25bb00;
	box-shadow: 0 0 2px 0 #25bb00;
}

section#login sup {
	color: #7b7b7b;
	font-size: 70%;
}
/*fine login*/

/*radio*/
input[type="radio"] {
	display: none;
}

input[type="radio"]+label {
	padding: 5px;
}

input[type="radio"]:checked+label {
	/*color: #1565C0;
	font-weight: bold;*/
	background-color: #1565C0;
	color: #fff;
	font-weight: bold;
	border-radius: 10px;
	box-shadow: 0 0 4px 0 #4f4f4f;
}
/*fine radio*/

/*inizio select*/
select {
	padding: 10px;
}

select option {
	padding: 5px;
}
/*fine select*/

table {
  width: 100%;
  table-layout: fixed;
}

table th {
  font-weight: bold;
}

table .file {
  text-align: right;
}

table .categoria {
  text-align: center;
}

table .descrizione {
  text-align: left;
}

.left {
  text-align: left;
  width: 80%;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

#bts td {
	text-align: center;
}

/*impostare gli stessi valori per l'header!*/
#head img {
  height: 60px;
  width: 60px;
  float: left;
}

#head {
  display: inline;
}

/*#head p {
  vertical-align: middle;
  text-align: right;
  font-size: 25px;
  padding-top: 30px;
}*/

#head span {
  float: right;
  font-size: 20px;
  color: #fff;
  margin-top: 18px;
  font-style: italic;
  padding-right: 20px;
}

#head:after {
  content: "";
  display: table;
  clear: both;
}

/*LOGIN START*/

section#register {
	background-color: #fff;
	width: 400px;
	text-align: center;
	margin-top: 150px;
	border: 1px solid #000;
	box-shadow: 0 0 5px 0 #4f4f4f;
	border-radius: 10px;
}

section#register input {
	width: 250px;
	float: right;
}

section#register input[type="submit"] {
	float: none;
	width: auto;
	background: #1565C0;
	color: #fff;
	text-transform: uppercase;
	box-shadow: 0 0 4px 0 #4f4f4f;
	padding: 3px;
}

section#register input[type="submit"]:hover {
	box-shadow: 0 0 7px 0 #4f4f4f;
	background-color: #034b9c;
}

/*LOGIN FINE*/

.errore {
  text-align: center;
  text-transform: uppercase;
  color: #ff0000;
}

input[type="file"] {
  display: none;
}

input[type="file"]:invalid+label, input[type="file"]+label {
  color: #fff;
  background-color: #1565C0;
  padding: 10px;
  box-shadow: 0 0 0 0 #000;
  transition: all 0.3s linear;
  font-size: 50px;
  border-radius: 5px;
}

/*input[type="file"]:valid+label {
  color: #fff;
  background-color: #079a54;
  padding: 10px;
  box-shadow: 0 0 0 0 #000;
  transition: all 0.3s linear;
  font-size: 50px;
  border-radius: 5px;
}*/

.selected+label {
  color: #fff !important;
  background-color: #079a54 !important;
  padding: 10px !important;
  box-shadow: 0 0 0 0 #000 !important;
  transition: all 0.3s linear !important;
  font-size: 50px !important;
  border-radius: 5px !important;
}

input[type="file"]+label:hover {
  background-color: #005691;
  box-shadow: 0 0 5px 0 #000;
}

fieldset {
  margin: 30px 0 30px 0;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 4px 0 #4f4f4f;
}

legend {
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #000;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 4px 0 #4f4f4f;
  color: #1565C0;
  text-transform: uppercase;
  font-weight: bold;
}

#fieldbts p {
	text-align: center;
}

#fieldbts i {
	color: #31da13;
	font-size: 200%;
}

#fieldbts a {
	background-color: #ff0000;
	border-radius: 5px;
	box-shadow: 0 0 3px 0 #4f4f4f;
	transition: all 0.3s ease-in-out;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	padding: 7px;
	font-weight: bold;
}

#fieldbts a:hover {
  background-color: #ad0000;
  box-shadow: 0 0 5px 0 #000;
}

.inputtext, .inputstyle {
  border: 1px solid #000;
  font-size: 20px;
  padding: 5px;
  background-color: #fff;
  border-radius: 5px;
  width: 100%;
  margin: 0;
}

.inputtext:invalid {
  border: 1px solid #ff0000;
  box-shadow: 0 0 5px 0 #ff0000;
}

textarea {
	width: 93%;
	border-radius: 10px;
	box-shadow: 0 0 3px 0 #4f4f4f;
	padding: 10px;
}

.grey {
	color: #a7a7a7;
	font-size: 70%;
	font-weight: bold;
	text-transform: lowercase;
}

#submit, #submitmod {
  background-color: #1565C0;
  box-shadow: 0 0 3px 0 #000;
  border: 1px solid #1565C0;
  border-radius: 5px;
  text-transform: uppercase;
  padding: 7px;
  transition: all 0.3s linear;
  color: #fff;
}

#submit:hover, #submitmod:hover {
  box-shadow: 0 0 5px 0 #000;
  background-color: #005691;
}

a#annulla {
  background-color: #ff0000;
  box-shadow: 0 0 0 0 #000;
  border-radius: 5px;
  text-transform: uppercase;
  padding: 8px;
  transition: all 0.3s linear;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  margin-right: 65px;
}

a#annulla:hover {
  background-color: #ad0000;
  box-shadow: 0 0 5px 0 #000;
}

a#download {
  background-color: #25bb00;
  box-shadow: 0 0 0 0 #000;
  border-radius: 5px;
  text-transform: uppercase;
  padding: 8px;
  transition: all 0.3s linear;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  /*margin-left: 65px;*/
  font-size: 30px;
}

a#download:hover {
  background-color: #1d9200;
  box-shadow: 0 0 5px 0 #000;
}

/*div finale*/
div#final {
  text-align: center;
  /*margin-bottom: 100px;*/
}

div#final sup {
  font-weight: bold;
}

footer {
  background-color: #1565C0;
  box-shadow: 0 0 10px 0 #1565C0;
  color: #fff;
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 10px;
  text-align: center;
  margin-top: 10px;
}

/*fix vari*/
div#footerfix {
  margin-top: 100px;
}

div#headerfix {
  margin-bottom: 100px;
}
