/* CSS for the Asciidoc rendered Nexus Documentation */
/* @author Manfred Moser */

/* Overall layout of nav on left of content */
.flexbox {
  display: flex;
  align-items: flex-start;
}
.left-sidebar {
  min-width: 275px;
  max-width: 275px;
  flex: 1;
  margin-right: 10px;
}
.docContent {
}

.sonatype-body {
  padding-top: 2em;
  padding-right: 2em;
  padding-bottom: 4em;
  padding-left: 2em;
}

/* Styling for navigation on left */
.left-sidebar {
  padding-top: 10px;
  padding-bottom: 10px;
  border-left: 2px solid #000000;
  background-color: #f1f1f1;
}
.left-sidebar .sidebarTitle {
  vertical-align:text-top;
  padding-left: 10px;
  padding-bottom: 5px;
  padding-top: 3px;
  cursor: pointer;
}
.left-sidebar .sidebarTitle:hover {
  color:#888a85;
  text-decoration:underline;
  cursor: pointer;
}
.left-sidebar .sidebar {
  padding-left:20px;
  padding-top: 2px;
  padding-bottom: 2px;
  vertical-align:text-top;
  background-color: white;
}
.left-sidebar .sidebar a, a:active, a:focus {
  color:#000000;
  text-decoration:none;
  cursor: pointer;
}
.left-sidebar a:hover {
  color:#888a85;
  text-decoration:underline;
  cursor: pointer;
}
.left-sidebar .sidebarServer {
  padding-left:10px;
  vertical-align:text-top;
  background-color: white;
}
.sidebarSection {
 display: none;
}
.sidebarSection.default {
 display: block;
}

/* Various customizations for content block from asciidoc */
.docContent pre {
  padding: 0.5em;
  background-color: #eff0f1;
  white-space: pre-wrap;
}
/* override the clear:both element in the generate source code to avoid large whitespace after ToC for a chapter */

.docContent .title {
  clear: both !important;
}

.docContent .figure {
 text-align: center;
}

.docContent a:hover {
  text-decoration:underline;
}

.docContent .blockquote {
  background-color: #eff0f1;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
}

.docContent .authorgroup br {
  display:none;
}

.docContent .author {
  display: block;
  clear: left;
}

/* --- Sub Nav Styling --- */
.nav-sub .nav-toc {
  text-align: center;
}
.nav-sub ul {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}
.nav-sub li.first {
  float:left;
}
.nav-sub li.last {
  float:right;
}

/* --- Redirect Banner Styling --- */
.redirect {
  -webkit-border-radius: 5px;
  border-radius: 5px;
  margin-bottom: 5px;
  margin-top: 5px;
  padding: 15px 15px 15px 50px;
  background: #ffffe0;
  border: 2px solid #ccc;
  border-color: #ffc125;
  background-image: url("../images/caution.png");
  background-repeat: no-repeat;
  background-position: left;
}

/* --- Admonitionblock Styling --- */
div.warning, div.caution, div.important, div.note, div.tip {
  -webkit-border-radius: 5px;
  border-radius: 5px;
  margin-bottom: 5px;
  margin-top: 5px;
  margin-right: 0px !important;
  padding: 7px 7px 7px 21px;
}
div.warning h3, div.caution h3, div.important h3, div.note h3, div.tip h3 {
  margin-bottom: 3px;
  margin-top: 3px;
  padding: 0px;
}
div.warning p, div.caution p, div.important p, div.note p, div.tip p {
  margin: 0px;
  padding-left: 10px;
  padding-right: 10px;
}
div.warning table, div.caution table, div.important table, div.note table, div.tip table {
  margin: 5px;
}
/** control image size to the original image size */
div.warning img, div.caution img, div.important img, div.note img, div.tip img {
  height: 48px;
  width: 48px;
  max-width: none;
}
.warning {
  background: #f5d9d6;
  border: 2px solid #ccc;
  border-color: #d04437;
}
.warning h3 {
  color: #d04437;
}
.caution {
  background: #f5d9d6;
  border: 2px solid #ccc;
  border-color: #d04437;
}
.caution h3 {
  color: #d04437;
}
.important {
  background: #dfd;
  border: 2px solid #ccc;
  border-color: #91c89c;
}
.important h3 {
  color: #91c89c;
}
.tip {
  background: #dfd;
  border: 2px solid #ccc;
  border-color: #91c89c;
}
.tip h3 {
  color: #91c89c;
}
.note {
  background: #dfd;
  border: 2px solid #ccc;
  border-color: #91c89c;
}
.note h3 {
  color: #91c89c;
}


/* --- Search Box Styling --- */

.search-box {
  width: 100%;
  text-align: right;
}
.search-box input[type="text"] {
  font-family: "Proxima Nova Light";
  font-size: 14pt;
  height: 20pt;
  padding-left: 0.5em;
  padding-right: 0.5em;
  border: solid 1px #dcdcdc;
  transition: box-shadow 0.3s, border 0.3s;
}
.glyphicons-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 48px;
    vertical-align: text-top;
    background:transparent url("../images/glyphicons.png") no-repeat 0 0;
    vertical-align: top;
}
.glyphicons-icon.search {
  background-position: -332px -90px;
  border:none;
}
.search-box input[type="submit"] {
  width:40px;
}

/* --- Search Results Page Styles --- */
/*
.gsc-results-wrapper-nooverlay {
  position: relative !important;
} 
*/

.gsc-adblock {
  display: none !important;
}
.gsc-results-wrapper-overlay, .gsc-results-wrapper-visible, .gsc-search-button, .gsc-search-button-v2 {
  box-sizing: content-box;
}
