/* DITA Open Toolkit documentation style */

/****************************************
Basic fonts and typography
****************************************/

article {
  color: #333;
}

body {
  background-color: white;
  background-image: -webkit-linear-gradient(left, #eee 0%, #fff 300px); /* Chrome10+,Safari5.1+ */
  background-image:    -moz-linear-gradient(left, #eee 0%, #fff 300px); /* FF3.6+ */
  background-image:         linear-gradient(left, #eee 0%, #fff 300px); /* W3C */
  color: #333;
  margin: 0;
  padding: 1em;
  padding-bottom: 5em;
}
div.header-logo hr {
  border: 0;
  color: #ececec;
  border-bottom: 1px solid #ececec;
  height: 0;
}
div.header {
  font-size: 18pt;
  margin: 0;
  padding: 0 12px;
}

div.header p {
  color: #777;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.3;
  margin: 0;
}

div.header hr {
  border: 0;
  border-bottom: 1px solid #eee;
  height: 0;
}

body,
caption,
td,
th {
  font-family: 'Open Sans', sans-serif;
  font-size: 10pt;
}

code,
pre,
.cmdname,
.filepath,
.msgnum,
.option,
.parmname {
  color: #777;
  font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
  font-size: 90%;
}

/****************************************
Headings
****************************************/

h1,
h2,
h3 {
  font-family: 'Open Sans' !important;
  color: rgb(106,0,244);
  font-size: 12pt;
  font-weight: bold;
  margin-bottom: 0.75em;
  margin-left: 0;
  margin-right: 0;
  margin-top: 1em;
  padding: 0;
}
h1 {
  font-size: 20pt;
}
h2 {
  font-size: 16pt;
}
h3 {
  font-size: 14pt;
}

h1 .filepath,
h2 .filepath,
h3 .filepath {
  font-family: 'Open Sans', sans-serif;
  font-size: 12pt;
  font-weight: bold;
}

h1 .filepath {
  color: #B100E8;
}
section {
	margin-top: 3em !important;
}
.sectiontitle {
  color: #B100E8;
  font-weight: bold;
}

.topictitle1 {
  margin-top: 1em;
  font-size: 20pt;
}
.topictitle2 {
  font-size: 16pt;
}
.topictitle3 {
  font-size: 14pt;
}

/****************************************
Basic identation, padding, and margins
****************************************/

main {
  margin-top: .5em;
  margin-left: 350px;
}

blockquote,
li,
p {
  line-height: 150%;
  margin-bottom: 0.75em;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0.75em;
  padding: 0;
}
dt {
  font-family: 'Open Sans' !important;
  font-weight: bold;
}
dd {
  line-height: 125%;
  margin-bottom: 0.75em;
  margin-top: 0.75em;
}

dl {
  line-height: 125%;
  margin-bottom: 0.75em;
  margin-left: 2em;
  margin-right: 0;
  margin-top: 0.75em;
  padding: 0;
}

ol,
ul {
  margin-bottom: 0.75em;
  margin-left: 3em;
  margin-right: 0;
  margin-top: 0.75em;
  padding: 0;
}

ol li {
	counter-increment: item;
	list-style-type: none;
}
ol li:before {
	content: counter(item) ". ";
	color: rgb(106,0,244);
}

pre {
  margin-bottom: 0.75em;
  margin-left: 2em;
  margin-top: 0.75em;
  padding: 0;
}

/****************************************
Block elements
****************************************/

.codeblock,
.screen {
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px;
}

/****************************************
Figures
****************************************/

figcaption {
  font-style: italic;
}

/****************************************
In-line elements
****************************************/

.cmdname,
.msgnum {
  font-weight: bold;
}

/****************************************
Links
****************************************/

a:link {
  color: rgb(106,0,244);
  text-decoration: none;
  cursor: pointer;
}

a:active,
a:hover {
  color: #B100E8;
  text-decoration: underline;
  cursor: pointer;
}

.related-links {
  color: #B100E8;
  cursor: pointer;
}

.linklist {
  margin-top: 1em;
}

/****************************************
Notes
****************************************/
/* Custom notes */
/* Customize note icons */
.note {
  margin: 0;
}
div.note {
  /* background-color: #ececec; */
  margin: .5em 1em;
  border-radius: 3px;
  min-height: 50px;
  font-family: 'Open Sans' !important;
  font-weight: 300;
  font-size: 1.1em;
  color:#555;
  line-height: 150%;
  padding: .4em;
}
span.note__title {
  width: 50px;
  height: 50px;
  min-height: 50px;
  padding: .3em;
  padding-top: 1.2em;
  margin: .4em;
  text-align: center;
  vertical-align: middle;
  color: transparent;
}
td.note__icon > span {
  width: 40px;
  height: 40px;
  display: inline-block;
}
td.note__icon span {
  box-shadow: 2px 2px 1px -1px #888;
  border-radius: 5px;
}
div.note_note > span.note__title {
  background: url('../artwork/note.svg') no-repeat right bottom;
}
div.note_warning > span.note__title, div.note_caution > span.note__title, div.note_important > span.note__title {
  background: url('../artwork/warn.svg') no-repeat right bottom;
}
div.note_tip > span.note__title {
  background: url('../artwork/best-practice.svg') no-repeat right bottom;
}

/* Customize note titles, mapped to note types */
.note__title {
  font-style: italic;
}
.note__title.warning, .note__title.caution, .note__title.important {
  color: #F20089;
}
.note__title.tip {
  color: #B100E8;
}
.note__title.note {
  color: rgb(106,0,244);
}

/****************************************
Tables
****************************************/

table {
  border: none;
  margin-bottom: 1em;
  margin-top: 1em;
  padding: 1px;
}

tr {
  border-color: Silver;
}
th, td {
	padding: 1em;
	text-align: left;
}
td {
  border-color: Silver;
}
tr:nth-child(even) {
	background-color: #fff;
}
tr:nth-child(odd) {
	background-color: #ececec;
}

th {
  background-color: #ccc;
  line-height: 160%;
  border-bottom: 1px solid rgb(106,0,244) !important;
}

/****************************************
Navigation
****************************************/

nav[role=toc] {
  position: fixed;
  height: 100vh;
  bottom:0;
  left: 0;
  overflow: auto;
  width: 340px;
  margin-right: 20px;
  border-radius: 5px;
  background-color: #ececec;
  border: 1px solid #ccc;
}
nav[role=toc] div.logo {
  margin: 1em;
}
nav[role=toc] ol, nav ul {
  margin-left: 1.5em;
  list-style-type: none;
  font-family:Arial, Helvetica, sans-serif;
}
nav[role=toc] > div.well > ul > li {
  font-weight: bold;
}
nav[role=toc] ul > li > ul {
  font-weight: normal !important;
}
nav[role=toc] ul > li > span, nav[role=toc] ul > li > a {
  font-size: 1.1em;
  color: #555;
}
nav[role=toc] li.active > a{
  color: rgb(106,0,244);
  font-weight: bold;
}
nav[role=toc] a {
  color: #555;
}
nav[role=toc] a:hover {
  color: #B100E8;
  text-decoration: none;
}

/* Custom Output Classes */
.code_func { color: purple;}
.code_str {color: red;}
.code_int {color: blue;}
.code_comment {color: green;}

.uicontrol {
	border-radius: 3px;
	background-color: #ececec;
	padding: 3px;
}
