@charset "UTF-8";

/* BOTAO TOPO E BUSCA NS */

#btntopo{
    display: none;
    position: fixed;
    bottom: 30px;
    right: 10px;

    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
}

#btnbusca{
    position: fixed;
    top: 50px;
    right: 10px;
    z-index: 1000;

    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid black;
}

#btntopo:hover, #btnbusca:hover{
    transform: translate(5px,5px);
}

#resultado {
    white-space: pre-line;
    background: #e7ffe7;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 20px;
  }

/* POPOVER */
.popover {
    display: none;
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
  }

  .popover-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    margin-bottom: 20px;
  }

  .popover-content input {
    width: 100%;
    padding: 8px;
    margin: 10px 0;
    font-size: 16px;
    cursor: text;
  }

  .popover-content > #sugestoes{
    list-style:none; 
    padding:0; 
    margin-top:5px; 
    border:1px solid #ccc; max-width:300px;
  }

  #resultadophaseout > .ver-detalhes {
    color: blue;
    text-decoration: none;
  }
  
  #resultadophaseout > .ver-detalhes:hover {
    text-decoration: underline;
    font-weight: bold;
  }

  #consultarBtn, #consultarBtnphaseout{
    padding: 8px 12px;
    margin: 5px;
    background-color: var(--verde-principal);
    cursor: pointer;
    color: white;
    border-radius: 5px;
  }

  #consultarBtnphaseout{
    margin-top: 5px;
  }

  #consultarBtn:hover, #consultarBtnphaseout:hover{
    background-color: var(--fundo-claro);
    color: var(--verde-principal);
  }

  header > .logo > a{
    height: 44px;
  }

/* VARIÁVEIS */
:root{
    --verde-principal: #00995D;
    --fundo-claro:#f5f5f5;
    --fundo-verde:#a3e5d0;
}

/* CONFIG PADRÃO */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
    color: black;
}

ul{
    list-style-type: none;
}

html, body{
   background-color: var(--fundo-verde);
   background: url(../imagens/background.png) center / cover no-repeat;
   min-height: 100vh;
}

/* CABEÇALHO */
header{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;

    background-color: var(--verde-principal);
    margin-bottom: 15px;
}

header > a > img{
    height: 100%;
}

div.logo{
    display: flex;
    flex-flow: row wrap;
    height: 44px;
}

.ferramentas > .titulo{
  display: flex;
  cursor: pointer;
  height: 44px;
  justify-content: center;
  align-items: center;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; 
}

.logo > .ferramentas > ul{
    display: flex;
    flex-flow: column nowrap;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    justify-content: center;
    background-color: var(--verde-principal);
    align-items: center;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.ferramentas > ul > li{
    margin:5px 0px;
    padding: 5px;
    color: white;
}

.ferramentas > ul > li > a:hover{
    text-decoration: underline;
    color: white;
    cursor: pointer;
}

nav > ul{
    display: flex;
    height: 100%;
}

nav > ul > li{
    padding: 10px;
    text-decoration: none;
}

nav > ul > li:hover{
    background-color: var(--fundo-claro);
    cursor: pointer;
}

/* CONTEÚDO PRINCIPAL */
main{
    background-color: white;
    width: 95vw;
    margin: auto;
    padding: 15px;
    border-radius: 10px;
}

