#header
{
    height: 100%;
    width: 100%;
    margin: 0px;
    padding: 10px;
    background-image: linear-gradient(90deg, #7dd87d 0px, #4c9173 85px, #4c9173 100%);
}

#logo img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
}

#logo {
    position: relative;
    padding: 0;
    float:left;
    margin: 10px;
    max-height: 100%;
    max-width: 100%;
}

#header-stuff {
    padding-bottom: 0px;
    margin-bottom: 0px;
    float:left;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    color: #fff;
}

#site-name {
    float:left;
    height: 40px;
    padding-top: 15px;
    clear: both;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    color: #fff;
    font-size: 1.6em;
    font-weight:bold;
    text-shadow:1px 1px #555;
}

#site-slogan {
    height: 40px;
    float:left;
    clear: both;
    padding-top: 5px;
    font-size: 1em;
    text-transform: none;
    font-weight:bold;
    color:#fff;
}

/* -------------------------------------------------- */
/* Header com mídia: imagem estática e/ou vídeo       */
/* -------------------------------------------------- */

#header.header-has-media
{
    position: relative;
    height: 140px;
    overflow: hidden;
    /* background-image: linear-gradient(90deg, #7dd87d 0px, #4c9173 85px, #4c9173 100%); */
}

#header-image,
#header-video
{
    position: absolute;
    inset: 0;
    z-index: 1;
}

#header-image
{
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#header-video
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* parallax leve apenas no banner estático */
#header.header-parallax #header-image
{
    background-attachment: fixed;
}

#header-overlay
{
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        90deg,
        rgba(39,41,111,1.00) 20%,
        rgba(39,41,111,0.50) 40%,
        rgba(39,41,111,0.25) 60%,
        rgba(39,41,111,0.00) 100%
    );
}

#header-content
{
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex; 
    align-items: center;
    gap: 18px;
    padding: 0 18px;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    color: #fff;
    animation: headerFadeIn 1.1s ease-out;
    animation-iteration-count: 1;
}

@keyframes headerFadeIn
{
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#header-content #logo
{
    position: relative;
    padding: 0;
    margin: 0;
    float: none;
    display: block;
    width: auto;
    height: auto;
    max-height: 90px;
    max-width: 90px;
    flex: 0 0 auto;
}

#header-content #header-stuff
{
    float: none;
    padding-bottom: 0px;
    margin-bottom: 0px;
    color: #fff;
}

#header-content #site-name
{
    float: none;
    clear: none;
    height: auto;
    padding-top: 0px;
    margin: 0 0 6px 0;
    color: #fff;
    font-size: 2.0em;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.45);
    line-height: 1.1;
}

#header-content #site-slogan
{
    height: auto;
    float: none;
    clear: none;
    padding-top: 0px;
    margin: 0;
    font-size: 1.05em;
    text-transform: none;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.45);
    line-height: 1.25;
}

/* Remove the navbar's default margin-bottom and rounded borders */
.navbar {
  margin-bottom: 0;
  border-radius: 0;
}

/* Set height of the grid so .sidenav can be 100% (adjust as needed) */
.row.content {height: 450px}

/* Set gray background color and 100% height */
.sidenav {
  padding-top: 20px;
  background-color: #f1f1f1;
  height: 100%;
}

/* Set black background color, white text and some padding */
#footer {
  background-color: #ddd;
  color: black;
  padding: 6px;
  margin: 0px;
}

/* On small screens, set height to 'auto' for sidenav and grid */
@media screen and (max-width: 767px) {
  .sidenav {
    height: auto;
    padding: 15px;
  }

  .row.content {height:auto;}

  #header.header-has-media {
    height: 120px;
  }

  #header-content {
    padding: 0 10px;
    gap: 10px;
  }

  #header-content #logo {
    max-height: 72px;
    max-width: 72px;
  }

  #header-content #site-name {
    font-size: 1.35em;
  }

  #header-content #site-slogan {
    font-size: 0.85em;
    line-height: 1.15;
  }

  /* em mobile o fixed costuma ser problemático */
  #header.header-parallax #header-image {
    background-attachment: scroll;
  }
}

/*
.question_content {
    padding: 20px 20px;
}

.base_text_content {
    padding: 20px 20px;
}
*/

.custom_sm_btn {
    width: 80px !important;
}

/* tabela de correção pré BS */

table.correction_block {
    width: 100%;
}
th.correction_block, td.correction_block, table.correction_block {
    border: none;
    border-collapse: collapse;
    padding: 0 10px 0 10px;
}

tr.correction_block {
  background-color: #dddddd;
}

th.correction_block {
    height: 40px;
}

/* top right bottom left */
td.correction_fill, th.correction_fill {
    background-color: #ffffff;
    border: solid 1px;
    padding: 0px 12px 0px 6px;
}

/* numeração a,b,c,... das partes de um item com múltiplas questões (partes) */

/* div.question_content_has_parts { counter-reset: part_counter} */

div.question_content_has_parts div.question {
    border-bottom: groove 4px #AAAAAA;
    margin-bottom: 12px;
    padding: 12px;
}

/*
div.question_content_has_parts div.question:before {
    content: "\A0"counter(part_counter,lower-latin)"\A0";
    display: inline-block;
    float:left;
    margin-right:8px;
    border: 2px solid black;
    padding: 40 px;
    border-radius: 6px;
    background-color: #EEEEEE;
    font-family: sans-serif, Arial, Helvetica;
    font-size: 1.2em;
    counter-increment: part_counter;
}
*/

#footer {
  background-color: #ddd;
  color: black;
  padding: 6px;
  margin: 0px;
}

/* bloco de cada categoria */
.footer-group {
  margin-top: 8px;
  margin-bottom: 14px;
}

/* rótulo (realização / apoio) */
.footer-label {
  text-align: left;
  margin-bottom: 6px;
}

/* container dos logos */
.footer-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
}

/* link */
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* logo padrão */
.footer-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 220px;
  max-height: 60px;
}

/* responsivo */
@media screen and (max-width: 767px) {
  .footer-logos {
    justify-content: center;
    gap: 12px;
  }

  .footer-logo {
    max-width: 160px;
    max-height: 50px;
  }

  .footer-label {
    text-align: center;
  }
  
   .topbar {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

}

 
