
/* ---------------------- General document formatting----------------------  */

* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}  

:root { 
    font-size: 16px;
}

body {
    margin:0; 
    padding:0;
    font-family: "Bower", Georgia, "Times New Roman", serif;
    width: 100vw; /* 100% of the viewport width */
    height: 100vh; /* 100% of the viewport height */
   
}



/* ---------------------- Formatting of the table----------------------  */

table {
    width: 100%;
    height: 100%;
    border-collapse: collapse;
    border: none;
    margin: none;
   
}

td,th {
    border-collapse: collapse;
    border: 1px white;
    text-align: left;
    vertical-align: top;
}

th {
    text-align: center;
    vertical-align: middle;
}


/* ---------------------- Formatting of the map page----------------------  */

#btnencontrar
{    
    visibility: hidden;
}

.container-mapa
{
  height: 400px;

}

#map
{    
  z-index: 2;  

  border: 0px solid rgb(255, 255, 255) ;
  margin:0; 
  padding:0;
}

.mapa-bairro { 
  height: 573px; 
  width: 98%; 
}

.mapa-principal{ 
  height: 100%; 
  width: 100%; 
}

.menu-mapa {
	position: absolute;
	top: 0px;
	bottom: 0;
	left: 0;
	right: 0;
    height: 40px;
    background-color: #034b6ffa;
    color: white;

}

.home-menu-mapa {
    text-align: center;
    vertical-align: middle;
    width: 60px;
    font-family: "Bower", Georgia, "Times New Roman", serif;
    font-weight: 400;
    color: white;
    font-size: 15px;
}

.title-menu-mapa {
    text-align: center;
    vertical-align: middle;
    font-size: 15px;
    font-family: "Bower", Georgia, "Times New Roman", serif;
    font-weight: 400;
}

a:link.hyperlink-top {color: rgb(255, 255, 255); text-decoration: none;}  
a:visited.hyperlink-top {color: #ffffff; text-decoration: none;}  
a:hover.hyperlink-top {color: #2155ff; text-decoration: none;}  
a:active.hyperlink-top {color: #C0F0FC; text-decoration: none;}  

.tabelabase {
  z-index: 2;  
	position: absolute;
	top: 40px;
	bottom: 0;
	left: 0px;
	right: 0;
}

.searchTab {
    width: 10%;
}

.resultTable {
    padding:10px;
}

.formatohd, .formatocl {
    padding:10px;
    text-align: left;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
}

.hdescola, .clescola {
padding:10px;
text-align: left;
border-bottom: 1px solid #999;
font-weight: bold;
background-color: 1px solid #999;
}

.tabelaPOI {
    width:300px;
}

.leaflet-popup-content-wrapper {
    padding: 0;
    overflow: hidden;
}

.leaflet-popup-content-wrapper .leaflet-popup-content {
    margin: 0;
}

.leaflet-popup-content-wrapper h4 {
    padding: 16px;
    background: #466799;
    color: #fff;
    font-size: 16px;
}

.leaflet-popup-content-wrapper p {
    padding: 0 16px;
    font-size: 14px;
    margin-bottom: 14px;
}
   
#botaofecha {
  float:right;
  display:block;
  padding:2px 5px;
  background:#ccc;
  }
  
  #botaofecha:hover {
  float:right;
  display:block;
  padding:2px 5px;
  background:#2155ff;
  color:#fff;
  }

/* ---------------------- Formatting of the main page----------------------  */


ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0);

  list-style-type: none;
  justify-content: flex-end;
}

ul li {
  margin-right: 20px;
}

ul li a {
  display: block;
  padding: 5px;
  color: #ffffff;
  text-decoration: none;
  transition: 0.3s;
}

ul li a:hover {
  background-color: #fffffffa;
  color: #000000;
}

.logo {
  margin-right: auto;
}

.search-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 600px;
  margin: 30px auto;
}

.search-container input[type=text] {
  padding: 6px;
  margin-top: 8px;
  font-size: 17px;
  border: none;
  width: 70%;
  background: #ddd;
  color: black;
}
.search-container button {
  width: 30%;
  padding: 6px;
  margin-top: 8px;
  margin-left: 8px;
  background: #2195f33f;
  color: white;
  font-size: 17px;
  border: none;
  cursor: pointer;
}
.search-container button:hover {
  background: #0b7dda62;
}

h1 {
    text-align: center;
    margin: 50px 0 30px 0;
    font-weight: 700;
    font-size: 40px;
}

p.top-section {
    text-align: center;
    margin: 50px 0 30px 0;
    font-weight: 300;
    font-size: 20px;
}

.top-section {
  background-image: url("telainicial.jpg");
  background-size: cover;
  height: 1200px;
  margin-left: 0px;
  color: white;
}

.middle-separator {
  top: 1200px;
  height:10px;
  background-color: gray;
}

.bottom-section {
  position: absolute;
  top: 1210px;
  color: #000000;
}

.container {

  margin-top: 40px;
  margin-right: 40px;
  margin-left: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  justify-content: center;
  align-items: stretch;
}

.grid {
  width: 90%;
  box-sizing: border-box;
  place-items: stretch;
  flex-basis: auto;
  vertical-align: top;
}

.menu-btn {
display: none;
position: absolute;
top: 10px;
right: 10px;

}

.menu-items.show {
display: block;
}

.logo-site {
  width:100px;
  height:40px;
  justify-content:space-around;
  float:left; 
}


#top-menu img {
  margin-right: 20px;
}

#top-menu {
  display: flex;
  align-items: center;
}


@media screen and (max-width: 760px) {


  .top-section {
  background-image: url("telainicial-mobile.jpg");
  background-size: cover;
  height: 900px;
  position: absolute;
  right: 0px;
  top: 0px;
  color: white;
  }

  .middle-separator {
  top: 900px;
  height:10px;
  background-color: gray;
}

.bottom-section {
  position: absolute;
  top: 910px;
  color: #000000;
}

  p.top-section {
    text-align: center;
    margin: 50px 0 30px 0;
    font-weight: 300;
    font-size: 20px;
}

  ul {
    display: none; /* hide the menu items by default */
  }
  .menu-btn {
    display: block; /* show the menu button */
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
  }
  .menu-items {
    display: none; /* hide the menu items */
    position: absolute;
    right: 10px;
    top: 40px;
    background-color: #fff;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
    list-style-type: none;
    padding: 0;
  }
  .menu-items li {
    margin: 0;
  }
  .menu-items li a {
    display: block;
    padding: 10px;
    color: #000000;
    text-decoration: none;
    transition: 0.3s;
  }
  .menu-items li a:hover {
    background-color: #a8a8a8fa;
    color: #000000;
  }     
  .menu-items.show {
  display: block;
  }

  .search-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  margin: 30px auto;
  }

  .container {

  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-template-rows: 1fr 1fr;
  justify-self: center;

  padding: 40px;
  justify-content: center;
  align-items: center;
  text-align: justify;
  text-justify: inter-word;
  }

  .grid {
  width: 100%;
  flex-basis: auto;
  }
}

/* ---------------------- Formatting of support pages----------------------  */

.body-suporte {
  font-family: "Bower", Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: #000000;
  background-image: url("telainicial.jpg");
  background-size: cover;
  width: 100vw; /* 100% of the viewport width */
  height: 100vh; /* 100% of the viewport height */
}

.container-suporte {
  background-color: rgb(199, 199, 199);
  max-width: 95%;
  margin-top: 50px;
  margin-right: auto;
  margin-left: auto;
  padding:20px;
  }

/* ---------------------- Formatting of the navbar----------------------  */


:root {
  font-size: 16px;
  font-family: 'Open Sans';
}

.body-mapa {
  color: black;
  background-color: #f2f2f2;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

main {
  margin-left: 5rem;
  padding: 1rem;
}

.containernav {
  position: absolute;
  z-index: 100000;  
  height: 100%;
  width: 0px;
  overflow-x: hidden;
  overflow-y: auto;
  background: rgb(194, 193, 193);
  transition: width 1000ms ease;
  overflow: scroll;
}

.innernav {
  position: relative;
  height: auto;

}

navbar {
  transition: width 1000ms ease;
  overflow-x: hidden;
  overflow-y: auto;
  width: 0px;
  height: 100%;

}

.containernav::-webkit-scrollbar {
  width: 12px;
}

.containernav::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px     rgba(0,0,0,0.3); 
  border-radius: 10px;
}

.containernav::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px     rgba(0,0,0,0.5); 
}

.navbar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;

  filter: grayscale(0%) opacity(1);
  background: #141418;
  color: #ececec;
}

.nav-item{
  width: 100%;
}

.nav-item:last-child {
  margin-top: auto;
}

.nav-link {
  display: flex;
  align-items: center;
  margin-left: 20px;
  height: 5rem;
  color: #ececec;
  text-decoration: none;
  transition: 600ms;

  filter: grayscale(80%) opacity(1);
  background: #141418;
}

.nav-linkexp {
  display: flex;
  align-items: center;
  margin-left: 20px;
  height: 10rem;
  color: #ececec;
  text-decoration: none;
  transition: 600ms;

  filter: grayscale(80%) opacity(1);
  background: #141418;
}

.link-text {
  margin-left: 1rem;
  color: #ececec;
}

.link-text2 {
  margin-left: 0rem;
  color: #ececec;
}

.nav-link svg {
  width: 2rem;
  min-width: 2rem;
  margin: 0 1.5rem;
}

.fa-primary {
  color: #ff7eee;
}

.fa-secondary {
  color: #df49a6;
}

.fa-primary,
.fa-secondary {
  transition: 600ms;
}


.logo {
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-align: center;
  color: #ececec;
  background: #141418;
  font-size: 1.5rem;
  letter-spacing: 0.3ch;
  width: 100%;
}

.logo svg {
  transform: rotate(0deg);
  transition: 600ms;
}

.logo-text
{
  display: inline;
  position: absolute;
  left: -999px;
  transition: 600ms;
}

.navbar:hover .logo svg {
  transform: rotate(-180deg);
}

/* Small screens */
@media only screen and (max-width: 760px) {
  
  .containernav {
    position: absolute;
    bottom: 0vh;
    z-index: 100000;  
    height: 250px;
    width: 0px;
    overflow-x: hidden;
    overflow-y: auto;
    background: #141418;
    transition: width 1000ms ease;
  }
  
  .logo {
    display: none;
  }

  .nav-link {
    justify-content: left;
  }

  main {
    margin: 0;
  }
}

/* Large screens */
@media only screen and (min-width: 760px) {

  .containernav {
  top: 35px;
  }
  
  .navbar:hover .link-text {
    display: inline;
  }

  .navbar:hover .logo svg
  {
    margin-left: 11rem;
  }

  .navbar:hover .logo-text
  {
    left: 0px;
  }
}

.theme-icon {
  display: none;
}

/* ---------------------- Page for each area----------------------  */

.body-bairro {
  color: black;
  background-color: #f2f2f2;
  padding: 0;
}

.grid-ordempagina {
  position: absolute;
	top: 40px;
  left: 50%;
  transform: translate(-50%, 0);
  
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 3fr;
  grid-gap: 10px;
  height:100vh;


}

.grid-resumo {
  background-color: #f2f2f2;
  border-radius: 10px;
  padding: 20px;

  grid-row: 1 / span 1;
  grid-column: 1 / span 2;
}

  .grid-resumo-title {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 20px;
  }

  .grid-resumo-list {
    margin: 0;
    padding: 0;
  }

  .grid-resumo-list li {
    list-style-type: disc;
    margin-bottom: 10px;
  }

.grid-escolas {
  grid-row: 2 / span 1;
  grid-column: 1 / span 1;
  padding: 20px;
  z-index: 300000;  
}

.grid-mapa {
  grid-row: 2 / span 1;
  grid-column: 2 / span 1;
}

.box {
  background-color: #ffffff;
  border-radius: 10px;
}

.box-title {
  font-size: 24px;
  margin-top: 0;
  padding:20px; 
  color: #034b6ffa;
}

hr.solid {
  border-top: 1px solid #bbb;
}

.box-list {
  margin-left: 20px;
  padding: 20px;
  display: block;
}

.box-list-li {
  list-style-type: disc;
  margin-bottom: 10px;
}

.containernavbairro {
  position: absolute;
  z-index: 100000;  
  height: 573px;
  width: 0px;
  overflow-x: hidden;
  overflow-y: auto;
  background: rgb(194, 193, 193);
  transition: width 1000ms ease;
  overflow: scroll;
}

.display-escolabairro {
  box-shadow: 0 4px 8px 0 rgb(82 97 115 / 18%), 0 4px 8px 0 rgb(82 97 115 / 18%);
}
.school-box {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 0.6fr 0.6fr 0.6fr;
  margin-bottom: 10px; 

  background-color: #F7F7F7;
  padding-left: 20px;
  border-radius: 10px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

  .school-info {
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    
    grid-row: 1 / span 1;
    grid-column: 1 / span 3;
  }

  .school-name {
    font-size: 24px;
    font-weight: bold;
    color: #034b6ffa;
    margin-bottom: 10px;

  }

  .school-address {
    font-size: 14px;
    color: #555555;
    margin-bottom: 20px;
  }

  .school-field-telefone{
    grid-row: 2 / span 1;
    grid-column: 1 / span 1;
  }

  .school-field-dependencia{
    grid-row: 2 / span 1;
    grid-column: 2 / span 1;
  }

  .school-field-ensino{
    grid-row: 2 / span 1;
    grid-column: 3 / span 1;
  }

  .school-field-alimentacao{
    grid-row: 3 / span 1;
    grid-column: 1 / span 1;
  }

  .school-field-funcionarios{
    grid-row: 3 / span 1;
    grid-column: 2 / span 1;
  }

  .school-field-porte{
    grid-row: 3 / span 1;
    grid-column: 3 / span 1;
  }

  .school-field-infra{
    grid-row: 4 / span 1;
    grid-column: 1 / span 3;
  }

.field-name {
  font-size: 16px;
  font-weight: bold;
  color: #333333;
  margin-right: 10px;
}

.field-value {
  font-size: 16px;
  color: #555555;
}


@media only screen and (max-width: 760px) {
  .grid-ordempagina {
    position: absolute;
    top: 40px;
    left: 0;
    transform: translate(0, 0);
    
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    grid-gap: 10px;
    height:100vh;
  }

  .grid-resumo {
    border-radius: 0px;
    padding: 0px;
    grid-row: 1 / span 1;
    grid-column: 1 / span 1;
  }
  .grid-escolas {
    grid-row: 3 / span 1;
    grid-column: 1 / span 1;
    padding: 0px;
  }
  
  .grid-mapa {
    grid-row: 2 / span 1;
    grid-column: 1 / span 1;
  }  

}

@media only screen and (min-width: 760px) {
  .grid-escolas {  
  max-height: 573px;
  overflow-y: scroll;
  }

  .grid-ordempagina {
  width:1200px;
  }
}

@media only screen and (min-width: 1200px) {
  .grid-escolas {  
  max-height: 573pxx;
  overflow-y: scroll;
  }

  .grid-ordempagina {
  width:1700px;
  }
}


