body {
  width: 100%;
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  color: #222;
  font-family: arial, sans-serif;
  font-size: 14px;
  display: none;
  background-color: #f2f2f2;
}

div {
  width: 100%;
}

input#sidebar_scroll, input#highlighted_link, a[name=top] {
  margin: 0;
  padding: 0;
  line-height: 0;
  position: absolute;
  top: 0;
  height: 0;
}

/*********** Page header ************************/
#kreatvdocs-header {
  position: relative;
  height: 105px;
  top: 0;
  left: 0;
  z-index: 2;
  min-width: 1024px;
  width: 100%;
  background-color: #fff;
  border-bottom: 2px solid #757575;
  font-size: 14px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.20);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.20);
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.20);
}

#header-logo img.logo {
  margin: 20px 0 0 30px;
}

#header-title {
  right: 0;
  left: 0;
  top: 35px;
  position: absolute;
  text-align: right;
}

#header-tabs ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#header-tabs li a, #header-tabs li p {
  text-decoration: none;
  display: block;
  padding-top: 6px;
  padding-left: 4px;
  padding-right: 4px;
  height: 20px;
  color: #fff;
  font-weight: bold;
  border-bottom: none;
  margin-bottom: 0;
  cursor: pointer;
  vertical-align: top;
}

#header-tabs ul > li.selected {
  background-color: #f47721;
  border-bottom: 2px solid #f47721;
  z-index: -99;
}

#header-tabs > ul {
  position: absolute;
  top: 77px;
  margin-left: 110px;
}

#header-tabs > ul > li {
  display: inline;
  float: left;
  text-align: center;
  padding: 0;
  margin-right: 3px;
  min-width: 110px;
  text-align: center;
  background-color: #757575;
  -webkit-border-top-left-radius: 4px;
  -moz-border-radius-topleft: 4px;
  border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
  -moz-border-radius-topright: 4px;
  border-top-right-radius: 4px;
}

#header-tabs li.subtab:hover {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.70);
  -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.70);
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.70);
  border-bottom: none;
}

#header-tabs li.subtab li {
  border: 0 solid black;
  border-top: 1px solid #888;
  width: 100%;
  margin: 0;
  padding: 0;
}

#header-tabs li.subtab a {
  cursor: default;
}

#header-tabs li.subtab li a {
  cursor: pointer;
}

#header-tabs li.subtab ul {
  display: none;
  background-color: #777;
}

#header-tabs li.subtab:hover ul {
  display: block;
}

#header-tabs li.subtab li:first-child {
  margin-top: 2px;
  border-top: none;
}

#header-tabs li.subtab li.selected:first-child {
  margin-top: 0;
  border-top: 2px solid #E76A14;
}

#header-tabs li.subtab:hover ul li:hover {
  background-color: #888;
}

#header-tabs li.subtab:hover ul li.selected:hover {
  background-color: #ff913b;
}


/******** print related formatting *****/
#main-content #print-table {
  padding: 0;
  margin: 0;
  border-collapse: collapse;
}

#print-table tfoot {
  display: none;
}

/************ sidebar *******************************/
#searchbox {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  bottom: 0;
  position: absolute;
  background-color: #d7d5d3;
  padding-left: 15px;
  height: 30px;
}

#searchbox a {
  top: 5px;
  position: relative;
}

#search_input {
  font-size: 1em;
  border: 1px solid #000;
  padding-left: 2px;
  top: 2px;
  height: 90%;
  margin: auto auto;
  position: relative;
}

#search_button {
  position: relative;
  top: 2px;
  font-size: 1em;
}

#sidebar {
  position: absolute;
  left: 0;
  width: 300px;
  bottom: 0;
  top: 0;
  background-color: #f2f2f2;
  white-space: nowrap;
  font-size: 13px;
  overflow: hidden;
}

#sidebar-content {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: auto;
  overflow-x: hidden;
  overflow-y: auto;
  white-space: nowrap;
}

.sidebar-category {
  margin: 0;
  padding-left: 15px;
  padding-right: 10px;
  margin-top: 25px;
}

.sidebar-category-title-arrows {
  position: absolute;
  left: 0;
  top: 0;
  width:9px;
  height: 9px;
  padding: 0;
  margin: 0;
}

.sidebar-category-title-arrows a {
  position: absolute;
  top: 3px;
}

.sidebar-category-title-arrows img {
  position: absolute;
  left: 0;
  top: 0;
  padding: 0;
  margin: 0;
  display: block;
}

.sidebar-category-title-wrapper {
  margin-top: 15px;
  position: relative;
  left: -2px;
}

.sidebar-category-title-text {
  font-size: 12px;
  font-weight: bold;
  width: 100px;
  margin-left: 15px;
}

.sidebar-category-links {
  margin-left: 14px;
  margin-top: 5px;
}

.sidebar-category-link {
  padding: 0;
  padding-bottom: 1px;
  margin: 0;
}

.sublinks .sidebar-category-link a {
  padding-left: 15px;
}

.sidebar-category-link a,
.sidebar-category-alphabetically-ordered a {
  text-decoration: none;
  color: #252379;
  border-bottom: none;
}

.sidebar-category-link a:visited {
  color: #252379;
}

.sidebar-category-link a:hover {
  text-decoration: underline;
}

.sidebar-category-link a.selected {
  background-color: #757575;
  display: block;
  color: #fff;
  font-weight: bold;
}

.sidebar-category-link .sublinks a.selected {
  background-color: #858585;
}

.sidebar-category-link a.pselected {
  font-weight: bold;
}

.sidebar-category-link a.selected.brokenLink {
  color: #f44;
}

.expand-icon {
  display: none;
}

.sidebar-category-link .expand-icon {
  display: block;
  position: absolute;
  left: -10px;
  top: -2px;
}

.sidebar-category-link .selected .expand-icon,
.sidebar-category-link .pselected .expand-icon {
    opacity: 0.3;
}

.sublinks {
  display: none;
  background-color: #e4e4e4;
  padding-bottom: 4px;
  padding-top: 4px;
}

.sidebar-category-link a.selected~.sublinks,
.sidebar-category-link a.pselected~.sublinks {
  display: block;
}

/* grip */
#grip {
  position: absolute;
  left: 300px;
  top: 0;
  bottom: 0;
  width: 5px;
  background-color: #e7e5e3;
  cursor: e-resize;
  z-index:999;
}


/************** main content ********************/
#main-content {
  background-color: #fff;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 300px;
  right: 0;
  margin-bottom: 0;
  margin-left: 5px;
  overflow: auto;
  width: auto;
  padding-left: 10px;
  padding-right: 25px;
  padding-top: 15px;
  padding-bottom: 10px;
}

#main-content .headertitle {
  margin-top: 1em;
}

#main-content .headertitle > .title {
  color: #252379;
  font-size: 1.5em;
  font-weight: bold;
}

#header-title img.title {
  padding-right: 10px;
}

/*** headings and their whitespacing *****/
#main-content h1,h2,h3 {
  color: #252379;
  margin-bottom: 9px;
}

#main-content h1 {
  font-size: 1.5em;
}

#main-content h2 {
  font-size: 16px;
  margin-top: 25px;
  padding-top: 10px;
}

#main-content h2:first-of-type {
  padding-top: 10px;
}

#main-content h3 {
  font-size: 1.0em;
  padding-top: 10px;
  color: #556;
}

#main-content h3:first-of-type {
  margin-top: 0px;
  padding-top: 10px;
}

/******* links **********/
a {
  color: #252379;
  text-decoration: none;
  border-bottom: 1px solid #8786b7;
}

a:active {
  color: #252379;
}

a:active code {
  color: #974277;
  text-decoration: none;
}

a:visited {
  color: #252379;
}

.brokenLink {
  color: #f44 !important;
}

.categoryEdit {
  color: #000;
}

a code {
  color: #974277;
  text-decoration: none !important;
}

a:visited code {
  color: #974277;
  text-decoration: none !important;
}

.image-right {
  float: right;
  margin-top: 10px;
  padding: 10px;
}

/******** code examples  - see highlight.css for syntax highlighting styles *******/
pre {
  padding-right: 5px;     
  margin-right: 5px;     
  padding-bottom: 5px;     
  margin-bottom: 5px;
  font-size: 14px;
}

code {
  color: #066;
}

/* pre code used to create a shadowed box with overflows and padding */
pre code {
  max-height: 500px;
  max-width: 1000px;
  overflow: auto;
  color: #000;
  font-size: 13px;
  border: 1px solid #bbb;
  width: 100%;
  background-color: #f2f0f0;
  padding: 15px;
  padding-top: 0;
  padding-left: 10px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  margin-bottom: 10px;
  -moz-box-shadow: 3px 3px 4px #ccc;
  -webkit-box-shadow: 3px 3px 4px #ccc;
  box-shadow: 3px 3px 4px #ccc;
  /* For IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#cccccc')";
}

/* classes for the code tag indicate further types of code content */
code.code_extract {
  background-color: #f2f0f0;
  padding-left: 10px;
}

pre.code_extract {
  margin-top: 0px;
}
code.bootimage_config {
  background-color: #f0f0f9;
}

code.generic_file {
  background-color: #f0f9f0;
}

p code, p kbd {
  font-size: 14px;
}

pre samp {
  position: relative;
  top: -10px;
}

dfn {
  font-size: 15px;
  font-style: normal;
  color: #c43f00;
}

samp {
  font-size: 12px;
  font-family: monospace;
  color: #000;
}

kbd {
  font-weight: normal;
  color: #373;
}

pre kbd {
  position: relative;
  top: -5px;
}

/******* tips, notes and cautions *******/
p.tip {
  border-left: 6px solid #6dca35;
  padding-left: 15px;
}

p.note {
  border-left: 6px solid #ffc645;
  padding-left: 15px;
}

p.caution {
  border-left: 6px solid #d42810;
  padding-left: 15px;
}

.bad-example code {
  background-image: url('../images/bad_example_bg.png');
}

.white-on-white {
  color: #fff;
  background-color: #fff;
}

.opaqueWhiteBackground {
  background: rgba(255, 255, 255, 1.0);
}

/* figures */
figure {
  display: block;
}

figcaption {
  display: block;
  vertical-align: baseline;
  clear: left;
  font-style: italic;
  margin: 0.75em 0;
}

p {
  line-height: 1.43em;
  margin-top: 0;
  margin-bottom: 18px;
}

p:last-child {
  margin-bottom: 0;
}

p.search_result {
  margin-top: 5px;
  margin-bottom: 0;
}

p.search_url_and_score {
  margin-top: 0;
  margin-bottom: 20px;
  color: #336633;
}

ul, ol, dl, dd, dt, li {
  padding-top: 0;
}

li {
  padding: 0 0 .3em;
}

/******** tables ***********/
.no-border {
  border-collapse: collapse;
  border: 0px;
}

#main-content table {
  border-collapse: collapse;
  border-color: #6f889c;
  margin-left: 0;
  margin-right: 0;
  margin-top: 10px;
  margin-bottom: 10px;
}

#main-content th, td {
  border-width: 1px;
  border: 1px solid #ccc;
  vertical-align: baseline;
  border-color: #6f889c;
  line-height: 1.43em;
}

#main-content th {
  padding: 3px;
  background: #e8e8e8;
}

#main-content td {
  padding: 2px;
}

#main-content td.noframe {
  border-style: none;
  background: #ffffff;
}

#main-content .centered {
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* internal content: this is located in the customer css as
 * we do not want this styling to ever disappear from a page */
.internal-content {
  border: 2px solid #e51b24 !important;
  padding-left: 10px !important;
  padding-right: 70px !important;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  box-sizing: content-box;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  border-radius: 15px;
  width: 90%;
  border: 2px solid #e51b24;
  background-image: url('../images/internal_documentation.png');
  background-repeat: no-repeat;
  background-position: 100% 0%;
}

:not(tr).internal-content:before {
  content: "";
}

.internal-content :not(td) p {
  margin-right: 50px;
}

tr.internal-content {
  background-image: none;
}

tr.internal-content td:last-child {
  background-image: url('../images/internal_documentation.png');
  background-repeat: no-repeat;
  background-position: 100% 0%;
}

#main-content tr.internal-content td:last-child {
  padding-right: 50px;
}

#internal-documentation-image {
  position: relative;
  float: right;
  top: 130px;
}

.internal-documentation-link {
  color: #e51b24;
}

#internal-content pre {
  border: 1px solid #bbb;
  background-color: #eee;
  padding: 3px 10px 10px 10px;
  margin-right: 20px;
  -webkit-box-shadow: 3px 3px 4px #ccc;
  box-shadow: 3px 3px 4px #ccc;
}

#internal-content pre > code {
  color: #007000;
  font-family: monospace;
}

#internal-content img {
  max-width: 100%;
}

.extract_path {
  font-size: 12px;
  color: #888;
  margin: 0px;
  padding: 0px;
  bottom: 0px;
  text-align: right;
  position: relative;
  right: 30px;
  font-family: monospace;
}

/************* iip doc **************/
#main-content table .iipDocParameters table,
#main-content table .iipDocParameters tr,
#main-content table .iipDocParameters td,
#main-content table .iipDocParameters th {
  border-collapse: collapse;
}

#main-content table th.iipDocParametersDescription {
  min-width: 250px;
}

/*************************** doxygen *********/
.contents table {
  border-color: #fff;
}

.contents td {
  border-color: #fff;
}

.contents th{
  border-color: #fff;
}

.contents .memitem {
  width: 900px;
  margin: 0;
  margin-right: 20px;
  margin-bottom: 20px;
  padding: 0;
  border-color: #999;
  border: 1px solid #999;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -moz-box-shadow: 3px 3px 4px #ccc;
  -webkit-box-shadow: 3px 3px 4px #ccc;
  box-shadow: 3px 3px 4px #ccc;
  /* For IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#cccccc')";
}

.contents .memproto {
  padding: 4px 0;
  background-color: #dddddd;
  font-size: 14px;
  font-family: monospace;
  -webkit-border-top-left-radius: 6px;
  -moz-border-radius-topleft: 6px;
  border-top-left-radius: 6px;
  -webkit-border-top-right-radius: 6px;
  -moz-border-radius-topright: 6px;
  border-top-right-radius: 6px;
}

#main-content .contents .memitem table,
#main-content .contents .memitem tr,
#main-content .contents .memitem td,
#main-content .contents .memitem tbody,
#main-content .contents .memitem th {
  border-style: none;
}

#main-content .contents .memproto table {
  font-size: 12px;
  border-style: none;
  margin-left: 10px;
}

#main-content .contents .memproto td {
  white-space: nowrap; 
  border-style: none;
}

#main-content .contents .memproto td:last-child {
  white-space: normal; 
  border-style: none;
}

/* hide stupid exceptions td (shown later anyway) */
#main-content .contents .memproto tr:last-child  td:not(:first-child):last-child {
  display: none;
}

.contents .memdoc {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  margin: 0;
  padding: 5px 10px;
  background-color: #eeeeee;
  border-top: 1px solid #bbb;

  -webkit-border-bottom-left-radius: 6px;
  -moz-border-radius-bottomleft: 6px;
  border-bottom-left-radius: 6px;
  -webkit-border-bottom-right-radius: 6px;
  -moz-border-radius-bottomright: 6px;
  border-bottom-right-radius: 6px;
}

.contents .memitem dl {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 13px;
  padding-bottom: 13px;
}

.contents .memitem p {
  margin-top: 0;
  margin-bottom: 13px;
  padding-top: 13px;
  padding-bottom: 0;
  background-color: #eeeeee;
}

.memberdecls {
  border-collapse: collapse;
  width: 900px;
  border: none;
  padding: 0;
  margin: 0;
}

.memberdecls td {
  border: none;
  padding: 0 !important;
  margin: 0 !important;
}

.memberdecls h2 {
  background-color: #eee;
  margin-top: 30px;
  margin-bottom: 10px;
  padding-bottom: 3px;
  border-bottom: 1px solid #aaa;
}

.memberdecls td:nth-child(1) {
  width: 300px;
}

.memberdecls .groupHeader {
  font-size: 14px;
  font-weight: bold;
  color: #252379;
  padding-top: 10px;
  margin-top: 5px;
  padding-bottom: 10px;
}

.memberdecls tr, .memberdecls td {
  width: 900px;
  font-size: 14px;
  padding-bottom: 6px !important;
}

.contents .memberdecls .memItemLeft {
  padding-right: 20px !important;
}

.contents .memberdecls tr {
  /* why is margin and padding not working here?? */
  padding-bottom: 50px  !important;
  margin-bottom: 20px !important;
}

#pageContent {
  padding-left: 20px;
  width: 685px;
  -webkit-overflow-scrolling: touch;
}

#pageContent img {
  max-width: 100%;
}

#pageContent .dyncontent img {
  max-width: none;
}

/************** footer ***********************/
#footer {
  position: absolute;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  height: 58px;
  padding-top: 10px;
  z-index: 1;
  width: 100%;
  border-top: 1px solid #bbb;
  display: inline;
  font-weight: bold;
  bottom: 0;
  color: #888;
  background-color: #fff;
}

#footer p {
  margin-left: 20px;
  margin-bottom: 0;
  white-space: nowrap;
}

#footer > #api-selection {
  float: right;
  display: inline;
  margin-right: 10px;
  font-weight: normal;
  color: black;
}

#footer > #api-selection > select {
  border: 1px solid #777;
  padding: 2px;
  border-radius: 3px;
  background-color: white;
  font-size: 14px;
  font-family: inherit;
  font-weight: bold;
}

#footer > #api-selection > select:focus {
  outline: none;
}

#footer > #api-selection a {
  border: none;
}

#footer > #api-selection img {
  border: none;
  position: relative;
  top: -4px;
}

#search_results .search_result_title {
  padding: 10px;
  padding-left: 0px;
  font-size: 17px;
}

#search_results .search_result_description {
  font-size: 15px;
}

.search_nextprev {
  font-size: 16px;
}

/* middle (containing sidebar and main content) */
#middle {
  position: absolute;
  top: 105px;
  bottom: 58px;
}

/********** MMD specific styles ************/
pre > code.mmd-code {
  padding-top: 1em;
}

/* Tabbed box styles */
.tabbed-box {
  line-height: normal;
}

.tabbed-box .api-tabs span {
  color: #444040;
  padding: 5px;
  padding-top: 2px;
  padding-bottom: 2px;
  border: 1px solid #bbb;
  border-radius: 3px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background-color: #d2d0d0;
  position: relative;
  top: 12px;
  cursor: default;
  font-size: 0.9em;
}

.tabbed-box .api-tabs span:hover {
  color: black;
}

.under_construction {
  text-align: center;
  right: 10px;
  position:absolute;
  display:inline;
}
