/*-- scss:defaults --*/

/* TODO: Customize html appearance by setting SCSS variables */
/* See https://quarto.org/docs/output-formats/html-themes.html#theme-options */

/*-- scss:rules --*/

/* TODO: Provide custom CSS rules */

/*-- scss:defaults --*/

/*-- scss:rules --*/

#conteudo-capitulo, h1.title {

    font-family: gfs_artemisia !important;
    line-height: 1.5 !important;
    -webkit-hyphens: auto;
    hyphens: auto;

}

#conteudo-capitulo {margin-top: 45px;}

.tabela {  display: table; }
.tablinha { display: table-row; }
.tabcel { display: table-cell; }
.tabcorpo {display: table-header-group;}

img {
    image-rendering: -moz-crisp-edges; /* Firefox */
image-rendering: -o-crisp-edges; /* Opera */
image-rendering: -webkit-optimize-contrast; /* Webkit (non-standard naming) */
image-rendering: crisp-edges;
-ms-interpolation-mode: nearest-neighbor; /* IE (non-standard property) */

}


.mjx-container .mjx-math {
    white-space: normal;
}

.container-fch {

    max-width: 1060px;
    margin: 0 auto;

}

@media(max-width:768px){
  .wide {display:none;}
  .mobilefont {font-size:0.8em;}


   
  iframe.graficos {

    height: 265px;

}
  

}
@media(min-width:768px){
  .tight {display:none;}
  
}

@media(min-width:1300px){

    iframe.graficos {

        height: 305px !important;

    }


}

      .figura {

         position: relative;
         font-family: gfs_artemisia;
         text-align: center;
         padding: 0 !important;
            overflow: hidden;
            margin-top: 20px;
            width: 100%;
            display: block;
            -webkit-column-break-inside: avoid;
          page-break-inside: avoid;
               break-inside: avoid;
               line-height: 1.2;

      }

      span.legenda {
        
        display: block;
        margin-top: 22px;
        margin-bottom: 30px;;

      }

      .figura a {text-align: center;}

      .figura img {

        text-align: center;

        width: 75%;

        max-width: 320px;

        height: auto;


      }

        .interativo {

            position: relative;
            overflow: hidden;
            margin-top: 20px;
            display: block;
            height: fit-content;
            -webkit-column-break-inside: avoid;
          page-break-inside: avoid;
               break-inside: avoid;
        }

        .controles_interatividade {

            text-align: center;

        }

       iframe.graficos {

        overflow: hidden;
        position: relative;
        border: none;
        display: block;
        width: 100%;
        margin: 0 auto;
        height: 290px;
        min-width: 280px;
        max-width: 540px;
        break-inside: avoid-column;

       }




        p.unidade {

           
            text-align: justify;
            text-indent: 35px !important;
            
            margin-bottom: 13px !important;
            font-size: 1.1em;
            
        }

        span.centro {

            display: block;
            text-align: center;
            margin: 10px 0px

        }


        

        @font-face {

            font-family: 'gfs_artemisia';
            src:  url('./gfs_artemisia/GFSArtemisia.otf') format('opentype'),
                url('./gfs_artemisia/GFSArtemisia.ttf') format('trutype');

        }

        @font-face {

            font-family: 'oswald';
            src:  url('./oswald/Oswald-Bold.otf') format('opentype'),
                url('./oswald/Oswald-Bold.ttf') format('trutype');

        }

        h1 {

            font-size: 28pt;
            text-align: left;
            margin-bottom: 43px;
        
        }
        
       #conteudo-capitulo h2 {
        
        font-size: 15pt;
        text-align: left;
        margin-top: 30px;
        font-weight: bold;
        
        }

      
    ul.item{

        list-style: disc inside;

    }

    ul.item li {

        margin-bottom: 12px;
        line-height: 1.5 !important;

    }

    ul.listaLimpa {

        margin-top: 20px;

    }

    table.equation {
        
        display: inline;
    
    }

    .mathdisplay {

        margin: 25px auto;

        text-align: center;

    }

    td {

        padding-bottom: 15px;
    }

    .CENTER {

        margin: 20px auto;
        text-align: center;

    }

    div.CENTER table div.CENTER img {

        width: 80%;
        max-width: 550px;
        height: auto;

    }

table {

    margin: 0 auto;

}

.BOTTOM {

    caption-side: bottom;

}

caption {

    caption-side: bottom;

}



div.unidade {

    margin-top: 30px;
    margin-bottom: 30px;

}

DIV.equation { text-align-last:justify; white-space: nowrap; } /* place eq nos */





TABLE.PAD TD	{ padding:3px; }
TABLE.BORDER TR:first-child	{ border-top:1px solid black; border-bottom:1px solid black; font-weight: bold;}
TABLE.BORDER TR:last-child	{ border-bottom:1px solid black;}
TABLE.BORDER TD {padding-left: 10px; padding-right: 10px;}
TABLE.BORDER TR:hover {background: #5fade4}
TABLE.BORDER { width: 100%;}
TABLE.equation	{ margin:auto; }	/* place eq nos at right/left edge */
TABLE.equation > *	{ vertical-align:baseline; }
TABLE.equation TD	{ white-space:nowrap; }
TABLE		{ border-collapse: collapse; }

.mathdisplay {
    margin: 25px auto;
    text-align: center; /* Centraliza o conteúdo da tabela */
    position: relative;
  }
  
  .mathdisplay table {
    display: inline-block; /* Faz a tabela se comportar como um bloco em linha */
    text-align: initial; /* Reseta o alinhamento de texto */
  }
  

  td.eqno {
    position: absolute;
    right: 0;
  }	/* equation-number cells */

  .referencia {
    cursor: pointer;
  }
