/* Basic  ---------------------------------------- */

.clear { clear: both; }

body {
	background: #f5f5f5;
	font-family: Verdana, sans-serif;
	font-size: 12px;
	color: #646464;
	text-align: center;
}

#wrapper {
	text-align: left;
	width: 960px;
	margin: 0 auto;
}

/* Logo  ---------------------------------------- */

h1 {
	margin: 15px 0 15px 5px;
	width: 225px;
	height: 82px;
	background: url(../img/stpat_logo.png) no-repeat left top;
}

h1 a {
	display: block;
	width: 225px;
	height: 28px;
}

h1 span { display: none; }

/* Main Navigation ---------------------------------------- */

#mainNav {
	display: block;
	height: 37px;
	padding: 6px;
	margin: 0 0 15px 0;
	background-color: #016836;
	/*background: url(../img/top-menu-bg.gif) no-repeat left top; */
	/* We used a background image making the thick border and the thin one to keep the html structure simple */
}

#mainNav li {
	float: left;
	height: 37px;
}

#mainNav li a {
	display: block;
	float: left;
	height: 37px;
	line-height: 37px;
	text-decoration: none;
	color: #FFF;
	padding: 0 13px;
}

#mainNav li.logout {
	float: right;
	border-right: none;
}

#mainNav li a:hover { background: rgba(130,188,0,0.6); }

#mainNav li a.active, #mainNav li a.active {
	background: #82bc00;
	color: #FFF;
}

/* Container ---------------------------------------- */

#containerHolder {
	
}


#container {
	display: block;
	background: #fff url(../img/content.gif) repeat-y left top;
	border: 1px solid #ddd;
}

/* Sidebar ---------------------------------------- */

#sidebar {
	width: 179px;
	float: left;
}

#sidebar .sideNav { width: 179px; }

#sidebar .sideNav li { border-bottom: 1px solid #ddd; width: 179px; }

#sidebar .sideNav li a {
	display: block;
	color: #373935;
	background: #f5f5f5;
	text-decoration: none;
	height: 29px;
	line-height: 29px;
	padding: 0 19px;
	width: 141px;
}

#sidebar .sideNav li a:hover { 
	background: #eee;
	color: #000;
}

#sidebar .sideNav li a.active, #sidebar .sideNav li a.active:hover {
	background: #86754d;
	color: #FFF;
}

/* Breadcrumb ---------------------------------------- */

h2 {
	width: 718px;
	float: right;
	color: #666;
	font-size: 18px;
	line-height: 16px;
	font-weight: bold;
	margin: 20px 0 0 0;
	padding: 0 0 10px 0;
	border-bottom: 1px solid #ddd;
	font-family: "trajan-pro-3",sans-serif;
}

h2 a {
	color: #666;
	text-decoration: none;
}

h2 a.active { color: #c66653; }

h2 a:hover { text-decoration: underline; }

/* Content ---------------------------------------- */

#main {
	width: 700px;
	float: right;
	padding: 0 19px 0 0;
}

h3 {
	font-size: 16px;
	line-height: 14px;
	font-weight: 500;
	color: #86754d;
	padding: 0 0 0 10px;
	margin: 20px 0 10px;
	font-family: "futura-pt",sans-serif;
}

#main table {
	border: 1px solid #ddd;
	width: 700px;
	margin: 0 0 20px 0;
}

#main table tr th {
	background: #666;
	color: #FFF;
	padding: 0px 20px;
	height: 29px;
	line-height: 29px;
	border-bottom: 1px solid #ddd;
}

#main table tr td {
	background: #f5f5f5;
	padding: 0px 20px;
	height: 29px;
	line-height: 29px;
	border-bottom: 1px solid #ddd;
}

#main table tr:nth-child(even) td {
	background: #fbfbfb;
}

#main table tr:hover td { background: #f5f5f5; }

#main table .action {
	text-align: right;
	padding: 0 20px 0 10px;
	min-width: 206px;
}

#main table tr .action a { margin: 0 0 0 10px; text-decoration: none; color: #9b9b9b; }
#main table tr:hover .action .edit { color: #c5a059; }
#main table tr:hover .action .delete { color: #a02b2b; }
#main table tr:hover .action .view { color: #55a34a; }

#main table tr:hover .action a:hover { text-decoration: underline; }

#main fieldset {
	border: 1px solid #ddd;
	padding: 19px;
	margin: 0 0 20px 0;
	background: #f5f5f5;
}

#main fieldset p { margin: 0 0 14px 0; float: left; width: 100%;  }

#main fieldset label {
	display: block;
	width: 100%;
	margin: 0 0 7px 0;
	line-height: 12px;
}

#main fieldset .text-long {
	border: 1px solid #e1e1e1;
	background: #fff;
	font: 11px Arial, Helvetica, sans-serif;
	color: #646464;
	padding: 5px 7px;
	width: 264px;
	float: left;
	margin: 0 10px 0 0;
}

#main fieldset .text-medium {
	border: 1px solid #e1e1e1;
	background: #fff;
	font: 11px Arial, Helvetica, sans-serif;
	color: #646464;
	padding: 5px 7px;
	width: 124px;
	float: left;
	margin: 0 10px 0 0;
}

#main fieldset .text-small {
	border: 1px solid #e1e1e1;
	background: #fff;
	font: 11px Arial, Helvetica, sans-serif;
	color: #646464;
	padding: 5px 7px;
	width: 44px;
	float: left;
	margin: 0 10px 0 0;
}

#main fieldset .text-long:focus, 
#main fieldset .text-medium:focus,
#main fieldset .text-small:focus,
#main fieldset textarea:focus { border-color: #ccc; }

#main fieldset textarea {
	border: 1px solid #ddd;
	background: #fff;
	font: 11px Arial, Helvetica, sans-serif;
	color: #646464;
	padding: 5px 7px;
	width: 364px;
	float: left;
	margin: 0 10px 0 0;
	height: 148px;
	overflow: hidden;
}

.button-submit {
	font: 11px Verdana, sans-serif;
	color: #646464;
	width: 94px;
	height: 29px;
	cursor: pointer;
	border: none;
	background: url(../img/button-submit.gif) no-repeat left top;
}

.msg{
    font-weight: bold;
    font-size: 16px;
    margin: 10px;
    padding: 10px;
    display: block;
    color: red;    
}

/* Footer ---------------------------------------- */

#footer {
	margin: 10px 0 30px 0;
	font-size: 11px;
	line-height: 11px;
	color: #9B9B9B;
	padding: 0 0 0 5px;
}

#footer a { color: #9B9B9B; }

#footer a:hover { text-decoration: none; }

label.error{    
    float: left;
    padding: 10px;
    color: red;
}

.block{
    float: left;
    width: 70px;
    height: 28px;
}

.used {
    text-decoration: line-through;
    color: red;
}

.sold {
    text-decoration: line-through;
    color: green;
}