@import url('https://fonts.googleapis.com/css?family=Muli');
@import url('https://fonts.googleapis.com/css?family=Trade+Winds');

:root {
  --input-font-family: arial;
  --input-font-size: 15px;
}

* {
    box-sizing: border-box;
}
body:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  padding: 0;
  /*background: url("../img/sfondo-cms-1920x1200.png");*/
  background: #ededed;
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: 100% 100%;
  -moz-background-size: 100% 100%;
  -o-background-size: co100% 100%ver;
  background-size: 100% 100%;
}
#log_list:before{
  background: #FFFFFF;
}
body{
  padding: 0;
  margin: 0;
	/*background-image: url("../img/sfondo-cms-1920x1200.png");
  background-repeat: no-repeat;
  background-position: left top;
  background-attachment: fixed;
  background-size: 100% 100%; */
	font-family: Marvel, sans-serif;
	font-size: 18px;
}
@media screen and (max-width: 900px){
  body:before {
    /*background-image: url("../img/sfondo-cms-1200x1500.png");  */
  }
}
.clear{
	clear: both !important;
	width: 0 !important;
	height: 0 !important;
}
.link_button{
	-webkit-appearance: push-button;
  -webkit-user-select: none;
  white-space: pre;


	align-items: flex-start;
  text-align: center;
  cursor: default;
  color: buttontext;
  padding: 2px 6px 3px;
  border: 2px outset buttonface;
  border-image-source: initial;
  border-image-slice: initial;
  border-image-width: initial;
  border-image-outset: initial;
  border-image-repeat: initial;
  background-color: buttonface;
  box-sizing: border-box;
  font: 13.3333px Arial;
}
.div_nero, .div_verde, .div_rosso{
	//opacity: 0;
	position: fixed;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	z-index: 999999;
  display: none;

 /* -webkit-transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -ms-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;*/
}
.div_nero.show, .div_verde.show, .div_rosso.show{
  display: block;
  opacity: 1;
}
.div_nero{
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 999997;
}
.div_verde{
	background-color: rgba(0, 160, 0, 0.8);
}
.div_rosso{
	background-color: rgba(235, 30, 0, 0.8);
}
.div_nero > div, .div_verde > div, .div_rosso > div{
	//line-height: 1000px;
	margin-top: 15%;
	text-align: center;
	color: #ffffff;
	font-size: 50px;
	vertical-align: middle;
}
.div_nero > div > i, .div_verde > div > i, .div_rosso > div > i{
	vertical-align: middle;
	line-height: 100%;
	font-size: 100px;
}
.div_nero > div span, .div_verde > div span, .div_rosso > div span{
  font-size: 0.7em;
}
#caricamento_backup > div{
	//line-height: 1000px;
	margin-top: 20%;
	text-align: center;
	color: #ffffff;
	font-size: 50px;
	vertical-align: middle;
}
#caricamento_backup > div > i{
	vertical-align: middle;
	line-height: 100%;
	font-size: 100px;
}
.quick_loading{
  font-size: 25px;
  display: none;
}

h2{
  color: #ffffff;
}

footer{
  text-align: center;
}
.azione_elenco:hover{
  border: 1px inset;
}
.azione_elenco {
  float: left;
  font-size: 17px;
  margin-left: 15px;
  color: #fff;
  cursor: pointer;
  display: block;
  background: rgba(0,0,187,1);
  height: 26px;
  width: 26px;
  border-radius: 3px;
  line-height: 27px;
  padding: 0;
  text-align: center;
  font-weight: lighter;
  border: 1px outset;
}
.azione_elenco.edit{
  background: #388e3c;
  border-color: #388e3c;
}
.azione_elenco.delete{
  background: #d32f2f;
  border-color: #d32f2f;
}
.azione_elenco.permission{
  background: #fbc02d;
  border-color: #fbc02d;
}
.list-el{
  display: block;
  border-bottom: 1px solid #ededed;
  padding: 0.3em 0;
  min-height: 38px
}

.list-el:hover{
  background: #f4f4f4;
  font-weight: bolder;
}

#page, #utilityBar{
  text-align: center;
  width: 98%;
  border-radius: 3px;
  background-color: #fff;
  margin:auto;
  margin-bottom: 1em;
}

#utilityBar > div{
  margin: auto;
  display: inline-block;
  width: 32%;
}

@media all and (max-width:720px){
  #utilityBar > div{
    width: 100%;
  }
}

#utilityBar input[type="text"], #utilityBar input[type="password"], #utilityBar select, #utilityBar  textarea {
  border-radius: 3px;
  height: 2em;
  margin: 0.2em 0;
  font-family: var(--input-font-family);
  font-size: var(--input-font-size);
  border: 2px solid #ededed;
}

#utilityBar input[type="submit"], #utilityBar input[type="cancel"], #utilityBar input[type="button"], #utilityBar button, .loginSubmit {
  background: #fff;
  color: #000;
  border-radius: 3px;
  height: 2em;
  margin: 0.2em 0;
  font-family: inherit;
  font-size: inherit;
  border: 2px solid #ededed;
}
#utilityBar input[type="submit"]:hover, #utilityBar input[type="cancel"]:hover, #utilityBar input[type="button"]:hover, #utilityBar button:hover, .loginSubmit:hover {
  background: #00b;
  color: #ededed;
  border: 2px solid #00b;
}
#utilityBar #ascOrder, #utilityBar #descOrder{
  border: none;
  color: #aaa;
  padding: 0px;
  outline: none;
}
#utilityBar #ascOrder[info="selected"], #utilityBar #descOrder[info="selected"]{
  border: none;
  color: #888;
  background: none;
}
#utilityBar #ascOrder:hover, #utilityBar #descOrder:hover{
  border: none;
  color: #777;
  background: none;
}

#login-form{
  display: block;
  padding: 1.5em;
  background-color: #fff;
  border-radius: 3px;
  width: 60%;
  margin:auto;
  text-align: center
}
#login-form label{
  display: inline-block;
  width: 47%;
  text-align: right;
  margin-right: 2%;
  text-transform: capitalize;
}
#login-form .inputLogin{
  display: inline-block;
  width: 47%;
  text-align: left;
  margin-left: 2%;
}
#login-form .inputLogin input[type="text"], #login-form .inputLogin input[type="password"]{
  border-radius: 3px;
  height: 2em;
  margin: 0.2em 0;
  font-family: var(--input-font-family);
  font-size: var(--input-font-size);
  border: 2px solid #ededed;
  max-width: 100%;
}

@media screen and (max-width: 480px){
  #login-form{
    width: 95%;
  }
}

.buttonSaveAs{
  display: inline-block;
  margin: 0.5em 1em !important;
}

#insertNew, #backButton, #esportaButton, .buttonSaveAs{
  border-radius: 3px;
  height: 3em;
  margin: 0.2em 0;
  font-family: inherit;
  font-size: inherit;
  display: inline-block;
  vertical-align: middle;
  margin:auto;
  vertical-align: middle;
  //position: relative;
}
#insertNew, #backButton, #esportaButton, .buttonSaveAs{
  background: #ededed;
  color: #00b;
  border: 2px solid #fff;
  cursor: pointer;
}
#insertNew:hover, #backButton:hover, #esportaButton:hover, .buttonSaveAs:hover{
  /*background: #00b;
  color: #ededed;
  border: none;*/
  background: #ededed;
  color: #000;
  border: 2px solid #00b;
}
#insertNew{
  top: -60px;
  right: -73%;
}
#backButton, #esportaButton{
  top: -60px;
  left: -73%;
}
#esportaButton{
  display: none;
}
.button-container{
  display: inline-block;
  text-align: center;
  margin:auto;
  width: 49%;
  vertical-align: middle;
  margin-bottom: 8px;
}
.elCharging{
  width: 100%;
  position: absolute;
  z-index: 99995;
  background: rgba(0,0,0,0.8);
  color: #ededed;
  text-align: left;
  padding-left:5em;
  display: none;
  height: 38px;
  margin-top: -0.3em;
  line-height: 38px;
}
.homeBanner{
  margin: 1em;
  width: 28%;
  height: 200px;
  border: 4px dashed #ccc;
  display: inline-block;
  border-radius: 15px;
  vertical-align: middle;
}
.homeBanner:hover{
  background-color: transparent!important;
}
@media screen and (max-width: 1000px){
  .homeBanner{
    width: 85%;
  }
}

/* Customize the label (the container) */
.checkboxContainer {
  display: inline-block;
  position: relative;
  width:50%;
  /*padding-left: 35px;
  margin-bottom: 12px;*/
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.checkboxContainerList{
  position: relative;
  width: 100%;
  height: 25px;
  line-height: 25px;
}

.checkboxContainer:hover{
    background: #f4f4f4;
    font-weight: bolder;
}

/* Hide the browser's default checkbox */
.checkboxContainer input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.checkboxContainer:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkboxContainer input:checked ~ .checkmark {
  background-color: #00b;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkboxContainer .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkboxContainer .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}


.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {display:none;}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #d32f2f;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #388e3c;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.switch .iconToggle{
  display: inline-block;
  width: 45%;
  height: 34px;
  margin: auto;
  text-align: center;
  vertical-align: middle;
  font-size: 20px;
  line-height: 34px;
}

/*.iconLeft{
  opacity: 0;
}

.iconRight{
  opacity: 0;
}

.switch input:checked + .iconLeft{
  opacity: 1;
  /*animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 2s;*/
/*}


.switch input:checked + .iconRight{
  opacity: 1;
  /*animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 2s;*/
/*}*/


@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.colonnaPermessi{
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  width: 20%;
}

.colonnaPermessi.titoloTabella{
  text-align: center;
  font-size: 1.4em;
  /*margin-left: 2em;*/

}

.tabellaPermessi{
  display: block;
  width: 100%;
  border-bottom: 1px solid #ededed;
}
.tabellaPermessi:hover{
  background: #f4f4f4;
}

.subtitle{
  text-align: center;
  display: block;
  width: 100%;
  font-size: 1.1em;
  margin-bottom: 0.5em;
}
