@media all and (max-width: 480px) {

html {
  box-sizing: border-box;
  font-size: 60%;
  font-family: Arial, Helvetica, sans-serif;
  color: black;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

h2 {
  color: brown;
  font-size: 2.5rem;
}

h3 {
  color: rgb(23, 23, 24);
  font-size: 2rem;
}

.Pag_Atual {
    font-size: 1.6rem;
  }

.List_Curso {
    margin-left: 0rem;
    margin-right: 4rem;
  }

.Cont_Cursos {
    padding-bottom: 2rem;
    padding-top: 8rem;
    margin: 0;
    font-size: 1.4rem;

    & section p {
      text-indent: 20px;
      text-align: justify;
      padding: 0;
      margin: 0;
      padding-left: 0.5rem;
      padding-right: 0.5rem;
    }


    & li {
      margin-bottom: 1rem;
    }
  }

  .Sem_Selecao div {
    display: none;
  }

.Cont_Curso_Desc {
    grid-template-columns: 1fr;
    position: relative;
    text-align: center;
    margin-left: 1rem;
    margin-right: 1rem;
    border: 0.5rem solid #00000066;
    background-color: rgb(85, 85, 85, 0.1);
    border-radius: 1.5rem;
    margin-bottom: 0rem;
    font-size: 1.6rem;
    margin-bottom: 2rem;

    & div h3 b {
      font-size: 1.8rem;
    }

    & .Video_Curso {
      margin-top: 5rem;

      & div {
        margin-top: 2rem;
      }
    }
  }

.iframe-video {
    width: 28rem;
    height: 20rem;
  }

.Cont_Introducao {
    display: grid;
    gap: 0;
    align-items: center;
    text-align: Center;
    margin: 0;
    margin-left: 5rem;
    margin-right: 5rem;
    padding: 0;
    padding-top: 8rem;
    background-color: rgba(251, 253, 251, 0.2);

    & figure {
      width: 80%; /* ou a altura que quiser */

      & img {
        width: 80%;
      }
    }
  }

  .Cont_Pessoal {
    gap: 0rem;
    margin-left: 5rem;
    margin-right: 5rem;
    grid-template-rows: repeat(3, 1fr);
    grid-template-columns: 1fr;
    align-items: start;
    align-content: center;
    text-align: center;
    border: 0.5rem solid #00000066;
    border-radius: 1.5rem;
  }

  .Cont_Apresentacao {
    & div h2 {
      font-size: 2.4rem;
      background-color: #ffffffd4;
      width: 120px;
      top: -6rem;
    }
  }

  .Cont_Servico {
    margin-left: 5rem;
    margin-right: 5rem;

    & div h2 {
      font-size: 2.5rem;
      background-color: #ffffffd4;
    }
  }

  .Cont_Contatos {
    display: grid;
    height: auto;
    gap: 1rem;
    padding: 5rem;
    grid-template-columns: 100%;
    grid-template-rows: 50% 50%;
    align-content: center;
    font-size: 80%;
    width: auto;
  }

  .Icon_Menu_Res {
    display: Block;
    cursor: pointer;
  }

  .Icon_Menu_Aber {
    display: None;
  }

  .Icon_Menu_Acesso {
    display: block;
  }

  .Cont_Cabeca {
    grid-template-columns: 85% 15%;
    background-color: rgb(2, 112, 112);
  }

  .Cont_Whats {
    position: fixed;
    bottom: 1%;
    left: 70%;

    & figure:hover {
      width: 60px;
      height: 60px;
    }
  }

  .Menu_Opcoes {
    grid-template-columns: 1fr;
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 1.5rem;
    right: 0%;
    top: 10%;
    position: absolute;
    background-image: linear-gradient(to top, #fad0c4 0%, #ffd1ff 100%);
    color: black;
    width: 11rem;
    justify-items: start;

    & div {
      margin-bottom: 0.1rem;
      padding-bottom: 1rem;
    }

    & #logout {background-color: #027070;
                border: none;
                color:black;
                cursor: pointer;}

    & div:hover {
      color: rgb(14, 14, 95);
      border-bottom: 0.1rem solid rgb(20, 20, 20);
      cursor: pointer;
      font-size: 1.4rem;

    }

    & button {color: black;}
  }

  .Tela_Logon {
    & form {
      display: grid;
      grid-template-columns: auto;
      gap: 0;
      height: 30rem;
      justify-content: center;
      justify-items: center;
      align-items: baseline;
      padding-left: 1rem;
      padding-right: 1rem;
      background-image: linear-gradient(to top, #fad0c4 0%, #ffd1ff 100%);

      & em {
        grid-column: 1 / span 1;
        font-size: 1.5rem;
      }
    }
  }


#Btt_Logado div {
    display: grid;
    grid-template-columns: 2fr 1fr;
    position: absolute;
    top: 0;
    margin: 0;
    padding: 0.4rem;
    align-items: end;
    justify-items: end;
    right: 0;

    & img { height: 7dvh;
            width: 6dvh;}

    & button {background-image: linear-gradient(to top, #fad0c4 0%, #ffd1ff 100%);
              border: 0;
              color: black;
            }
    }

.Perfil {
          display: grid;
          grid-template-columns: 1fr;
          gap: 0;
          width: auto;
          padding-top: 8rem;
          margin-left: 2%;
          height: 100dvh;

          & .Perfil_Tel {width:6rem;
                      cursor: pointer;}

          & img {width: 20dvh;}
      }

.Perfil_Secao_Busca{height: auto;
                    margin-left: 1%;
                    width: 49%;
                    margin-top: 2%;
                    margin-bottom: 4%;}

.Perfil_Atendente {
          display: block;
          gap: 0;
          width: auto;
          padding-top: 8rem;
          margin-left: 2%;
          height: auto;

          & .Perfil_Tel {width: 7dvh;
                        cursor: pointer;
                        height: 7dvh;}

          & img {width: 20dvh;}

          &.Perfil_Historico {margin-top: 2%;}
      }



.Perfil_Historico {
              width: 100%;
              align-items: center;
              margin-top: 2%;
              

          & .Perfil_Consulta {
                  background-color: rgb(233, 240, 240);
                  height: 45%; 
                  width: 94%; 
                  margin: 2% ;
                  border-end-end-radius: 2rem;
                  border-start-start-radius: 2rem;
                  border: 0.2rem solid rgb(23, 20, 20);   
                  text-align: center;}  

          & .Perfil_Consulta {
                  background-color: rgb(233, 240, 240);
                  height: 65%; 
                  width: 94%; 
                  margin: 2% ;
                  border-end-end-radius: 2rem;
                  border-start-start-radius: 2rem;
                  border: 0.2rem solid rgb(23, 20, 20);   
                  text-align: center;  
          }

          & .Perfil_Pagamento {
                  background-color: rgb(233, 240, 240);
                  height: 45%; 
                  width: 95%;   
                  margin: 2%;
                  border-end-end-radius: 2rem;
                  border-start-start-radius: 2rem;
                  border: 0.2rem solid rgb(23, 20, 20);
                  text-align: center;}

          & .Perfil_Pagamento1 {
                  background-color: rgb(233, 240, 240);
                  height: 45%; 
                  width: 95%;   
                  margin: 2%;
                  border-end-end-radius: 2rem;
                  border-start-start-radius: 2rem;
                  border: 0.2rem solid rgb(23, 20, 20);
                  text-align: center; 
                  
          }

          & .Menu_Pagamento {display: inline-grid;
                              grid-template-columns: 1fr 1fr;
                              gap: 5%;
                              justify-items: center;
                              cursor: pointer;
                              margin: 0;
                              padding: 0;
                              align-items: center;
                              justify-content: center;

                & H2 {margin: 5%;
                      padding: 2%;
                      font-size: 1.8rem;}

                & button {cursor: pointer;
                          margin-top: 4%;
                          margin-bottom: 2%;
                          padding: 2%;
                          height: 70%;
                          border-radius: 10px;
                          font-size: 2rem;
                          width: 18dvh;
                          justify-self: center;}            
                
                            }
      }

.Menu_Pagamento {display: inline-grid;
                              grid-template-columns: 1fr 1fr;
                              gap: 5%;
                              justify-items: center;
                              cursor: pointer;
                              margin: 0;
                              padding: 0;
                              align-items: center;
                              justify-content: center;

                & H2 {margin: 5%;
                      padding: 2%;
                      font-size: 1.8rem;}
              }

.Perfil_Dados_Busca {
              background-color: rgb(233, 240, 240);
              width: 46%;
              display: block;
              text-align: center;
              margin-top: 2%;
              margin-left: 2%;
              margin-right: 2.5%;
              border-end-end-radius: 2rem;
              border-start-start-radius: 2rem;
              border: 0.2rem solid rgb(23, 20, 20);
              grid-column: 1;
              grid-row: 2 / span 2;


        & img {
          margin: 4%;
          border-radius: 5%;
        }

        & div {
          margin: 4%;
          text-align: start;
          
        }

      } 

.Perfil_Dados {
              background-color: rgb(233, 240, 240);
              width: 93%;    
              display: block;
              text-align: center;
              margin-top: 0;
              margin-left: 2.5%;
              margin-right: 2.5%;
              border-end-end-radius: 2rem;
              border-start-start-radius: 2rem;
              border: 0.2rem solid rgb(23, 20, 20);

        & img {
          margin: 4%;
          border-radius: 5%;
        }

        & div {
          margin: 4%;
          text-align: start;
          
        }

      } 

.Perfil_Avatar {display: grid;
                gap: 2%;
                text-align: center;
                justify-self: center;
                align-items: End;
                font-size: 0.8rem;
                justify-items: center;

                & div {text-align: center;
              }
  }
  

thead,
tfoot {
        background-color: #0a3056;
        color: white;
        height: 4mm;
        min-height: 4mm;
        max-height: 5mm;
        min-width: 100%;
        max-width: 100%;
        width: 10rem;
      }

th,
td {
      border: 0.1rem solid rgb(160 160 160);
      padding: 0.4rem 1.2rem;
      min-width: 100%;
      max-width: 100%;
      font-weight:100;    
      }
      
table {
        border-collapse: collapse;
        font-family: sans-serif; 
        font-size: 1.4rem;
        letter-spacing: 0.15rem;
        text-align: center;
        letter-spacing: 0.15rem;
      }

.tabela-container {
  overflow-y: auto;
  display: block;
  width: 95%;
}

.tabela-container table {
  border-collapse: collapse;
  margin-bottom: 5%;
  & h2 {cursor: pointer;
        white-space: nowrap;
        overflow: hidden;      
        text-overflow: ellipsis;   
        color:white;
        display: inline;
        font-size: 1.2rem;
        justify-content: center;
        align-items: center;
        justify-items: center;
        margin: 0%;
        padding: 0.5%;
        padding-left: 5%;
        padding-right: 5%;
        border-radius: 10px;
        background-color: rgba(2, 112, 112, 0.5);
      }

  & h2:hover{
              background-color: #4ca5af; /* verde */
              color: white;
              margin-top: 0%;
              border-radius: 10px;
              font-size: 1.2rem;
              cursor: pointer;
              box-shadow: 1px 4px 6px rgba(0, 0, 0, 0.1);
              transition: background-color 0.3s ease, transform 0.2s ease;
            }
}

.tabela-container thead th {
  position: sticky;
  top: 0;
  background: #0a2540; /* cor do cabeçalho */
  color: white;
  z-index: 2;
}

.hidden {
        top: 10dvh;
        padding: 2dvh;
        padding-top: 8dvh;
        padding-bottom: 10dvh;
        height: 65dvh;
        background-color: rgb(85, 85, 85, 1);
        position: absolute;
        margin: 2%;
    }

.actions button {
        width: 20dvh;
        margin: 0;
        text-align: center;
}

.actions {display: grid;
    justify-items: center;
    gap: 10%;
    margin-top: 2%;

   & h2 {cursor: pointer;
        white-space: nowrap;
        overflow: hidden;      
        text-overflow: ellipsis;   
        color:white;
        display: inline;
        font-size: 1.2rem;
        justify-content: center;
        align-items: center;
        justify-items: center;
        margin: 0%;
        padding: 0.5%;
        padding-left: 5%;
        padding-right: 5%;
        border-radius: 10px;
        background-color: rgba(2, 112, 112, 0.5);
      }

  & h2:hover{
              background-color: #4ca5af; /* verde */
              color: white;
              margin-top: 0%;
              border-radius: 10px;
              font-size: 1.2rem;
              cursor: pointer;
              box-shadow: 1px 4px 6px rgba(0, 0, 0, 0.1);
              transition: background-color 0.3s ease, transform 0.2s ease;
            }
}


div 
.actions 
h2 {cursor: pointer;
                  display: grid;
                  white-space: nowrap;
                  overflow: hidden;      
                  text-overflow: ellipsis;   
                  color:white;
                  font-size: 1.2rem;
                  justify-content: center;
                  align-items: center;
                  justify-items: center;
                  margin: 0%;
                  padding: 0.5%;
                  padding-left: 5%;
                  padding-right: 5%;
                  border-radius: 10px;
                  background-color: rgba(2, 112, 112, 0.5);
                  position:relative;
                  padding: 0.8rem; 
                  border-radius: 2rem;
                  border: 0rem solid #f3eeee66;
                  left: 0;
                  top: 0;
                  position: static;
                  width: 15dvh;
                  transform: translateX(0%) rotate(0deg);
                  padding: 2%;
                  padding-top: 0;
                  height: 2.5dvh;
                }

div 
.actions
h2:hover{
              background-color: #4ca5af; /* verde */
              color: white;
              margin-top: 0%;
              border-radius: 10px;
              font-size: 1.2rem;
              cursor: pointer;
              box-shadow: 1px 4px 6px rgba(0, 0, 0, 0.1);
              transition: background-color 0.3s ease, transform 0.2s ease;
            }


.Secao_Cadastro{position: absolute;
                top: 0;
                padding-top: 3%;
                z-index: 999;
                width: 100%;
                height: 100dvh;
                justify-items: center;
                background-color: rgb(85, 85, 85, 0.3);}

.Dados_Cadastro {display: grid;
                  grid-template-columns: 1fr 1fr;
                  gap: 1dvh;
                  width: auto;
                  margin: 0;
                  padding: 0;
                  padding-right: 2dvh;
                  padding-left: 2dvh;
                  padding-bottom: 3dvh;
                  border-radius: 5dvh;
                  border: 0.1dvh rgb(27, 26, 26) solid;
                  background-color: rgb(221, 215, 250);

                & label {font-weight: bold;
                  }

                 & h2 {
                grid-column: 1 / span 2;   /* ocupa as 2 colunas */
                text-align: center; 
                padding: 0;
                margin: 2dvh;
              }

              & button {
                grid-column: 2 / span 1;   /* ocupa as 2 colunas */
                text-align: center;
                width: 20dvh;
                padding: 2%;
                margin: 0dvh;

              & input {margin-bottom: 0.7dvh;
                      display: block;
                      width: 100%;}
              }
  }

.Perfil_Atendimento {
              width: 100%;
              height: 95%;
              align-items: center;
              

          & .Perfil_Consulta {
                  background-color: rgb(233, 240, 240);
                  height: 75%; 
                  width: 94%; 
                  margin: 2.5% ;
                  border-end-end-radius: 2rem;
                  border-start-start-radius: 2rem;
                  border: 0.2rem solid rgb(23, 20, 20);   
                  text-align: center;
          }

          & .Perfil_Menu {
                  background-color: rgb(233, 240, 240);
                  height: 20%; 
                  width: 94%;   
                  margin: 2%;
                  border-end-end-radius: 2rem;
                  border-start-start-radius: 2rem;
                  border: 0.2rem solid rgb(23, 20, 20);
                  text-align: center;  
          }

          & button {width: 30dvh;
                    margin: 2dvh;
                    }

      }

.Agendamento {
    position: absolute;
    top: 0;
    padding-top: 15%;
    z-index: 999;
    width: 100%;
    height: 100dvh;
    background-color: rgba(120, 120, 119, 0.8);
}

.modal1 {
    position: fixed;
    top: 0;
    right: -120%;
    width: 50%;
    height: 100%;
    background-color: #fff;
    box-shadow: -3px 0 8px rgba(0, 0, 0, 0.4);
    transition: right 0.3s ease;
    padding: 20px;
    overflow-y: auto;
    padding-right: 10%;

    & h2 {font-size: 2rem;}
}

.calendar {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 5px;
      width: 90%;
      max-width: 800px;
      margin: auto;
    }

.day {
      background-color: #fff;
      border: 1px solid #ddd;
      padding: 1rem;
      text-align: center;
      cursor: pointer;
      border-radius: 8px;
      transition: background-color 0.2s;
    }

.day:hover {
      background-color: #e0d4ff;
    }

.header {
      font-weight: bold;
      background-color: #ddd;
      border-radius: 8px;
      padding: 5px;
    }

.Sala_Atendimento{
      position: absolute;
      z-index: 999;
      top: 2.5%;
      right: 2.5%;
      background-color: bisque;
      width: 95%;

    }

.Atendimento{height: 220dvh;
              width:-webkit-fill-available;}

.Tele_Atendimento {
    display: grid;
    position: relative;
    height: 120%;
    margin-top: 8rem;
    background-color: white;
    margin: 0;
    grid-auto-rows: 4fr 1fr 1fr 1fr;
    grid-template-columns: 1fr;
    max-height: 150dvh;
  }

.Diario_Chamada {display: grid;
                gap: 2dvh;
                font-size: 1.2rem;
                align-content: center;
              }



.Perfil_Atendimento_Busca {
              width: 49%;
              height: 94%;
              align-items: center;
              margin: 0;
        
          & .Perfil_Busca {background-color: rgb(233, 240, 240);
                            height: auto;
                            width: 63%;
                            margin: 2%;
                            border-end-end-radius: 2rem;
                            border-start-start-radius: 2rem;
                            border: 0.2rem solid rgb(23, 20, 20);
                            text-align: center;
                            margin-top: 0;
                
                & h2 {margin-bottom: 0;}

                & Form {display: flex;
                        align-items: center;
                        justify-content: center;
                        margin: 0;
                      }

                & button {height: 3dvh;
                          padding: 0;}

                & input {width: 50dvh;}
          }

          & .Perfil_Consulta {
                  background-color: rgb(233, 240, 240);
                  height: 48%; 
                  width: 95%; 
                  margin: 0%;
                  margin-left: 3%;              
                  border-end-end-radius: 2rem;
                  border-start-start-radius: 2rem;
                  border: 0.2rem solid rgb(23, 20, 20);   
                  text-align: center; 
                  margin-bottom: 0;
                  
          }


          & .Perfil_Pagamento {
                  background-color: rgb(233, 240, 240);
                  height: 45%; 
                  width: 95%; 
                  margin: 0%;
                  margin-bottom: 2%;
                  margin-top: 2%;
                  margin-left: 2%;
                  border-end-end-radius: 2rem;
                  border-start-start-radius: 2rem;
                  border: 0.2rem solid rgb(23, 20, 20);
                  text-align: center;
                  margin-top: 3%;
          }

          

          & button {width: 30dvh;
                    margin: 2dvh;
                    }

      }

#fileInput {
    display: none; /* Oculta o input padrão */
  }

  .custom-file-label {
    cursor: pointer;
    display: inline;
  }

  .custom-file-label img {
    text-align: center;
    width: 10rem;
    min-width: 10rem;
    max-width: 10rem;
    height: 12rem;
    max-height: 12rem;
    min-height: 12rem;
  }

.Editor_Apre_Inicio {display: grid;
                      grid-template-columns: 40% 60%;
                    
                      & div {display: grid;
                              align-items: center;}
                      & textarea {
                              min-width: 100%;
                              max-width: 100%;
                              height: 14dvh;}

                      & label {font-size: 2rem;
                              color: #eaeef1;
                            }
                    }
              
.Serv_Edit{grid-column: 1 / span 2;
            width: 100%;
          
          & textarea {min-width: 100%;
                  max-width: 100%;
                   height: 14dvh;}
                            }

.Dest_Edit{grid-column: 1 / span 2;
            width: 100%;   

          & textarea {min-width: 100%;
                  max-width: 100%;
                   height: 14dvh;
                  margin-bottom: 5%;
                }
          }

#Editor_Mob{display: None;}

.Mob_Editor {
    display: block;
    position: absolute;
    right: 0;   /* importante — libera o movimento horizontal */
    left: auto;       /* posição inicial */
    top: 0;
    cursor: grab;
    user-select: none;
    z-index: 9999;
  }

  .Mob_Editor:active {
    cursor: grabbing;
  }

}