/* **** WEBDTI - MENUS1.CSS ***** */

html, body {
    height: 100%;
    font-family: 'Dosis', sans-serif;
    margin: 0;
}
header {
    color: white;
}
.t1 {
    font-size: 1em;
    color: whitesmoke;
    padding-left: 5vw;  
}
/* MENU CURTO (Vestibular...). */

.header #links {                   
    background-color: #990000;
    height: 40px; 
}
.header .row_links {
    display: flex;
    justify-content: center;
    flex-direction: row; 
    align-items: flex-start;
    padding-top: 5px;
    margin: 0 auto; 
}
.header .row_links li { 
    padding: 0 3%;
    border-left: solid 1px #222;
}
.header .row_links li:last-child { 
    border-right: solid 1px #222;
}
.header .row_links li a { 
    display: block;
    font-size: 15px; 
    color: var(--cinza-clarinho);
    font-family: robotoitalic;
    text-decoration: none; 
    text-transform: none;
    
}
.header .row_links li:hover a,
.header .row_links li:focus a,
.header .row_links li:active a {           
   color: #fff; 
   /* padding-bottom: 2px; */   
   border-bottom: 1.5px solid #990000;
   /* height: 22px; */
}
.header .row_links li.webmail:hover a,
.header .row_links li.webmail:focus a,
.header .row_links li.webmail:active a {           
   border-bottom: 1.5px solid transparent;
}
.row_links li.webmail ul#submenu_webmail {
    background-color: #990000; 
    position: absolute;
    z-index: 5;
    display: none; 
    padding-top: 0;
    padding-bottom: 5px;
    padding-left: 7px;
    padding-right: 7px;
    width: auto;
}
.row_links li.webmail {
    border-bottom: 1px solid transparent; 
}
li.webmail:hover ul#submenu_webmail, 
li.webmail:focus ul#submenu_webmail,
li.webmail:active ul#submenu_webmail {
    display: block; 
    cursor: pointer;
    position: absolute;
    margin-left: -12px;
    z-index: 6;
}
li.webmail ul#submenu_webmail li {
    border: none;
}
li.webmail ul#submenu_webmail li a {
    display: block;
    padding-right: 10px;
    border-bottom: 1.5px solid transparent;
    text-transform: none;
    text-decoration: none;
    font-size: .9rem;
}
li.webmail ul#submenu_webmail li:hover a, 
li.webmail ul#submenu_webmail li:focus a,
li.webmail ul#submenu_webmail li:active a {
    color: #fcc;
}
li#lupa a {
    display: block;
    height: 30px;
}
li#lupa a img {
    height: 100%; 
    padding-top: 0;
}
li#lupa:hover a {
    border-bottom: 1.5px solid transparent;
}
/* **** MENU PRINCIPAL **** */

#sticky {  
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  width: 100%;
}
.navbar {  
  background-color: #990000; 
  display: flex;
  flex-wrap: wrap;     
  justify-content: center;
  box-sizing: border-box;
  /* height: 75px; 
     padding-top: 5px; 
  */
  
  /* padding-bottom: 5px; */
  /* margin-bottom: 10px; */
  height: 30px;
    padding-top: 5px;
}
.navbar a {
  font-size: 16px;
  color: #f3f3f3;
  padding: 4px 15px;    
  text-decoration: none;  
}
.subnav {
  box-sizing: border-box;
  height: 90px;
  cursor: pointer;
}
.subnav > .subnavbtn {
  /* height: 50%; */
  display: block;
  font-size: 15px; 
  border: none;
  outline: none;
  color: #f3f3f3;
  background-color: #990000; 
  font-family: robotoitalic; 
}
.navbar #home_icon a {
    display: block;
    width: 29px;
    margin: auto;
    border: none; 
    outline: none;
  /*  padding-top: 10px;
    height: 32px; */
}
.navbar #home_icon a button {
    background-color: transparent; 
    border: none; 
    outline: none;
    position: absolute;
    margin-top: -7px;
}
.navbar a:hover, .subnav:hover .subnavbtn,
.navbar a:focus, .subnav:focus .subnavbtn,
.navbar a:active, .subnav:active .subnavbtn {
    color: #fff;
    background-color: #cc0000;
    margin-bottom: 3px;    
}
.navbar #home_icon a:hover, #home_icon:hover .subnavbtn,
.navbar #home_icon a:focus, #home_icon:focus .subnavbtn,
.navbar #home_icon a:active, #home_icon:active .subnavbtn {
    background-color: transparent;
    padding-top: 7px;
}
.navbar a:hover, .subnav:hover .subnavbtn  {
    border: none; 
    cursor: pointer; 
}
.navbar #home_icon a button:hover, 
.navbar #home_icon a button:focus, 
.navbar #home_icon a button:active {
    cursor: pointer;
}
.subnav .subnav-content { 
    box-sizing: border-box;    
    display: none; 
    position: absolute; 
    left: 0; 
    width: 100%;
    z-index: 1;
    text-align: center;
    font-size: 9.9px; 
}
.subnav-content div {
    background-color: #fafafa;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 40px;    
    width: 100%; 
}
.subnav-content a {
    flex-basis: auto;  
    text-transform: none;
    color: #555;
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box; 
    border-bottom: 1.2px solid transparent;
}
.subnav .subnav-content a:hover,
.subnav .subnav-content a:focus,
.subnav .subnav-content a:active {
    background-color: transparent;
    color: #990000;
    padding-top: 4px;
}
.subnav:hover .subnav-content, 
.subnav:active .subnav-content, 
.subnav:focus .subnav-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
/* LINKS RODAPÃ‰ */

footer .menu_footer {
    box-sizing: border-box;    
    background-color: #777; 
    width: 100%;
    text-align: center;
}
footer .menu_footer div {
    padding: 0 5%;
    background-color: var(--vermelho-escuro);
}
footer .menu_footer a {
    display: inline-block;
    padding-left: 2%;
    padding-right: 2%;
    font-weight: 900; 
    height: 100%;
    background-color: #aa0000; 
}
footer .menu_footer a:hover,
footer .menu_footer a:active,
footer .menu_footer a:focus {
    font-weight: 700;
    background-color: #cc0000; 
}
footer p {
    padding: 20px 0;
}
footer p a {
    color:#fff; font-size: 1rem; 
    font-weight: bold;
}

/* ********** RESPONSIVO ********* */
/*
@media screen and (max-width: 450px){
    .subnav > .subnavbtn {
        font-size: 10.5px;
    } 
}
*/
@media screen and (min-width: 450px){
    .header #links ul {                   
        width: 75%;
    }  
}
@media screen and (min-width: 490px){
    .header #links ul {                   
        width: 74%;
    }   
}
@media screen and (min-width: 650px){
    .navbar  { 
        background-color: #f1f3f4; 
       
        height: 75%; 
        padding-top: 6px;
    }   
    .subnav > .subnavbtn {
       border-radius: 50%; 
       height: 75px;
       width: 75px; 
       margin: 7px; 
    } 
    .navbar #home_icon a, 
    .navbar #home_icon a:hover, .navbar #home_icon a:active, .navbar #home_icon a:focus {
        width: 36px;
        text-align: center;
        margin: 7px;
        padding: 21px;
        padding-top: 25px;
        padding-bottom: 20px;
        border-radius: 50%; 
        background-color: #990000;
    }  
    .navbar #home_icon a:hover, .navbar #home_icon a:active, .navbar #home_icon a:focus {
        background-color: #cc0000; 
    }
    .navbar #home_icon:hover img, .navbar #home_icon:active img, .navbar #home_icon:focus img {
        margin-top: -3px; 
    } 
    .navbar #home_icon a button {
    background-color: transparent;
    border: none;
    outline: none;
    position: static;
    margin-top: 0px;
}
}
@media screen and (min-width: 700px){
    .header #links ul {
        width: 60%;
        max-width: 700px; 
    }
    /*
    .row_links li.webmail ul#submenu_webmail {
        width: auto;
    }
    */
}
@media screen and (min-width: 768px){
    .subnav:hover .subnav-content,
    .subnav:focus .subnav-content,
    .subnav:active .subnav-content {       
       background-color: #fff; 
    }
}
@media screen and (min-width: 800px){ 
    li.webmail:hover ul#submenu_webmail, 
    li.webmail:focus ul#submenu_webmail,
    li.webmail:active ul#submenu_webmail {
        margin-left: -15px;
    }
}
@media screen and (min-width: 1000px){
    .t1 {
       font-size: 1em;
       padding-left: 0;  
    }   
}
@media screen and (min-width: 1100px){ 
    li.webmail:hover ul#submenu_webmail, 
    li.webmail:focus ul#submenu_webmail,
    li.webmail:active ul#submenu_webmail {
        margin-left: -20px;
    }
}
@media screen and (min-width: 1600px){
    .header .row_links {           
       max-width: 700px; 
    }
}