body{
	margin: 0px;
	padding: 0px;
	font-family: "Helvetica";
	font-weight: 100;
  margin-bottom: 40px;
}

body:before{
  content: "";
  position: fixed;
  z-index: -1;
  background-image: url(../IMG/logo.png);
  background-repeat: no-repeat;
  height: 200px;
  width: 200px;
  bottom: 40px;
  right: 0px;
  opacity: .2;
}

footer{
  height: 42px;
  width: 100%;
  z-index: 0;
  bottom: 0px;
  background: #000;
  position: fixed;
  color: #fff;
}

.OHT{
  background: url(../IMG/OHT.png) no-repeat left;
  width: 240px;
  height: 12px;
  font-size: 10px;
  padding-top: 28px;
  padding-left: 41px;
  cursor: pointer;
}

h1, h2{
	text-align: center;
}

.info{
  font-size: 12px;
}

header{
  margin: 0px;
	height: 60px;
	background: #0daf79;
  position: relative;
}

.header_bottom{
  background: #0daf79;
  text-align: center;
  color: #fff;
  height: 20px;
  line-height: 20px;
  font-size: 14px;
  opacity: .5;
}

h1{
  margin: 0px;
  padding: 0px;
}

header h1{
  color: #fff;
  padding: 0px 20px;
  margin: 0px;
  font-weight: 100;
  font-size: 24px;
  line-height: 60px;
}

header .info{
  font-size: 10px !important;
  color: #000;
  text-align: center;
  margin-top: -20px;
  color: #fff;
}

header table{
  width: 100%;
  border-spacing: 0px;
}

header table td{
  padding: 0px;
  margin: 0px;
}

.page {
  width: 100%;
  margin: auto;
  padding-bottom: 20px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; 
}

.menu{
  position: absolute;
  z-index: 2;
  background: #0daf79;
  color: #fff;
  top: 60px;
  right: 0px;
  min-width: 250px;
  display: none;
}

.menu_user{
  position: absolute;
  top: 40px;
  right: 0px;
  background-color: #0daf79;
  display: none;
  z-index: 3;
  min-width: 250px;
}

.menu a, .menu_user a{
  display: block;
  background: #fff;
  margin: 5px;
  padding: 20px 10px;
  text-decoration: none;
  color: #0daf79;
  font-size: 20px;
}

.menu a:hover, .menu_user a:hover{
  opacity: .9;
}

.orario{
	text-align: center;
	font-size: 50px;
  margin: 20px;
}

#status{
	font-size: 20px;
	line-height: 30px;
}

.riga_titolo{
  background: #fff;
  font-weight: bold;
}

.riga td, .riga_titolo td{
	padding: 10px;
}

.riga:nth-child(odd){
	background: #ddd;
}

.riga:nth-child(even){
	background: #ccc;
}

.form {
  position: relative;
  padding: 30px;
  z-index: 1;
  margin: 0 auto;
  text-align: center;
  max-width: 300px;
}

.form label{
  font-size: 12px;
  text-transform: uppercase;
}

.form input, select {
  outline: 0;
  background: #f2f2f2;
  width: 100%;
  border: 0;
  margin: 0 0 15px;
  padding: 15px;
  box-sizing: border-box;
  font-size: 14px;
}

.form button , button{
  display: block;
  text-transform: uppercase;
  outline: 0;
  background: #0daf79;
  width: 100%;
  border: 0;
  padding: 15px;
  color: #FFFFFF;
  font-size: 14px;
  -webkit-transition: all 0.3 ease;
  transition: all 0.3 ease;
  cursor: pointer;
  margin: 10px auto;
  max-width: 300px;
}

button:hover{
  opacity: .8;
}

/*==================================*/
/* CHECKBOX */
/*==================================*/
input[type="checkbox"]{
  appearance:none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  border: 3px solid #ccc;
  display: inline-block;
  position: relative;
  height: 28px;
  width: 28px;
  cursor: pointer;
  outline: none;
}

input[type="checkbox"]:checked{
  background: url(../IMG/iconset.png);
  background-position: -8px -90px;
  background-color: #000;
  box-shadow: inset 0px 0px 0px 3px #fff;
}

input[type="radio"]{
  appearance:none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  border: 3px solid #ccc;
  display: inline-block;
  position: relative;
  height: 28px;
  width: 28px;
  cursor: pointer;
  outline: none;
  border-radius: 30px;
}

input[type="radio"]:checked{
  background: #000;
  box-shadow: inset 0px 0px 0px 3px #fff;
}

.att_0{
  height: 26px;
  width: 26px;
  background: #0daf79;
  border: 2px solid #fff;
  cursor: pointer;
  border-radius: 5px;
  margin: 0 auto;
}

.att_1{
  height: 26px;
  width: 26px;
  background-color: #0daf79;
  background-image: url(../IMG/iconset.png);
  background-repeat: no-repeat;
  background-position: -6px -88px;
  border: 2px solid #fff;
  cursor: pointer;
  border-radius: 5px;
  margin: 0 auto;
}

.att_1:hover{
  background-color: #ccc;
}

.att_loading{
  height: 26px;
  width: 26px;
  background: url(../IMG/loading.gif) no-repeat center #fff;
  border: 2px solid #fff;
  cursor: pointer;
  border-radius: 5px;
  margin: 0 auto;
}


.info_timbratura{
  background: #008613;
  margin-bottom: 50px;
  padding: 5px 10px 8px 10px;
  color: #fff;
  text-align: center;
  display: none;
  font-size: 20px;
}

.info_timbratura span{
  font-size: 12px;
  text-transform: uppercase;
}

.tasto_y{
  margin: 30px auto;
  height: 150px;
  width: 150px !important;
  border-radius: 150px;
  font-size: 22px !important;
  background: #cd9c05 !important;
}

.tasto_v{
	margin: 30px auto;
	background: #008613 !important;
	height: 150px;
	width: 150px !important;
	border-radius: 150px;
	font-size: 22px !important;
}

.tasto_r{
	margin: 30px auto;
	background: #c22222 !important;
	height: 150px;
	width: 150px !important;
	border-radius: 150px;
	font-size: 22px !important;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 300px;
  margin: 0 auto;
}

.container:before, .container:after {
  content: "";
  display: block;
  clear: both;
}

.tst{
  height: 40px;
  width: 40px;
  background: #0daf79;
  background-image: url(../IMG/iconset.png);
  cursor: pointer;
}

.tst_menu{
  background-position: -80px -80px;
}

.tst_chiudi{
  background-position: -160px -80px;
}

.tst_dx{
  background-position: -0px -200px;
  border-radius: 30px;
}

.tst_sx{
  background-position: -40px -200px;
  border-radius: 30px;
}

.tst_piu{
  background-position: -120px -80px;
}

.tst_edit{
  background-position: -40px -80px;
}

.tst_delete{
  background-position: -200px -240px;
}

.tst_notifiche{
  background-position: -0px -280px;
}

.tst_ok{
  background-position: -0px -80px;
}

#tot_notifiche{
  position: absolute;
  top: 0px;
  right: 0px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  font-size: 12px;
  background-color: #c22222;
  color: #fff;
  border-radius: 20px;
  display: none;
}

#new_notifiche{
  display: none;
}

.tst_loading{
  background-image: url(../IMG/loading.gif);
  background-position: center;
  background-repeat: no-repeat;
}

.tst_info{
  background-image: none;
  background: #fff;
  color: #0daf79;
  text-align: center;
  line-height: 40px;
  font-weight: bold;
  border-radius: 20px;
}

.tst_info:before{
  content: "i";
  font-size: 20px;
}

.calendario{
  position: relative;
  width: 308px;
  margin: 20px auto;
}

.calendario table, .intestazione table{
  width: 100%;
  border-spacing: 0px;
  margin: 20px 0;
}

.calendario table td, .intestazione table td{
  padding: 0px;
  margin: 0px;
}

.calendario table h1,.intestazione table h1{
  padding: 0px; 
  margin: 1px 0px;
  text-align: center; 
  font-size: 22px;
  text-transform: uppercase;
}

.calendario table span,.intestazione table span{
  text-align: center;
  display: block;
  font-size: 14px;
}

.calendario .ngiorno{
  width: 34px;
  line-height: 16px;
  font-size: 12px;
  padding: 2px 5px;
  display: inline-block;
  text-align: center;
}

.calendario .giorno, .calendario .giorno_x{
  height: 32px;
  width: 32px;
  line-height: 32px;
  font-size: 24px;
  display: inline-block;
  padding: 5px;
  border: 1px solid #fff;
  text-align: center;
  cursor: pointer;
  background: #f8f8f8;
  position: relative;
}

.calendario .ferie, .ferie{
  background-color: #96cfff;
}

.calendario .today{
  color: #0daf79;
  font-weight: bold;
}

.calendario .timb:before{
  content: "";
  border: 15px solid transparent;
  border-left: 0;
  border-top-color: #008613;
  height: 0;
  width: 0;
  position: absolute;
  top: 0px;
  left: 0px;
}

.calendario .giorno_x{
  background: transparent;
  cursor: initial;
}

.calendario .giorno:hover{
  color: #fff !important;
  background: #0daf79;
}

.error{
  height: 80px;
  width: 80px;
  line-height: 80px;
  background: #c22222;
  color: #fff;
  border-radius: 150px;
  text-align: center;
  margin: 20px auto;
  font-size: 50px;
  font-weight: bold;
}

.error:before{
  content: "!";
}

.stato{
  width: 40px;
  height: 40px;
  background-image: url("../IMG/iconset.png");
  border-radius: 40px;
}

.stato_1{
  background-color: #008613;
  background-position: -0px -80px;
}

.stato_0,.stato_2{
  background-color: #c22222;
  background-position: -160px -80px;
}

.stato_attesa{
  background-color: #aaa;
  background-position: -40px -280px;
}

.stato_ferie{
  background-color: #96cfff;
  background-position: -240px -81px;
}

.giorno_ferie{
  width: 100%;
  margin: 5px 0;
  padding: 5px;
  background: #96cfff;
  color: #fff;
  border-top: 2px solid #96cfff;
  border-bottom: 2px solid #96cfff;
}

.giorno_ferie_print{
  padding: 0px !important;
}

.giorno_ferie.start{
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  border-left: 2px solid #96cfff;
}

.giorno_ferie.end{
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-right: 2px solid #96cfff;
}


.info_timb{
  font-size: 12px;
  margin-top: 2px;
  margin-right: 5px;
  padding: 2px 5px;
  border-radius: 5px;
  background: #0daf79;
  color: #fff;
  float: left;
}

.info_timb_print{
  border:1px solid #000;
  padding: 0px 2px;
  font-size: 12px;
  margin-right: 10px;
  border-radius: 5px;
  background: #fff;
}

/*==================================*/
/* MESSAGE */
/*==================================*/
.message{
  padding: 5px 10px;
  border: 1px solid #ccc;
  margin: 5px;
  display: none;
  position: fixed;
  bottom: 10px;
  left: 10px;
  z-index: 1000;
  line-height: 20px;
  border-radius: 2px;
  font-size: 15px;
}

.message .info{
  font-size: 12px;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 2px;
}

.x{
  display: block;
  color: #fff;
  text-align: center;
  line-height: 20px;
  text-decoration: none;
  float: right;
  font-size: 30px;
  margin: 0 0 0 20px;
}

.x:hover{
  text-decoration: none !important;
}

/*==================================*/
/* COLOR */
/*==================================*/
.rc{
  color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.g{
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.b{
    color: #fff;
    background-color: #184588;
    border-color: #082756;
}

.v{
    color: #fff;
    background-color: #008613;
    border-color: #045610;
}

.r{
  color: #fff;
    background-color: #c22222;
    border-color: #790707;
}

/*===================================*/
/* COLOR -> IMPOSTAZIONI */
/*===================================*/
.color{
  width: 110px !important;
}

.color_act{
  height: 22px;
  width: 22px;
  border: 2px solid #000;
  position: absolute;
  margin-top: 3px;
  margin-left: 85px;
  bottom: 3px;
}

/*==================================*/
/* SCHEDE */
/*==================================*/
.scheda_schede, .scheda_schede_x{
  clear:both;
  width:100%;
  height:41px;
}

.scheda_scheda, .scheda_scheda_x{
  padding:10px 15px;
  float:left;
  margin-right:4px;
  background:#ccc;
  border-radius:5px 5px 0px 0px;
  -webkit-border-radius:5px 5px 0px 0px;
  cursor:pointer;
  height:20px;
  line-height:20px;
  font-size:16px;
   -ms-user-select: none; /* IE 10+ */
   -moz-user-select: -moz-none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   user-select: none;
  border: 1px solid #aaa;
  border-bottom: none;
}

.scheda_scheda_att, .scheda_scheda_att_x{
  padding:10px 15px;
  float:left; 
  margin-right:4px;
  background:#eee;
  border-radius:5px 5px 0px 0px;
  -webkit-border-radius:5px 5px 0px 0px;
  cursor:pointer;
  height:20px;
  line-height:20px;
  font-size:16px;
  border: 1px solid #aaa;
  border-bottom: none;
  box-shadow: 0px 1px 0px #eee;

  -ms-user-select: none; /* IE 10+ */
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.scheda_scheda span, .scheda_scheda_att span, .scheda_scheda_x span, .scheda_scheda_att_x span{
  float: right;
  display: block;
  background: #aaa;
  color: #fff;
  padding: 0 7px;
  margin-left: 10px;
  border-radius: 2px;
  font-size: 12px;
}

.scheda_scheda_att span, .scheda_scheda_att_x span{
  background: #18ba40;
}

.scheda_corpo, .scheda_corpo_x{
  background:#eee; 
  padding:10px;
  border-radius:0px 0px 5px 5px;
  display:none;
  border: 1px solid #aaa;
}

.scheda_corpo_x{
  display: block;
}

.scheda_schede_v{
  width:40px;
  position: fixed;
}

.scheda_schede_v .scheda_scheda, .scheda_schede_v .scheda_scheda_att{
  float: none;
  margin: 0px 0px 2px 0px;
  border-radius:5px 0px 0px 5px;
  -webkit-border-radius:5px 0px 0px 5px;
  padding: 5px;
}

/*==================================*/
/* LOADING */
/*==================================*/
#loading_container{
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: 199;
  background: rgba(0,0,0,0.8);
  display: none;
}

#loading{
  position: fixed;
  width: 300px;
  height: 200px;
  background: #fff;
  border: 5px solid #0daf79;
  top: 50%;
  left: 50%;
  margin-top: -105px;
  margin-left: -155px;
  z-index: 200;
  border-radius: 10px;
  box-shadow: 0px 3px 3px #000;
  text-align: center;
}

#loading div{
  font-size: 30px;
  margin-top: 70px;
  color: #0daf79;
}

#loading span{
  display: block;
  font-size: 20px;
  color: #000;
  line-height: 20px;
}