*
{
    margin: 0px;
}

body
{
    background: white;

    overflow-x: hidden;             /* trava o scroll horizontal */

    display: flex;                  /* =================================== */
    align-items: center;            /* COLOCA TODOS OS ELEMENTOS NO CENTRO */
    flex-direction: column;         /* =================================== */
}   

.botaoMenu
{
    display: none;
    margin-left: 10%;
    margin-top: 10%;
}

/* ===================================================================================== */
/* Logo Governo de São Paulo */

.govSp
{
    display: flex;
    position: absolute;

    background-color: #000000;

    align-items: center;

    margin-left: -90%;
    margin-top: -1px;

    width: 460px;
    height: 80px;

    border-radius: 50px;

    z-index: 1000;

    /* border: red solid 4px; */
}

.govSp a:hover
{
    border-radius: 200px;
}

.govSp div
{
    margin-top: 5px;
    margin-left: 215px;
}

/* ===================================================================================== */

.linha
{
    position: absolute;
    background-color: #000000;
    width: 100vw;
    height: 0.1px;
    margin-top: 79px;
    border: #929292 solid 0.5px;

    z-index: 1;
}

/* ===================================================================================== */
/* Cabeçalho + caixa de pesquisa */

.cps
{
    display: flex;
    position: absolute;

    margin-top: 4.3%;
    margin-left: -40%;

    /* border: red solid 3px; */
}

.logo
{
    display: flex;
    position: absolute;
    align-items: center;

    margin-top: 4.3%;
    margin-left: 20%;

    /* border: red solid 3px; */
}

/* ===================================================================================== */
/* HEADER VERMELHO */

.cabecalho
{
    display: flex;
    position: relative;       /* fica fixo no topo ao rolar a página MAS NÃO FUNCIONOU :( */

    background-color: #b2000000;
    color: white;

    align-items: center;

    margin-top: 10%;

    width: 100vw;
    height: 50px;

    /* border: blue solid 5px; */
    z-index: 1000;
}

.cabecalho header
{
    margin-left: 20px;
    align-items: center;
}

.cabecalho header span
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: bold;
    margin-left: 30px;
    
    color: inherit;             /* herda a cor do elemento pai */
    text-decoration: none;      /* remove o sublinhado */

    z-index: 201;
}

#tituloCelular
{
    display: none;
}

#tituloCelular2
{
    display: none;
}

.cabecalho header a
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: bold;
    margin-left: 30px;
    
    color: inherit;             /* herda a cor do elemento pai */
    text-decoration: none;      /* remove o sublinhado */

    z-index: 201;
}

.erro {
  border: 5px solid red;
}

#overlayFecharMenuMobile
{
  display: none;

  position: fixed;

  top: 0;
  left: 0;

  width: 100vw;
  height: 100vh;

  background: rgba(0,0,0,0.4);

  z-index: 1998;
}

.botaoPesquisa
{
    margin: 0px;
    width: fit-content;
    height: fit-content;
    /* border: #00b200 solid; */
}

.botaoPesquisa img
{
    /* border: #0078ff solid; */
    width: 25px;
    height: 25px;
}

#erroTurno{display : none; margin-left: 5px; vertical-align: middle;}
#erroCurso{display : none; margin-left: 5px; vertical-align: middle;}
#erroDia{display : none; margin-left: 2px; vertical-align: middle;}
/* ===================================================================================== */
/* Parte do cabeçalho */
.pilulaVermelha
{
    display: flex;
    position: absolute;

    background-color: #b20000;

    align-items: center;

    margin-left: -1.7%;
    margin-top: -1.3%;

    width: 37%;
    height: 100%;

    border-radius: 50px;

    z-index: 199;
}

.pilulaVermelha2
{
    display: flex;
    position: absolute;
    gap: 1%;

    background-color: #b20000;

    align-items: center;

    margin-left: 36.5%;
    margin-top: -1.3%;

    width: 63%;
    height: 100%;

    border-radius: 50px;

    z-index: 200;
}

.pilulaSobreProjeto
{
    display: flex;
    position: absolute;

    background-color: #b20000;
    color: white;

    align-items: center;

    margin-top: 6.5%;
    margin-left: 92%;

    width: 15vw;
    height: 50px;

    border-radius: 50px;

    /* border: blue solid 5px; */
}

.pilulaSobreProjeto a 
{
  text-decoration: none;

  margin-left: 10%;

  color: inherit;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
}

.pilulaSobreProjeto:hover
{
    background-color: #db0000;
    transition: 0.3s;
}

/* ===================================================================================== */
/* ===================================================================================== */
/* BOTAO ANDAR */

.botaoAndar
{
    display: inline-block;
    position: absolute;

    margin-top: 13%;
    margin-left: -79.5%;
    /* margin-left: -600px; */

    width: auto;
    height: auto;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 26px;
    /* font-weight: bold; */

    /* border: red solid 3px; */
}

.botaoAndar select
{
    font-family: Arial, Helvetica, sans-serif;
    width: 190px;
    height: 30px;
    font-size: 20px;
}

.divImagemAvisoAndar
{
    position: absolute;
    margin-top: 12.9%;
    margin-left: -50%;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 26px;

    /* border: red solid 3px; */
}

/* ===================================================================================== */
/* FOOTER */

footer
{
    /* border: #b20000 solid 4px; */
    background: rgb(48, 48, 48);
    height: 135px;
    width: 100vw;
    padding-top: 10px;
    color: #fff;
}

footer a
{
    margin-left: 50px;
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
}

/* ===================================================================================== */
/* MAPA INTERATIVO */

#planta
{
    /* border: #b20000 solid 3px; */

    display: block;

    margin-top: 2%;
    margin-left: auto;
    margin-bottom: 20px;
}

#pisoInferior{display : block;}
#pisoSuperior{display : none;}

svg image { pointer-events: none; }  /* impede que a imagem dentro do SVG capture eventos de clique */

.sala {
  fill: rgba(20, 20, 20, 0.466);       /* cor de preenchimento leve */
  stroke: #303030;                   /* contorno */
  stroke-width: 2;
  cursor: pointer;
  pointer-events: auto;           /* permite que a sala capture eventos de clique */
  transition: fill 150ms ease, stroke 150ms ease;
}

.salaHighlight
{
  fill: rgba(14, 216, 81, 0.466);       /* cor de preenchimento leve */
  stroke: #303030;                   /* contorno */
  stroke-width: 2;
  cursor: pointer;
  pointer-events: auto;           /* permite que a sala capture eventos de clique */
  transition: fill 150ms ease, stroke 150ms ease;
}

.sala:hover {
  fill: rgba(113, 241, 156, 0.466);        /* efeito hover */
  stroke: #303030;
}

.sala.selecionada {
  fill: rgba(0, 120, 255, 0.35);     /* destaque quando clicada */
  stroke: #0078ff;
}

#pisoInferior
{
    visibility: visible;
}

.mobileScrollHorizontal
{
  width: 100%;

  overflow-x: auto;
  overflow-y: hidden;
}

/* ===================================================================================== */
/* TABELA DE INFORMAÇÕES */

#infoSala
{

    /* margin-top: -650px; */
    /* margin-left: 750px;
    margin-right: 20px; */

    width: auto;
    height: auto;
    text-align: center;
    /* font-size: 55px; */

    border: rgb(46, 46, 46) solid;
}

.infoTabela
{
    /* margin-top: 10px;
    margin-left: auto;
    margin-right: auto; */

    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;

    width: auto;
    height: auto;

    /* border: green solid 2px; */
    border-radius: 10px;
}

.infoTabela thead{
    background-color: #b20000;
    color: white;
    font-size:  32px;
    padding: 10px;
}

.infoTabela tbody{
    background-color: #c0bbbb;
    font-size: 25px;
}

.infoTabela h2{
    margin-top: 10px;
    margin-bottom: 10px;
}

.tabelaDesktop
{
    display: block;
}

#cardMobile
{
    /* display: none; */
    width: 60%;
    height: 50%;
    gap: 10px;
    /* border: #000000 solid 3px; */
}

/* ===================================================================================== */
/* POPUP DA TABELA */

.popup {
    display: none;
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    
    min-height: 100%;
    overflow-y: auto;

    background-color: rgba(0, 0, 0, 0.5);

    z-index: 2002;
}

.popup-conteudo {
    background: rgba(255, 255, 255, 0.973);
    padding: 20px;
    margin: 5% auto;
    width: 80%;
    height: 80%;
    overflow-y: auto;
    text-align: center;
    align-items: center;
}

.fecharPopup{
    font-size: x-large;
    width: fit-content;
    height: 7%;
    text-align: center;
    align-items: center;
}

.cardMobileInterno
{
    display: none;
    border: 3px solid #000;
    border-radius: 10px;

    padding: 10px;
    margin-bottom: 3%;

    background: #c0bbbb;
}

/* ===================================================================================== */
/* NOTEBOOKS */
@media (max-width: 1440px)
{
    .cps
    {
        margin-top: 6%;
    }

    .logo
    {
        margin-top: 6%;
        
    }

    .pilulaSobreProjeto
    {
        margin-top: 13.65%;
        margin-left: 89%;

        border-top-left-radius: 50px;
        border-bottom-left-radius: 50px;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;

        width: 12vw;
        height: 50px;
    }

    .cabecalho
    {
        margin-top: 17.5%;
    }

    .pilulaVermelha
    {
        margin-top: -5.5%;
        margin-left: 32.5%;
    }

    .pilulaVermelha2
    {
        margin-left: 5%;

        align-items: center;

        width: 90%;
    }

    .botaoAndar
    {
        margin-top: 23%;
        margin-left: -70%;
    }

    .divImagemAvisoAndar
    {
        margin-top: 22.8%;
        margin-left: -25%;
    }

    #planta
    {
        margin-top: 5%;
    }
}

/* ===================================================================================== */
/* TABLET */
@media (max-width: 1100px)
{
    .govSp
    {
        position: absolute;
        margin-left: -90%;
        width: 460px;
        height: 90px;
    }

    .govSp div
    {
        margin-left: 50%;
    }

    .govSp div img
    {
        width: 100%;
    }

    .linha
    {
        position: absolute;
        background-color: #000000;
        width: 100vw;
        height: 0.1px;
        margin-top: 12%;
        border: #929292 solid 0.5px;

        z-index: 1;
    }

    .cps
    {
        margin-top: 0%;
        margin-left: -10%;
    }

    .cps div img
    {
        width: 90px;
        height: 90px;
    }

    .logo
    {
        margin-top: 15.5%;
        margin-left: 0%;
    }

    .logo img
    {
        width: 60%;
        height: 1%;
        
    }

    .botaoAndar
    {
        position: absolute;
        margin-top: 35%;
        margin-left: 0%;
    }

    .divImagemAvisoAndar
    {
        position: absolute;
        margin-top: 45%;
        margin-left: 0%;
    }

    .pilulaSobreProjeto
    {
        margin-top: 20%;
        margin-left: 82%;

        border-top-left-radius: 50px;
        border-bottom-left-radius: 50px;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;

        width: 35vw;
        height: 50px;
    }

    /* ===================================================================================== */
    /* Cabeçalho que vira menu lateral */
    .botaoMenu
    {
        position: fixed;
        display: block;
        z-index: 2001;

        margin-top: 1%;
        margin-left: 84%;
        background-color: #ca161600;
        border-color: #00000000;
        border-radius: 7px;

        width: 12%;
        height: 6%;
        font-size: 190%;
    }

    .botaoMenu.ativo
    {
        background-color: #ffffff;
        margin-left: 75%;
    }

    .cabecalho
    {
        display: block;
        z-index: 2000;
        position: fixed;
        margin-top: 0%;
        margin-left: 500%;
        padding-left: 2%;

        flex-direction: column;

        width: 50vh;
        height: 100vh;

        background-color: #b20000;
        border: rgb(48, 48, 48) solid 5px;
    }

    .cabecalho.ativo
    {
        margin-left: 42%;
        border: #00000000;
        transition: 0.9s;
    }

    .pilulaVermelha
    {
        /* display: none; */
        margin-top: 3%;
        margin-left: -4%;
        width: 250px;
        height: 100vh;

        flex-direction: column;
        align-items: flex-start;

        background-color: #26832600;
        /* border: #000000 solid 3px; */
        border-radius: 0px;
    }

    .cabecalho header .pilulaVermelha span 
    {
        display: none;
    }

    
    .cabecalho header .pilulaVermelha #tituloCelular 
    {
        font-size: 30px;
        display: block;
    }

    .cabecalho header .pilulaVermelha #tituloCelular2 
    {
        line-height: 2;
        font-size: 26px;
        display: block;
    }

    .pilulaVermelha2
    {
        /* display: none; */
        margin-top: 44%;
        margin-left: -3%;
        width: 250px;
        height: 100vh;

        gap: 1.4%;

        flex-direction: column;
        align-items: flex-start;

        background-color: #26832600;
        /* border: #000000 solid 3px; */
        border-radius: 0px;
    }

    .pilulaVermelha2 select
    {
        font-size: 15px;
        padding: 12px;
    }

    .pilulaVermelha2 button
    {
        background-color: #ffffff;
        font-size: 15px;
        padding: 12px;
    }
    
    .cabecalho header .pilulaVermelha2 a
    {
        margin-left: 0%;
        margin-top: 10%;
    }

    #overlayFecharMenuMobile.ativo
    {
        display: block;
    }

    .cabecalho header span 
    {
        margin-left: 0px;
        font-size: 200%;
    }
    /* ===================================================================================== */

    #planta
    {
        margin-top: 55%;
        margin-left: auto;

        min-width: 1200px;
    }
    /* ===================================================================================== */

    .popup
    {
        overflow-x: auto;
    }

    .tabelaDesktop
    {
        display: none;
    }

    #infoSala
    {
        /* margin-top: -650px; */
        margin-left: 120%;
        /* margin-right: 20px; */

        width: 20px;
        height: 20%;
        
        /* font-size: 55px; */
    }

    .fecharPopup
    {
        width: fit-content;
        height: 10%;
    }

    #cardMobile
    {
        display: block;
        
        width: auto;
        height: auto;
    }
    
    .cardMobileInterno
    {
        display: block;
    }

    #cardMobile span
    {
        display: block;
        margin: 3%;
    }

    #curso
    {
        color: red;
    }

    /* ===================================================================================== */
    footer
    {
        margin-top: 30vh;
    }
}
/* ===================================================================================== */
/* PARTE DO @MEDIA PRA FUNCIONAR EM CELULARES */

@media (max-width: 600px) 
{
    .govSp
    {
        position: absolute;
        margin-left: -90%;
        width: 360px;
        height: 60px;
    }

    .govSp div
    {
        margin-left: 50%;
    }

    .govSp div img
    {
        width: 100%;
    }

    .linha
    {
        position: absolute;
        background-color: #000000;
        width: 100vw;
        height: 0.1px;
        margin-top: 16%;
        border: #929292 solid 0.5px;

        z-index: 1;
    }

    .cps
    {
        margin-top: -2.5%;
        margin-left: 35%;
    }

    .cps div img
    {
        width: 80px;
        height: 80px;
    }

    .logo
    {
        margin-top: 15.5%;
        margin-left: 0%;
    }

    .logo img
    {
        width: 60%;
        height: 1%;
        
    }

    .botaoAndar
    {
        position: absolute;
        margin-top: 35%;
        margin-left: 0%;
    }

    .divImagemAvisoAndar
    {
        position: absolute;
        margin-top: 45%;
        margin-left: 0%;
    }

    .pilulaSobreProjeto
    {
        margin-top: 20%;
        margin-left: 65%;

        border-top-left-radius: 50px;
        border-bottom-left-radius: 50px;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;

        width: 35vw;
        height: 50px;
    }

    /* ===================================================================================== */
    /* Cabeçalho que vira menu lateral */
    .botaoMenu
    {
        position: fixed;
        display: block;
        z-index: 2001;

        margin-top: 1%;
        margin-left: 84%;
        background-color: #ffffff00;
        border-color: #00000000;
        border-radius: 7px;

        width: 12%;
        height: 6%;
        font-size: 190%;
    }

    .botaoMenu.ativo
    {
        background-color: #ffffff;
    }

    .cabecalho
    {
        display: block;
        z-index: 2000;
        position: fixed;
        margin-top: 0%;
        margin-left: 500%;

        flex-direction: column;

        width: 50vh;
        height: 100vh;

        background-color: #b20000;
        border: rgb(48, 48, 48) solid 5px;
    }

    .cabecalho.ativo
    {
        margin-left: 42%;
        border: #00000000;
        transition: 0.9s;
    }

    .pilulaVermelha
    {
        /* display: none; */
        margin-top: 3%;
        margin-left: -4%;
        width: 250px;
        height: 100vh;

        flex-direction: column;
        align-items: flex-start;

        background-color: #26832600;
        /* border: #000000 solid 3px; */
        border-radius: 0px;
    }

    .cabecalho header .pilulaVermelha span 
    {
        display: none;
    }

    
    .cabecalho header .pilulaVermelha #tituloCelular 
    {
        font-size: 30px;
        display: block;
    }

    .cabecalho header .pilulaVermelha #tituloCelular2 
    {
        line-height: 2;
        font-size: 26px;
        display: block;
    }

    .pilulaVermelha2
    {
        /* display: none; */
        margin-top: 44%;
        margin-left: -3%;
        width: 250px;
        height: 100vh;

        gap: 1.4%;

        flex-direction: column;
        align-items: flex-start;

        background-color: #26832600;
        /* border: #000000 solid 3px; */
        border-radius: 0px;
    }

    .pilulaVermelha2 select
    {
        font-size: 15px;
        padding: 12px;
    }

    .pilulaVermelha2 button
    {
        background-color: #ffffff;
        font-size: 15px;
        padding: 12px;
    }
    
    .cabecalho header .pilulaVermelha2 a
    {
        margin-left: 0%;
        margin-top: 10%;
    }

    #overlayFecharMenuMobile.ativo
    {
        display: block;
    }

    .cabecalho header span 
    {
        margin-left: 0px;
        font-size: 200%;
    }
    /* ===================================================================================== */

    #planta
    {
        margin-top: 55%;
        margin-left: auto;

        min-width: 1200px;
    }
    /* ===================================================================================== */

    .popup
    {
        overflow-x: auto;
    }

    .tabelaDesktop
    {
        display: none;
    }

    #infoSala
    {
        /* margin-top: -650px; */
        margin-left: 120%;
        /* margin-right: 20px; */

        width: 20px;
        height: 20%;
        
        /* font-size: 55px; */
    }

    .fecharPopup
    {
        width: fit-content;
        height: 10%;
    }

    #cardMobile
    {
        display: block;
        
        width: auto;
        height: auto;
    }
    
    .cardMobileInterno
    {
        display: block;
    }

    #cardMobile span
    {
        display: block;
        margin: 3%;
    }

    #curso
    {
        color: red;
    }

    /* ===================================================================================== */
    footer
    {
        margin-top: 30vh;
    }

}

/* ===================================================================================== */

@media (max-width: 400px)
{
    .botaoMenu
    {
        height: 6%;
    }
}

/* ===================================================================================== */

@media (max-width: 380px)
{
    .botaoMenu
    {
        height: 8%;
    }
}

/* ===================================================================================== */

@media (max-width: 360px)
{
    .botaoMenu
    {
        height: 7%;
    }
}

/* ===================================================================================== */

/* ======================================= */
/* Pseudo Bacon de dados */
.easterEGG
{
    display: block;
    position: absolute;

    margin-left: 3%;
    margin-top: 0.5%;

    width: 30px;
    height: 50px;

    /* border: #0078ff solid; */
    z-index: 999999;
}

.easterEGG:hover img
{
    opacity: 1;

    width: 60px;
    height: 50px;
}

.easterEGG img
{
    opacity: 0;
    transition: opacity 3.3s ease;

    width: 60px;
    height: 50px;
}
/* ======================================= */