﻿/* This style sheet is meant to serve as a layer between Manexa
 * affiliate pages and the Centro portal/catalog to reset all html
 * elements to their default state before applying styles to the
 * #centroPortal div. If any issues arise on an affiliate's
 * branded portal/catalog, this is the file that should be
 * updated to fix that issue (e.g. suppose the affiliate had
 * specified in their own style sheet that all h1 tags should
 * render text as red. This would be fixed by updating this file
 * to make all h1 tags default back to black). */

html, body,
#centroPortal address,
#centroPortal blockquote,
#centroPortal dd,
#centroPortal div,
#centroPortal dl,
#centroPortal dt,
#centroPortal fieldset,
#centroPortal form,
#centroPortal frame,
#centroPortal frameset,
#centroPortal h1,
#centroPortal h2,
#centroPortal h3,
#centroPortal h4,
#centroPortal h5,
#centroPortal h6,
#centroPortal noframes,
#centroPortal ol,
#centroPortal p,
#centroPortal ul,
#centroPortal center,
#centroPortal dir,
#centroPortal hr,
#centroPortal menu,
#centroPortal pre				{ display: block }
#centroPortal li				{ display: list-item }
head							{ display: none }
#centroPortal table				{ display: table }
#centroPortal tr				{ display: table-row }
#centroPortal thead				{ display: table-header-group }
#centroPortal tbody				{ display: table-row-group }
#centroPortal tfoot				{ display: table-footer-group }
#centroPortal col				{ display: table-column }
#centroPortal colgroup			{ display: table-column-group }
#centroPortal td,
#centroPortal th				{ display: table-cell }
#centroPortal caption			{ display: table-caption }
#centroPortal th				{ font-weight: bolder; text-align: center }
#centroPortal caption			{ text-align: center }
body							{ margin: 8px }
#centroPortal h1				{ font-size: 2em; margin: .67em 0 }
#centroPortal h2				{ font-size: 1.5em; margin: .75em 0 }
#centroPortal h3				{ font-size: 1.17em; margin: .83em 0 }
#centroPortal h4,
#centroPortal p,
#centroPortal blockquote,
#centroPortal ul,
#centroPortal fieldset,
#centroPortal form,
#centroPortal ol,
#centroPortal dl,
#centroPortal dir,
#centroPortal menu				{ margin: 1.12em 0 }
#centroPortal h5				{ font-size: .83em; margin: 1.5em 0 }
#centroPortal h6				{ font-size: .75em; margin: 1.67em 0 }
#centroPortal h1,
#centroPortal h2,
#centroPortal h3,
#centroPortal h4,
#centroPortal h5,
#centroPortal h6,
#centroPortal b,
#centroPortal strong			{ font-weight: bolder }
#centroPortal blockquote		{ margin-left: 40px; margin-right: 40px }
#centroPortal i,
#centroPortal cite,
#centroPortal em,
#centroPortal var,
#centroPortal address			{ font-style: italic }
#centroPortal pre,
#centroPortal tt,
#centroPortal code,
#centroPortal kbd,
#centroPortal samp				{ font-family: monospace }
#centroPortal pre				{ white-space: pre }
#centroPortal button,
#centroPortal textarea,
#centroPortal input,
/*#centroPortal select			{ display: inline-block } IE 5.5 trips css validator */
#centroPortal big				{ font-size: 1.17em }
#centroPortal small,
#centroPortal sub,
#centroPortal sup				{ font-size: .83em }
#centroPortal sub				{ vertical-align: sub }
#centroPortal sup				{ vertical-align: super }
#centroPortal table				{ border-spacing: 2px; }
#centroPortal thead,
#centroPortal tbody,
#centroPortal tfoot				{ vertical-align: middle }
#centroPortal td,
#centroPortal th				{ vertical-align: inherit }
#centroPortal s,
#centroPortal strike,
#centroPortal del				{ text-decoration: line-through }
#centroPortal hr				{ border: 1px inset }
#centroPortal ol,
#centroPortal ul,
#centroPortal dir,
#centroPortal menu,
#centroPortal dd				{ margin-left: 40px }
#centroPortal ol				{ list-style-type: decimal }
#centroPortal ol ul,
#centroPortal ul ol,
#centroPortal ul ul,
#centroPortal ol ol				{ margin-top: 0; margin-bottom: 0 }
#centroPortal u,
#centroPortal ins				{ text-decoration: underline }
#centroPortal br:before			{ content: "\A" }
#centroPortal :before,
/*#centroPortal :after			{ white-space: pre-line } trips css validator */
#centroPortal center			{ text-align: center }
#centroPortal :link,
#centroPortal :visited			{ text-decoration: underline }
#centroPortal :focus			{ outline: thin dotted invert }

/* Begin bidirectionality settings (do not change) */
#centroPortal BDO[DIR="ltr"]	{ direction: ltr; unicode-bidi: bidi-override }
#centroPortal BDO[DIR="rtl"]	{ direction: rtl; unicode-bidi: bidi-override }

#centroPortal *[DIR="ltr"]		{ direction: ltr; unicode-bidi: embed }
#centroPortal *[DIR="rtl"]		{ direction: rtl; unicode-bidi: embed }

@media print {
  h1							{ page-break-before: always }
  h1, h2, h3,
  h4, h5, h6					{ page-break-after: avoid }
  ul, ol, dl					{ page-break-before: avoid }
}

/* place custom "fix" styles below */

body, form						{ margin: 0 }