body {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #444;
  background-color: #fafafa;
}

body,
html {
  height: 100%;
}
.ui-datepicker {
  z-index: 9999 !important;
}
@-webkit-keyframes pulsating {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
} /* Safari and Chrome */

@keyframes pulsating {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
h1,
h2,
h3,
h4 {
  font-family: "Open Sans", sans-serif;
  padding-left: 0px;
  font-weight: 300;
}
h2 {
  line-height: 34px;
}

h3 {
  line-height: 26px;
  margin-top: 5px;
  margin-bottom: 5px;
}
h4 {
  line-height: 19px;
  margin-top: 3px;
  margin-bottom: 3px;
}
h5 {
  line-height: 15px;
  margin-bottom: 1px;
  margin-top: 1px;
  font-weight: 600;
}

h6 {
  line-height: 12px;
  margin-bottom: 1px;
  margin-top: 1px;
  font-weight: 600;
}

a {
  color: #333;
}
a:hover {
  color: #c50000;
  text-decoration: none;
}
#background {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-image: url("../images/carbon2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  z-index: 1;

  padding: 20px;
  padding-top: 70px;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
}
#content {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
}

#panel_container {
  position: absolute;
  z-index: 3;
  top: 0px;
  left: 0px;
  margin: 0px;
  padding: 0px;
}

#menu {
  position: absolute;
  z-index: 5;
  width: 350px;
  left: -350px;
  -webkit-transition: 0.2s ease-out;
  -moz-transition: 0.2s ease-out;
  -ms-transition: 0.2s ease-out;
  -o-transition: 0.2s ease-out;
  transition: 0.2s ease-out;
  background-color: #fff;
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);

  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */

  padding-top: 70px;
  padding-bottom: 15px;
  padding-left: 10px;
  max-height: 100%;
  overflow: auto;
}

.modal {
  position: fixed;
  margin: 0px;
  padding: 0px;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;

  background-color: #fff;
  background-color: rgba(255, 255, 255, 0.95);
  color: 333;

  -webkit-transition: 0.2s ease-out;
  -moz-transition: 0.2s ease-out;
  -ms-transition: 0.2s ease-out;
  -o-transition: 0.2s ease-out;
  transition: 0.2s ease-out;
}
.modal_spegni {
  position: absolute;
  top: 0px;
  right: 0px;
}
.modal .inner {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  /*
	position: absolute;
	background-color: #fff;
	background-color: rgba(255, 255, 255, 0.9);
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	*/
  /*
	left: 50%;
	width: 96%;
	top: 5%;
	height: 900px;
	max-height: 95%;
	min-height: 30%;
	margin-left: -48%;
	padding-bottom: 52px;
	background: transparent;
	*/

  /*
	background-color: #fff;
	border: 1px solid #81878d;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
	 -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
	    -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
	         box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
	*/
}
.modal .title {
  color: #34373a;
  font-size: 30px;
  font-weight: 300;
}

.modal .text {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

  height: 88%;
  overflow: scroll;
  overflow-x: hidden;
  margin: 0px;
  margin-bottom: 0px;
  padding-top: 5px;
  padding: 10px;
  padding-left: 20px;
  padding-bottom: 10px;

  font-size: 18px;
  line-height: 20px;
}

.modal .text:after {
  content: ".";
  display: block;
  height: 100px;
}
.modal .small_text {
  font-size: 14px;
  line-height: 16px;
}
.modal_bottom_spacer {
  display: block;
  width: 100%;
  height: 70px;
}
.modal .buttons {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  margin-left: 0px;
  margin-right: 0px;
  padding-left: 20px;
  padding-top: 15px;
  padding-right: 20px;
  position: absolute;
  bottom: 0px;
  height: 70px;
  text-align: right;
  background: #333333;
}

.btn {
  background-image: none;
  font-size: 14px;
  background-color: #fc4513;
  line-height: 32px;
  padding: 0px 25px;
  border: 2px solid #fc4513;
  color: #fff;
  letter-spacing: 1px;
  transition: 0.5s ease;
  margin-left: 0px !important;
  box-shadow: 0px 0px 0px;
}
.btn:hover,
.btn:focus,
.btn:active {
  background-color: #fff;
  color: #fc4513;
  transition: 0.5s ease;
}
.modal .buttons .btn {
  margin: 5px;
}
.modal .buttons .btn:hover {
  margin: 5px;
}

#toolbar {
  top: 0px;
  left: 0px;
  position: fixed;
  z-index: 7;
  width: 100%;
  background: rgb(2,0,36);
  background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(57,57,74,1) 35%, rgba(36,71,78,1) 100%);
  height: 50px;
  color: #fff;

  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.quantity {
  display: inline-block;
  position: relative;
  top: -4px;
  left: 24px;
  line-height: 24px;
  min-width: 28px;
  height: 28px;
  font-weight: 600;
  font-size: 12px;
  color: #fff;
  padding-top: 2px;
  padding-left: 2px;
  padding-right: 2px;
  text-decoration: none;
  background-color: #c50000;
  text-align: center;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  border-radius: 16px;
  /*
	 -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
	    -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
	         box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
			 */
  border: 1px solid #fff;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
}
.icons > .quantity {
  top: -12px;
  left: 28px;
}
.small > .quantity {
  top: -9px;
  left: 9px;
  min-width: 22px;
  height: 22px;
  font-size: 12px;
  padding-top: 0px;
  background-color: #0073c2;
  vertical-align: text-bottom;
}

.subicon {
  display: inline-block;
  position: relative;
  top: -4px;
  left: 24px;
  min-width: 28px;
  height: 28px;
  font-weight: 600;
  font-size: 12px;
  color: #fff;
  padding-top: 2px;
  padding-left: 2px;
  padding-right: 2px;
  text-decoration: none;
  text-align: center;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  border-radius: 16px;
  border: 1px solid #fff;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
  background-image: url(../images/icons_48.png);
  background-size: 640px 160px;
  background-color: #0073c2;
}

.subicon.corner_tl {
  left: -8px;
}
.subicon.corner_bl {
  top: 22px;
  left: -8px;
}
.subicon.corner_br {
  top: 22px;
}
.small > .subicon {
  top: -9px;
  left: 9px;
  width: 22px;
  height: 22px;
  font-size: 12px;
  padding-top: 0px;
  background-color: #0073c2;
  vertical-align: text-bottom;
  overflow: hidden;
  background-size: 480px 120px;
}
.pulsating {
  animation: pulsating 2s infinite alternate;
  -webkit-animation: pulsating 2s infinite alternate;
}
.little_box_wrapper {
  position: relative;
  width: 0px;
  height: 0px;
  display: inline;
  display: inline-block;
}
.little_box {
  position: fixed;
  z-index: 99;
}
.little_box_inner {
  display: block;
  color: #333;
  overflow: auto;
  max-height: 360px;
  width: 600px;
  background-color: #fff;
  margin: 5px 0px;
  border: 1px solid #ddd;
  padding: 3px 5px 6px 5px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
}

.little_arrow {
  border: solid;
  border-color: #fff transparent;
  content: "";
  display: block;
  position: absolute;
  z-index: 99;
}
.little_arrow.top {
  border-width: 0px 12px 12px 12px;
}
.little_arrow.bottom {
  border-width: 12px 12px 0 12px;
}

.little_box_buttons {
  position: absolute;
  z-index: 99;
  top: -16px;
  right: -16px;
}

.table_container {
  display: block;
  width: 100%;
  overflow: auto;
}

.lists {
  width: 100%;
  font-size: 14px;
  position: relative;
}
.lists th {
  text-align: left;
  font-weight: 400;
  margin-bottom: 2px;
  background: #333;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.75);
  position: sticky;
  top: 0;
  z-index: 1;
}
.lists th,
.nowrap {
  white-space: nowrap;
}
.draggable .draggable-table__drag {
  position: absolute;
  width: 100%;
  border: 1px solid #f1f1f1;
  z-index: 10;
  cursor: grabbing;
  -webkit-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.05);
  box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.05);
  opacity: 1;
}
.draggable tbody tr.is-dragging {
  background: #f1c40f;
}
.draggable tbody tr.is-dragging td {
  color: #ffe683;
}

.wrap {
  white-space: normal !important;
  vertical-align: top !important;
}

.min100 {
  min-width: 102px;
}
.max100 {
  max-width: 98px;
  overflow: hidden;
}
.max100:hover {
  overflow: auto;
  width: auto;
  z-index: 999;
  position: relative;
}
.minmax200 {
  min-width: 160px;
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.minmax300 {
  min-width: 160px;
  max-width: 360px;
}

.lists td.right,
.lists th.right {
  text-align: right;
}

.lists td.left,
.lists th.left {
  text-align: left;
}

.lists td,
.lists th {
  padding: 2px;
  padding-left: 5px;
  width: auto;
  height: 32px;

  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
}
.lists td {
  border-right: 1px solid #cbd3d0;
}
.lists th {
  border-right: 1px solid #6b847c;
}
.lists tr:nth-child(odd) {
  background: #e8eeee;
}
.lists tr:nth-child(odd):hover {
  background: #e2f2f3;
}

.lists tr:nth-child(even) {
  background: #f8fafa;
}
.lists tr:nth-child(even):hover {
  background: #e2f2f3;
}
.lists tr th:last-child,
.lists tr td:last-child {
  white-space: nowrap;
}
/*
.lists tr:hover td:last-child{
	position: absolute;
	right: 64px;
}
*/
.lists tr.warning:nth-child(odd),
.lists tr:nth-child(odd) td.warning {
  background-color: #edd3d3;
}
.lists tr.warning:nth-child(even),
.lists tr:nth-child(even) td.warning {
  background-color: #f2dede;
}
.lists tr.warning:hover,
.lists td.warning:hover,
.lists tr:nth-child(odd):hover td.warning,
.lists tr:nth-child(even):hover td.warning {
  background-color: #f9e5e5;
}

.lists tr.orange:nth-child(odd),
.lists tr:nth-child(odd) td.orange {
  background-color: #f7deb7;
}
.lists tr.orange:nth-child(even),
.lists tr:nth-child(even) td.orange {
  background-color: #fcebd1;
}
.lists tr.orange:hover,
.lists td.orange:hover,
.lists tr:nth-child(odd):hover td.orange,
.lists tr:nth-child(even):hover td.orange {
  background-color: #fff6e8;
}

.lists tr.success:nth-child(odd),
.lists tr:nth-child(odd) td.success {
  background-color: #dff0d8;
}
.lists tr.success:nth-child(even),
.lists tr:nth-child(even) td.success {
  background-color: #e8f4e4;
}
.lists tr.success:hover,
.lists td.success:hover,
.lists tr:nth-child(odd):hover td.success,
.lists tr:nth-child(even):hover td.success {
  background-color: #ecf7e8;
}

.lists tr.alert,
.lists td.alert {
  background-color: #fcf8e3;
}
.lists tr.alert:hover,
.lists td.alert:hover,
.lists tr:hover .alert {
  background-color: #fffcf2;
}

.lists tr.gray:nth-child(odd),
.lists tr:nth-child(odd) td.gray {
  background-color: #999ea3;
  color: #fff;
}
.lists tr.gray:nth-child(even),
.lists tr:nth-child(even) td.gray {
  background-color: #a3a9af;
  color: #fff;
}
.lists tr.gray:hover,
.lists td.gray:hover,
.lists tr:nth-child(odd):hover td.gray,
.lists tr:nth-child(even):hover td.gray {
  background-color: #c4cad1;
}
.table_fixed_header {
  top: 50px;
  position: fixed;
  table-layout: fixed;
  border: none;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
}

.tool_btn {
  display: block;
  float: left;
  margin-top: 6px;
  width: 48px;
  height: 48px;
  background-image: url(../images/icons_48.png);
  background-size: 960px 240px;
  margin-left: 3px;
  cursor: pointer;
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  -webkit-transition: 0.3s ease-out;
  -moz-transition: 0.3s ease-out;
  -ms-transition: 0.3s ease-out;
  -o-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  background-color: #34373a;
}
.tool_btn:hover {
  background-color: #fc4513;
}

.icon,
.iconb {
  display: inline-block;
  position: relative;
  margin-top: 5px;
  margin-right: 10px;
  margin-bottom: 3px;
  width: 320px;
  height: 48px;
  cursor: pointer;
  text-decoration: none;
  font-size: 22px;
  color: #888;
  font-weight: 400;
  padding-top: 12px;
  -webkit-transition: 0.3s ease-out;
  -moz-transition: 0.3s ease-out;
  -ms-transition: 0.3s ease-out;
  -o-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
}
.icon:hover,
.icon:hover > .icons,
.iconb:hover,
.iconb:hover > .icons {
  background-color: #fc4513;
  color: #fff;
}
.icon_help {
  font-size: 14px;
  display: none;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  padding: 2px 5px 2px 5px;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
}
.icon:hover .icon_help,
.iconb:hover .icon_help {
  display: block;
  position: absolute;
  bottom: -44px;
  background-color: #ef0000;
  color: #fff;
  height: 48px;
  overflow: hidden;
  z-index: 2;
}
.icon.small,
.iconb.small {
  margin-left: 0px;
  width: 240px;
  height: 32px;
  font-size: 16px;
  padding: 0px;
  padding-top: 5px;
}
.icons,
.big_icons {
  margin-top: -12px;
  display: block;
  float: left;
  margin-right: 5px;
  width: 48px;
  height: 48px;
  background-image: url(../images/icons_48_black.png);
  background-size: 960px 240px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.icon.small > .icons.small,
.iconb.small > .icons.small {
  margin-top: -5px;
}

.big_icons {
  width: 96px;
  height: 96px;
  background-size: 1920px 192px;
}
.text_button {
  display: inline-block;
  cursor: pointer;
  width: 24px;
  height: 24px;
  -webkit-transition: 0.3s ease-out;
  -moz-transition: 0.3s ease-out;
  -ms-transition: 0.3s ease-out;
  -o-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
  background-color: #fc4513;
  margin-right: 1px;
  vertical-align: middle;
  overflow: hidden;
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  text-align: center;
}

.button {
  display: inline-block;
  width: 48px;
  height: 48px;
  background-image: url(../images/icons_48.png);
  background-size: 960px 240px;
  color: #333;
  cursor: pointer;

  /*
	 -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
	    -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
	         box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
	*/
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  padding-top: 0px;
  -webkit-transition: 0.3s ease-out;
  -moz-transition: 0.3s ease-out;
  -ms-transition: 0.3s ease-out;
  -o-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  background-color: #53585a;
  margin-right: 1px;
  vertical-align: middle;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
  line-height: 48px;
}
.button:hover {
  background-color: #ef0000;
}

.button_text {
  font-size: 0px;
  overflow: hidden;
  width: 0px;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
}
.button:hover .button_text {
  display: block;
  display: inline-block;
  position: absolute;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  font-size: 14px;
  color: #ffffff;
  width: 200px;
  height: 48px;
  background-color: #ef0000;
  position: relative;
  left: -196px;
  padding-left: 3px;
  padding-top: 3px;
  margin-top: -6px;
}

.white {
  background-color: #fff;
}
/*Sezione Icone */
.default_avatar,
.avatar,
.icon_image {
  display: inline-block;
  width: 48px;
  height: 48px;
  background-size: cover;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}
.big_avatar,
.big_image {
  display: inline-block;
  width: 132px;
  height: 132px;
  background-size: cover;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.big_avatar {
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}

.big_avatar > .button,
.big_image > .button {
  display: none;
}

.big_avatar:hover > .button,
.big_image:hover > .button,
.big_image_cont_touch .button {
  display: inline-block;
  vertical-align: bottom;
}
.big_image_outer {
  display: inline-block;
}
.big_image_info {
  display: none;
  overflow: hidden;
  width: 132px;
}

.big_image_placeholder {
  width: 132px;
  height: 132px;
  display: none;
  background-color: #ff0000;
}
.big_image_container {
  display: inline-block;
  z-index: 1;
  position: relative;
}
.big_image_container:hover .big_image_outer,
.big_image_cont_touch .big_image_outer {
  position: absolute;
  margin-top: -30px;
  /*margin-left: -34px;*/
  /*
	top: 45px;
	*/
  padding: 5px;
  background-color: #fff;
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  z-index: 9999;
}
.border_green {
  box-shadow: inset 0 0 25px #389c3f;
}
.border_green:hover {
  box-shadow: 0 0 0 0 #389c3f;
}

.big_image_container:hover .big_image_placeholder,
.big_image_cont_touch .big_image_placeholder {
  display: inline-block;
}

.big_image_container:hover .big_image_info,
.big_image_cont_touch .big_image_info {
  display: block;
  width: 200px;
}
.big_image_container:hover .bigger_image,
.big_image_cont_touch .bigger_image {
  width: 200px;
  height: 200px;
}
.float_hover {
  position: absolute;
  left: 32px;
}
.small.avatar,
.small.default_avatar {
  width: 32px;
  height: 32px;
  background-size: cover;
}

.default_avatar {
  background-image: url(../images/avatar.png);
}
/* NUOVA GESTIONE FOTO */
.nic_container {
  display: inline-block;
  margin: 2px;
  position: relative;
  width: 132px;
  height: 132px;
  cursor: pointer; /* hack per quella chiavica di ios */
}
.nic_container.small {
  width: 48px;
  height: 48px;
}

.nic_buttons {
  display: none;
}
.nic_info {
  display: none;
}
.nic_image {
  width: 132px;
  height: 132px;
  background-size: cover;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.nic_container.small .nic_image {
  width: 48px;
  height: 48px;
}
.nic_placeholder {
  display: none;
}
.nic_message {
  display: inline-block;
  position: relative;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background-image: url(../images/icons_48.png);
  background-size: 480px 120px;
  background-position: -240px 0px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  background-color: #c50000;
  border: 1px solid #fff;
}
/* hovering */
.nic_container:hover .nic_image,
.nic_container.nic_fix .nic_image {
  width: 200px;
  height: 200px;
}
.nic_container:hover .nic_big_block,
.nic_container.nic_fix .nic_big_block {
  position: absolute;
  margin-top: -30px;
  /*
	top: 45px;
	*/
  padding: 5px;
  background-color: #fff;
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  z-index: 9999;
}
.nic_container:hover .nic_buttons,
.nic_container.nic_fix .nic_buttons {
  display: inherit;
  position: absolute;
  right: 4px;
  top: 5px;
}
.nic_container:hover .nic_info,
.nic_container.nic_fix .nic_info {
  display: inherit;
}

form {
  margin-top: 2px;
}

.small {
  width: 32px;
  height: 32px;
  background-size: 640px 160px;
  font-size: 12px;
  line-height: 32px;
}

/* icone half height */

.micro {
  width: 16px;
  height: 16px;
  background-size: 320px 80px;
}
.micro.accept {
  background-position: -272px -16px;
}
.micro.not_checked {
  background-position: -288px -16px;
}

.big {
  width: 64px;
  height: 64px;
  background-size: 1280px 128px;
}
.icon.big {
  width: 340px;
}

.tags {
  display: inline-block;
  cursor: pointer;
  color: #fff;
  height: 34px;
  min-width: 140px;
  background-color: #333;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  margin-right: 2px;
  margin-bottom: 10px;
  padding: 1px 4px 0px 1px;
}

.tags .button {
  border: 0px;
  -webkit-box-shadow: inherit;
  -moz-box-shadow: inherit;
  box-shadow: inherit;
  vertical-align: middle;
  margin: 0px;
  margin-right: 4px;
}

#alerts {
  float: right;
  margin-right: 2px;
  background-position: -288px 0px;
}
#messages {
  float: right;
  margin-right: 2px;
  background-position: -48px 0px;
}
#logged_in {
  float: right;
  margin-right: 2px;
  background-size: cover;
  opacity: 0.7;
}
#logged_in:hover {
  opacity: 1;
}
.text {
  padding: 5px;
  font-size: 14px;
}

.login_panels {
  margin: 0px;
  padding: 6px;
  min-height: 180px;
  color: inherit;
  background-color: #fcfcfc;
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  border: 1px solid #dfdfdf;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.login_error {
  background-color: #fcf8e3;
  border: 1px solid #fbeed5;
}

.login_avatar {
  display: inline-block;
  width: 128px;
  height: 128px;
  background-size: cover;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  position: relative;
  top: -28px;
  right: -28px;
}

.login_text {
  width: 65%;
  min-height: 150px;
  float: left;
  border-right: 1px groove #aaa;
}

.btn {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  font-size: 18px;
}
.gt_tips {
  display: block;
  position: fixed;
  z-index: 9999;
  top: -36px;
  max-width: 300px;
  height: auto;
  white-space: normal;
  padding: 8px;
  font-size: 14px;
  text-align: left;

  color: #333;

  background-color: #fff;
  border-left: 1px solid #c50000;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  border-radius: 1px;
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.mappe_big {
  width: 100%;
  height: 500px;
  background-color: #b7d7f2;
  margin: 0px auto;
  padding: 0px;
}

.mappe_small {
  width: 100%;
  height: 300px;
  background-color: #b7d7f2;
  margin: 0px auto;
  padding: 0px;
}
.mappe_big img,
.mappe_small img {
  max-width: inherit;
}

.live_hidden,
.hidden {
  display: none;
}

.panels {
  background-color: #fff;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  /*overflow: scroll;*/
  -webkit-transition: 0.3s ease-out;
  -moz-transition: 0.3s ease-out;
  -ms-transition: 0.3s ease-out;
  -o-transition: 0.3s ease-out;
  transition: 0.3s ease-out;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding-top: 65px;
}

.panels .text {
  position: absolute;
  width: 100%;
  height: calc(100vh - 50px);
  top: 60px;
  left: 0px;
  overflow: scroll;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding-left: 20px;
  padding-right: 54px;
  padding-bottom: 40px;
}

.panels .text_full {
  padding-left: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  margin: 0px;
  width: 100%;
}

.panels .panel_buttons {
  position: fixed;
  right: 8px;
  top: 18px;
  margin-top: 20px;
  width: 360px;
  z-index: 9999;
  display: flex;
  justify-content: end;
  transition: 0.2s ease-out;
}

.panels .panel_buttons:hover {
  top: 32px;
}

.panel_buttons > .button {
  margin-bottom: 2px;
}
/* Nuova sezione dedicata alle opzioni di un pannello */
.upper_box {
  /* rimane nella posizione originale e non si muove */
  position: fixed;
  top: 50px;
  left: 0px;
  z-index: 8;
  height: 26px;
  width: 100%;
  color: #333;
  border-bottom: 1px solid #bbb;
  background-color: rgba(255, 255, 255, 0.6);
  padding-left: 110px;
  padding-top: 3px;
  padding-right: 110px;
  -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  -webkit-transition: 0.3s ease-out;
  -moz-transition: 0.3s ease-out;
  -ms-transition: 0.3s ease-out;
  -o-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* espansione dell'upper box per maggiori contentuti */
.upper_box.expand {
  height: 50%;
}

.under_box {
  position: fixed;
  bottom: 16px;
  left: 0px;
  height: 30px;
  overflow: hidden;
  width: 100%;
  border-top: 1px solid #666;
  background-color: rgba(33, 33, 37, 0.95);
  background-color: rgba(245, 246, 248, 0.95);

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 20px;
  padding-top: 30px;
  margin: 0px;
  -webkit-box-shadow: 0 -2px 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 -2px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 0 -2px 3px rgba(0, 0, 0, 0.3);
  -webkit-transition: 0.3s ease-out;
  -moz-transition: 0.3s ease-out;
  -ms-transition: 0.3s ease-out;
  -o-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
  z-index: 2;
}
.under_box_updown {
  display: inline-block;
  cursor: pointer;
  width: 48px;
  height: 48px;
  position: absolute;
  top: -10px;
  left: 50%;
  -webkit-transition: 0.3s ease-out;
  -moz-transition: 0.3s ease-out;
  -ms-transition: 0.3s ease-out;
  -o-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  /*background-color: #97C000; */
  margin-left: -24px;
  background-image: url(../images/icons_48_black.png);
  background-size: 960px 240px;
  background-position: -624px -48px;
}
.under_box.fix {
  height: auto;
  max-height: 55%;
  overflow: auto;
}
.under_padding {
  padding-bottom: 500px;
}
.detail_box {
  display: none;
  position: fixed;
  top: 0px;
  right: -50%;
  height: 100%;
  width: 50%;
  background-color: #f8f8f8;
  background-color: rgba(250, 251, 253, 0.98);
  padding: 0px;
  margin: 0px;
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.detail_box.horizontal {
  width: 100%;
  height: 50%;
}
.detail_box .text {
  overflow: scroll;
  height: calc(100vh - 50px);
  padding-top: 66px;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
}

.detail_box::-webkit-scrollbar {
  display: none;
}
.detail_buttons {
  position: absolute;
  top: 65px;
  left: 0px;
  z-index: 2;
  padding-right: 66px;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
}
.floating_bottom {
  position: absolute;
  bottom: 0px;
  left: 0px;
  z-index: 3;
  padding: 10px;
  background: #f8f8f8;
  background-color: rgba(25, 25, 25, 0.4);
  min-height: 100px;
  width: 100%;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}
.opened {
  display: inherit;
  right: 0px;
}
.opened.detail_left {
  left: 0px;
}
.opened.detail_bottom {
  top: 50%;
}
.opened.detail_bottom .text {
  padding-top: 20px;
}
.opened.detail_bottom .detail_buttons {
  top: -24px;
}

.opened.detail_full {
  width: 100%;
  height: 100%;
}
.loading {
  position: absolute;
  width: 160px;
  height: 160px;
  top: 50%;
  margin-top: -80px;
  left: 50%;
  margin-left: -80px;
  background-image: url(../images/spinner.svg);
  background-size: 160px 160px;
  z-index: 999;
}
.mini_loading {
  background-image: url(../images/spinner.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: auto;
  font-size: 24px;
  font-weight: 600;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box;
  display: inline-block;
  overflow: hidden;
  padding-top: 54px;
  text-align: center;
}
.loaded_none {
  background-image: url(../images/no_file.png);
  background-position: center center;
  background-size: cover;
}
.alert .icons {
  margin-top: -14px;
  margin-left: -15px;
}

.alert .icons.small {
  margin-top: -6px;
  margin-left: -14px;
}
.alert .alert-buttons {
  border-top: 1px solid rgba(250, 250, 250, 0.5);
  margin-top: 3px;
}

.alert .alert-buttons .icons {
  margin-left: 0px;
}
.alert h2 .icons {
  margin-top: -5px;
  margin-left: 0px;
}

.alert {
  margin-bottom: 5px;
  margin-top: 5px;
}
.alert h2 {
  padding-left: 0px;
}

.msg_box {
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
  padding: 3px;
  margin-bottom: 3px;
  position: relative;
}

.to_read {
  border-left: 10px solid #333;
}

.msg_box h3 {
  font-size: 18px;
  margin: 0px;
  padding: 0px;
}
.msg_avatar {
  float: left;
}
.msg_txt {
  width: 330px;
  font-size: 14px;
  float: right;
}
.msg_box h6 {
  clear: both;
}
.msg_buttons {
  position: absolute;
  bottom: 2px;
  right: 2px;
  z-index: 2;
}
.msg_out {
  background-color: #f5fff9;
}
.msg_out .msg_avatar {
  float: right;
}
.msg_out .msg_txt {
  float: left;
}
/* Sezione prenotazione */
.hour_box {
  width: 100%;
  min-height: 48px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 0px;
  margin-top: 0px;
  display: block;
}
.hour_box h3 {
  float: left;
  margin: 0px;
  margin-right: 5px;
}

/* Gestione NOTE */
.box_note_outer {
  width: 100%;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #eee;
  margin: 0px;
}
.box_note {
  margin-bottom: 5px;
  margin-top: 5px;
  position: relative;
  min-height: 60px;
  padding-left: 3px;
  display: flex;
}
.box_note_inner {
  margin-right: 30px;
}
.box_note_inner:first-child {
  flex-grow: 3;
  flex-basis: 70%;
}

.box_note_hidden {
  display: block;
  position: absolute;
  right: 0px;
  top: 0px;
  width: 14px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 2px;
  padding-left: 28px;
  overflow: hidden;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-transition: 0.3s ease-out;
  -moz-transition: 0.3s ease-out;
  -ms-transition: 0.3s ease-out;
  -o-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
}
.box_note_hidden:hover {
  width: 260px;
}
.box_note_hidden:before {
  content: " ";
  position: absolute;
  top: 6px;
  left: -10px;
  display: inline-block;
  background-image: url(../images/icons_48_black.png);
  background-size: 960px 240px;
  background-position: -144px 0px;
  width: 48px;
  height: 48px;
}
.box_note h5 {
  padding-top: 3px;
  padding-bottom: 3px;
  font-size: 13px;
}
.box_note.nota_removed {
  background-color: #999;
  color: #fff;
}
.charts {
  display: inline-block;
  width: 100%;
  height: 180px;
}
.photo_zoom {
  position: fixed;
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  top: 0px;
  left: 0px;
  background: rgba(255, 255, 255, 0.5);
  overflow: scroll;
  z-index: 9997;
  background-position: center center;
  background-image: url(../images/spinner.svg);
  background-size: 160px 160px;
  background-repeat: no-repeat;
}
.photo_zoom_content img {
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  width: auto;
  height: auto;
}
.photo_zoom_btn {
  position: fixed;
  z-index: 9999;
}
.photo_zoom_btn > img {
  position: fixed;
  z-index: 9999;
  top: 0px;
}
.photo_zoom_btn > .close_image_zoom {
  top: 0px;
  right: 0px;
}
.firma_holder {
  width: 98%;
  margin: auto;
  height: 300px;
  border: 1px solid #ddd;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}
.nota_removed {
  background-color: #eeeeee;
}
.inline_flex_cont {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  flex-direction: row;
  align-content: center;
  flex-wrap: wrap;
}
.inline_box.flex {
  height: auto;
  margin: 3px;
}

.inline_box {
  width: 32.5%;
  margin: 0px;
  display: inline;
  display: inline-block;
  height: 300px;
  /*
	background-color: #fff;
	border: 1px solid #ddd;
	*/
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

  padding: 5px;
  padding-top: 2px;
  overflow: hidden;
  position: relative;
}
.inline_text {
  width: 32%;
  margin: 3px;
  display: inline;
  display: inline-block;
  height: 300px;
  background-color: #fff;

  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

  padding: 5px;
  padding-top: 0px;
  overflow: hidden;
  position: relative;
  padding-top: 30px;
}

.inline_box.half,
.inline_text.half,
.detail_box .inline_box,
.modal .inline_box {
  width: 49%;
}

.inline_box.auto {
  min-height: 250px;
  height: auto;
  vertical-align: top;
}
.inline_box.long {
  height: 380px;
}
.inline_box.long2 {
  height: 460px;
}
.inline_box.long3 {
  height: 560px;
}
.inline_box.fullsize {
  width: 100%;
}
.inline_box.scroll {
  overflow: auto;
}
.inline_box.error {
  background-color: #e5d1cd;
}

.inline_box.expand {
  width: 100%;
  height: auto;
  min-height: 64px;
  overflow: auto;
}
.detail_box .inline_box.fullsize {
  width: 100%;
  height: 200px;
  overflow: auto;
}

.text_error {
  font-weight: bold;
  color: #b51717;
}

.text_ok {
  color: #389c3f;
  font-weight: bold;
}

.text_big_error {
  display: inline-block;
  font-weight: bold;
  color: #fff;
  background-color: #ea1515;
  padding-left: 5px;
  padding-right: 5px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}
.text_big_ok {
  display: inline-block;
  font-weight: bold;
  color: #fff;
  background-color: #389c3f;
  padding-left: 5px;
  padding-right: 5px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}
.text_big_alert {
  display: inline-block;
  font-weight: bold;
  color: #333;
  background-color: #fbc817;
  padding-left: 5px;
  padding-right: 5px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}
.text_alert {
  font-weight: bold;
  color: #c77036;
}

.new_form_error {
  position: fixed;
  z-index: 999999;
  top: 50%;
  left: 50%;
  margin-left: -37.5%;
  margin-top: -15%;
  width: 75%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.new_form_error_close {
  position: absolute;
  right: -15px;
  top: -15px;
}
.iframe_domus {
  display: block;
  width: 1010px;
  height: 680px;
  margin: 0px auto;
  border: 1px solid #dddddd;
}
.list_box_cont {
  align-items: stretch;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-content: flex-start;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

  width: 100%;
  margin: 0px;
}

.list_box {
  position: relative;
  width: 49%;
  /*
	max-width: 530px;
	min-width: 350px;
	*/
  height: auto;
  padding: 2px;
  margin: 2px;
  margin-bottom: 6px;

  background-color: #fff;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);

  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
  flex-grow: 1;
  overflow-x: auto;
}
.list_box.fullsize {
  width: 60%;
  max-width: 100%;
  min-width: 60%;
  flex-grow: 2;
}

.list_box.closed {
  max-height: 300px;
  overflow-y: hidden;
}

.list_box_button {
  display: inline-block;
  width: 32px;
  height: 32px;
  background-image: url(../images/icons_48_black.png);
  background-size: 640px 160px;
  overflow: hidden;
  opacity: 0.6;
  position: absolute;
  right: 2px;
  top: 2px;
}

.list_box_button:hover {
  opacity: 1;
}

.list_box_button.close {
  background-position: -128px 0px;
}

.list_box_button.open {
  background-position: -544px 0px;
}

.calendar_main {
  width: 100%;
  overflow-x: auto;
  height: auto;
  border: 0px solid #696969;
}

.flex_calendar_week {
  display: flex;
  width: 100%;
}

.calendar_day {
  width: 100%;
  display: inline;
  display: inline-block;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

  padding: 5px;
  padding-top: 0px;
}

.calendar_hour {
  display: inline;
  display: inline-block;
  width: 100%;
  min-height: 160px;
}
.calendar_event_container {
  display: inline-block;
  position: relative;
  margin-bottom: 2px;
  width: 100%;
  height: 100px;
  cursor: pointer; /* hack per quella chiavica di ios */
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 0;
}

.calendar_event {
  display: inline;
  display: inline-block;
  width: 100%;
  background-color: #dbeaf9;
  height: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 5px;
  padding-right: 70px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.calendar_event.accepted {
  background-color: #bfe5b9;
}
.calendar_event.trattativa {
  background-color: #f3eeb4;
}
.calendar_event.trattativa_da_gestire {
  background-color: #e5c1e6;
}
.calendar_event.non_interessato_potenziale {
  background-color: #a3ff6a;
}
.calendar_event.contract {
  background-color: #e3f4cd;
}
.calendar_event.rifiuta {
  background-color: #f4dfcd;
}
.calendar_event.not_present {
  background-color: #b9c4e5;
}

.calendar_event_buttons {
  position: absolute;
  width: 70px;
  top: 2px;
  right: 2px;
}

.calendar_event_closed {
  display: inline;
  display: inline-block;
  width: 100%;
  padding-right: 70px;
  background-color: #edeeef;
  margin-bottom: 2px;
  height: 100px;
  overflow: hidden;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.calendar_event:hover,
.calendar_event_closed:hover {
  background-color: #eff3f7;
}
.calendar_event.accepted:hover {
  background-color: #d0edcb;
}

.calendar_events {
  display: inline;
  display: inline-block;
  width: 100%;
  background-color: #9fc4e0;
}
.day {
  font-size: 36px;
  display: inline-block;
  width: 48px;
  height: 48px;
  padding-top: 12px;
  text-align: center;
  margin-top: 3px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.day_fixed {
  top: 50px;
  position: fixed;
  z-index: 1;
  background-color: #fff;
}
.day_festivo {
  color: #ff0000;
}
.day_selected {
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  border-radius: 24px;
  border: 1px solid #5aa03d;
}

.calendar_hr {
  margin: 2px 0;
  border: 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #fff;
}
.calendar_week {
  width: 14%;
  display: inline;
  display: inline-block;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

  padding: 5px;
  padding-top: 0px;
}
.calendar_month {
  width: 14%;
  height: 250px;
  display: block;
  float: left;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

  padding: 5px;
  padding-top: 0px;
}

.float_left {
  float: left;
}

.float_right {
  float: right;
}

.box {
  display: none;
}

.box.opened {
  display: inline-block;
  position: fixed;
  width: 90%;
  max-width: 800px;
  min-height: 300px;
  max-height: 90%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 8;
  background-color: #fff;

  padding: 20px;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;

  overflow-y: scroll;
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}

.box_close,
.box_open {
  display: inline-block;
  width: 32px;
  height: 32px;
  background-image: url(../images/icons_48_black.png);
  background-size: 640px 160px;
  background-position: -128px 0px;
  overflow: hidden;
  opacity: 0.6;
  position: absolute;
  right: 2px;
  top: 2px;
}

.box_close:hover,
.box_open:hover {
  opacity: 1;
}

.box_open {
  background-position: -544px 0px;
}

progress {
  background-color: transparent !important;
  border: 0;
  width: calc(100% - 120px);
  height: 4px;
}

progress::-webkit-progress-bar {
  background-color: #f3f3f3;
}

progress::-webkit-progress-value {
  background: #cdeb8e;
  -webkit-transition: width 1s ease;
  -moz-transition: width 1s ease;
  -o-transition: width 1s ease;
  transition: width 1s ease;
}

progress::-moz-progress-bar {
  background: #cdeb8e;
}

.progress_bar_container {
  width: 100%;
}

.progress_bar_percent {
  font-size: 32px;
  display: inline-block;
  width: 120px;
  text-align: right;
}
@media (max-width: 480px) {
  #menu {
    width: 330px;
  }
  .icon {
    width: 300px;
    font-size: 18px;
  }
  .little_box_inner {
    width: auto;
    min-width: 300px;
    max-width: 99%;
  }
  .msg_txt {
    width: 230px;
  }
  .panels {
    margin-left: 0px;
    width: 100%;
  }
  .panels h2 {
    padding-left: 5px;
    font-weight: 300;
  }
  .panels .text {
    padding-left: 5px;
    padding-right: 34px;
  }

  .panels .panel_buttons {
    width: 34px;
    float: right;
    height: auto;
    flex-direction: column;
  }
  .panel_buttons > .button {
    width: 32px;
    height: 32px;
    background-size: 640px 160px;
  }

  .panel_buttons > .left {
    background-position: -96px 0px;
  }
  .panel_buttons > .right {
    background-position: -224px -32px;
  }
  .panel_buttons > .icon_scrollup {
    background-position: -416px -32px;
  }
  .panel_buttons > .icon_scrolldown {
    background-position: -448px -32px;
  }
  .panel_buttons > .spegni {
    background-position: -128px 0px;
  }
  .panel_buttons > .refresh {
    background-position: -224px 0px;
  }

  .detail_left {
    display: none;
  }
  .detail_right {
    display: none;
  }
  #detail_container {
    margin-right: 0px;
  }

  .login_avatar {
    width: 64px;
    height: 64px;
  }
  .login_text {
    width: 75%;
    border-right: 1px dotted #aaa;
    font-size: 14px;
  }
  .login_text h2 {
    font-size: 20px;
  }

  .detail_box {
    width: 100%;
    background-color: #f8f8f8;
    background-color: rgba(251, 253, 254, 1);
  }

  .inline_box {
    width: 100%;
  }
  .inline_box.fullsize {
    width: 100%;
  }

  .calendar_week {
    width: 100%;
  }
  .calendar_month {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 800px) {
  .inline_box {
    width: 100%;
  }
  .inline_box.fullsize {
    width: 100%;
  }
  .inline_box.half {
    width: 100%;
  }
  .list_box {
    width: 100%;
  }
  .calendar_week {
    width: 50%;
  }
  .calendar_month {
    width: 50%;
    height: 200px;
  }
}

@media (max-width: 1112px) {
  .panels .panel_buttons {
    right: 0px;
    top: 36px;
  }
  .tool_btn {
    margin-top: 0px;
  }
}

@media (max-width: 1280px) {
  #background {
    background-image: url("../images/carbon2_low.jpg");
  }
  .bigger_image:hover,
  .bigger_touch {
    width: 164px;
    height: 164px;
  }

  .detail_box .inline_box,
  .modal .inline_box {
    width: 100%;
  }
}

@media (min-width: 1920px) {
  /*
	.detail_box .inline_box{
		width: 32%;
	}
	*/
  .list_box {
    width: 32%;
  }
}
.new_nota_cont {
  display: flex;
  flex-direction: column;
}
.new_nota {
  width: 90%;
  min-width: 90%;
  min-height: 48px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  background-color: #fff;
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);

  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  margin-bottom: 30px;
  padding: 5px;
}

.nota_personal {
  justify-content: flex-start;
  background-color: #bde6bd;
  flex-direction: row-reverse;
  align-self: flex-end;
}

.button_circle {
  border-radius: 32px;
  min-width: 32px;
  min-height: 32px;
  width: 32px;
  height: 32px;
  background-size: cover;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
}

.new_nota_text {
  color: #333;
  flex-grow: 2;
  font-size: 16px;
  text-align: left;
  padding-left: 10px;
  padding-right: 2px;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
}
.new_nota_data {
  font-size: 14px;
  color: #666;
  text-align: right;
  width: 100%;
  display: block;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
}

.appck {
  display: none;
}
.appck,
.appck:after,
.tgl:before,
.appck *,
.appck *:after,
.appck *:before,
.appck + .appck-btn {
  box-sizing: border-box;
}
.appck::-moz-selection,
.appck:after::-moz-selection,
.appck:before::-moz-selection,
.appck *::-moz-selection,
.appck *:after::-moz-selection,
.appck *:before::-moz-selection,
.appck + .appck-btn::-moz-selection {
  background: none;
}
.appck::selection,
.appck:after::selection,
.appck:before::selection,
.appck *::selection,
.appck *:after::selection,
.appck *:before::selection,
.appck + .appck-btn::selection {
  background: none;
}
.appck + .appck-btn {
  outline: 0;
  display: block;
  width: 4em;
  height: 2em;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.appck + .appck-btn:after,
.appck + .appck-btn:before {
  position: relative;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
}
.appck + .appck-btn:after {
  left: 0;
}
.appck + .appck-btn:before {
  display: none;
}
.appck:checked + .appck-btn:after {
  left: 50%;
}
.appck-text {
  font-size: 1rem;
}

.appck-light + .appck-btn {
  background: #000;
  border-radius: 2em;
  padding: 2px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
.appck-light + .appck-btn:after {
  border-radius: 50%;
  background: #fff;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.appck-light:checked + .appck-btn {
  background: #66c09d;
}
