@charset "utf-8";

body {
	margin: 0;
	background-image: url(images/grocery1.png);
	background-position: center top;
	background-size: cover;
	background-attachment: fixed;
	font-family: 'Oswald', sans-serif; 
	color: black;
}

header {
	background: rgba(255, 255, 255, 0.65);
	text-align: center;
	padding: 8px;
	margin-bottom: 10px;
}

header h1 {
	margin-top: 0;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 1.6em;
}

ul {
	list-style: none;
	padding: 0px;
	width: 96%;
	max-width: 640px;
	margin: 0 auto;
}

li {
	background-color: rgba(255, 255, 240, .80);
	margin: 2px 0px;
	padding-left: 50px;
	height: 40px;
	line-height: 40px;
	border: 2px solid black;
	border-radius: 10px;
	position: relative;		/* for "x" */
}

li:hover {
	cursor: grab;
	background-color: rgba(220, 255, 230, 0.95);	
}

#addToList {
	width: calc(96% - 70px);
	max-width: calc(640px - 70px);
	height: 40px;
	line-height: 40px;
	font-size: 16px;
	border-radius: 10px;
	background-color: rgba(255, 255, 255, 0.90);
	/*border: 2px solid rgba(120, 120, 120, 0.4);	*/
	border: 2px solid rgba(20, 20, 20, 0.6);
	font-family: 'Oswald', sans-serif;
	padding: 5px 10px;
	box-sizing: border-box;
	margin: 4px 0px;
}

#addToList:focus {
	background-color: rgba(80, 170, 255, 0.9);
	/*border-color: rgba(80, 170, 255, 0.9); gentle blue highlight */
	/*border-color: rgba(80, 170, 0, 0.9); 	*/
	background: rgba(220, 200, 255, 0.8);
    box-shadow: 0 0 4px rgba(80, 170, 255, 0.6);
}

#submit {
	width: 60px;
	margin-left: 10px;
	height: 40px;
	background-color: rgba(180, 255, 200, 1.00);
	color: #003300;
	border-radius: 10px;
	font-family: 'Oswald', sans-serif;
	font-size: 16px;
	border: 2px solid rgba(80, 140, 80, 0.8);
	cursor: pointer;
}

#submit:hover {
	background-color: rgba(210, 255, 220, 1.00);
}

li span.select {
	position: absolute;
	top: 0;
	left: 0;
	width: 50px;
	height: 40px;
	background-image: url(images/disk.png);
	background-position: center center;
	background-repeat: no-repeat;
}

li span.selected {
	position: absolute;
	top: 0;
	left: 0;
	width: 50px;
	height: 40px;
	background-image: url(images/diskCheckmark.png);
	background-position: center center;
	background-repeat: no-repeat;
}

li span.delete {
	position: absolute;
	top: 0;
	right: 0;
	background: rgba(255, 200, 200, 0.6);
	padding: 0px 20px;
	font-size: 24px;
}



