/**
 * Header hack to remove space below form
 * --------------------------------
**/
.header--primary .header--primary__search-form [type="submit"] {
     font-size: 0;
     align-items: center;
}

.header--primary .header--primary__search-form [type="submit"]:before {
     content: "\e623";
     font-family: "Redgate";
     font-size:30px;
     font-size: 1.875rem;
}

/**
 * Space header
 * --------------------------------
**/
.space-header {
	border-bottom: 1px solid #ebebeb;  
}

.space-header .band__inner-container {
  position: relative;
}

.space-header__logo {
  max-height: 60px;
}

.space-header__edit-page {
  font-size: 14px;
  position: absolute;
  top: 10px;
  right: 10px;
}

.space-header__edit-page a:before {
  margin-right: 4px;
}

.space-header__button {
  margin-left: 40px;
  flex-shrink: 0;
  align-self: center;
}

@media only screen and (max-width: 600px) {
  .space-header__button {
    margin-top: 40px;
    margin-left: 0;
  }
}

/**
 * Comments
 * --------------------------------
**/
.comment-threads {
  list-style: none;
}

.comment-threads.top-level {
  margin-left: 0;
  margin-bottom: 48px;
  margin-bottom: 3rem;
  border-bottom: 1px solid #b6b6b6;
}

.comment-threads .comment {
  border-top: 1px solid #b6b6b6;
  padding-top: 24px;
  padding-top: 1.5rem;
}

.comment-threads.top-level > li:first-child > .comment {
	border-top: none;
}

.comment__author {
  
}

.comment__content {
  
}

.comment__actions {
	font-size: 85%;
}

.comment__actions li {
  margin-bottom: 0;
}

/**
 * Syntax highlighting
 * --------------------------------
**/
pre.prettyprint {
  white-space: pre;
  padding: 1rem !important;
  padding: 16px !important;
  border-color: #dcdcdc !important;
  word-break: normal;
  word-wrap: normal;
}

pre.prettyprint ol {
  list-style: none;
  margin-left: 0;
}

pre.prettyprint li {
  margin-bottom: 0px;
  margin-bottom: 0rem;
  line-height: 120%;
  background-color: transparent;
}

pre.prettyprint li:last-of-type {
  margin-bottom: 0;
}

p.code__title {
  font-weight: bold;
  margin-bottom: 0;
  padding: 8px;
  padding: 0.5rem;
  background-color: #ececec;
  border: 1px solid #dcdcdc;
}

p.code__title small:hover {
  cursor: pointer;
}

/* Display line numbers where codeblock param is set. */
.prettyprint[data-linenumbers="true"] ol,
.prettyprint[data-linenumbers="true"] ul {
  margin-left: 40px;
  counter-reset: line-number;
}

.prettyprint[data-linenumbers="true"] li {
  list-style-type: auto;
  counter-increment: line-number;
}

.prettyprint[data-linenumbers="true"] li::marker {
  font-size: 90%;
  color: #767676;
  content: counter(line-number) "  ";
}



/**
 * Hide the scroll viewport menu
 * --------------------------------
**/
#sp-viewport-control-opener {
  display: none;
}


/**
 * Responsive nav
 * --------------------------------
**/
@media only screen and (max-width: 768px) {
  .header__nav {
    display: none;
  }
  
  .header--primary .header--primary__search-container {
    float: none !important;
    width: 100%;
  }
  
  .header--primary form#search {
    width: 100%;
    padding: 16px;
    padding: 1rem;
  }
  
  #search-input {
    top: 0;
    right: 0;
  }
}

/**
 * Breadcrumbs
 * --------------------------------
**/
ul.breadcrumbs li {
  margin-bottom: 0;
}

ul.breadcrumbs li:after {
  content: ">";
  margin-left: 8px;
  margin-left: 0.5rem;
  margin-right: 4px;
  margin-right: 0.25rem;
}

ul.breadcrumbs li:last-of-type:after {
  content: "";
}

/**
 * Sidebar
 * --------------------------------
**/
.confluence-sidebar-rail {
  position: relative;
  border-right: 2px solid #ebebeb;
}

.confluence-sidebar {
  top: 0;
  position: sticky;
  max-height: 100vh;
  overflow: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.confluence-sidebar::-webkit-scrollbar {
  display: none;
}

@media only screen and (max-width: 600px) {
  .confluence-sidebar-rail {
  	border-bottom: 2px solid #ebebeb;
    border-right: 0;
  }
  
  .confluence-sidebar {
    overflow: visible;
    max-height: none;
  }
}

/**
 * Vertical nav
 * --------------------------------
**/
.nav--vertical.nav--vertical--minimal {
  padding-top: 20px;
  padding-bottom: 20px;
  border-right: none;
}

/**
 * Iframes
 * --------------------------------
**/
iframe {
  max-width: 100%;
}

/**
 * Homepage
 * --------------------------------
**/
.home .home__search, .home .home__search + section {
  overflow: visible;
}

.home .tabs {
  margin-top: -112px;
}

.home .home__search-form {
  max-width: 600px;
  margin: auto;
}

.home .home__search-form input[type="text"],
.home .home__search-form input[type="search"]{
  display: inline-block;
  width: 75%;
  margin-right: 10px;
}

.home .home__search-form button {
  display: inline-block;
  padding-top: 11px !important;
  padding-bottom: 11px !important;
  line-height: normal;
}

.home .tabbed__container li {
  margin-bottom: 20px;
  font-size: 18px;
}

.home .tabbed__container li a {
  color: #000;
}

.home .all-products li {
  font-size: 18px;
  margin-bottom: 20px;
}

.home .all-products li a {
  color: #000;
}

.home .home__cant-find {
	margin-top: 60px;  
}

.home .home__cant-find p:first-of-type {
  font-weight: bold;
  margin-bottom: 0;
}

/**
 * Search results
 * ----------------------------
**/
.search__results {
  list-style: none;
  margin-left: 0;
  margin-top: 40px;
}

.search__results li {
  margin-bottom: 60px;
}

.search__search-form label {
  display: inline-block;
  text-transform: none;
  letter-spacing: 0;
  font-weight: bold;
  margin-right: 20px;
  margin-bottom: 0;
  vertical-align: bottom;
}

.search__search-form input[type="text"] {
  display: inline-block;
  width: 80%;
  max-width: 400px;
  margin-right: 10px;
  margin-bottom: 0;
}

.search__search-form button {
  display: inline-block;
  padding-top: 11px !important;
  padding-bottom: 11px !important;
  line-height: normal;
  margin-bottom: 0;
}

/**
 * Notifications
 * ----------------------------
**/
.confluence-information-macro.notification--block--minimal {
  font-weight: normal;
}

.confluence-information-macro.notification--block--minimal .icon:before {
  margin-right: 0;
}

/**
 * 'Rate' macro
 * ----------------------------
**/
.conf-macro[data-macro-name="rate"] {
	border-top: 1px solid #ebebeb;
	border-bottom: 1px solid #ebebeb;
  	padding: 10px 0;
}

.conf-macro[data-macro-name="rate"] img[width="0px"] {
	position: absolute;
}

.conf-macro[data-macro-name="rate"] .rater {
	margin: 0;
    font-size: 14px;
}

.conf-macro[data-macro-name="rate"] th, .conf-macro[data-macro-name="rate"] td {
	padding: 0;
    padding-right: 10px;
 	border: none;
}

.conf-macro[data-macro-name="rate"] td.results.caption {
  	padding-left: 20px;
}

/**
 * Support search
 * ----------------------------
**/
.js-instant-search .search .results {
    width: 98%;
    text-align: left;
}

.js-instant-search .search .results ol {
    margin-left: 0;
}

.js-instant-search .search .results li {
    list-style-type: none;
    border-top: 1px solid #dcdcdc;
    margin-bottom: 0;
}
.js-instant-search .search .results li a {
    display: block;
    padding: 10px;
    background-color: #f2f2f2;
}

.js-instant-search .search .results li a:focus, .js-instant-search .search .results li a:hover {
    background-color: #b1cef2; 
}

.js-instant-search .search .results li a h3, .js-instant-search .search .results li a p {
    margin-bottom: 0;
    font-size: 0.8rem;
    line-height: 1.4rem;
}

.js-instant-search .search .results li a h3, .js-instant-search .search .results li a p + p {
    color: #000;
}

.js-instant-search .search .results li a .results__url {
    font-size: 12px;
    color: #336dc2;
}




/**
 * Hub footer links
 * ---------------------------
**/

.hub__footer-links .band__inner-container { 
    display: flex;
    flex-wrap: wrap;
}

.hub__footer-links .band__inner-container .grid__col { 
	display: flex;
}

.hub__footer-links a.rounded.border {
  	border-color: #ebebeb;
  	width: 100%;
}
@media only screen and (max-width: 600px) {  
    .hub__footer-links a.rounded.border {
        margin-bottom: 1.25rem;
    }
}

.hub__footer-links a.rounded.border:hover {
    border-color: #cc0000;
}


/**
  * Git snippets
  */
/* Hide the footer */
.git-snippet-container hr,
.git-snippet-container .info-container {
    display: none;
}
.git-snippet-container .snippet-container pre code {
    padding-left: 5px;
    padding-top: 5px;
}
.git-snippet-container .snippet-container pre code table {
    margin-bottom: 0;
}
.hljs-ln td {
    border-bottom: 0;
    border-top: 0;
}

body {
  background-color: inherit !important;
  font-family: "Roboto","Helvetica Neue",Arial,Sans-serif !important;
  font-size: inherit !important;
  line-height: inherit;
}

a, a:link, a:visited {
    color: #336dc2;  
}

a:active, a:hover {
  color: #183559;
}

a:hover {
  text-decoration: none;
}

.header--primary a, .header--primary a:link, a.header--primary a:visited {
  color: #b6b6b6;
}

.header--primary a:hover {
  color: #fff;
}

.tabs a, .tabs a:link, .tabs a:visited {
  color: #373737;
}

h1 a,
h1 a:link,
h1 a:visited,
h2 a,
h2 a:link,
h2 a:visited,
h3 a,
h3 a:link,
h3 a:visited,
h4 a,
h4 a:link,
h4 a:visited,
h5 a,
h5 a:link,
h5 a:visited,
.main-heading a,
.main-heading a:link,
.main-heading a:visited,
.sub-heading a,
.sub-heading a:link,
.sub-heading a:visited {
    color: #222;
}


/**
 * Content rating plugin style tweaks
 * ---------------------------
**/
.content-rating {
    margin: 40px 0 0 0;
}

.content-rating.content-rating-toggle {  
    text-align: left;
    border-top: 1px solid #dcdcdc;
    padding-top: 20px;
}

.content-rating.content-rating-toggle ul {
  	margin-bottom: 0 !important;
}

.content-rating.content-rating-toggle ul li {
    width: auto;
}

.content-rating.content-rating-toggle .aui-buttons {
    display: none;
}

.content-rating .content-rating-criterion {
    display: none !important;
}

/* Popup dialog */
.content-rating-feedback-dialog .aui-iconfont-successful-build,
.content-rating-feedback-dialog .aui-iconfont-successful-build + span {
    display: none;
}

.content-rating-feedback-dialog .button {
    height: auto !important;
    line-height: normal !important;
}

.content-rating-feedback-dialog textarea {
    max-width: 100% !important;
}

/* Styling for feedback widget */

.content-rating.content-rating-toggle ul li .content-rating-icon {
    color: #c00c00 !important;
    border: 4px solid #c00c00 !important;
}

.content-rating.content-rating-toggle ul li:hover .content-rating-icon {
    color: #c00c00 !important;
    border: 4px solid #6e6e6e !important;
}

.content-rating.content-rating-toggle ul li .content-rating-icon.content-rating-active {
    color: #fff !important;
    background-color: #c00c00 !important;
    border: 4px solid #c00c00 !important;
}

.content-rating.content-rating-toggle ul li:hover .content-rating-icon.content-rating-active {
    color: #fff !important;
    border: 4px solid #b6b6b6 !important;
    background-color: #c00c00 !important;
}

/* Bugfix for large images breaking out of the container */
.wiki-content .confluence-embedded-file-wrapper .confluence-embedded-image[height], .wiki-content .confluence-embedded-file-wrapper .confluence-embedded-image[width] {
    max-width: 100%;
    max-width: calc(100% - 4px);
}

/* Bugfix for confluence CSS overriding list styles */
ul.list--bare {
  list-style-type: none!important;
}

/* Sidebar Crowdsignal poll styles */
.confluence-sidebar .js-crowdsignal-poll {
  padding-right: 10px;
  
}

@media only screen and (max-width: 600px) {
  .confluence-sidebar .js-crowdsignal-poll {
    padding-right: 0;
    margin-bottom: 20px;
  }
}
