.hidden {
  display: none;
}

.cursor_pointer {
  cursor: pointer;
}

body.close-sidepopup {
  overflow-x: hidden;
}

.section__header {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.section__title-wrap {
  position: relative;
  margin-right: 48px;
  padding-left: 23px;
  padding-right: 40px;
  padding-top: 3px;
}

.section__title {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
}

button.section__create {
  display: inline-block;
  padding: 8px 16px;
  margin-right: 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  background: #adea00;
  border-radius: 8px;
  transition: opacity 0.3s;
}

.section__search {
  position: relative;
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid #ffffff;
  border-radius: 8px;
  display: flex;
}

.section__search input[type="search"] {
  flex-grow: 1;
  height: 34px;
  padding: 0 60px 0 8px;
  border: none;
  background-color: rgba(255, 255, 255, 0.5);
  transition: opacity 0.3s;
}

.section__search button[type="reset"] {
  position: absolute;
  top: 11px;
  right: 10px;
  height: 12px;
  width: 12px;
  background-image: url(/images/icons/stack.svg#close);
}

.single-wrapper.close-sidepopup {
  position: relative;
  overflow: hidden;
}

.single-overlay {
  position: fixed;
  z-index: 102;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  padding-left: 278px;
  transition: right 0.5s, left 0.5s;
  overflow-y: auto;
}

.single-overlay.close {
  left: 100%;
  right: -100%;
  transition: right 0.5s, left 0.5s, padding-left 0.5s;
  padding-left: 80px;
  background-color: transparent;
}

.single-wrapper .single {
  position: relative;
  background-color: #e0e7ee;
  padding: 20px 16px 10px;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.single__header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.single__title-wrap {
  position: relative;
  margin-right: 20px;
  padding-right: 40px;
  padding-top: 3px;
}

.single__flag {
  position: absolute;
  top: 21px;
  left: auto;
  right: 100%;
  width: auto;
  height: 28px;
  font-weight: 500;
  line-height: 28px;
  background-color: #f5f7f8;
  border-radius: 16px 0 0 16px;
  padding-left: 28px;
  padding-right: 8px;
}

.single__close {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  padding: 0;
  background-color: #8ea2b5;
  -webkit-mask-image: url(/images/icons/stack.svg#close);
  mask-image: url(/images/icons/stack.svg#close);
  -webkit-mask-size: 12px;
  mask-size: 12px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.sidepopup__title {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
}

.modal-wrapper .modal {
  max-height: 90vh;
}
