/*
 *
 * CSS Styles for IAT381 Week 4 Demo
 * by Stanley Lai
 * http://www.stanleylai.sg
 *
 */

/* =========================================================
 * Baseline CSS Styles
 * ========================================================= */

html, body {
	/* "Better Helvetica" Font Stack courtesy of CSS-Tricks */
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
	font-weight: 300;
	font-size: 12px;
	line-height: 1.33333333em;
	color: #333333;
	
	background-color: #ffffff;
	background-image: url('../img/farmer.png');
	background-repeat: repeat;
		
	min-width: 300px;
}

h1, h2, h3, h4, h5, h6 {
	/* Courtesy of CSS Font Stacks */
	font-family: "Oswald",serif;
	font-weight: 300;
	}

a, a:visited {
	color: #92AAAA;
	text-decoration: none;
	}
	
	a:active, a:hover {
		color: #333333;
		-moz-transition: all 0.5s ease;
		-webkit-transition: all 0.5s ease;
		-o-transition: all 0.5s ease;
		transition: all 0.5s ease;
		}

div.infobar {
	width: 100%;
	background-color: #333333;
	color: #ffffff;
	margin: 0px;
	padding: 2px 0px;
	}
	
	.infobar a, a:visited {	text-transform: uppercase; }
	.infobar a:hover { color: #990000; }

div.container { 
	margin: 0 auto; max-width: 80%; 
	}

.maincontent_index {
	padding: 10px 10px 10px 0px;
	}
	
	.maincontent_index h1 {
		line-height: 1.3em;
		border-left: 5px solid #999999;
		padding-left: 10px;
		}

.maincontent_products {
	padding: 10px 0px 0px 0px;
	}
	
.maincontent_about {
	padding: 60px 0px 0px 0px;
	}
	
	.side_about {
		padding-left: 20px;
		}

footer {
	margin-top: 3em;
	text-align: center;
	color: #999999;
	font-size: 100%;
	clear: both;
	padding-top: 20px;
	border-top: 1px solid #cccccc;
	}
	
	.footerleft {
		text-align: left;
		}
	
	.footerft {
		padding: 0px 20px;
		}
		
	.footerother {
		padding: 0px 20px;
		}
		
.updates {
	padding-right: 20px;
	}

a.selected {
	color: #333333;
	}

.smallText { padding: 5px; }

.store_info {
	position: relative;
	float:left;
	}

.aboutText {		
	padding-right: 20px;
	float:left;
	}

.greyarrow {
	background-color: #92AAAA;
	}

.story {
	padding: 60px 10px 10px 20px;
	}
	
	.story h2 {
		line-height: 1em;
		}

.cart summary {
	text-align: left;
	padding:5px;
	border: 0px solid #666666;
	outline: none;
	background-color: #eeeeee;
	}

.cart summary:hover {
	background-color: #cccccc;
	color: #000000;
	
	-moz-transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
	}

details:focus { border-color: none; }

summary.cartbutton {
	background-color: #666666;
	color: #cccccc;
	text-transform: uppercase;
	text-decoration: none;
	padding: 7px;
	margin: 10px 0px;
	text-align: center;
	border-radius: 5px;
	float: right;
	} 
	
	summary.cartbutton::-webkit-details-marker {
  		display: none
		}
		
.linkbutton a {
	color: #ffffff;
	}

.nav1 { text-align: right; }

#search { border-radius: 10px; }

.logonav {
	position: relative;
	}
	
.cart_no {
	padding: 4px 6px;
	margin: 0px 0px 0px 5px; 
	background-color: #999999;
	color: #ffffff;
	-moz-border-radius: 4px;
	border-radius: 4px;
	}

.button-style1 {
	padding: 0px 25px 0px 0px;
	text-align: center;
	}
	
.navigation {
	float: right;
	position: absolute;
	bottom: 0px;
	right: 0px;
	font-size: 15px;
	border-bottom: 5px solid #a99f9d;
	font-family: "Oswald";
	text-transform: uppercase;
	padding: 0px 0px 10px 50px;
	text-align: right; 
	}

.button-style {
	margin: 10px 70px 0px 0px;
	text-align: center;
	}
	
.align_right { text-align: right; }

.logobar { float: left; }

.topbar { 
	float: right; 
	padding: 20px 0px 90px 0px;
	}

.cafeinfo {
	padding: 20px;
	background-color: #;
	border-left: 2px solid #a99f9d; 
	}
	
	.cafeinfo h1 {
		background-color: #cccccc;
		padding: 3px;
		}
		
.product {
	margin: 10px 0px;
	background-color: #;
	border-top: 1px solid #cccccc;
	padding-top: 20px;
	}

select {
	border: 1px solid #cccccc;
	width: 250px;
	margin: 2px;
	}

select.product-option1{width: 70px;}
a.rt { color:#330000; }
select.product-option2{width: 200px;}
a.rt { color:#330000; }

details summary a.rt{ color:#330000; }

.blog_border {
	border-top: 1px solid #cccccc;
	}
	
.aboutfarmer { 
	padding: 5px;
	}

.whycolombia {
	padding: 50px 0px;
	text-align: center;
	}
	
	.whycolombia h1 {
		line-height: 1.3em;
		}

.hours{ padding-top: 7px; }

.border_top {
	border-top: 1px dotted #cccccc;
	}

.ethicalcontent {
	padding-top: 70px;
	}
	
	.ethicalreasons {
		padding-right: 20px;
		}
		
	.ethicalreasons h1 {
		line-height: 1em;
		}

div.ethicalcup {
	text-align: center;
	}
	.ethicalcup h3 {
		margin: 0px auto 20px;
		padding: 5px;
		background-color: #333333;
		color: #ffffff;
		width: 150px;
		text-transform: uppercase;
		}

/* =========================================================
 * Image CSS Styles
 * ========================================================= */

img {
	max-width: 100%;
	}
	
	a img:hover {
		opacity: 0.7;
		}
 
img.logo {
	padding: 0px 0px 0px 0px;
	width: 130px;
	height: auto;
	position: absolute;
	bottom: 0px;
	}

img.banner {
	width: 1140px;
	height: auto;
	}

img.coffeebag {
	width: 33%; 
	height: auto;
	padding: 25px;
	}

img.incart {
	width: 80%;
	height: auto;
	padding: 5px 0px 0px 20px;
	}

img.steps {
	width: 200px;
	height: auto;
	}

img.newspic {
	padding-top: 20px;
	width: 80%;
	}

img.cafepic { 
	padding-top: 20px;
	width: 100%; 
	padding-right:14px;}
	
img.farmerpic {
	width: 33%;
	height: auto;
	border-style: solid;
	}
	
img.color_top { border-top-width: 10px;	}
		
img.color_left { border-width: 0px 0px 0px 0px;	}

img.orange { border-color: #d99255; }
		
img.purple { border-color: #333740; }
	
img.green { border-color: #a4b05c; }

img.productpic {
	padding: 15px 25px;
	width: 100%;
	}
	
img.morepics {
	height: 100px;
	width: 125px;
	padding: 5px;
	}
	
/* =========================================================
 * Form CSS Styles
 * ========================================================= */

.form-style { padding:30px; }

form{}

form input[type="text"],
form input[type="email"] {
 	padding: 2px;
 	font-size: 14px;
 }

form input[type="text"]:hover,
form input[type="email"]:hover {
  	background-color: white;
  	color: black;
  	}

form input[type="text"]:focus,
form input[type="email"]:focus {
  	background-color: white;
  	color: black;
  	}

textarea {
  	padding: 2px;
  	resize:none;
  	}

	textarea:hover {
		background-color: white;
		-moz-transition: all 0.5s ease;
		-webkit-transition: all 0.5s ease;
		-o-transition: all 0.5s ease;
		transition: all 0.5s ease;
		}
  
summary:active { border: none; }

/* form div positioning */

form div {
	margin-bottom: 0.5em;
	clear:both;
	}
	
	form div.firstname, form div.lastname, form div.exp_month, form div.exp_year {
		width: 50%;
		float: left;
		clear: none;
		}
		
	form div.firstname, form div.exp_month {
		padding-right: 3px;
		}
		
form input[type="radio"], form input[type="checkbox"] {
	width:25px;
	padding-left: 1em;

}
	form div.card_type label, form div.card_type, form div.address input{ 
		float: left;
	}
	form div.card_type, form div.address label{
		
		padding:0.1em 2em 0.2em 0em;
	}

/*form element */
	form label {
		display: block;
		font-weight: bold;

	}

.visit-style{

		width:100%;
	}


	form input, form textarea, form select {
		width: 100%;
		margin-top: 0.2em;
		
		padding: 0.4em;
		border: 1px solid #666666;
		outline: none;
		background-color: #eeeeee;

		-moz-transition: all 0.5s ease;
		-webkit-transition: all 0.5s ease;
		-o-transition: all 0.5s ease;
		transition: all 0.5s ease;
	}

.submit {
	background-color: #cccccc;
	border: 1px dotted #666666;
	text-align: center;
}
.submit:hover {
	background-color: white;
	-moz-transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;

}
/* =========================================================
 * Cart Table CSS Styles
 * ========================================================= */
 .cart {}
 
 .total-style {
 	margin-left:19px;
 	font-size: 14px;
 	}

 .total-style1 { 
 	margin-left:15px;
 	font-size: 14px;
 	}

 .table-style {
 	margin: 15px auto;
	}

table {
 	margin-top:15px;
 	}

td.quantity1, td.price1, td.total1 { 
	padding-top:20px;
	padding-left: 15px;
	}

td.item_info1 { 
	padding-top: 5px; 
	padding-left: 15px;
	}

table,th, td {
	border: 1px solid #cccccc;
	}

.cost_desc { width: 170px; }

.cost_total { width: 70px;}

/* Table Titles */
.item_pic {
	width: 125px;
	padding: 5px 10px;
	float: left;
	}

.item_info { 
	width: 350px;
	padding: 5px 10px;
	float: left;
	}
	
.price {
	width: 100px;
	padding: 5px 10px;
	float: left;
	}

.quantity {
	width: 248px;
	padding: 5px 10px;
	float: left;
	}
	
.total { 
	width: 100px;
	padding: 5px 10px;
	float: left;
	}
/* End Table Titles */
	
.cost_desc{padding-left: 700px;
	width:150px;
	padding:5px;
	float: left;
}

.quantity1{height: 125px;
	width: 248px;
	padding:5px;
	float: left;}

.item_pic1{height: 125px;
	width: 125px;
	padding:5px;
	float: left;}

.item_info1{height: 125px;
	width: 350px;
	padding:px;
	float: left;
}
.price1{height: 125px;
	width:100px;
	padding:5px;
	float: left;
}
.total1{height: 125px;
	width:100px;
	padding:5px;
	float: left;
}

/* =========================================================
 * Menu Table CSS Styles
 * ========================================================= */

.menu{border-bottom: 1px solid #cccccc;
text-align: center;
}

.inMenu{text-align: right;}


/* =========================================================
 * farmer Table CSS Styles
 * ========================================================= */

.aboutpic {
	width: 10%;
	}

.farmer{padding:5px 1px 1px 0px;}
.farmer-text{padding-top: 180px}
