/* ########  consultas  ###### */
@media (max-width: 976px)
{
    .consultas-categoria-group{
        flex-direction: column;
    }
}
.consultas-categoria-group{
    display: flex;
    justify-content: center;
    align-items: center;
}


/**  informações de contato acima do menu **/
@media (max-width:1250px) and (min-width:992px) {
    .top-bar .top-bar-item{
        justify-content:center;
    }

    .top-bar .top-bar-icon{
        width: 100px;
    }

    .top-bar .top-bar-icon [class^="flaticon-"]::before {
        margin: 0;
        color: #049cc1;
        font-size: 37px;
    }

    .top-bar .top-bar-text {
        padding-left: 2px;
        margin-left: 56px;
    }

    .top-bar .top-bar-text h3 {
        margin: 0 0 5px 0;
        color: #ffffff;
        font-size: 13px;
        font-weight: 400;
        margin-left: -40px;
    }

    .top-bar .top-bar-text p {
        margin: 0;
        color: #ffffff;
        font-size: 11px;
        font-weight: 400;
        margin-left: -40px;
    }
}

/*consultas */
.tituloModal{
    font-size: 21px;
  }
  .blocoConsulta {
    margin: 0 auto;
    display: grid;
    grid-gap: 2rem;
  }
  .cardModal{
    border-radius: 3px;
    -webkit-box-shadow: var(--box-shadown-border);
    -moz-box-shadow: var(--box-shadown-border);
    box-shadow:  var(--box-shadown-border);
    margin: 2%;
    padding: 20px;
    height: 320px;
    border: solid 1px;
  }
  
  .divModalDescricao{
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    display: -webkit-box;
    line-height: 21px;     /* fallback */
    height: 100px;
    max-height: 100px;      /* fallback */
    -webkit-line-clamp: 5; /* number of lines to show */
    -webkit-box-orient: vertical;
  }
  .divBotoes{
    text-align: center;
    width: 100%;
    margin-top: 15px;  
    font-size: 16px; 
  }
  
  .btnPopup{
  
    display: block;
    border-radius: 5px;
    padding: 5px 5px;
    text-decoration: none;
    transition: .2s linear;
  }
  .btnMaisDetalhes{
    color: #030f27;
    border: 2px solid #fdbe33;
  }
  .btnMaisDetalhes:hover{

    color: #030f27;
    background:#fdbe33;
  }
  
  .btnConsultas{
    color: #fdbe33;
    background:#030f27;
    border: 2px solid #030f27;
    margin-top: 10px;
  }
  
  .btnConsultas:hover{
    background: #fdbe33;
    color: #030f27;
    border: 2px solid #fdbe33;
  }
  
 
  
  @media (min-width: 600px) {
    .blocoConsulta { grid-template-columns: repeat(2, 1fr); }
    
  }
  @media (min-width: 900px) {
    .blocoConsulta { 
            grid-template-columns: repeat(3, 1fr); 
    }
  }
  @media (min-width: 2000px) {
    .blocoConsulta { 
            grid-template-columns: repeat(4, 1fr); 
    }
  }
  @media (min-width: 2400px) {
    .blocoConsulta { 
            grid-template-columns: repeat(5, 1fr); 
    }
  }
  
  
  /*Modal mais detalhes*/
  .baseMaisDetalhes {
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.192);
    padding: 0 25%;
    transition: .5s linear;
    overflow: scroll;
  }
  .esconderBase{
  display: none;
  }
  .blocoMaisDetalhes{
    background: rgb(255, 255, 255);
    width: 100%;
    padding: 20px;
    transform: translateY(50px);
    transition: .3s linear;
    border-radius: 5px;
  }
  .esconderMaisDetalhes{
    transform: translateY(-3000px);
    transition: 1s linear;
  }
  .tituloConsultaMaisDetalhes{
    font-size: 24px;
    text-align: center;
    padding: 0 0 30px 0;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.432) ;
  }
  
  .descricaoConsultaMaisDetalhes{
    font-size: 16px;
    line-height: 22px;
  }
  
  .divBtnMaisDetalhes{
    width: 100%;
    text-align: center;
    margin: 30px 0 0 0 ;
  }
  .btnDentroDetalhes{
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid;
    font-weight: 600;
  }
  .btn{
    font-weight: 600;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid;
  }
  
  .btnFecharDetalhes{
    margin-right: 20px;
    background: #c5c5c5;
    color:black;
    border-color: #c5c5c5;    
    transition: .2s linear;
    cursor:pointer;
  }
  .swal2-cancel{
      font-size: 16px;
  }
  
  .btnFecharDetalhes:hover{
    background: transparent;
  }
  
  .btnConsultarDetalhes{
    margin-left: 5px;
    font-weight: 600;
    color: #fdbe33;
    background:#030f27;
    border: 2px solid #030f27;
    transition: .2s linear;
  }
  
  .btnConsultarDetalhes:hover{
    background: #fdbe33;
    color: #030f27;
  }
  
  @media(max-width: 600px){
     
     .blocoMaisDetalhes{
       
        width: 90%;
        margin: 0 5%;
       
    }
    .baseMaisDetalhes {
        width: 100%;
        padding: 0 2%;
       }
  }