html { 
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	background-color: rgb(30, 150, 60);
}
input:focus, textarea:focus, select:focus{
	outline: none;
}
#bottomart{
	text-align: center;
	margin-left: 0px;
	position: fixed;
	bottom: 0px;
	left: calc(50% - 175px);
	width: 350px;
	height: 74px;
	z-index: 2;
	cursor: pointer;
}
#noshow{
	display: none;
}
#modal{
	display: none;
	width: 100%;
	height: 100%;
	background-color: rgb(220,220,220); /* fallback */
	background-color: rgba(180,180,180,0.6);
	position: fixed;
	left: 0;
  	top: 0;
	overflow: none;
  	z-index: 1;
}
#modal #listSel{
	width: 300px;
	background-color: rgb(255,255,255);
	margin: 15% auto;
	max-height: 75%;
	overflow: auto;
	font-family : "Source Sans Pro";
	font-size: 14px;
	color: rgb(0,0,0);
	padding-bottom: 5px;
}
#modal #listSel .shoppinglistName{
	padding-left: 10px;
}
#modal #listSel .shoppinglistName:focus, .shoppinglistName:hover{
	cursor: pointer;
	background-color: rgb(240,240,250);
}
#modal #listSel .modhead{
	font-family: Muli;
	font-size: 16px;
	font-weight: bold;
	background-color: rgb(35,80,140);
	color: rgb(255,255,255);
	padding: 10px;
}
#listSel .modhead{
	position: relative;
}
.close {
	color: rgb(255,255,255);
  	/*float: right;*/
	position: absolute;
	top: 2px;
	right: 5px;
	font-size: 24px;
	font-weight: bold;
	padding-left: 3px;
	padding-right: 3px;
}
.close:hover,
.close:focus {
	color: rgb(255,0,0);
	text-decoration: none;
	cursor: pointer;
}
.listformat {
	margin: 15% auto;
	display: block;
	padding-top: 20px;
	padding-bottom: 10px;
	width: 350px;	/* needs to be wide enough so that both dropdows fit when they are at their widest */
	margin : 30px auto;
	z-index: 200;
	background-color: rgb(255, 255, 255);
	font-family: "Source Sans Pro";
	font-size: 14px;
	text-align: center;
	color: rgb(0,0,0);
	-moz-box-shadow: 10px 10px 7px rgba(0,0,0,0.5);
	-webkit-box-shadow: 10px 10px 7px rgba(0,0,0,0.5);
	box-shadow: 10px 10px 7px rgba(0,0,0,0.5);
}
.supermarket{
	font-family: Muli;
	font-size: 16px;
	font-weight: 900;
	color: rgb(255,51,0);
	padding-bottom: 20px;
}
input.upper { 
	padding-left: 5px; 
}
.upper select{
	font-family: "Source Sans Pro", sans-serif;
	font-size: 14px;
	padding-left: 5px;
}
.upper{
	margin-top: 8px;
	padding: 1px;
	font-family: "Source Sans Pro";
	font-size: 14px;
	border: 1px solid rgb(200,200,200);
	background-color: rgb(250,250,250);
}
#qty{
	width: 60px;
}
#unit{
	width: 70px;
}
#listholder{
	max-height: 70%;
	overflow: auto;
	margin-top: 10px;
	border-top: 1px solid rgb(200,200,200);
	border-bottom: 1px solid rgb(200,200,200);
	padding-top: 5px;
	padding-bottom: 5px;
	margin-left: 10px;
	margin-right: 10px;
}
.buttonholder { 
	margin-top: 10px; 
}
.button_list{
	border: 0px solid #888;
	font-size: 14px;
	font-family: "Source Sans Pro";
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 1px;
	padding-bottom: 1px;
	text-decoration:none; 
	display:inline-block;
	color: rgba(255,255,255,0.8);
	background-color: rgb(49, 118, 175); 
	transition: all 0.2s ease-in-out;
}
.button_list:disabled{
	border: 1px solid #ccc;
	background-color: rgb(224, 224, 224); 
	color: #888;
}
.button_list:disabled:hover{
	border: 1px solid #ccc;
	background-color: rgb(224, 224, 224); 
	color: #888;
	box-shadow: none;
	cursor: default;
}
.button_list:hover{
	border: 0px solid #ddd;
	cursor: pointer;
	color: rgba(255,255,255,1);
	background-color: rgb(66, 159, 237);
	box-shadow: 0 0 5px 3px rgba(66, 159, 237, .3);
}
.lower{
	padding-left: 10px;
	font-family: "Source Sans Pro";
	font-size: 14px;
	text-align: left;
    overflow: hidden;
}
@-ms-viewport{
  width: device-width;
}
.matvara{
	cursor: pointer;
}
.matvara:hover{
	color: rgb(255,255,255);
	background-color: rgb(130,130,130);
	cursor: default;
}
.matvara:active{
	color: rgb(255,255,255);
	background-color: rgb(255,51,0);
}
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}
.listitem{
	display: inline-block;
	padding-bottom: 5px;
	font-size: 18px;
	width: 265px;
}
.listRight{
	display: inline-block;
	position: relative;
	right: 0px;
	font-size: 20px;
	width: 25px;
	text-align: center;
	margin-top: 5px;
}
.listRight:hover{
	background-color: rgb(200,0,0);
	color: rgb(255,255,255);
}
.listHidden{
	display: none;
}
#listName{
	display: block;
	position: absolute;
	bottom: 0px;
	transform: rotate(90deg) translate(-80%, -70%);
  	transform-origin: top left;
	color: rgb(255,255,255);
	background-color: rgb(45, 75, 125);
	padding: 5px 10px;
	font-family: "Source Sans Pro";
	font-size: 14px;
	z-index: 665;
	cursor: pointer;
}
#temptextcontainer {
	display: none;
	position: absolute;
	text-align: center;
	bottom: 10%;
	z-index: 700; /* just a high value - adjust when integrating with lista */
}
.textBox{
	display: block;
	background-color: rgb(255,255,255);
	text-align: left;
}
.tspan{
	font-family: "Source Sans Pro";
	font-size: 14px;
	color: rgb(0,0,0);
	background-color: rgb(255,255,255);
	padding: 5px;
}
.angra{
	text-align: center;
	width: 40px;
	font-size: 18px;
	cursor: pointer;
	margin-left: 3px;
}
