@import url(reset.css);
@import url(type.css);
@import url(layout.css);
@import url(form.css);

/* Forms */
ul.errors {
	margin: .5em;
	font-size: .75em;
}
	ul.errors li {
		color: #c00;
		list-style-type: disc !important;
		margin-left: 1em;
	}

/* application-level */

.flashMessages {
	border-top: 1px dashed #EDEF00;
	border-bottom: 1px dashed #EDEF00;
	background-color: #FFFFDF;
	padding: .45em;
	margin: .5em 0 .5em 0;
	font-weight: bold;
	color: #c00;
}
	.flashMessages p {
		margin: 5px 0;
	}
	
.paginationControl {
	margin: .5em 0;
	text-align: right;
}

ul.admin {
	
}
	ul.admin li {
		display: inline;
		padding-right: 2em;
	}
		ul.admin li a {
			color: #c00;
		}

.print-link a {
	display: block;
	padding-left: 20px;
	background: url(../images/icons/printer.png) no-repeat left center;
}

/** Growers **/

#growers-submenu {
	
}
	#growers-submenu a.add {
		display: block;
		margin: 1em 0;
		width: 178px;
		height: 43px;
		background: transparent url(../images/buttons/grower-add.png) no-repeat left top;
		text-indent: -9999px;
	}

.not-logged-in {
	color: #666;
	display: block;
	padding-left: 20px;
	background: url(../images/icons/sad.gif) no-repeat left center;
}

.logged-in {
	color: #5E473D;
	display: block;
	padding-left: 20px;
	background: url(../images/icons/clock.png) no-repeat left center;
}

#variety-admin {
	margin: 1em 0;
}

.admin a {
	background-color: #FFE8E8;
	color: #c00;
	font-weight: normal;
	margin: 5px;
	padding: 1px;
	text-decoration: none;
}
	.admin a:hover {
		background-color: #c00;
		color: white;
	}

/** Varieties **/

#varieties-submenu {
	
}
	#varieties-submenu a.add {
		display: block;
		margin: 1em 0;
		width: 178px;
		height: 43px;
		background: transparent url(../images/buttons/variety-add.png) no-repeat left top;
		text-indent: -9999px;
	}

/** Buyers **/

#buyers-submenu {
	
}
	#buyers-submenu a.add {
		display: block;
		margin: 1em 0;
		width: 178px;
		height: 43px;
		background: transparent url(../images/buttons/buyer-add.png) no-repeat left top;
		text-indent: -9999px;
	}

.buyer-list li,
.variety-list li {
	height: 24px;
}

.buyer-list .admin,
.variety-list .admin {
	float: left;
	display: block;
	width: 100px;
	height: 24px;
	clear: left;
}

.steps {
	margin: 1em 0;
	color: #777;
}
.steps li {
	display: inline;
	padding: 0 2em;
}
	.steps li.active {
		display: inline;
		padding: 0 2em 0 0;
		font-size: 1.2em;
		font-weight: bold;
	color: #5E473D;
		text-decoration: underline;
	}

.grower-important {
	font-size: 1.2em;
	margin: 1em 0;
	padding: 0;
}
	.grower-important li {
		display: inline;
		padding: 0 2em 0 0;
	}

/** PRINT STUFF **/

@media print {

	body {
		font-size: 1em;
	}

	#header,
	#content .subnav,
	.print-hide,
	#debug-console,
	#show-hide-link,
	.admin,
	.print-link,
	.flashMessages {
		display: none !important;
	}
	#content .main,
	#content .main .space {
		display: block !important;
		width: 100%;
		padding: 0;
		margin: 0;
	}
	.grower {
		font-size: .7em;
	}
	.grower-detail {
		page-break-after: always;
	}
	.single .grower-detail {
		page-break-after: auto !important;
	}
	table {
		margin: 0;
		padding: 5px;
	}
	.grower-important {
		margin: 0 0 .5em;
	}
        .grower-detail {
            /*height: 750px;*/
            page-break-before: always;
            font-size: 1.25em;
        }
}