/* highlight styles */
@import url("fonts.css");

body {
  font-family: TelefonicaSans, Helvetica, Arial, sans-serif !important;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #676767;
  --tefBlue: #0066FF;
  --tefGray: #676767;
  --tefWhite: #f5f6fc;
  --tefGray1: #F2F4FF;
  --tefGray2: #D1D5E4;
  --tefGray3: #B0B6CA;
  --tefGray4: #8F97AF;
  --tefGray5: #6E7894;
  --tefGray6: #58617A;
  --tefGray7: #414B61;
  --tefGray8: #2B3447;
  --tefGray9: #031A34;
  --tefCoralLight:#E3A19A;
  --tefCoral: #E66C64;
  --tefCoralDark:#912C31;
  --tefTurquoiseLight:#67E0E5;
  --tefTurquoise: #59C2C9;
  --tefTurquoiseDark:#3E8A8A;
  --tefAmbarLight:#F5E98A;
  --tefAmbar: #EAC344;
  --tefAmbarDark:#AD842D;
  --tefOrchidLight: #E7C2F8;
  --tefOrchid: #C466EF;
  --tefOrchidDark: #8A1A93;
  --tefBrownLight: #E6E4E5;
  --tefBrown: #807477;
  --tefBrownDark: #524C4E;
  --tefGreenLight: #E6E9E6;
  --tefGreen: #7C877C;
  --tefGreenDark: #535753;
  --tefPurpleLight: #ECE7EE;
  --tefPurple: #9D84A3;
  --tefPurpleDark: #64566A;
}

p {
  margin-bottom: 0px !important;
  padding-bottom: 10px;
}

b,
strong {
  font-weight: 600;
}

a {
  font-weight: 500;
  color: var(--tefGray) !important;
}

a:hover {
  color:  var(--tefBlue);
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: TelefonicaSans, Helvetica, Arial, sans-serif !important;
  color: var(--tefBlue)
  !important;
  font-weight: 600;
  text-transform: capitalize;
  font-size: 18px;
  box-shadow: none !important;
  border-top: 1px solid #a8a8a8 !important;
  padding: 15px 0px 0px 0px !important;
  margin: 40px 0px 10px 0px !important;
}

h1>img,
h2>img,
h3>img,
h4>img,
h5>img,
h6>img {
  margin-bottom: 0px !important;
}

h1 {
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  border-top: none !important;
}

h3 {
  font-size: 16px;
  border-top: none !important;
  padding-top: 0px !important;
  margin-top: 15px !important;
  margin-bottom: 10px !important;
}

h4,
h5,
h6 {
  font-size: 16px;
  color: #777 !important;
  border-top: none !important;
  padding-top: 0px !important;
  margin-top: 15px !important;
  margin-bottom: 10px !important;
}

h1:first-of-type+ul,
h2:first-of-type+ul {
  display: none;
}

hr {
  width: auto;
}

div[role="navigation"] hr {
  box-shadow: none;
  border-top: 1px solid #e1e4e5;
}

div[role="main"] {
  margin-left: 0%;
  /* margin-right:40%; */
  max-width: 760px;
  min-height: 65vh;
}

/* Menu */
nav.wy-nav-side {
  background-color: #f4fbfc !important;
  padding-bottom: 0 !important;
  height: 100% !important;
}

nav>div.wy-menu.wy-menu-vertical>ul>li>a {
  font-size: 0.81rem !important;
  font-weight: 700 !important;
  color: #0066FF !important;
  text-transform: uppercase;
}

nav>div.wy-menu.wy-menu-vertical>ul>li.current>a {
  font-size: 0.81rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-transform: uppercase;
  background-color: var(--tefBlue)
  !important;
}

.wy-menu-vertical .subnav a {
  font-weight: 500 !important;
  padding: 0.4045em 1.618em;
}

nav>div.wy-menu.wy-menu-vertical>ul>li>a:hover {
  color: #ffffff !important;
  /*font-weight: 500 !important;*/
}

.wy-menu-vertical {
  padding-bottom: 25%;
  background-color: var(--tefGray1) !important;
}

.wy-menu-vertical a {
  border-bottom: 1px solid #f2f4ff;
  /* padding: 0.4045em 1.5em; */
}

.wy-menu-vertical header,
.wy-menu-vertical p.caption {
  height: auto;
  display: inline-block !important;
  line-height: 1.4em;
  padding: 1em 1.8em 0.3em;
  margin-bottom: 0;
  display: block;
  font-weight: 700 !important;
  text-transform: uppercase;
  font-size: 80%;
  white-space: break-spaces;
  color: var(--tefCoralDark);
}

.wy-menu-vertical li.current ul {
  border: none !important;
  background-color: var(--tefGray2)
}

/* .wy-menu-vertical li ul {
  background-color: #f5f5f5 !important;
} */

li.toctree-l1 {
  position: relative;
}

li.toctree-l1:after {
  content: "";
  width: 20px;
  height: 20px;
  background-size: 10px;
  top: 4px;
  right: 10px;
  position: absolute;
}

li.toctree-l1:hover:after {
  background-size: 10px;
}

li.toctree-l1.current:after {
  content: "";
  width: 20px;
  height: 20px;
  background-size: 10px;
  top: 4px;
  right: 10px;
  position: absolute;
}

li.toctree-l1.current:hover:after {
  background-size: 10px;
}

.wy-menu-vertical li.toctree-l1.current>a {
  font-weight: 700 !important;
  border: none !important;
}

.wy-menu-vertical li.toctree-l2.current>a,.wy-menu-vertical li.toctree-l2.current li.toctree-l3>a {
  background-color: var(--tefGray2) !important;
}

.wy-menu-vertical li.toctree-l2.current {
  padding-bottom: 0px;
}

.wy-menu-vertical li.toctree-l3 {
  font-size: 100%;
  background-color: transparent !important;
  padding-bottom: 0px !important;
}

.wy-menu-vertical li.toctree-l3.current {
  background-color:  var(--tefBlue) !important;
  color: #ffffff !important;
}

.wy-menu-vertical li.toctree-l2.current li.toctree-l3>a {
  display: block;
  padding: 0.4045em 3.5em !important;
  font-size: 14.4px;
}

.wy-menu-vertical li.toctree-l2.current li.toctree-l3>a:hover {
  background-color: var(--tefBlue)
  !important;
  color: #ffffff !important;
}

.wy-menu-vertical li.toctree-l1.current li.toctree-l2.current>ul {
  display: block;
  padding-bottom: 0;
}

.wy-menu-vertical li.toctree-l2.current li.toctree-l3.current>ul {
  display: block;
  padding-bottom: 5px;
  background-color: #fcf4f4 !important;
}

.wy-menu-vertical li.toctree-l3.current li.toctree-l4.current {
  padding-bottom: 0px !important;
}

.wy-menu-vertical li.toctree-l3.current li.toctree-l4>a {
  background: #f4fbfc;
  font-size: 14.4px;
  padding: 0.4045em 3.5em !important;
}

.wy-menu-vertical li.toctree-l3.current li.toctree-l4>a:hover {
  background-color: var(--tefBlue)
  !important;
  color: #ffffff !important;
}

.wy-menu-vertical li.current {
  background: #f4fbfc;
  /* padding-bottom: 16px; */
  border-right: none;
}

.wy-menu-vertical .current>a {
  background-color: var(--tefGray2) !important;
  color: var(--tefBlue) !important;
}

.wy-menu-vertical li.current a {
  font-weight: 500 !important;
  border: none !important;
  /* padding-left: 1.618em!important; */
}

.wy-menu-vertical li.current a:hover {
  font-weight: 500 !important;
  background-color:  var(--tefBlue);
  color: #ffffff !important;
}

/* .wy-menu-vertical li.toctree-l1 > a[href="index.html"] {
  font-weight: 700 !important;
  text-transform: uppercase;
} */
.wy-menu-vertical li.current>a:hover {
  background-color: var(--tefBlue) !important;
  border: none !important;
}

.wy-menu-vertical a:hover {
  background-color:  var(--tefBlue);
  color: #ffffff !important;
}

.wy-menu-vertical span {
  font-size: 0.81rem !important;
  font-weight: 700 !important;
  color: var(--tefBlue) !important;
  text-transform: uppercase !important;
}

.wy-menu-vertical li.current span {
  font-weight: 600 !important;
  color:  var(--tefBlue) !important;
}

.wy-menu-vertical li button.toctree-expand {
  display: block;
  float: left;
  margin-left: -1.2em;
  line-height: 18px;
  color:  var(--tefBlue) !important;
  border: none;
  background: none;
  padding: 0
}

.wy-menu-vertical li button.toctree-expand:hover {
  color: #fff !important;
}

.wy-menu-vertical li.current>a:hover button.toctree-expand,
.wy-menu-vertical li.on a:hover button.toctree-expand {
  color: #fff !important;
}

.wy-menu-vertical li.current>a button.toctree-expand,
.wy-menu-vertical li.on a button.toctree-expand {
  display: block;
  line-height: 18px;
  color:  var(--tefBlue) !important;
}

.rst-versions {
  background:  var(--tefBlue) none !important;
  border-top: 0 !important;
  font-family: TelefonicaSans, Helvetica, Arial, sans-serif !important;
  padding: 10px 15px !important;
  height: auto !important;
}

.rst-versions .rst-current-version {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  color: #ffffff !important;
  background-color:  var(--tefBlue) !important;
  padding: 0px !important;
}

.rst-current-version span {
  flex: auto !important;
}

.rst-versions a {
  color: #fff !important;
  /* text-decoration: underline !important; */
  font-family: TelefonicaSans, Helvetica, Arial, sans-serif !important;
}

.rst-versions a:hover {
  color: #fff !important;
}

.rst-versions .rst-other-versions {
  color: #fff !important;
}

.rst-versions .rst-other-versions hr {
  border-color: #fff !important;
}

.rst-versions .rst-other-versions dt {
  font-weight: 600 !important;
}

/* Search */
.wy-side-nav-search {
  clear: both !important;
  padding: 60px 10px 24px 12px;
  margin-bottom: 0px;
  background-image: url("https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/Telef%C3%B3nica_2021_logo.svg/320px-Telef%C3%B3nica_2021_logo.svg.png") !important;
  background-size: auto 24px !important;
  background-repeat: no-repeat !important;
  background-position: 20px 20px !important;
  background-color: var(--tefGray1 ) !important;  
  border-bottom-color: var(--tefGray1) !important;
  border-bottom-width: 1px!important; 
  border-style: transparent !important;
  position: sticky;
  top: 0;
}

.wy-side-nav-search:before {
  content: "";
  display: none;
}

.wy-side-nav-search:after {
  content: "";
  display: none;
}

.wy-side-nav-search input[type="text"] {
  border-radius: 20px;
  background-color: #fff !important;
  box-shadow: none;
  font-family: TelefonicaSans, Helvetica, Arial, sans-serif !important;
  font-size: 15px;
  font-weight: 500;
  padding: 4px 10px 5px 40px;
  margin: 16px 8px 0px 8px;
  background-image: url(../img/ico_search.png) !important;
  background-position: 4% !important;
  background-repeat: no-repeat !important;
  width: 94%;
  border: 2px solid rgba(255, 255, 255, 0);
  transition: border-color 0.4s ease-out;
}

.wy-side-nav-search input[type="text"]:focus {
  border: 2px solid var(--tefBlue);
  color: #000;
  box-shadow: none;
}

.wy-side-nav-search input[type="text"]:-internal-autofill-selected {
  appearance: none !important;
  background-image: url(../img/ico_search.png) !important;
  background-position: 4% !important;
  background-repeat: no-repeat !important;
  background-color: #fff !important;
  color: #000 !important;
}

.wy-side-nav-search input[type="text"]::placeholder {
  color: #696969;
  font-family: TelefonicaSans, Helvetica, Arial, sans-serif !important;
}

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

.wy-side-nav-search a {
  background-color: transparent !important;
}

.wy-side-nav-search .version {
  display: none;
}

/* Icon */
.rst-versions .rst-current-version .fa {
  font-weight: 600 !important;
}

.rst-versions.rst-badge {
  right: 5px !important;
  bottom: 5px !important;
}

.rst-versions.rst-badge .fa-book {
  padding-right: 10px;
}

.rst-versions.rst-badge .fa-caret-down {
  padding-left: 20px !important;
}

.wy-side-nav-search a.icon-home {
  white-space: pre-wrap;
}

a.icon-home {
  color: var(--tefGray9) !important;
  white-space: pre-line !important;
  font-family: "TelefonicaSans", Helvetica, Arial, Lucida, sans-serif !important;
  text-align: left !important;
  font-size: x-large !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  margin: 0 0 0 0 !important;
  width: 100%;
}

.fa-home:before,
.icon-home:before {
  display: none !important;
  /* content: none !important; */
}

/* Button */
.btn {
  display: inline-block;
  border-radius: 0px;
  line-height: normal;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
  padding: 6px 12px 8px 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color:  var(--tefBlue) !important;
  color: #fff !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  font-family: "TelefonicaSans", Helvetica, Arial, Lucida, sans-serif !important;
  box-shadow: none;
  vertical-align: middle;
  zoom: 1;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.1s linear;
  -moz-transition: all 0.1s linear;
  transition: all 0.1s linear;
}

.btn:hover {
  background-color:  var(--tefBlue) !important;
  color: #fff !important;
  text-decoration: none;
}

.btn:visited {
  background-color:  var(--tefBlue) !important;
  color: #fff !important;
}

.btn:visited:hover {
  background-color:  var(--tefBlue) !important;
  color: #fff !important;
  text-decoration: none;
}

/* Navigation Breadcrums */
.wy-breadcrumbs {
  text-transform: capitalize !important;
  color: #000000;
  font-weight: 500;
  font-size: 16px;
}

.wy-breadcrumbs li a:first-child {
  padding-left: 0;
  color:  var(--tefBlue);
}

.wy-nav-top {
  background-color:  var(--tefBlue);
  padding: 0px 1em;
}

.wy-nav-top>a {
  text-transform: uppercase;
  color: #ffffff !important;
  font-size: x-large;
  text-decoration: none !important;
}

.wy-nav-top>a:hover {
  color: #ffffff !important;
}

/* Content */
.wy-body-for-nav {
  background-image: none !important;
}

.wy-nav-content {
  max-width: none !important;
  background-color: #fff;
}

.rst-content img {
  max-width: 100%;
  margin: 0 auto;
  margin-bottom: 24px;
}

.rst-content a img {
  background-color: transparent;
  border-style: none;
  margin-left: 0%;
  margin-right: 0%;
}

.rst-content blockquote {
  max-width: 100%;
  word-break: break-spaces;
  line-height: 24px;
  padding: 24px 24px 15px 24px;
  margin: 16px 0px 28px;
  border: 0px;
  border-left: 3px solid #5dc0cf;
  font-weight: 500;
  color: #5dc0cf;
  font-style: italic;
  background-color: #f4fbfc;
  border-radius: 0px 5px 5px 0px;
}

.rst-content pre {
  margin: 0 0 24px;
}

.rst-content pre code {
  color: #fff;
  background-color: var(--tefGray8) !important;
  border-radius: 5px;
  padding: 16px !important;
  word-break: break-spaces;
}

.rst-content code {
  padding: 0px !important;
  border: 1px solid #e1e4e5 !important;
  padding: 2px !important;
  font-family: "Roboto Mono", monospace !important;
  background-color: var(--tefGray1);
  font-size: 90% !important;
  white-space: break-spaces !important;
  color: var(--tefCoral);

}

code {
  color: var(--tefBlue) !;
  padding: 0px !important;
  font-family: "Roboto Mono", monospace !important;
  font-size: 100% !important;
  white-space: break-spaces !important;
  border: none !important;
}

h1>code,
h2>code,
h3>code,
h4>code {
  font-size: 100%;
  font-family: "Roboto Mono", monospace;
  text-transform: none;
}

.hljs {
    display: block;
    overflow-x: auto;
    padding: 0.5em;
  
    color: #c9d1d9;
    background: #0d1117;
  }
  
  .hljs-comment,
  .hljs-punctuation {
    color: #8b949e;
  }
  
  .hljs-attr,
  .hljs-attribute,
  .hljs-meta,
  .hljs-selector-attr,
  .hljs-selector-class,
  .hljs-selector-id {
    color: #79c0ff;
  }
  
  .hljs-variable,
  .hljs-literal,
  .hljs-number,
  .hljs-doctag {
    color: #ffa657;
  }
  
  .hljs-params {
    color: #c9d1d9;
  }
  
  .hljs-function {
    color: #d2a8ff;
  }
  
  .hljs-class,
  .hljs-tag,
  .hljs-title,
  .hljs-built_in {
    color: #7ee787;
  }
  
  .hljs-keyword,
  .hljs-type,
  .hljs-builtin-name,
  .hljs-meta-keyword,
  .hljs-template-tag,
  .hljs-template-variable {
    color: #ff7b72;
  }
  
  .hljs-string,
  .hljs-undefined {
    color: #a5d6ff;
  }
  
  .hljs-regexp {
    color: #a5d6ff;
  }
  
  .hljs-symbol {
    color: #79c0ff;
  }
  
  .hljs-bullet {
    color: #ffa657;
  }
  
  .hljs-section {
    color: #79c0ff;
    font-weight: bold;
  }
  
  .hljs-quote,
  .hljs-name,
  .hljs-selector-tag,
  .hljs-selector-pseudo {
    color: #7ee787;
  }
  
  .hljs-emphasis {
    color: #ffa657;
    font-style: italic;
  }
  
  .hljs-strong {
    color: #ffa657;
    font-weight: bold;
  }
  
  .hljs-deletion {
    color: #ffa198;
    background-color: #490202;
  }
  
  .hljs-addition {
    color: #7ee787;
    background-color: #04260f;
  }
  
  .hljs-link {
    color: #a5d6ff;
    font-style: underline;
  }

/* Tables */
.rst-content .section .docutils {
  overflow-x: auto !important;
  display: block;
  font-size: smaller;
  line-height: 1.3em;
}

.wy-table thead,
.rst-content table.docutils thead,
.rst-content table.field-list thead {
  overflow-wrap: break-word;
  vertical-align: top;
}

tr {
  background-color: #f4fbfc;
}

.rst-content table.docutils:not(.field-list) tr:nth-child(2n-1) td {
  background-color: #e5f5f7;
}

.rst-content table.docutils:not(.field-list) tr:nth-child(2n-1) td img {
  background-color: transparent;
  border-style: none;
}

.rst-content table.docutils td {
  white-space: break-spaces;
}

.rst-content table.docutils th {
  white-space: break-spaces;
}

td {
  border-color: #fff !important;
  vertical-align: top !important;
  padding: 20px 10px !important;
}

th {
  background-color:  var(--tefBlue);
  color: #fff;
  border-color: #fff !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  padding: 10px !important;
}

th code {
  color: #fff !important;
}

td code {
  font-size: small;
}

/* Bullet points */
.wy-plain-list-disc,
.rst-content .section ul,
.rst-content .toctree-wrapper ul,
article ul {
  margin-bottom: 10px;
}

.wy-plain-list-disc li,
.rst-content .section ul li,
.rst-content .toctree-wrapper ul li,
article ul li {
  padding-bottom: 10px;
}

.wy-plain-list-disc li li,
.rst-content .section ul li li,
.rst-content .toctree-wrapper ul li li,
article ul li li {
  padding-bottom: 10px;
}

.wy-plain-list-disc li li li,
.rst-content .section ul li li li,
.rst-content .toctree-wrapper ul li li li,
article ul li li li {
  padding-bottom: 10px;
}

.wy-plain-list-disc li ul,
.rst-content .section ul li ul,
.rst-content .toctree-wrapper ul li ul,
article ul li ul {
  margin-bottom: 0;
  margin-top: 10px;
}

.wy-plain-list-decimal,
.rst-content .section ol,
.rst-content ol.arabic,
article ol {
  margin-bottom: 10px;
}

.wy-plain-list-decimal li,
.rst-content .section ol li,
.rst-content ol.arabic li,
article ol li {
  padding-bottom: 10px;
}

li::marker {
  color:  var(--tefBlue);
  font-weight: 600;
}

/* Footer */
footer {
  color: #696969;
  margin-top: 40px;
  font-size: 13px;
}

@media screen and (max-width: 768px) {
  .wy-nav-content-wrap .wy-nav-content {
    padding: 4.5em 1em 1em 1em;
  }

  div[role="main"] {
    margin-left: 1%;
    margin-right: 1%;
    min-width: 90% !important;
  }

  .wy-nav-top {
    position: fixed;
    width: 100%;
    top: 0;
  }

  .wy-nav-top>a {
    text-transform: uppercase;
    color: #ffffff !important;
    font-size: 16px;
    text-decoration: none !important;
  }

  .rst-content img {
    width: auto !important;
  }
}