@font-face {
  font-family: 'Carlito';
  src: url('./carlito/Carlito-Regular.ttf');
}

.rst-content .toctree-wrapper > p.caption,
h1,
h2,
h3,
h4,
h5,
h6,
legend {
  font-family: 'Carlito', Calibri, 'Noto Sans', Arial, sans-serif;
}

/* Links */
a {
  color: #5c2983;
}

a:hover {
  color: #5c2983;
  text-decoration: underline;
}

/* Side Nav */
.wy-menu-vertical > ul:first-child .toctree-l1 a {
  font-size: 10px;
  font-weight: bold;
  padding-top: 0;
  padding-bottom: 0;
  color: #5c2983;
}

.wy-menu-vertical > ul:first-child .toctree-l1 a::before {
  content: "\f053";
  font: normal normal normal 10px/1 FontAwesome;
  padding-right: 4px;
}

.document #collabora-online-sdk ul:first-child {
    display: none;
}

.wy-nav-side {
  background: #f8f8f8;
  border-right: 1px solid #5c2983;
}

.wy-menu-vertical a {
  color: #4e4a4a;
}

.wy-menu-vertical header,
.wy-menu-vertical p.caption,
.wy-menu.wy-menu-vertical p {
  color: #404040;
  line-height: 32px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 85%;
  white-space: nowrap;
  padding: 0 1.618em;
  margin: 12px 0 0;
  display: block;
}

.wy-menu-vertical a:hover span.toctree-expand {
  color: #4d4d4d;
  text-decoration: none;
}

.wy-side-nav-search input[type="text"] {
  border-color: #e3e3e3;
}

.wy-side-nav-search {
  background-color: #5c2983;
}

.wy-side-nav-search > a img.logo {
  background: white;
  border-radius: 100%;
  width: 98px;
  padding: 8px;
}

.wy-side-nav-search > a:hover {
  background-color: transparent;
}

.wy-side-nav-search > a:hover img {
  box-shadow: 0 0 8px 0 #ffffff85;
}

.wy-menu-vertical li.current > a,
.wy-menu-vertical li.on a {
  color: #5c2983;
}

.wy-menu-vertical .toctree-l1:not(.current):hover a {
  background-color: transparent;
  text-decoration: underline;
}

/* Navigation Buttons */
.btn {
  border-radius: 16px;
}

.fa-arrow-circle-right::before,
.icon-circle-arrow-right::before {
  content: "\f061";
  font-size: 14px;
}

.fa-arrow-circle-left::before,
.icon-circle-arrow-right::before {
  content: "\f060";
  font-size: 14px;
}

.btn-neutral:hover {
  background-color: #5c298310 !important;
}

.btn:hover {
  text-decoration: none;
}

.btn-purple {
  background-color: #5c2983;
}

.btn-purple:hover {
  /* color: btn-purple { background-color: #5c2983 } .btn-purple { background: }; */
  background-color: #fff;
  color: #5c2983;
  border-color: #5c2983;
}

.btn-purple:focus {
  background: #5c2983;
}

/* Uncoment if style_external_links is true
.rst-content.style-external-links a.reference.external::after {
  margin-right: -2px;
} */

/* Content: Code and performatted text */
.highlighttable,
.highlight-default > .highlight,
div[class^='highlight-'] > .highlight {
  box-shadow: inset 1px 0 0 0 #5c2983;
}

/* Content: Search results: Page detail */
.rst-content .highlighted {
  background: #5c2983;
  box-shadow: 0 0 0 2px #5c2983;
  color: white;
}

/* Footer */
#show_sphinx {
  font-size: 12px;
  line-height: 0px;
}

@media screen and (max-width: 768px) {
  .wy-nav-top {
    background: #f8f8f8;
    color: #5c2983;
    box-shadow: inset 0 -2px 2px -2px gray;
  }

  .wy-nav-top a {
    color: #5c2983;
  }
}

/* tables */
.document table {
  table-layout: fixed;
  max-width: 170%;
}

.document table p {
  white-space: normal;
}

/* Available integrations */
#available-integrations .code-block-caption {
  text-align: left;
}

#available-integrations div:not(#alfresco-integration) h2 {
  border-top: 1px dashed lightgray;
  padding-top: 8px;
}

/* QA */
.qa-more-questions {
  padding-top: 8px;
}

/* figure */
.figure {
  padding: 0 0 4px 0;
  box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.15);
  border: 1px solid #ccc;
  border-radius: 4px;
}

.figure .caption {
  text-align: center;
  padding-top: 4px;
}

.versionmodified {
	font-weight: 700;
	padding: .3rem .3rem .3rem 1rem;
	margin-right: .6rem;
	border-radius: 3px;
}

td > div .versionmodified {
        padding: 0;
}

.versionmodified.added {
	background-color: #79DFC1;
}
.versionmodified.deprecated {
	background-color: #F1AEB5;
}
div.deprecated, div.added {
	padding: .7rem 1.2rem 1rem;
	margin: 2.5rem 2rem 2rem;
	margin-bottom: 2rem;
	background-color: white;
	border-width: 2px;
	border-style: solid;
	border-radius: .375rem;
}
div.added {
	border-color: #79DFC1;
}
div.deprecated {
    border-color: #F1AEB5;
}

/* Latest versions  */
#rst-versions-latest > dl {
  display: flex;
  justify-content: space-around;
  margin: 1em;
}

mark.rst-versions-viewing {
  text-align: center;
  display: block;
  color: white;
  background-color: #5C2983;
  margin-block-end: 12px;
}
