@import url(https://fonts.googleapis.com/css?family=Lato:300italic,700italic,300,700);
html {
  background: #6C7989;
  background: #6c7989 -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #6c7989), color-stop(100%, #434b55)) fixed;
  background: #6c7989 -webkit-linear-gradient(#6c7989, #434b55) fixed;
  background: #6c7989 -moz-linear-gradient(#6c7989, #434b55) fixed;
  background: #6c7989 -o-linear-gradient(#6c7989, #434b55) fixed;
  background: #6c7989 -ms-linear-gradient(#6c7989, #434b55) fixed;
  background: #6c7989 linear-gradient(#6c7989, #434b55) fixed;
}

body {
  padding: 50px 0;
  margin: 0;
  font: 14px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #555;
  font-weight: 300;
  background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAeCAYAAABNChwpAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNXG14zYAAAAUdEVYdENyZWF0aW9uIFRpbWUAMy82LzEygrTcTAAAAFRJREFUSIljfPDggZRf5RIGGNjUHsNATz6jXmSL1Kb2GLiAX+USBnrymRgGGDCORgFmoNAXjEbBaBSMRsFoFIxGwWgUjEbBaBSMRsFoFIxGwWgUAABYNujumib3wAAAAABJRU5ErkJggg==') fixed;
  text-align: justify
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background: #DEDEDE;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  border-radius: 8px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px;
  -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px;
  box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px;
}

header, section, footer {
  display: block;
}

a {
  color: #069;
  text-decoration: none;
}

p {
  margin: 0 0 20px;
  padding: 0;
}
/* Formatting figures */
.fig {
    margin: auto;
    width: 75%;
    padding-bottom: 20px;
    text-align: center;
    font-size: 90%;
    font-style: oblique;
    font-weight: 600;
}
    
/* Formatting table captions */
.tbl {
    margin: auto;
    width: 75%;
    padding-bottom: 10px;
    padding-top: 40px;
    text-align: center;
    font-size: 90%;
    font-style: oblique;
    font-weight: 600;
}    

strong {
  color: #222;
  font-weight: 700;
}

header {
  -webkit-border-radius: 8px 8px 0 0;
  -moz-border-radius: 8px 8px 0 0;
  -ms-border-radius: 8px 8px 0 0;
  -o-border-radius: 8px 8px 0 0;
  border-radius: 8px 8px 0 0;
  background: #C6EAFA;
  background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ddfbfc), color-stop(100%, #c6eafa));
  background: -webkit-linear-gradient(#ddfbfc, #c6eafa);
  background: -moz-linear-gradient(#ddfbfc, #c6eafa);
  background: -o-linear-gradient(#ddfbfc, #c6eafa);
  background: -ms-linear-gradient(#ddfbfc, #c6eafa);
  background: linear-gradient(#ddfbfc, #c6eafa);
  position: relative;
  padding: 15px 20px;
  border-bottom: 1px solid #B2D2E1;
}
header h1 {
  margin: 0;
  padding: 0;
  font-size: 24px;
  line-height: 1.2;
  color: #069;
  text-shadow: rgba(255, 255, 255, 0.9) 0 1px 0;
}
header.without-description h1 {
  margin: 10px 0;
}
header p {
  margin: 0;
  color: #61778B;
  width: 300px;
  font-size: 13px;
}
header p.view {
  display: none;
  font-weight: 700;
  text-shadow: rgba(255, 255, 255, 0.9) 0 1px 0;
  -webkit-font-smoothing: antialiased;
}
header p.view a {
  color: #06c;
}
header p.view small {
  font-weight: 400;
}
header p.nav {
    font-size: 125%;
    width: 800px;
}
header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  position: absolute;
  z-index: 1;
  right: 20px;
  top: 20px;
  height: 38px;
  padding: 1px 0;
  background: #5198DF;
  background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #77b9fb), color-stop(100%, #3782cd));
  background: -webkit-linear-gradient(#77b9fb, #3782cd);
  background: -moz-linear-gradient(#77b9fb, #3782cd);
  background: -o-linear-gradient(#77b9fb, #3782cd);
  background: -ms-linear-gradient(#77b9fb, #3782cd);
  background: linear-gradient(#77b9fb, #3782cd);
  border-radius: 5px;
  -webkit-box-shadow: inset rgba(255, 255, 255, 0.45) 0 1px 0, inset rgba(0, 0, 0, 0.2) 0 -1px 0;
  -moz-box-shadow: inset rgba(255, 255, 255, 0.45) 0 1px 0, inset rgba(0, 0, 0, 0.2) 0 -1px 0;
  box-shadow: inset rgba(255, 255, 255, 0.45) 0 1px 0, inset rgba(0, 0, 0, 0.2) 0 -1px 0;
  width: auto;
}
header ul:before {
  content: '';
  position: absolute;
  z-index: -1;
  left: -5px;
  top: -4px;
  right: -5px;
  bottom: -6px;
  background: rgba(0, 0, 0, 0.1);
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  border-radius: 8px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0, inset rgba(255, 255, 255, 0.7) 0 -1px 0;
  -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0, inset rgba(255, 255, 255, 0.7) 0 -1px 0;
  box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0, inset rgba(255, 255, 255, 0.7) 0 -1px 0;
}
header ul li {
  width: 79px;
  float: left;
  border-right: 1px solid #3A7CBE;
  height: 38px;
}
header ul li.single {
  border: none;
}
header ul li + li {
  width: 78px;
  border-left: 1px solid #8BBEF3;
}
header ul li + li + li {
  border-right: none;
  width: 79px;
}
header ul a {
  line-height: 1;
  font-size: 11px;
  color: #fff;
  color: rgba(255, 255, 255, 0.8);
  display: block;
  text-align: center;
  font-weight: 400;
  padding-top: 6px;
  height: 40px;
  text-shadow: rgba(0, 0, 0, 0.4) 0 -1px 0;
}
header ul a strong {
  font-size: 14px;
  display: block;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

section {
  padding: 15px 20px;
  font-size: 15px;
  border-top: 1px solid #fff;
  background: -webkit-gradient(linear, 50% 0%, 50% 700, color-stop(0%, #fafafa), color-stop(100%, #dedede));
  background: -webkit-linear-gradient(#fafafa, #dedede 700px);
  background: -moz-linear-gradient(#fafafa, #dedede 700px);
  background: -o-linear-gradient(#fafafa, #dedede 700px);
  background: -ms-linear-gradient(#fafafa, #dedede 700px);
  background: linear-gradient(#fafafa, #dedede 700px);
  -webkit-border-radius: 0 0 8px 8px;
  -moz-border-radius: 0 0 8px 8px;
  -ms-border-radius: 0 0 8px 8px;
  -o-border-radius: 0 0 8px 8px;
  border-radius: 0 0 8px 8px;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  color: #222;
  padding: 0;
  margin: 0 0 20px;
  line-height: 1.2;
}

p, ul, ol, table, pre, dl {
  margin: 0 0 20px;
}

h1, h2, h3 {
  line-height: 1.1;
}

h1 {
  font-size: 28px;
}

h2 {
  color: #393939;
}

h3, h4, h5, h6 {
  color: #494949;
}

blockquote {
  margin: 0 -20px 20px;
  padding: 15px 20px 1px 40px;
  font-style: italic;
  background: #ccc;
  background: rgba(0, 0, 0, 0.06);
  color: #222;
}

img {
  max-width: 100%;
}

code, pre {
  font-family: Courier, Courier New, Bitstream Vera Sans Mono, Lucida Console, Terminal;
  color: #333;
  font-size: 12px;
  font-weight: normal
  overflow-x: auto;
}

pre {
  padding: 20px;
  background: #3A3C42;
  color: #f8f8f2;
  margin: 0 -20px 20px;
}
pre code {
  color: #f8f8f2;
}
li pre {
  margin-left: -60px;
  padding-left: 60px;
}

table {
  max-width: 85%;
  margin: auto;
  border: 1;
  border-collapse: collapse;
}

th, td {
  text-align: left;
  padding: 3px 10px;
  border: 1px solid #aaa
}

dt {
  color: #222;
  font-weight: 700;
  font-size: 95%;
}

dl {
    width: 95%;
    margin: auto;
}

th {
  color: #222;
}

small {
  font-size: 11px;
}

hr {
  border: 0;
  background: #aaa;
  height: 1px;
  margin: 0 0 20px;
}

footer {
  width: 640px;
  margin: 0 auto;
  padding: 20px 0 0;
  color: #ccc;
  overflow: hidden;
}
footer a {
  color: #fff;
  font-weight: bold;
}
footer p {
  float: left;
}
footer p + p {
  float: right;
}

/* ---- Documentation search ---- */
.gcam-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.gcam-nav-row .nav {
  margin: 0;
  flex: 1 1 auto;
}
.gcam-search-box {
  position: relative;
  flex: 0 0 320px;
  max-width: 320px;
  display: flex;
  gap: 4px;
}
#gcam-search-input {
  flex: 1;
  padding: 6px 10px;
  font-size: 13px;
  border: 1px solid #b2d2e1;
  border-radius: 4px;
  background: #fff;
  font-family: inherit;
  box-sizing: border-box;
}
#gcam-search-button {
  padding: 6px 14px;
  font-size: 13px;
  font-family: inherit;
  font-weight: 700;
  color: #fff;
  background: #069;
  border: 1px solid #069;
  border-radius: 4px;
  cursor: pointer;
}
#gcam-search-button:hover {
  background: #047;
}
#gcam-search-input:focus {
  outline: none;
  border-color: #069;
  box-shadow: 0 0 0 2px rgba(0, 102, 153, 0.15);
}
/* Reset all inherited header styles on the search overlay */
#gcam-search-overlay {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: 0 !important;
  right: auto !important;
  width: 460px !important;
  max-width: calc(100vw - 60px) !important;
  height: auto !important;
  z-index: 99999 !important;
  background: #fff !important;
  border: 1px solid #b2d2e1 !important;
  border-radius: 6px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18) !important;
  max-height: 60vh !important;
  overflow-y: auto !important;
  text-align: left !important;
  padding: 0 !important;
}
#gcam-search-overlay[hidden] { display: none !important; }
#gcam-search-overlay::before { display: none !important; }
#gcam-search-overlay ul,
#gcam-search-results {
  list-style: none !important;
  margin: 0 !important;
  padding: 4px 0 !important;
  position: static !important;
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  height: auto !important;
  width: 100% !important;
  right: auto !important;
  top: auto !important;
}
#gcam-search-results::before { display: none !important; }
#gcam-search-results li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  float: none !important;
  border: none !important;
  height: auto !important;
  background: none !important;
}
#gcam-search-results li a {
  display: block !important;
  padding: 10px 14px !important;
  text-decoration: none !important;
  color: #333 !important;
  border-bottom: 1px solid #f0f0f0 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  height: auto !important;
  text-align: left !important;
  font-weight: 400 !important;
  text-shadow: none !important;
  background: none !important;
}
#gcam-search-results li:last-child a { border-bottom: none !important; }
#gcam-search-results li a:hover { background: #eef6fb !important; }
#gcam-search-results .gcam-search-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #069;
  margin-bottom: 3px;
}
#gcam-search-results .gcam-search-count {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  background: #c44;
  padding: 1px 6px;
  border-radius: 9px;
  margin-left: 6px;
  vertical-align: middle;
}
#gcam-search-results .gcam-search-version {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  color: #555;
  background: #e3eaf0;
  padding: 1px 6px;
  border-radius: 9px;
  margin-left: 6px;
  vertical-align: middle;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}
#gcam-search-results .gcam-search-snippet {
  font-size: 12px;
  color: #555;
  line-height: 1.45;
  font-style: normal;
}
#gcam-search-results .gcam-search-snippet mark {
  background: #ffe680;
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
  font-weight: 600;
}
#gcam-search-results .gcam-search-empty {
  padding: 14px;
  color: #888;
  font-size: 13px;
  text-align: center;
  font-style: italic;
}

/* In-page highlights for when arriving via ?q=... */
mark.gcam-page-highlight {
  background: #ffe680;
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}
mark.gcam-page-highlight-first {
  background: #ff9b3d;
  color: #000;
  font-weight: 600;
  box-shadow: 0 0 0 2px rgba(255, 155, 61, 0.4);
}
#gcam-search-results {
  list-style: none;
  margin: 0;
  padding: 4px 0;
}
#gcam-search-results li a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
}
#gcam-search-results li a:hover {
  background: #e8f4fc;
}
.gcam-search-title {
  font-size: 14px;
  font-weight: 700;
  color: #069;
}
.gcam-search-count {
  font-size: 11px;
  font-weight: 700;
  color: #c44;
  margin-left: 4px;
}
.gcam-search-snippet {
  font-size: 12px;
  color: #666;
  margin-top: 2px;
  line-height: 1.4;
}
.gcam-search-snippet mark {
  background: #ffe680;
  color: inherit;
  padding: 0 1px;
  border-radius: 2px;
}
.gcam-search-empty {
  padding: 12px;
  color: #999;
  font-size: 13px;
  text-align: center;
}

@media print, screen and (max-width: 740px) {
  body {
    padding: 0;
  }

  .wrapper {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    width: 100%;
  }

  footer {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    padding: 20px;
    width: auto;
  }
  footer p {
    float: none;
    margin: 0;
  }
  footer p + p {
    float: none;
  }
}
@media print, screen and (max-width:580px) {
  header ul {
    display: none;
  }

  header p.view {
    display: block;
  }

  header p {
    width: 100%;
  }
}
@media print {
  header p.view a small:before {
    content: 'at https://github.com/';
  }
}
