@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;500;600&family=Source+Sans+Pro:ital,wght@0,400;0,600;1,400;1,600&display=swap');
@import "prism-maujor.css"; 
@import "tema.css"; 
/* Fluid font size variables, for browsers that support clamp */
@supports (font-size: clamp(1rem, 1vw, 1rem)) {
  :root {
    --fs-sm: clamp(1.28rem, 0.97vw + 0.89rem, 2.25rem);
    --fs-base: clamp(1.6rem, 1.4vw + 1.04rem, 3rem);
    --fs-md: clamp(2rem, 2vw + 1.2rem, 4rem);
    --fs-lg: clamp(2.5rem, 2.83vw + 1.37rem, 5.33rem);
    --fs-xl: clamp(3.13rem, 3.98vw + 1.53rem, 7.11rem);
  }
}
/* Fallback variables for browsers that don't support clamp */
@supports not (font-size: clamp(1rem, 1vw, 1rem)) {
  :root {
    --fs-sm: 1.28rem;
    --fs-base: 1.6rem;
    --fs-md: 2rem;
    --fs-lg: 2.5rem;
    --fs-xl: 3.13rem;

  }
  @media screen and (min-width: 1400px) {
    :root {
      --fs-sm: 2.25rem;
      --fs-base: 3rem;
      --fs-md: 4rem;
      --fs-lg: 5.33rem;
      --fs-xl: 7.11rem;
    }
  }
}
.google-auto-placed {
  display: none!important;
}

.item {
  width: 100%;
  position: relative;
}
html,
ol,
ul {
  margin: 0;
  padding: 0
}

html {
  font-size: 10px;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*:after,
*:before {
  box-sizing: inherit
}

body {
  margin: 0;
  font: 100%/1.6 "Source Sans Pro", sans-serif;
  -webkit-overflow-scrolling: touch;
  background-color: var(--background);
  color: var(--foreground);
}

/* Chamada para matéria no site */
.chamada {
  max-width: 500px;
  height: 26rem;
  padding: 1rem;
  text-align: center;
  font-size: 1.5rem;
  position: fixed;
  z-index: 1000;
  right: 10%;
  top: -25.8rem;
  display: inline-block;
  background: #222;
  color: #fff;
  border-bottom-left-radius: 8px;
}

.abre-chamada {
  cursor: pointer;
  position: absolute;
  width: 4rem;
  line-height: 4rem;
  right: -1rem;
  top: 24.5rem;
  background-color: #222;
  color: #fff;
  border-radius: 4px;
}

.chamada h2 {
  color: #fff;
  font-size: 2.2rem;
}

.chamada h3 {
  color: #fff;
  margin-top: 0;
  font-size: 2rem;
  font-weight: 300;
}

.chamada h2,
.chamada p {
  margin-top: 0;
}

.chamada a,
.chamada a:link,
.chamada a:visited {
  display: inline-block;
  border: 1px solid lime;
  border-radius: 0.6rem;
  padding: 1rem 2rem;
  color: lime;
  text-decoration: none;
}

.chamada a:hover {
  color: red;
}

.inner-chamada {
  position: relative;
}

@keyframes mostra {
  from {
    top: -24rem;
  }

  to {
    top: 0;
  }
}

@keyframes esconde {
  from {
    top: 0;
  }

  to {
    top: -24rem;
  }
}

/* Google translator */
#google_translate_element {
  display: none;
}
#google_translate_element {
  display: none;
}
.goog-te-banner-frame {
  display: none !important;
}
/* Fim Google translator */

body {
position: static !important;
top: 0 !important;
}
 /* Páginas sem comentários */
#contact #esconde {
  display: none;
}
 /* FIM Páginas sem comentários */
.wrapper {
  display: grid;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr;
}
.nav {
  margin-top:  9rem;
  grid-area: 1/1/2/2;
  display:flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
main {
  grid-area: 2/1/3/3;
}

.item h3 {
  text-align: center;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block
}

figure {
  text-align: center
}

ol,
ul {
  list-style: none
}

blockquote:after,
blockquote:before,
q:after,
q:before {
  content: "";
  content: none
}

table {
  border-spacing: 0
}

.wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
@media (max-width: 1400px) {
  .wrapper {
    padding: 0 2%;
  }

}
.add-bottom {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

h3,
h4,
h5,
h6 {
  margin: .7em 0 .4em
}
.main {
  width: 100%;
  color: var(--foreground);
  font-size:  var(--fs-sm);
  padding-top: 2rem;
}

.nav {
  width: 100%;
  font-size: 1.6rem;
  border-bottom: 2px dotted var(--um);
  padding-bottom: 3rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto Slab", serif;
  font-weight: 600;
  line-height: 1;
  color: var(--sete);
  
}

h1 {
  font-size: var(--fs-lg);
  border-bottom: 1px solid var(--um);
  margin: 0;
}

h2 {
  font-size: var(--fs-md);
  margin: .7em 0 .2em;
}

h3 {
  font-size: var(--fs-base);

}

h4,
h5,
h6 {
  font-size: var(--fs-sm);
}

h1>code, h2>code, h3>code,
h4>code, h5>code, h6>code {
  font-size: 0.93em;
}

p {
  margin: .5em 0 .4em
}

img {
  max-width: 100% !important;
  height: auto
}

iframe {
  width: 100%;
  margin: 0 auto
}
#skip-aqui {
  scroll-margin-top: 110px;
  }

#skip a {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden
}

#skip a:focus {
  left: 0;
  width: auto;
  height: auto;
  display: block;
  text-align: center;
  background: var(--g0);
  color: var(--foreground);
  padding: 0 10px;
  border: 5px solid var(--sete);
  font-size: 18px;
  text-decoration: none
}

.header {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  background-color: var(--bg-hf);
  color: var(--fore-hf);
  border-bottom: 1px solid var(--um);
}
 main a {
  text-decoration: none;
  color: var(--dois);
 }
 main a:visited {
  color: var(--dois);
 }
 main a:hover {
  color: var(--seis);
  text-decoration: underline;
 }

.add-bottom a,
.livros-maujor a {
  border: none
}

.main .add-bottom a:focus,
.main .add-bottom a:hover,
.main .livros-maujor a:focus,
.main .livros-maujor a:hover {
  border: none !important;
  background: 0 0 !important
}

.add-bottom a,
.livros-maujor a,
main a[href^="http://maujor"]:focus,
main a[href^="http://maujor"]:hover,
main a[href^="http://maujor"]:link,
main a[href^="http://maujor"]:visited {
  background-image: none !important;
  padding-right: 0 !important
}

main a[href^="//"]:after,
main a[href^="http:"]:after,
main a[href^="https:"]:after {
  content: " - Link";
  position: absolute;
  left: -10000px;
  top: auto
}

#esconde h4 {
  margin: 2em 0 1.5em 0;
  padding-top: 2rem;
  border-top: 1px solid var(--um);
}
#esconde a {
  display: inline-block;
  margin-right: 2rem;
}
#esconde a:hover {
  opacity: 0.4;
}


.credito {
  border: 1px solid var(--um);
  padding: 10px 20px;
  margin: 20px 0;
  background: var(--g1);
}

.visu-pubdate {
  font-size: var(--fs-sm);
  padding: 5px 0;
  border-bottom: 1px solid var(--um);
  display: inline-block;
  margin-bottom: 2rem;
}

.livros-maujor {
  text-align: center;
  border-top: 1px solid var(--um);
  padding-top: 2rem;
  margin-top: 4rem;
}

.livros-maujor .cf {
  text-align: left;
  margin-left: -10px
}

.center,
.fechar,
.footer {
  text-align: center
}


.livros-maujor a img {
  margin: 16px 3px;
  box-shadow: 2px 2px 4px var(--nove);
}

.livros-maujor h2 {
  margin: 0 0 -.4em
}

.livros-maujor h2+p {
  margin-bottom: 20px
}

.nav li {
  border-bottom: 1px solid var(--um);
}
.nav li:first-child {
  border-top: 1px solid var(--um);
}


/* .nav li {
  border-bottom: 1px solid var(--nove);
}
.nav li:first-child {
  border-top: 1px solid var(--nove);
} */

.nav a,
nav a:active {
  display: block;
  background: var(--g1);
  color: var(--dois);
  text-decoration: none;
  padding: 5px 0 5px 8px;
}

.nav a:hover,
nav a:focus {
  background: var(--background)
}

.links-secoes a,
.nav h3 {
  font: 300 18px/1 "Roboto Slab", serif;
  margin-left: 6px;
  background: 0 0
}

nav .unico h3 {
  border: none;
  padding: 0
}

nav .unico a {
  display: block;
  padding: 10px
}

.nav .item-um h3 {
  padding-top: 0;
  border-top: none
}

.box {
  width:100%;
}

.box li {
  position: relative
}

.footer a,
.footer a:link,
.footer a:visited {
  color: var(--um);
  text-decoration: underline;
}

.footer a:hover {
  color: var(--seis);
}

.footer {
  background-color: var(--bg-hf);
  color: var(--fore-hf);
  border-top: 1px solid var(--um);
  font-size: 18px;
  padding: 20px 0;
}

.footer p {
  margin: 0
}

.social-buttons {
  display: inline-block;
  margin: 0
}

.social-buttons li {
  float: left;
  margin-bottom: 0
}

.social-buttons li a {
  font-size: 0;
  line-height: 0;
  margin: 0 16px;
  text-indent: -99999px;
  display: block;
  width: 30px;
  height: 30px;
  background: url(../imagens/icon/icon-escuro.png)
}

.social-buttons a.email {
  background-position: 0 0
}

.social-buttons a.twitter {
  background-position: -47px 0
}

.social-buttons a.facebook {
  background-position: -92px 0
}

.social-buttons a.googleplus {
  background-position: -128px 0
}

.social-buttons a.youtube {
  background-position: -169px 0
}

.social-buttons a.rss {
  background-position: -209px 0
}

.social-buttons a.email:hover {
  background-position: -240px 0
}

.social-buttons a.twitter:hover {
  background-position: -287px 0
}

.social-buttons a.facebook:hover {
  background-position: -332px 0
}

.social-buttons a.googleplus:hover {
  background-position: -368px 0
}

.social-buttons a.youtube:hover {
  background-position: -409px 0
}

.social-buttons a.rss:hover {
  background-position: -449px 0
}
div.irtopo {
  background: var(--background);
  position: fixed;
  bottom: 25px;
  right: 25px;
  border-radius: 50%;
  border: 1px solid var(--dois);
}

div.irtopo a {
  display: block;
  color: var(--dois)!important;
  padding: 12px 8px;
  text-decoration: none!important;
}

div.irtopo a:hover {
  color: var(--seis)!important;
}

.cf:after,
.cf:before {
  content: " ";
  display: table
}

.cf:after,
.cf:before,
.clear,
.l {
  clear: both
}

.titulo-codigo {
  font: 700 2.2rem "Fira Code", monospace;
  margin: 1rem 0 -1.8rem;
  padding: 0.6rem 1.8rem;
  position: relative;
  color: var(--foreground);
  background: var(--background);
  border: 2px solid var(--nove);
  border-top-left-radius: .3em;
  border-top-right-radius: .3em
}

.main ol,
.main ul,
ol.bullet,
ul.bullet {
  padding-left: 40px
}

.cor-um,
.dest {
  color: var(--sete);
}

.cor-dois {
  color: #0d7eef
}

.alerta,
.cor-tres {
  color: #e83ce3
}

.cor-quatro {
  color: #ff5c00
}

.cor-cinco {
  color: #d00
}

.img-left {
  float: left;
  margin-right: 5px
}

.img-right {
  float: right;
  margin-left: 5px
}

.fleft {
  float: left
}

.fright {
  float: right
}

a img,
img {
  border: none
}

  /*@media (max-width:50em) {

  .main,
  .nav {
    width: 100%;
    float: none
  }
  }*/

ol.bullet {
  list-style: decimal
}

ul.bullet {
  list-style: disc
}

.main ol {
  list-style: decimal
}

.main ul {
  list-style: disc
}

main ol.sem-bullet,
main ul.sem-bullet {
  list-style: none;
  padding-left: 20px
}

main ol.sem-bullet a,
main ul.sem-bullet a {
  padding-left: 0
}


.boxtut {
  display: block;
  color: var(--oito);
  border: 1px solid var(--um);
  font-size: var(--fs-sm);
  padding: 1rem 2rem;
  margin: 3rem 0;
  border-radius: 1rem;
  background: var(--g1);
}

pre.boxtut {
    display: block;
    margin-top: 1rem;
    padding-top: 1rem;
    overflow: auto;
}
blockquote,
q {
  quotes: none;
  background: url(../imagens/blockquote-quote.png) 10px 10px no-repeat var(--g1);
  padding: 15px 40px;
  margin: 15px 0;
  border: 1px solid var(--dois);
  border-radius: 4px
}

.botaomaujor {
  display: inline-block;
  text-decoration: none;
  color: var(--foreground)!important;
  background-color: var(--background)!important;
  border: 1px solid var(--dois);
  border-radius: .4em;
  padding: .5em 1em
}

.botaomaujor:hover {
  cursor: pointer;
  text-decoration: none;
  color: var(--g0)!important;
  background-color: var(--g4)!important;
}

.botaomaujor,
.botaomaujor:hover,
.social-buttons a {
  transition: all .5s ease
} 

table,
table.borda {
  border-collapse: collapse
}

table.borda tr td,
table.borda tr th {
  padding: 1px 8px;
  border: 1px solid var(--tres);
}

dl {
  margin: 20px 0
}

dt {
  margin-top: 10px;
  font-size: var(--fs-base)
}

dd {
  margin-left: 1.6em;
  font-size: var(--fs-sm)
}

.b,
.fechar,
.lg,
.link-titulo,
.md,
.sm,
.xl {
  font-weight: 700
}
code,
kbd,
samp {
  font: italic 1em monospace;
  margin: 0 4px;
  border-radius: 4px
}
.l {
  float: left;
  margin-left: 2px
}

.r {
  float: right;
  margin-right: 2px
}

.left {
  float: left;
  margin: 0 1em 1em 0
}

.right {
  float: right;
  margin: 0 0 1em 1em
}

.sm {
  font-size: var(--fs-sm);
}

.md {
  font-size: var(--fs-base);
}

.lg {
  font-size: var(--fs-md);
}

.xl {
  font-size: var(--fs-lg);
}

  .nav li:last-child {
    border-bottom: none;
  }
  .nav li:first-child {
    border-top: none;
  }

  .item {
    height: 5rem;
  }

  .item ul {
    display: none;
    z-index: 10;
    border: 1px solid var(--um);
  }
  .item:hover ul {
    display: block;
    position: absolute;
    z-index: 10px;
    left: .6rem;
    top: 5rem;
    width: calc(100% - 1.2rem);
  }

.item h3::after {
  content: "\0025bc";
  color: var(--g3);
  position: absolute;
  right: 0.5rem;
  top: 1rem;
}


.item h3 {
  color: var(--g3);
  position: relative;
  border: 1px solid var(--um);
  border-radius: 0.6rem;
  padding: 10px;
  margin-right: 6px;
  cursor: pointer;
  }
/*}*/

@media (min-width: 600px) {
  .item {
    width: 50%}
}
@media (min-width: 800px) {
  .item {
    width: 33.333%}
}
@media (min-width: 1000px) {
  .item {
    width: 25%}
}
@media (min-width: 1200px) {
  .item {
    width: 20%}
}

@media print {
  html {
    font-size: 14px;
  }
  body {
    font-family:Georgia, 'Times New Roman', Times, serif;
  }
  header, .nav, .visu-pubdate, .chamada, #esconde,
  .livros-maujor, .footer {
   display:none;
  }
  .main {padding-top: 0;}

  main .credito  a[href^="https:"]:after {    
    content: "("attr(href)")";
    position: absolute;
    top: auto;
    left: 87%;
  }
  body:after {
    content: "Esse PDF contém tutoriais retirados do site do Maujor.";
    font-size: 11px;
    margin-left:20px;
    padding-bottom: 10px;
  }
}
