.task_map-wrapper {
  width: 100%;
}

.map {
  padding: 40px 20px;
  border-radius: 10px;
  background-color: #f2faff;
}

.side-nav_list.task_map-list .side-nav_link {
  text-align: center;
  font-weight: 400;
  line-height: 1.21;
}

.map_list {
  margin-bottom: 0px;
  padding-left: 0px;
}

.map_item {
  margin-bottom: 40px;
  list-style: none;
}

.map_item:last-child {
  margin-bottom: 0px;
}

.map .map_item h4 {
  margin-top: 0px;
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.21;
  text-align: center;
}

.map_sublist {
  padding: 0px;
}

.map_sublist li {
  list-style: none;
  font-size: 18px;

  line-height: 1.21;
}

.map_sublist li p {
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 18px;
}

.map_sublist li p:hover {
  color: #ec008c;
  cursor: pointer;
}

.map-ctrl-btn {
  position: absolute;
  right: 0px;
  display: flex;
  justify-content: flex-end;
  height: 22px;
  display: flex;
  align-items: center;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.map-second-ctrl-btn {
  position: absolute;
  right: 0px;
  display: flex;
  justify-content: flex-end;
  height: 22px;
  display: flex;
  align-items: center;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.map_sublist li svg {
  stroke: #121921;
  cursor: pointer;
  pointer-events: none;
}

.first-level-menu li svg {
  stroke: #121921;
  cursor: pointer;
  pointer-events: none;
}

.first-level-item .map_sublist-controls p {
  font-size: 14px;
}

.first-level-item.menu-open .map-second-ctrl-btn svg {
  transform: rotate(180deg);
  pointer-events: none;
}

.map_sublist-item.menu-open .map-ctrl-btn svg {
  transform: rotate(180deg);
  pointer-events: none;
}

.map-ctrl-btn:hover svg {
  stroke: #ec008c;
  cursor: pointer;
}

.map-second-ctrl-btn:hover svg {
  stroke: #ec008c;
  cursor: pointer;
}

.map_sublist-item p:hover {
  color: #ec008c;
  cursor: pointer;
}

.map_sublist-item a {
  border: none;
  cursor: pointer;
}

.map_sublist-item a:hover {
  color: #ec008c;
}

.map_sublist-item:not(:last-child) {
  margin-bottom: 20px;
}

.hidden {
  display: none;
}

.menu-visible {
  display: block;
}

.dropdown-menu .map_sublist-controls {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #c2d3df;
}

.dropdown-menu .map_sublist-controls:hover {
  color: #ec008c;
}

.map_sublist-controls.empty {
  border-bottom: none;
}

.map_sublist-controls:last-child {
  margin-bottom: 0px;
  padding-bottom: 0px;
}

.first-level-menu {
  padding-left: 20px;
}

.first-level-menu li {
  font-size: 14px;
}

.first-level-menu li:not(:last-child) {
  margin-bottom: 15px;
}

.first-level-menu li a {
  font-size: 14px;
  border: none;
}

.second-level-menu li:not(:last-child) {
  margin-bottom: 10px;
}

.second-level-menu li a {
  font-size: 12px;
}

.second-level-menu {
  padding-left: 20px;
}

.tabs-section-wrapper {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

.tabs-wrapper {
  width: 100%;
}

.tabs-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 0px;
  border-bottom: 1px solid #c2d3df;
}

.tabs-list {
  margin-top: 0px;
  margin-bottom: 15px;
  overflow-x: auto;
  white-space: nowrap;
}

.tabs-list::-webkit-scrollbar {
  width: 1px !important;
  height: 1px;
  background-color: #f5f5f5;
  opacity: 0.5;
}

.tabs-list::-webkit-scrollbar-thumb {
  background-color: #e9e9e9;
  border-radius: 50px;
  position: relative;
  opacity: 0.5;
}

.tabs-list li {
  display: flex;

  align-items: center;
  list-style: none;

  margin-bottom: 0px;
  margin-right: 10px;

  cursor: pointer;
}

.tabs-list li:hover {
  color: #ec008c;
}

.tabs-list li:not(:last-child)::after {
  content: "";
  display: block;
  width: 1px;
  height: 18px;
  background-color: #c2d3df;
  margin-left: 10px;
  margin-bottom: 10px;
}

.tabs-list-tittle.active a {
  color: #ec008c;
}

.tabs-list a {
  margin-top: 0px;
  margin-bottom: 0px;
  padding-bottom: 10px;
  padding-left: 0px;
  padding-right: 0px;
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: 2px solid transparent;
  background-color: transparent;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.21;
  transition: color 0.3s ease 0s, border 0.3s ease 0s;
}

.tabs-button:hover {
  color: #ec008c;
}

.tabs-list-wrapper.active {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  height: auto;
}

.tabs-list-wrapper {
  height: 0;
  overflow: hidden;
}

.sub_categories-tab.active {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  height: auto;
}

.sub_categories-tab {
  height: 0;
  overflow: hidden;
}

.tabs-list-links {
  display: flex;
  justify-content: space-between;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-left: 0px;
  /* column-count: 4; */
}

.tabs-list-links li {
  max-width: 270px;
  margin-bottom: 15px;
  padding-right: 15px;
  list-style: none;
  column-fill: auto;
}

.tabs-list-links li a {
  display: inline-block;
  border-bottom: none;
  line-height: 1.21;
}

.subtabs-wrapper {
  display: flex;
}

.subtabs-wrapper .subtabs-list {
  padding-left: 0px;
  padding-right: 15px;
}

.selectWrapper {
  border-right: 1px solid #c2d3df;
}

.subtabs-item a span {
  display: inline-block;
  padding-bottom: 2px;
}

.subtabs-list a {
  display: inline-block;
}

.subtabs-item a {
  display: inline-block;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border 0.3s;
}

.selectCustom-option a {
  border-bottom: none;
}

.ui-state-active a {
  border-bottom: 2px solid #ec008c;
}

.subtabs-wrapper ul li {
  list-style: none;
  max-width: 300px;
}

.subtabs-list {
  border-right: 1px solid #c2d3df;
}

.subtabs-list li:not(:last-child) {
  margin-bottom: 15px;
}

.subtabs-list-links {
  margin-top: 0px;
  padding-left: 0px;
  column-count: 3;
  text-decoration: none;
  line-height: 1.21;
}

.subtabs-list-links li {
  max-width: 270px;
  margin-bottom: 15px;
  padding-left: 15px;
  padding-right: 15px;
}

.subtabs-list-links a {
  display: block;
  max-width: 270px;
  border-bottom: none;
}

.subtabs-list {
  display: none;
}

.selectCustom-trigger {
  display: none;
}

.selectCustom-options {
  margin-top: 0px;
  padding-left: 0px;
}

.selectCustom-option {
  margin-bottom: 15px;
}

.selectCustom-option a {
  max-width: 270px;
}

.selectWrapper {
  padding-right: 15px;
}

.select {
  display: flex;
}

@media screen and (max-width: 992px) {
  .task-map-menu_wrapper {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    flex: 0 0 100%;
  }

  .side-nav_list.task_map-list {
    justify-content: flex-start;
    align-items: stretch;
    padding-bottom: 0px;
    gap: 2px;
  }

  .side-nav_list.task_map-list .side-nav_link {
    text-align: center;
    font-size: 14px;
  }

  .side-nav_item.task_map-item {
    flex-basis: calc((100% - 4px) / 3);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px 0px;
    padding: 7px 10px 10px 10px;
    background-color: #f2faff;
  }

  .task_map-wrapper {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    flex: 0 0 100%;
  }

  .map_list {
    padding-left: 0px;
  }

  .task_map-wrapper .material .task-map-tittle {
    margin-bottom: 20px;
    margin-left: 0px;
  }

  .material .task-map-tittle {
    margin-top: 40px;
    margin-left: 15px;
  }

  .tabs-section-wrapper {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  .tabs-list-wrapper {
    gap: 0;
  }

  .tabs-list {
    overflow-x: auto;
    white-space: nowrap;
  }

  .tabs-list-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    /* flex-wrap: wrap; */
  }

  .tabs-list-links li {
    max-width: 290px;
    padding-right: 15px;
  }

  .box-1 {
    display: grid;
    grid-auto-rows: auto;
  }

  .box-2 {
    display: grid;
    grid-auto-rows: auto;
  }

  .subtabs-wrapper .subtabs-list {
    padding-left: 0px;
    padding-right: 15px;
  }

  .selectWrapper {
    padding-right: 15px;
  }

  .subtabs-wrapper ul li {
    list-style: none;
    min-width: 183.33px;
    /* transition: color 0.3s, border 0.3s; */
  }

  .subtabs-list-links {
    padding-top: 0px;
    padding-left: 0px;
    column-count: 2;
    text-decoration: none;
    line-height: 1.21;
  }

  .subtabs-list-links a {
    min-width: 183.33px;
  }

  .subtabs-list-links li {
    min-width: 183.33px;
    padding-right: 0px;
    padding-left: 15px;
  }

  .subtabs-list {
    display: none;
  }

  .select {
    display: flex;
  }
}

@media screen and (min-width: 575px) {
  #subtabs .selectWrapper, #subtabs .subtabs-list-links {
    height: 500px;
    overflow-y: auto;
  }
}

@media screen and (max-width: 575px) {
  .task-map-menu_wrapper {
    padding-left: 0px;
    padding-right: 0px;
  }

  .side-nav_list.task_map-list {
    justify-content: flex-start;
    align-items: stretch;
    padding-bottom: 0px;
    gap: 2px;
  }

  .side-nav_list.task_map-list .side-nav_link {
    text-align: center;
    font-size: 14px;
  }

  .side-nav_item.task_map-item {
    flex-basis: calc((100% - 2px) / 2);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px 0px;
    padding: 7px 10px 10px 10px;
    background-color: #f2faff;
  }

  .side-nav_item.task_map-item.empty_tab-tab {
    display: none;
  }

  .task_map-wrapper {
    padding-left: 0px;
    padding-right: 0px;
  }

  .map {
    padding: 20px 15px;
  }

  .task_map-wrapper .material .task-map-tittle {
    margin-top: 40px;
    margin-left: 15px;
  }

  .map_list {
    margin-top: 0px;
  }

  .map_sublist li p {
    font-size: 16px;
  }

  .map_sublist li a {
    font-size: 16px;
  }

  .map_sublist .first-level-menu li a {
    font-size: 14px;
  }

  .map_sublist .second-level-menu li a {
    font-size: 12px;
  }

  .tabs-section-wrapper {
    width: 100%;
  }

  .tabs-list {
    overflow-x: auto;
    white-space: nowrap;
  }

  .tabs-list-links li {
    max-width: 290px;
    padding-right: 0px;
  }

  .tabs-list li:not(:last-child)::after {
    margin-left: 10px;
    margin-bottom: 10px;
  }

  .tabs-list-links {
    display: flex;
    flex-direction: column;
  }

  .column-wrapper {
    width: 100%;
  }

  .tabs-list::-webkit-scrollbar {
    height: 0px;
  }

  .tab-selection-mob {
    width: 100%;
    height: 38px;
    border-radius: 4px;
    border-color: #999999;
  }

  .select {
    position: relative;
  }

  .selectLabel {
    display: block;
    font-weight: bold;
    margin-bottom: 0.4rem;
  }

  .selectWrapper {
    position: relative;
    width: auto;
  }

  .selectCustom {
    position: relative;
    width: 100%;
    height: 38px;
  }

  .selectCustom-trigger {
    font-size: 14px;
    background-color: #fff;
    border: 1px solid #6f6f6f;
    border-radius: 0.4rem;
    cursor: pointer;
  }

  .selectCustom-trigger {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: #fff;
    font-size: 16px;
  }

  .selectCustom-trigger span {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0 38px 0 0.8em;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 16px;
    line-height: 38px;
  }

  .selectCustom-trigger::after {
    content: "▾";
    position: absolute;
    top: 18%;
    line-height: 1.21;
    right: 11px;
    color: #c4c4c4;
    font-size: 20px;
  }

  .selectCustom-options {
    position: absolute;
    top: 38px;
    left: 0;
    width: 100%;
    /* border: 1px solid #999999; */
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.13);
    z-index: 1;
    padding: 10px;
    display: none;
    list-style: none;
  }

  .selectCustom.isActive .selectCustom-options {
    display: block;
  }

  .selectCustom-option {
    position: relative;
    padding: 0.8rem;
  }

  .selectCustom-option:hover {
    background-color: #f7ecff;
  }

  .selectCustom-option:not(:last-of-type)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0.8rem;
    width: calc(100% - 1.6rem);
    border-bottom: 1px solid #d3d3d3;
  }

  .p {
    margin-bottom: 1rem;
  }

  .title {
    font-size: 2rem;
    font-weight: 600;
    margin: 1.6rem;
    line-height: 1.2;
    text-align: center;
  }

  .card {
    position: relative;
    margin: 2rem auto;
    max-width: calc(100% - 2rem);
    width: 40rem;
    background: white;
    padding: 3rem;
    box-shadow: 0.2rem 0.2rem #e9e1f8;
  }

  .tabs-list-links:nth-child(2n + 1) {
    margin-right: 0px;
  }

  .tabs-list-links li {
    margin-bottom: 15px;
  }

  .tabs-list h3 {
    font-size: 16px;
    line-height: 1.21;
  }

  .tabs-list-links li a {
    line-height: 1.21;
  }

  .selectWrapper {
    border: none;
    padding: 0px;
  }

  .subtabs-wrapper {
    display: block;
  }

  .subtabs-list {
    display: none;
  }

  .subtabs-list-links {
    column-count: 1;
    margin-top: 15px;
  }

  .subtabs-list-links li {
    padding-left: 0px;
    padding-right: 0px;
  }

  .selectCustom-trigger {
    /* display: block; */
    border-radius: 4px;
  }

  .selectCustom.isActive .selectCustom-trigger {
    border-color: #ec008c;
  }

  .select {
    display: block;
  }

  .selectCustom-options {
    margin: 0px;
    padding: 0px;
  }

  .selectCustom-option:not(:last-of-type)::after {
    content: "";
    border: none;
  }

  .selectCustom-options {
    max-height: 300px;
    overflow-y: scroll;
  }

  .selectCustom-options::-webkit-scrollbar {
    width: 6px;
    background: #f1f1f1;
    border-radius: 4px;
    box-shadow: inset 0 0 0 4px #f1f1f1;
    /* display: block;
    width: 12px;
    background: #f1f1f1;
    padding: 0 3px; */
  }

  .selectCustom-options::-webkit-scrollbar-thumb {
    background: #c4c4c4;
    border-radius: 50px;
    position: relative;
    border-radius: 4px;

    /* display: block;
    border-radius: 3px;
    background-color: #c4c4c4; */
  }

  .selectCustom-options::-webkit-scrollbar-track-piece {
    display: block;
    width: 3px;
  }

  .selectCustom-option {
    /* min-height: 1.2em; */
    padding: 10px;
    margin-bottom: 0px;
  }

  .selectCustom-option:not(:last-child) {
    margin-bottom: 0;
  }

  .selectCustom-option a {
    border: none;
  }
}
