
html{
  background-color: #eee;
}
body{
  font-family: helvetica;
  font-size: .9em;
  color: #aaa;
  width: 500px;
  margin: auto;
  background-color: #fff;
  padding: 2em 5em;
}
#nav a{
  text-decoration: none;
  color: #333;
  background-color: #f7b31c;
  display: inline-block;
  margin: 0;
  padding: 4px 6px;
  float: left;
}
#nav a:hover{
  text-decoration: underline;
  color: #f7b31c;
  background-color: #333;
}
#home-page a#home, #default-page a#home, #about-page a#about,
#contact-page a#contact, #shop-page a#shop, #help-page a#help, #product-page a#product{
  text-decoration: underline;
  color: #f7b31c;
  background-color: #333;
  font-weight: bold;
}
#nav form{
  display: inline-block;
}
#home-page #nav form, #default-page #nav form, #home-page #nav span, #default-page #nav span{
  display: none;
}
#nav span.welcome-text{
  line-height: 22px;
}
#nav span u{
  color: navy;
}
#contact-form input, #login-form input{
  border-radius: 8px;
  padding: .3em;
  width: 200px;
}
input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
color: #ddd;
opacity: 1; /* Firefox */
}

input::-ms-input-placeholder { /* Microsoft Edge */
color: #ddd;
}
#contact-form label, #login-form label{
  width: 80px;
  display: inline-block;
}
input[name="but_logout"]{
  border: 1px solid #ccc;
  outline: 0;
  background-color: #eee;
  width: 50px;
}
button#submit-form {
 background-color: #f7b31c;
 border: 1px solid #ff0;
 color: white;
 border-radius: 15px;
 font-weight: bold;
 padding: 10px 30px;
}
button#submit-form:hover {
  color: #ddd;
}
form div{
 margin-bottom: 1em;
}
.rice_results h3 span{
  color: #333;
  font-weight: bold;
}
.rice_results li{
  text-transform: capitalize;
}
.rice_results li::first-letter, #rice_calculator h5::first-letter{
  color: #333;
  font-weight: bold;
  letter-spacing: 3px;
}
#rice_calculator h5{
  margin: 0;
  color: #333;
  font-size: 12px;
  background-color: #f7b31c;
  padding: 3px;
}
#rice_calculator h5::first-letter{
  font-size: 14px;
  color: #111;
  letter-spacing: 1px;
  text-decoration: underline;
}
#rice_calculator div p{
  margin: 5px 0;
}
#rice_calculator div p, #rice_calculator div select, #rice_calculator div input{
  margin: 5px;
}
.rice_results li span{
  color: #333;
}
pre{
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #eee;
  padding: 5px;
}
code{
  color: green;
}
code span{
  color: #333;
}
code span.identify{
  color: #444;
  font-weight: bold;
}
p.author{
  font-weight: bold;
  color: navy;
  margin-top: 10px;
  padding-left: .5em;
}
label[for="request-info"]{
  width: 300px;
}
#toggleMe, #toggleCart {
  display: none;
}
#request-info:checked ~ #toggleMe, #shopping-cart:checked ~ #toggleCart {
  display: block;
}
#shopping-cart:checked ~ #toggleCart {
  position: absolute;
  top: 1.2em;
  left: -300px;
  min-width: 450px;
  background-color: #fff;
  border: 3px solid #ccc;
  margin: .5em; padding: .5em;
}
.product_wrapper {
	float:left;
	padding: 10px;
	text-align: center;
	}
.product_wrapper:hover {
	box-shadow: 0 0 0 2px #e5e5e5;
	cursor:pointer;
	}
.product_wrapper .name {
	font-weight:bold;
	}
.product_wrapper .buy {
	text-transform: uppercase;
	background: #F68B1E;
	border: 1px solid #F68B1E;
	cursor: pointer;
	color: #fff;
	padding: 8px 40px;
	margin-top: 10px;
}
.product_wrapper .buy:hover {
	background: #f17e0a;
	border-color: #f17e0a;
}
.message_box .box{
	margin: 10px 0px;
	border: 1px solid #2b772e;
	text-align: center;
	font-weight: bold;
	color: #2b772e;
	}
.table td {
	border-bottom: #F0F0F0 1px solid;
	padding: 10px;
	}
.cart_div {
	font-weight:bold;
	position:relative;
  display: inline-block;
  height: 1em;
	}
.cart_div a {
	color:#000;
	}
.cart_div span {
	font-size: 10px;
	line-height: 14px;
	background: #F68B1E;
	border: 2px solid #fff;
	border-radius: 50%;
	position: absolute;
	top: -1px;
	left: 13px;
	color: #fff;
	width: 14px;
	height: 14px;
	text-align: center;
	}
.cart_div label{
  width: 40px;
}
.cart_div label img{
  height: 75%;
  width: 75%;
  }
.cart .remove {
	background: none;
	border: none;
	color: #0067ab;
	cursor: pointer;
	padding: 0px;
	}
.cart .remove:hover {
	text-decoration:underline;
	}
.cart .cart-close{
  font-weight: normal;
  float: right;
  font-size: .8em;
  color: blue;
}
.cart .cart-close:hover{
  text-decoration: underline;
}

@media only screen
  and (min-device-width: 375px)
  and (max-device-width: 812px)
  and (-webkit-min-device-pixel-ratio: 3) {
    body{
      margin: 0;
      width: 360px;
      padding: 5px;
    }
    input{
      border-radius: 4px;
      padding: .7em;
    }
}
