:root{
  --color-strong-grey: #171717;
  --color-light-grey: #5F5F5F;
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  height: 100vh;
  width: 100%;
  font-family: 'Arial', sans-serif;
}

article {
    flex: 1;
}

/***************
BARRA BRASIL
***************/

#barra-brasil{
  background-color: var(--color-light-grey)!important;
  padding-bottom: 3px;
}

/****************
Comuns
*****************/
.body-container{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 1350px;
  margin: 0 auto;
  /*border: red solid 1px;*/
}

.table-container{
  padding: 5px;
}


/*****************
HEADER
*****************/
header .barra-brasil-container{
  background-color: var(--color-light-grey);
}

header .header-content{
  background: rgb(23,23,23);
  background: linear-gradient(153deg, rgba(23,23,23,1) 0%, rgba(95,95,95,1) 100%);
  width: 100%;
}
header .header-content .container{
  display: flex;
  padding: 10px 0;
  justify-content: space-around;
  align-items: center;
}

header .container .image-header{
  display: flex;
  justify-content: center;
  align-items: center;
  
  
}
header .image-header img{
  width : 120px;
}

header .text-header{
  color: white;
  text-align: center;
  display: flex;
  
  padding: 0 10px;
}

header .text-header h1{
  font-size: 35px;
  padding-bottom: 8px;
}

header .text-header h2{
  font-size: 30px;
  padding-bottom: 8px;
}

/*****************
HEADER NAV
*****************/
header .nav-container{
  background-color: var(--color-light-grey);
}

header nav ul {
  list-style: none;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 50px;
  background-color: var(--color-light-grey);
  box-shadow: 0 0 10px var(--color-light-grey);
  padding: 0 20px;
  font-weight: bold;
}


header .menu {
  display: flex;
}

header .menu > li {
  position: relative;
}

header .menu > li a {
  padding: 17px;
  color: white;
  font-size: 14px;
  text-decoration: none;
  display: block;
}

header .menu > li:hover {
  background: var(--color-strong-grey);
}

header .menu > li:hover > .submenu,
  .submenu > li:hover > .submenu {
  display: block;
}


header .submenu {
  display: none;
  position: absolute;
  top: 50px;
  left: 0;
  background: var(--color-strong-grey);
  min-width: 110%;
}

header .submenu li:hover {
  background: var(--color-light-grey);
}

header .submenu li {
  position: relative;
}

header .submenu li .submenu {
  top: 0;
  left: 100%;
}

header .nav-class button.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  margin-left: auto;
}

/**************
FOOTER
**************/
footer{
  background: rgb(23,23,23);
  background: linear-gradient(153deg, rgba(23,23,23,1) 0%, rgba(95,95,95,1) 100%);
  box-shadow: 10px 0 0px var(--color-light-grey);
  color: white;
}

footer .footer-content{
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
  text-align: center;
}

footer .footer-content h2{
  font-size: 20px;
  font-weight: bolder;
  padding-top: 0px;
  margin-top: 0px;
}
footer .footer-content h3{
  font-size: 15px;
  font-weight: lighter;
}

footer .logo_ufop-footer img{
  height : 150px;
}

footer .footer-loc-img{
  width: 25px;
  padding: 0px;
  margin: 0px;
}

footer .footer-tel-img{
  width: 30px;
}

/*********************
ARTICLE
*********************/
body article h2{
  font-size: 25px;
  padding: 30px;
}

body article h3{
  font-size: 20px;
  padding: 20px 30px 5px 30px;
}

body article p{
  font-size: 17px;
  text-align: justify;
  padding: 5px 30px;
}

body article ul{
  text-align: justify;
  
  padding: 5px 30px 15px 50px;
}



body article .into-container{
  width: 90%;
  margin: 0 auto;
  /*border: greenyellow solid 1px;*/
  display: block;
}

body article .img-organograma{
  padding: 0 15%
}


body article table{
  border-collapse: collapse;
  border: black solid 1px;
  font-size: 17px;
}

body article table caption{
  display: none;
}

body article table th,
body article table td{
  padding: 5px, 30px;
  border: black solid 1px
}

body article table tr{
  border: black solid 1px;
}



body article table th{
  background: hsl(0 0% 0% /0.3);
}


body article table tr:nth-of-type(2n){
  background: hsl(0 0% 0% /0.1);
}


body article table td .table-container a{
  text-decoration: none;
  color: black;
}

body article ul li{
  padding-bottom: 8px;
}







/*************************
Responsividade
**************************/


@media (max-width: 1349px) {
  .container{
    width: 1150px;
    /*border: blue solid 1px;*/
  }
}

@media (max-width: 1149px) {
  .container{
    width: 1024px;
    /*border: pink solid 1px;*/
  }
}



@media (max-width: 1023px){
  .container{
    width: 768px;
    /*border: green solid 1px;*/
  }

  header .image-header img{
    width : 100px;
  }

  header .text-header h1{
    font-size: 30px;
    padding-bottom: 8px;
  }
  
  header .text-header h2{
    font-size: 25px;
    padding-bottom: 8px;
  }
  article .img-organograma{
    width: 100%;
  }
  article table th,
  article table td{
    font-size: 12px;
  }
}

@media (max-width: 767px){
  .container{
    width: 514px;
  }

  header .menu{
    display: none;
    flex-direction: column;
    background: #333;
    position: absolute;
    top: 205px;
    left: 0;
    width: 100%;
    padding: 10px 0px;
  }
  header .menu.active{
    display: flex;
  }

  header .submenu {
    position: static;
    background: none;
    display: none;
  }

  header .submenu a::before{
    content: '\2022     ';
    font-size: 16px;
  }

  header .submenu .submenu a::before{
    content: '\2022     ';
    font-size: 12px;
  }

  header .nav-class button.menu-toggle {
    display: block;
  }

  header .image-header img{
    width : 80px;
  }

  header .text-header h1{
    font-size: 20px;
    padding-bottom: 8px;
  }
  
  header .text-header h2{
    font-size: 15px;
    padding-bottom: 8px;
  }

  footer .footer-content h2{
    font-size: 15px;
    font-weight: bolder;
  }
  footer .footer-content h3{
    font-size: 10px;
    font-weight: lighter;
  }
  
  footer .logo_ufop-footer img{
    height : 100px;
    padding-left: 10px;
  }

  footer .footer-loc-img{
    width: 15px;
  }

  footer .footer-tel-img{
    width: 20px;
  }

  article table th{
    display: none;
  }

  article table td,
  article table td::before{
    padding: 5px 10px;
    font-size: 15px;
  }

  body article table td{
    border: 0;
    display: grid;
    grid-template-columns: 20ch auto;
  }

  article table td::before{
    font-weight: bold;
  }

  article table td:first-child {
    padding-top: 10px;
  }

  article table td:last-child {
    padding-bottom: 10px;
  }

 

  article table td:nth-of-type(1)::before{
    content: "Servidor(a): ";
  }
  article table td:nth-of-type(2)::before{
    content: "Cargo/Função: ";
  }
  article table td:nth-of-type(3)::before{
    content: "E-mail: ";
  }
  article table td:nth-of-type(4)::before{
    content: "Telefone(s): ";
  }
  article table td:nth-of-type(5)::before{
    content: "Regime de trabalho: ";
  }

  body article .img-organograma{
    padding: 0 1%
  }
 

}

@media (max-width: 513px){
  .container{
    width: 405px;
  }
  article table td::before,
  article table td{
    font-size: 12px;
  }
}

@media (max-width: 404px){
  .container{
    width: 320px;
  }

  header .image-header img{
    width : 80px;
  }

  header .text-header h1{
    font-size: 15px;
    padding-bottom: 8px;
  }
  
  header .text-header h2{
    font-size: 10px;
    padding-bottom: 8px;
  }

  body article table td{
    display: block;
  }
  body article table td::before{
    padding: 0;
  }
}


