@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header {
  display: flex;
  flex-direction: row;
  height: 4rem;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
  font-family: "Poppins", sans-serif;
  margin-bottom: 4px;
}
header nav {
  display: none;
}
header .logo {
  display: flex;
  flex-direction: row;
  height: 4rem;
  width: 100%;
}
header .logo img {
  width: 48px;
  height: 48px;
  margin: 8px;
}
header .logo .linkPage {
  color: #838282;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 12px;
}
header .logo .nome {
  margin-left: auto;
  font-size: 1.5rem;
  font-weight: 600;
  color: #838282;
  padding: 12px 12px 0px 0px;
}
header .logo .nome a {
  color: #838282;
}

.container {
  display: flex;
  flex-direction: row;
  flex-flow: row wrap;
  height: 100%;
}
.container .sidebar {
  width: 20rem;
  font-family: "Poppins", sans-serif;
  background: #fff;
  height: 100%;
}
.container .sidebar ul {
  list-style: none;
}
.container .sidebar ul .item-menu {
  margin: 5px;
  flex-direction: column;
  align-items: center;
  height: 50px;
  list-style: none;
}
.container .sidebar ul .item-menu :hover {
  background-color: #F6F5FF;
}
.container .sidebar ul .item-menu a.active {
  color: #fff;
  background-color: #7D89EA;
}
.container .sidebar ul .item-menu a.active :hover {
  background-color: #7D89EA;
}
.container .sidebar ul .item-menu a {
  color: #838282;
  text-decoration: none;
  display: flex;
  border-radius: 6px;
  height: 100%;
  width: 100%;
  align-items: center;
}
.container .sidebar ul .item-menu a i {
  border-radius: 6px;
  min-width: 56px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.container .sidebar ul a .text {
  white-space: nowrap;
  font-size: 20px;
  font-weight: 500;
}
.container .sidebar ul .submenu {
  transition: max-height 0.5s;
  overflow: hidden;
  position: relative;
  max-height: 550px;
}
.container .sidebar ul .submenu .item-submenu {
  margin: 5px 10px 5px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 40px;
  list-style: none;
}
.container .sidebar ul .submenu .item-submenu :hover {
  background-color: #F6F5FF;
}
.container .sidebar ul .submenu .item-submenu a.active {
  color: #fff;
  background-color: #7D89EA;
}
.container .sidebar ul .submenu .item-submenu a.active :hover {
  background-color: #7D89EA;
}
.container .sidebar ul .submenu .item-submenu a {
  color: #838282;
  text-decoration: none;
  display: flex;
  border-radius: 6px;
  height: 100%;
  width: 100%;
  align-items: center;
}
.container .sidebar ul .submenu .item-submenu a i {
  border-radius: 6px;
  min-width: 46px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.container .sidebar ul .submenu .item-submenu a .text {
  white-space: nowrap;
  font-size: 16px;
  font-weight: 400;
}
.container .sidebar ul .submenu.collapse {
  max-height: 0;
}
.container main {
  padding: 1rem;
  width: calc(100% - 20rem);
}

@media (max-width: 1200px) {
  .container .sidebar {
    display: none;
  }
  .container main {
    transition: 0.3s;
    width: 100%;
  }
  header {
    height: 5rem;
    display: flex;
    flex-direction: column;
  }
  header .logo {
    display: flex;
    flex-direction: row;
    height: 5rem;
    width: 100%;
  }
  header .logo img {
    width: 40px;
    height: 40px;
    margin: 0 10 0 15px;
  }
  header .logo .linkPage {
    color: #838282;
    font-size: 1rem;
    font-weight: 600;
    margin: 8px;
  }
  header .logo .nome {
    margin-left: auto;
    font-size: 1rem;
    font-weight: 600;
    color: #838282;
    padding: 8px 8px 0px 0px;
  }
  header nav {
    display: contents;
  }
  header nav ul {
    display: flex;
    flex-direction: row;
    flex-flow: row wrap;
    justify-content: flex-end;
    list-style: none;
    width: 100%;
  }
  header nav ul .item-menu {
    margin: 5px;
    flex-direction: column;
    align-items: center;
    height: 35px;
    list-style: none;
  }
  header nav ul .item-menu :hover {
    background-color: #F6F5FF;
  }
  header nav ul .item-menu a.active {
    color: #fff;
    background-color: #7D89EA;
  }
  header nav ul .item-menu a.active :hover {
    background-color: #7D89EA;
  }
  header nav ul .item-menu a {
    color: #838282;
    text-decoration: none;
    display: flex;
    border-radius: 6px;
    height: 100%;
    width: 100%;
    align-items: center;
  }
  header nav ul .item-menu a i {
    border-radius: 6px;
    min-width: 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
  }
  header nav ul .item-menu {
    position: relative;
  }
  header nav ul .submenu {
    display: block;
    position: absolute;
    min-width: 190px;
    max-height: 550px;
    overflow: hidden;
    transition: max-height 1s;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    background-color: #fff !important;
    z-index: 1;
  }
  header nav ul .submenu :hover {
    background-color: none !important;
  }
  header nav ul .submenu .item-submenu {
    height: 35px;
    list-style: none;
    margin: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
  }
  header nav ul .submenu .item-submenu i {
    font-size: 12px;
    min-width: 25px;
  }
  header nav ul .left {
    left: 0;
    right: auto;
  }
  header nav ul .right {
    right: 0;
    left: auto;
  }
  header nav ul .submenu.collapse {
    max-height: 0;
    transition: max-height 0s;
  }
}/*# sourceMappingURL=sideBar.css.map */