html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}
/*h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}*/
ul{list-style:none}
button,input,select,textarea{margin:0}
html{box-sizing:border-box}
*,*:before,*:after{box-sizing:inherit}
img,embed,iframe,object,audio,video{height:auto;max-width:100%}
iframe{border:0}
table{border-collapse:collapse;border-spacing:0}
td,th{padding:0;text-align:left}
:focus:not(:focus-visible) { outline: none }

body { font-family: Arial, Helvetica, sans-serif; }

a { color: #8aaddc; }

sup, sub {
  vertical-align: baseline;
  position: relative;
  top: -0.4em;
}
sub { top: 0.4em; }

#header {
	position: relative;
  padding: 1px;
  background-color: #8aaddc;
  color: #fff;
}
#header a {
  font-weight: normal;
  text-decoration: none;
  color: #fff;
}
#header h1 {
	display: inline-block;
	margin-right: 20px;
}
#header h1 img.logo {
	width: 80px;
	height: 80px;
  margin: 10px;
  vertical-align: middle;
}
#header a.toplink {
	display: inline-block;
	margin: 0 10px;
}
#header a.toplink:hover { text-decoration: underline; }

#nav {
  display: inline-block;
  width: 300px;
  margin: 10px;
  vertical-align: top;
}
#nav form { margin-bottom: 3px; }
#nav form input,
#nav form button,
#content form input,
#content form button {
	width: 250px;
	padding: 5px;
	background-color: #fff;
	border: 1px #ccc solid;
	font-size: 17px;
	color: #8aaddc;
}
#nav form button,
#content form button {
	width: 50px;
	background-color: #e6f1ff;
	border-left-width: 0;
}
#nav form button:hover,
#content form button:hover {
	background-color: #8aaddc;
	color: #fff;
}
#nav h2 a {
	display: block;
	margin-bottom: 2px;
	padding: 5px;
	background-color: #fff;
	border: 1px #ccc solid;
	font-weight: normal;
	font-size: 17px;
	color: #8aaddc;
	text-decoration: none;
}
#nav h2 a:hover {
	background-color: #8aaddc;
	text-decoration: none;
	color: #fff;
}
#nav a {
	display: block;
	padding: 5px 0;
	border-bottom: 1px #ccc solid;
	font-size: 14px;
	text-decoration: none;
	color: #666;
	outline: none;
}
#nav > ul > li > ul > li:first-child { display: none; }
#nav > ul,
#nav > ul > li > ul { margin-left: 0 !important; }
#nav ul { margin-left: 10px; }
#nav li li a {
	border-left: 5px solid #fff;
	padding-left: 5px;
}
#nav li.active > a {
	background-color: #e6f1ff;
	border-left-color: #8aaddc;
}
#nav a:hover { background-color: #e6f1ff; }

#content {
  display: inline-block;
  width: calc(100% - 330px);
  margin: 10px 0;
}
#content nav.subnav a:hover { text-decoration: underline; }
#content .box.revised,
#content .persons {
	margin-bottom: 20px;
	text-align: right;
	font-size: small;
}
#content .box.revised + .persons { margin-top: -10px; }
#content .box.revised p { margin: 0; }
#content p { margin-bottom: 1em; }
#content h1 { margin-bottom: 10px; }
#content section.def,
#content section.box {
	margin-bottom: 20px;
	padding: 10px;
	border: 1px #e6f1ff solid;
}
#content section.def > h2,
#content section.def > h3,
#content section.def > h4,
#content section.def > h5,
#content section.def > h6 {
	margin: -10px -10px 10px -10px;
	padding: 5px;
	background-color: #e6f1ff;
	border: 1px #eee solid;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.2;
	color: #333;
}
#content h2 .icon {
	display: inline-block;
	width: 40px;
	height: 40px;
	margin: 0 0 0 -5px;
	vertical-align: top;
}
#content div.box h2 {
	font-size: 14px;
}

#content nav.subnav a {
	display: block;
	margin: 5px 0;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 14px;
	text-decoration: none;
	color: #666;
}

#content p a { word-wrap: break-word; }

#content em {
	font-weight: inherit;
	font-style: normal;
	text-decoration: none;
}
#content em.strong { font-weight: bold; }
#content em.italic { font-style: italic; }
#content em.underline { text-decoration: underline; }

#content ol,
#content ul { margin: .5em 0 1em 1.2em; }
#content ol.1 { list-style: decimal; }
#content ol.A { list-style: upper-alpha; }
#content ol.a { list-style: lower-alpha; }
#content ol.I { list-style: upper-roman; }
#content ol.i { list-style: lower-roman; }
#content ul.circle { list-style: circle; }
#content ul.bullet { list-style: initial; }
#content ul.free { list-style: none; }
#content li { margin: .5em 0; }
#content li p { margin: 0; }

#content figure { margin: 1em 0; }
#content figure h1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: unset;
}

#content table {
	width: 100%;
	margin: .5em 0;
	border-collapse: collapse;
}
#content table caption {
	margin-bottom: .5em;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
	font-weight: 400;
	text-align: left;
}
#content table th,
#content table td {
	padding: 2px;
	border: 1px #8aaddc solid;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 85%;
	font-weight: 300;
	line-height: 1.2;
}
#content table th {
	background-color: #e6f1ff;
	font-weight: 400;
}
#content table td.center,
#content table th.center { text-align: center; }
#content table td.right,
#content table th.right { text-align: right; }
#content table p { margin: 0; }
#content table p.blank { margin-top: .5em; }
#content table ul,
#content table ol { padding: 0 0 0 15px; }
#content table.var-a tr:nth-child(even) td { background-color: #e6e6e6; }

#content .pagenavigator {
	display: flex;
	justify-content: flex-start;
	margin: 20px 0;
}
#content .pagenavigator > span {
	display: inline-block;
	margin: 0 5px;
	padding: 1px 5px;
	border: 1px solid #8aaddc;
}
#content .pagenavigator > span.separator { border-width: 0; }
#content .pagenavigator > span:hover,
#content .pagenavigator > span.current { background-color: #e6f1ff; }

#content .searchresult a { text-decoration: none; }
#content .searchresult article {
	margin: 1em 0;
	padding: 5px;
}
#content .searchresult article h1 {
	margin-bottom: 0;
	font-size: 1.3em;
	font-weight: 600;
}
#content .searchresult a:hover h1 { text-decoration: underline; }

section.fest .item {
	margin: 10px 0 20px 0;
}
section.fest .prodheader * {
	display: inline-block;
	font-style: italic;
	color: #ccc;
}
section.fest .prodheader .names { width: calc(100% - 75px); }
section.fest .prodheader .flags { width: 70px; text-align: right; }
section.fest .prodheader .flags > * {
	margin-right: 0;
	font-style: normal;
	font-size: 20px;
	cursor: help;
}
section.fest .prodheader .flags .monitored:before {
	content: "▼";
	font-style: normal;
	color: rgb(0, 0, 0);
}
section.fest .prodheader .flags .warning:before {
	content: "▵";
	font-style: normal;
	color: red;
}
section.fest .prodheader .flags .exemption:before {
	content: "◎";
	font-style: normal;
	color: red;
}
section.fest .prodheader .flags .exemption { cursor: pointer; }
section.fest .prodheader .names .name {
	display: inline-block;
	margin-right: 20px;
	font-weight: bold;
	font-style: normal;
	color: #000;
}
section.fest .form         { width: 250px; }
section.fest .units        { width: calc(100% - 420px); }
section.fest .prescription { width: 40px; text-align: center; }
section.fest .refund       { width: 40px; text-align: center; }
section.fest .price        { width: 70px; text-align: right; }


section.fest .item .products .product * {
	display: inline-block;
	vertical-align: top;
}
section.fest .item .products .product {
	margin: 0 0 5px 0;
	padding: 5px 3px 1px;
	background-color: #f6f9fc;
	border: 1px rgb(230, 241, 255) solid;
	border-radius: 3px;
}
section.fest .item .products .product .refund { text-transform: uppercase; }
section.fest .item .products .product .unit {
	width: 100%;
	margin: 3px 0;
	padding: 1px 3px;
	background-color: #fff;
	border: 0px #eee solid;
	border-radius: 3px;
}
section.fest .item .products .product .unit .strengthname::after { content: ': '; }
section.fest .item .products .product .unit .unittext { float: right; }

/* math */
math {
	display: inline;
	text-indent: 0;
}
math[display="block"] {
	display: block;
	text-align: center;
}

/* fraction */
mfrac {
	display: inline-table;
	vertical-align: middle;
	border-collapse: collapse;
}
mfrac > * {
	display: table-row;
}
mfrac:not([linethickness="0"]) > *:first-child {
	border-bottom: solid thin;
}

/* sub/sup scripts */
msub > *:nth-child(2), msubsup > *:nth-child(2),
mmultiscripts > *:nth-child(2n+2),
mmultiscripts > mprescripts ~ *:nth-child(2n+3) {
	font-size: 0.8em;
	vertical-align: sub;
}
msup > *:nth-child(2), msubsup > *:nth-child(3),
mmultiscripts > *:nth-child(2n+3),
mmultiscripts > mprescripts ~ *:nth-child(2n+2) {
	font-size: 0.8em;
	vertical-align: super;
}
mprescripts:after {
	content: ";";
}

/* under/over scripts */
munder, mover, munderover {
	display: inline-flex;
	flex-direction: column;
}
munder > *:nth-child(2), munderover > *:nth-child(2) {
	font-size: 0.8em;
	order: +1;
}
mover > *:nth-child(2), munderover > *:nth-child(3) {
	font-size: 0.8em;
	order: -1;
}
munder {
	vertical-align: text-top;
}
mover {
	vertical-align: text-bottom;
}
munderover {
	vertical-align: middle;
}

/* roots */
msqrt, mroot {
	display: inline-flex;
	margin-left: .5em;
	vertical-align: middle;
	border-top: solid thin;
}
msqrt:before, mroot:before {
	margin-left: -.5em;
	content: "\221A";
}
mroot > *:nth-child(2) {
	margin-right: .25em;
	margin-left: -.75em;
	font-size: 0.8em;
	order: -1;
}

/* menclose */
menclose {
  display: inline-table;
  border-collapse: separate;
  border-spacing: 0.4ex 0;
}
menclose[notation*="top"], menclose[notation*="actuarial"] {
  border-top: solid thin;
}
menclose[notation*="bottom"], menclose[notation*="madruwb"] {
	border-bottom: solid thin;
}
menclose[notation*="right"], menclose[notation*="actuarial"],
menclose[notation*="madruwb"] {
	border-right: solid thin;
}
menclose[notation*="left"] {
	border-left: solid thin;
}
menclose[notation*="box"], menclose[notation*="roundedbox"],
menclose[notation*="circle"] {
	border: solid thin;
}
menclose[notation*="roundedbox"] {
	border-radius: 15%;
}
menclose[notation*="circle"] {
	border-radius: 50%;
}
menclose[notation*="horizontalstrike"] {
	text-decoration: line-through;
}

/* table */
mtable {
	display: inline-table;
	vertical-align: middle;
}
mtr {
	display: table-row;
}
mtd {
	display: table-cell;
	padding: 0 0.5ex;
}

/* token elements */
mspace {
	margin: .2em;
}
mi {
	font-style: italic;
}
mo {
	margin-right: .2em;
	margin-left: .2em;
}
ms:before, ms:after {
	content:"\0022";
}
ms[lquote]:before {
	content: attr(lquote);
}
ms[rquote]:after {
	content: attr(rquote);
}

/* mathvariants */
[mathvariant="bold"], [mathvariant="bold-italic"],
[mathvariant="bold-sans-serif"], [mathvariant="sans-serif-bold-italic"] {
	font-weight: bold;
	font-style: normal;
}
[mathvariant="monospace"] {
	font-family: monospace;
	font-style: normal;
}
[mathvariant="sans-serif"],
[mathvariant="bold-sans-serif"], [mathvariant="sans-serif-italic"],
[mathvariant="sans-serif-bold-italic"] {
	font-family: sans-serif;
	font-style: normal;
}
[mathvariant="italic"], [mathvariant="bold-italic"],
[mathvariant="sans-serif-italic"], [mathvariant="sans-serif-bold-italic"] {
	font-style: italic;
}
[mathvariant="normal"] {
	font-style: normal;
}

/* mphantom */
mphantom {
	visibility: hidden;
}

/* merror */
merror {
  outline: solid thin red;
}
merror:before {
  content: "Error: ";
}

/* annotations */
annotation, annotation-xml {
	font-family: monospace;
	display: none;
}
math:hover > semantics > *:first-child,
math:hover > semantics > *:first-child {
	display: none;
}
math:hover annotation {
	display: inline;
}
