/***************************
 ****************************
Default styles for links
****************************
***************************/

a.sdkey    {color:#000000;}

a.ref      {color:#00b300; font-weight: bold; text-decoration: none; white-space: nowrap;}
a.eqn      {color:#00b300; font-weight: bold; text-decoration: none; white-space: nowrap;}
a.verbatim {color:#00b300; font-weight: bold; text-decoration: none; margin-left:0em}
a.verbatimref {color:#00b300; font-weight: bold; text-decoration: none; margin-left:0em}
a.fig      {color:#00b300; font-weight: bold; text-decoration: none; white-space: nowrap;}
a.item     {color:#00b300; font-weight: bold; text-decoration: none; white-space: nowrap;}
a.directory {color:#00b300; font-weight: bold; text-decoration: none; white-space: nowrap;}
a.note     {color:#00b300; font-weight: bold; text-decoration: none; white-space: nowrap;}
a.table    {color:#00b300; font-weight: bold; text-decoration: none; white-space: nowrap;}
a.url  	   {color:#00AABB; font-weight: bold; text-decoration: none;}

a.sec      {color:#00b300; font-weight: bold; text-decoration: none; white-space: nowrap;}
a.dtree    {color:#00b300; font-weight: bold; text-decoration: none; white-space: nowrap;}

a.htmltoc  {color:#5555FF; font-weight: bold; text-decoration: none;}

a.ifail	   {color:#003399; font-weight: bold; text-decoration: none;}
a.error	   {color:#003399; font-weight: bold; text-decoration: none;}

a.arg      {color:#EE0000; font-weight: bold; text-decoration: none; font-style: normal;}
a.optparam {color:#800080; font-weight: bold; text-decoration: none; font-style: normal;}
a.optval   {color:#800080; font-weight: bold; text-decoration: none; font-style: normal;}
a.member   {color:#FF00FF; font-weight: bold; text-decoration: none; font-style: normal;}

a.rout     {color:#5555FF; font-weight: bold; text-decoration: none;}
a.class    {color:#5555FF; font-weight: bold; text-decoration: none;}
a.method   {color:#5555FF; font-weight: bold; text-decoration: none;}
a.tocexample {color:#5555FF; font-weight: bold; text-decoration: none;}
a.plot     {color:#00b300; font-weight: bold; text-decoration: none; white-space: nowrap;}
a.chap     {color:#008000; font-weight: bold; text-decoration: none; white-space: nowrap;}
a.chapint  {color:#008000; font-weight: bold; text-decoration: none;}
a.genint   {color:#008000; font-weight: bold; text-decoration: none;}
a.wdrn     {color:#8080B0; font-weight: bold; text-decoration: none;}

a.nagtype  {color:#993300; font-weight: bold; text-decoration: none;}

a.run     {background-color: #EEA !important ; border-radius:.2em; padding:.2em; border: solid thin #DD9}

div.useful-links a     {color:#5555FF; font-weight: bold;}
#tocwrap2 a     {color:#5555FF; font-weight: bold;}
#tocwrap2 a.url, div.useful-links a.url  {color:#00AABB;}
td.dt a {white-space: normal;}

a:hover	   {text-decoration:underline}

span.nagn {text-transform:lowercase;font-size:120%;font-style: italic}

html {background-color:#EEEEFF;}

body {
    background-color: white;
    max-width:60em;
    margin-left:auto;
    margin-right:auto;
    padding: 1em 2em 1em 2em;
}

#kwlabel {
    display:inline;
    float:right;
    vertical-align:top;}

#kwinput {
    border: solid thin black;
    background-color: white;
    display:inline-block;
    position:relative;
    top:-5px;
    width:10em;
    min-height:1.5em;
}

#tocwrap div.useful-links {display:none;}

#tocwrap div.copyright {
    display:none;
    }
#tocwrap div.copyright a {
    font-size:80%}
hr {
    clear: both;
}

div.htmltocitem {
    display: none;
    margin-left:1em;
}

span.htmltocminus {
    display: none;
    text-align: left;
}
span.htmltocplus {
    text-align: left;
}

span.htmltocsp {
    display:inline-block;
    width:1em;
    height:0em;
    vertical-align:text-top;
}

#htmltoc {
    display:block;
}
#htmltocplus {
    display:none;
}
#htmltocminus {
    display:inline;
}

#kwsearch{
    position: absolute;
    top:.5em;
}

#docsettingsminus {
    display:none;
}

#docsettings {
    display:none;
    padding: 2pt;
    margin: 6pt 2pt;
    background-color: beige;
}

@media screen and (min-width: 60em) {
    td.acknow:last-child {
	min-width: 19em;
    }
}

@media screen and (max-width: 84.9em) {
    #docsettingswrapper {
	position:absolute;
	top:0;
	right:0
    }
}

@media screen and (min-width: 85em) {

    #kwsearch{position: static;}

    #tocwrap2 > div > div {
	margin-left:0;
    }

    #htmltoc div.htmltocitem {
	margin-left:.5em;
    }

    #htmltoc > div > div.htmltocitem {
	display: block;
    }

    #htmltoc > div > span >  span.htmltocminus {
	display: inline;
    }
    #htmltoc > div > span > span.htmltocplus {
	display:none;
    }

    #tocwrap {
	background-color:#F5F5F5;
	position:fixed;
	left:1em;
	/*left:calc(50vw - 41.5em);*/
	top:.5em;
	width:17em;
	white-space:nowrap;
	width:calc(50vw - 25.5em);
	height:100%;
	padding-left: .5em;
    }

    #tocwrap2{
	height:100%;
	overflow-y:auto;
	padding-right:.5em;
    }

    
    body {
	margin-left:19em;
	margin-left:calc(50vw - 23.5em);
    }

    
    div.useful-links {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
    }

    #tocwrap h2 {margin-top:0pt}

    #tocwrap div.useful-links {display:block;}
    body > div.useful-links {display:none;}

    #tocwrap div.copyright {
	display:block;
    }

    #kwlabel {
	display:inline;
	clear:both;
	float:none;
    }

    #kwinput {
	border: solid thin black;
	background-color: white;
	display:inline-block;
	float:right;
	margin-top:.1em;
	width:15em;
	min-height:1.5em;
    }

} 
@media screen and (min-width: 90em) {

    #tocwrap {
	left:1em;
	left:calc(50vw - 44em);
    }
    body {
	margin-left:24em;
	margin-left:calc(50vw - 21em);
    }
    #tocwrap {
	width:22em;
    }
}

/***************************
 ****************************
Base Styles based on NAG Website
****************************
***************************/

body {
    font-family: "Times New Roman", "Times Roman", Serif;
    font-weight: normal;
    font-size: 16px;
    line-height: 1.3em;
    color: #333;
    background-color: #fff;
}

h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6 {
    font-family: "Times New Roman", "Times Roman", Serif;
    font-weight: bold;
    margin-bottom: 0em;
}

h1,.h1 {
    font-size: 1.5rem;  
    margin-top: 1rem;
}

h2,.h2 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
}

h3,.h3 {
    font-size: 1.125rem;
    margin-top: 1.25rem;
}

h4,.h4,h5,.h5,h6,.h6 {
    font-size: 1rem;
    margin-top: 1rem;
}

h2+h3 {
    margin-top: 0.5rem;
}

h3+h4, h4+h5, h5+h6 {
    margin-top: 0.25rem;
}

h4.replace {
    font-weight: normal;
    margin-top: 0.5rem;
}

/***************************
 ****************************
End Base Styles
****************************
***************************/

/* default settings for all description lists followed by specific settings depending on class */
dl {
    margin: 0em;
    margin-bottom: 0.5rem;
    padding: 0em;
}
dl.pcases{
    margin-left: 2.4rem;
}
dl.pink-ifail{
    background-color: pink;
}
dl.liststorage {
    margin: 0em;
    margin-bottom: 0.5rem;
    margin-left: 2.4rem;
    padding: 0em;
}
/*

dl.hanging {
    margin: 0em;
    margin-bottom: 0.5rem;
    padding: 0em;
}
dl.adparams {
    margin-top:.8em;
    margin-bottom:.8em;
}
*/

/* default settings for all dl terms followed by specific settings depending on class */
dt {
    margin-top: 0.5rem;
}
dt.errorhead {
    margin-top: 1.3rem;
}
dt.errorhead:first-child {
    margin-top: 0.5rem;
}
dt.multi-errorhead {
    margin-top: 0em;
}
dt.memberhead {
    margin-top: 0.5rem;
}
dt.multi-memberhead {
    margin-top: 0em;
}
dt.adparamhead {
    margin-top: .25rem;
}
dt.paramhead {
    clear: both;
    margin-top: 1.3rem;
}
dd.note + dt.paramhead {
    margin-top: 0.5rem;
}
dt.paramhead:first-child {
    margin-top: 0.5rem;
}
/*h2 + dl dt.paramhead:first-child {
    margin-top: 0.5rem;
}
*/
dt.multi-paramhead {
    clear: both;
    margin-top: 0em;
}
dt.hanging {
    display: inline-block;
    float: left;
    clear: both;
    width: 4rem;
}
dt.hanging[class*="15mm"] {
    width: 3.6rem;
}
dl.replace dt {
    padding-left: 2.4rem;
    font-weight: bold;
    margin-bottom: 0pt;
    padding-bottom: 0pt;
}

/* default settings for all dl descriptions followed by specific settings depending on class */
dd {
    margin-left: 2.4rem;
}
dd.errorsp {
    margin-left: 0em;
    margin-top: 0.5rem;
}
dd.errortext {
    margin-top: .2em;
}
dd.note {
    margin-left: 0em;
    margin-top: 1.3rem;
}
dd.paramdesc {
    clear: both;
    padding-top: 0.01em;
}
/*dd.adparamtext {
    margin-left: 2.4rem;
}*/
dt.hanging + dd {
    padding-top: 0.5rem;
}
dt.hanging[class*="15mm"] + dd {
    margin-left: 3.6rem;
}
dl.replace dd {
    margin-left:0pt;
    padding-top: 0em;
    margin-top: -0.5rem;
}
dl.paramval dd {
    margin-left: 1.8rem;
}

div.advanced {
    margin-top: 1.5rem;
    border-top: solid thin black;
    padding-top: 0.5rem;
    font-style: italic; 
}
div.advanced b {
    font-style: normal;
}
div.caption {
    text-align: center
}
div.faq, div.clog, div.clogfirst {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dotted #96c334;
}
div.faq:first-child, div.clogfirst {
    margin-top: 1.5rem;
    border-top: 1px dotted #96c334;
}
div.faqanswer, div.clogdesc {
    display: none;
    margin-left:1em;
}
div.clogfirst > div.clogdesc {
    display: block;
}
div.figure > div.caption {
    display:inline-block;
    max-width:80%;
    text-align: left;
    margin-top: .5rem;
    margin-bottom: .5rem;
}
div.figure {
    margin-left: 0em;
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}
div.formula {
    margin-bottom: 0.3rem;
    margin-top: 0.3rem;
    text-align: center;
}
div.formula-bmatrix {
    margin-bottom: -1rem;
    margin-top: 0.3rem;
    text-align: center;
}
div.formula-eqn {
    margin-bottom: 0.3rem;
    margin-top: 0.3rem;
    text-align: center;
}
div.htmltoc {
    left: 0pt;
}
div.left-tablediv {
    margin-left:auto;
    margin-right:auto;
    text-align:left;
}
div.membertext {
    margin-top: 0.5rem;
}
div.paramtext,
div.header {
    margin-left: 0em;
    margin-top: 0.5rem;
    margin-bottom: 0em;
}
div.reason {
    margin-top: 0.5rem;
}
div.shortdesc {
    margin-left: 0em;
    margin-top: 0.5rem;
    margin-bottom: 0em;
}
h2 span.sec_num, 
h3 span.sec_num, 
span.pnum {
    display: inline-block;
    float: left;
    width: 2.4rem;
}
h4 span.sec_num,
h5 span.sec_num {
    display: inline-block;
    float: left;
    width: auto;
    margin-right: 8px;
}
span.sec_name {
    display: inline-block;
    margin-left: 0px;
}
span.pname {
    float: left;
}
span.pclass {
    float: right;
}
h2 span.sec_num + span.sec_name, 
h3 span.sec_num + span.sec_name, 
h4 span.sec_num + span.sec_name,
span.pnum + span.pname {
    margin-left: 0px;
}
div.section {
    margin-top: 1.5rem;
}
div.specialparamtext {
    margin-top: 0em;
}
div.tablediv {
    margin-left:auto;
    margin-right:auto;
    text-align:center;
}
div.toc {
    margin-bottom: 3em;
}

span.adparamnum {
    width:2em;
    display:inline-block;
}

h1.libdoc {
    text-align: center;
    line-height: 1.4em;
    margin-bottom: 1.5rem;
}
h2.libdoc {
    font-size: 1.5rem;
    line-height: 1.2em;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

h1.toc {
    font-family: serif; 
    font-style: normal; 
    font-weight: normal;
    padding-left: 0em;
}
h2.toc {
    font-family: serif; 
    font-size: medium;
    font-style: normal; 
    font-weight: normal;
    margin-bottom: 0em;
    margin-top: 0em;
    padding-left: 2em;
}
h3.toc {
    font-family: serif; 
    font-size: small;
    font-style: normal; 
    font-weight: normal;
    margin-bottom: 0em;
    margin-top: 0em;
    padding-left: 4em;
}
h4.toc {
    font-family: serif; 
    font-size: small;
    font-style: normal; 
    font-weight: normal;
    margin-bottom: 0em;
    margin-top: 0em;
    padding-left: 6em;
}
h5.toc {
    font-family: serif; 
    font-size: small;
    font-style: normal; 
    font-weight: normal;
    margin-bottom: 0em;
    margin-top: 0em;
    padding-left: 8em;
}

/* default settings for all ordered lists followed by specific settings depending on class */
/* ordered lists are not currently used */
ol {
    margin: 0em;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0em;
    padding-left: 1.8rem;
    list-style-type: none;
}
ol.listalpha {
    /* uses default settings */
}
ol.listnumber {
    /* uses default settings */
}
ol.listroman {
    /* uses default settings */
}
ol.wlistroman {
    /* uses default settings */
    padding-left: 2.4rem;
}

/* default settings for all unordered lists followed by specific settings depending on class */
ul {
    margin: 0em;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0em;
    list-style-type: none;
}
ul.listbullet {
    padding-left: 1.2rem;
}
ul.listcircle {
    padding-left: 1.2rem;
}
ul.listcons {
    padding-left: 2.4rem;
}
ul.listconts {
    padding-left: 2.4rem;
}
ul.listdash {
    padding-left: 1.2rem;
}
ul.listdimnote {
    padding-left: 2.4rem;
}
ul.listind {
    padding-left: 1.8rem;
}
ul.listnoind {
    padding-left: 0rem;
}
ul.listoptparam {
    padding-left: 2.4rem;
}
ul.listsmallind {
    padding-left: 1.2rem;
}

/* default settings for all list items followed by specific settings depending on class */
li {
    margin: 0em;
    margin-top: 0.5rem;
    padding: 0em;
}
li.listalpha {
    /* uses default settings */
}
li.listbullet {
    list-style-type: none;
}
li.listcircle {
    list-style-type: none;
}
li.listdash {
    list-style-type: none;
}
li.listconts {
    margin-top: 0.15rem;
}
li.listind {
    /* uses default settings */
}
li.listind.rowsep0 {
    margin-top: 0;
}
li.listnoind {
    /* uses default settings */
}
li.listnumber {
    /* uses default settings */
}
li.listoptparam {
    margin-top: 0.25em;
}
li.listroman {
    /* uses default settings */
}
li.wlistroman {
    /* uses default settings */
}
li.listsmallind {
    /* uses default settings */
}
li.listspecialitem {
    /* uses default settings */
}

/* small list number, list number, and wide list number used list items */
span.slnum {
    display: inline-block;
    width: 1.2rem;
    margin-left: -1.2rem;
}
span.lnum {
    display: inline-block;
    width: 1.8rem;
    margin-left: -1.8rem;
}
span.wlnum {
    display: inline-block;
    width: 2.4rem;
    margin-left: -2.4rem;
}

p.standard {
    margin-top: 0.5rem;
}

span.bitalic  {
    font-style: italic; 
    font-weight: bold;
}
span.bold {
    font-style: normal; 
    font-weight: bold;
}
span.eqno {
    position: absolute;
    right: 1em;
}
span.faqquestion, span.clogheader {
    color:#5555FF; 
    cursor:pointer;
}
span.faqminus, span.clogminus {
    display: none;
    text-align: left;
}
span.faqplus, span.clogplus {
    text-align: left;
}
span.faqsp, span.clogsp {
    display:inline-block;
    width:1em;
    height:0em;
    vertical-align:text-top;
}
span.htmltoc{
    color:#5555FF; 
    cursor:pointer;
    font-family: serif; 
    font-size: medium;
    font-style: normal; 
    font-weight: bold; 
    text-decoration: none;
}
span.htmltochead {
    color: black;
    cursor:pointer;
    font-weight: bold;
    text-decoration: none;
}

span.issueno {
    font-weight: bold;
}
span.italic {
    font-style: italic; 
    font-weight: normal;
}
span.nodoc {
    color: #999; 
}
span.normal {
    font-style: normal; 
    font-weight: normal;
}
span.publication {
    font-style: italic;
}
span.roman {
    font-style: normal; 
    font-weight: normal;
}
span.warning {
    color: red; 
}

table {
    border-collapse: collapse;
}
table.acknow {
    margin: 0.5rem 0;
    border-collapse: collapse;
    border-style: none;
    vertical-align: baseline;
}
table.directory {
    margin: 0.5rem 0;
    border-collapse: collapse;
    border-style: none;
    vertical-align: baseline;
}
table caption {
    padding: 0.5rem 0;
    caption-side: bottom;
}
table tr td.description {
    padding: 0.25rem 0;
}
table tr td.dirname {
    vertical-align: middle;
    font-weight: bold;
}
table tr td.leftbar {
    width: 1.2rem;
    margin-right: 1rem;
    border-left: solid thin black;
}
table tr td.spacer {
    height: 0.25rem;
}
table tr td.topbar {
    width: 1.2rem;
    margin-right: 1rem;
    border-top: solid thin black;
}
table.libdoc {
    margin: 0.25rem 0;
    border-collapse: collapse;
    border-style: none;
    padding: 0.25rem 1rem;
}
table.libdoc.center {
    margin-left: auto;
    margin-right: auto;
}
table.libdoc.left {
    margin-left: 0;
    margin-right: auto;
}
table.libdoc.right {
    margin-left: auto;
    margin-right: 0;
}
table.libdoc.justify {
    width: 100%;
}
/* Margins, padding, and border styles for original tables */
table.libdoc.sides,
table.libdoc.top,
table.libdoc.topbot,
table.libdoc.frame {
    border-collapse: separate;
}
table.libdoc.sides,
table.libdoc.frame {
    border-left: thin solid black;
    border-right: thin solid black;
}
table.libdoc.top,
table.libdoc.topbot,
table.libdoc.frame
table.libdoc.all {
    margin-top: 1rem;
}
table.libdoc.bottom,
table.libdoc.topbot,
table.libdoc.frame,
table.libdoc.all {
    margin-bottom: 1rem;
}
table.libdoc.top,
table.libdoc.topbot,
table.libdoc.frame,
table.libdoc.border {
    border-top: thin solid black;
}
table.libdoc.bottom,
table.libdoc.topbot,
table.libdoc.frame {
    border-bottom: thin solid black;
}
table.libdoc th,
table.libdoc td {
    padding: 0.25rem 1rem;
}
table.libdoc th:first-child,
table.libdoc td:first-child {
    padding-left: 0;
}
table.libdoc th:last-child,
table.libdoc td:last-child {
    padding-right: 0;
}
table.libdoc.all th,
table.libdoc.all td {
    border: thin solid black;
    padding: 0.5rem 1rem;
}
/* Margins, padding, and border styles for new tables */
table.libdoc.above,
table.libdoc.below,
table.libdoc.hsides,
table.libdoc.vsides,
table.libdoc.lhs,
table.libdoc.rhs,
table.libdoc.border {
    border-collapse: separate;
}
table.libdoc.above,
table.libdoc.hsides,
table.libdoc.topbot,
table.libdoc.border,
table.libdoc.groups,
table.libdoc.rows {
    border-top: thin solid black;
}
table.libdoc.below,
table.libdoc.hsides,
table.libdoc.topbot,
table.libdoc.border,
table.libdoc.groups thead,
table.libdoc.groups tbody,
table.libdoc.groups tfoot,
table.libdoc.rows tr {
    border-bottom: thin solid black;
}
table.libdoc.vsides,
table.libdoc.lhs,
table.libdoc.border,
table.libdoc.cols th,
table.libdoc.cols td {
    border-left: thin solid black;
}
table.libdoc.cols th:first-child,
table.libdoc.cols td:first-child {
    border-left: none;
}
table.libdoc.vsides,
table.libdoc.rhs,
table.libdoc.border {
    border-right: thin solid black;
}
table.libdoc.all th,
table.libdoc.all td {
    border: thin solid black;
}
table.libdoc.above,
table.libdoc.hsides,
table.libdoc.vsides,
table.libdoc.border,
table.libdoc.groups,
table.libdoc.cols,
table.libdoc.rows,
table.libdoc.all {
    margin-top: 1rem;
}
table.libdoc.below,
table.libdoc.hsides,
table.libdoc.vsides,
table.libdoc.border,
table.libdoc.groups,
table.libdoc.cols,
table.libdoc.rows,
table.libdoc.all {
    margin-bottom: 1rem;
}
table.libdoc th,
table.libdoc td {
    padding: 0.25rem 1rem;
}
table.libdoc th:first-child,
table.libdoc td:first-child {
    padding-left: 0;
}
table.libdoc th:first-child,
table.libdoc td:first-child {
    padding-left: 0;
}
table.libdoc.none th,
table.libdoc.none td {
    padding-left: 0;
}
table.libdoc.lnum th,
table.libdoc.lnum td {
    padding-right: 0;
}
table.libdoc.groups th,
table.libdoc.groups td,
table.libdoc.rows th,
table.libdoc.rows td,
table.libdoc.all th,
table.libdoc.all td {
    padding: 0.5rem 1rem;
}
table.libdoc.groups th:first-child,
table.libdoc.groups td:first-child,
table.libdoc.rows th:first-child,
table.libdoc.rows td:first-child {
    padding-left: 0;
}
table.libdoc.groups th:last-child,
table.libdoc.groups td:last-child,
table.libdoc.rows th:last-child,
table.libdoc.rows td:last-child {
    padding-right: 0;
}
table.aux {
    margin: 0em;
    text-align: left;
}
table.contents {
    margin: 0em;
    text-align: left;
}
table.funindex {
    width: 99%;
    margin: 0em;
    text-align: left;
}

col.lnum {
    width: 1.8rem;
}
col.w3 {
    width: 3rem;
}
col.w8 {
    width: 8rem;
}
col.w9 {
    width: 9rem;
}
col.w11 {
    width: 11rem;
}

td.indent1 {
    font-weight: bold;
}
td.indent2 {
    padding-left: 0.8rem;
}
td.indent3 {
    padding-left: 1.6rem;
}
td.indent4 {
    padding-left: 2.4rem;
}
td.indent5 {
    padding-left: 3.2rem;
}
td.indent6 {
    padding-left: 4.0rem;
}
td.indent7 {
    padding-left: 4.8rem;
}
table.wdrncontents {
    text-align: left;
    margin-top: -2em;
    margin-bottom: 2em;
}
table.frame-all {
    border-style:solid;
}
table.frame-all-center {
    border-style:solid;
    margin-left:auto;
    margin-right:auto;
}
table.frame-none {
    border-collapse: collapse;
    border-style:none;
}
table.frame-none-center {
    border-collapse: collapse;
    border-style:none;
    margin-left:auto;
    margin-right:auto;
}
table.formula {
    width: 100%;
}
table.formula-bmatrix {
    width: 100%;
}
table.formula-eqn {
    width: 100%;
}

table.cspec1 {
    margin-top: 0em;
    margin-left: 0em;
    border: 0;
    border-spacing: 0;
}
table.cspec2 {
    margin-top: 0.5rem;
    margin-left: 0em;
    border: 0;
    border-spacing: 0;
}
table.cspec3 {
    background-color: #FFFFDD;
    margin-top: -0.3em;
    margin-left: 0em;
    border: 0;
    border-spacing: 0;
}

table.fspec1 {
    margin-top: 0;
    margin-left: 0em;
    border: 0;
    border-spacing: 0;
}
table.fspec2 {
    margin-top: -0.3em;
    margin-left: 0em;
    border: 0;
    border-spacing: 0;
}
table.fspec3 {
    margin-top: 0.5rem;
    margin-left: 0em;
    border: 0;
    border-spacing: 0;
}

table.ifail {
    margin-top: 0.5rem;
    border-spacing: 0em;
    width: 100%;
}
table.wdrn {
    margin: 0em;
    text-align: left;
}
table.multi-optparam {
    margin-top: 0em;
    width: 100%;
}
table.optparam {
    margin-top: 1em;
    width: 100%;
}
table.standard {
    margin-top: 0.5rem;
    margin-left:auto;
    margin-right:auto;
}
table.standard-100 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    margin-left:auto;
    margin-right:auto;
    width: 100%; 
}
table.standard-90 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    margin-left:auto;
    margin-right:auto;
    width: 90%; 
}
table.inline {
    display:inline; 
    margin-top: 0.5rem;
    vertical-align:middle;
}

table.verbatim {
    width: 100%;
}
table.variable {
    margin-bottom: 0.5rem;
    table-layout: auto;
}

table table.variable {
    margin-bottom: 0em;
}

th.center,
td.center {
    text-align: center;
}

th.left,
td.left {
    text-align: left;
}

th.right,
td.right {
    text-align: right;
}

td.contents {
    padding: 0em;
    vertical-align: baseline;
}

th.contentshead,
td.contentsdoc {
    padding-top: 0.5rem;
    padding-left: 1rem;
    vertical-align: baseline;
    text-align: left;
}
th.contentshead.center,
td.contentsdoc.center {
    text-align: center;
}
th.contentshead:first-child,
td.contentsdoc:first-child {
    padding-left: 0em;
}
td.funindex {
    padding-top: 0.5rem;
    vertical-align: baseline;
}
td.funindex1 {
    width: 1pt;
    white-space: nowrap;
}
td.funindex3 {
    width: 1pt;
    white-space: nowrap;
}
td.ldots {
    border-left: 0.3em solid transparent;
    border-right: 0.3em solid transparent;
    border-bottom: 0.1em dotted black;
}
td.formula {
    text-align: center;
    width: 90%;
}
td.formula2 {
    text-align: right;
    width: 4rem;
}
td.formula-bmatrix {
    text-align: center;
    width: 90%;
}
td.formula-bmatrix2 {
    text-align: right;
    width: 4rem;
}
td.formula-eqn {
    text-align: center;
    width: 90%;
}
td.formula-eqn {
    text-align: center;
    width: 90%;
}
td.formula-eqn-align-1 {
    text-align: right;
    width: 25%;
}
td.formula-eqn-align-2 {
    text-align: left;
}
td.gamscode {
    font-weight: bold;
    padding-left: 1em;
    padding-right: 1em;
    vertical-align: baseline;
}
td.ifail1 {
    border-collapse: collapse;
    border-spacing: 0em;
    margin-left: 0em;
    padding-left: 0em;
    padding-right: 0em;
    vertical-align: top;
    width: 1em;
}
td.ifail2 {
    padding-left: 0.3em;
    vertical-align: top;
}
td.ifail2-100 {
    padding-left: 0.3em;
    vertical-align: top;
    width: 100%;
}
td.ifail2-90 {
    padding-left: 0.3em;
    vertical-align: top;
}
td.imsl1 {
    text-align: left;
    vertical-align: baseline;
    width: 40em;
}
td.imsl2 {
    text-align: left;
    vertical-align: baseline;
    width: 70%;
}
td.imsl3 {
    text-align: left;
    vertical-align: baseline;
    width: 40em;
}
td.index1 {
    text-align: left;
    vertical-align: baseline;
    width: 70%;
}
td.index2 {
    text-align: left;
    vertical-align: baseline;
    width: 30%;
}
td.index-1{
    text-align: left;
    vertical-align: baseline;
    padding-top: 0.5rem;
    padding-left: 0;
}
td.index-2{
    text-align: left;
    vertical-align: baseline;
    padding-top: 0;
    padding-left: 1em;
}
td.index-3{
    text-align: left;
    vertical-align: baseline;
    padding-top: 0;
    padding-left: 2em;
}
td.index-4{
    text-align: left;
    vertical-align: baseline;
    padding-top: 0;
    padding-left: 3em;
}
td.index-5{
    text-align: left;
    vertical-align: baseline;
    padding-top: 0;
    padding-left: 4em;
}
td.libdoc {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    vertical-align: baseline;
}
th.libdoc.baseline,
td.libdoc.baseline {
    vertical-align: baseline;
}
th.baseline,
td.baseline {
    vertical-align: baseline;
}
th.libdoc.top,
td.libdoc.top {
    vertical-align: top;
}
th.libdoc.middle,
td.libdoc.middle {
    vertical-align: middle;
}
th.libdoc.bottom,
td.libdoc.bottom {
    vertical-align: bottom;
}

table.frame-none td {
    padding-bottom: 0em;
}
table.frame-none td.libdoc:first-child {
    padding-left: 0em;
}
table.frame-none td.libdoc:last-child {
    padding-right: 0em;
}
td.acknow:first-child {
    padding-right: 1em;
}
td.nested {
    padding-left: 1em;
    padding-right: 1em;
    vertical-align: top;
}
td.optparam-center {
    margin-bottom: 0.5rem;
    text-align: center;
    width: 10%;
    vertical-align: baseline;
}
td.optparam-left {
    margin-bottom: 0.5rem;
    text-align: left;
    width: 45%; 
    vertical-align: baseline;
}
td.optparam-right {
    margin-bottom: 0.5rem;
    text-align: right;
    width: 45%; 
    vertical-align: baseline;
}
td.variable {
    padding-top: 0.5rem;
    padding-left: 1em;
    vertical-align: baseline;
}
td.variable:first-child {
    white-space: nowrap;
    padding-left: 0em;
}
table[rowsep="0"] tr:first-child td {
    padding-top: 0.5rem;
}
table[rowsep="0"] td {
    padding-top: 0em;
}
table.variable table.variable tr:first-child td {
    padding-top: 0em;
}
td.verbatim1 {
    text-align: left;
    width: 85%;
}
td.verbatim2 {
    text-align: right;
    width: 15%;
}
td.wdrn {
    padding-left: 1em;
    padding-right: 1em;
    vertical-align: baseline;
}
td.aux {
    padding-left: 1em;
    padding-right: 1em;
    vertical-align: baseline;
}

th.libdoc {
    padding-left: 1em;
    padding-right: 1em;
    vertical-align: baseline;
}

div.cspec,
div.fspec,
div.flcspec,
div.flcppspec,
div.nag-method
{    box-sizing:border-box;
     width: 100%;
     border-width: 0;
     padding: 0.5em 1em;
     margin-top: 0.5rem;
}

div.subprog div.cspec {
    padding: 0;
}

div.nag-method {
    padding: 0;
}

table.cspec,
table.fspec,
table.flcspec,
table.flcppspec
{ box-sizing:border-box;
  border-collapse:collapse;
  margin-top: 0.5rem;
  font-family: Courier, monospace;
  line-height: 1.2;
  vertical-align: baseline;
  width: 100%;
}

table.flcsubspec {
    margin-top: 0em;
}

.flcspec, .flcppspec {
    background-color: #EDEDFF;
    width:100%;
    margin-right:0pt;
    padding:0pt;
}

.cspec,
.fspec {
    background-color: #FFFFBB;
}

.fsubspec{
    border-collapse:collapse;
    border-spacing:.5em;
    box-sizing:border-box;
    font-family: Courier, monospace;
    line-height: 1.2;
    vertical-align: baseline;
    margin-top:1em;
    margin-right:1em;
    margin-left: 1em;
    background-color: #FFFFEE;
    border-width: 0;
    padding-left: 2em;
    width: 98%;
}

.fspec > b, .flcspec > b, .flcppspec > b {
    font-family: "Times New Roman", "Times Roman", Serif;
    font-size: 110%;
    font-weight: bold;
}

.cspecfun {
    padding:.1em;
    background-color:#FAFEFF;
}

br.cspec {
   display: block; /* chrome doesn't add margin on default display br*/
   content: "";
   margin-bottom:0.5rem;
   line-height:2em; /* seems to be required for edge ?? */

}

div > div.adloverloadnote{
    background-color: white;
    padding: .5em;
}

.gamscode {
    font-weight: bold;
}

/***************************
.header {
    font-size: smaller;
}
***************************/

.italic {
    font-style: italic;
}

.mono{
    font-family: Courier, monospace;
    font-size: 0.95em;
    line-height: 1.2;
}

.overline {
    border-color: black;
    border-style: solid;
    border-width: .1em 0em 0em 0em;
}

.pclass {
    display:block;
    float:right;
    font-style: italic;
}

.phantom {
    color: white;
    display: none;
}

td.rout {
    font-weight: bold;
    vertical-align: top;
}

.selected {background-color:#CCCCCC;}

.subspec {
    background-color: #FFFFDD;
    font-family: Courier, monospace;
    font-size: 0.875rem;
    line-height: 1.2;
    margin-top: 0em;
    margin-bottom: 0em;
}

.subprog {
    background-color: #FFFFDD;
    border-style: solid;
    border-width: 1px;
    margin-top: 0.5rem;
    margin-bottom:0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-bottom: 0.5rem;
    box-sizing: border-box;
    width: 100%;
}

.tdcspec1 {
    margin-left: 15em;
    text-align: left;
    vertical-align: top;
}

/* AD spec layout */
table.flcppspec .cspec2 .tdcspec1 {
    white-space: nowrap;
}

.tdcspec2 {
    margin-left: 15em;
    text-align: left;
    vertical-align: top;
}

.tdcspec3 {
    margin-left: 15em;
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
}

.tdfspec1 {
    margin-left: 15em;
    text-align: left;
    vertical-align: top;
}

.tdfspec1b {
    text-align:left;
    white-space:nowrap;
    vertical-align: top;
}

.tdfspec2b {
    padding-left: 1rem;
    padding-right: 1rem;
    text-align:left;
    white-space:nowrap;
    vertical-align: top;
}

.tdfspec2 {
    text-align: left;
    vertical-align: top;
}

span.nw{
    white-space: nowrap;
}

.texbar {
    border-style: solid;
    border-width: 2px 0 0 0;
}

.texdot {
    border-style: dotted;
    border-width: 2px 0 0 0;
}

.texunderbar {
    border-style: solid;
    border-width: 0 2px  0 0;
}

.u {
    text-decoration: underline;
}

.under {
    text-decoration: underline;
}

pre.verbatim {
    margin: 0em;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-top: 0.5rem;
    padding-right: 1em;
    padding-bottom: 0.5rem;
    padding-left: 1em;
    font-family: Courier, monospace;
    font-size: 0.875rem;
    font-variant-ligatures: none;
    line-height: 1.2;
    background-color:#F0F0F0;
}
pre.verbatim-small {
    font-size: 0.775rem;
}
pre.verbatim-tiny {
    font-size: 0.675rem;
}
td pre.verbatim {
    margin-bottom: 0em;
}


/* INDEX STYLES FOLLOW */

div.cat {
    width: 100%; 
    height: 1.1em;  /* needed by NN6*/
    border-bottom: 2px dotted gray;
    margin-top: .9em;
    font-size: 1rem;
}

div.blankcat {
    width: 100%; 
    height: 1.1em;  /* needed by NN6*/
    border-bottom: solid white .2em;
    margin-top: .9em;
    font-size: 1rem;
}

div.subcat {
    width: 100%;
    height: 1.1em;		/* needed by NN6*/
    border-bottom: 2px dotted gray;
    margin-top: .2em;
    font-size: 1rem;
}

div.blanksubcat {
    width: 100%;
    height: 1.1em;		/* needed by NN6*/
    border-bottom: solid white .2em;
    margin-top: .2em;
    font-size: 1rem;
}

.itemname	{
    float: left;
    position: relative; /*needed by IE6*/
    top: 5px;
    background-color: white;
    margin-bottom: -.3em;
    border-bottom: solid white .2em;
    padding-right: 10px;
    text-align: left;
}

.num	{
    float: right;
    position: relative; /* needed by IE6*/
    top: 5px;
    background-color: white;
    margin-bottom: -.4em;
    border-bottom: solid white .2em;
    width: 44px;
    padding-left: 10px;
    text-align: right;
}

td.yes {background-color: #CCFFCC;}
td.no {background-color: #DDDDDD;}
tr.no {background-color: #DDDDDD;}
tr.wdrn {background-color: #DDDDDD;}
tr.wdrn > td {text-decoration: line-through;}

/* END OF INDEX STYLES */

/*new dtree */
td.dtreeno{
    border-left: solid black 1px;
    padding-top: 1ex;
    padding-bottom: 1ex;
    padding-left: .2em;
}

tr.dtpad {
    height: 1.5em;
}

td.dtentryq{
    background-color:white;
    border-color: black;
    border-style: solid;
    border-width: thin;
    text-align: center;
    border-radius:1em;
    margin: .5em .5em .5em .5em ;
    padding: .5em .5em .5em .5em ;
}

td.dtentrya{
    background-color:white;
    border-color: black;
    border-style: solid;
    border-width: thin;
    text-align: center;
    margin: .5em .5em .5em .5em ;
    padding: .5em .5em .5em .5em ;
}

table.dtree {
    border-collapse: separate;
    margin-top: 0.5rem;
    table-layout:fixed;
    width:100%;
    border-collapse: separate;
    border-color: black;
    border-style: solid;
    border-width: thin;
    padding: 1em;
    background-color: #F3F3F3;
}

.dtyesbar {
}

.dtyes {
    border-style: solid;
    border-color: black;
    border-width: 1px 0 0 0;
    padding-left: 1ex;
    padding-right: 1ex;
    padding-top: 0;
    text-align: center;
    vertical-align:top;
}

.hidden {display:none;}

*:target {background-color: #F0F0F0;
	  border-style: solid;
	  border-width : 0 0 0 3px;
	  border-color: #AAAAFE;}
dt:target {background-color: #F0F0F0;
	  border-style: solid;
	  border-width : 0 0 0 0px;
	  border-color: #AAAAFE;}
dt:target > span.pnum{background-color: #F0F0F0;}

button.copyspec {display: none ;}
