@media (min-width: 765px) {
  #cssmenu {
    display: none;
  }
  .sidebar-navigation {
    z-index: 10;
    background: linear-gradient(200deg, #006687 0%, #00394d 100%);
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    margin-top: 53px;
    display: inline-block;
    min-height: 100vh;
    width: 80px;
    background-color: #00394d;
    float: left;
    position: fixed;
  }
  .sidebar-navigation .titulo-menu {
    font-size: 10px;
    padding: 10px;
    margin: 10px;
  }
  .sidebar-navigation ul {
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
  }
  .sidebar-navigation ul li {
    padding: 28px 0;
    cursor: pointer;
    transition: all ease-out 120ms;
  }
  .sidebar-navigation ul li i,
  .sidebar-navigation .dropdown-toggle,
  .sidebar-navigation .dropdown-toggle .titulo-menu {
    color: rgba(255, 255, 255, 0.95);
  }
  .sidebar-navigation ul li .tooltip {
    display: inline-block;
    position: absolute;
    background: linear-gradient(135deg, #006687 0%, #00394d 100%);
    background-color: #00394d;
    color: #fff;
    padding: 8px 15px;
    border-radius: 3px;
    margin-top: -26px;
    left: 90px;
    opacity: 0;
    visibility: hidden;
    font-size: 13px;
    letter-spacing: 0.5px;
  }
  .sidebar-navigation ul li .tooltip:before {
    content: "";
    display: block;
    position: absolute;
    left: -4px;
    top: 10px;
    transform: rotate(45deg);
    width: 10px;
    height: 10px;
    background-color: inherit;
  }
  .sidebar-navigation ul li:hover,
  .sidebar-navigation ul li:hover i,
  .sidebar-navigation ul li:hover .dropdown-toggle {
    color: #5eb8d6;
  }
  .sidebar-navigation ul li:hover .tooltip {
    visibility: visible;
    opacity: 1;
  }
  .sidebar-navigation ul li.active i {
    color: #5eb8d6;
  }
  .sidebar-navigation .dropdown {
    background-color: transparent;
  }
  .sidebar-navigation .dropdown-menu-lateral,
  .sidebar-navigation .dropdown-menu-lateral.forAnimate {
    z-index: 1000;
    left: 80px;
    top: -5px;
    background-color: #fff;
    background: #fff;
  }
  .sidebar-navigation .dropdown-menu-lateral li a {
    color: #333;
  }
  .sidebar-navigation .dropdown-menu-lateral li a:hover {
    color: #000;
    background-color: #f5f5f5;
  }
  .sidebar-navigation .dropdown-menu-lateral li {
    margin: 0;
    padding: 0;
    font-size: 13px;
    text-align: left;
    border: none;
  }
  .sidebar-navigation .arrow {
    position: absolute;
    font-size: 0;
    line-height: 0;
    width: 0;
    height: 0;
    z-index: 1000;
    border: solid transparent;
  }
  .sidebar-navigation .arrow-right {
    border-width: 14px;
    border-left-color: #002733;
    border-right-width: 0;
    left: -16px;
    top: 35px;
  }
  .sidebar-navigation .dropdown:hover > ul {
    display: block;
  }
  .hover-topo:hover > ul {
    display: block;
  }
  .hover-topo .dropdown-menu {
    right: -4px;
  }

  /* Cores do menu lateral conforme configuração do sistema */
  .tema-cor-1 .sidebar-navigation {
    background: linear-gradient(200deg, #c96b1a, #b85c0f);
    background-color: #b85c0f;
  }
  .tema-cor-1 .sidebar-navigation .dropdown {
    background-color: transparent;
  }
  .tema-cor-1 .sidebar-navigation ul li,
  .tema-cor-1 .sidebar-navigation ul li i,
  .tema-cor-1 .sidebar-navigation .dropdown-toggle,
  .tema-cor-1 .sidebar-navigation .dropdown-toggle .titulo-menu {
    color: rgba(255, 255, 255, 0.95);
  }
  .tema-cor-1 .sidebar-navigation ul li .tooltip {
    background-color: #b85c0f;
    color: #fff;
  }
  .tema-cor-1 .sidebar-navigation ul li:hover,
  .tema-cor-1 .sidebar-navigation ul li:hover i,
  .tema-cor-1 .sidebar-navigation ul li:hover .dropdown-toggle,
  .tema-cor-1 .sidebar-navigation ul li.active i {
    color: #ffd699;
  }
  .tema-cor-1 .sidebar-navigation .dropdown-menu-lateral,
  .tema-cor-1 .sidebar-navigation .dropdown-menu-lateral.forAnimate {
    background-color: #fff;
    background: #fff;
  }
  .tema-cor-1 .sidebar-navigation .dropdown-menu-lateral li a {
    color: #333;
  }
  .tema-cor-1 .sidebar-navigation .dropdown-menu-lateral li a:hover {
    color: #000;
    background-color: #f5f5f5;
  }
  .tema-cor-1 .sidebar-navigation .arrow-right {
    border-left-color: #8b4510;
  }

  .tema-cor-2 .sidebar-navigation {
    background: linear-gradient(200deg, #1e8449, #197340);
    background-color: #197340;
  }
  .tema-cor-2 .sidebar-navigation .dropdown {
    background-color: transparent;
  }
  .tema-cor-2 .sidebar-navigation ul li,
  .tema-cor-2 .sidebar-navigation ul li i,
  .tema-cor-2 .sidebar-navigation .dropdown-toggle,
  .tema-cor-2 .sidebar-navigation .dropdown-toggle .titulo-menu {
    color: rgba(255, 255, 255, 0.95);
  }
  .tema-cor-2 .sidebar-navigation ul li .tooltip {
    background-color: #197340;
    color: #fff;
  }
  .tema-cor-2 .sidebar-navigation ul li:hover,
  .tema-cor-2 .sidebar-navigation ul li:hover i,
  .tema-cor-2 .sidebar-navigation ul li:hover .dropdown-toggle,
  .tema-cor-2 .sidebar-navigation ul li.active i {
    color: #a9dfbf;
  }
  .tema-cor-2 .sidebar-navigation .dropdown-menu-lateral,
  .tema-cor-2 .sidebar-navigation .dropdown-menu-lateral.forAnimate {
    background-color: #fff;
    background: #fff;
  }
  .tema-cor-2 .sidebar-navigation .dropdown-menu-lateral li a {
    color: #333;
  }
  .tema-cor-2 .sidebar-navigation .dropdown-menu-lateral li a:hover {
    color: #000;
    background-color: #f5f5f5;
  }
  .tema-cor-2 .sidebar-navigation .arrow-right {
    border-left-color: #145a32;
  }

  .tema-cor-3 .sidebar-navigation {
    background: linear-gradient(200deg, #7d3c98, #6c2d82);
    background-color: #6c2d82;
  }
  .tema-cor-3 .sidebar-navigation .dropdown {
    background-color: transparent;
  }
  .tema-cor-3 .sidebar-navigation ul li,
  .tema-cor-3 .sidebar-navigation ul li i,
  .tema-cor-3 .sidebar-navigation .dropdown-toggle,
  .tema-cor-3 .sidebar-navigation .dropdown-toggle .titulo-menu {
    color: rgba(255, 255, 255, 0.95);
  }
  .tema-cor-3 .sidebar-navigation ul li .tooltip {
    background-color: #6c2d82;
    color: #fff;
  }
  .tema-cor-3 .sidebar-navigation ul li:hover,
  .tema-cor-3 .sidebar-navigation ul li:hover i,
  .tema-cor-3 .sidebar-navigation ul li:hover .dropdown-toggle,
  .tema-cor-3 .sidebar-navigation ul li.active i {
    color: #d7bde2;
  }
  .tema-cor-3 .sidebar-navigation .dropdown-menu-lateral,
  .tema-cor-3 .sidebar-navigation .dropdown-menu-lateral.forAnimate {
    background-color: #fff;
    background: #fff;
  }
  .tema-cor-3 .sidebar-navigation .dropdown-menu-lateral li a {
    color: #333;
  }
  .tema-cor-3 .sidebar-navigation .dropdown-menu-lateral li a:hover {
    color: #000;
    background-color: #f5f5f5;
  }
  .tema-cor-3 .sidebar-navigation .arrow-right {
    border-left-color: #4a235a;
  }
}
@media (max-width: 765px) {
  body.menu-mobile-open {
    overflow: hidden;
    height: 100%;
  }
  .sidebar-navigation {
    display: none;
  }
  #cssmenu {
    background: linear-gradient(200deg, #006687 0%, #00394d 100%);
    background-color: #00394d;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    min-height: 60px;
  }
  #cssmenu:has(> ul.open) {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-height: 100vh;
    height: 100vh;
    z-index: 9999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #cssmenu #menu-button {
    color: rgba(255, 255, 255, 0.95);
  }
  #cssmenu > ul > li > a {
    color: rgba(255, 255, 255, 0.95);
  }
  #cssmenu > ul > li:hover > a {
    color: #5eb8d6;
  }
  #cssmenu ul ul li {
    background-color: rgba(255, 255, 255, 0.12);
  }
  #cssmenu ul ul li a {
    color: #333;
    background: #fff;
  }
  #cssmenu ul ul li a:hover,
  #cssmenu ul ul li:hover > a {
    color: #000;
    background-color: #f0f0f0;
  }
  #cssmenu .submenu-button.submenu-opened {
    background: rgba(0, 0, 0, 0.2);
  }
  #cssmenu,
  #cssmenu #menu-button,
  #cssmenu ul,
  #cssmenu ul li,
  #cssmenu ul li a {
    margin: 0;
    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;
  }
  #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;
  }
  #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 > ul > li > a {
    padding: 20px 24px;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.4;
    min-height: 52px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
  }
  #cssmenu > ul > li:hover > a {
    color: #5eb8d6;
  }
  #cssmenu > ul > li.has-sub > a {
    padding-right: 44px;
  }
  #cssmenu > ul > li.has-sub > a:after {
    position: absolute;
    top: 50%;
    margin-top: -1px;
    right: 20px;
    width: 8px;
    height: 2px;
    display: block;
    background: rgba(255, 255, 255, 0.8);
    content: "";
  }
  #cssmenu > ul > li.has-sub > a:before {
    position: absolute;
    top: 50%;
    margin-top: -4px;
    right: 23px;
    display: block;
    width: 2px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    content: "";
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    -ms-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
  }
  #cssmenu > ul > li.has-sub:hover > a:before {
    margin-top: -6px;
    top: 50%;
    height: 0;
  }
  #cssmenu ul ul {
    position: absolute;
    left: -9999px;
  }
  #cssmenu.align-right ul ul {
    text-align: right;
  }
  #cssmenu ul ul li {
    height: 0;
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    -ms-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
  }
  #cssmenu li:hover > ul {
    left: auto;
  }
  #cssmenu.align-right li:hover > ul {
    left: auto;
    right: 0;
  }
  #cssmenu li:hover > ul > li {
    height: 35px;
  }
  #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-bottom: 1px solid rgba(150, 150, 150, 0.15);
    padding: 16px 20px;
    width: 170px;
    font-size: 15px;
    text-decoration: none;
    color: #333;
    font-weight: 400;
    background: #fff;
    line-height: 1.4;
    min-height: 52px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
  }
  #cssmenu ul ul li.last-item > a,
  #cssmenu ul ul li:last-child > a {
    border-bottom: 0;
  }
  #cssmenu ul ul li a:hover,
  #cssmenu ul ul li:hover > a {
    color: #000;
    background-color: #f0f0f0;
  }
  #cssmenu ul ul li.has-sub > a:after {
    position: absolute;
    top: 16px;
    right: 11px;
    width: 8px;
    height: 2px;
    display: block;
    background: #666;
    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: #666;
    content: "";
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    -ms-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.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;
  }
  @media all and (max-width: 765px),
    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) {
    #cssmenu {
      width: 100%;
      position: fixed !important;
      z-index: 10;
      top: 0;
    }
    #cssmenu ul {
      width: 100%;
      display: none;
    }
    #cssmenu.align-center > ul {
      text-align: left;
    }
    #cssmenu ul li {
      width: 100%;
      border-top: 1px solid rgba(255, 255, 255, 0.15);
    }
    #cssmenu > ul > li {
      margin-bottom: 6px;
    }
    #cssmenu > ul > li:last-child {
      margin-bottom: 0;
    }
    #cssmenu ul ul li {
      margin-bottom: 4px;
    }
    #cssmenu ul ul li:last-child {
      margin-bottom: 0;
    }
    #cssmenu li:hover > ul > li,
    #cssmenu ul ul li {
      min-height: 56px;
      height: auto;
      background-color: #fff;
    }
    #cssmenu ul li a,
    #cssmenu ul ul li a {
      width: 100%;
      border-bottom: 0;
    }
    #cssmenu > ul > li {
      float: none;
    }
    #cssmenu > ul > li > a {
      padding: 20px 24px;
      font-size: 16px;
      min-height: 56px;
      display: flex;
      align-items: center;
    }
    #cssmenu > ul > li.has-sub > a {
      padding-left: 24px;
    }
    #cssmenu > ul > li > a i {
      font-size: 20px;
      width: 28px;
      margin-right: 12px;
      text-align: center;
      flex-shrink: 0;
    }
    #cssmenu ul ul li {
      border-bottom: 1px solid #e8e8e8;
    }
    #cssmenu ul ul li:last-child {
      border-bottom: none;
    }
    #cssmenu ul ul li a {
      padding: 18px 24px 18px 32px;
      font-size: 16px;
      min-height: 56px;
      display: flex;
      align-items: center;
    }
    #cssmenu ul ul ul li a {
      padding-left: 44px;
    }
    #cssmenu ul ul li a {
      color: #333;
      background: #fff;
      position: relative;
      z-index: 2;
      cursor: pointer;
      -webkit-tap-highlight-color: rgba(0, 0, 0, 0.05);
    }
    #cssmenu ul ul li.active > a,
    #cssmenu ul ul li:hover > a {
      color: #000;
      background-color: #f0f0f0;
    }
    #cssmenu ul ul,
    #cssmenu ul ul ul,
    #cssmenu.align-right ul ul {
      position: relative;
      left: 0;
      width: 100%;
      margin: 0;
      text-align: left;
    }
    #cssmenu ul ul > li.has-sub > a:after,
    #cssmenu ul ul > li.has-sub > a:before,
    #cssmenu > ul > li.has-sub > a:after,
    #cssmenu > ul > li.has-sub > a:before {
      display: none;
    }
    #cssmenu #menu-button {
      display: block;
      padding: 22px 24px;
      min-height: 56px;
      box-sizing: border-box;
      color: rgba(255, 255, 255, 0.95);
      cursor: pointer;
      font-size: 16px;
      text-transform: uppercase;
      font-weight: 700;
      line-height: 1.4;
    }
    #cssmenu #menu-button:after {
      position: absolute;
      top: 50%;
      margin-top: -3px;
      right: 24px;
      display: block;
      height: 4px;
      width: 24px;
      border-top: 2px solid rgba(255, 255, 255, 0.9);
      border-bottom: 2px solid rgba(255, 255, 255, 0.9);
      content: "";
    }
    #cssmenu #menu-button:before {
      position: absolute;
      top: 50%;
      margin-top: -1px;
      right: 24px;
      display: block;
      height: 2px;
      width: 24px;
      background: rgba(255, 255, 255, 0.9);
      content: "";
    }
    #cssmenu #menu-button.menu-opened:after {
      top: 50%;
      margin-top: -1px;
      border: 0;
      height: 2px;
      width: 18px;
      background: #fff;
      -webkit-transform: rotate(45deg);
      -moz-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
      -o-transform: rotate(45deg);
      transform: rotate(45deg);
    }
    #cssmenu #menu-button.menu-opened:before {
      top: 50%;
      margin-top: -1px;
      background: #fff;
      width: 18px;
      -webkit-transform: rotate(-45deg);
      -moz-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
      -o-transform: rotate(-45deg);
      transform: rotate(-45deg);
    }
  #cssmenu .submenu-button {
    position: absolute;
    z-index: 99;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 56px;
    height: 56px;
    max-height: 56px;
    display: block;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
    #cssmenu .submenu-button.submenu-opened {
      background: rgba(0, 0, 0, 0.2);
    }
    #cssmenu ul ul .submenu-button {
      min-height: 56px;
      height: 56px;
      max-height: 56px;
      width: 100%;
    }
    #cssmenu .submenu-button:after {
      position: absolute;
      top: 50%;
      margin-top: -1px;
      right: 20px;
      left: auto;
      width: 10px;
      height: 2px;
      display: block;
      background: rgba(255, 255, 255, 0.9);
      content: "";
    }
    #cssmenu ul ul .submenu-button:after {
      top: 50%;
      margin-top: -1px;
      right: 20px;
      left: auto;
    }
    #cssmenu .submenu-button.submenu-opened:after {
      background: #fff;
    }
    #cssmenu .submenu-button:before {
      position: absolute;
      top: 50%;
      margin-top: -4px;
      right: 23px;
      left: auto;
      display: block;
      width: 2px;
      height: 8px;
      background: rgba(255, 255, 255, 0.9);
      content: "";
    }
    #cssmenu ul ul .submenu-button:before {
      top: 50%;
      margin-top: -4px;
      right: 23px;
      left: auto;
    }
    #cssmenu .submenu-button.submenu-opened:before {
      display: none;
    }
  }

  /* Menu mobile: cores dos temas (config do sistema) */
  .tema-cor-1 #cssmenu {
    background: linear-gradient(200deg, #c96b1a 0%, #b85c0f 100%);
    background-color: #b85c0f;
  }
  .tema-cor-1 #cssmenu > ul > li:hover > a {
    color: #ffd699;
  }
  .tema-cor-1 #cssmenu .submenu-button.submenu-opened {
    background: rgba(0, 0, 0, 0.2);
  }

  .tema-cor-2 #cssmenu {
    background: linear-gradient(200deg, #1e8449 0%, #197340 100%);
    background-color: #197340;
  }
  .tema-cor-2 #cssmenu > ul > li:hover > a {
    color: #a9dfbf;
  }
  .tema-cor-2 #cssmenu .submenu-button.submenu-opened {
    background: rgba(0, 0, 0, 0.2);
  }

  .tema-cor-3 #cssmenu {
    background: linear-gradient(200deg, #7d3c98 0%, #6c2d82 100%);
    background-color: #6c2d82;
  }
  .tema-cor-3 #cssmenu > ul > li:hover > a {
    color: #d7bde2;
  }
  .tema-cor-3 #cssmenu .submenu-button.submenu-opened {
    background: rgba(0, 0, 0, 0.2);
  }
}
