/*Sticky Footer*/
html, body, #wrap {height: 100%;}

body > #wrap {height: auto; min-height: 100%;}

#main {padding-bottom: 50px;}  /* must be same height as the footer */

#footer {position: relative;
	margin-top: -50px; /* negative value of footer height */
	height: 50px;
	clear:both;}

.clearfix:after {content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

/*End Sticky Footer*/

table#header {
	border: 0px;
	width: 100%;
}

#header_logo {
	padding-left: 15px;
}

#header_extra {
	align:right;
	text-align: right;
	padding-right:20px;
}

td.head_slogan {
	padding-left: 19px;
	font-style:italic;
	color: #0D1A8B;
}

body {
	background-color: #ffffff;
	background-image: url(/images/bg-top.jpg);
	background-repeat: repeat-x;
	margin: 0px;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size:14px;
	color: #333333;
	list-style-type: square;
}

a {
	color: #003d4c;
	text-decoration: underline;
	font-weight: bold;
}

a img {
	border:none;
}

h1, h2, h3, h4 {
	font-weight: normal;
}
h1 {
	color: #003d4c;
	font-size: 100%;
	margin: 0.1em 0;
}
h2 {
	color: #4064b2;
	font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif;
	font-size: 190%;
	margin: 0.3em 0;
	padding-top: 0.2em;
	text-align: right;
}
h3 {
	color: #4064b2;
	font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif;
	font-size: 165%;
	padding-top: 1.5em;
}
h4 {
	color: #4064b2;
	font-weight: normal;
	padding-top: 0.5em;
}
ul, li {
	margin: 0 12px;
}

/* Layout */
#container {
	text-align: left;
}
#content{
	color: #333;
	padding: 10px 20px 40px 20px;
	overflow: auto;
}


/* Tables */
#content table {
	background: #fff;
	border:1px solid #ccc;
	border-right:0;
	clear: both;
	color: #333;
	margin-bottom: 10px;
	width: 100%;
}
#content th {
	background: #f2f2f2;
	border:1px solid #bbb;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	text-align: center;
}
#content th a {
	background:#f2f2f2;
	display: block;
	padding: 2px 4px;
	text-decoration: none;
}
#content th a:hover {
	background: #ccc;
	color: #333;
	text-decoration: none;
}
#content table tr td {
	background: #fff;
	border-right: 1px solid #ccc;
	padding: 4px;
	text-align: center;
}
#content table tr.altrow td {
	background: #f4f4f4;
}
#content td.actions {
	text-align: center;
	white-space: nowrap;
}
#content td.actions a {
	margin: 0px 6px;
}
#content .cake-sql-log table {
	background: #f4f4f4;
}
#content .cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
}

/* Paging */
div.paging {
	color: #ccc;
	margin-bottom: 2em;
}
div.paging div.disabled {
	color: #ddd;
	display: inline;
}
div.paging span {
}
div.paging span.current {
	color: #000;
}
div.paging span a {
}

/* Scaffold View */
dl {
	line-height: 2em;
	margin: 0em 0em;
	width: 60%;
}
dl.altrow {
	background: #f4f4f4;
}
dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
}
dd {
	margin-left: 10em;
	margin-top: -2em;
	vertical-align: top;
}

/* Forms */
form {
	clear: both;
	margin-right: 20px;
	padding: 0;
	width: 100%;
}
fieldset {
	border: 1px solid #ccc;
	padding: 0px 16px 20px 20px;
}
fieldset legend {
	color: #4064b2;
	font-size: 160%;
	font-weight: bold;
}
fieldset fieldset {
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 0px 16px 10px 10px;
}
fieldset fieldset legend {
	font-size: 120%;
	font-weight: normal;
}
fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}
form div {
	clear: both;
	margin-bottom: 1em;
	padding: .5em;
	vertical-align: text-top;
}
form div.input {
	color: #444;
}
form div.required {
	color: #333;
	font-weight: bold;
}
form div.submit {
	border: 0;
	clear: both;
	margin-top: 10px;
	margin-left: 10px;
}
label {
	color: #4064b2;
	display: block;
	font-size: 110%;
	padding-right: 20px;
}
input, textarea {
	clear: both;
	font-size: 140%;
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
}
select {
	clear: both;
	font-size: 120%;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	font-size: 120%;
	padding: 0 3px;
}
input[type=checkbox] {
	clear: left;
	float: left;
	margin: 0px 6px 7px 2px;
	width: auto;
}
input[type=radio] {
	float:left;
	width:auto;
	margin: 0 3px 7px 0;
}
div.radio label {
	margin: 0 0 6px 20px;
}
input[type=submit] {
	display: inline;
	font-size: 110%;
	padding: 2px 5px;
	width: auto;
	vertical-align: bottom;
}

/* Notices and Errors */
div.message {
	clear: both;
	color: #4064b2;
	font-size: 140%;
	font-weight: bold;
	margin: 1em 0;
}
div.error-message {
	clear: both;
	color: #900;
	font-weight: bold;
}
p.error {
	background-color: #e32;
	color: #fff;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
p.error em {
	color: #000;
	font-weight: normal;
	line-height: 140%;
}
.notice {
	background: #ffcc00;
	color: #000;
	display: block;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
.success {
	background: green;
	color: #fff;
}

/*  Actions  */
div.actions ul {
	margin: 0px 0;
	padding: 0;
}
div.actions li {
	display: inline;
	list-style-type: none;
	line-height: 2em;
	margin: 0 2em 0 0;
	white-space: nowrap;
}
div.actions ul li a {
	color: #003d4c;
	text-decoration: none;
}
div.actions ul li a:hover {
	color: #333;
	text-decoration: underline;
}

/* Related */
div.related {
	clear: both;
	display: block;
}

/* Debugging */
pre {
	color: #000;
	background: #f0f0f0;
	padding: 1em;
}
pre.cake-debug {
	background: #ffcc00;
	font-size: 120%;
	line-height: 140%;
	margin-top: 1em;
	overflow: auto;
	position: relative;
}
div.cake-stack-trace {
	border: 4px dotted #ffcc00;
	color: #333;
	margin: 0px;
	padding: 6px;
	font-size: 120%;
	line-height: 140%;
	overflow: auto;
	position: relative;
}
div.cake-code-dump pre {
	position: relative;
	overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
	color: #000;
	background-color: #F0F0F0;
	margin: 0px;
	padding: 1em;
	overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
	clear: both;
	font-size: 12px;
	line-height: 15px;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
div.cake-code-dump span.code-highlight {
	background-color: #ff0;
	padding: 4px;
}
div.code-coverage-results div.code-line {
	padding-left:5px;
	display:block;
	margin-left:10px;
}
div.code-coverage-results div.uncovered span.content {
	background:#ecc;
}
div.code-coverage-results div.covered span.content {
	background:#cec;
}
div.code-coverage-results div.ignored span.content {
	color:#aaa;
}
div.code-coverage-results span.line-num {
	color:#666;
	display:block;
	float:left;
	width:20px;
	text-align:right;
	margin-right:5px;
}
div.code-coverage-results span.line-num strong {
	color:#666;
}
div.code-coverage-results div.start {
	border:1px solid #aaa;
	border-width:1px 1px 0px 1px;
	margin-top:30px;
	padding-top:5px;
}
div.code-coverage-results div.end {
	border:1px solid #aaa;
	border-width:0px 1px 1px 1px;
	margin-bottom:30px;
	padding-bottom:5px;
}
div.code-coverage-results div.realstart {
	margin-top:0px;
}
div.code-coverage-results p.note {
	color:#bbb;
	padding:5px;
	margin:5px 0 10px;
	font-size:10px;
}
div.code-coverage-results span.result-bad {
	color: #a00;
}
div.code-coverage-results span.result-ok {
	color: #fa0;
}
div.code-coverage-results span.result-good {
	color: #0a0;
}

/* User Menu */
div#user_menu {
	float: left;
	width:200px;
	margin-left: 20px;
	margin-right:10px;
	margin-top: 10px;
	background-color: #c1cafc;
	padding: 5px;
	border: 2px solid #383ed2;
}

div#user_menu div {
	font-weight: bold;
	font-size: 1.2em;
}

div#user_menu ul {
	margin-left: 0px;
	padding-left: 0px;
	list-style: none;
	line-height: 40px;
}

div#user_menu a {
	text-decoration: none;
}

div#user_menu a:hover {
	text-decoration: underline;
}

div#categories {
	line-height: 20px;
	margin-left: 30px;
}

div#categories a {
	font-size: 0.8em;
}

/* Admin Menu */
div#admin_menu {
	clear: left;
	float: left;
	width:200px;
	margin-left: 20px;
	margin-right:10px;
	margin-top: 20px;
	background-color: #c1cafc;
	padding: 5px;
	border: 2px solid #383ed2;
}

div#admin_menu div {
	font-weight: bold;
	font-size: 1.2em;
}

div#admin_menu ul {
	margin-left: 0px;
	padding-left: 0px;
	list-style: none;
	line-height: 40px;
}

div#admin_menu a {
	text-decoration: none;
}

div#admin_menu a:hover {
	text-decoration: underline;
}

input#count {
	text-align: right;
	float: right;
}

#cart .quantity a{
	float: left;
	margin-top: 10px;
}
#cart .quantity a.update{
	float: right;
	clear: right;
	margin-top: 0px;
}

#cart .quantity form {
	float:right;
	padding-left: 0px;
	width: 60px;
}

#cart .quantity form div {
	padding: 0px;
	margin:0px;
}

#cart .quantity form input{
	text-align: right;
	width: 60px;
}

#UserAddForm {
	width: 300px;
	margin:0 auto;
}

#flashMessage {
	text-align: center;
}

div#footer {
	text-align: right;
	padding-right: 50px;
	padding-left: 250px;
	color: #666666;
	text-decoration: none;
	font-size: 0.8em;
	font-weight: bold;
	font-style: italic;
}

.resize {
	width: auto;
	height : 30px;
}

.resize {
	width: 30px;
	height : auto;
}