@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);
#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
  margin: auto;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  text-align: center;
}
#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#cssmenu #menu-button {
  display: none;
}
#cssmenu {
  font-family: Montserrat, sans-serif;
  margin: auto;
}
#cssmenu > ul > li {
    display: inline-block;
    margin: 0 0.5%;
    padding: 10px 25px 10px 10px;
    font-size: 12.5px;
    letter-spacing: 0.5px;
    text-decoration: none;
    color: #494949;
    font-weight: 400;
    text-transform: uppercase;
    cursor: default;
}

#cssmenu > ul > li:active {
    /* background: #234293; */
}
#cssmenu.align-center > ul {
  font-size: 0;
  text-align: center;
}
#cssmenu.align-center > ul > li {
  display: inline-block;
  float: none;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu.align-right > ul > li {
  float: right;
}


#cssmenu > ul > li:hover > a {
}
#cssmenu > ul > li.has-sub > a {
  padding-right: 30px;
}
#cssmenu > ul > li.has-sub > a:after {
  position: absolute;
  top: 22px;
  right: 11px;
  width: 8px;
  height: 2px;
  display: block;
  background: #dddddd;
  content: '';
}
#cssmenu > ul > li.has-sub > a:before {
  position: absolute;
  top: 19px;
  right: 14px;
  display: block;
  width: 2px;
  height: 8px;
  background: #dddddd;
  content: '';
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}
#cssmenu > ul > li.has-sub:hover > a:before {
  top: 23px;
  height: 0;
}
#cssmenu ul ul {
  position: absolute;
  left: -9999px;
  transition: 2s;
  margin-top: 3%;
  text-align: left;
  margin-left: 0;
  max-height: 90vh;            /* não ultrapassa 90% da altura da tela */
  overflow-y: auto;            /* ativa scroll vertical interno */
  overscroll-behavior: contain;/* evita “vazar” o scroll para o body */
}

/* Safari e Chrome */
#cssmenu ul ul::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Firefox */
#cssmenu ul ul {
  scrollbar-width: none;        /* esconde em Firefox */
  -ms-overflow-style: none;     /* esconde em IE 10+ e Edge */
}

#cssmenu.align-right ul ul {
  text-align: right;
}
#cssmenu ul ul li {
  height: 0;
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .50s ease;
  text-align: left;
}
#cssmenu li:hover > ul {
  left: auto;
  box-shadow: 0 1px 3px rgb(0 0 0 / 70%);
}
#cssmenu.align-right li:hover > ul {
  left: auto;
  right: 0;
}
#cssmenu li:hover > ul > li {
  height: 33px;
}
#cssmenu ul ul ul {
  margin-left: 100%;
  top: 0;
}
#cssmenu.align-right ul ul ul {
  margin-left: 0;
  margin-right: 100%;
}
#cssmenu ul ul li a {
  border-top: 1px solid rgb(20 72 16 / 24%);
  padding: 11px 15px;
  width: 225px;
  font-size: 0.65rem;
  text-decoration: none;
  color: #ffffff;
  font-weight: 400;
  background: #1a3068;
  text-align: left;
}

#cssmenu ul ul li a:link {
    color: #ffffff;
}
#cssmenu ul ul li a:visited {
    color: #ffffff;
}
#cssmenu ul ul li a:hover {
    color: #ffffff;
}
#cssmenu ul ul li a:active {
    color: #ffffff;
}




#cssmenu ul ul li:last-child > a,
#cssmenu ul ul li.last-item > a {
  border-bottom: 0;
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li a:hover {
  color: #ffffff;
}
#cssmenu ul ul li.has-sub > a:after {
  position: absolute;
  top: 16px;
  right: 11px;
  width: 8px;
  height: 2px;
  display: block;
  background: #dddddd;
  content: '';
}
#cssmenu.align-right ul ul li.has-sub > a:after {
  right: auto;
  left: 11px;
}
#cssmenu ul ul li.has-sub > a:before {
  position: absolute;
  top: 13px;
  right: 14px;
  display: block;
  width: 2px;
  height: 8px;
  background: #dddddd;
  content: '';
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}
#cssmenu.align-right ul ul li.has-sub > a:before {
  right: auto;
  left: 14px;
}
#cssmenu ul ul > li.has-sub:hover > a:before {
  top: 17px;
  height: 0;
}

#cssmenu ul ul li a:hover{
   background: #112353;
}

.container_menu {width: 100%;}

/*Back Top*/

#button3 {
  display: inline-block;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  margin-left: 5%;
}


#button3::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #22263d;
  text-shadow: 0px 2px 3px rgb(0 0 0 / 48%);
}
#button3:hover {
  cursor: pointer;}
  
 
text-decoration: none;}
#button3:active {
  /* background-color: #555; */
}
#button3.show {
  opacity: 1;
  visibility: visible;
  position: fixed;
  bottom: 3%;
  z-index: 9;
  }

#button3.show:hover {color: #ffffff00;}

.tit_dropdown {color: #fff200;text-decoration: none;}
.tit_dropdown:hover {color: #fff200;}
.tit_dropdown:active {color: #fff200;}
.tit_dropdown:focus {color: #fff200;text-decoration: none;}

.sub_dropdown {color: #ffffff;text-decoration: none;}
.sub_dropdown:hover {color: #ffffff;}
.sub_dropdown:active {color: #ffffff;}
.sub_dropdown:focus {color: #ffffff;text-decoration: none;}

.sub_dropdown a {color: #ffffff;text-decoration: none;}





@media only screen and (max-width:1024px){
  #cssmenu > ul > li > a {
    padding: 10px 10px;
    font-size: 0.8rem;
    letter-spacing: -0.02rem;
    }
  
  .espacomenu {display: none!important;}
}

@media only screen and (max-width:450px){
  
#button3::after {
    font-size: 1.3em;}
  
  #button3 {right: 44%;}
}
