.btn-primary-spacing{
    margin-right:5px;
    margin-bottom:5px!important;
    padding:0 16px;
    font-size:.8rem;
}

.btn-escondido{
    display: none;
}

.btn-group > .btn:last-child:not(:first-child), .btn-group > .dropdown-toggle:not(:first-child) {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.processo-titulo{
    font-size:1.1rem;
    font-weight:700;
}

.processo-rotulo,.processo-titulo span{
    font-size:.6rem;
    font-weight: 700;
}

.titulo-processo{
  background-color: var(--stfAzulMedio);
  color: var(--stfBranco);
  padding: .5rem 1rem;
  text-transform: uppercase;
  border-radius: 0.3rem 0.3rem 0 0;
  display: flex;
  max-width: 1320px;
  flex-wrap: wrap;
}
.icone-expandir a{
    color:var(--stfBranco);
    font-size: 0.7rem;
    float: right;
    margin-right: 20px;
    margin-top: 5px;
    cursor: pointer;
}

.card-conteudo {
    display: flex;
    flex-direction: column;
}

.card-processo > div{
    background-color: var(--stfAzulMedio);
    color: var(--stfBranco);
    padding-bottom: .5rem;
}

.card-processo a{
    color: var(--stfBranco);
    font-weight: 700;
}

.card-processo .processo-dados,.card-processo .processo-partes{
    font-size:.8rem;
}

.card-processo .processo-classe{
    font-size:.8rem;
    font-weight:700;
}
.card-processo .processo-link{
    font-size:.7rem;
}

.card-processo a#todas-partes{
    color:#fff;
    font-weight:700;
    font-size:1.2em;
}

.card-lista-processo {
    max-width: 1320px;
}

.menu-abas {
  display: flex;
}

.card ul {
  display: flex;
  justify-content: space-around;
  flex-direction: column;
}

.menu-abas #abas_processo {
  flex-direction: row;
}

.linha-2{
    min-height:36px;
    padding-bottom:10px;
    background-color:#41b5ec;
    font-weight:700;
    font-size:.85rem;
    margin:auto;
}
.linha-2,.linha-2 a{
    color:#fff;
}

.resumo-partes {
    padding: 0 1rem;
}

.processo-partes {
    font-size:.85rem;
    flex-direction: column;
}

.processo-partes .nome-parte{
    font-size:.85rem;
    font-weight:700;
    margin-left: .5rem;
}

.processo-partes .detalhe-parte{
    font-size:.7rem;
}

.processo-informacoes-cabecalho{
    background-color:#efefef;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
}

.processo-informacoes {
    display: flex;
    flex-wrap: wrap;
    padding: 1rem;
}

.processo-informacoes___col {
    display: flex;
}

.processo-informacoes___col:first-child {
    flex-direction: column;
}

.processo-informacoes___col:last-child {
    justify-content: space-between;
}

.processo-informacoes .processo-detalhes-bold{
    margin-bottom: .5rem;
}

.processo-quadro{
    border:2px solid #ababab;
    border-radius: 0.3rem;
    padding:2px;
    text-align:center;
    margin-left:8px;
    margin-bottom:8px;
    vertical-align:middle;
    min-width: 120px;
    height:100%;
    min-height:120px;
}

.processo-quadro .numero{
    font-size:1.3rem;
    font-weight:700;
    margin-top:24px;
    margin-bottom:24px;
}

.processo-quadro .rotulo{
    font-size:.7rem;
}

.lista-dados{
    padding-top: .8rem;
    padding-bottom: .8rem;
    display: flex;
}

.lista-dados__col {
    display: flex;
    flex-wrap: wrap;
}

.lista-dados__col:first-child {
    flex-direction: column;
}

.lista-dados__col--detalhes {
    margin-left: calc(8% - .5rem);
}

.processo-detalhes-bold {
    font-size:.9rem;
    font-weight:700;
}

.processo-detalhes {
    font-size:.7rem;
    margin-left: .5rem;
}

.processo-detalhes ul {
    list-style: none;
    display: flex;
}

.text-right {
    text-align:right;
}

.btn-peticao{
    margin:0 auto;
    width:40%;
}

#abas_processo {
    border-bottom: 1px solid var(--stfCinzaClaro);
}
#abas_processo li {
  width: calc(100% / 9);
  line-height: 1;
}


.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
  color: var(--stfPreto);
  background-color: var(--stfCinzaClaro);
}

.nav-tabs .nav-link {
    border:none;
    color: var(--stfCinzaMedio);
    display: flex;
    flex-direction: row;
    padding: .5rem;
    white-space: nowrap;
}

.nav-tabs>li.active>a,.nav-tabs>li>a:hover{
    border:none;
    color: var(--stfPreto);
    /* text-decoration: underline var(--stfAzulMedio); */
    /* background:transparent; */
}
.nav-tabs>li>a:after{
    content:"";
    /* background:#056bb3; */
    /* position:absolute;
    left:0;
    bottom:-1px; */
    width:100%;
    height:2px;
    transition: all .25s ease 0s;
    transform:scale(0);
}
.nav-tabs>li.active>a:after,.nav-tabs>li:hover>a:after{
    transform:scale(1);
}

.tab-pane{
    padding:0;
}

.tab-content{
    padding:10px 20px;
}
/* quando rolar a pagina irá fixar o titulo do card e outros objetos */
.fixar-objeto{
    position: absolute;
    z-index: 1;

}
.fixar-titulo{
    width: 100%;
}
.fixar-card-processo{
    position: fixed;
    top: 178px;
}
.fixar-linha-2{
   top: 313px;
}
.ajustar-menu{
    top: 6rem;
    background-color: #fff;
}
@media only print {
   .tab-content {
     overflow: visible;
   }
}

/* listas de julgamento virtual */


@media (max-width: 500px) {
  .listas2 {
    position:relative;
    left: -30px;
  }
}

.btnmaismenos {
    font-size: 1rem;
    color: #41b5ec;
    height: 22px;
    line-height: 8px;
}

.card-lista {
    display: flex;
}

.titulo-lista {
    font-size: 0.85rem;
    font-weight: bold;
}

.relator-lista {
    font-size: 0.75rem;
}

.lista-item {
    margin-bottom: 4px;
    margin-left: 40px;
    position: relative;
}

.julgador-voto {
    position: relative;
    top: 10px;
    right: -33px;
    margin-bottom: 4rem;
    margin-top: 1.5rem;
}

.img-semvoto {
    margin-bottom: 78px;
}

.rotulo-lista {
    font-weight: bold;
}

.desc-lista {
    font-size: 0.9rem;
}

.lista-item::after {
    background: #fff;
        background-repeat: repeat;
        background-image: none;
        background-size: auto;
    border: 2px solid #ccc;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0,0,0,.1);
    content: "";
    height: 15px;
    left: -40px;
    position: absolute;
    top: 10px;
    width: 15px;
}

.cabecalho-lista {
    background-color: #EFEFEF;
    padding: 10px 0 0 0;
}

.btn-group__wrapper {
    display: flex;
    justify-content: end;
}

.btn-group {
    margin-top: 10px !important;
}

.btn-check:focus + .btn, .btn:focus {
    color: var(--stfAzulEscuro) !important;
    background-color: var(--stfBranco) !important;
}

.julgamento-item {
  display: flow-root;
}

.relator-voto {
  width: 17rem;
  position: relative;
  left: 15px;
}

.relator-voto::after {
    background-size: contain;
    background-repeat: no-repeat;
    height: 55px;
    left: -64px;
    top: 0px;
    width: 56px;
}

.julgador-voto::after {
    background-size: cover;
    background-repeat: no-repeat;
    height: 55px;
    left: -64px;
    top: 0px;
    width: 56px;
}

.acompanha-relator {
  background-color: rgba(78, 154, 6, 0.3);
  display: flex;
  margin-bottom: 12px;
  line-height: 0.5rem;
}

.diverge {
  background-color: rgba(164, 0, 0, 0.5);
  display: flex;
  margin-bottom: 12px;
  line-height: 0.5rem;
}

.acompanha-divergencia {
  background-color: rgba(204, 0, 0, 0.3);
  display: flex;
  margin-bottom: 12px;
  line-height: 0.5rem;
}

.manifestacao-julgador {
    position: relative;
    top: 18px;
}

.manifestacao-julgador-wrapper {
  margin-bottom: 2.6rem;
}

.manifestacao-julgador-linha1 {
    position: relative;
    top: 10px;
}

.manifestacao-julgador-linha2 {
    position: relative;
    top: 20px;
    line-height: 1rem;
}

.resultado-lista__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resultado-lista {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.card-resultado-lista:first-child,
.resultado-lista .card-resultado-lista:first-child {
  width: 100%;
}
/* .card-resultado-lista.esq {
    margin-right: 12px;
    width: 48%;
    min-height: 115px;
} */
.card-resultado-lista {
    border: 2px solid var(--stfCinza);
    border-radius: 4px;
    margin-top: 1rem;
    padding: 1.2rem;
    width: 48%;
}

.card-resultado-lista.dir {
    /* margin-left: 12px;
    width: 48%;
    position: relative;
    left: 6px;
    min-height: 115px; */
    /* margin-left: auto; */
}

.card-resultado-titulo {
    margin: 8px 0;
    font-weight: bold;
}
.menu-abas {
  visibility: visible;
}
.menu-abas-mobile {
  display: none;
}
.menu-abas > ul > li > a > i {
    font-size: 1rem;
    margin-inline-end: .2rem;
}
@media (max-width: var(--bg-desktop)) {
  .nav-tabs .nav-link {
    flex-direction: column;
  }
}
@media (max-width: 1200px) {
  .nav-tabs .nav-link {
    flex-direction: column;
  }
}
@media (max-width: 996px) {
  .cabecalho-lista {
    background-color: #ffffff;
  }
  .card-resultado-lista {
      margin-top: 8px;
  }
  .card-resultado-lista {
      width: 100%;
  }
  /* .card-resultado-lista.dir {
      margin-left: -7px;
      width: 100%;
  } */
  .card-resultado-titulo {
      font-weight: normal;
      width: 90%;
  }
  .julgamento-item {
    display: table;
  }
  .manifestacao-julgador {
      position: relative;
      top: 16px;
  }
  .relator-voto {
    position: relative;
    left: -8px;
  }
  .menu-abas {
    display: none;
  }
  .menu-abas-mobile {
    visibility: visible;
    display: block;
  }
}

@media (max-width: 768px) {
  .andamento-detalhe  {
     flex-direction: column;
   }
  .resultado-lista {
    width: 100%;
    justify-content: center;
  }
  .card-resultado-lista:first-child,
  .resultado-lista .card-resultado-lista:first-child {
    width: 90%;
  }
  .card-resultado-lista {
    width: 90%;
  }
  .btn-lista {
    position: relative;
    display: flex;
    width: 100%;
    white-space: break-spaces;
    height: fit-content;
    /* right: 32px; */
  }
  .processo-detalhes-bold {
    /* font-size: 0.7rem;
    word-break: break-all; */
    font-size: min(.7rem, 3vw);
    line-height: 2;
  }
}

@media (max-width: 500px) {
  .btn-group {
    flex-wrap: wrap;
  }
  #votacoes {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .resultado-lista__container {
    width: 90vw;
  }
  .cabecalho-lista {
    background-color: #ffffff;
  }
  .informacoes__assunto {
    flex-direction: column;
  }

  /* .resultado-lista {
    clear: both;
    width: 320px;
    position: relative;
    right: 0px;
  } */

  .card-resultado-lista {
      margin-top: 8px;
  }
  /* .card-resultado-lista.esq {
      width: 100%;
  }
  .card-resultado-lista.dir {
      margin-left: -7px;
      width: 100%;
  } */
  .card-resultado-titulo {
      font-weight: normal;
      width: 100%;
      font-size: 0.95rem;
  }
  .listas {
    position: relative;
    /* right: 47px; */
  }
  .julgamento-item {
    width: 94vw;
    display: flex;
    flex-direction: column;
  }
  .manifestacao-julgador {
      position: relative;
      top: 16px;
      font-size: 0.95rem;
  }
  .card-lista {
    display: block;
    width: 22rem;
  }
  .relator-lista {
    margin-bottom: 12px;
  }
  .relator-voto {
    position: relative;
    left: -12px;
  }
  .menu-abas {
    display: none;
  }
  .menu-abas-mobile {
    visibility: visible;
    display: block;
  }
}

.semvoto {
  clear: both;
}


/* menuToggle */

#menuToggle
{
  display: block;
  position: relative;
  top: .3rem;
  left: 1rem;

  z-index: 1;

  -webkit-user-select: none;
  user-select: none;
}

#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  cursor: pointer;

  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */

  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;

  background: #cdcdcd;
  border-radius: 3px;

  z-index: 1;

  transform-origin: 4px 0px;

  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/*
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

#abas_processo_mobile
{
  position: absolute;
width: 24rem !important;
  margin: -40px 0 0 -13px;
  padding: 12px;
  padding-top: 40px;

  background-color: rgba(231, 231, 231, 1);
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */

  transform-origin: 0% 0%;
  transform: translate(-150%, 0);

  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}


#abas_processo_mobile li
{
  padding: 10px 0;
  font-size: 22px;
  width: 100% !important;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: none;
  position: inherit;
}

/* fim menuToggle */

/* Tooltip container */
.tooltip-lista {
  position: relative;
  display: inline-block;
}


/* Tooltip text */
.tooltip-lista .tooltiptext {
  font-size: 0.95rem;
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip-lista:hover .tooltiptext {
  visibility: visible;
}

/* andamento */
.andamento-item{
    margin-bottom:4px;
    margin-left:40px;
    position:relative;
}

.andamento-item .andamento-inner{
    background:#fff;
    border:1px solid #ddd;
    border-radius:3px;
    padding:5px 5px 0px 5px ;
    position:relative;
}

.andamento-item .andamento-inner:before{
    border-right:10px solid #ddd;
    left:-20px
}
.andamento-item .andamento-inner:after,.andamento-item .andamento-inner:before{
    border-style:solid;
    border-width:10px;
    color:transparent;
    content:"";
    display:block;
    height:0;
    position:absolute;
    top:6px;
    width:0
}
.andamento-item .andamento-inner:after{
    border-right:10px solid #fff;
    left:-18px
}
.andamento-item:before{
    background:#fff;
    border-radius:2px;
    bottom:-5px;
    box-shadow:0 0 3px rgba(20,20,20,.2);
    content:"";
    height:100%;
    left:-34px;
    position:absolute;
    width:3px
}
.andamento-item:after{
    background:#fff;
    border:2px solid #ccc;
    border-radius:50%;
    box-shadow:0 0 5px rgba(0,0,0,.1);
    content:"";
    height:15px;
    left:-40px;
    position:absolute;
    top:10px;
    width:15px
}

.julgador:after{
    background-size: contain;
    background-repeat: no-repeat;
    height: 45px;
    left: -56px;
    top: -6px;
    width: 45px;
  }

.presidente:after{
    background-image: url('../../img/ministros/presidente.jpg');
}

.marco-aurelio:after{
    background-image: url('../../img/ministros/ministro_marco_aurelio.jpg');
}

.carmen-lucia:after{
    background-image: url('../../img/ministros/ministra_carmen_lucia.jpg');
}

.dias-toffoli:after{
    background-image: url('../../img/ministros/ministro_dias_toffoli.jpg');
}

.fachin:after{
    background-image: url('../../img/ministros/ministro_fachin.jpg');
}

.lewandowski:after{
    background-image: url('../../img/ministros/ministro_lewandowski.jpg');
}

.luiz-fux:after{
    background-image: url('../../img/ministros/ministro_luiz_fux.jpg');
}

.alexandre-moraes:after{
    background-image: url('../../img/ministros/ministro_moraes.jpg');
}

.celso-mello:after{
    background-image: url('../../img/ministros/ministro_celo_melo.jpg');
}

.rosa-weber:after{
    background-image: url('../../img/ministros/ministra_rosa_weber.jpg');
}

.gilmar-mendes:after{
    background-image: url('../../img/ministros/ministro_mendes.jpg');
}

.roberto-barroso:after{
    background-image: url('../../img/ministros/ministro_roberto_barroso.jpg');
}

.clearfix:after,.clearfix:before{
    content:" ";
    display:table;
}

.andamento-item .message-head{
    padding-bottom:2px;
}

.andamento-item .message-head .andamento-detalhe {
    overflow:hidden;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.andamento-data,.andamento-item .message-head .andamento-detalhe h5{
    font-size:.95rem;
    font-weight:700;
    margin:0;
}

.andamento-observacao{
margin-left:8rem;
}

.andamento-docs{
    text-align:right;
}

.andamento-docs .btn{
    line-height:32px;
    height:32px;
    margin:0 4px;
    font-size:.9rem;
}

.andamento-item .message-head .post-meta{
    float:left;
    padding:0 15px 0 0;
}

.andamento-item .message-head .post-meta>div{
    color:#333;
    font-weight:700;
    text-align:right;
}

.post-meta>div{
    color:#777;
    font-size:12px;
    line-height:22px;
}

.andamento-invalido{
    text-decoration: line-through;
}

.check-print {
    height: auto;
}

.processo-rotulo a {
    color: #041a29 !important;
}


@media (max-width: 400px){
        .invisivel {
            display: none;
        }

        .visivel {
            display: show;
        }

}

.abas-titulo {
    font-size: 30px;
    line-height: 1rem;
    margin-top: 20px;
    margin-bottom: 16px;
}

.esconder-impressao{
    display: none;
}

@media print {
    #abas_processo li {
        display: none;
    }

    .abas-titulo {
        border: 25px #666 solid;
        height: 0.2rem;
        font-size: 25px;
        line-height: 1rem;
    }

    .esconder-impressao{
        display: none;
    }

    .andamento-item:after{
        display: none;
    }

    #aba-deslocamentos #deslocamentos i{
        display: none;
    }

    #aba-andamentos #andamentos .andamento-item .andamento-inner:after, .andamento-item .andamento-inner:before{
       display: none;
    }

    #aba-decisoes #decisoes .andamento-item .andamento-inner:after, .andamento-item .andamento-inner:before{
       display: none;
    }

    #aba-pautas #pautas .andamento-item .andamento-inner:after, .andamento-item .andamento-inner:before{
       display: none;
    }

    .andamento-item{
        margin-left: 0;
    }

    .btn-primary-spacing{
        display: none;
    }

    .processo-quadro{
        display: none;
    }

}

.andamento-julgador.badge {
    font-size: 10px;
    padding: 3px 6px;
}
