/* from the bootswatch theme */
body {
  padding-top: 51px;
  font-family: arial;
}

.col-xs-10.col-sm-7 {
  margin-left: 260px;
}

/* heading font */
h1,
h2,
h3,
h4,
h5 {
  font-family: 'Tahoma', 'DejaVu Sans', 'Ubuntu';
}

.h2,
h2 {
  font-size: 24px;
  color: #4F72A6;
}

.h3,
h3 {
  font-size: 18px;
}

.h4,
h4 {
  font-size: 16px;
}

.text-center {
  padding-top: 20px;
}

.col-xs-12 {
  background-color: #fff;
}

#sidebar {
  height: 100%;
  padding-right: 0;
  overflow-y: auto;
}

#sidebar .nav {
  width: 95%;
}

.toc-main-column {
  display: none;
}

.tags-main-column {
  display: none;
}

/* Styling for screens below 1000px */
@media screen and (max-width: 1000px) {

  /* navbar styling start */
  .container {
    width: 970px;
  }

  .topnavlinks {
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .container>.navbar-header {
    margin-right: -15px;
    margin-left: -15px;
  }

  .navbar-brand {
    float: left;
    height: 50px;
    padding: 10px 15px;
    font-size: 18px;
    line-height: 20px;
    margin-left: 30px !important;
  }

  .navbar-nav {
    width: 50%;
    margin-top: 0;
    margin-bottom: 0;
  }

  .navbar-header {
    width: 100%;
    display: contents;
  }

  .navbar-toggle {
    display: block;
    /* Show navbar-toggle */
  }

  .navbar-collapse.in {
    overflow-y: auto !important;
  }

  .navbar-collapse.collapse {
    display: none !important;
    overflow-x: hidden !important;
    /* This is to hide horizontal scrollbars */
  }

  .navbar-collapse.collapsing {
    overflow-x: hidden !important;
  }

  .collapse.in {
    display: block !important;
    /* Show navbar collapse */
  }

  .navbar-default .navbar-toggle {
    border-color: #c9c3c3;
  }

  .navbar-nav>li>a {
    padding: 15px;
  }

  .navbar-collapse {
    padding-right: 15px;
    padding-left: 15px;
    margin: 0 !important;
    overflow-x: visible;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid transparent;
    -webkit-box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%);
  }

  /* navbar styling end */
  .row-offcanvas {
    position: relative;
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
  }

  .row-offcanvas-right .sidebar-offcanvas {
    right: -41.6%;
  }

  .row-offcanvas-left .sidebar-offcanvas {
    left: -41.6%;
  }

  .row-offcanvas-right.active {
    right: 41.6%;
  }

  .row-offcanvas-left.active {
    left: 41.6%;
  }

  .sidebar-offcanvas {
    position: absolute;
    top: 0;
    width: 41.6%;
  }

  #sidebar {
    padding-top: 0;
  }

  .toc-main-column {
    display: block;
  }

  .tags-main-column {
    display: block;
  }

  .tag-button {
    display: inline;
  }

  .right-lane {
    display: none;
  }
}

/* Styling for screens below 767px */
@media screen and (max-width: 767px) {
  .navbar-nav {
    width: 60%;
  }

  .col-xs-12 {
    width: 59% !important;
  }
}


/* end bootswatch theme */

/* custom styles tom */

h1 {
  margin-top: 30px;
  margin-bottom: 30px;
  color: #24356B;
}

/* mini toc styles start */
nav#toc ul li,
div#toc2 ul li {
  margin: 8px 0px 8px 22px;
  font-size: 90%;
  list-style: square;
}

nav#toc>ul::before,
div#toc2>ul::before {
  font-weight: 500;
  color: #555;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 70px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 10px;
}

nav#toc ul,
nav#toc2 ul {
  background-color: whitesmoke;
  padding: 5px;
  border-radius: 5px;
  max-width: 300px;
  color: gray;
}

nav#toc2 ul {
  padding-left: 25px;
}

/* mini toc styles end */

/* this part adds an icon after external links, using FontAwesome*/
a[href^="http://"]:after,
a[href^="https://"]:after {
  content: '\f35d';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 80%;
  display: inline-block;
  text-decoration: none;
  padding-left: 3px;
}

/* Strip the outbound icon when this class is present */
a[href].noCrossRef::after,
a.no_icon:after {
  content: "" !important;
  padding-left: 0;
}

/* Github edit button */

i.fa.fa-github.fa-lg:hover,
a.githubButton.noCrossRef:hover {
  color: black;
  text-decoration: none;
}

a.editButton {
  color: #000000;
}

a.editButton:hover {
  text-decoration: none;
  color: #777;
}

.githubButton {
  color: black;
  background-color: white;
  border: 1px solid #dedede;
  padding: 7px;
  border-radius: 5px;
  margin: 20px 0px 10px 0px;
}

.githubButton:hover {
  background-color: #fefefe;
  color: #444;
  text-decoration: none;
}

/* end github button */
/* search area */
#search-demo-container ul#results-container {
  list-style: none;
  font-size: 12px;
  background-color: white;
  position: absolute;
  top: 40px;
  /* if you change anything about the nav, you'll prob. need to reset the top and left values here.*/
  left: 20px;
  z-index: -1;
  width: 223px;
  border-left: 1px solid #dedede;
  box-shadow: 2px 3px 2px #dedede;
}


ul#results-container a {
  background-color: transparent;
}

ul#results-container a: hover {
  color: black;
}


#search-demo-container a:hover {
  color: black;
}

#search-input {
  padding: .5em;
  width: 20em;
  font-size: 0.8em;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  float: right;
  margin-top: 5px;
}

#search-results {
  margin-top: 30px;
}

div.searchFormDisplay {
  display: none;
}

/* end search */

/* callout styles*/

.bs-callout {
  padding: 15px;
  margin: 20px 0;
  border: 1px solid #eee;
  border-left-width: 5px;
  border-radius: 3px;
  font-size: 85%;
}

.bs-callout h4 {
  margin-top: 0;
  margin-bottom: 5px;
}

.bs-callout p:last-child {
  margin-bottom: 0;
}

.bs-callout code {
  border-radius: 3px;
}

.bs-callout+.bs-callout {
  margin-top: -5px;
}

.bs-callout-default {
  border-left-color: #777;
}

.bs-callout-default h4 {
  color: #777;
}

.bs-callout-primary {
  border-left-color: #428bca;
}

.bs-callout-primary h4 {
  color: #428bca;
}

.bs-callout-success {
  border-left-color: #5cb85c;
}

.bs-callout-success h4 {
  color: #5cb85c;
}

.bs-callout-danger {
  border-left-color: #d9534f;
}

.bs-callout-danger h4 {
  color: #d9534f;
}

.bs-callout-warning {
  border-left-color: #f0ad4e;
}

.bs-callout-warning h4 {
  color: #f0ad4e;
}

.bs-callout-info {
  border-left-color: #5bc0de;
}

.bs-callout-info h4 {
  color: #5bc0de;
}

/* end callout styles*/


/* bootstrap tables */


th {
  text-align: left;
}

table {
  max-width: 90%;
  margin-bottom: 20px;
  border: 1px solid #dedede;
  background-color: transparent;
}

table>thead>tr>th,
table>tbody>tr>th,
table>tfoot>tr>th,
table>thead>tr>td,
table>tbody>tr>td,
table>tfoot>tr>td {
  padding: 5px;
  line-height: 1.42857143;
  vertical-align: top;
  border-top: 1px solid #ddd;
}

table>thead>tr>th {
  vertical-align: bottom;
  border-bottom: 2px solid #ddd;
  text-transform: none;
  background-color: #777;
  color: white;
  text-align: left;
}

table>caption+thead>tr:first-child>th,
table>colgroup+thead>tr:first-child>th,
table>thead:first-child>tr:first-child>th,
table>caption+thead>tr:first-child>td,
table>colgroup+thead>tr:first-child>td,
table>thead:first-child>tr:first-child>td {
  border-top: 0;
}

table>tbody+tbody {
  b
}

table>tbody>tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}

table col[class*="col-"] {
  position: static;
  display: table-column;
  float: none;
}

table td[class*="col-"],
table th[class*="col-"] {
  position: static;
  display: table-cell;
  float: none;
}


table td:first-child {
  width: 150px;
  /*font-weight:bold;*/
}

table.boldFirstColumn td:first-child {
  font-weight: bold;
}

table tr td {
  hyphens: auto;
}


table.dataTable thead {
  background-color: #444;
}

table td {
  hyphens: auto;
}

table code {
  background-color: transparent;
}

table p {
  margin-top: 12px;
  margin-bottom: 12px;
}

pre,
table code {
  white-space: pre-wrap;
  /* css-3 */
  white-space: -moz-pre-wrap;
  /* Mozilla, since 1999 */
  white-space: -pre-wrap;
  /* Opera 4-6 */
  white-space: -o-pre-wrap;
  /* Opera 7 */
  word-wrap: break-word;
  /* Internet Explorer 5.5+ */
}

/* end table styles */

/* syntax highlightig */
.highlight .err {
  color: #a61717;
  background-color: transparent !important;
}

/* svg styling */
* * Let's target IE to respect aspect ratios and sizes for img tags containing SVG files
 * * [1] IE9 * [2] IE10+*/

/* 1 */
.ie9 img[src$=".svg"] {
  width: 100%;
}

/* 2 */
@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
  img[src$=".svg"] {
    width: 100%;
  }
}

/* end */

/* image styles */
figcaption {
  padding-bottom: 12px;
  padding-top: 6px;
  max-width: 90%;
  margin-bottom: 20px;
  font-style: italic;
  color: gray;
}

/* end */

div.tags {
  margin: 15px 0px;
}

.label {
  border-radius: .25em;
  margin-right: 5px;
}

span.projectTitle {
  font-family: Arial;
  font-weight: bold;

}

ul#entrypages li {
  font-size: 12px;
}

/*top nav */
span.sidebarToggle {
  font-family: 'Font Awesome 5 Free';
  padding-bottom: 0px;
  font-size: 1em;
}

img.navbar-logo {
  /*max-width: 130px;*/
  max-height: 5rem;
  padding: 0px;
  border: 0;
  margin-top: 8px;
  margin-bottom: 3px;
  margin-left: 30px;
  height: 30px;
}

.navbar-brand {
  margin-right: 30px;
  padding: 0;
}

.navbar {
  border-bottom: 1px solid #dedede;
  font-size: 2rem;
  font-style: bold;
  padding-top: 10px;
}

.toggle-sidebar-button {
  padding-bottom: 3px;
  color: white;
}

/* search adjustments */
.input-group.search {
  max-width: 200px;
  margin-right: 10px;
  margin-top: 30px;
}

.sidebarSearchBar {
  margin-bottom: 30px;
}

.productSubtitle {
  color: #777;
}

/* end search */

/* right column */


.right-lane {
  right: 0;
  top: 120px;
  bottom: 0;
  position: fixed;
  margin-right: 0px;
  overflow: auto;
  padding: 0px;
}

.tags {
  background-color: whitesmoke;
  padding: 15px;
  border-radius: 5px;
  max-width: 300px;
  color: #444;
}

.right-lane .tag-button {
  margin: 10px 0px;
  display: block;
}

ul#docnavsidebar li a:focus {
  text-decoration: none;
}

.searchForm404 {
  margin: 20px 0px;
}
