html {

  /*line-height: 1.15;*/
  /*-webkit-text-size-adjust: 100%;*/
  /*-webkit-tap-highlight-color: rgba(0, 0, 0, 0);*/
}

body {
  margin: 0;
  /*font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";*/
  /*font-family:Arial, Helvetica, sans-serif; */
  font-family: sans-serif, Arial, Helvetica;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #888;
  text-align: center;
}

p {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.corsivo{
  font-style: italic;
}

/*img { max-width: 100%; }*/
img{ vertical-align:middle; padding:0.5rem}

.container {
	width:90vw; 
	/*border:dotted 1px gray;*/
	/*border-radius: 20px;*/
    /*display: block;*/
    margin:0.625rem auto;
}

.blocks {
	width:95%; 
	/*border:solid 1px red;*/
    display: block;
    margin:1% auto;
	clear:both;
}

#block2, #foot {
	font-size: 0.8rem;
}

#myhead {
	background-color: #000;
	color:white;
	border-radius: 0.625rem;
}

#block0 {
	width:85%; 
	/*border:solid 1px blue;*/
	display: inline-block;
}

#blocklogo {
	width:auto; 
	/*border:solid 1px blue;*/
	display: inline-block;
	padding:0.3rem;
}

#blocklogout {
	width:auto; 
	/*border:solid 1px blue;*/
	display: inline-block;
}

#imglogout {
	padding:0.6rem 0.1rem 0.3rem 0;
}

#menubar {
	border:solid 0.1rem black;
	border-radius: 0.625rem;
	background-color: #f9f5f5;
}

.btn_menu {
	width:6rem;
 	height:3rem;
	font-size : 0.625rem;
	padding:0.18rem;
	margin:0.125rem;
	border:solid 0.1rem black;
  	border-radius: 0.625rem;
	background-color: #E9E9ED;
	vertical-align: middle;
}

#dyncontent {
	/*border:dotted 1px red;*/
	width:98%;
    margin: 1% auto;

}

#myfoot {
	padding:1%;
	background-color: #000;
	color:white;
	border-radius: 0.625rem;
}

.login {
	padding: 1vw;
	background-color: #eee;
	/*-moz-border-radius: 0 0 10px 10px; */
	/*-webkit-border-radius: 0 0 10px 10px; */
	border-radius: 0.625rem;
	text-align: center;
    display: block;
  	margin-bottom: 1rem;
	max-width: 80vw;
	margin: 5vw;
}

table {
  	margin: auto;
	max-width: 85%;
	color: black;
	font-size: 0.8rem;
  	border-spacing:0; /* Removes the cell spacing via CSS */
  	border-collapse: collapse;
	line-height: 2rem;
}
tr.thead{ font-weight:bold; }
tr.odd{ background-color: #E0E0E0; }
tr.even{ background-color: #F2F2F2; }
td{ padding: 0rem 0.5rem; }
td.alleft, .alleft{ text-align:left; }
td.alcenter, .alcenter{ text-align:center; }
td.alright, .alright{ text-align:right; }
.product{ font-size: 0.8rem; line-height: 0.8rem; }
.price{ width: 3rem; }
.pricestatus{ width: 2rem; }

#pricelist{	overflow-x:auto; }
.priceok, .infook{ color:green; border:none; }
.priceerror, .infoerror, .toconfirm{ color:red; }
.infobold { font-weight:bold; }
#lblflowcalc, #lblflowneed{	font-size: 0.8rem; width: 13rem; text-align: right; display: inline-block; padding: 0.1rem; }
#compress{ border: dashed 0.3rem; margin: 0.8rem auto; font-weight: bold; width: 13rem;}

.redborder{ border:solid 0.1rem red !important; }
.greenborder{ border:solid 0.1rem green !important; }

.control{
  	max-width: 60%; /*width: 100%;*/
	height: calc(1.0em + 0.9rem);
	padding: 0.1rem 0.4rem;
	font-size: 1rem;
	/*font-weight: 400;*/
	line-height: 1.2;
	color: #495057;
	background-color: #fff;
	background-clip: padding-box;
	border: 0.1rem solid #ced4da;
	border-radius: 0.4rem;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    display: block;
    margin:0.3rem auto;
	vertical-align:middle;
}

#useradd-privacy{
    display: inline;
}

.invisibile{
	display:none;
}

#tab_prodogrouped{
  	margin: 0.5rem auto;
}

#tab_theadprodogrouped{
	border: dotted 2px blue;
}


/*
[id^="getoffer-flowrt"]{
	width: 65px;
	border: none;
}
*/
/*
.classcheckbox{
	display: inline !important;
	float:left;
}

.grntlab{
	font-size: 0.7rem !important;
}

label {
  	display: inline-block;
  	margin-bottom: 0.5rem;
}

button {
  	border-radius: 10px;
	padding:5px;
}
*/
input,button,select,textarea {
	/*margin: 3px;*/
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	text-align: center;
	overflow: hidden;
	text-transform: none;
}
input:focus {
	background-color: transparent;
}
input:hover, button:hover, .ideordine, #closebutton {
	cursor: pointer;
}
input.no-border {
	border: none;
}
input:disabled {
	background-color: #F5F3F3;
}

.ideordine:hover{
	border:solid 1px green;
}

/*
.getoffer-datas, .blockdis{
  	display: inline;
  	margin-bottom: 0.5rem;
}
*/
.blockdis{
  	display: block;
  	margin-bottom: 0.5rem;
}

#getoffer-flowrtcalc, #getoffer-flowrtneed{
	width:5rem
}
#getoffer-flowrtneed{
	border: solid 0.1rem black;
	background-color: #FFFF99;
	font-weight:bold;
}


#getoffer-gasinlet{
	width:13%;
}

.mychkboxclass{
	/*border: solid 1px green;*/
	/*width:50%;*/
	margin:1% 0% 1% 0%;
	text-align:left;
}

.controlcheck{
	margin: 0rem 0.18rem;
	display:inline;
}

.chkboxopt{
    margin:auto;
}

#resultoffer{
	font-size: 0.9rem;
	line-height: 1;
	color:black;
	width:50%;
    	margin:0.3rem auto;
}

#offerprosp{ width:100%; margin:auto; font-size: 0.9rem;}
#offerprosp td{	width:50%; }
#offerprosp .offlbl{ text-align:right; }
#offerprosp .offval{ text-align:left; }

.error {
  padding: 1rem;
  text-align:center;
  font-weight:bold;
  color:red;
}

.errorform{
  padding: 0rem !important;
}

#login-pswd, #useradd-pswd, #useredit-pswd, #useredit-bsname, #companyedit-bsname{ display:inline; }
#pswdeye, #busiedit{ position: absolute; vertical-align:middle; margin: 0.8rem -2.5rem; }
#pswdeye:hover, #busiedit:hover{ cursor:pointer; }
.isediting{ background-color: #FFFFCC; }

/*#busidata{ background-color: #A0A0A0; }*/
/*#busidata, #userdata{ border:none; }*/
legend{ font-weight:bold; font-size:1rem; color:black; }

#bscode { display: inline; }
#useradd-bscode, #compadd-bscode, #useredit-bscode, #compedit-bscode, #companyedit-bscode{  
	width:2rem; 
	/*display: inline;*/
	display: none;
	border-radius: 0.625rem 0.625rem 0rem 0rem;
	font-weight:bold;
}

/* autocomplete start */
#divautocomp{ display: inline-grid; }

input#compadd-bsname, input#useredit-bsname, input#compedit-bsname, input#companyedit-bsname{
	font-weight:bold;
	color: #495057;
	border-radius: 0.625rem 0.625rem 0rem 0rem;
 	display: inline;
}

.tipslist{
  	/*background-color: #ffffff;*/
	/*width:6rem;*/
  	/*max-width: 80%; *//*width: 100%;*/
	height: calc(1.4em + 0.9rem);
	padding: 0rem 0.75rem;
	font-size: 0.8rem;
	line-height: 1.1;
	color: #495057;
	background-color: #fff;
	/*border: 0.125rem solid red;*/
	/*border-radius: 0rem 0rem 0.625rem 0.625rem;*/
	border: none;
    margin:0rem auto;
	text-align: left;
	display:none;
}

.list-items{
	padding: 0.2rem 0.6rem;
	margin-top:0rem;
	border-bottom: 0.1rem solid black;

color: red;
background: #CCFFE5;
font-size: 1rem;
border-radius: 0.6rem;

	/*background-color: #FBFCF1;*/
	font-weight:bold;
	text-align:center;
	position:relative;	
	z-index:99;
}
/* autocomplete end */

.loading * {
  	cursor: wait !important;
}

img{ vertical-align:middle; }

/*------------*/
/* MODAL BOX INIZIO */
/*------------*/
.modal-fader {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	z-index: 99998;
	background-color: rgba(0,0,0,0.8);
}
.modal-fader.active {
	display: block;
}
.modal-window {
	display: none;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	z-index: 99999;
	background-color: #fff;
	padding: 1.25rem;
	border-radius: 0.31rem;
	font-family: sans-serif;
	top: 3rem;
}
.modal-window.active {
	display: block;
}
.modal-window h1,
.modal-window h2,
.modal-window h3,
.modal-window h4,
.modal-window h5,
.modal-window h6 {
	margin: 0;
}
.modal-btn {
	background-color: #36a5a5;
	border: none;
	color: #fff;
	padding: 0.625rem 0.9rem;
	box-shadow: none;
	border-radius: 0.18rem;
	text-decoration: none;
}
/*------------*/
/* MODAL BOX  FINE */ 
/*------------*/

/* MODAL STYLES
-------------------------------*/
.jw-modal {
    /* modals are hidden by default */
    display: none;

    /* modal container fixed across whole screen */
    position: fixed;
    inset: 0;

    /* z-index must be higher than everything else on the page */
    z-index: 10000;
    
    /* semi-transparent black background exposed by padding */
    background-color: rgba(0, 0, 0, .75);
    padding: 40px;

    /* enables scrolling for tall modals */
    overflow: auto;
}

.jw-modal.open {
    display: block;
}

.jw-modal-body {
    padding: 20px;
    background: #fff;
}

body.jw-modal-open {
    /* body overflow is hidden to hide main scrollbar when modal window is open */
    overflow: hidden;
}

fieldset{
	border: solid 0.1rem lightgray;
}

#usergrant-fieldset{
	width:90%;
}

#screen {
   position: fixed;
   top: 0;
   left: 0;
   /*background-color: transparent;*/
   color: transparent;
   padding: 0rem;
   font-size: 0.5em;
   font-weight:bold;
}

#online-users {
   position: fixed;
   bottom: 0;
   right: 0;
   background-color: #B2CAC4;
   padding: 0.375rem;
   color: #fff;
   font-size: 1.0em;
   font-weight:bold;
}
.no-bullets{ list-style-type: none; }
#online-list{ text-align:left; font-weight:normal; font-size: 0.8em;}

/*
.icon {
  padding-left: 1rem;
  background: url("../img/add.png") no-repeat left;
  background-size: 1rem;
}
*/

.dispinline{
    display: inline;
}

.smallfield{ width: 4.5rem; }
.bigfield{ min-width: 90%; }

.smallsize{
	font-size:0.8rem; line-height:0.8rem;
}

.bigsize{
	font-size:1.2rem; line-height:0.8rem;
}

.maiuscolo { text-transform:uppercase; }

.topright {
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 18px;
}

/*--------------------*/
/* BURGER MENU INIZIO */ 
/*--------------------*/
#hamburger {
  position: fixed;
  z-index: 100;
  top: 0.4rem;
  right: 0.7rem;
  padding: 0.125rem;
  border: black solid 0.1rem;
  background-color: white;
  cursor: pointer;
}

.closeIcon{ display: none; }

.menuItem {
  display: block;
  margin: 1rem 2rem;
  /*font-size: 1.8rem;*/
  color: white;
  /*text-decoration: none;*/
}

.burgermenus:hover{ 
	text-decoration: underline;
  	background-color: #ffffcc;
	color:red;
	margin: 0.2rem;
}

.burgermenulist{
  display:none;
  position: fixed;
  transform: translateY(-100%);
  transition: transform 2s;
  top: 2rem;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background-color: black;
  color: white;
  list-style: none;
  padding-top: 0rem;
}

.burgermenus{
  width:90%;
}

.showMenu { transform: translateY(-0.5rem); }
/*--------------------*/
/* BURGER MENU FINE   */ 
/*--------------------*/

#offersdyntable{
/*
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
*/
}

/***** Media queries - start *****/
@media (max-width: 415px) {
	#menubar{ display:none; }
	#burgermenu{ display:block; }	
	h1, h2 { font-size: 2rem; } 
	.chkboxopt{ width:90%; }
}

@media (min-width: 576px) and (max-width: 767px) {
	#menubar{ display:none; }
	#burgermenu{ display:block; }
	.chkboxopt{ width:90%; }
}

@media (min-width: 768px) and (max-width: 991px) {
	#menubar{ display:block; }
	#burgermenu{ display:none; }
	.chkboxopt{ width:90%; }
}

@media (min-width: 992px) and (max-width: 1199px) {
	#menubar{ display:block; }
	#burgermenu{ display:none; }
	input[type='checkbox'] { 
		/* transform: scale(0.7); */
		width:1.25rem;
		display: inline;
		vertical-align: middle;
	}
	.login-form {
		padding: 1vw;
		background-color: #eee;
		/*-moz-border-radius: 0 0 10px 10px; */
		/*-webkit-border-radius: 0 0 10px 10px; */
		border-radius: 0.625rem;
		text-align: center;
		display: block;
	  	margin: 3rem auto;
		max-width: 50%;
	}
	.chkboxopt{ width:50%; }
	#usergrant-fieldset{ width:50%; }
}

@media (min-width: 1200px) {
	#menubar{ display:block; }
	#burgermenu{ display:none; }
	input[type='checkbox'] { 
		/* transform: scale(0.7); */
		width:1.25rem;
		display: inline;
		vertical-align: middle;
	}
	.chkboxopt{ width:50%; }
	#usergrant-fieldset{ width:50%; }

}
/***** Media queries - end *****/
