/* Elementos genéricos */

body {
    position: relative;
    margin: 0;
    -webkit-text-size-adjust: none;
    min-height: 416px;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-background-size: 0.438em 100%;
    /*background: -webkit-gradient(linear, left top, right top, from(#c5ccd4), color-stop(71%, #c5ccd4), color-stop(92%, #cbd2d8), to(#cbd2d8));*/
    /*background:rgb(233, 237, 240);*/

    background:rgb(246, 246, 246);
    
    -webkit-touch-callout: none;
    overflow: auto;
}

html, body {
    overscroll-behavior: none; /*Esta é a opção mais completa. 
    Ela desativa completamente o "pull to refresh" e o efeito de "bounce" quando o usuário tenta rolar além do limite do conteúdo.*/
}

h3{
    font-size: 24px;
    text-align: center;
}

a {
    color: inherit;
    /*text-decoration: underline;*/
   
}

a:hover {
    color: inherit;
    text-decoration: none;
}

img {
    border: 0;
}



table {
    border-collapse: collapse;
  
}
select {
    /* Remove a seta padrão para um visual mais limpo */
    appearance: none;
    -webkit-appearance: none;
}

/* Para tom select


/* Substitua 'Arial, sans-serif' e '14px' pelos valores exatos 
   que você identificou nos seus inputs '.nome-categoria-edit'
*/

/* 1. Estiliza a fonte do SELETOR PRINCIPAL (área de input e tags selecionadas) */
.ts-wrapper,
.ts-control,
.ts-control input,
.ts-control .item,
.ts-dropdown {
    font-family: 'Arial', sans-serif !important; 
    font-size: 16px !important;
}

/* 2. Estiliza a fonte das OPÇÕES no DROPDOWN */
.ts-dropdown .option {
    font-family: 'Arial', sans-serif !important;
    font-size: 16px !important;
    padding: 6px 10px; /* Ajuste o padding se necessário para igualar o tamanho do input */
}

/* 3. Garante que o PLACEHOLDER use o mesmo tamanho */
.ts-control .ts-placeholder {
    font-family: 'Arial', sans-serif !important;
    font-size: 16px !important;
}

/* 4. Estiliza a fonte das TAGS/ITENS SELECIONADOS */
.ts-control .item {
    line-height: 18px; /* Ajuste a altura da linha se o tamanho da fonte for muito grande */
}

/* tom select ate aqui


.circle-match {
    /* Faz o fundo ser circular (um raio de 50% em um quadrado faz um círculo) */

    font-family:'Courier New', Courier, monospace;

    border-radius: 50%;
    
    /* Adiciona uma borda ao redor */
    border: 1px solid #333; /* Ou a cor que você preferir */
    
    /* Adiciona um preenchimento para que o círculo tenha espaço */
    padding: 2px 4px; /* Ajuste para seu tamanho de fonte */
    
    /* Torna o elemento inline-block para que o padding e a borda funcionem */
    display: inline-block;
    
    /* Alinha o texto (útil se o círculo for grande) */
    text-align: center;
    
    /* Espaço entre os círculos */
    margin-right: 4px;
    
    /* Ajuste para alinhar verticalmente se estiver bagunçado */
    line-height: 1; 
}


.alinhar-direita {
    text-align: right;
}

.header{
    display:block;
    font-weight:bold;
    color:rgb(73, 102, 145);
    font-size:12pt;
    margin-bottom:6px;
    line-height:14pt;
    text-align: left;
   } 

/* IDs */

#versao{
    
    margin-left: 35px;
    margin-top: 250px;
    text-align: left;
    font-size:0.8rem;
               
}

#menutop {
      
    position: fixed;
    width: 100%;
    top: 60px;
    height: 7vh;
    justify-content: center;
    margin: auto;
    /*border: 5px solid #0a0a0a;*/
    background: -webkit-gradient(linear, left top, right top, from(#c5ccd4), color-stop(71%, #c5ccd4), color-stop(92%, #cbd2d8), to(#cbd2d8));
    z-index: 100;

}

/* Tela de abertura */

#splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #FA8072; /* cor de fundo enquanto carrega (mude se quiser) */
    display: flex;
    align-items: center;
    justify-content: center; /* centraliza horizontal + vertical */
    transition: opacity 1.6s ease-out;
  }

  /* Imagem oculta no início, só aparece quando carregar */
  #splash-img {
    max-width: 85vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain; /* não distorce */
    opacity: 0; /* começa invisível */
    transition: opacity 0.5s ease-in; /* fade in suave quando carregar */
  }

  /* Depois de carregar, mostra a imagem */
  #splash-img.loaded {
    opacity: 1;
  }

  /* Ken Burns opcional na imagem */
  #splash-img.loaded {
    animation: kenburns 10s ease-in-out forwards;
  }

  @keyframes kenburns {
    0%   { transform: scale(1); }
    100% { transform: scale(1.3); }
  }

  .loaded #splash-screen {
    opacity: 0;
    pointer-events: none;
  }

#topbar, #topbarLogin {
   
    left: 0;
    width: auto;
    height: 60px;
    /*background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#cdd5df), color-stop(3%, #b0bccd), color-stop(50%, #889bb3), color-stop(51%, #8195af), color-stop(97%, #6d84a2), to(#2d3642));*/
    background: #889bb3;
    background: #FA8072;
 
    
    margin-bottom: 13px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box; /* Garante que padding não altere a largura */
    z-index: 100; /* Fica acima das outras divs */

}

#topbar{
    /* colocado aqui para não abrir antes da abertura
       na funcao abertura será mostrado */

    display:none;
}


#titulotela, .titulodetalhe {
   
    box-sizing: border-box;        /* adiciona isso */

    line-height: 32px;
    height: 32px;
    font-size: 13pt;
    position: absolute;
    /*font-weight: bold;*/
    font-weight:lighter;
    margin-top: 0;
    left: 0;
    right: 0;
    padding: 0 10px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    color: #174419;
    /*text-shadow: rgba(243, 8, 8, 0.6) 0 -1px 0;*/
    text-shadow: rgba(243, 8, 8, 0) 0 0px 0;
    
    text-decoration-line: none;
}

.titulogrid{ 
    line-height: 32px;
    height: 32px;
    font-size: 18pt;
    font-weight:bold;
    text-align:center;
    text-overflow:ellipsis;
    white-space:nowrap;
    overflow:hidden;
    color: #030303;
 
    text-decoration-line: none;
    margin-bottom:10px;
}

#content {
    margin-left: 0%;
    width: 100%;
    height: 635px;
    margin-top: 65px;
    z-index: 0;
    overflow-y: auto;
    overflow-x: hidden;
    justify-content: center;
    transition: all 0.3s ease-in-out;*/
}

/* Ajuste do conteúdo quando a sidebar está aberta */
#content.active {
    margin-left: 250px;
}

#content #gap_menu {
    margin-top: 20px;
}
#content #gap_pesquisa {
    margin-top: 50px;
}

#content.ajuste-excecao {
    /* Define o margin-top dinâmico SÓ NESTE CASO */
    margin-top: 300px !important; /* Exemplo: +20px de espaço extra */
}


#title{
    position:absolute;
    font-weight:bold;
    top:0;
    left:0;
    right:0;
    padding-top: 3px;
    font-size: 24px;
    text-align:center;
    text-overflow:ellipsis;
    white-space:nowrap;
    overflow:hidden;
    color:#FFF;
    text-shadow:rgba(0, 0, 0, 0.6) 0 -1px 0;
    text-decoration-line: none
   } 

#menu_principal {
    top:0;
    margin-top: 150px;
}

#galeriaFotos {
    margin:10px;
    
}


/* Classes */

#lista-alfabeto a {
    text-decoration: none;
    /*color: #333;*/
    color: #174419;
    font-weight: bold;
}

#lista-alfabeto a.active {
    background-color:  #ee8f42;
    /*color: white;*/
    color: #174419;
    border-color: #889bb3;
   
}

.alfabeto-fixo {
    /* 💥 FIXAÇÃO NO TOPO DA TELA 💥 */
    /*position: fixed; /* Fixa o elemento em relação à janela de visualização */
    top:0px;          /* Alinha no topo */
    left: 0;         /* Alinha à esquerda */
    width: 100%;     /* Garante que ocupe a largura total da tela */

   
    
    /*background-color: #f9f9f9; /* Fundo para cobrir o conteúdo ao rolar */
    /*background: -webkit-gradient(linear, left top, right top, from(#c5ccd4), color-stop(71%, #c5ccd4), color-stop(92%, #cbd2d8), to(#cbd2d8));*/
    background: transparent;

    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
    z-index: 1000;   /* Garante que fique acima de outros conteúdos */
}

/* Lista de Letras (Ajustada para ficar mais centralizada no contêiner fixo) */
.alfabeto-lista {
    list-style: none;
    padding: 0;
    margin: 0 auto; /* Removendo margem vertical, centralizando horizontalmente */
    max-width: 900px;
    display: flex; 
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    border-bottom: 0px solid #070707; /* Linha sutil de separação */
}

/* ... Estilos dos itens e links permanecem os mesmos ... */
.alfabeto-lista li {
    margin: 3px 2px;
}

.alfabeto-lista a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 16px;
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s;
}

.alfabeto-lista a:hover {
    background-color:  #FFDAB9;
    color: white;
}

.alfabeto-lista a.ativo {
    background-color: #ee8f42;
    color: white;
    pointer-events: none;
}


/* Sidebar */
.sidebar {
    height: 100vh;
    width: 250px;
    position: fixed;
    top: 60px;
    left: -250px; /* Começa fora da tela */
    /*background: #889bb3;*/
    background: -webkit-gradient(linear, left top, right top, from(#c5ccd4), color-stop(71%, #c5ccd4), color-stop(92%, #cbd2d8), to(#cbd2d8));
    background: white;
    transition: all 0.3s ease-in-out;
    z-index: 1000;
}

/* Sidebar aberta */
.sidebar.active {
    left: 0;
}


.sidebar .nav-link {
    color: #ffffff;
    color: #494949;
    padding: 5px 10px;
    font-size: 16px;
    /* Garante que a ordem padrão seja 0, para que as classes .order-x funcionem */
    order: 0;
}

/* Classes para reordenar */
.order-primeiro {
    order: -1; 
}

.order-ultimo {
    order: 100;
}

/*
.sidebar .nav-link:hover {
    background-color: #495057;
}
*/

/* do bootstrap padrao Adiciona um bom espaço entre o topo do menu e o primeiro link. padding-top: 1.5rem; */
.pt-4 {
    padding-top: 0rem;
}

/* Overlay para escurecer o fundo */
.overlay {
    position: fixed;
    top: 60px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 900;
}

.overlay.active {
    opacity: 0.6;
    /*opacity: 1;*/
    visibility: visible;
}

.destacar {
    font-weight: bold;
}

.areatexto{
    width:100%;
    border: 0;
}

.navbott, .navbott2 {
    bottom: 0;
    height: 60px;
    /*background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#cdd5df), color-stop(3%, #b0bccd), color-stop(50%, #889bb3), color-stop(51%, #8195af), color-stop(97%, #6d84a2), to(#2d3642));*/
    /*background: white;*/
    display: flex;
    position: fixed;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 99;
    justify-content: center; /* Centraliza horizontalmente */
    /*align-items: center; /* Centraliza verticalmente */
    margin: 0;
 
}

.navbott {

    z-index: 2000;
    background:white;
    

}

.navbott2 {

    background:white;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);

    z-index: 1000;
   
    
   

}


.nav-icons {
    display: flex;
    align-items: center;
   
}

.nav-icon-img {

    width:20px;
    height: 20px;
    align-items: center;
    margin-bottom: 4px; /* Espaço entre o ícone e o texto */
    margin:auto;
}

.nav-item {
    display: flex;
    flex-direction: column;*/
    align-items: center;
    text-align: center;
    color: hsl(0, 0%, 3%);
    text-decoration: none;
    font-family: sans-serif;
    font-size: 14px;
    margin: 0 40px; /* Adiciona espaçamento entre os ícones */
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

#images-container {
    height:100hv; 
    margin: 0 10px 0 10px;
    width: 98%;
    
}


.slide {
    
    width: 95%;
    position: relative;
    display: flex;
    flex-direction: column;
    background: transparent;
    margin: auto;
  
}

.slide-image {
   
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 8px;
    

}  

.slide-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.recipe-info {
    position: absolute;
    bottom: 0px;
    left: 10px;
    z-index: 2;
    color: white;
    padding: 0px;
    text-align: left;
    width: 100%;
    box-sizing: border-box;

    /*background: rgba(0, 0, 0, 0.5);*/
    color: white;
    padding: 10px;
    margin: 10px;
    pointer-events: auto; /* Permite cliques nos textos */
 
}

.recipe-title {
    margin: 0 0 3px 0;
    font-size: 24px;
    font-weight: bold;
    
}

.recipe-author {
    margin: 0 0 3px 0;
    font-size: 16px;
    font-style: italic;
    opacity: 0.9;
}
.recipe-data {
    margin: 0 0 3px 0;
    font-size: 16px;
    opacity: 0.9;
}
.recipe-site {
    margin: 0 0 3px 0;
    font-size: 16px;
    opacity: 0.9;
}


.alter-icon{

    position: absolute;
    top: 110px;
    right: 10px;
    font-size: 25.2px; /* Reduzido em 30% de 36px */
    width: 37px; /* Dimensões iguais para círculo perfeito */
    height: 37px;
    line-height: 37px; /* Centraliza verticalmente */
    text-align: center; /* Centraliza horizontalmente */
    border-radius: 50%; /* Círculo perfeito */
    z-index: 50; /* Acima de todos os elementos */
    cursor: pointer; /* Indica que é clicável */
    transition: transform 0.2s ease; /* Animação ao clicar */
   /* background: rgba(0, 0, 0, 0.9); /* Fundo preto */
    text-shadow: 0 0 5px rgba(0, 0, 0, 1); /* Contorno para contraste */
  
}


.foto-icon{

    position: absolute;
    top: 160px;
    right: 10px;
    font-size: 25.2px; /* Reduzido em 30% de 36px */
    width: 37px; /* Dimensões iguais para círculo perfeito */
    height: 37px;
    line-height: 37px; /* Centraliza verticalmente */
    text-align: center; /* Centraliza horizontalmente */
    border-radius: 50%; /* Círculo perfeito */
    z-index: 50; /* Acima de todos os elementos */
    cursor: pointer; /* Indica que é clicável */
    transition: transform 0.2s ease; /* Animação ao clicar */
    /* background: rgba(0, 0, 0, 0.9); /* Fundo preto */
    text-shadow: 0 0 5px rgba(0, 0, 0, 1); /* Contorno para contraste */
    filter: grayscale(100%) brightness(200%); /* Torna o emoji branco/monocromático */

}

.del-icon{

    position: absolute;
    top: 210px;
    right: 10px;
    font-size: 18px; /* Reduzido em 30% de 36px */
    width: 37px; /* Dimensões iguais para círculo perfeito */
    height: 37px;
    line-height: 37px; /* Centraliza verticalmente */
    text-align: center; /* Centraliza horizontalmente */
    border-radius: 50%; /* Círculo perfeito */
    z-index: 50; /* Acima de todos os elementos */
    cursor: pointer; /* Indica que é clicável */
    transition: transform 0.2s ease; /* Animação ao clicar */
    /* background: rgba(0, 0, 0, 0.9); /* Fundo preto */
    text-shadow: 0 0 5px rgba(0, 0, 0, 1); /* Contorno para contraste */
    /*filter: grayscale(100%) brightness(200%); /* Torna o emoji branco/monocromático */
   font-weight: bold;

}




.favorite-star {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 40px; /* Reduzido em 30% de 36px */
    width: 50px; /* Dimensões iguais para círculo perfeito */
    height: 50px;
    line-height: 37px; /* Centraliza verticalmente */
    text-align: center; /* Centraliza horizontalmente */
    border-radius: 50%; /* Círculo perfeito */
    z-index: 50; /* Acima de todos os elementos */
    cursor: pointer; /* Indica que é clicável */
    transition: transform 0.2s ease; /* Animação ao clicar */
}

.favorite-star.favorite-on {
    color: #FFFF00; /* Amarelo puro para estrela cheia */
    /*background: rgba(0, 0, 0, 0.9); /* Fundo preto */
    text-shadow: 0 0 5px rgba(0, 0, 0, 1); /* Contorno para contraste */
}

.favorite-star.favorite-off {
    color: #CCCCCC; /* Cinza suave para estrela vazada */
    /*background: rgba(0, 0, 0, 0.9); /* Fundo preto */
    text-shadow: none; /* Sem contorno */
}

/*.favorite-star:hover {
    transform: scale(1.2); /* Aumento ao passar o mouse 
} */

.inicio-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 40px; /* Reduzido em 30% de 36px */
    width: 50px; /* Dimensões iguais para círculo perfeito */
    height: 50px;
    line-height: 37px; /* Centraliza verticalmente */
    text-align: center; /* Centraliza horizontalmente */
    border-radius: 50%; /* Círculo perfeito */
    z-index: 50; /* Acima de todos os elementos */
    cursor: pointer; /* Indica que é clicável */
    transition: transform 0.2s ease; /* Animação ao clicar */
}

.inicio-icon.inicio-on {
    color: #FFFFFF; /* Branco para ícone ligado */
    /*background: rgba(0, 0, 0, 0.9); /* Fundo preto */
    text-shadow: 0 0 5px rgba(0, 0, 0, 1); /* Contorno para contraste */
}

.inicio-icon.inicio-off {
    color: #CCCCCC; /* Cinza suave para ícone vazado */
    /*background: rgba(0, 0, 0, 0.9); /* Fundo preto */
    text-shadow: none; /* Sem contorno */
}

/* pra o carrossel */

.favorite-star, .inicio-icon, .foto-icon, .del-icon, .alter-icon {
    cursor: pointer;
    font-size: 34px;
    margin-left: 10px;
    color: white;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    pointer-events: auto; /* Garante interatividade */
}

.recipe-container {
    position: relative;
    width: 99%;
    height: 300px; /* Ajuste conforme necessário */
    margin: 0 auto; /* Centraliza horizontalmente como fallback */
}

.slick-carousel {
    width: 100%;
    height: 100%;
}

.slick-carousel .slide-image {
    width: 99%;
    height: 300px; /* Ajuste conforme necessário */
    background-size: contain; /* Preserva proporção e centraliza */
    background-position: center; /* Centraliza horizontal e verticalmente */
    background-repeat: no-repeat; /* Evita repetição */
    background-color: #f0f0f0; /* Fundo opcional para áreas vazias */
    margin: auto;
}

.overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;


}

.col1 {
    width: 10%; 
    height: 100px; 
    padding: 0;
}

.col2 {
    width: 85%; 
    height: 10%; 
}

.col3 {
    width: 5%; 
    height: 10%; 
}

.star-icon {
    color: #FFD700; /* Estrela amarela */
    font-size: 1.2rem; /* Tamanho base para a estrela */
    display: inline-block; /* Garante que o ícone respeite margens */
}

.menu-icon {
    color: #000; /* Cor do hambúrguer */
    font-size: 1.2rem; /* Tamanho base para o hambúrguer, um pouco maior */
    display: inline-block;
    margin-left: 0.5rem; /* Espaço entre ícones */
}

.icons-container {
    display: inline-flex; /* Alinha os ícones horizontalmente */
    align-items: center; /* Centraliza verticalmente */
}

.pageitem, .results, .pageitem2 {
    -webkit-border-radius: 8px;
    background-color: #fff;
    border: #878787 solid 1px;
    font-size: 12pt;
    overflow: hidden;
    padding: 0;
    position: relative;
    display: block;
    height: auto;
    width: auto;
    margin: 3px 9px 17px;
    list-style: none;
    /*line-height: 30px;*/
}

.pageitem2 {
    margin-bottom: 65px;
}

.results {
    margin-top: 10px;
    margin-left: 0;
    /*border: #878787 solid 1px;
    -webkit-border-radius: 8px;
    background: #fff;*/
    height: 450px;
    overflow-y: auto;
    width: 100%;
}

.results div {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}
.results div:hover {
    background-color: #f8f9fa;
}

.results .checkbox {
    margin-right: 10px;
    cursor: pointer;
}
.results .aluno-info {
    flex: 1;
    cursor: pointer;
    overflow: hidden; /* Esconde overflow */
    text-overflow: ellipsis; /* Adiciona ... no final se truncado */
    white-space: nowrap; /* Impede quebra de linha */
    /* Mantenha cor do saldo como antes */
}
.results .header-reason {
    text-align: center !important; /* !important para forçar sobre qualquer herança */
    font-weight: bold;
    cursor: default;
    margin: 10px 0 0 0;
    padding: 0;
    width: 100%; /* Garante largura total para centralização */
}
.results .header-reason strong {
    color: hsl(0, 0.00%, 2.00%);
    display: block !important; /* Força bloco para centralizar texto */
    margin: 0 auto; /* Centraliza se necessário */
    text-align: center !important; /* Centraliza o texto dentro do strong */
}
.results .separator-line {
    width: 50%; /* Linha mais curta, centralizada */
    margin: 5px auto 10px auto; /* Centraliza horizontalmente e adiciona espaço embaixo */
    border: none;
    border-top: 1px solid #ccc;
    display: block; /* Garante bloco para centralização */
}

.results hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 5px 0 10px 0;
    width: 100%; /* Garante que a linha ocupe toda a largura, centralizada implicitamente */
}

.menu{
    position:relative;
    list-style-type:none;
    display:block;
    height:43px;
    overflow:hidden;
    border-top:1px solid #878787;
    width:auto;
    cursor:pointer;
   } 

.menu a{
    display:block;height:43px;
    width:auto;
    text-decoration:none
   } 
   
.menu a img{
    width:32px;
    height:32px;
    margin:5px 0 0 15px;
    float:left;
    object-fit: cover;
   } 

.receita-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
 
}

.menu .name {
    margin:11px 0 0 17px;
    width:auto;
    color:#000;
    font-weight:bold;
    font-size:17px;
    text-overflow:ellipsis;
    overflow:hidden;
    white-space:nowrap;
    float:left;
    max-width:85%;
 
   } 

.menu .comment{
    margin:11px 30px 0 0;
    width:auto;
    font-size:17px;
    text-overflow:ellipsis;
    overflow:hidden;
    max-width:75%;
    white-space:nowrap;
    float:right;
    color:#324f85;
   } 
     
.menu .arrow {
    position:absolute;
    width:8px!important;
    height:13px!important;
    right:10px;
    top:15px;
    margin:0!important;
    /* arrow.png */
    background:url("https://classflow.com.br/imagens/arrow.png") 0 0 no-repeat;

    /*background: url(get_icone.php?codigo=10) 0 0 no-repeat;*/




} 

/*para menu com 2 linhas */

.menu2linhas {
    position: relative;
    list-style-type: none;
    display: block;
    height: 60px; /* Aumentado para acomodar duas linhas */
    overflow: hidden;
    border-top: 1px solid #878787;
    width: auto;
    cursor: pointer;
}

.menu2linhas a {
    display: flex; /* Usar flex para alinhar imagem e texto */
    align-items: center; /* Centralizar verticalmente */
    height: 60px; /* Ajustar altura para corresponder ao .menu */
    width: auto;
    text-decoration: none;
}

.menu2linhas a img {
    width: 48px;
    height: 48px; /* Aumentar altura da imagem para corresponder às duas linhas */
    margin: 0px 0 0 5px;
    float: left;
    object-fit: cover;
}

.menu2linhas .text-container {
    display: flex;
    flex-direction: column; /* Organizar nome e autor em linhas */
    margin-left: 10px; /* Espaço entre a imagem e o texto */
}

.menu2linhas .author {
    display: block;
    color:#000;
    /*font-weight:bold;*/
    font-size:17px;
    text-overflow:ellipsis;
    overflow:hidden;
    white-space:nowrap;
}

.menu2linhas .name {
    display: block;
     color:#000;
    /*font-weight:bold;*/
    font-size:17px;
    text-overflow:ellipsis;
    overflow:hidden;
    white-space:nowrap;
}


.textbox {
    padding: 5px 9px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #878787;
    z-index: 1;
    width: 100%;
    max-width: none;
   
}

.textbox img {
     width: 10%;
}




/* grid usados para inclusao multiplas de aulas e pagamento */

.grid_incs {
    display: grid;
    border: 2px solid #7a7878;
    border-radius: 12px;
    grid-template-columns: repeat(20, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
    padding: 10px;

    /* Define a largura do grid como 50% da largura da tela */
    width: 50%;
    
    /* Centraliza o grid horizontalmente */
    margin-left: auto;
    margin-right: auto;
}


.incs {
    background-color: transparent;
    color: rgb(12, 11, 11);
    text-align: center;
    border: 0px solid #3815d4;
}

/* Areas de inclusão de aulas */

.incs_aulas1 {
    grid-column: 1 / span 16;
    grid-row: 1;
    text-align: left;
}

.incs_aulas2 {
    grid-column: 17 / span 4;
    grid-row: 1;
    text-align: left;
}

.incs_aulas3 {
    grid-column: 1 / span 16;
    grid-row: 2;
    text-align: left;
}

.incs_aulas4 {
    grid-column: 17 / span 4;
    grid-row: 2;
    text-align: left;
}

.incs_aulas5 {
    grid-column: 1 / span 2;
    grid-row: 3;
    text-align: center;
}

.incs_aulas6 {
    grid-column: 3 / span 1;
    grid-row: 3;
    text-align: center;
}

.incs_aulas7 {
    grid-column: 4 / span 2;
    grid-row: 3;
    text-align: center;
}

.incs_aulas8 {
    grid-column: 6 / span 15;
    grid-row: 3;
    text-align: center;
}



/* Areas de inclusão de pagamentos */

.incs_pgs1 {
    grid-column: 1 / span 16;
    grid-row: 1;
    text-align: left;
}

.incs_pgs2 {
    grid-column: 17 / span 4;
    grid-row: 1;
    text-align: left;
}

.incs_pgs3 {
    grid-column: 1 / span 10;
    grid-row: 2;
    text-align: left;
}

.incs_pgs4 {
    grid-column: 11 / span 10;
    grid-row: 2;
    text-align: left;
}

.incs_pgs5 {
    grid-column: 1 / span 4;
    grid-row: 3;
    text-align: left;
}

.incs_pgs6 {
    grid-column: 5 / span 3;
    grid-row: 3;
    text-align: center;
}

.incs_pgs7 {
    grid-column: 8 / span 5;
    grid-row: 3;
    text-align: left;
}

.incs_pgs8 {
    grid-column: 13 / span 3;
    grid-row: 3;
    text-align: center;
}

.incs_pgs9 {
    grid-column: 16 / span 5;
    grid-row: 3;
    text-align: left;
}

.auto_width{
  width: 100%;
  height: 100%;
  box-sizing: border-box; /* Garante que padding e borda sejam incluídos na largura/altura */
}


/* Classe principal para o contêiner dos botões */
.grupo-botoes {
   
    gap: 10px; /* Espaço entre os botões */
    align-items: center; /* Alinha os botões verticalmente no centro */

    position: fixed;
    top: 60px; /* Ajuste para a altura da div-1 */
    left: 0;
    width: 100%;
   
    box-sizing: border-box;
    z-index: 99; /* Fica abaixo da div-1 */
    transition: opacity 0.3s ease-in-out; /* Transição suave */

  }

  .grupo-botoes.hidden {
    display: none;
}

  /* Estilo dos botões */
  .grupo-botoes button {
    padding: 5px 20px; /* Espaçamento interno */
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    border-width: 0 4px 0 4px;
    transition: background-color 0.3s ease;
    white-space: nowrap; /* Evita que o texto quebre a linha dentro do botão */
    cursor: hand;
    /* tribuuton */
    /*-webkit-border-image: url(get_icone.php?codigo=9) 0 4 0 4;*/
    -webkit-border-image: url("https://classflow.com.br/imagens/tributton.png") 0 4 0 4;
 
    font: 13px;
    text-decoration: none;
    color: #070707;
    text-shadow: #FFF 0 1px 0;
    height:35px;
  }

  /* Efeito de hover */
  .grupo-botoes button:hover {
    background-color: #e9e9e9;
  }


.Gridtopbar {
    display: grid;
    grid-template-areas: "l1 l1 l1 l1 t1 t1 t1 t1 t1 t1 m1 m1";
    grid-template-columns: repeat(12, 1fr);
    gap: 0px;
    
}

.item_Gridtopbar {
    background-color: transparent;
    color: rgb(12, 11, 11);
    text-align: center;
     
}

#topbarDSV svg{
    height: 30px;
    width: 30px;
    /* Cor padrão do ícone para telas grandes (opcional, mas recomendado) */
    transition: fill 0.3s ease; /* Adiciona uma transição suave na mudança de cor */
}

#topbarsearch svg{
    height: 40px;
    width: 40px;
    /* Cor padrão do ícone para telas grandes (opcional, mas recomendado) */
    transition: fill 0.3s ease; /* Adiciona uma transição suave na mudança de cor */
}


.item_Gridtopbar1 {
    
    grid-area: l1;
    text-align: left;
    padding: 10px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    z-index:300;
}

.item_Gridtopbar2 {
    grid-area: t1;
    display: flex;
    font-size: 24px;
    padding: 10px;
    position: absolute;
    font-weight: bold;
    justify-content: center;
    align-items: center;
    left: 0;
    right: 0;
    text-overflow: ellipsis;
    color: #FFF;
    text-shadow: rgba(0, 0, 0, 0.6) 0 -1px 0;
    text-decoration-line: none;
}



.item_Gridtopbar3 {
    grid-area: m1;
    text-align: right;
    padding: 15px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    z-index:300;
     
}


.container-mes {
    display: flex;
    justify-content: center;
}

.grid-container-mes {
    display: grid;
    grid-template-columns: 10% 80% 10%;
    background-color: #748AA7;
    height: 45px;
    width: 98.6vw;
    justify-items: center;
    border-radius: 8px;
    margin-top: 8px;
    margin-bottom: 22px;
}

.grid-item-mes {
    display: flex;
    justify-content: center;
    color: white;
    font-size: 30px;
}

.grid-item-mes-back {
    justify-content: flex-start;
    cursor: pointer;
}

.grid-item-mes-middle {
    display: flex;
    font-size: 20px;
    align-items: center;
}

.grid-item-mes-forward {
    justify-content: flex-end;
    cursor: pointer;
}

.truncado {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 10px;
}

.separator {
    font-size: 1.2em;
    font-weight: bold;
}

.hminicio {
    display: flex;
}


#qtder{
    text-align: right;
}

.datepicker {
  
    font-size: 16px; 
    text-align:left; 
    float:left;
    width: 100%;
    height: 100%;
    box-sizing: border-box; /* Garante que padding e borda sejam incluídos na largura/altura */
  }

.botaomais button{
    cursor: pointer; 
    border-radius: 20px; 
    float:left; 
    width:130px; 
    height:32px;
    color:#080808;
    font: 20px;
    /*background: -webkit-gradient(linear, left top, right top, from(#c5ccd4), color-stop(71%, #c5ccd4), color-stop(92%, #cbd2d8), to(#cbd2d8));*/
    /*background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#cdd5df), color-stop(3%, #b0bccd), color-stop(50%, #889bb3), color-stop(51%, #8195af), color-stop(97%, #6d84a2), to(#2d3642));*/
    /*background-image: url(get_icone.php?codigo=9) 0 4 0 4;*/
    /*-webkit-border-image: url("https://classflow.com.br/imagens/tributton.png") 0 4 0 4;*/
    background-image: url("https://classflow.com.br/imagens/tributton.png") 0 4 0 4;;
    width: 100%;
    height: 100%;
    box-sizing: border-box; /* Garante que padding e borda sejam incluídos na largura/altura */
}

#botaoCopiar {
   
    justify-content: center;
    text-align: center;
       
}

.botao-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 10px; /* Adiciona um espaço de 10 pixels entre os itens flex */
}

.botaoAcao, #botaoCopiar button, .action-buttons button {
    cursor: hand;
    /*-webkit-border-image: url(get_icone.php?codigo=9) 0 4 0 4;*/
    -webkit-border-image: url("https://classflow.com.br/imagens/tributton.png") 0 4 0 4;
    border-width: 0 4px 0 4px;
    width:auto;
    font: 13px;
    text-decoration: none;
    color: #070707;
    text-shadow: #FFF 0 1px 0;
    height:40px;
}

#botaoCopiar button{
    margin-top: 20px;
}



.action-buttons button {
    cursor: not-allowed; /* Desabilitado visual */
    /*color: #c7c5c5;*/
}
.action-buttons button:enabled {
    color: #070707;
    cursor: pointer;
}

.action-buttons.hidden {
    display: none !important; /* Esconde completamente os botões quando classe 'hidden' for aplicada */
}

.input_alunos {
    width: 600px; 
    height: 30; 
    font-size: 16px; 
    color: #000000; 
    border: 1px solid #C0C0C0; 
    padding-left: 10px; 
    padding-right: 0px; 
    padding-top: 3px; 
    padding-bottom: 3px; 
    background-color: #FFFFFF"
   
}

.input_nome{
    text-align: left; 
    float: left;
    width: 300px;
  
}

.input_serie{

    width: 300px; 
    height: 31px; 
    border-radius: 3px;
    border: 1px solid #4e4e4e; 
    padding-left: 2px; 
    padding-right: 0px; 
    padding-top: 3px; 
    padding-bottom: 3px;
    background-color: #FFFFFF;
    color:#000;
}

.input_telefone{
    text-align: left; 
    float: left;
    width: 200px;
}

.input_valor{

    text-align: left;
    float: left;
    width:100px;
}

.input_select, .input_local{
    width: 130px; 
    height: 30; 
    font-size: 16px; 
    color: #000000; 
    border: 1px solid #C0C0C0; 
    padding-left: 10px; 
    padding-right: 0px; 
    padding-top: 3px; 
    padding-bottom: 3px; 
    background-color: #FFFFFF"
   
}

.input_local {
    width: 250px;
 
    
}

.link {
    text-decoration:underline;
    color:#080808;
    /*font-weight:550;*/

}

/* Estilo do Modal */
.modal {
    display: none; /* Inicialmente oculto */
    position: fixed;
    z-index: 200; /* Acima de outros elementos */
    left: 0;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fundo escurecido */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#cdd5df), color-stop(3%, #b0bccd), color-stop(50%, #889bb3), color-stop(51%, #8195af), color-stop(97%, #6d84a2), to(#2d3642));
    background: -webkit-gradient(linear, left top, right top, from(#c5ccd4), color-stop(71%, #c5ccd4), color-stop(92%, #cbd2d8), to(#cbd2d8));
    background: -webkit-gradient(linear, left top, right top, from(#c5ccd4), color-stop(71%, #c5ccd4), color-stop(92%, #cbd2d8), to(#cbd2d8));
    /*background-image: url(get_icone.php?codigo=9) 0 4 0 4;*/
    background-image: url("https://classflow.com.br/imagens/tributton.png") 0 4 0 4
    /*-webkit-border-radius: 8px;*/
    /*border: #070707 solid 3px;*/
    
    width: 100%;
    height: 100%;
    /*max-width: 300px; /* Limita a largura para não cobrir a tela inteira */
    margin: auto;
    text-align: center;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);*/
   
}

.modal-content h2 {
    font-size: 14pt;
    color: #000;
    margin-bottom: 20px;
    text-align: center;
}

.modal-content label {
    font-size: 14pt;
    display: block;
    margin-bottom: 10px;
}

/*pesquisa */

.form-group, .form-group-inicio {
  
    display: flex; /* Habilita o Flexbox */
    align-items: center; /* Centraliza verticalmente os itens (input e imagem) */
    margin: 15px 0 0 10px;
}

.form-group-inicio {

    margin: 15px 0 15px 10px;
    
    
}


.form-group input[type="text"], .form-group-inicio input[type="text"]{
    display: flex;
    width: 95%;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: auto;
  
}

.form-group-inicio input[type="text"]{
    -webkit-border-radius: 20px;
}

#sugestoes-receitas {

    -webkit-border-radius: 8px;
    background-color: #fff;
    border: #878787 solid 1px;
    font-size: 12pt;
    border: #878787 solid 1px;
    /*max-height: 400px;*/
    height: 90vh;
    overflow-y: auto;
    margin-top: 5px;
    border-radius: 4px;
    width: 98%;
    margin: auto;
}
.sugestao {
    padding: 8px;
    cursor: pointer;
}
.sugestao:hover {
    background: #f0f0f0;
}
.match-info {
    color: #555;
    font-size: 0.9em;
    /*margin-left: 10px;*/
}
#message {
    margin-top: 10px;
}
.success {
    color: green;
}
.error {
    color: red;
}

.modal-content input[type="password"] {
        border:1;
        height:28px;
        float:center;
        font-size:13px;
        position:relative;
        top:2px;
        left:2px;
        bottom: 0;
        width: 30%;
        width: 100%;
        max-width: 200px;
        margin:auto;
       } 


.modal-content .botao-container {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.modal-content .botaoAcao {
    width: 100px;
    font-size: 12pt;
    padding: 8px 20px;
}

#informesenha{
    top:80px;
}

/* Para a pesquisa */

.search-container {
    width: 100%;
    max-width: 600px;
    text-align: center;
    padding: 20px;
    margin: auto;
    top:0px;
    height: auto;
}
.search-box {
    flex: 1; /* Cresce para ocupar o espaço restante */
    min-width: 0; /* Permite encolher se necessário */
    width: 100%;
    height: 40px;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #dfe1e5;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
    outline: none;
}

/* detalhaes da receita modal */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.modal-content-detalhe {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-sizing: border-box;

   
}

.close-button-detalhe {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;

}


/* results aqui */

.search-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    top:0px;
}
.status-filter {
    flex: 0 0 auto; /* Não cresce, largura automática */
    width: auto;
    min-width: 120px; /* Largura mínima para o select */
    padding: 8px;
    font-size: 16px;
    /*border: 1px solid #777777;*/
    border: #878787 solid 1px;
    height: 40px;
    border-radius: 4px;
    background: white;
}
.modalSearch {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}
.modalSearch-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.modalSearch-content h2 {
    margin-top: 0;
}
.modalSearch-content p {
    margin: 5px 0;
}
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

#caixaCobranca{
    
    margin:auto;
}

/*galeria de fotos*/


.grid-container {
    display: grid;
    gap: 5px;
    width: 100%;
    
}
.grid-item {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 3px solid transparent;
    transition: border-color 0.3s ease;
    cursor: grab;
    margin: auto;
}
.grid-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
/* Estilo para a imagem principal */
.grid-item.main-photo {
    border-color: #f7a300;
}
/* Estilo para o item arrastado em desktop e touch */
.grid-item.dragging {
    opacity: 0.5;
}
/* NOVO: Estilo para o clone da imagem arrastada em touch */
.ghost-photo {
    position: fixed;
    border-radius: 8px;
    opacity: 0.8;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%); /* Centraliza no cursor */
    padding-bottom: 0; /* CORREÇÃO AQUI */
}
.photo-checkbox {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 10;
}


button:hover {
    filter: brightness(0.9);
}


/*para SweetAlert2

/* Container do modal */
.custom-swal-modal {
    width: 450px !important; /* Largura do modal */
    max-width: 90% !important; /* Responsividade */
    border-radius: 12px !important; /* Cantos arredondados */
    border: 1px solid #0e0d0d;
 }
  /* Título */
  .custom-swal-title {
    font-size: 16px !important; /* Tamanho da fonte mantido */
    color: #ffffff !important; /* Letras brancas */
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#cdd5df), color-stop(3%, #b0bccd), color-stop(50%, #889bb3), color-stop(51%, #8195af), color-stop(97%, #6d84a2), to(#2d3642)) !important;;
    height: 40px !important; /* Aproximadamente 10% da altura do modal (450px * 0.1 = 45px) */
    line-height: 45px !important; /* Centraliza o texto verticalmente */
    margin: 0 !important; /* Remove margens padrão */
    padding: 0px !important; /* Espaçamento interno */
    border-top-left-radius: 12px !important; /* Arredonda cantos superiores */
    border-top-right-radius: 12px !important; /* Arredonda cantos superiores */
    text-align: center !important; /* Centraliza o texto */
  }
  /* Texto do conteúdo */
  .custom-swal-text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px !important; /* Tamanho da fonte do texto */
    line-height: 1.6 !important;
    color: #030303 !important;
  }
  /* Ícone */
  .custom-swal-icon {
    width: 70px !important; /* Tamanho do ícone */
    height: 70px !important;
  }
  
  .custom-swal-confirm,.custom-swal-cancel {
    padding: 5px 20px; /* Espaçamento interno */
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    border-width: 0 4px 0 4px;
    transition: background-color 0.3s ease;
    white-space: nowrap; /* Evita que o texto quebre a linha dentro do botão */
    cursor: hand;
    -webkit-border-image: url("https://classflow.com.br/imagens/tributton.png") 0 4 0 4;
    font: 13px;
    text-decoration: none;
    color: #070707;
    text-shadow: #FFF 0 1px 0;
    height:35px;
  }

/*para associção de categorias*/

/* ESTILO PARA A ÁREA DE EDIÇÃO */
#areaEdicaoCategorias { 
    border: 1px solid #ccc; 
    padding: 15px; 
    margin-top: 15px; 
    background-color: #f9f9f9; 
  
}

/* CONTAINER COM SCROLL - Aplica a altura máxima e o scroll */
#containerScrollEdicao {
    max-height: 400px; /* Define a altura máxima da área de scroll */
    overflow-y: scroll; /* Ativa o scroll vertical */
    padding-right: 15px; /* Evita que o scrollbar corte o conteúdo */
    margin-bottom: 10px;
}

#listaEdicao { 
    list-style: none; 
    padding: 0; 
    margin: 0; /* Remove a margem padrão da ul */
}

#listaEdicao li { margin-bottom: 8px; }

/* Estilos do botão de salvar, mantidos para consistência */
.btn-salvar-edicao {
    cursor: pointer;
    padding: 5px 10px;
    /*-webkit-border-image: url(get_icone.php?codigo=9) 0 4 0 4;*/
    -webkit-border-image: url("https://classflow.com.br/imagens/tributton.png") 0 4 0 4
   
    color: white;
    border-width: 0 4px 0 4px;
    width:auto;
    font: 13px;
    text-decoration: none;
    color: #070707;
    text-shadow: #FFF 0 1px 0;
  
}
.btn-salvar-edicao:hover:not(:disabled) {
    background-color: #0056b3;
}
.btn-salvar-edicao:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

#selectCategorias {
    margin: auto;
}

/* carrosel de recitas */
.receitas-carrossel {
    max-width: 1200px;
    margin: 0 auto;
}

.carrossel-item {
    padding: 10px;
    transition: transform 0.3s ease;
}

.carrossel-item:hover {
    transform: scale(1.05);
}

.carrossel-item img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.text-carrossel-container {
    margin-top: 10px;
    text-align: center;
}

.name-carrossel {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
}

.author-carrossel {
    font-size: 0.9em;
    color: #666;
}

.star-carrossel-icon, .menu-carrossel-icon {
    margin-left: 5px;
}

/* Estilização das setas e pontos do Slick */
.slick-carrossel-prev, .slick-carrossel-next {
    z-index: 1;
}

.slick-carrossel-dots li button:before {
    font-size: 12px;
    color: #333;
}

.slick-carrossel-dots li.slick-active button:before {
    color: #007bff;
}

/*nova galeria de fotos */

  .container-grid {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;
      width: 100%;
      max-width: 600px;
      margin:auto;
    }

    .add-button {
        width: 44px;
        height: 44px;
        background: #007bff;
        color: white;
        border: none;
        border-radius: 50%;
        font-size: 24px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0,123,255,0.3);
        transition: all 0.2s ease;
      }
  
      .add-button:hover, .add-button:active {
        background: #0056b3;
        transform: scale(1.1);
      }
  
      .grid-galeria {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding: 20px;
        background: white;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        min-height: 150px;
        width: 100%;
        box-sizing: border-box;
        margin:auto;
      }
  
      .cell {
        aspect-ratio: 1;
        border: 2px dashed #ddd;
        border-radius: 12px;
        overflow: hidden;
        cursor: pointer;
        position: relative;
        transition: all 0.2s ease;
      }
  
      .cell:hover {
        border-color: #999;
      }
  
      .cell.selected {
        border: 4px solid #007bff;
        transform: scale(0.95);
        box-shadow: 0 0 0 2px white, 0 0 0 6px #007bff;
      }
  
      .cell img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        pointer-events: none;
      }
  
      .trash-bin {
        width: 80px;
        height: 80px;
        background: #fff;
        border: 3px dashed #ccc;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 36px;
        color: #999;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        cursor: pointer;
      }
  
      .trash-bin:hover {
        background: #ffe6e6;
        border-color: #ff4444;
        color: #ff0000;
        transform: scale(1.1);
      }
  
      .trash-bin::before { content: "Delete"; }
  
      .loading, .uploading {
        grid-column: 1 / -1;
        text-align: center;
        color: #666;
        font-size: 18px;
        padding: 30px 0;
      }
  
      .uploading { color: #007bff; font-weight: 500; }
  
      .info {
        grid-column: 1 / -1;
        text-align: center;
        color: #d00;
        font-size: 16px;
        padding: 10px;
      }

/****************************************************************/

@media screen and (max-width: 768px) {
    .star-icon {
        font-size: 1.2rem; /* Reduz o tamanho da estrela em tablets */
    }
    .menu-icon {
        font-size: 1.4rem; /* Reduz o tamanho do hambúrguer em tablets */
    }
}


/* Media Queries */
@media (max-width: 480px) {

    .temp-image {
        width: 100%;           /* ocupa 90% da largura da div */
             
    }

    #contimage {
        margin: auto;
        padding-left: 0px;
        padding-top: 100px;
        z-index: 10000;
        background-color: transparent;
        width:90%;
        justify-content: center;
        overflow-y: none; 
    }
    

    body::-webkit-scrollbar {
        display: none; 
        width: 0; /* Para rolagem vertical */
        height: 0; /* Para rolagem horizontal */
    }


    .alfabeto-fixo {
       /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);*/
        top: 0px;          /* Alinha no topo */
        width: 95%;
       
    }

    .alfabeto-lista {
        padding-top: 6px;
        justify-content: space-around;
        border-bottom: none;
       
    }

    .alfabeto-lista a {
        padding: 0px 9px; 
        font-size: 14px;
        
}

    .alfabeto-lista li {
        margin: 5px 1px;
       
    }

    #content.ajuste-excecao {
        /* Define o margin-top dinâmico SÓ NESTE CASO */
        margin-top: 90px !important; /* Exemplo: +20px de espaço extra */
    }


   

     .sidebar {
        height: 100vh;
        width: 180px;
        position: fixed;
        top: 45px;
        left: -180px; /* Começa fora da tela */
       
    }

    .overlay {
        position: fixed;
        top: 45px;
        left: 0px; 
    }

    #content.active {
        margin-left: 180px;
    }

    #versao{
    
        margin-left: 35px;
        margin-top: 250px;
        text-align: left;
        font-size:0.8rem;
                   
    }

    
    .navbott {
        bottom: 0;
        height: 70px;
        align-items: flex-start;
    
     
    }


    .navbott2 {
              
        height: 70px;
    }


    
    .nav-item {
        font-size: 14px;
        margin: 5px 30px; /* Adiciona espaçamento entre os ícones */
       
    }
    

    .pageitem2 {
        margin-bottom: 75px;
    }


    /* detalhaes da receita modal */

    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /*background: rgba(0, 0, 0, 0.8);*/
        z-index: 1000;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow-y: auto;
        background: -webkit-gradient(linear, left top, right top, from(#c5ccd4), color-stop(71%, #c5ccd4), color-stop(92%, #cbd2d8), to(#cbd2d8));
     }


    .modal-content-detalhe {
        background: white;
        /*padding: 2rem;*/
        border-radius: 0.5rem;
        width: 90vw;
        /*max-width: 800px;*/
        height: 90vh;
        overflow-y: auto;
        overflow-x: hidden;
        position: relative;
        box-sizing: border-box;

        width: 95vw;
        height: 80vh;
        max-width: 95vw;
        max-height: 80vh;

        padding: 1rem 0 0 0;
      


    
    }

    .close-button-detalhe {
        position: absolute;
        top: 1.3rem;
        right: 1rem;
        background: transparent;
        border: none;
        font-size: 2.1rem;
        cursor: pointer;
        color: #333;
        z-index: 2000;
        line-height: 37px; /* Centraliza verticalmente */
        text-align: center; /* Centraliza horizontalmente */
        border-radius: 50%; /* Círculo perfeito */
        width: 30px; /* Dimensões iguais para círculo perfeito */
        height: 30px;
        background: rgba(250, 248, 248, 0.9); /* Fundo preto */
    }


    




    .recipe-container {
     
        width: 97%;
        height: 300px; /* Ajuste conforme necessário */
        align-items: center;
    }
    
 
    .slick-carousel .slide-image {
        width: 97%;
        height: 290px; /* Ajuste conforme necessário */
        background-size: cover; /* Preserva proporção e centraliza */
          
    }
    

    .recipe-title {
        margin: 0 0 0px 0;
        font-size: 18px;
        font-weight: bold;
        
    }
    
    .recipe-author {
        margin: 0 0 0px 0;
        font-size: 14px;
        font-style: italic;
        opacity: 0.9;
    }
    .recipe-data {
        margin: 0 0 0px 0;
        font-size: 14px;
        opacity: 0.9;
    }

    #images-container {
       
        width: 95%;
        
    }

    .photo-checkbox {
        position: absolute;
        top: 5px;
        right: 5px;
        z-index: 10;
        height:15px;
        width: 15px;
    }

    .col1 {
        width: 80px; 
        height:80px; 
        padding: 0;
    }
    
    .col2 {
        width: 145px; 
        height: 10%; 
    }
    
    .col3 {
        width: 35px; 
        height: 10%; 
    }

    .icons {
        display: flex;
        justify-content: flex-end;
        padding: 10px;
        pointer-events: auto; /* Permite cliques nos ícones */
        z-index: 1000; /* Garante que os ícones estejam acima de tudo */
    }



    .star-icon {
        margin-top: 0px;
        font-size: 0.9rem; /* Ainda menor em celulares */
       
    }
    .menu-icon {
        margin-top: 0px;
        font-size: 1.2rem; /* Ainda menor em celulares */
    }

    .icons-container {
        margin-top: 0px;
        display: block;
        align-items: center; /* Centraliza verticalmente */
    }

    #content #gap_pesquisa {
        margin-top: 0px;
    }

    .search-container {
        width: 100%;
        max-width:none;
        text-align: center;
        padding: 10px;
        margin: auto;
        top:0px;
        height: auto;
    }

    .search-inputs {

        margin-bottom: 0px;
        gap: 0px;
        
        display: flex;
        align-items: center;
        top:0px;
    }

    .results {

        height: 480px;
        line-height: 1.0;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 500px;

        margin-top: 10px;
        margin-left: 0;
        /*border: #878787 solid 1px;
        -webkit-border-radius: 8px;
        background: #fff;*/
      
        overflow-y: auto;
        width: 100%;
    }



   
    #topbarDSV svg{
        height: 25px;
        width: 25px;
      
      }
    
    #topbarsearch svg{
        height: 30px;
        width: 30px;
      
    }

   

    .textbox img {
        width: 40%;
   }

       
    .modal-content h2 {
        font-size: 14pt;
    }

    .modal-content label {
        font-size: 12pt;
    }

    .modal-content input[type="password"] {
        font-size: 12pt;
        max-width: 130px;
    }

    .modal-content .botaoAcao {
        font-size: 12pt;
        padding: 6px 15px;
    }

    .btn-salvar-edicao {
        font-size: 12pt;
        padding: 6px 15px;
        height: 32px;
      
    }

    .pageitem {

        line-height: 25px;
    }

    .item_Gridtopbar{

        font-size: 12px;
      
    }
   
    .item_Gridtopbar1 {
        padding-top: 0px;
        grid-area: l1;
        margin-top: 0;
        text-align: left;
        font-size: 20px;
    }
   
    .item_Gridtopbar2 {
        font-size: 18px;
        padding-top: 5px;
    }

    .item_Gridtopbar3 {
        font-size: 25px;
        padding-right: 5px;
        padding-top: 0px;
    }

    .grid-item-mes {
       
        margin:auto;
        font-size: 20px;
    }

    .grid-item-mes-middle {
        
        font-size: 18px;
       
    }

    .botao-container{
        width:auto;
    }

    .botaoAcao {
        width: auto;
        height: 32px;
        font-weight: normal;
    }

 
    #topbar, #topbarLogin {
        height: 45px;
        top:0px;
        padding-top:5px
      
    }

    #menutop {
      
        top: 45px;
        height: 7vh;
          
    }

    
    #content {
        top: 87px;
        overflow-x: hidden;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        margin-top: 50px;
        height: 670px;
        /*height: 500px;*/
    }

  
    /* Estilo dos botões */
  .grupo-botoes button {

    font: 10px;
    height: 30px;
    padding-top: 0;
    padding-left: 15px;
    padding-bottom: 0;
    padding-right: 15px;

    
  }

    .input_nome{
        text-align: left; 
        float: left;
        width: 260px;
    }
    .input_serie{

        width: 260px; 
        height: 37px; 
        border-radius: 6px;
        border: 1px solid #a8a5a5; 
        padding-left: 2px; 
        padding-right: 0px; 
        padding-top: 3px; 
        padding-bottom: 3px;
        background-color: #FFFFFF;
        color:#000;

    }

    .input_telefone{
        
        width: 160px;
    }

    .input_valor{

        text-align: left;
        float: left;
       
    }

    .input_alunos {
        width: 250px; 
        height: 30px;
        border-radius: 0px; 
        font-size: 16px; 
        color: #000000; 
        border: 1px solid #C0C0C0; 
        padding-left: 10px; 
        padding-right: 0px; 
        padding-top: 3px; 
        padding-bottom: 3px; 
        background-color: #FFFFFF;
 
    }
   
    .botaomais button{
        
        width:85px; 
        color:black;
        
    }


    .botaomais input{
        
        color:black;
        
    }

    

  

    .datepicker {
        width: 100%;
        height: 100%;
        box-sizing: border-box; /* Garante que padding e borda sejam incluídos na largura/altura */
        background-color: #FFFFFF;
        border-radius: 0px; 
        font-size: 16px; 
        
    }

    .input_select, .input_select_forma, .input_select_qtde, .input_valor{
        width: 100px; 
        height: 30px; 
        font-size: 16px; 
        color: #000000; 
        border: 1px solid #C0C0C0; 
        padding-left: 10px; 
        padding-right: 0px; 
        padding-top: 3px; 
        padding-bottom: 3px; 
        background-color: #FFFFFF;
        border-radius: 0px; 
                   
    }

    .input_select_forma {
        width: 130px;
    } 

    .input_valor {
        width: 70px;
    }

    .input_select_qtde {
        width: 50px;
    }

    .input_select{
        width:130px;
        padding-left: 0px; 
        padding-right: 0px; 
        padding-top: 0px; 
        padding-bottom: 0px; 
        border: 0px solid #C0C0C0; 
    }

    
    .input_local{
        width: 250px;
        background-color: #FFFFFF;
        border-radius: 0px; 
        color:black;

    }

    .grid_incs {

        display: grid;
        border: 0px solid #7a7878;
        border-radius: 0px;
        grid-template-columns: repeat(20, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 5px;
        padding: 0px;
        margin:0px;
    
        /* Define a largura do grid como 50% da largura da tela */
        width: 100%;
        
        /* Centraliza o grid horizontalmente */
        margin-left: auto;
        margin-right: auto;
    }

    .incs_aulas1 {
        grid-column: 1 / span 15;
        grid-row: 1;
        text-align: left;
    }
    
    .incs_aulas2 {
        grid-column: 16 / span 5;
        grid-row: 1;
        text-align: left;
    }
    
    .incs_aulas3 {
        grid-column: 1 / span 15;
        grid-row: 2;
        text-align: left;
    }
    
    .incs_aulas4 {
        grid-column: 16 / span 5;
        grid-row: 2;
        text-align: left;
    }

    .incs_aulas5 {
        grid-column: 1 / span 3;
        grid-row: 3;
        text-align: center;
    }
    
    .incs_aulas6 {
        grid-column: 4 / span 1;
        grid-row: 3;
        text-align: center;
        
    }
    
    .incs_aulas7 {
        grid-column: 5 / span 3;
        grid-row: 3;
        text-align: center;
    }
    
    .incs_aulas8 {
        grid-column: 8 / span 13;
        grid-row: 3;
        text-align: center;
    }
    
    .incs_pgs1 {
        grid-column: 1 / span 15;
        grid-row: 1;
        text-align: left;
    }
    
    .incs_pgs2 {
        grid-column: 16 / span 5;
        grid-row: 1;
        text-align: left;
    }

    .incs_pgs3 {
        grid-column: 1 / span 13;
        grid-row: 2;
        text-align: left;
    }
    
    .incs_pgs4 {
        grid-column: 14 / span 7;
        grid-row: 2;
        text-align: left;
    }

    .incs_pgs5 {
        grid-column: 1 / span 4;
        grid-row: 3;
        text-align: left;
    }
    
    .incs_pgs6 {
        grid-column: 5 / span 2;
        grid-row: 3;
        text-align: center;
    }
    
    .incs_pgs7 {
        grid-column: 7 / span 6;
        grid-row: 3;
        text-align: left;
    }
    
    .incs_pgs8 {
        grid-column: 13 / span 2;
        grid-row: 3;
        text-align: center;
    }
    
    .incs_pgs9 {
        grid-column: 15 / span 6;
        grid-row: 3;
        text-align: left;
    }

    .auto_width{
        width: 100%;
        height: 100%;
        box-sizing: border-box; /* Garante que padding e borda sejam incluídos na largura/altura */
        background-color: #FFFFFF;
        border: 1px solid #c5c1c1;
        border-radius: 0px;
        color:black;
      }

      .link {
        text-decoration:underline;
        color:#080808;
        /*font-weight:550;*/
       
    }

    .item {
       font-size: 16px;
        
    }

    #titulotela {
      
        margin-top: 2px;
        font-size: 14pt;
    }
}
    

@media (min-width: 1024px) {
   
    #titulotela {
        margin-top: 14px;
        font-size: 20pt;
    }

   
   
}