/* Provided by the Sphinx base theme template at build time */
@import "../basic.css";

/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v27-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/open-sans-v27-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v27-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v27-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v27-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v27-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}


:root {
  /*****************************************************************************
  * Theme config
  **/
  --pst-header-height: 60px;
  --pst-font-family-base: "Open Sans", var(--pst-font-family-base-system);
  --pst-font-family-heading: "Telegraf", var(--pst-font-family-base-system);
  --pst-font-family-monospace: var(--pst-font-family-monospace-system);

  /*****************************************************************************
  * Font size
  **/
  --pst-font-size-base: 15px; /* base font size - applied at body / html level */

  /* smaller then heading font sizes*/
  --pst-font-size-milli: 12px;
  --pst-sidebar-font-size: .9em;
  --pst-sidebar-caption-font-size: .9em;


  --pst-color-preformatted-background: 40, 40, 40;
  --pst-color-active-navigation: 51, 51, 51;
  --pst-color-h1: var(--pst-color-active-navigation);
  --pst-color-h2: var(--pst-color-active-navigation);
  --pst-color-h3: var(--pst-color-active-navigation);
  --pst-color-h4: var(--pst-color-active-navigation);
  --pst-color-h5: var(--pst-color-active-navigation);
  --pst-color-h6: var(--pst-color-active-navigation);
  --pst-font-size-h2: 30px;

  --zama-yellow: 255, 192, 8;
  --zama-orange: 219, 156, 0;
  --pst-color-navbar-link: 255, 255, 255;
  --pst-color-navbar-link-hover: var(--zama-yellow);
  --pst-color-navbar-link-active: var(--zama-yellow);
  --pst-color-headerlink: var(--zama-orange);
}

p {
  margin-bottom: 0.75rem;
}

.heading-style, h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
}

/* Code blocks without bold on numbers */
.highlight .mi,
.highlight .mf {
    font-weight: normal;
}

.navbar-brand .title {
  padding: 3px 10px 3px 10px;
  margin-top: 4px;
  background-color: rgb(var(--zama-yellow));
  border-radius: 12px;
  font-family: "Telegraf";
  font-variant: small-caps;
  font-weight: 600;
}

.nav-item .dropdown .show,
.nav-link:hover {
  color: rgba(var(--pst-color-navbar-link-hover), 1);
}

.navbar-brand img {
  height: 20px;
  padding-left: 30px;
  margin-top: 15px;
}

.navbar-light {
  background: rgb(33, 33, 33)!important;
}
/* fix hover on logo padding (github, discourse…) */
.nav-item a:hover{
  color: rgba(var(--pst-color-navbar-link), 1);
}

.nav-item a:hover {
  color: rgba(var(--pst-color-active-navigation), 1);
}

.navbar-light .navbar-nav li a.nav-link {
  font-size: 17px;
  font-family: var(--pst-font-family-heading);
}

.navbar-light .navbar-nav .show>.nav-link {
  color: rgba(var(--pst-color-navbar-link), 1);
}

/* hover on icon (github, discourse...) default color */

i:hover {
  color: rgb(var(--zama-yellow));;
  /* background-color: white; */
}

.nav-item-zama a {
  margin-left: 7px;
  margin-right: 7px;
  padding-left: 26px;
  padding-bottom: 5px;
  background-image: url(../zama-black.png);
  background-size: 19px;
  background-position: 3px 3px;
  background-repeat: no-repeat;
  background-color: white;
  border-radius: 50%
  }

.nav-item-zama a:hover {
  background-color: rgb(var(--zama-yellow));;
}

/* style footer */

.copyright {
  font-size: 0.9rem;
  padding: 10px !important;
}

/* general alert */

#banner .news-alert {
  background-color: rgb(var(--zama-yellow));;
  padding: 1em;
  font-size: 16px;
  font-weight: bold;
}

.news-alert a {
  text-decoration: underline;
  color: #444;
}

/* version alert */
.version-alert a {
  text-decoration: underline;
  color: #ddd;
}

#banner .version-alert {
  background-color: #c72c0d;
  padding: 1em;
  color: #fff;
  font-size: 16px;
}

.version-alert a {
  text-decoration: underline;
  color: #ddd;
}

#navbar-main-elements > li.nav-item.dropdown > a {
  padding-right: 20px;
}

.prev-next-bottom a.left-prev,
.prev-next-bottom a.right-next {
  padding: 8px;
  border: 1px solid rgba(0,0,0,.1);
}

/*
 * GDPR
 */

 .gdpr {
  z-index: 300;
  position: fixed;
  width: calc(100% - 40px);
  padding: 10px 0px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.9);
  bottom: 20px;
  left: 20px;
  font-size: 16px;
  padding-left: 12.5%;
  padding-right: 12.5%;
  background: black;
  color: white;
  opacity: 75%;
  font-size: 17px;
  white-space: nowrap;
}

.zama-container {
  max-width: 1440px;
  margin: auto;
  width: 100%;
}

.gdpr .zama-container .padded {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gdpr .consent {
  text-overflow: ellipsis;
  overflow: hidden;

}

.gdpr .button {
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0px 10px;
  margin-left: 15px;
  height: 45px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  color: black;
  transition: all 0.33s cubic-bezier(0.33, 0, 0, 1);
}

.gdpr .button::after {
  background-color: white;
  height: 46px;
  content: '';
  display: block;
  position: absolute;
  right: 0;
  top: 3px;
  width: 100%;
  height: 40px;
  border-radius: 25px;
  z-index: -1;
}

.gdpr .button-accept::after{
  background-color: rgb(var(--zama-yellow));
}

.gdpr .button-decline::after{
  background-color: grey;
}

/*
 * Pygments Visual studio default colors from
 * https://github.com/highlightjs/highlight.js/blob/main/src/styles/vs2015.css
 */

pre {
  color: #DCDCDC;
  line-height: 125%; }

pre  .reference.external {
  color: #569CD6;
}
/* td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } */
.highlight .hll { background-color: #646464 }
.highlight {
  color: #DCDCDC;
  background: #1E1E1E; }

.highlight .c
.highlight .ch, /* Comment.Hashbang */
.highlight .cm, /* Comment.Multiline */
.highlight .cp, /* Comment.Preproc */
.highlight .cpf, /* Comment.PreprocFile */
.highlight .c1, /* Comment.Single */
.highlight .cs /* Comment.Special */
{ color: #6A9955; font-style: italic } /* Comment */

.highlight .err { color: #a40000; border: 1px solid #ef2929 } /* Error */
.highlight .g { color: #DCDCDC } /* Generic */

.highlight .fm, /* Name.Function.Magic */
.highlight .k,  /* Keyword */
.highlight .kc, /* Keyword.Constant */
.highlight .kd, /* Keyword.Declaration */
.highlight .kn, /* Keyword.Namespace */
.highlight .kp, /* Keyword.Pseudo */
.highlight .kr, /* Keyword.Reserved */
.highlight .kt, /* Keyword.Type */
.highlight .l, /* Literal */
.highlight .na, /* Name.Attribute */
.highlight .no, /* Name.Constant */
.highlight .nd, /* Name.Decorator */
.highlight .ni, /* Name.Entity */
.highlight .ne, /* Name.Exception */
.highlight .nl, /* Name.Label */
.highlight .nx, /* Name.Other */
.highlight .py, /* Name.Property */
.highlight .nt, /* Name.Tag */
.highlight .nv, /* Name.Variable */
.highlight .sa, /* Literal.String.Affix */
.highlight .ss,  /* Literal.String.Symbol */
.highlight .ow, /* Operator.Word */
.highlight .bp  /* Name.Builtin.Pseudo */ { color: #569CD6 }


.highlight .n, /* Name */
.highlight .nb, /* Name.Builtin */
.highlight .nn, /* Name.Namespace */
.highlight .o, /* Operator */
.highlight .nf /* Name.Function */ { color: #DCDCDC }

.highlight .nc, /* Name.Class */
.highlight .x, /* Other */
.highlight .p, /* Punctuation */
.highlight .gd, /* Generic.Deleted */
.highlight .ge, /* Generic.Emph */
.highlight .gr, /* Generic.Error */
.highlight .gh, /* Generic.Heading */
.highlight .gi,  /* Generic.Inserted */
.highlight .go, /* Generic.Output */
.highlight .gp, /* Generic.Prompt */
.highlight .gs,  /* Generic.Strong */
.highlight .gu, /* Generic.Subheading */
.highlight .gt, /* Generic.Traceback */
.highlight .ld,  /* Literal.Date */
.highlight .s /* Literal.String */ { color: #DCDCDC }

.highlight .w { color: #f8f8f8; text-decoration: underline } /* Text.Whitespace */

.highlight .m, /* Literal.Number */
.highlight .mb, /* Literal.Number.Bin */
.highlight .mf, /* Literal.Number.Float */
.highlight .mh, /* Literal.Number.Hex */
.highlight .mi, /* Literal.Number.Integer */
.highlight .il, /* Literal.Number.Integer.Long */
.highlight .mo /* Literal.Number.Oct */ { color: #B8D7A3 }

.highlight .sd { color: #6A9955; font-style: italic } /* Literal.String.Doc */

.highlight .sb, /* Literal.String.Backtick */
.highlight .sc, /* Literal.String.Char */
.highlight .dl, /* Literal.String.Delimiter */
.highlight .s2, /* Literal.String.Double */
.highlight .se, /* Literal.String.Escape */
.highlight .sh, /* Literal.String.Heredoc */
.highlight .sx, /* Literal.String.Other */
.highlight .sr, /* Literal.String.Regex */
.highlight .si, /* Literal.String.Interpol */
.highlight .s1  /* Literal.String.Single */ { color: #D69D85 }



.highlight .vc { color: #DCDCDC } /* Name.Variable.Class */
.highlight .vg { color: #DCDCDC } /* Name.Variable.Global */
.highlight .vi { color: #DCDCDC } /* Name.Variable.Instance */
.highlight .vm { color: #DCDCDC } /* Name.Variable.Magic */

