/*-- scss:defaults --*/
$h2-font-size:          1.6rem !default;
$headings-font-weight:  500 !default;
$font-size-base: 1.1rem !default;

/*-- scss:rules --*/
main p, main li {
    text-align: justify;
    hyphens: auto;
    font-kerning: auto;
}

main li {
    margin-bottom: 15px;
}

h1{
    margin-bottom: 18px !important;
    text-align: center;
}

h2 {
    box-shadow: inset 0 -.4em 0 #00C0FF;
    display: table;
    padding-bottom: 0.1em;
}

h2#toc-title {
    box-shadow:none;
}

#TOC .small_h2{
    font-size: inherit;
}

h3 {
    text-align: left;
    text-decoration: underline;
    font-weight: bold;
    font-variant: small-caps;
}

h4 {
    text-align: center;
    color: #999;
    font-weight: bold;
    font-variant: small-caps;
}

 #TOC a {
    word-break: normal;
 }

.subtitle {
    text-align: center;
}

div.autores{
    margin-bottom: 30px;
    margin-top: -15px;
    font-size: 0.8em;
  }

div.autores p {
    text-align: right;
}

blockquote{
    text-align: justify;
    hyphens: auto;
    font-kerning: auto;
    margin-top: 30px;
}

  blockquote+p span div {
    text-align: left;
    font-weight: normal;
    font-size: unset;
  }
 .references div{
     text-indent: -20px;
     margin-left: 20px;
     text-align: justify;
 }

 .citation div {
     text-align: justify;
 }
 .assinatura{
    width: 100%;
    text-align: right;
 }

 .assinatura div{
     margin-bottom: 0;
     max-width: 280px;
     text-align: center;
     display: inline-block;
     font-size: 0.95rem;
 }

 .assinatura div p:first-child {
    margin-bottom: 0;
 }

 .assinatura div p {
    text-align: center;
 }


.figure-caption {
    text-align: center;
}

.contador-figura{
    font-weight: bold;
    font-variant: small-caps;
}

p:has(.btn_book){
    text-align: center;
    padding: 15px 3px;
    box-sizing: border-box;
}

.btn_book{
    padding: 7px 15px;
    background-color: #00C0FF;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
}

.btn_book:hover{
    background-color: #4ad0fd;
    color: #fff;
}

mjx-container {
    overflow-x: auto;
}

td mjx-container {
    max-width: 350px;
}

@media (max-width:1305px){
    

    td mjx-container {
        max-width: 300px;
    }
    
    
}

@media (max-width:1290px){
    

    td mjx-container {
        max-width: 270px;
    }
    
    
}

@media (max-width:1260px){
    

    td mjx-container {
        max-width: 220px;
    }
    
    
}

@media (max-width:1170px){
    

    td mjx-container {
        max-width: 180px;
    }
    
    
}

@media (max-width:745px){
    

    td mjx-container {
        max-width: 200px;
    }
    
    
}

@media (max-width:615px){
    

    td mjx-container {
        max-width: 120px;
    }
    
    
}



 @media (max-width: 991.98px){
 body .page-columns, body.fullcontent:not(.floating):not(.docked) .page-columns, body.slimcontent:not(.floating):not(.docked) .page-columns, body.docked .page-columns, body.docked.slimcontent .page-columns, body.docked.fullcontent .page-columns, body.floating .page-columns, body.floating.slimcontent .page-columns, body.floating.fullcontent .page-columns {
     display: grid;
     gap: 0;
     grid-template-columns: [screen-start] 1.5em [screen-start-inset page-start page-start-inset body-start-outset body-start body-content-start] minmax(0px, 1fr) [body-content-end body-end body-end-outset page-end-inset page-end screen-end-inset] 1.5em [screen-end];
 }

 #quarto-margin-sidebar {
     display: none;
 }

 #quarto-content {
    max-width: 768px;
    margin: auto;

}
 }


 .bloco-imagem div {
    margin-bottom: 0px;
 }

 .bloco-imagem p {
    text-align: center;
 }

 .figure p {
    margin-bottom: 0px;
 }

 .small_h2 {
    font-size: 1.5rem;
}

:root {
    --cinza_claro: #C4C4C4;
    --cinza_extra_claro: #EBEBEB;
    --cinza_extra_extra_claro: #F7F7F7;
}	

#tbl-algebrica tr td:nth-child(2) {
   background-color: #4ad0fd;
}

#tbl-algebrica thead {
   background-color: #dddddd;
}

#tbl-quadro1 {
    border-collapse: collapse;
    text-align: left;
    margin-bottom: 10px;
}

#tbl-quadro4, #tbl-quadro5, #tbl-quadro7{
    border-collapse: collapse;
}

#tbl-quadro4 th, #tbl-quadro5 th, #tbl-quadro7 th, #tbl-quadro4 td, #tbl-quadro5 td, #tbl-quadro7 td {
    border: 1px solid #aaa;
}

#tbl-quadro1 p {
    text-align: left;
}

#tbl-quadro1 #tbl-quadro1 th, #tbl-quadro1 thead {
    background-color: var(--cinza_claro);
    text-align: center;
    vertical-align: middle;
}

#tbl-quadro1 tr td:first-child {
    text-align: center;
}

#tbl-quadro1 tr td:only-child {
   text-align: left;
}

#tbl-quadro1 td, #tbl-quadro1 th {
    border: 1px solid #aaa;
}

#tbl-quadro1 + p {
    text-align: center;
    margin-bottom: 1.5rem;
}

.quadro2 td {
    text-align: center !important;
}

.config1 {
    background-color: var(--cinza_claro);
}

.config1 td {
    text-align: center;
    vertical-align: middle;
}

.config2 {
    background-color: var(--cinza_extra_claro);
    text-align: justify;
    vertical-align: middle;
}

.config3 {
    background-color: var(--cinza_extra_extra_claro);
    text-align: center;
    vertical-align: middle;
}

.tab {
    vertical-align: middle;
    margin-bottom: 50px;
}

.tab img {
    min-width: 30px;
    max-height: 70px;
    height: auto;
}

.tab td {
    height: 85px;
}

.nobreak a{
    word-break: keep-all;
}

.break a {
    word-break: break-all;
}	

#referencias a, .tippy-content a {
    word-break: break-all;
}

@media (max-width:445px){
    .grid{display: block;}
}

