header{
  background-color: #ffffff;
}
#marcacao{
  width: 100%;
  padding: 10px 20px;
  position: relative;
  background-color: #ebebeb;
  float: left;
}

#marcacao a{
  color: #444444;
  font-family: 'ubunturegular';
  font-size: 15px;
  margin-right: 50px;
  display: block;
  float: right;
}

#marcacao a:hover{
  color: #ff0000;
}

#logo{
  width: 250px;
  top: 65px;
  left: 100px;
  position: absolute;
  z-index: 10;
}

#logo img{
  width: 100%;
  float: left;
}

#wrap_menu {
  width: 100%;
  float: left;
}

#cssmenu,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#cssmenu > ul{
  padding: 50px 0px 50px 0px;
  margin: 0 70px 0 0;
  display: block;
  float: right;
}
#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#cssmenu #menu-button {
  display: none;
}
#cssmenu {
  width: auto;  
  line-height: 1;
}
#menu-line {
  display: none;
}
#cssmenu > ul > li {
  float: left;
}
#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.align-right ul ul {
  text-align: right;
}
#cssmenu > ul > li > a {
    padding: 11px 20px 8px 20px;
    font-size: 18px;
    font-family: 'ubuntubold';
    text-transform: none;
    text-decoration: none;
    color: #444444;
}

/*text-transform: uppercase;*/


#cssmenu > ul > li:hover > a,
#cssmenu > ul > li.active > a {

}
#cssmenu > ul > li.has-sub > a {
  padding-right: 40px;
}

#bgLogin{
  background-color: #333132;
  color: #ffffff !important;
  border-radius: 30px;
  margin-left: 20px !important;
}

#cssmenu > ul > li > a:hover{
    color: #ff0000;
}

#bgLogin:hover{
    background-color: #ff0000 !important;
}

#cssmenu > ul > li.has-sub > a::after {
  position: absolute;
  top: 10px;
  right: 17px;
  width: 7px;
  height: 8px;
  border-bottom: 3px solid #444444;
  border-right: 3px solid #444444;
  content: "";
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: border-color 0.2s ease;
  -moz-transition: border-color 0.2s ease;
  -ms-transition: border-color 0.2s ease;
  -o-transition: border-color 0.2s ease;
  transition: border-color 0.2s ease;
}
#cssmenu > ul > li.has-sub:hover > a::after {
  border-bottom: 3px solid #ff0000;
  border-right: 3px solid #ff0000;
}
#cssmenu ul ul {
  width: 200px;
  position: absolute;
  left: -9999px;
  padding: 20px 0 0 0;
  z-index: 9999;
}
#cssmenu li:hover > ul {
  left: auto;
}
#cssmenu.align-right li:hover > ul {
  right: 0;
}
#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 {
  float: left;
  -webkit-transition: height .2s ease;
  -moz-transition: height .2s ease;
  -ms-transition: height .2s ease;
  -o-transition: height .2s ease;
  transition: height .2s ease;
}

#cssmenu ul ul li a {
  padding: 20px 10px;
  width: 200px;
  font-size: 15px;
  font-family: 'ubuntumedium';
  background: #333132;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  float: left;
  display: block;
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
}

#cssmenu ul ul li a:hover{
  background-color: #5d575a;
}

#cssmenu ul ul li.has-sub > a::after {
  position: absolute;
  top: 13px;
  right: 10px;
  width: 4px;
  height: 4px;
  border-bottom: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  content: "";
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transition: border-color 0.2s ease;
  -moz-transition: border-color 0.2s ease;
  -ms-transition: border-color 0.2s ease;
  -o-transition: border-color 0.2s ease;
  transition: border-color 0.2s ease;
}
#cssmenu.align-right ul ul li.has-sub > a::after {
  right: auto;
  left: 10px;
  border-bottom: 0;
  border-right: 0;
  border-top: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
}
#cssmenu ul ul li.has-sub:hover > a::after {
  border-color: #ffffff;
}

#divisorSub{
    width: 100%;
    height: 1px;
    background-color: #ff0000;
    float: left;
}

@media screen and (max-width: 1370px){
  #logo{width: 200px; left: 20px;}
  #cssmenu ul{margin: 0 20px 0 0;}
  #marcacao a{margin-right: 0px;}
  #cssmenu > ul > li > a{font-size: 14px;}
  #cssmenu > ul > li.has-sub > a::after{width: 5px; height: 5px; border-bottom: 2px solid #444444; border-right: 2px solid #444444;}
}

@media screen and (max-width: 1024px){
  #cssmenu > ul > li > a{padding: 10px 20px 6px 20px;}
}

@media all and (max-width: 900px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
  #logo{top: 50px;}
  #cssmenu {
    width: 100%;
    float: left;
  }
  #cssmenu ul {
    width: 100%;
    display: none;
    margin: 5px 0 0 0;
    padding: 0;
    border-top: 1px solid #ff0000;
  }

  #divisor_dorwdown{
    background-color:#b7b7b7;
  }

  #cssmenu ul ul{padding: 0;}

  #cssmenu.align-center > ul,
  #cssmenu.align-right ul ul {
    text-align: left;
  }
  #cssmenu ul li,
  #cssmenu ul ul li,
  #cssmenu ul li:hover > ul > li {
    width: 100%;
    height: auto;
  }

  #bgLogin{
    width: 200px !important;
    margin: 20px auto !important;
  }

  #cssmenu ul li ul li{
    width: 100%;
    border-top: 0px;
  }
   #cssmenu ul li ul li:hover{
    width: 100%;
    border-top: 0px;
  }
  #cssmenu ul li a,
  #cssmenu ul ul li a {
    width: 100%;
    padding: 20px 0 17px 0 !important;
    border-bottom: 1px solid #b7b7b7;
  }
  #cssmenu > ul > li,
  #cssmenu.align-center > ul > li,
  #cssmenu.align-right > ul > li {
    float: left;
    display: block;
    text-align: center;
  }
  #cssmenu ul ul li a {
    font-size: 14px;
    color: #333132;
    background: #d6dbd2;
    font-family: 'ubuntulight';
  }

  #cssmenu ul ul ul li a {
    padding-left: 40px;
  }
  #cssmenu ul ul,
  #cssmenu ul ul ul {
    position: relative;
    left: 0;
    right: auto;
    width: 100%;
    margin: 0;
    float: left;
  }
  #cssmenu ul ul{margin-top: -1px !important;}
  #cssmenu > ul > li.has-sub > a::after,
  #cssmenu ul ul li.has-sub > a::after {
    display: none;
  }
  #menu-line {
    display: none;
  }
  #cssmenu #menu-button {
    width: 100px;
    display: block;
    padding: 20px;
    margin: 16px;
    color: #ffffff;
    background-color: #414042;
    cursor: pointer;
    font-size: 13px;
    text-transform: none;
    font-family: 'ubuntumedium';
    float: right;
  }
  #cssmenu #menu-button::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 15px;
    display: block;
    width: 15px;
    height: 2px;
    background: #ff0000;
  }
  #cssmenu #menu-button::before {
    content: '';
    position: absolute;
    top: 25px;
    right: 15px;
    display: block;
    width: 15px;
    height: 3px;
    border-top: 2px solid #ff0000;
    border-bottom: 2px solid #ff0000;
  }
  #cssmenu .submenu-button {
    position: absolute;
    z-index: 10;
    right: 0;
    top: 0;
    display: block;
    border-left: 1px solid #ffffff;
    height: 51px;
    width: 52px;
    background-color: #b7b7b7;
    cursor: pointer;
  }
  #cssmenu .submenu-button::after {
    content: '';
    position: absolute;
    top: 21px;
    left: 26px;
    display: block;
    width: 1px;
    height: 11px;
    background: #414042;
    z-index: 99;
  }
  #cssmenu .submenu-button::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 26px;
    display: block;
    width: 11px;
    height: 1px;
    background: #414042;
    z-index: 99;
  }
  #cssmenu .submenu-button.submenu-opened:after {
    display: none;
  }
  #cssmenu > ul > li > a:hover{
        background-color: #d6dbd2;
    }
}

@media screen and (max-width: 400px){
  #logo{width: 140px; top: 55px;}
}