@charset "UTF-8";

/*************************
	FONTS
*************************/

@font-face {
	font-family: "Roboto";
	src: url("../fonts/Raleway-Light.ttf") format("truetype");
	font-weight:normal;
	font-style: normal;
}

@font-face {
	font-family: "Roboto";
	src: url("../fonts/Raleway-LightItalic.ttf") format("truetype");
	font-weight: normal;
	font-style:italic;
}

@font-face {
	font-family: "Roboto";
	src: url("../fonts/Raleway-SemiBold.ttf") format("truetype");
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: "Roboto";
	src: url("../fonts/Raleway-SemiBoldItalic.ttf") format("truetype");
	font-weight: bold;
	font-style: italic;
}

/*************************
	PALETTE

#3399dd	AZZURRO
#f4f4f4 GRIGIO CHIARO
#005497 BLU FIORINI


*************************/


/*************************
	BOOTSTRAP OVERRIDES
*************************/

::selection {
  background: #005497;
  color:#fff;
}

::-moz-selection  { 
  background: #005497;
  color:#fff;
}

::placeholder, .form-control::placeholder {
	color: #aaa;
	opacity: 1; /* Firefox */
}

.form-control {
	color:#005497;
}

::-ms-input-placeholder { /* Edge 12 -18 */
	color: #aaa;
}

.bg-blufiorini {
	background-color: #005497;
	color:#fff;
}

#sidecontainer .page .content .bg-blufiorini h1,
#sidecontainer .page .content .bg-blufiorini h2,
#sidecontainer .page .content .bg-blufiorini h3,
#sidecontainer .page .content .bg-blufiorini h4,
#sidecontainer .page .content .bg-blufiorini h5 {
	color:#fff;
	font-weight: bold;
	margin-bottom: 5px;
}

body {
	font-family: "Roboto", "Verdana", "Helvetica", "Arial", sans;
	font-size: 100%;
	font-size: 1em;
	background-color: #f4f4f4;
	position: relative;
	z-index:1;
	color:#005497;
	font-variant-numeric: lining-nums;
}

body.loginpage {
	background-color: #f4f4f4;
}

a {
	color:#005497;
	text-decoration: none;
}

a:hover, a:active {
	color:#0064a7;
	text-decoration: underline;
	transition: 200ms;
}

strong {
	font-weight: bold;
}

h1, h2, h3, h4, h5 {
	color:#333;
}

h1 {
	font-size: 2.0rem;
}

h2 {
	font-size: 1.8rem;
}

h3 {
	font-size: 1.6rem;
}

h4 {
	font-size: 1.4rem;
}

h5 {
	font-size: 1.2rem;
}

.table td, .table th {
	padding: 5px;
}

hr {
	border:none;
	border-bottom:solid 1px #eee;
	margin: 60px 0px;
}

.form-control {
	font-variant-numeric: lining-nums;
}

.btn, .form-control {
	border-radius: 5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border: none;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	padding:10px;

}

.btn {
	background-color: #999;
}

input.form-control.error {
	border-color: rgb(185, 74, 72) !important;
}

span.help-block.form-error {
	color: rgb(185, 74, 72) !important;
}

.btn:focus, .form-control:focus, .form-control:hover {
	-webkit-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.3);
	border: none;
}

.btn, button, input[type="submit"], input[type="reset"]{
	padding:10px 30px;
}

.btn.aggiungi_riga, .btn.rimuovi_riga, .btn.phe_code_generator, .btn.link_esterno, .btn.serbatoi_personalizza{
	padding:7px 10px;
	margin-bottom:10px;
	border-radius: 0;
	box-shadow: none;
}

.serbatoio_coibentazione, .serbatoio_specialita, .serbatoio_rivestimento, .serbatoio_gabbia {
	display: none;
}

.serbatoio_coibentazione.active, .serbatoio_specialita.active, .serbatoio_rivestimento.active, .serbatoio_gabbia.active{
	display: flex;
}

#form_preventivo_righe .row, #form_preventivo_testa .row, #myDialogSerbatoi .row {
	margin:15px -5px;
}

#form_preventivo_righe div[class^='col'], #form_preventivo_righe div[class*='col'], #myDialogSerbatoi div[class*='col']{
	padding:0;
}

#form_preventivo_testa div[class^='col'], #form_preventivo_testa div[class*='col'], #myDialogSerbatoi div[class*='col']{
	padding:0 5px;
}

#form_preventivo_righe label:not(.form-check-label), #form_preventivo_testa  label:not(.form-check-label),
#myDialogSerbatoi label:not(.form-check-label) {
	position: absolute;
	background-color: #fafafa;
	color:#666;
	padding:4px 6px;
	font-size: 12px;
	height:24px;
	top:-23px;
	left:0;
	width:100%;
	border:solid 1px #ccc;
	border-radius: 0;
	-moz-border-radius:0;
	-webkit-border-radius:0;
	transition: top 0.5s;
	z-index: 10;
}

#form_preventivo_righe input, #form_preventivo_testa input, #form_preventivo_testa select, #form_preventivo_testa textarea,
#myDialogSerbatoi input, #myDialogSerbatoi select{
	border:solid 1px #ccc;
	border-radius: 0;
	box-shadow: none;
}

#form_preventivo_righe input[type=number] {
	text-align: right;
}

.btn-primary {
	background-color: #005497;
	-webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
	-moz-box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
	box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
}

.flags .btn-default {
	background-color: #ffffff;
	-webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
	-moz-box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
	box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
}

.btn-primary:hover, .btn-primary:active {
	background-color: #005497;
	-webkit-box-shadow: 0 5px 10px 0 rgba(0,0,0,0.3);
	-moz-box-shadow: 0 5px 10px 0 rgba(0,0,0,0.3);
	box-shadow: 0 5px 10px 0 rgba(0,0,0,0.3);
}

.table .thead-dark th {
	border: none;
	background-color: #333;
}

.table th.selezionato {
	text-decoration: underline;
}

.table th.cliccabile {
	cursor: pointer;
}

.ordine_legato {
	background-color: #54b0e8;
	color:white;
}

.modal {
	z-index:9999;
}

.ripple {
  background-position: center;
  transition: background 0.4s;
}

.ripple:hover {
  background: rgba(100,200,255,0.1) radial-gradient(circle, transparent 1%, rgba(100,200,255,0.1) 1%) center/15000%;
}

.ripple:active {
  background-color: rgba(100,200,255,0.1);
  background-size: 100%;
  transition: background 0s;
}

.badgenotify {
	background: #c33;
	color:#fff;
	font-size: 9px;
	width:20px;
	height:20px;
	position: absolute;
	top:-5px;
	right:-5px;
	border-radius: 10px;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	padding-top:2px;
}

.box {
	border-radius: 5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border: none;
	-webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
	-moz-box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
	box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
	padding: 45px;
	background-color: #fff;
}

.box-followup {
	border-radius: 5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border: solid 1px #eee;
	padding: 15px;
	background-color: #fff;
	margin-bottom: 30px;
}

.semaforo {
	display: inline-block;
	height:24px;
	width: 24px;
	border-radius: 12px;
	-moz-border-radius:12px;
	-webkit-border-radius:12px;
	background-color: #eee;
}

.semaforo.verde {
	background-color: #4c1;
}

.semaforo.giallo {
	background-color: #fd0;
}

.semaforo.rosso {
	background-color: #a00;
}


.todo_giallo {
	background-color: rgba(255, 221, 0, 0.3);
}

.todo_rosso {
	background-color: rgba(255, 0, 0, 0.2);
}

.form-group {
	position: relative;
	margin-bottom: 30px;
}

.form-group label:not(.form-check-label){
	position: absolute;
	background-color: #fff;
	color:#333;
	padding:2px 5px;
	font-size: 0.8em;
	top:-16px;
	left:4px;
	border-radius: 5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border:solid 1px #eee;
	transition: top 0.5s;
	z-index: 10;
}

.data-form input, .data-form textarea, .data-form select {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	border:solid 1px #eee;
	height: auto;
}

.data-form input:hover, .data-form input:active, .data-form input:focus, .data-form textarea:hover, .data-form textarea:active, .data-form textarea:focus,
.data-form select:hover, .data-form select:focus, .data-form select:active {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	border:solid 1px #999;
}


.heading .pagination {
	align-items: center;
	justify-content: center;
	font-size:0.5em;
	margin-top:30px;
}

#sidecontainer .heading a.page-link {
	color:#005497;
}

#sidecontainer .heading .active a.page-link {
	color:#fff;
}

.page-item.active .page-link {
	background-color:#005497;
	border-color:#005497;
}

.modal-backdrop.show {
	z-index:8500;
}

#ui-datepicker-div {
	z-index:999 !important;
}


.input-group-text {
	min-width:75px;
}

/*************************
	CONFIGURATORE
*************************/

.gruppo-idronico-img {
	cursor: pointer;
}

.gruppo-idronico-img.active {
	border: 1px solid #005497;
}

.boxazzurro {
	background-color: #005497;
	color: white;
	font-weight: bold;
	padding: 15px !important;
}

.boxwarning {
	background-color: #ffb050;
	padding: 15px !important;
	font-weight: bold;
	font-size: 16px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

.boxinfo {
	background-color: #eeeeee;
	padding: 15px !important;
	font-weight: bold;
	font-size: 16px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	margin-bottom: 30px;
}

.boxTemp {
	background-color: #eeeeee;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	margin-bottom: 30px;
}

.boxTemp div {
	display: none;
}

.boxTemp div.active {

	padding:0 30px;
	display: block;
}

.boxTemp div.active:first-child {
	padding-top:15px;
}
.boxTemp div.active:last-child {
	padding-bottom:15px;
}


.disabledLabel {
	opacity: 0.5;
}

span.warning, li.warning, p.warning {
	color: #aa0000;
}

/*************************
	CONFIGURATORE ACS
*************************/

#ptemp_altro, #ptemp_caldaia, .tooltipTg {
	display: none;
}

#ptemp_altro.genAttivo, #ptemp_caldaia.genAttivo {
	display: block;
}

.tooltipTg.genAttivo {
	  display: inline-block;
  }

.acs_box {
	margin-bottom: 30px;
	padding:15px;
	border: solid 4px #eee;
	height: calc(100% - 30px)

}

.acs_box.active {
	-webkit-box-shadow: 0 0 14px 0 #FF8800;
	-moz-box-shadow: 0 0 14px 0 #FF8800;
	-o-box-shadow: 0 0 14px 0 #FF8800;
	box-shadow: 0 0 14px 0 #FF8800;
}

.acs_box.suggested {
	border: solid 4px #33aa33;

}

.acs_title {
	font-weight: bold;
	margin-bottom: 15px;
}

.acs_img {
	margin: 0 auto;
	margin-bottom: 15px;
}

.acs_img .img-fluid {
	max-height: 350px;
}

.acs_box table {
	font-size: 12px;
}

.acs_box .form-container {
	margin-bottom: 30px;
}

.ulterioresoluzione {
	display: none;
}

	/*************************
        LOGIN
    *************************/

.loginpage .box {
	width:90%;
	max-width: 500px;
	margin: 0 auto;
	margin-top:20vh;
	text-align: center;
	
}

.loginpage .box img {
	margin: 0 auto;
	height:58px;
	margin-bottom: 45px;
}


/*************************
	SIDEBAR
*************************/

#sidebarscroller {
	overflow: hidden;
	width:0;
	transition: width 0.2s;
	float: left;
	position: relative;
	-webkit-box-shadow: 5px 0 10px 0 rgba(0,0,0,0.6);
	-moz-box-shadow: 5px 0 10px 0 rgba(0,0,0,0.6);
	box-shadow: 5px 0 10px 0 rgba(0,0,0,0.6);
	z-index:8000;
	background-color: #005497;
}

#sidebarscroller.open {
	width:250px;
	transition: width 0.2s;
}


#sidebar {
	width:250px;
	flex-direction: column;

	position: relative;
	z-index:6000;
	overflow: hidden;
}

#sidebar .identity {
	display: block;
	padding:8px;
	background-color: #F7F9FB;
	height:74px;
}

#sidebar .identity img {
	height: 58px;
	display: block;
	margin:0 auto;
}


#sidebar .content {
	margin:30px 0;
	overflow: hidden;
}

#sidebar .content .menu {
	margin:0 10px;
}

#sidebar .content .menu ul {
	padding:0;
	margin:0;
	list-style-type: none;
	text-align: left;
}

#sidebar .content .menu ul li a {
	display: block;
	padding:10px;
	border-bottom: solid 1px rgba(0,0,0,0.3);
	text-decoration: none;
	position: relative;
	color: #eee;
}

#sidebar .content .menu ul li a:not(.collapsed) {
	background-color:rgba(0,0,0,0.3);
}

#sidebar .content .menu ul li a:hover, #sidebar .content .menu ul li a:active {
	color: #fff;
	background-color:rgba(0,0,0,0.3);
}


#sidebar .content .menu ul li ul.collapse li a, #sidebar .content .menu ul li ul.collapsing li a {
	padding-left: 30px;	
}

#sidebar .content .menu ul li a svg.fa-caret-right {
	display: block;
	position: absolute;
	right:5px;
	top:15px;
}

.progresso {
	margin-top:30px;
	position: relative;
}

.progresso .step {
	padding:4px;
	height: 40px;
	width: 40px;
	border-radius: 45px;
	-moz-border-radius: 45px;
	-webkit-border-radius: 45px;
	border: solid 2px #999;
	color: #999;
	text-align: center;
	font-size: 20px;
	float: left;
	margin-right: 10px;
}

.progresso .step:not(:first-child):before{
	position: absolute;
	content: "";
	height: 2px;
	background-color: #999;
	width: 12px;
	margin-left: -24px;
	top: 20px;
}

.progresso .step.active:before {
	background-color: #fff;
}

.progresso .step.active {
	color:#fff;
	border: solid 2px #fff;
}

/*************************
	PROMEMORIA
*************************/

.promemoria-background {
	background-color:#eee;
	height:calc(100vh - 380px);
	min-height:420px;
	padding:30px;
}

.promemoria-list {
	height:calc(100vh - 450px);
	min-height: 350px;
	overflow-y:scroll;
	overflow-x:hidden;
	padding-right:15px;
}

.promemoria-list hr {
	margin:30px 0;
}

#promemoria-descrizione {
	height: calc(100vh - 600px);
	resize: none;

}

.promemoria-element span, .promemoria-control {
	cursor: pointer;
}

/*************************
	BACHECA
*************************/

.boxbacheca {

	border: solid 2px #fff;

	border-radius: 30px;
	-moz-border-radius: 30px;
	-webkit-border-radius: 30px;

	box-shadow: rgba(0,0,0,0.3) 5px 5px 20px 0;
	-moz-box-shadow: rgba(0,0,0,0.3) 5px 5px 20px 0;
	-webkit-box-shadow: rgba(0,0,0,0.3) 5px 5px 20px 0;

	background-color: #333;
	color:#fff;

	padding:30px;

	font-size: 18px;
	text-align: center;
	margin-bottom: 30px;

	cursor: pointer;

	transition: all 0.3s;
}

.boxbacheca:hover {
	box-shadow: rgba(0,0,0,0.3) 10px 10px 20px 0;
	-moz-box-shadow: rgba(0,0,0,0.3) 10px 10px 20px 0;
	-webkit-box-shadow: rgba(0,0,0,0.3) 10px 10px 20px 0;
}


.boxbacheca a {
	color: #fff;
}

.boxbacheca.kitidronici {
	background-color: #1D8ACD ;
}

.boxbacheca.listini {
	background-color: #005497 ;
}

.boxbacheca.followup {
	background-color: #5B0097;
}

.boxbacheca.acs {
	background-color: #DA3523 ;
}

.boxbacheca .btn-default {
	background-color: #FFFFFF ;
	color: #005497;
}

.boxbacheca .icona {
	font-size: 90px;
}

.dispSI {
	color: #33aa33 ;
}

.dispNO {
	color: #DA3523 ;
}




/*************************
	STATISTICHE
*************************/

.box-stats {
	background-color: #eee;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	text-align: center;
	padding:15px;
	margin-bottom: 30px;
}

.box-stats .valore {
	font-weight: normal;
	font-size: 0.8em;
}

.box-stats .valore .kpi {
	font-weight: bold;
	font-size: 1.6em;
}

/*************************
	CALENDARIO
*************************/

.calendar-background {
	background-color:#eee;
	padding:30px;
}

.calendario th {
	width: 14%;
}

.calendario td {
	height: 90px;
	border: 1px solid #dee2e6;
}

.calendario td.today {
	background-color: #005497;
}

.calendario td.current-day {
	background-color: #ffffff;
}

.clickable-day {
	cursor: pointer;
}

.calendar-week {
	color: #bbbbbb;
}

.evento-element {
	cursor: pointer;
}

.event-badge {
	background: #c33;
	color: #fff;
	width: 20px;
	height: 20px;
	display: inline-block;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	margin-left: 10px;
	text-align: center;
	font-size: 9px;
	padding-top: 3px;
}

#evento-form textarea {
	height: calc(100vh - 650px);
	resize: none;
}



/*************************
	CHAT
*************************/

.chat-background {
	background-color:#eee;
	height:calc(100vh - 520px);
	padding:30px;
	min-height:350px;
	overflow-y:scroll;
}

.chat-list {
	height:calc(100vh - 450px);
	min-height:350px;
	overflow-y:scroll;
	overflow-x:hidden;
	padding-right:15px;
}

.chat-background .box {
	min-width:20%;
	max-width:40%;
	margin-bottom:30px;
	padding:15px;

}

.chat-background .box .date {
	font-size:0.7em;
	color:#999;

}

.chat-background .previous {
	text-align:center;
	font-size:1.4em;
}

.chat-background .box p {
	margin-bottom:0;
	margin-top:5px;
}

.chat-background .box.remote {
	background-color:#005497;
	float:left;
	color:#fff;
	clear:both;
	margin-left:-30px;
	border-top-left-radius:0;
	-moz-border-top-left-radius:0;
	-webkit-border-top-left-radius:0;
	border-bottom-left-radius:0;
	-moz-border-bottom-left-radius:0;
	-webkit-border-bottom-left-radius:0;
	-webkit-box-shadow: 5px 0 5px 0 rgba(0,0,0,0.3);
	-moz-box-shadow: 5px 0 5px 0 rgba(0,0,0,0.3);
	box-shadow: 5px 0 5px 0 rgba(0,0,0,0.3);
}

.chat-background .box.local {
	float:right;
	clear:both;
	background-color:#fafafa;
	border-top-right-radius:0;
	-moz-border-top-right-radius:0;
	-webkit-border-top-right-radius:0;
	border-bottom-right-radius:0;
	-moz-border-bottom-right-radius:0;
	-webkit-border-bottom-right-radius:0;
	margin-right:-30px;
	-webkit-box-shadow: -5px 0 5px 0 rgba(0,0,0,0.3);
	-moz-box-shadow: -5px 0 5px 0 rgba(0,0,0,0.3);
	box-shadow: -5px 0 5px 0 rgba(0,0,0,0.3);
}

.chat-heading {
	color:#fff;
	background-color:#005497;
	padding:30px;
	font-size:1.2em;
	min-height:100px;
}

.chat-message {
	background-color:#005497;
	padding:30px
}

.chat-heading img, .chat-list img {
	height:40px;
	width:40px;
	border-radius:20px;
	-moz-border-radius:20px;
	-webkit-border-radius:30px;
}

.chat-account {
	position:relative;
}

.chat-account .dropleft {
	text-align:right;
}

.chat-list hr {
	margin:30px 0;
}

.archive-button-container {
	margin-top: 9px;
}

.chat-recent-badge {
	background: #c33;
	color: #fff;
	width: 20px;
	height: 20px;
	position: absolute;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	margin: 10px;
	text-align: center;
	font-size: 9px;
	padding-top: 3px;
}

/*************************
	PAGE CONTENT
*************************/
.modal-backdrop.show {
	z-index:8500;
}

#ui-datepicker-div {
	z-index:9999 !important;
}

.action{
	white-space: nowrap;
}
.brands {
	overflow:hidden;
	margin-bottom:30px;
}

.brands .form-group {
	margin-bottom:10px;
}

#storico .box {
	margin-bottom: 30px;
}

#sidecontainerscroller {
	float: left;
	width: 100%;
	transition: width 0.2s;
	position: relative;
	overflow: hidden;
}

#sidecontainerscroller.open {
	width:calc(100% - 250px);
}

#sidecontainer {
	width: 100%;
	/*min-width: 480px;*/
}

#sidecontainer .heading .dropleft {
	text-align: right;
}

#sidecontainer .heading a {
	color: #fff;
}

#sidecontainer .heading .dropdown-menu a {
	color: #333;
}

#sidecontainer .heading {
	font-size: 2em;
}

#search_bacheca .heading{

	padding: 60px 30px 40px 30px !important;
}

#search_bacheca .heading .form-group{
	padding: 10px 5px;
}

#search_bacheca .heading .form-group label:not(.form-check-label){
	position: absolute;
	background-color: #fff;
	font-size: 0.5em;
	color:#333;
	border:solid 2px #000;
	top:-25px;
	left:10px;
	border-radius: 5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	transition: top 0.5s;
	z-index: 10;
	padding:2px 5px;


}

.heading .form-group label:not(.form-check-label){
	position: absolute;
	background-color: #fff;
	font-size: 0.5em;
	color:#333;
	border:solid 2px #000;
	top:-20px;
	left:10px;
	border-radius: 5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	transition: top 0.5s;
	z-index: 10;
	padding:1px 5px;


}

#sidecontainer .menu {
	padding:8px 30px;
	width: 100%;
	-webkit-box-shadow: 0 5px 10px 0 rgba(0,0,0,0.3);
	-moz-box-shadow: 0 5px 10px 0 rgba(0,0,0,0.3);
	box-shadow: 0 5px 10px 0 rgba(0,0,0,0.3);
	line-height: 1em;
	position: relative;
	z-index:5000;
	height: 74px;
	overflow: hidden;
	background-color: #F7F9FB;
}

#sidecontainer .menu .app {
	text-align: right;
}

#sidecontainer .menu .app a {
	display: inline-block;
	position: relative;
	text-align: center;
	color: #005497;
}

#sidecontainer .menu a {
	color: #005497;
	
}

#sidecontainer .menu .date a,  #sidecontainer .menu .date p{
	display: block;
	float: left;
	margin-right: 10px;
}

#sidecontainer .menu .date a {
	display: none;
}


#sidecontainer .page .heading {
	padding:40px 30px 80px 30px;
	background-color: #666;
	color: #fff;
	z-index:100;
}

#sidecontainer .page .content {
	z-index:200;
	margin: -45px 30px 90px 30px;
	background: #fff;
	-webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
	-moz-box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
	box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	height: auto;
	/*overflow: hidden; bug con i menu a scomparsa negli elenchi*/
}

#sidecontainer .page .content-arrow {
	z-index:200;
	margin: -45px 30px 90px 30px;
	height: auto;
	/*overflow: hidden; bug con i menu a scomparsa negli elenchi*/
}

.flag_image {
	max-height: 30px;
	max-width: 30px;
	margin: 5px 10px 0 0;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
	-webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
	-moz-box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);

}

.content-arrow .stepbutton {
	background-color: white;
	color:#005497;
}

.check-group {
	margin-bottom:30px;
}

#sidecontainer .page .content h1, #sidecontainer .page .content h2, #sidecontainer .page .content h3, #sidecontainer .page .content h4, #sidecontainer .page .content h5 {
	margin-bottom: 30px;
}

#sidecontainer .page .content .content-padding {
	padding:45px 15px;
}

#curve_chart {
	border: solid 1px #eee;
}

#topMenuBtn {
	padding: 15px 0;
}

.menu .flags {
	padding:7px 0;
}

#scrolltotop {
	position: absolute;
	z-index:8000;
	bottom:15px;
	right:15px;
	padding:15px;
	background: #fff;
	border-radius: 5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	-webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
	-moz-box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
	box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
	transition:opacity 500ms;
}

#scrolltotop:hover {
	-webkit-box-shadow: 0 5px 10px 0 rgba(0,0,0,0.3);
	-moz-box-shadow: 0 5px 10px 0 rgba(0,0,0,0.3);
	box-shadow: 0 5px 10px 0 rgba(0,0,0,0.3);
}

#scrolltotop.closed {
	opacity: 0;
	transition:opacity 500ms;
}

td.identity img {
	height: 30px;
}

td.dropleft {
	position: absolute;
	z-index: 9999;
}

.dropdown-menu {
	-webkit-box-shadow: 0 5px 10px 0 rgba(0,0,0,0.3);
	-moz-box-shadow: 0 5px 10px 0 rgba(0,0,0,0.3);
	box-shadow: 0 5px 10px 0 rgba(0,0,0,0.3);
}

.chat {
	cursor: pointer;
}

.immagini_miniature {
	text-align: center;
	margin-top: 10px;
}

.immagine_miniatura {
	max-width: 100px;
	max-height: 100px;
	cursor: pointer;
}

.immagine_miniatura.visualizzata {
	border: 4px solid #005497;
}

#sidecontainer #rubrica .contatto {
	border: 1px solid #ccc;
	margin-bottom: 10px;
	padding: 25px;
}

#sidecontainer #rubrica .nuovocontatto {
	margin-bottom: 10px;
	padding: 25px;
}

#sidecontainer #rubrica .contatto h2 {
	margin: 0;
}

#sidecontainer #concorrenza .competitor {
	border: 1px solid #ccc;
	margin-bottom: 10px;
	padding: 25px;
}

#sidecontainer #concorrenza .competitor h2 {
	margin: 0;
}

#sidecontainer #offerte .offerta {
	border: 1px solid #ccc;
	margin-bottom: 10px;
	padding: 25px;
}

#sidecontainer #offerte .offerta h2 {
	margin: 0;
}

.solomodifica {
	display: none;
}

.tagElement {
	display: inline-block;
	border: 1px solid #aaaaaa;
	border-radius: 5px;
	background-color: #eeeeee;
	font-size: 1.5em;
	margin: 5px;
	padding: 5px;
}

#addAmbito, #addTarget, #addTrasporto, #addFatturatoTarget, #addKit {
	cursor: pointer;
}

.colorazzurro {
	background-color: #b4e1f7 !important;
}

.colorrosa {
	background-color: #f9a19a !important;
}

.colorverde {
	background-color: #28a745 !important;
}

.colorgiallo {
	background-color: #ffd980 !important;
}

.testoarancio {
	color: #005497 !important;
}

#nuovavisitalink {
	padding: 5px 20px;
	margin-top: 3px;
	color: #fff;
}

/*************************
	CUSTOM CHECKBOX
*************************/

.checkbox-lg .custom-control-label::before,
.checkbox-lg .custom-control-label::after {
	top: .8rem;
	width: 1.55rem;
	height: 1.55rem;
}

.checkbox-lg .custom-control-label {
	padding-top: 13px;
	padding-left: 6px;
}


.checkbox-xl .custom-control-label::before,
.checkbox-xl .custom-control-label::after {
	top: 1.2rem;
	width: 1.85rem;
	height: 1.85rem;
}

.checkbox-xl .custom-control-label {
	padding-top: 23px;
	padding-left: 10px;
}


/* Chrome, Safari, Edge, Opera */
input.nospinner::-webkit-outer-spin-button,
input.nospinner::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Firefox */
input.nospinner[type=number] {
	-moz-appearance: textfield;
}

/* ordinamento tabelle */
th.order_link {
	cursor: pointer;
	text-decoration: underline;
}

th.order_link_active {
	text-transform: uppercase;
}

/*************************
	CHATBOT
*************************/

#chatbot_container {
	position: fixed;
	bottom:0;
	right:30px;
	width:200px;
	height: 40px;
	padding:10px;
	transition: all 0.5s ease;
	background-color: #005497;
	border-radius: 10px 10px 0 0;
	box-shadow: 5px 5px 10px rgba(0,0,0,0.2);
}

#chatbot_container.open{
	height:470px;
	width:600px;
}

#chatbot_container .title {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	cursor: pointer;
	text-align: left;
}

#chatbot_container #chatBotHideMessages {
	color:#fff;
	position: absolute;
	right: 10px;
	top:10px;
	display: none;
	cursor: pointer;
}

#chatbot_container.open #chatBotHideMessages {
	display: block;
}

#chatbot_container .chatbot_box {
	background-color: #fff;
	border-radius: 10px;
	height: 360px;
	margin-top: 10px;
	padding:10px;
	font-size: 14px;
	overflow-x: hidden;
	overflow-y: scroll;
}

#chatbot_container .chiudi, #chatbot_container.open .apri {
	display: none;
}

#chatbot_container.open .chiudi, #chatbot_container .apri {
	display: inline-block;
}

#chatbot_container .chatbot_box .user-question {
	text-align: right;
}

#chatbot_container .chatbot_box h6 {
	font-size:10px;
}

#chatbot_container .chatbot_box .bot-reply {
	text-align: left;

}

#chatbot_container input {
	margin-top: 20px;
	height:30px;
	font-size: 14px;
	padding:5px 10px;
	box-shadow: none;
	border:solid 1px #fff;
}

#chatbot_container input:hover {
	box-shadow: none;
}


.vecchio_preventivo {
	background-color: #eeeeee;
}

.nuovo_preventivo {
	background-color: #aaaaaa;
}

@keyframes wronginput {
	0% { box-shadow: 0 5px 10px 0 rgba(200,0,0,0.6); }
	100% { box-shadow: 0 5px 10px 0 rgba(0,0,0,0.3); }
}

.wrong-input {
	animation: wronginput 2.0s;
	transition: all 0.3s ease-in-out;
}

 .prev-custom-select {
	 position: relative;
 }

.prev-search-box {
	width: 100%;
	padding: 8px;
	box-sizing: border-box;
}

.prev-options-list {
	position: absolute;
	width: 100%;
	border: 1px solid #ccc;
	border-top: none;
	max-height: 150px;
	overflow-y: auto;
	background: white;
	z-index: 1000;
	display: none;
}

.prev-option {
	padding: 8px;
	cursor: pointer;
}

.prev-option:hover {
	background-color: #f0f0f0;
}

/*************************
	UI AUTOCOMPLETE
*************************/

ul.ui-autocomplete {
	z-index: 99999;
}

/*************************
	MAPPA
*************************/

.clienteData {
    align-items: center;
    border-radius: 50%;
    color: #263238;
    display: flex;
    font-size: 14px;
    gap: 15px;
    height: 40px;
    justify-content: center;
    padding: 10px;
    position: relative;
    position: relative;
    transition: all 0.3s ease-out;
    width: 30px;
}

.clienteData::after {
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 9px solid #FFFFFF;
    content: "";
    height: 0;
    left: 50%;
    position: absolute;
    top: 95%;
    transform: translate(-50%, 0);
    transition: all 0.3s ease-out;
    width: 0;
    z-index: 1;

}

.clienteData .icon {
    align-items: center;
    display: flex;
    justify-content: center;
}

.clienteData .icon svg {
    height: 20px;
    width: auto;
}

.clienteData .details {
    display: none;
    flex-direction: column;
    flex: 1;
}

.indirizzo_nascosto {
    display: none;
}

/*
 * Property styles in highlighted state.
 */
.clienteData.highlight {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.2);
    height: 120px;
    padding: 8px 15px;
    width: auto;
}

.clienteData.highlight::after {
    border-top: 9px solid #FFFFFF;
}

.clienteData.highlight .details {
    display: flex;
}

/*************************
	MEDIA QUERIES
*************************/

/* DEFAULT STYLE IS FOR LARGE DESKTOP DISPLAYS */

@media screen and (min-width: 1201px) {
}


/* SMALL DESKTOP DISPLAYS AND TABLET LANDSCAPE*/
@media screen and (min-width: 1200px) {
	.modal-lg {
		max-width: 1000px;
	}
}

/* TABLET PORTRAIT AND MOBILE LANDSCAPE*/
@media screen and (max-width: 992px) {
	#sidecontainer .menu .date a {
		display: block;
	}
	
	#sidecontainer .menu .date p{
		display: none;
	}

	#sidecontainerscroller.open {
		width:calc(100% - 250px);
	}

	.progresso {
		margin-bottom:100px;
	}
}

/* LARGE MOBILE PORTRAIT AND SMALL MOBILE LANDSCAPE*/
@media screen and (max-width: 768px) {
	#scrolltotop {
		display: none;
	}

	#chatbot_container.open{
		width:400px;
	}
	
}

/* SMALL MOBILE PORTRAIT*/
@media screen and (max-width: 575px) {
	#sidecontainer .menu .app {
		display: none;
	}
}

@media screen and (max-width: 992px) {
	#sidebarscroller {
		width: 0;
	}

	#sidebarscroller.open {
		width: 250px;
	}

	#sidecontainerscroller {
		width: 100%;
	}

	#sidecontainerscroller.open {
		width: calc(100% - 250px);
	}
}

/* MENU DESKTOP*/
@media screen and (min-width: 993px) {
	#sidebarscroller {
		width: 250px;
	}

	#sidebarscroller.open {
		width: 0;
	}

	#sidecontainerscroller {
		width: calc(100% - 250px);
	}

	#sidecontainerscroller.open {
		width: 100%;
	}
}