/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0b1 | 201101 
   NOTE: WORK IN PROGRESS
   USE WITH CAUTION AND TEST WITH ABANDON */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define visible focus styles! 
:focus {
	outline: ?????;
} */

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}

del {
	text-decoration: line-through;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* my CSS starts here! */

.ui-button-text-only .ui-button-text { /*jquery ui fix*/
    padding: 0.3em 1em !important;
}


body {
	width: 90%;
	margin: 0 auto 36px auto;
	font-size: 87.5%;
	font-family: "helvetica neue", helvetica, arial, sans-serif;
	color: #000;
	background: #ffd;
}

html>body {
	font-size: 14px;
}

p,ul,ol,label {
	font-size: 1em;
	line-height: 1.28571429em;
}

table, .small {
	font-size: 0.85714286em;
	line-height: 1.5em;
	margin-bottom: 1.5em;
}

p,ul,ol, figcaption, form, audio {
	margin-bottom: 1.28571429em;
}

/* headings */

h4 { /*14px*/
	font-size: 1em;
	line-height: 1.28571429em;
}

h3 { /*18px*/
	font-size: 1.28571429em;
	line-height: 1em;
	margin-bottom: 1em;
}

h2 { /*24px*/
	font-size: 1.71428em;
	line-height: 1.5em;
	margin-bottom: 0.75em;
}

h1 { /*32px*/
	font-size: 2.28571429em;
	line-height: 1.125em;
}

h2, h3, h4 {
	color: #040;
}

h1, h2, h3, h4, nav#mainnav {
	font-family: "palatino linotype", palatino, constantia, georgia, "times new roman", times, serif;
}

img {
	display: block;
	max-width: 100%;
}

table {
	border-top: 1px solid;
	border-right: 1px solid;
}

th, td {
	border-bottom: 1px solid;
	border-left: 1px solid;
	padding: 0 0.5em;
	
}

th {
	font-weight: bold;
	text-align: left;
}

a:link {
	color: #040;
}

a:visited {
	color: #020;
}

.errmsg {
	color: #c00;
	font-weight: bold;
}

header, nav#mainnav {
	color: #ffd;
	background: #040;
}

header {
	padding: 1.28571429em 0;
}

header img {
	display: block;
	margin: 0 auto;
}

header h1 {
	text-align: center;
	margin-top: 0.5625em;
}

nav#mainnav {
	margin-bottom: 1.28571429em;
	padding-bottom: 1.28571429em;
	border-bottom-right-radius: 1.28571429em;
	border-bottom-left-radius: 1.28571429em;
}

nav#mainnav ul {
	margin-bottom: 0;
}

nav#mainnav li, nav#mainnav p {
	border-top: 1px dotted;
	font-size: 1.28571429em;
	line-height: 2em;
}

nav#mainnav p {
	margin-bottom: 0;
	border-bottom: 1px dotted;
}

nav#mainnav a {
	display: block;
	height: 100%;
	padding: 0 1em;
}

nav#mainnav a:link, nav#mainnav a:visited {
	color: #ffd;
	text-decoration: none;
}

nav#mainnav a:hover, nav#mainnav a:focus, nav#mainnav a:active {
	background: #373;
}


nav#secnav li ul {
	font-size: 0.85714286em;
	line-height: 1.5em;
	margin-left: 1em;
	margin-bottom: 0;
}

nav#secnav li a:link, nav#secnav li a:visited {
	text-decoration: none;
}

nav#secnav li a:hover, nav#secnav li a:focus {
	text-decoration: underline;
}

form#search {
	text-align: right;
}

div#cart {
	margin-bottom: 1.28571429em;
	border-top: 2px solid #040;
	border-bottom: 2px solid #040;
	padding: 16px 0;
	text-align: right;
}

div#cart p {
	display: inline-block;
	margin-right: 1em;
}

div#cart a.jui-button {
	color: #ffd;
}

a.paypal img {
	border: 1px solid;
}

#main h2 {
	text-align: center;
}

footer {
	margin: 1.28571429em 0;
	padding: 1.28571429em 5%;
	text-align: center;
}

#promo li {
	border: 1px solid #040;
	margin-bottom: 1.28571425em;
	padding: 2px;
}

#promo a {
	display: block;
	border: 2px solid #070;
}

#product h2 {
	margin-bottom: 0;
}

p.price { /*18px*/
	font-size: 1.28571429em;
	line-height: 1em;
	margin-bottom: 1em;
}

a.preview_link {
	display: block;
}

div#preview {
	width: 80%;
	max-width: 320px;
	border: 1px solid;
	margin: 1.28571429em auto; 
	padding: 2px;
}

a#pdf_link {
	display: block;
	border: 2px solid #070;
}

a#pdf_link img {
	width: 100%;
	max-width: 100%;
}

li.product_list_item {
	padding-top: 1.28571429em;
	border-bottom: 1px dashed;
}

li.product_list_item h3 {
	margin-bottom: 0;
	line-height: 1.5em;
}

li.product_list_item div.viewmore {
	margin-right: 1em;
}

iframe.file_download {
	display: none;
	height: 0;
}

table#cart form {
	margin-bottom: 0;
}

input.jui-button {
	margin: 0.25em;
}

table#orderconfirm form {
	margin: 1em 0.5em;
}

#home_sidebar {
	clear: left;
	width: 90%;
	margin: 1.28571429em auto;
}

#home_sidebar li {
	padding-left: 20px;
	color: #040;
	font-family: "palatino linotype", palatino, constantia, georgia, "times new roman", times, serif;	
	font-size: 16px;
	line-height: 36px;
	background: url('/images/bullet.png') no-repeat left top;;
}

/*css loading ring for buy window*/

.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #040;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #040 transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
