:root {
  --main-green: #326E5B;
  --main-green-hover: #408C74;
  --main-green-active: #2C6050;
  --main-green-disabled: #326E5B;
}


html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  width: 100%;
}

input:focus,
button:focus {
  outline: none;
}

@font-face {
  font-family: Montserrat;
  src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2"), url("../fonts/Montserrat-SemiBold.woff") format("woff");
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: Montserrat;
  src: url("../fonts/Montserrat-Medium.woff2") format("woff2"), url("../fonts/Montserrat-Medium.woff") format("woff");
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: Montserrat;
  src: url("../fonts/Montserrat-Regular.woff2") format("woff2"), url("../fonts/Montserrat-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Proximanova';
  src: url('../fonts/ProximaNova-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  /*font-family: "Montserrat";*/
  font-weight: 400;
  font-size: 20rem;
}

@media only screen and (max-width: 650px) {
  body {
    font-size: 16rem;
  }
}

::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 8rem;
}

::-webkit-scrollbar-thumb {
  background: #2F6E5B;
  border-radius: 4rem;
  -webkit-box-shadow: 0 0 1px #2F6E5B;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: 0 0 1px #2F6E5B;
  border-radius: 4px;
}

::-webkit-scrollbar:horizontal {
  height: 8rem;
}

::-webkit-scrollbar-track-piece {
  background: #F8F9FC;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
}

p {
  margin-bottom: 30rem;
}

p:last-child {
  margin-bottom: 0;
}

@media only screen and (max-width: 650px) {
  p {
    margin-bottom: 25rem;
  }

  p:last-child {
    margin-bottom: 0;
  }
}

p a {
  position: relative;
  color: #2F6E5B;
}

p a:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1rem;
  background: #2F6E5B;
  transition: width 0.25s;
}

p a:hover:before {
  width: 0;
}

.desktop-hidden {
  display: none !important;
}

@media only screen and (max-width: 650px) {
  .desktop-hidden {
    display: block !important;
  }
}

@media only screen and (max-width: 650px) {
  .mobile-hidden {
    display: none !important;
  }
}

.df {
  display: none !important;
}

@media only screen and (max-width: 650px) {
  .df {
    display: flex !important;
  }
}

.dn {
  display: none;
}

.wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content {
  position: relative;
  flex: 1 0 auto;
}

h2 span,
h3 span {
  font-weight: 300;
}

input,
button,
textarea {
  cursor: pointer;
  outline: none;
}

button {
  border: none;
  color: #363636;
}

.checkbox {
  -webkit-appearance: none;
}

.button {
  border: none;
  height: 56rem;
  border-radius: 100rem;
  background: #2F6E5B;
  transition: background 0.25s;
}

.button:hover {
  background: #66A692;
  transition: background 0.25s;
}

.button:active {
  background: #235143;
}

.button:focus {
  background: #2F6E5B;
}

.input-wrap {
  position: relative;
  display: flex;
}

.header__search input[type="text"].input__search {
  padding: 14rem 60rem 12rem 12rem;
  /* font-size: 15rem; */
  font-size: 16px;
  ;
  background: transparent;
  border: 1rem solid #CCD6ED;
  width: 308rem;
  /* border-radius: 100rem; */
  border-radius: 8px;
  color: #363636;
  font-family: "Montserrat", sans-serif;
  font-family: "Proxima Nova", "Montserrat", sans-serif;
  font-weight: 400;
  transition: border 0.25s;
}

input[type="text"].input__search::placeholder {
  color: #B0B6CA;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

input[type="text"].input__search:focus {
  transition: border 0.25s;
  border: 1rem solid #363636;
}

input[type="text"].input__search:focus+.search-button svg path {
  transition: fill 0.25s;
  fill: #363636;
}

@media only screen and (max-width: 650px) {
  input[type="text"].input__search {
    width: 100%;
    padding: 10px 40px 8px 10px !important;
  }

  .input__search:focus {
    width: 100% !important;
  }
}

.search__placeholder {
  height: 100%;
  width: 100%;
  display: flex;
  position: absolute;
  left: 0;
  z-index: -1;
  color: #B0B6CA;
  font-size: 15rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

.search__placeholder_wrap {
  width: 150%;
  height: 100%;
  padding: 17rem 60rem 17rem 21rem;
}

.search__placeholder_wrap-mob {
  padding: 10rem 40rem 10rem 10rem;
}

.search__placeholder_wrap span {
  width: 300rem;
}

.search-button {
  width: 60rem;
  border-radius: 100rem;
  border: none;
  background: transparent;
  padding-top: 15rem;
  padding-bottom: 15rem;
  position: absolute;
  right: 0;
  top: 11rem;
  padding: 0;
}

.search-button svg {
  width: 34rem;
  height: 34rem;
}

.search-button svg path {
  transition: fill 0.25s;
}

@media only screen and (max-width: 650px) {
  .search-button {
    width: 50px;
    height: 40px;
    padding: 10px 0;
    position: absolute;
    top: 0 !important;
  }

  .search-button svg {
    width: 24px;
    height: 24px;
  }
}

.container {
  width: 1702rem;
  margin-left: auto;
  margin-right: auto;
}

@media only screen and (max-width: 650px) {
  .container {
    width: 100%;
    padding-left: 20rem;
    padding-right: 20rem;
  }
}

.interface__line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.interface__line--second {
  justify-content: flex-end;
  display: none;
}

@media only screen and (max-width: 650px) {
  .interface__line--second {
    display: flex;
    margin-top: 16rem;
  }
}

.interface__line--unusual {
  margin-top: -12rem;
}

.tooltip {
  width: 25rem;
  height: 25rem;
  background: #fff;
  border-radius: 50%;
  font-weight: 600;
  box-shadow: 0px 7.38095px 18.4524px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16rem;
  cursor: pointer;
  position: relative;
  transition: background 0.25s;
}

@media only screen and (max-width: 650px) {
  .tooltip {
    width: 20rem;
    height: 20rem;
    font-size: 12rem;
    padding: 0;
    line-height: 12rem;
  }
}

.tooltip:hover {
  background: #F8F9FC;
}

.tooltip-wrap {
  position: relative;
  z-index: 12;
}

@media only screen and (min-width: 650px) {
  .tooltip-wrap:hover .tooltip__block {
    opacity: 1;
    visibility: visible;
  }
}

.tooltip__block {
  position: absolute;
  padding: 18rem 15rem;
  width: 344rem;
  top: -93rem;
  right: -9rem;
  font-weight: 400;
  color: #2F6E5B;
  font-size: 16rem;
  background: #FFFFFF;
  border-radius: 3rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
  text-align: left;
}

.tooltip__block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: transparent;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 5rem;
  box-shadow: 0px 0px 7.77112px rgba(0, 0, 0, 0.2);
  z-index: -10;
}

.tooltip__block::after {
  content: "";
  position: absolute;
  bottom: -12rem;
  right: 9rem;
  width: 0;
  height: 0;
  border-width: 12rem 11rem 0 11rem;
  border-color: #FFffff transparent transparent transparent;
  border-style: solid;
  z-index: -10;
  filter: drop-shadow(0px 0px 7.77112px rgba(0, 0, 0, 0.2));
}

@media only screen and (max-width: 650px) {
  .tooltip__block {
    top: 41rem;
    width: 280rem;
    right: 0;
  }

  .tooltip__block::after {
    bottom: 0;
    top: -7rem;
    right: 2rem;
    transform: rotate(180deg);
  }

  .tooltip__block--active {
    opacity: 1;
    visibility: visible;
  }
}

.tooltip-close {
  position: absolute;
  top: 10rem;
  right: 4rem;
  width: 15rem;
  height: 15rem;
  background: #fff;
  cursor: pointer;
  justify-content: center;
  align-items: center;
}

@media only screen and (max-width: 650px) {
  .tooltip-close {
    display: flex !important;
    font-size: 18rem;
  }
}

.dropdown-circle {
  width: 267rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16rem 24rem;
  border: 1rem solid #2F6E5B;
  border-radius: 63.1501rem;
  position: relative;
  font-size: 18rem;
  cursor: pointer;
  z-index: 1;
  transition: background 0.25s;
}

@media only screen and (max-width: 650px) {
  .dropdown-circle {
    width: 218rem;
    font-size: 14rem;
    padding: 9.5rem 24rem;
  }
}

.dropdown-circle--active {
  background: #F8F9FC;
}

.dropdown__icon {
  transition: transform 0.25s;
}

.dropdown__icon--active {
  transform: rotate(180deg);
}

.dropdown__list {
  position: absolute;
  top: 50%;
  width: 100%;
  left: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
}

.dropdown__list--active {
  opacity: 1;
  visibility: visible;
}

.dropdown__checkbox {
  display: block;
  height: 18rem;
  width: 18rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown__item {
  padding-top: 7rem;
  padding-bottom: 7rem;
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  background: #fff;
  padding-left: 20rem;
  padding-right: 20rem;
  transition: color 0.25s;
  cursor: pointer;
}

.dropdown__item:first-child {
  margin-top: 31.5rem;
}

.dropdown__item:last-child {
  padding-bottom: 31.5rem;
}

.dropdown__item:hover {
  color: #2F6E5B;
}

.dropdown__item input[type=checkbox] {
  display: none;
}

.dropdown__item input[type=checkbox]:checked+.dropdown__checkbox svg path {
  fill: #2F6E5B;
}

.flex-end {
  display: flex;
  margin-top: 18rem;
  justify-content: flex-end !important;
}

.more {
  padding-top: 80rem;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: color 0.25s;
}

@media only screen and (max-width: 650px) {
  .more {
    font-size: 16rem;
    padding-top: 32rem;
    color: #2F6E5B;
    font-weight: 500;
  }
}

.more svg {
  width: 54rem;
  height: 55rem;
  margin-right: 22rem;
}

@media only screen and (max-width: 650px) {
  .more svg {
    width: 18rem;
    height: 19rem;
    margin-right: 13rem;
  }
}

.more:hover {
  color: #2F6E5B;
}

.sort-select {
  position: relative;
  width: 369rem;
}

.sort-select_margin_top {
  margin-top: 35rem;
}

@media only screen and (max-width: 650px) {
  .sort-select {
    width: 280rem;
    margin-bottom: 20rem;
  }
}

.sort-select.is-active .sort-select__body {
  opacity: 1;
  visibility: visible;
}

.sort-select__header {
  border: 1px solid #CCD6ED;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding-right: 15rem;
}

@media only screen and (max-width: 650px) {
  .sort-select__header {
    padding: 15rem 15rem 15rem 15rem;
  }
}

.sort-select__icon {
  width: 17rem;
  height: 31rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  position: absolute;
  right: 15rem;
}

@media only screen and (max-width: 650px) {
  .sort-select__icon {
    width: 16rem;
    height: 22rem;
  }
}

.sort-select__icon svg {
  width: 100%;
  height: 100%;
}

.sort-select__icon svg path {
  transition: fill 0.25s;
}

.sort-select__current {
  font-size: 20rem;
}

@media only screen and (max-width: 650px) {
  .sort-select__current {
    font-size: 14rem;
  }
}

.sort-select__body {
  position: absolute;
  right: 0;
  left: 0;
  top: 100%;
  width: 100%;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  background: #ffffff;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  padding: 10rem 20rem;
}

@media only screen and (max-width: 650px) {
  .sort-select__body {
    padding: 15rem 20rem 17rem 20rem;
  }
}

.sort-select__item {
  cursor: pointer;
  font-size: 16rem;
  font-weight: 500;
  color: #B0B6CA;
  margin-bottom: 5rem;
  display: flex;
  align-items: center;
  transition: color 0.25s;
}

@media only screen and (max-width: 650px) {
  .sort-select__item {
    margin-bottom: 10rem;
    font-size: 12rem;
  }
}

.sort-select__item.is-current {
  color: #2F6E5B;
}

.sort-select__item.is-current svg path {
  fill: #2F6E5B;
}

.sort-select__item svg {
  width: 17rem;
  height: 17rem;
  margin-right: 10rem;
}

.sort-select__item svg path {
  transition: fill 0.25s;
}

.sort-select__item:hover {
  color: #2F6E5B;
}

.sort-select__item:hover svg path {
  fill: #2F6E5B;
}

.sort-select__item:nth-child(3):hover svg path {
  fill: #fff;
  stroke: #2F6E5B;
}

.sort-select__item:nth-child(3).is-current {
  color: #2F6E5B;
}

.sort-select__item:nth-child(3).is-current svg path {
  fill: #fff;
  stroke: #2F6E5B;
}

.modal-profile {
  position: absolute;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  padding-top: 80rem;
  left: 0;
  opacity: 0;
  visibility: hidden;
}

.modal-profile--active {
  opacity: 1;
  visibility: visible;
}

.modal-profile .content__profile {
  width: 100%;
  height: 745rem;
  top: 80rem;
}

.flickity-slider {
  will-change: transform;
}

.anchor {
  position: fixed;
  right: 40rem;
  bottom: 40rem;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media only screen and (max-width: 650px) {
  .anchor {
    right: 10rem;
    bottom: 60rem;
  }
}

.anchor.show {
  opacity: 1;
  pointer-events: unset;
}

.anchor__button {
  cursor: pointer;
  width: 78rem;
  height: 78rem;
}

@media only screen and (max-width: 650px) {
  .anchor__button {
    width: 40rem;
    height: 40rem;
  }
}

.section__id {
  height: fit-content;
  background: white;
  width: fit-content;
  width: -moz-fit-content;
  font-size: 18rem;
  font-weight: 500;
  color: #363636;
  padding: 8rem 42rem;
  border: 1px solid #2F6E5B;
  border-radius: 63rem;
  margin-left: auto;
  cursor: default;
}

@media only screen and (max-width: 650px) {
  .section__id {
    font-size: 12rem;
    padding: 5rem 20rem;
    border-radius: 100rem;
    margin-bottom: 20rem;
  }
}

.section__id_item {
  font-size: 12rem;
  padding: 5rem 20rem;
  border-radius: 100rem;
}

@media only screen and (max-width: 650px) {
  .section__id_item {
    font-size: 8rem;
  }
}

.section__id_media {
  position: absolute;
  top: 15rem;
  right: 15rem;
}

@media only screen and (max-width: 650px) {
  .section__id_media {
    top: 11rem;
    right: 11rem;
  }
}

@media only screen and (max-width: 650px) {
  .section__id_nomargin {
    margin: 0;
  }
}

.section__id_friends {
  margin: 0 auto 0 40rem;
}

@media only screen and (max-width: 650px) {
  .section__id_friends {
    margin: 0 0 20rem;
  }
}

.slider {
  border-top: 1px solid #CFCFCF;
  padding: 83rem 0;
  margin-right: 35rem;
  width: 100%;
  cursor: grab;
}

@media only screen and (max-width: 650px) {
  .slider {
    padding: 33rem 0 92rem;
  }
}

.slider:active {
  cursor: grabbing;
}

.slider__wrapper {
  position: relative;
  margin-bottom: 84rem;
}

@media only screen and (max-width: 650px) {
  .slider__wrapper {
    margin-bottom: 19rem;
  }
}

.slider__item {
  margin-right: 35rem;
  border-radius: 5px;
  width: 956rem;
  height: 496rem;
  overflow: hidden;
}

@media only screen and (max-width: 650px) {
  .slider__item {
    width: 284rem;
    height: 158rem;
    margin-right: 20rem;
  }
}

.slider__item:hover .slider__description {
  opacity: 1;
}

.slider__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slider__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider__nav {
  display: flex;
  justify-content: space-between;
  width: 401rem;
  margin: 0 auto;
}

@media only screen and (max-width: 650px) {
  .slider__nav {
    width: 241rem;
  }
}

.slider__description {
  position: absolute;
  max-width: 924rem;
  left: 15rem;
  bottom: 15rem;
  background: rgba(54, 54, 54, 0.9);
  border-radius: 5rem;
  padding: 13rem 17rem;
  color: #FFFFFF;
  font-style: italic;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
}

@media only screen and (max-width: 650px) {
  .slider__description {
    bottom: 9rem;
    min-width: 268rem;
    max-width: 268rem;
    padding: 3rem 13rem 5rem 14rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
  }
}

.slider-number {
  display: flex;
  align-items: center;
}

.animated-button {
  position: relative;
  top: 0;
  left: 0;
  height: 57rem;
  background: transparent;
  display: flex;
  align-items: center;
  font-family: "Montserrat", sans-serif;
  border: none;
  cursor: pointer;
  color: #363636;
  max-height: 40rem;
}

@media only screen and (max-width: 650px) {
  .animated-button {
    height: auto !important;
  }
}

.animated-button:hover .animated-button__wrap_hover {
  width: 100%;
}

.animated-button:hover .animated-button__wrap_back {
  width: 0;
}

.animated-button__wrap {
  position: absolute;
  height: 100%;
  width: 100%;
  overflow: hidden;
  transition: width 0.25s ease-in-out;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left;
}

.animated-button__wrap_error {
  font-family: "Source Serif Pro", sans-serif;
  font-style: italic;
  font-size: 30rem;
  margin: 0 23rem 0 0;
}

@media only screen and (max-width: 650px) {
  .animated-button__wrap_error {
    font-size: 20rem;
    margin: 0 10rem 0 0;
  }
}

.animated-button__wrap_stories {
  height: 38rem;
  width: 56rem;
  min-width: 56rem;
}

@media only screen and (max-width: 650px) {
  .animated-button__wrap_stories {
    height: 21rem;
    width: 30rem;
    min-width: 30rem;
  }
}

.animated-button__wrap_stories .animated-button__text {
  margin: 0 5rem;
}

.animated-button__wrap_back {
  right: 0;
  left: unset;
  width: 100%;
  height: 100%;
}

.animated-button__wrap_back .animated-button__flex {
  right: 0;
  left: unset;
  justify-content: flex-end;
}

.animated-button__wrap_back .animated-button__icon {
  height: 56rem;
  width: 81rem;
  min-width: 81rem;
}

@media only screen and (max-width: 650px) {
  .animated-button__wrap_back .animated-button__icon {
    height: 34rem;
    width: 49rem;
    min-width: 49rem;
  }
}

.animated-button__wrap.normal {
  width: auto;
  position: relative;
}

.animated-button__wrap.normal .animated-button__flex {
  width: auto;
  position: relative;
}

.animated-button__wrap.rotate .animated-button__flex {
  justify-content: flex-end;
  flex-direction: row-reverse;
}

.animated-button__wrap.rotate .animated-button__icon {
  transform: rotate(180deg);
}

.animated-button__wrap.rotate .animated-button__wrap_back {
  left: 0;
  right: unset;
}

.animated-button__wrap.rotate .animated-button__wrap_hover {
  right: 0;
  left: unset;
}

.animated-button__wrap.rotate .animated-button__wrap_hover .animated-button__flex {
  justify-content: flex-start;
}

.animated-button__wrap_hover {
  width: 0;
  height: 100%;
  border-radius: 5000rem;
}

.animated-button__flex {
  position: absolute;
  display: flex;
  align-items: center;
  width: 100%;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.animated-button__text {
  margin: 0 17rem;
  font-weight: 500;
  white-space: nowrap;
}

@media only screen and (max-width: 650px) {
  .animated-button__text {
    margin: 0 13rem;
  }
}

.animated-button__text_hover {
  color: #66A692;
}

.animated-button__icon {
  height: 56rem;
  width: 81rem;
  min-width: 81rem;
  position: relative;
  display: block;
}

@media only screen and (max-width: 650px) {
  .animated-button__icon {
    height: 33rem;
    width: 49rem;
    min-width: 49rem;
  }
}

.animated-button_read {
  height: 38rem;
}

.animated-button_read .animated-button__icon {
  height: 38rem;
  width: 56rem;
  min-width: 56rem;
}

@media only screen and (max-width: 650px) {
  .animated-button_read .animated-button__icon {
    height: 34rem;
    width: 49rem;
    min-width: 49rem;
  }
}

.animated-button_read .animated-button__text {
  margin: 0 17rem;
}

@media only screen and (max-width: 650px) {
  .animated-button_read .animated-button__text {
    margin: 0 8rem;
  }
}

.animated-button_back {
  height: 38rem;
}

.animated-button_back .animated-button__icon {
  height: 38rem;
  width: 56rem;
  min-width: 56rem;
}

@media only screen and (max-width: 650px) {
  .animated-button_back .animated-button__icon {
    height: 34rem;
    width: 49rem;
    min-width: 49rem;
  }
}

.modal-slider {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  height: 100vh;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
}

.modal-slider__inner {
  margin: 75rem auto 0;
  height: 90vh;
  width: 100%;
  position: relative;
}

.modal-slider__item {
  height: 100%;
  width: 100%;
}

.modal-slider__img {
  height: 100%;
  width: 100%;
  padding: 0 35rem;
}

.modal-slider__img img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: 80vh;
  object-fit: contain;
}

.modal-slider__close {
  width: 54rem;
  height: 54rem;
  position: fixed;
  top: 0;
  right: 0;
  background: #313131;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-slider__close svg {
  display: block;
  width: 20rem;
  height: 20rem;
}

.modal-slider__nav {
  position: absolute;
  bottom: 30rem;
  left: 50%;
  transform: translateX(-50%);
  width: 156rem;
  height: 46rem;
  background: rgba(49, 49, 49, 0.9);
  display: flex;
  font-size: 18rem;
  justify-content: space-around;
  align-items: center;
  color: white;
}

.modal-slider__number {
  display: flex;
  justify-content: center;
}

.modal-slider__btn {
  width: 24rem;
  height: 24rem;
  cursor: pointer;
}

.modal-slider__btn svg,
.modal-slider__btn img {
  width: 100%;
  height: 100%;
}

.progress-bar {
  height: auto;
  width: 3rem;
}

@media only screen and (max-width: 650px) {
  .progress-bar {
    width: 2px;
  }
}

.progress-bar__track {
  height: 100%;
  width: 100%;
  background: #F6F6F6;
  position: relative;
}

.progress-bar__percent {
  position: sticky;
  top: 150rem;
  left: 3rem;
  width: 100%;
  height: 51rem;
  background: #2F6E5B;
}

@media only screen and (max-width: 650px) {
  .progress-bar__percent {
    height: 40rem;
  }
}

.sort {
  width: 369rem;
  height: 54rem;
  border-radius: 5px;
  border: 1px solid #CFCFCF;
  position: relative;
  padding: 15rem 35rem 15rem 15rem;
  cursor: pointer;
}

@media only screen and (max-width: 650px) {
  .sort {
    max-width: 172rem;
    height: 35rem;
    padding: 10rem 20rem 10rem 10rem;
  }
}

.sort__cont {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.sort__item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  background: #FFFFFF;
  white-space: nowrap;
}

.sort__btns {
  position: absolute;
  right: 7rem;
  top: 50%;
  transform: translateY(-50%);
  width: 21rem;
  height: 41rem;
}

@media only screen and (max-width: 650px) {
  .sort__btns {
    width: 12rem;
    height: 24rem;
  }
}

.sort__btn {
  width: 21rem;
  height: 20rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media only screen and (max-width: 650px) {
  .sort__btn {
    width: 12rem;
    height: 12rem;
  }
}

.sort__btn.active svg {
  fill: #363636;
}

.sort__btn:hover svg {
  fill: #363636;
}

.sort__btn svg {
  width: 17rem;
  height: 10rem;
  fill: #ADADAD;
  transition: fill 0.25s ease-in-out;
}

@media only screen and (max-width: 650px) {
  .sort__btn svg {
    width: 10rem;
    height: 6rem;
  }
}

.yamap__link {
  display: inline-block;
  color: #2F6E5B;
  font-weight: 600;
  text-decoration: underline;
  margin-bottom: 12rem;
}

.yamap__img {
  width: 229rem;
  height: auto;
}

@media only screen and (max-width: 650px) {
  .yamap__img {
    width: 100%;
  }
}

.yamap__img img {
  width: 120rem;
}

.yamap__block {
  width: fit-content;
  height: 250rem;
  font-size: 20rem;
  overflow: scroll;
}

@media only screen and (max-width: 650px) {
  .yamap__block {
    height: 200rem;
    font-size: 14rem;
  }
}

.ymaps-2-1-79-balloon__content {
  overflow: hidden !important;
}

/*! Flickity v2.2.2
https://flickity.metafizzy.co
---------------------------------------------- */
.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus {
  outline: none;
}

.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* draggable */
.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* ---- flickity-button ---- */
.flickity-button {
  position: absolute;
  background: rgba(255, 255, 255, 0.75);
  border: none;
  color: #333;
}

.flickity-button:hover {
  background: white;
  cursor: pointer;
}

.flickity-button:focus {
  outline: none;
  box-shadow: 0 0 0 5px #19F;
}

.flickity-button:active {
  opacity: 0.6;
}

.flickity-button:disabled {
  opacity: 0.3;
  cursor: auto;
  /* prevent disabled button from capturing pointer up event. #716 */
  pointer-events: none;
}

.flickity-button-icon {
  fill: currentColor;
}

/* ---- previous/next buttons ---- */
.flickity-prev-next-button {
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  /* vertically center */
  transform: translateY(-50%);
}

.flickity-prev-next-button.previous {
  left: 10px;
}

.flickity-prev-next-button.next {
  right: 10px;
}

/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {
  left: auto;
  right: 10px;
}

.flickity-rtl .flickity-prev-next-button.next {
  right: auto;
  left: 10px;
}

.flickity-prev-next-button .flickity-button-icon {
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}

/* ---- page dots ---- */
.flickity-page-dots {
  position: absolute;
  width: 100%;
  bottom: -25px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
}

.flickity-rtl .flickity-page-dots {
  direction: rtl;
}

.flickity-page-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 8px;
  background: #333;
  border-radius: 50%;
  opacity: 0.25;
  cursor: pointer;
}

.flickity-page-dots .dot.is-selected {
  opacity: 1;
}

/*===============================
=            Choices            =
===============================*/
.choices {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  font-size: 16px;
}

.choices:focus {
  outline: none;
}

.choices:last-child {
  margin-bottom: 0;
}

.choices.is-open {
  overflow: initial;
}

.choices.is-disabled .choices__inner,
.choices.is-disabled .choices__input {
  background-color: #eaeaea;
  cursor: not-allowed;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.choices.is-disabled .choices__item {
  cursor: not-allowed;
}

.choices [hidden] {
  display: none !important;
}

.choices[data-type*=select-one] {
  cursor: pointer;
}

.choices[data-type*=select-one] .choices__inner {
  padding-bottom: 7.5px;
}

.choices[data-type*=select-one] .choices__input {
  display: block;
  width: 100%;
  padding: 10px;
  border-bottom: 1px solid #dddddd;
  background-color: #ffffff;
  margin: 0;
}

.choices[data-type*=select-one] .choices__button {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);
  padding: 0;
  background-size: 8px;
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -10px;
  margin-right: 25px;
  height: 20px;
  width: 20px;
  border-radius: 10em;
  opacity: 0.25;
}

.choices[data-type*=select-one] .choices__button:hover,
.choices[data-type*=select-one] .choices__button:focus {
  opacity: 1;
}

.choices[data-type*=select-one] .choices__button:focus {
  box-shadow: 0px 0px 0px 2px #00bcd4;
}

.choices[data-type*=select-one] .choices__item[data-value=""] .choices__button {
  display: none;
}

.choices[data-type*=select-one]:after {
  content: "";
  height: 0;
  width: 0;
  border-style: solid;
  border-color: #333333 transparent transparent transparent;
  border-width: 5px;
  position: absolute;
  right: 11.5px;
  top: 50%;
  margin-top: -2.5px;
  pointer-events: none;
}

.choices[data-type*=select-one].is-open:after {
  border-color: transparent transparent #333333 transparent;
  margin-top: -7.5px;
}

.choices[data-type*=select-one][dir=rtl]:after {
  left: 11.5px;
  right: auto;
}

.choices[data-type*=select-one][dir=rtl] .choices__button {
  right: auto;
  left: 0;
  margin-left: 25px;
  margin-right: 0;
}

.choices[data-type*=select-multiple] .choices__inner,
.choices[data-type*=text] .choices__inner {
  cursor: text;
}

.choices[data-type*=select-multiple] .choices__button,
.choices[data-type*=text] .choices__button {
  position: relative;
  display: inline-block;
  margin-top: 0;
  margin-right: -4px;
  margin-bottom: 0;
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid #008fa1;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);
  background-size: 8px;
  width: 8px;
  line-height: 1;
  opacity: 0.75;
  border-radius: 0;
}

.choices[data-type*=select-multiple] .choices__button:hover,
.choices[data-type*=select-multiple] .choices__button:focus,
.choices[data-type*=text] .choices__button:hover,
.choices[data-type*=text] .choices__button:focus {
  opacity: 1;
}

.choices__inner {
  display: inline-block;
  vertical-align: top;
  width: 100%;
  background-color: #f9f9f9;
  padding: 7.5px 7.5px 3.75px;
  border: 1px solid #dddddd;
  border-radius: 2.5px;
  font-size: 14px;
  min-height: 44px;
  overflow: hidden;
}

.is-focused .choices__inner,
.is-open .choices__inner {
  border-color: #b7b7b7;
}

.is-open .choices__inner {
  border-radius: 2.5px 2.5px 0 0;
}

.is-flipped.is-open .choices__inner {
  border-radius: 0 0 2.5px 2.5px;
}

.choices__list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.choices__list--single {
  display: inline-block;
  padding: 4px 16px 4px 4px;
  width: 100%;
}

[dir=rtl] .choices__list--single {
  padding-right: 4px;
  padding-left: 16px;
}

.choices__list--single .choices__item {
  width: 100%;
}

.choices__list--multiple {
  display: inline;
}

.choices__list--multiple .choices__item {
  display: inline-block;
  vertical-align: middle;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  margin-right: 3.75px;
  margin-bottom: 3.75px;
  background-color: #00bcd4;
  border: 1px solid #00a5bb;
  color: #ffffff;
  word-break: break-all;
  box-sizing: border-box;
}

.choices__list--multiple .choices__item[data-deletable] {
  padding-right: 5px;
}

[dir=rtl] .choices__list--multiple .choices__item {
  margin-right: 0;
  margin-left: 3.75px;
}

.choices__list--multiple .choices__item.is-highlighted {
  background-color: #00a5bb;
  border: 1px solid #008fa1;
}

.is-disabled .choices__list--multiple .choices__item {
  background-color: #aaaaaa;
  border: 1px solid #919191;
}

.choices__list--dropdown {
  visibility: hidden;
  z-index: 1;
  position: absolute;
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  top: 100%;
  margin-top: -1px;
  border-bottom-left-radius: 2.5px;
  border-bottom-right-radius: 2.5px;
  overflow: hidden;
  word-break: break-all;
  will-change: visibility;
}

.choices__list--dropdown.is-active {
  visibility: visible;
}

.is-open .choices__list--dropdown {
  border-color: #b7b7b7;
}

.is-flipped .choices__list--dropdown {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: -1px;
  border-radius: 0.25rem 0.25rem 0 0;
}

.choices__list--dropdown .choices__list {
  position: relative;
  max-height: 300px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  will-change: scroll-position;
}

.choices__list--dropdown .choices__item {
  position: relative;
  padding: 10px;
  font-size: 14px;
}

[dir=rtl] .choices__list--dropdown .choices__item {
  text-align: right;
}

@media (min-width: 640px) {
  .choices__list--dropdown .choices__item--selectable {
    padding-right: 100px;
  }

  .choices__list--dropdown .choices__item--selectable:after {
    content: attr(data-select-text);
    font-size: 12px;
    opacity: 0;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
  }

  [dir=rtl] .choices__list--dropdown .choices__item--selectable {
    text-align: right;
    padding-left: 100px;
    padding-right: 10px;
  }

  [dir=rtl] .choices__list--dropdown .choices__item--selectable:after {
    right: auto;
    left: 10px;
  }
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
  background-color: #f2f2f2;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted:after {
  opacity: 0.5;
}

.choices__item {
  cursor: default;
}

.choices__item--selectable {
  cursor: pointer;
}

.choices__item--disabled {
  cursor: not-allowed;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  opacity: 0.5;
}

.choices__heading {
  font-weight: 600;
  font-size: 12px;
  padding: 10px;
  border-bottom: 1px solid #f7f7f7;
  color: gray;
}

.choices__button {
  text-indent: -9999px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.choices__button:focus {
  outline: none;
}

.choices__input {
  display: inline-block;
  vertical-align: baseline;
  background-color: #f9f9f9;
  font-size: 14px;
  margin-bottom: 5px;
  border: 0;
  border-radius: 0;
  max-width: 100%;
  padding: 4px 0 4px 2px;
}

.choices__input:focus {
  outline: 0;
}

[dir=rtl] .choices__input {
  padding-right: 2px;
  padding-left: 0;
}

.choices__placeholder {
  opacity: 0.5;
}

/*=====  End of Choices  ======*/
.auth {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.auth-wrapper {
  padding: 88rem 213rem 108rem 213rem;
  background: #F8F9FC;
  box-shadow: 0px 4px 10px rgba(87, 131, 172, 0.25);
  border-radius: 15px;
}

.auth-wrapper--long {
  margin-top: 93rem;
  margin-bottom: 54rem;
}

.auth-wrapper--short .auth-form__reference {
  margin-left: 37rem;
}

.auth__logo {
  margin-bottom: 30rem;
  width: 240rem;
  margin-left: auto;
  margin-right: auto;
}

.auth__title {
  font-size: 20rem;
  font-family: "Montserrat";
  font-weight: 500;
  text-align: center;
  line-height: 24.38rem;
  margin-bottom: 22rem;
}

.registration__title {
  margin-bottom: 42rem;
}

.auth__jumpin {
  font-family: "Montserrat";
  font-size: 18rem;
  line-height: 21.94rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 46rem;
  max-width: 475rem;
  margin-left: auto;
  margin-right: auto;
}

.auth__jumpin a {
  position: relative;
  transition: color 0.25s;
}

.auth__jumpin a:hover {
  color: #2F6E5B;
  transition: color 0.25s;
}

.auth__jumpin a:hover:after {
  transition: background 0.25s;
  background: #2F6E5B;
}

.auth__jumpin a::after {
  content: "";
  position: absolute;
  background: #363636;
  width: 100%;
  height: 1rem;
  left: 0;
  bottom: 2rem;
  transition: background 0.25s;
}

.auth-form__wrap {
  position: relative;
  margin-bottom: 30rem;
}

.auth-form__wrap--last {
  margin-bottom: 20px;
}

.auth-form__wrap--little {
  margin-bottom: 10rem;
}

.auth__input {
  width: 603rem;
  height: 70rem;
  padding: 24rem 36rem 22rem 36rem;
  font-size: 20rem;
  line-height: 24.38rem;
  color: #B0B6CA;
  background: #FFFFFF;
  border: 1px solid #CCD6ED;
  box-sizing: border-box;
  border-radius: 5px;
  transition: border 0.25s;
  font-family: "Montserrat";
}

.auth__input:focus {
  transition: border 0.25s;
  border: 1px solid #2F6E5B;
}

.auth__input::placeholder {
  color: #B0B6CA;
}

.auth__label {
  font-family: "Montserrat";
  font-weight: 400;
  font-size: 16rem;
  line-height: 19.5rem;
  background: #F8F9FC;
  position: absolute;
  top: -10rem;
  left: 33rem;
  padding-left: 5rem;
  padding-right: 5rem;
  color: #B0B6CA;
}

.auth__checkbox--true {
  display: inline-block;
  width: 30rem;
  height: 30rem;
  background: #fff;
  border: 1px solid #CCD6ED;
  cursor: pointer;
}

.auth__checkbox--true {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16rem;
  transition: border 0.25s;
}

.auth__checkbox--true:hover {
  border: 1px solid #2F6E5B;
}

.auth__checkbox--true svg {
  display: none;
}

.auth-form__label {
  display: flex;
  align-items: center;
  font-weight: 500;
  margin-bottom: 13rem;
  transition: color 0.25s;
  font-size: 16rem;
}

.auth-form__label:hover {
  color: #2F6E5B;
}

.auth-form__label:hover a::after {
  background: #2F6E5B;
  transition: background 0.25s;
}

.auth-form__label a {
  position: relative;
}

.auth-form__label a:after {
  content: "";
  width: 100%;
  height: 1rem;
  background: #363636;
  position: absolute;
  bottom: 2rem;
  left: 0;
  transition: background 0.25s;
}

.auth__checkbox {
  display: none;
}

.checkbox:checked+.auth__checkbox--true svg {
  display: block;
  width: 15rem;
}

.auth__forgot {
  font-weight: 500;
  margin-bottom: 37rem;
  display: block;
  font-size: 16rem;
}

.auth__forgot a {
  color: #2F6E5B;
  position: relative;
}

.auth__forgot a::after {
  content: "";
  position: absolute;
  bottom: 2rem;
  width: 100%;
  height: 1rem;
  background: #2F6E5B;
  left: 0;
}

.auth__reference {
  max-width: 575rem;
  font-size: 16rem;
  line-height: 19.5rem;
  color: #B0B6CA;
}

.auth__button {
  width: 296rem;
  color: #fff;
  font-size: 18rem;
  font-family: "Montserrat";
  font-weight: 500;
  line-height: 29.94rem;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.auth__form {
  margin-bottom: 30rem;
}

.auth-form__reference {
  display: block;
  font-family: "Montserrat";
  font-weight: 500;
  font-size: 16rem;
  max-width: 485rem;
  margin-bottom: 30rem;
}

.header {
  top: 0;
  z-index: 10000;
  padding-top: 20rem;
  padding-bottom: 21rem;
  background: #F8F9FC;
  box-shadow: 0px 4px 5px rgba(87, 131, 172, 0.15);
  border-radius: 0px 15px 15px 0px;
}

@media only screen and (max-width: 650px) {
  .header {
    padding-top: 15rem;
    padding-bottom: 15rem;
  }
}

.header-left {
  display: flex;
  align-items: center;
}

.header__logo {
  width: 240rem;
  margin-right: 143rem;
}

@media only screen and (max-width: 650px) {
  .header__logo {
    width: 126rem;
    margin-right: 0;
  }
}

.header__logo svg,
.header__logo img {
  width: 100%;
  height: 63rem;
}

@media only screen and (max-width: 650px) {

  .header__logo svg,
  .header__logo img {
    height: 30rem;
  }
}

.header__pdf {
  font-size: 18rem;
  margin-right: 40rem;
}

.header__pdf a {
  display: flex;
  align-items: center;
  color: #B0B6CA;
  transition: color 0.25s;
}

.header__pdf a:hover {
  color: #363636;
}

.header__pdf a:hover svg path {
  transition: stroke 0.25s;
  stroke: #363636;
}

.header__pdf svg {
  width: 22rem;
  height: 22rem;
  margin-right: 9rem;
}

.header__pdf svg path {
  transition: stroke 0.25s;
}

@media only screen and (max-width: 650px) {
  .header__pdf {
    display: none;
  }
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

@media only screen and (max-width: 650px) {
  .header__search {
    display: none;
  }
}

.header__nav {
  display: none;
}

@media only screen and (max-width: 650px) {
  .header__nav {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    position: relative;
  }
}

@media only screen and (min-width: 651px) {
  .header__nav a {
    width: 25rem;
    height: 25rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .header__nav a span {
    display: block;
    width: 25rem;
    height: 1px;
    background: #363636;
    position: relative;
  }

  .header__nav a span:before {
    content: "";
    position: absolute;
    width: 25rem;
    height: 1px;
    background: #363636;
    top: -7rem;
    transition: transform 0.25s;
  }

  .header__nav a span:after {
    content: "";
    position: absolute;
    width: 25rem;
    height: 1px;
    background: #363636;
    bottom: -7rem;
    transition: transform 0.25s;
  }

  .header__nav .header__nav--active span {
    height: 0;
  }

  .header__nav .header__nav--active span:before {
    top: 0;
    transform: rotate(45deg);
  }

  .header__nav .header__nav--active span:after {
    top: 0;
    bottom: auto;
    transform: rotate(-45deg);
  }

  .content-wrapper {
    width: 1814rem;
    margin-left: 15rem;
    padding-top: 15rem;
    display: flex;
    justify-content: space-between;
  }
}

@media only screen and (max-width: 650px) {
  .content-wrapper {
    width: 100%;
    margin-left: 0;
  }
}

.content-wrapper--big {
  width: 1890rem !important;
}

@media only screen and (max-width: 650px) {
  .content-wrapper {
    width: 100% !important;
  }
}

.content__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media only screen and (max-width: 650px) {
  .content__wrapper {
    flex-wrap: wrap;
  }
}

.content__wrapper .content-column {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 18rem;
  font-weight: 500;
}

.content__wrapper .content-column a {
  display: flex;
  align-items: center;
}

.content__wrapper .content-column a:first-child {
  transition: color 0.25s;
  margin-right: 56rem;
}

@media only screen and (max-width: 650px) {
  .content__wrapper .content-column a:first-child {
    margin-right: 20rem;
    font-size: 12rem;
  }
}

.content__wrapper .content-column a:first-child svg {
  width: 26rem;
  height: 26rem;
  margin-right: 9rem;
}

@media only screen and (max-width: 650px) {
  .content__wrapper .content-column a:first-child svg {
    width: 16rem;
    height: 16rem;
  }
}

.content__wrapper .content-column a:first-child svg path {
  stroke: #363636;
}

.content__wrapper .content-column a:first-child:hover {
  color: #2F6E5B;
}

.content__wrapper .content-column a:first-child:hover svg path {
  stroke: #2F6E5B;
}

.content__wrapper .content-column a:nth-child(2) {
  margin-right: 15rem;
}

@media only screen and (max-width: 650px) {
  .content__wrapper .content-column a:nth-child(2) {
    margin-right: 10rem;
  }
}

.content__wrapper .content-column a:nth-child(2) svg {
  width: 25rem;
  height: 25rem;
}

@media only screen and (max-width: 650px) {
  .content__wrapper .content-column a:nth-child(2) svg {
    width: 16rem;
    height: 16rem;
  }
}

.content__wrapper .content-column a:nth-child(2) svg path {
  transition: fill 0.25s;
}

.content__wrapper .content-column a:nth-child(2):hover svg path {
  fill: #2F6E5B;
}

.content__wrapper .content-column a:nth-child(3) svg {
  width: 25rem;
  height: 25rem;
}

@media only screen and (max-width: 650px) {
  .content__wrapper .content-column a:nth-child(3) svg {
    width: 16rem;
    height: 16rem;
  }
}

.content__wrapper .content-column a:nth-child(3) svg path {
  transition: stroke 0.25s;
}

.content__wrapper .content-column a:nth-child(3):hover svg path {
  stroke: #2F6E5B;
}

.content-search__wrapper {
  width: 308rem;
}

@media only screen and (max-width: 650px) {
  .content-search__wrapper {
    width: 100%;
    margin-bottom: 15rem;
    font-size: 14rem;
  }
}

.content__profile {
  position: sticky;
  top: 0;
  padding-top: 10rem;
  width: 464rem;
  height: fit-content;
  min-width: 464rem;
  background: #F8F9FC;
  border-radius: 15rem;
  text-align: center;
  padding-left: 10rem;
  padding-right: 10rem;
  box-shadow: 0px 4px 10px rgba(87, 131, 172, 0.25);
}

@media only screen and (max-width: 650px) {
  .content__profile {
    position: absolute;
    border: none;
    width: 100%;
    min-width: unset;
    padding-left: 0;
    padding-right: 0;
    padding-top: 25rem;
    height: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s;
  }
}

.content__profile--active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}

.content-avatar-wrap {
  width: 110rem;
  height: 110rem;
  border-radius: 50%;
  border: 1rem solid #CCD6ED;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15rem;
}

@media only screen and (max-width: 650px) {
  .content-avatar-wrap {
    margin-bottom: 20rem;
  }
}

.content__avatar {
  width: 100rem;
  height: 100rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.content__avatar img {
  width: auto;
  height: 100%;
}

/*
.content-profile__name {
  font-weight: 500;
  line-height: 24.38rem;
  margin-bottom: 8rem;
  font-size: 20rem;
}
@media only screen and (max-width: 650px) {
  .content-profile__name {
    font-size: 18rem;
    margin-bottom: 5rem;
  }
}*/

.content-profile__profession {
  font-weight: 500;
  font-size: 18rem;
  margin-bottom: 23rem;
  color: #B0B6CA;
}

.content-profile__materials {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30rem;
  border-bottom: 1rem solid #CCD6ED;
}

@media only screen and (max-width: 650px) {
  .content-profile__materials {
    padding-bottom: 20rem;
  }
}

.content-materials__border {
  display: block;
  width: 1rem;
  height: 20rem;
  background: #CCD6ED;
}

.content-materials__link {
  width: 190rem;
  font-size: 18rem;
}

@media only screen and (max-width: 650px) {
  .content-materials__link {
    font-size: 16rem;
    width: 140rem;
  }
}

.content-materials__link:first-child {
  text-align: right;
}

.content-materials__link:last-child {
  text-align: left;
}

/*
.content-profile__tarif {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 26rem;
  padding-bottom: 26rem;
  border-bottom: 1rem solid #CCD6ED;
}
@media only screen and (max-width: 650px) {
  .content-profile__tarif {
    padding-top: 22rem;
    padding-bottom: 22rem;
  }
}*/

.content__tarif-title {
  display: flex;
  align-items: center;
  font-weight: 500;
  color: #2F6E5B;
  margin-right: 9rem;
}

@media only screen and (max-width: 650px) {
  .content__tarif-title {
    font-size: 16rem;
  }
}

.content__tarif-title svg {
  margin-right: 9rem;
}

.content__tarif-kind {
  font-weight: 500;
}

@media only screen and (max-width: 650px) {
  .content__tarif-kind {
    font-size: 16rem;
  }
}

.content-profile__list {
  list-style: none;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-left: 25rem;
  padding-right: 25rem;
}

@media only screen and (max-width: 650px) {
  .content-profile__list {
    padding-left: 0;
    padding-right: 0;
  }
}

.content-profile__item {
  font-weight: 500;
  margin-bottom: 20rem;
  border-radius: 5rem;
  transition: background 0.25s;
}

@media only screen and (max-width: 650px) {
  .content-profile__item {
    border-radius: 0;
    width: 100%;
    margin-bottom: 0;
  }
}

.content-profile__item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 188rem;
  height: 115rem;
  color: #363636;
  transition: color 0.25s;
  font-size: 16rem;
}

.content-profile__item a div {
  position: relative;
}

.content-profile__item a div svg.control-pages-status {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 20px;
  height: auto;
}

.content-profile__item.content-profile__item--active a div svg circle:nth-child(1),
.content-profile__item:hover a div svg circle:nth-child(1) {
  fill: #326E5B;
}

.content-profile__item.content-profile__item--active a div svg circle:nth-child(2),
.content-profile__item:hover a div svg circle:nth-child(2) {
  fill: #fff;
}

.content-profile__item.content-profile__item--active a div svg g path,
.content-profile__item:hover a div svg g path {
  fill: #326E5B;
}

/* .content-profile__item.content-profile__item--active a div svg.control-pages-status {
  fill:
} */
@media only screen and (max-width: 650px) {
  .content-profile__item a {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: auto;
    width: 100%;
    padding: 15rem 20rem;
  }
}

/* .content-profile__item a svg, */
.content-profile__item a img {
  width: 40rem;
  height: 40rem;
  margin-bottom: 10rem;
}

@media only screen and (max-width: 650px) {

  .content-profile__item a svg,
  .content-profile__item a img {
    width: 23rem;
    height: 23rem;
    margin-bottom: 0;
    margin-right: 10rem;
  }
}

.content-profile__item a svg path,
.content-profile__item a img path {
  transition: fill 0.25s;
  /* fill: #363636; */
}

.content-profile__item a span {
  display: flex;
  line-height: 22.5rem;
}

@media only screen and (max-width: 650px) {
  .content-profile__item a span {
    max-width: 100%;
  }
}

.content-profile__item:hover {
  background: #2F6E5B;
}

.content-profile__item:hover a {
  color: #fff;
}

.content-profile__item:hover a svg path {
  fill: #fff;
}

.content-profile__item:hover a img {
  filter: invert(1);
}

.content-profile__item--active {
  background: #2F6E5B;
}

.content-profile__item--active a {
  color: #fff;
}

.content-profile__item--active a svg path {
  fill: #fff;
}

.content-profile__item--active a img {
  filter: invert(1);
}

.content__title {
  font-weight: 600;
  font-size: 60rem;
}

@media only screen and (max-width: 650px) {
  .content__title {
    font-size: 22rem;
    margin-bottom: 0rem;
  }
}

.content__image-wrap {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50rem;
}

@media only screen and (max-width: 650px) {
  .content__image-wrap {
    margin-bottom: 40rem;
    align-items: flex-start;
    flex-direction: column-reverse;
  }
}

.content__image-wrap .content__img {
  width: 49%;
}

@media only screen and (max-width: 650px) {
  .content__image-wrap .content__img {
    width: 100%;
  }
}

.content__image-wrap img {
  height: 100%;
  object-fit: contain;
}

.content__image-wrap .content__img-inner {
  width: auto;
  max-width: 100%;
  height: 428rem;
  margin-bottom: 30rem;
  border-radius: 5rem;
  overflow: hidden;
  background: #fff;
}

@media only screen and (max-width: 650px) {
  .content__image-wrap .content__img-inner {
    height: auto;
    width: 100%;
    max-height: 350rem;
    background: none;
  }
}

.content__content {
  width: 1297rem;
  padding-bottom: 76rem;
  padding-top: 0;
}

@media only screen and (max-width: 650px) {
  .content__content {
    padding-top: 0rem;
    padding-top: 25rem;
    width: 100%;
    padding-left: 20rem;
    padding-right: 20rem;
    padding-bottom: 50rem;
  }
}

.content__rivertime {
  width: 100%;
  padding-bottom: 76rem;
  padding-top: 0;
}

@media only screen and (max-width: 650px) {
  .content__rivertime {
    padding-top: 30rem;
    padding-bottom: 53rem;
    width: 100%;
  }
}

.content-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50rem;
}

.content-wrap .histories__preview {
  margin-bottom: 0;
  padding: 0 !important;
}

@media only screen and (max-width: 650px) {
  .content-wrap .histories__preview {
    padding: 15rem 15rem 20rem 15rem !important;
  }
}

.content-wrap .content__histories {
  padding-bottom: 46rem;
}

.content-wrap .histories__title {
  font-weight: 400;
}

@media only screen and (max-width: 650px) {
  .content-wrap {
    margin-bottom: 40rem;
    align-items: flex-start;
    flex-direction: column-reverse;
  }
}

.content-wrap .content__img {
  width: 665rem;
}

@media only screen and (max-width: 650px) {
  .content-wrap .content__img {
    width: 100%;
    margin-bottom: 30rem;
  }
}

.content-wrap .content__text {
  max-width: 616rem;
}

@media only screen and (max-width: 650px) {
  .content-wrap .content__text {
    width: 100%;
  }
}

.content__subtitle {
  font-weight: 500;
  font-size: 40rem;
  margin-bottom: 14rem;
  margin-top: 50rem;
  margin-left: 3rem;
}

@media only screen and (max-width: 650px) {
  .content__subtitle {
    font-size: 18rem;
    margin-top: 40rem;
    margin-bottom: 20rem;
    font-weight: 600;
  }
}

.content__img {
  display: flex;
  flex-direction: column;
  max-width: 665rem;
}

@media only screen and (max-width: 650px) {
  .content__img {
    width: 100%;
  }
}

.content__reference {
  margin-top: 15rem;
  font-size: 22rem;
}

@media only screen and (max-width: 650px) {
  .content__reference {
    font-size: 14rem;
    margin-top: 11rem;
  }
}

.content__slider {
  width: 100%;
  /* height: 750rem; */
  position: relative;
}

@media only screen and (max-width: 650px) {
  .content__slider {
    width: 100%;
    height: 200rem;
  }
}

.content__slide {
  /* height: 677rem; */
  width: 100%;
}

.content__slide img {
  max-height: 677rem;
  width: 100%;
  object-fit: contain;
  object-position: center !important;
  background: #F8F9FC;
}

@media only screen and (max-width: 650px) {
  .content__slide {
    height: 200rem;
  }

  .content__slide img {
    height: 200rem;
    object-fit: cover;
  }
}

.content-slider__navigation {
  width: 156rem;
  height: 46rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 27rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  background: #313131;
}

.content-slider__button {
  height: 100%;
  width: 46rem;
  border: none;
  background: #313131;
}

.content-slider__button svg path {
  fill: #fff;
}

#add_new_alt_slider {
  position: relative;
}

#add_new_alt_slider:hover::after {
  display: block;
}

#add_new_alt_slider::after {
  display: none;
  position: absolute;
  content: "Изменить подпись";
  font-family: "Montserrat";
  font-weight: 400;
  top: -270%;
  right: -100%;
  font-size: 13px;
  background-color: #fff;
  color: #5B5B5B;
  text-align: center;
  width: 185px;
  padding: 8px 0;
  border-radius: 5px;
  box-shadow: 0px 2px 4px #ccc;
}

.flickity-prev-next-button {
  display: none;
}

.content-slide__title {
  display: flex;
  justify-content: space-around;
  background: #363636;
  color: #fff;
  font-style: italic;
  font-weight: 400;
  padding: 13rem 17rem;
  width: 99%;
  margin: 0 auto;
  cursor: default;
}

.content-slide__title input {
  cursor: unset;
  width: 90%;
  background: transparent;
  border: 0;
  color: #fff;
  font-style: italic;
  font-weight: 400;
  cursor: text;
}

.content-slide__title .content-slide__buttons {
  display: flex;
}

.content-slide__title #set_new_alt_slider {
  display: none;
}

.content-slide__title #reset_new_alt_slider {
  display: none;
}

@media only screen and (max-width: 650px) {
  .content-slide__title {
    transform: translateY(100%);
    font-size: 14rem;
    width: 100%;
    left: 0;
    bottom: 0;
    border-radius: 0rem 0rem 5rem 5rem;
    line-height: 17.07rem;
    visibility: visible;
    opacity: 1;
  }

  .content-slide__title:hover {
    transform: translateY(100%);
  }
}

.content__slide:hover .content-slide__title {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

@media only screen and (max-width: 650px) {
  .content__slide:hover .content-slide__title {
    transform: translateY(100%);
  }
}

@media only screen and (max-width: 650px) {
  .content__slide:hover:hover .content-slide__title {
    transform: translateY(0);
  }
}

.contemporaries-filters {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.contemporaries__tooltip {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16rem;
  font-weight: 700;
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  box-shadow: 0px 7.38095px 18.4524px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  position: relative;
}

.contemporaries__refference {
  width: 344rem;
  padding: 18rem 15rem;
  position: absolute;
  top: -100rem;
  right: -10rem;
  font-weight: 400;
  font-size: 14rem;
  border-radius: 4rem;
  box-shadow: 0px 0px 7.77112px rgba(0, 0, 0, 0.2);
  background: #fff;
}

.contemporaries__triangle {
  position: absolute;
  bottom: -12.56rem;
  right: 8rem;
  width: 25.14px;
  height: 26.27px;
  background: #fff;
  border-radius: 3.88556px;
  transform: matrix(0.71, 0.8, -0.62, 0.71, 0, 0);
}

.contemporaries__triangle--dark {
  position: absolute;
  bottom: -12.56rem;
  right: 8rem;
  width: 25.14px;
  height: 26.27px;
  background: #fff;
  border-radius: 3.88556px;
  transform: matrix(0.71, 0.8, -0.62, 0.71, 0, 0);
  box-shadow: 0px 0px 7.77112px rgba(0, 0, 0, 0.2);
  z-index: -1;

}

.arrow_content__back {
  cursor: pointer;
  font-size: 18rem;
  display: flex;
  align-items: center;
  transition: color 0.25s;
}

.close_content__back {
  cursor: pointer;
  position: absolute;
  top: -20rem;
  right: -20rem;
  font-size: 18rem;
  display: flex;
  align-items: center;
  transition: color 0.25s;
}

@media only screen and (max-width: 650px) {
  .content__back {
    font-size: 14rem;
  }
}

.content__back svg {
  width: 10rem;
  height: 8rem;
  margin-right: 16rem;
  margin-left: 3rem;
}

.content__back svg path {
  stroke: #363636;
  transition: stroke 0.25s;
}

.content__back:hover {
  color: #2F6E5B;
}

.content__back:hover svg path {
  stroke: #2F6E5B;
}

.content__relative {
  padding-bottom: 50rem;
  width: 100%;
  border-bottom: 1rem solid #CCD6ED;
}

@media only screen and (max-width: 650px) {
  .content__relative {
    padding-bottom: 20rem;
  }
}

.content__header {
  margin-bottom: 30rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media only screen and (max-width: 650px) {
  .content__text .content__header {
    display: none;
  }
}

@media only screen and (max-width: 650px) {
  .histories .content__header {
    flex-direction: column;
    margin-bottom: 0;
    align-items: start;
  }

  .histories .relative__id {
    margin-top: 20rem;
    border: 1rem solid #CCD6ED;
  }
}

.relative {
  padding-top: 42rem;
}

@media only screen and (max-width: 650px) {
  .relative {
    padding-top: 10rem;
  }
}

.content__header {
  margin-bottom: 23rem;
}

@media only screen and (max-width: 650px) {
  .content__header {
    padding-top: 10rem;
    margin-bottom: 15rem;
  }
}

.content__header .relative__id {
  border: 1rem solid #CCD6ED;
}

/* .content__tree {
  width: 1411rem;
  border-radius: 15rem;
  background: #f8f9fc;
  padding: 25rem 35rem 35rem 35rem;
} */
@media only screen and (max-width: 650px) {
  /* .content__tree {
    padding: 20rem 15rem 15rem 15rem;
    width: 100%;
  } */
}

/* .content__tree .content__head {
  margin-bottom: 13rem;
} */

.content__body {
  border: 1rem solid #CCD6ED;
  border-radius: 5rem;
  background: #fff;
}

@media only screen and (max-width: 650px) {
  .content__body {
    height: 490rem;
  }

  .content__body img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}

.content__list {
  padding-left: 0;
  list-style: none;
}

.content__item {
  margin-bottom: 5rem;
}

.content__item a {
  color: #2F6E5B;
  position: relative;
}

.content__item a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  background: #2F6E5B;
  height: 1rem;
  transition: width 0.25s;
}

.content__item a:hover:before {
  width: 100%;
}

.section__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80rem;
}

@media only screen and (max-width: 650px) {
  .section__nav {
    margin-bottom: 41rem;
  }
}

.autobiography__main-autobiography {
  margin-bottom: 62rem;
}

@media only screen and (max-width: 650px) {
  .autobiography__main-autobiography {
    margin-bottom: 24rem;
  }
}

.main-autobiography {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media only screen and (max-width: 650px) {
  .main-autobiography {
    display: block;
  }
}

.main-autobiography strong {
  font-weight: 500;
}

.main-autobiography__text {
  width: 707rem;
  height: auto;
}

@media only screen and (max-width: 650px) {
  .main-autobiography__text {
    width: 100%;
    margin-bottom: 15rem;
  }
}

.main-autobiography__text p {
  margin-bottom: 25rem;
}

@media only screen and (max-width: 650px) {
  .main-autobiography__text p {
    margin-bottom: 15rem;
  }
}

.main-autobiography__text p:last-child {
  margin-bottom: 0;
}

.main-autobiography__text p a {
  color: #2F6E5B;
  text-decoration: underline;
  font-weight: 600;
}

.main_photo_frame {
  display: flex;
  padding: 16px;
  flex-flow: column;
  align-items: center;
  justify-content: center;
}

.gor {
  width: 703rem;
}

.vert {
  min-width: 25%;
}

.contemporaries-filters {
  width: 100%;
}

.contemporaries__avatar {
  width: 90rem;
  height: 90rem;
  margin-right: 34.41rem;
  border-radius: 50%;
  overflow: hidden;
}

.contemporaries__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contemporaries__people {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  position: relative;
  list-style: none;
}

.contemporaries__item {
  display: flex;
  background: #F8F9FC;
  margin-bottom: 20rem;
  padding: 15rem 25rem 26rem 34rem;
  border-radius: 5rem;
}

@media only screen and (max-width: 650px) {
  .contemporaries__item {
    padding: 20rem 15rem 30rem 15rem;
    flex-direction: column;
  }
}

.contemporaries__line {
  display: flex;
}

.contemporaries__line:first-child {
  justify-content: space-between;
  margin-bottom: 8px;
}

@media only screen and (max-width: 650px) {
  .contemporaries__line:first-child {
    margin-bottom: 16rem;
  }
}

.contemporaries__line:nth-child(2) {
  margin-bottom: 14rem;
}

@media only screen and (max-width: 650px) {
  .contemporaries__line:nth-child(2) {
    margin-bottom: 16rem;
  }
}

@media only screen and (max-width: 650px) {
  .contemporaries__line:nth-child(3) {
    flex-direction: column;
  }
}

.contemporaries__info {
  width: 100%;
}

.contemporaries__name {
  font-size: 22rem;
}

@media only screen and (max-width: 650px) {
  .contemporaries__name {
    font-size: 18rem;
    font-weight: 500;
  }
}

.contemporaries__id {
  font-size: 18rem;
  color: #B0B6CA;
}

@media only screen and (max-width: 650px) {
  .contemporaries__id {
    font-size: 14rem;
  }
}

.contemporaries__relative {
  font-size: 16rem;
  font-weight: 500;
  z-index: 0;
  position: relative;
}

.contemporaries__year {
  font-size: 18rem;
  margin-right: 32rem;
}

@media only screen and (max-width: 650px) {
  .contemporaries__year {
    margin-right: 0;
    margin-bottom: 5rem;
    font-size: 16rem;
    font-weight: 500;
  }
}

.contemporaries__life {
  font-size: 18rem;
  font-weight: 500;
}

@media only screen and (max-width: 650px) {
  .contemporaries__life {
    font-size: 16rem;
    font-weight: 400;
  }
}

.contemporaries__block {
  display: flex;
  justify-content: space-between;
}

@media only screen and (max-width: 650px) {
  .contemporaries__block {
    margin-bottom: 20rem;
  }
}

.relative__info {
  display: flex;
  justify-content: space-between;
}

@media only screen and (max-width: 650px) {
  .relative__info {
    flex-direction: column;
  }
}

.relative__avatar {
  width: 413rem;
  height: 450rem;
  margin-right: 20rem;
  overflow: hidden;
}

@media only screen and (max-width: 650px) {
  .relative__avatar {
    height: auto;
    width: 100%;
    margin-bottom: 30rem;
    margin-right: 0;
  }
}

.relative__name {
  font-size: 22rem;
}

.relative__about {
  width: 871rem;
  display: flex;
  flex-direction: column;
}

@media only screen and (max-width: 650px) {
  .relative__about {
    width: 100%;
  }
}

.relative__title {
  width: 230rem;
  font-size: 18rem;
  margin-right: 28rem;
}

@media only screen and (max-width: 650px) {
  .relative__title {
    font-size: 16rem;
    margin-bottom: 5rem;
    font-weight: 500;
  }
}

.relative__item {
  display: flex;
  margin-bottom: 17rem;
}

.relative__item:nth-child(5) {
  margin-bottom: 0;
}

@media only screen and (max-width: 650px) {
  .relative__item {
    flex-direction: column;
  }
}

.relative__value {
  width: 100%;
  font-size: 18rem;
  position: relative;
}

.relative__value a {
  color: #2F6E5B;
  position: relative;
  text-decoration: underline;
}

.relative__value a:hover {
  text-decoration: none;
}

.relative__value a:nth-child(2) {
  position: relative;
}

@media only screen and (max-width: 650px) {
  .relative__value {
    font-size: 16rem;
  }

  .relative__value a {
    display: inline-block;
    margin-bottom: 3rem;
  }
}

.relative__more {
  padding-left: 0;
  list-style: none;
  margin-top: 0;
  margin-bottom: 0;
}

.relative__line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.relative__line:last-child {
  margin-top: -7rem;
}

.relative__plus {
  cursor: pointer;
  position: relative;
  z-index: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 16rem;
  color: #fff;
  margin-left: 15rem;
}

.relative__plus::before {
  cursor: pointer;
  content: "";
  position: absolute;
  width: 44rem;
  height: 44rem;
  background: #2F6E5B;
  color: #fff;
  z-index: -1;
  border-radius: 50%;
}

.relative__id {
  padding: 16rem 40rem;
  border: 1rem solid #CCD6ED;
  border-radius: 63rem;
}

@media only screen and (max-width: 650px) {
  .relative__id {
    padding: 10rem 20rem;
    font-size: 12rem;
    width: 140rem;
    margin-top: 0;
  }
}

.relative__relative {
  font-size: 16rem;
  font-weight: 500;
}

.relative__header {
  margin-bottom: 40rem;
}

@media only screen and (max-width: 650px) {
  .relative__header {
    margin-bottom: 20rem;
  }
}

.relative__button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24rem;
  font-size: 16rem;
  width: 191rem;
  height: 31rem;
  font-family: "Montserrat";
  background: #F8F9FC;
  border: 1rem solid #CCD6ED;
  color: #2F6E5B;
  transition: border 0.25s;
  border-radius: 3rem;
}

.relative__button:hover {
  border: 1rem solid #2F6E5B;
}

@media only screen and (max-width: 650px) {
  .relative__button {
    font-size: 14rem;
  }
}

@media only screen and (max-width: 650px) {
  .relative__name {
    margin-bottom: 10rem;
    font-size: 18rem;
    font-weight: 500;
  }
}

.relative h1,
.relative h2,
.relative h3,
.relative h4,
.relative h5,
.relative h6 {
  margin-bottom: 20rem;
}

.relative img {
  object-fit: contain;
  object-position: left;
}

.rivertime-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 58rem;
}

@media only screen and (max-width: 650px) {
  .rivertime-header {
    flex-direction: column;
    align-items: start;
    margin-bottom: 0;
    padding-left: 20rem;
    padding-right: 20rem;
    margin-bottom: 40rem;
  }

  .rivertime-header .content__title {
    margin-bottom: 20rem;
  }
}

.rivertime__content {
  padding-left: 80rem;
  display: flex;
  justify-content: space-between;
}

@media only screen and (max-width: 650px) {
  .rivertime__content {
    padding-left: 0;
  }
}

.rivertime__line {
  height: 100%;
  width: 2rem;
  background: #313131;
}

.rivertime__info {
  width: 1220rem;
}

@media only screen and (max-width: 650px) {
  .rivertime__info {
    width: 100%;
    border-left: none;
  }
}

.rivertime__article {
  width: 975rem;
  padding: 25rem;
  background: #F8F9FC;
  font-size: 22rem;
  margin-left: 54rem;
  margin-bottom: 24rem;
  display: flex;
  border-radius: 5rem;
}

@media only screen and (max-width: 650px) {
  .rivertime__article {
    flex-direction: column;
    margin-left: 0;
    width: 100%;
    padding: 20rem 16rem;
    font-size: 16rem;
    margin-bottom: 16rem;
  }
}

.rivertime__year {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  position: relative;
}

@media only screen and (max-width: 650px) {
  .rivertime__year {
    flex-direction: column;
  }

  .rivertime__year::before {
    display: none;
  }
}

.rivertime__year .rivertime-year {
  display: flex;
  height: fit-content;
  position: sticky;
  top: 150rem;
}

@media only screen and (max-width: 650px) {
  .rivertime__year .rivertime-year {
    position: static;
    margin-bottom: 25rem;
  }
}

.rivertime__year--value {
  display: flex;
  position: relative;
  color: #B0B6CA;
  font-weight: 500;
  font-size: 40rem;
  transition: color 0.25s;
}

@media only screen and (max-width: 650px) {
  .rivertime__year--value {
    font-size: 29rem;
    margin-top: 8rem;
    margin-left: 17rem;
  }
}

.rivertime__dot {
  width: 29rem;
  height: 29rem;
  background: #F6F6F6;
  transform: rotate(45deg) translate(10rem);
  margin-left: 29rem;
  transition: background 0.25s;
}

@media only screen and (max-width: 650px) {
  .rivertime__dot {
    margin-left: 15rem;
    width: 20rem;
    height: 20rem;
    transform: rotate(45deg) translate(15rem, 7rem);
  }
}

.rivertime__year--active::before {
  opacity: 1;
}

.rivertime__year--active .rivertime__year--value {
  color: #363636;
}

.rivertime__year--active .rivertime__dot {
  background: #2F6E5B;
}

.rivertime__image {
  width: 335rem;
  height: 365rem;
  margin-right: 35rem;
  min-width: 335rem;
  overflow: hidden;
}

@media only screen and (max-width: 650px) {
  .rivertime__image {
    min-width: unset;
    width: 100%;
    height: auto;
    margin-bottom: 20rem;
  }
}

.with-image p {
  width: 545rem;
}

@media only screen and (max-width: 650px) {
  .with-image p {
    width: 100%;
  }
}

@media only screen and (max-width: 650px) {

  .histories .choices,
  .rivertime .choices {
    width: 100%;
  }
}

@media only screen and (max-width: 650px) {

  .histories .sort-wrapper .select-icon,
  .rivertime .sort-wrapper .select-icon {
    width: 12rem !important;
    font-size: 14rem;
  }
}

@media only screen and (max-width: 650px) {
  .choices[data-type*=select-one] .choices__inner {
    display: flex;
    align-items: center;
    padding: 10rem 15rem;
  }
}

@media only screen and (max-width: 650px) {
  .choices__list--single .choices__item {
    font-size: 14rem;
  }
}

@media only screen and (max-width: 650px) {

  .histories .choices__inner,
  .rivertime .choices__inner {
    height: 45rem;
  }
}

@media only screen and (max-width: 650px) {
  .rivertime__articles {
    padding-left: 20rem;
    padding-right: 20rem;
  }
}

.histories__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.histories__types {
  display: flex;
  list-style: none;
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 0;
  cursor: pointer;
}

@media only screen and (max-width: 650px) {
  .histories__types {
    width: 100%;
    justify-content: space-between;
    margin-bottom: 15rem;
    margin-top: 15rem;
  }
}

.histories__filters {
  display: flex;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media only screen and (max-width: 650px) {
  .histories__filters {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .histories__filters form {
    width: 100%;
  }

  .histories__filters form #search {
    width: 100%;
    padding: 8.5rem 20rem;
    font-size: 12rem;
  }
}

.histories__type {
  position: relative;
}

.histories__type a {
  border-radius: 63rem;
  height: 54rem;
  width: 159rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media only screen and (max-width: 650px) {
  .histories__type a {
    width: 95rem;
    height: 30rem;
    font-size: 13rem;
  }
}

.histories__type--active a {
  border: 1rem solid #2F6E5B;
}

.histories-keywords__button {
  width: 314rem;
  height: 54rem;
  border-radius: 63rem;
  border: 1rem solid #2F6E5B;
  color: #363636;
  font-size: 16rem;
  background: #fff;
  font-family: "Montserrat";
  font-weight: 500;
  transition: box-shadow 0.25s, background 0.25s, border 0.25s;
}

.histories-keywords__button--active {
  box-shadow: inset 1.60648px 1.60648px 8.03239px rgba(116, 116, 116, 0.25);
  background: #F8F9FC;
  border: 1rem solid #fff;
}

@media only screen and (max-width: 650px) {
  .histories-keywords__button {
    width: 100%;
    font-size: 14rem;
    padding: 8.5rem 20rem;
    height: auto;
  }
}

.histories-biglist__checkbox--true {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 17rem;
  height: 17rem;
  border-radius: 1.6rem;
  border: 1rem solid #CCD6ED;
  cursor: pointer;
  transition: border 0.25s;
}

.histories-biglist__checkbox--true svg {
  width: 11rem;
  height: 10rem;
}

.histories-biglist {
  width: 100%;
  background: #F8F9FC;
  border-radius: 4rem;
  padding-left: 10rem;
  padding-right: 10rem;
  overflow: hidden;
  transition: all 0.5s ease-in;
  height: fit-content;
  max-height: 0;
}

.histories-biglist--active {
  margin-top: 26rem;
  transition: all 0.5s ease-in;
  max-height: 600rem;
}

@media only screen and (max-width: 650px) {
  .histories-biglist--active {
    overflow: scroll;
  }
}

.historis-biglist__favourites {
  font-size: 16rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 151rem;
  height: 36rem;
  background: #fff;
  border-radius: 30rem;
  font-weight: 500;
  transition: background 0.25s;
  cursor: pointer;
  margin-bottom: 14rem;
  margin-top: 16rem;
}

.historis-biglist__favourites:hover {
  background: #E9EBF1;
}

.historis-biglist__favourites svg {
  width: 20rem;
  margin-right: 12rem;
}

.historis-biglist__favourites svg path {
  transition: fill 0.25s;
  fill: #363636;
}

.historis-biglist__favourites--active {
  background: #B0B6CA;
  color: #fff;
}

.historis-biglist__favourites--active:hover {
  color: #363636;
}

.historis-biglist__favourites--active:hover svg path {
  fill: #363636;
}

.historis-biglist__favourites--active:focus {
  border: 1rem solid #2F6E5B;
}

.historis-biglist__favourites--active svg path {
  transition: fill 0.25s;
  fill: #fff;
}

.histories-biglist__categories {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  padding-bottom: 54rem;
}

.histories-biglist__category {
  width: 304rem;
  padding-right: 10rem;
}

.histories-biglist__category:nth-child(-n+4) {
  margin-bottom: 34rem;
}

.histories-biglist__header {
  display: flex;
  align-items: center;
  font-size: 16rem;
  margin-bottom: 23rem;
  font-weight: 500;
}

.histories-biglist__header svg {
  margin-right: 12rem;
  width: 20rem;
  height: 17rem;
}

.histories-biglist__list {
  list-style: none;
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 16rem;
}

.histories-biglist__list--more {
  font-weight: 500;
  font-size: 16rem;
  padding-left: 6rem;
  text-decoration: underline;
  transition: color 0.25s;
  background: none;
  border: none;
}

.histories-biglist__list--more:hover {
  color: #2F6E5B;
}

@media only screen and (max-width: 650px) {
  .histories-biglist__list--more {
    padding-left: 0;
    display: block;
    margin-bottom: 21rem;
  }
}

.histories-biglist__item {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  align-items: center;
  padding: 2rem 4rem 3rem 6rem;
  border-radius: 2rem;
  font-size: 16rem;
  margin-bottom: 4rem;
}

.histories-biglist__item:hover .histories-biglist__checkbox--true {
  border: 1rem solid #2F6E5B;
}

.histories-biglist__item--active {
  background: #2F6E5B;
  color: #fff;
  transition: border 0.25s;
}

.histories-biglist__item--active .histories-biglist__checkbox--true {
  border: 1rem solid #2F6E5B;
}

.histories-biglist__result {
  padding-top: 15rem;
}

.histories-result__items {
  display: flex;
  flex-wrap: wrap;
}

.histories-result__item {
  display: flex;
  align-items: center;
  font-size: 16rem;
  padding: 10rem 15rem;
  border: 1rem solid #CCD6ED;
  border-radius: 63rem;
  margin-right: 10rem;
  margin-bottom: 10rem;
}

@media only screen and (max-width: 650px) {
  .histories-result__item {
    margin-bottom: 10rem;
  }
}

.histories-result__item--close {
  margin-left: 10rem;
  cursor: pointer;
  width: 12rem;
  height: 12rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.histories-result__item--close span {
  position: relative;
  display: block;
  width: 12rem;
  height: 0;
  background: #363636;
}

.histories-result__item--close span::before {
  content: "";
  position: absolute;
  top: 0rem;
  width: 100%;
  height: 1rem;
  left: 0;
  background: #363636;
  transform: rotate(45deg);
}

.histories-result__item--close span::after {
  content: "";
  position: absolute;
  top: 0rem;
  width: 100%;
  height: 1rem;
  left: 0;
  background: #363636;
  transform: rotate(-45deg);
}

.histories-result__count {
  margin-left: 443rem;
  font-size: 20rem;
  font-weight: 500;
  margin-top: 59rem;
}

@media only screen and (max-width: 650px) {
  .histories-result__count {
    margin-left: 0;
    text-align: center;
    font-size: 16rem;
    padding-left: 10rem;
    padding-right: 10rem;
    margin-top: 39rem;
    margin-bottom: 30rem;
  }
}

.histories__article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 21rem 20rem 22rem 19rem;
  margin-bottom: 20rem;
  cursor: pointer;
}

@media only screen and (max-width: 650px) {
  .histories__article {
    flex-direction: column;
    background: #F8F9FC;
    padding: 20rem 15rem;
    border-radius: 5rem;
  }
}

.histories__search-hidden {
  width: 308rem;
  height: 56rem;
}

.histories__thumb {
  width: 390rem;
  height: 300rem;
  overflow: hidden;
}

.histories__thumb_single {
  height: unset;
}

.histories__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

@media only screen and (max-width: 650px) {
  .histories__thumb {
    width: 100%;
    margin-bottom: 30rem;
  }
}

.histories__info {
  width: 848rem;
}

@media only screen and (max-width: 650px) {
  .histories__info {
    width: 100%;
  }
}

.histories__date {
  font-size: 16rem;
  font-weight: 500;
  margin-bottom: 27rem;
}

@media only screen and (max-width: 650px) {
  .histories__date {
    margin-bottom: 20rem;
    font-size: 14rem;
    font-weight: 400;
  }
}

.histories__title {
  max-width: 562rem;
  font-size: 20rem;
  font-weight: 500;
}

@media only screen and (max-width: 650px) {
  .histories__title {
    font-size: 16rem;
    max-width: 100%;
  }
}

.histories__excerpt {
  font-size: 18rem;
  margin-bottom: 14rem;
}

@media only screen and (max-width: 650px) {
  .histories__excerpt {
    font-size: 16rem;
  }
}

.histories__relatives {
  position: relative;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
}

.histories__relative {
  font-size: 16rem;
  color: #2F6E5B;
  padding: 5rem 14rem 5rem 11rem;
  background: #F8F9FC;
  border: 1rem solid #CCD6ED;
  border-radius: 3rem;
  margin-right: 4rem;
  transition: border 0.25s;
}

.histories__relative:hover {
  border: 1rem solid #2F6E5B;
  transition: border 0.25s;
}

@media only screen and (max-width: 650px) {
  .histories__relative {
    font-size: 14rem;
    color: #2F6E5B;
    padding: 5rem 10rem;
    margin-bottom: 10rem;
  }

  .histories__relative:last-child {
    margin-bottom: 0;
  }
}

.histories__calendar {
  margin-top: 56rem;
}

@media only screen and (max-width: 650px) {
  .histories__calendar {
    margin-top: 0;
  }
}

.histories-calendar__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.histories-calendar__title {
  font-size: 40rem;
  font-weight: 500;
}

@media only screen and (max-width: 650px) {
  .histories-calendar__title {
    display: none;
  }
}

.histories-calendar__navigation {
  display: flex;
  align-items: center;
  height: 31rem;
  width: 348rem;
  justify-content: space-between;
}

@media only screen and (max-width: 650px) {
  .histories-calendar__navigation {
    margin-top: 25rem;
    width: 100%;
  }
}

.histories-calendar__years {
  font-size: 18rem;
  display: flex;
  list-style: none;
  padding-left: 0;
  width: 218rem;
  justify-content: space-between;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 500;
  height: 31rem;
}

@media only screen and (max-width: 650px) {
  .histories-calendar__years {
    width: 199rem;
    font-size: 12rem;
  }
}

.histories-calendar__arrow--next,
.histories-calendar__arrow--prev {
  cursor: pointer;
  width: 41rem;
  height: 31rem;
  display: flex;
  align-items: center;
}

.histories-calendar__arrow--next svg,
.histories-calendar__arrow--prev svg {
  width: 100%;
  height: 100%;
}

@media only screen and (max-width: 650px) {

  .histories-calendar__arrow--next,
  .histories-calendar__arrow--prev {
    height: 20rem;
    width: 30rem;
  }
}

.histories-calendar__year {
  color: #B0B6CA;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.histories-calendar__year--active {
  color: #363636;
  font-size: 22rem;
  font-weight: 500;
  cursor: default;
}

@media only screen and (max-width: 650px) {
  .histories-calendar__year--active {
    font-size: 16rem;
    line-height: 125%;
  }
}

.histories-calendar__calendar {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  border: 1rem solid #cfcfcf;
}

@media only screen and (max-width: 650px) {
  .histories-calendar__calendar {
    flex-direction: column;
    margin-top: 16rem;
    border: none;
  }
}

.histories-item {
  flex-basis: 20%;
  height: 215rem;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-right: 1rem solid #cfcfcf;
}

@media only screen and (max-width: 650px) {
  .histories-item {
    width: 100%;
    border-right: none;
    border: 1rem solid #cfcfcf;
    margin-bottom: 21rem;
  }
}

.histories-item:nth-child(-n+5) {
  border-bottom: 1rem solid #cfcfcf;
}

.histories-item:nth-child(5n) {
  border-right: none;
}

.histories-item__year {
  background: #f6f6f6;
  border-top: 1rem solid #cfcfcf;
  text-align: center;
}

.histories-item--has-content .histories-item__content {
  overflow-y: scroll;
  position: relative;
  height: 238rem;
}

.histories-item__content {
  width: 100%;
  height: 100%;
  position: relative;
  padding: 12rem;
}

.histories-item__history {
  z-index: 5;
  position: relative;
  display: block;
  background: rgba(255, 255, 255, 0.9);
  font-size: 13rem;
  margin-bottom: 14rem;
  border-radius: 3rem;
  padding: 5rem 6rem;
}

.histories-item__history:hover {
  color: #2F6E5B;
  text-decoration: underline;
}

.histories-item__history:last-child {
  margin-bottom: 0;
}

.history-item__theme {
  position: absolute;
  top: 0;
  left: 0;
  filter: brightness(60%);
  height: 100%;
  width: 100%;
}

.history-item__theme img {
  object-fit: cover;
  height: 100%;
}

.gagarin-theme {
  background: url("../img/rivertime-image.png") center no-repeat;
  background-size: conatin;
}

@media only screen and (max-width: 650px) {
  .gagarin-theme {
    background-size: cover;
  }
}

.darken {
  background: rgba(0, 0, 0, 0.4);
}

.histories__preview {
  align-items: flex-start !important;
  padding: 0;
}

.histories__preview .histories__info {
  width: 889rem;
}

@media only screen and (max-width: 650px) {
  .histories__preview .histories__info {
    width: 100%;
  }
}

.histories__preview .histories__header {
  margin-bottom: 24rem;
}

@media only screen and (max-width: 650px) {
  .histories__preview .histories__header {
    margin-bottom: 20rem;
  }
}

.histories__preview .histories__line {
  align-items: flex-start;
}

.histories__preview .histories__date {
  margin-bottom: 10rem;
}

.histories__preview .histories__title {
  margin-bottom: 0;
}

.histories__preview .relative__line {
  width: 100%;
  align-items: flex-start;
}

@media only screen and (max-width: 650px) {
  .histories-keywords {
    margin-bottom: 15rem;
    width: 100%;
  }
}

@media only screen and (max-width: 650px) {

  .histories form,
  .histories .histories__search-block {
    width: 100%;
  }
}

@media only screen and (max-width: 650px) {
  .histories__id--mobile {
    font-size: 12rem;
    display: block;
    margin-left: auto;
    color: #B0B6CA;
    margin-bottom: 15rem;
  }
}

.histories__id--desktop {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  font-size: 18rem;
  font-family: "Montserrat", sans-serif;
  color: #363636;
  padding: 16rem 41rem;
  border: 1rem solid #CCD6ED;
  border-radius: 63rem;
}

@media only screen and (max-width: 650px) {
  .histories__id--desktop {
    display: none;
  }
}

.histories-info__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28rem;
}

@media only screen and (max-width: 650px) {
  .histories-info__header {
    margin-bottom: 20rem;
  }
}

@media only screen and (max-width: 650px) {
  .histories-biglist__accordions {
    width: 100%;
    padding-left: 0;
    list-style: none;
  }
}

.histories-biglist__accordion {
  margin-bottom: 10rem;
}

.histories-biglist-accordion__control {
  position: relative;
  width: 100%;
  padding: 16rem 15rem 16rem 10rem;
  border: 1rem solid #CCD6ED;
  background: #fff;
  font-size: 14rem;
  border-radius: 5rem;
}

.histories-biglist-accordion__content {
  max-height: 0;
  height: fit-content;
  opacity: 1;
  overflow: hidden;
  will-change: max-height;
  transition: all 0.25s;
}

.histories-more {
  padding-top: 43rem;
}

.media {
  padding-top: 17rem;
}

.media .histories__filters {
  justify-content: space-between;
}

@media only screen and (max-width: 650px) {
  .media .histories__filters {
    margin-top: 30rem;
  }
}

@media only screen and (max-width: 650px) {
  .media .content__back {
    font-size: 14rem;
    font-weight: 500;
    margin-bottom: 20rem;
  }

  .media .sort-wrapper {
    margin-bottom: 20rem;
  }
}

.media1 .histories__filters {
  margin-top: 14rem;
  justify-content: flex-end;
}

.media1 .content__header {
  margin-bottom: 18rem;
}

.media1 .sort-wrapper .select-icon {
  margin-top: -15rem;
}

.media__items {
  display: flex;
  justify-content: flex-start;
  list-style: none;
  padding-left: 0;
  flex-wrap: wrap;
}

.media__item {
  width: 305rem;
  margin-right: 25rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  margin-bottom: 48rem;
}

.media__item:nth-child(4n) {
  margin-right: 0;
}

.media__item:hover .media__thumb-overlay {
  opacity: 1;
  visibility: visible;
}

@media only screen and (max-width: 650px) {
  .media__item {
    margin-right: 0;
    margin-bottom: 30rem;
  }
}

.media__title {
  margin-top: 10rem;
  font-size: 16rem;
}

.media__thumb {
  position: relative;
  width: 100%;
  height: 202rem;
  background: #EAECF1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5rem;
}

.media__audio svg {
  width: 72rem;
}

.media__audio svg path {
  transition: stroke 0.25s;
}

.media__audio:hover .media__thumb-overlay svg path {
  stroke: #fff;
}

.media__doc svg {
  width: 26rem;
}

.media__doc svg path {
  transition: stroke 0.25s;
}

.media__doc:hover .media__thumb-overlay svg path {
  fill: #fff;
}

.media__thumb-overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
  border-radius: 5rem;
}

.media__thumb__button {
  width: 55rem;
  height: 55rem;
  background: #2F6E5B;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.media__thumb__button svg {
  width: 25rem;
}

.media__filters {
  margin-bottom: 18rem;
  display: flex;
  justify-content: space-between;
}

@media only screen and (max-width: 650px) {
  .media__filters {
    margin-bottom: 18rem;
    flex-direction: column;
  }
}

.media__kinds {
  display: flex;
  padding-left: 0;
  list-style: none;
  z-index: 3;
}

@media only screen and (max-width: 650px) {
  .media__kinds {
    justify-content: space-between;
  }
}

.media__kind {
  font-weight: 500;
  color: #B0B6CA;
  margin-right: 40rem;
  transition: color 0.25s;
  cursor: pointer;
}

.media__kind--active {
  color: #2F6E5B !important;
}

.media__kind:last-child {
  margin-right: 0;
}

.media__kind:hover {
  color: rgba(0, 0, 0, 0.7);
}

@media only screen and (max-width: 650px) {
  .media__kind {
    margin-right: 0;
  }
}

.media__year {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16rem;
  font-weight: 500;
  color: #B0B6CA;
  font-size: 20rem;
}

@media only screen and (max-width: 650px) {
  .media__year {
    justify-content: space-between;
    margin-bottom: 10rem;
    font-size: 16rem;
  }
}

.media__year label {
  display: flex;
  align-items: center;
}

.media__year input {
  margin-left: 15rem;
  margin-right: 15rem;
  border: 1rem solid #C4C4C4;
  width: 115rem;
  font-size: 16rem;
  text-align: center;
  height: 35rem;
  transition: border 0.25s;
  font-family: "Montserrat", sans-serif;
  border-radius: 3rem;
}

@media only screen and (max-width: 650px) {
  .media__year input {
    width: 110rem;
    font-size: 13rem;
    margin-right: 0;
  }
}

.media__year input::placeholder {
  color: #B0B6CA;
}

.media__year input:focus {
  border: 1rem solid #000;
}

.media__year button {
  padding: 0;
  height: 25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
}

.media__year button svg {
  width: 28rem;
}

.media__year button svg path {
  transition: fill 0.25s;
}

.media__year button:hover svg path {
  fill: #2F6E5B;
}

.media__tile {
  width: 636rem;
  height: 347rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-right: 25rem;
  margin-bottom: 25rem;
}

.media__tile:nth-child(2n) {
  margin-right: 0;
}

.media__tile a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.media__tile:hover .media__bg img {
  transform: scale(1.5);
}

@media only screen and (max-width: 650px) {
  .media__tile {
    margin-right: 0;
    width: 100%;
    height: 160rem;
    margin-bottom: 20rem;
  }
}

.media__tile--inner {
  width: 415rem;
  height: 314rem;
  margin-right: 25rem;
}

@media only screen and (max-width: 650px) {
  .media__tile--inner {
    margin-right: 0;
    height: 160rem;
  }
}

.media__tile--inner:nth-child(2n) {
  margin-right: 25rem;
}

@media only screen and (max-width: 650px) {
  .media__tile--inner:nth-child(2n) {
    margin-right: 0;
  }
}

.media__tile--inner:nth-child(3n) {
  margin-right: 0;
}

.media__tile--inner .media__name {
  margin-bottom: 26rem;
}

.media__tile--inner .media__categories {
  flex-wrap: wrap;
  width: 213rem;
}

.media__tile--inner .media__category {
  margin-bottom: 17rem;
}

@media only screen and (max-width: 650px) {
  .media__tile--inner .media__category {
    margin-bottom: 0;
  }
}

.media__tile--inner .media__category:nth-child(3),
.media__tile--inner .media__category:nth-child(4) {
  margin-bottom: 0;
}

.media__bg {
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
}

.media__bg:after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
}

.media__bg img {
  transform: scale(1);
  transition: transform 0.4s;
  object-fit: cover;
  height: 100%;
}

.media-main__year {
  color: #fff;
  z-index: 5;
  font-size: 18rem;
  margin-bottom: 7rem;
}

@media only screen and (max-width: 650px) {
  .media-main__year {
    font-size: 12rem;
  }
}

.media__name {
  color: #fff;
  z-index: 5;
  font-size: 22rem;
  margin-bottom: 85rem;
}

@media only screen and (max-width: 650px) {
  .media__name {
    margin-bottom: 32rem;
    font-size: 14rem;
  }
}

.media__categories {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
  z-index: 5;
  color: #fff;
  display: flex;
  width: 437rem;
  justify-content: space-between;
}

@media only screen and (max-width: 650px) {
  .media__categories {
    width: 239rem;
  }
}

.media__category {
  text-align: center;
}

.media__subtitle {
  font-size: 18rem;
}

@media only screen and (max-width: 650px) {
  .media__subtitle {
    font-size: 10rem;
  }
}

.media__icon {
  margin-bottom: 11rem;
}

@media only screen and (max-width: 650px) {
  .media__icon {
    margin-bottom: 6rem;
  }
}

.media__icon svg {
  width: 44rem;
  height: 44rem;
}

@media only screen and (max-width: 650px) {
  .media__icon svg {
    width: 20rem;
    height: 20rem;
  }
}

.media-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(30rem);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100000;
  transition: opacity 0.25s, visibility 0.25s, background 0.25s;
  overflow-y: scroll;
  padding-top: 30rem;
  padding-bottom: 30rem;
}

.media-modal--active {
  opacity: 1;
  visibility: visible;
}

@media only screen and (max-width: 650px) {
  .media-modal {
    padding-top: 89rem;
    padding-left: 10rem;
    padding-right: 10rem;
    background: rgba(0, 0, 0, 0.4);
  }
}

.media-modal__dialog {
  position: relative;
  width: 1738rem;
  background: #F8F9FC;
  margin: auto;
  box-shadow: 0px 4px 10px rgba(87, 131, 172, 0.25);
}

@media only screen and (max-width: 650px) {
  .media-modal__dialog {
    width: 100%;
    padding-top: 16rem;
  }
}

.media-modal__close {
  position: absolute;
  right: -23rem;
  top: -27rem;
  width: 67rem;
  height: 67rem;
  background: #2F6E5B;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.media-modal__close span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 15rem;
  height: 15rem;
  position: relative;
}

.media-modal__close span::before {
  content: "";
  position: absolute;
  display: block;
  transform: rotate(45deg);
  width: 2rem;
  height: 100%;
  left: 50%;
  background: #fff;
}

.media-modal__close span:after {
  content: "";
  position: absolute;
  display: block;
  transform: rotate(-45deg);
  width: 2rem;
  height: 100%;
  left: 50%;
  background: #fff;
}

@media only screen and (max-width: 650px) {
  .media-modal__close {
    position: relative;
    top: 0;
    margin-top: 0;
    width: 30rem;
    height: 30rem;
    right: 0;
  }

  .media-modal__close span {
    width: 10rem;
    height: 10rem;
  }

  .media-modal__close span::before,
  .media-modal__close span:after {
    width: 1rem;
  }
}

.media-modal__slider {
  width: 1144rem;
  z-index: 7;
}

@media only screen and (max-width: 650px) {
  .media-modal__slider {
    width: 100%;
  }
}

.media-modal-wrap {
  width: 1144rem;
  height: 899rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

@media only screen and (max-width: 650px) {
  .media-modal-wrap {
    width: 100%;
    flex-wrap: wrap;
    height: 234rem;
    align-items: flex-start;
    padding-left: 16rem;
    padding-right: 16rem;
  }

  .media-modal-wrap.audio {
    height: 50rem;
  }
}

.media-modal-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #F0F2F9;
}

.media-modal-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(40px);
}

.media-modal-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
}

.media-modal__slide {
  width: 100%;
}

.media-modal__navigation {
  position: absolute;
  bottom: 8rem;
}

@media only screen and (max-width: 650px) {
  .media-modal__navigation {
    bottom: 0;
    position: relative;
    width: 100%;
    margin-top: -12rem;
  }
}

.media-modal__right {
  width: 594rem;
}

@media only screen and (max-width: 650px) {
  .media-modal__right {
    width: 100%;
  }
}

.media-modal__head {
  display: flex;
}

@media only screen and (max-width: 650px) {
  .media-modal__head {
    flex-wrap: wrap;
    background: #F8F9FC;
  }
}

.media-modal__header {
  background: #F0F2F9;
  width: 100%;
  padding: 16rem 44rem 22rem 44rem;
}

@media only screen and (max-width: 650px) {
  .media-modal__header {
    background: #F8F9FC;
    padding: 30rem 16rem 24rem 16rem;
    border-bottom: 1rem solid #CCD6ED;
  }
}

.media-modal__id {
  padding: 16rem 41rem;
  border: 1rem solid #2F6E5B;
  border-radius: 63rem;
  width: fit-content;
  margin-bottom: 20rem;
}

@media only screen and (max-width: 650px) {
  .media-modal__id {
    padding: 10rem 20rem;
    font-size: 12rem;
    margin-bottom: 0;
  }
}

.media-modal__title {
  font-size: 22rem;
  width: 505rem;
  line-height: 26.82rem;
  margin-bottom: 17rem;
}

@media only screen and (max-width: 650px) {
  .media-modal__title {
    width: 100%;
    font-size: 16rem;
    font-weight: 500;
    line-height: 20rem;
    margin-bottom: 18rem;
    padding-left: 16rem;
    padding-right: 16rem;
  }
}

.media-modal__download {
  padding: 5rem 11rem;
  border: 0.625999px solid #CCD6ED;
  font-size: 16rem;
  color: #2F6E5B;
  transition: border 0.25s;
  background: #F8F9FC;
}

.media-modal__download:hover {
  border: 0.625999px solid #2F6E5B;
}

.media-modal__info {
  padding: 17rem 28rem 17rem 45rem;
  overflow-y: scroll;
  height: 679rem;
}

@media only screen and (max-width: 650px) {
  .media-modal__info {
    height: 100%;
    overflow: visible;
    padding: 0;
    padding-left: 16rem;
    padding-right: 16rem;
    padding-top: 24rem;
  }
}

.media-modal__date {
  font-weight: 500;
  font-size: 16rem;
  margin-bottom: 10rem;
}

@media only screen and (max-width: 650px) {
  .media-modal__date {
    font-size: 14rem;
    font-weight: 400;
    margin-bottom: 20rem;
  }
}

.media-modal__description {
  font-size: 18rem;
  font-weight: 400;
  margin-bottom: 25rem;
}

@media only screen and (max-width: 650px) {
  .media-modal__description {
    font-size: 16rem;
    line-height: 125%;
    margin-bottom: 42rem;
  }
}

.media-modal__subtitle {
  font-weight: 500;
  font-size: 18rem;
  margin-bottom: 11rem;
}

.media-modal__list {
  margin-top: 0;
  margin-bottom: 25rem;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding-left: 0;
}

.media-modal-video {
  width: 100%;
  height: 100%;
  background: black;
}

.media-modal-audio {
  background: #F0F2F9;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-modal-audio audio {
  width: 90%;
}

@media only screen and (max-width: 650px) {
  .media-modal-audio audio {
    width: 100%;
  }
}

.media-modal-audio audio::-webkit-media-controls-play-button,
.media-modal-audio audio::-webkit-media-controls-panel {
  background-color: #F0F2F9;
}

.media-modal-application {
  background: #F0F2F9;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-modal-application svg {
  width: 100rem;
  height: 100rem;
}

@media only screen and (max-width: 650px) {
  .media-modal-application svg {
    width: 50rem;
    height: 50rem;
  }
}

.media-modal-application iframe {
  width: 100%;
  height: 100%;
}

.media-modal__item {
  padding: 5rem 11rem;
  border: 1rem solid #CCD6ED;
  margin-right: 5rem;
  margin-bottom: 5rem;
  border-radius: 3rem;
  transition: border 0.25s;
  cursor: default;
}

.media-modal__item a {
  width: 100%;
  height: 100%;
}

.media-modal__item:hover {
  border: 1rem solid #2F6E5B;
}

@media only screen and (max-width: 650px) {
  .media-modal__item {
    color: #2F6E5B;
    font-size: 14rem;
    margin-right: 15rem;
    margin-bottom: 11rem;
  }
}

.media-modal__map {
  display: flex;
  position: relative;
  padding-left: 31rem;
  margin-bottom: 36rem;
}

.media-modal__map img {
  width: 16rem;
  height: 22rem;
  position: absolute;
  bottom: 1rem;
  left: 3rem;
}

@media only screen and (max-width: 650px) {
  .media-modal__map img {
    bottom: 0;
    left: 0;
    position: relative;
    margin-right: 8rem;
  }
}

.media-modal__map a {
  display: block;
  margin-left: 15rem;
  font-weight: 500;
  position: relative;
  color: #2F6E5B;
}

.media-modal__map a:before {
  content: "";
  width: 100%;
  position: absolute;
  bottom: 2rem;
  height: 1rem;
  background: #2F6E5B;
  transition: width 0.25s;
}

.media-modal__map a:hover:before {
  width: 0;
}

@media only screen and (max-width: 650px) {
  .media-modal__map {
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 39rem;
  }

  .media-modal__map span {
    display: flex;
    align-items: center;
  }

  .media-modal__map a {
    margin-top: 10rem;
    margin-left: 0;
    display: inline-block;
  }

  .media-modal__map a:before {
    width: 177rem;
    bottom: 1rem;
  }
}

.media-modal__quote {
  padding: 25rem;
  border: 1rem solid #CCD6ED;
  position: relative;
  margin-bottom: 20rem;
}

.media-modal__quote p {
  font-size: 18rem;
  margin-bottom: 10rem;
}

@media only screen and (max-width: 650px) {
  .media-modal__quote p {
    font-size: 13rem;
    line-height: 15.85rem;
    margin-bottom: 16rem;
  }
}

.media-modal__quote svg {
  position: absolute;
  background: #fff;
  top: -9rem;
  width: 20rem;
  height: 18rem;
}

@media only screen and (max-width: 650px) {
  .media-modal__quote {
    margin-bottom: 30rem;
    padding: 15rem 19rem 18rem 14rem;
  }
}

.media-modal__quote-date {
  font-size: 16rem;
  font-weight: 500;
}

@media only screen and (max-width: 650px) {
  .media-modal__quote-date {
    font-size: 14rem;
  }
}

.media-content {
  flex-direction: column;
  align-items: start !important;
}

.media-modal__body {
  padding-top: 34rem;
  width: 630rem;
  padding-left: 16rem;
  padding-bottom: 35rem;
}

@media only screen and (max-width: 650px) {
  .media-modal__body {
    width: 100%;
    padding-top: 0;
    padding-right: 16rem;
  }
}

.media-comments__title {
  margin-bottom: 13rem;
  font-size: 16rem;
}

@media only screen and (max-width: 650px) {
  .media-comments__title {
    font-size: 14rem;
  }
}

.media-comment__wrapper {
  display: flex;
  flex-direction: column;
  width: 447rem;
}

@media only screen and (max-width: 650px) {
  .media-comment__wrapper {
    width: 100%;
  }
}

.media-comment__head {
  display: flex;
  align-items: center;
}

.media-comment__avatar {
  width: 32rem;
  margin-right: 10rem;
}

.media-comment__name {
  font-size: 14rem;
  font-family: "Montserrat", sans-serif;
}

.media-comment__body {
  width: 100%;
  padding-left: 42rem;
  font-size: 12rem;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 12rem;
}

@media only screen and (max-width: 650px) {
  .media-comment__body {
    padding-left: 0;
    margin-top: 12rem;
    font-size: 10rem;
  }
}

.media-comment__footer {
  width: 100%;
  padding-left: 42rem;
  display: flex;
  justify-content: space-between;
  padding-bottom: 24rem;
}

@media only screen and (max-width: 650px) {
  .media-comment__footer {
    padding-left: 0;
  }
}

.media-comment__date {
  font-size: 10rem;
  color: #B0B6CA;
}

.media-comment__answer {
  font-size: 12rem;
  color: #363636;
  font-size: 10rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.media-modal-answer__tabs {
  font-size: 16rem;
  display: flex;
  padding-top: 24rem;
  padding-bottom: 16rem;
}

@media only screen and (max-width: 650px) {
  .media-modal-answer__tabs {
    padding-top: 0;
    font-size: 12rem;
  }
}

.media-modal-answer__tab {
  margin-right: 45rem;
  color: #B0B6CA;
}

.media-modal-answer__tab:last-child {
  margin-right: 0;
}

.media-modal-answer__tab--active {
  color: #363636;
}

@media only screen and (max-width: 650px) {
  .media-modal-answer__tab {
    margin-right: 0;
    text-align: center;
  }
}

.media-message__buttons {
  display: flex;
  justify-content: space-between;
}

.media-message__attachment,
.media-message__label--file {
  padding: 0;
  width: 30rem;
  height: 30rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  margin-right: 10rem;
  cursor: pointer;
}

.media-message__attachment svg,
.media-message__label--file svg {
  width: 21rem;
  height: 19rem;
}

.media-message__attachment svg path,
.media-message__label--file svg path {
  transition: fill 0.25s;
}

.media-message__attachment:hover svg path,
.media-message__label--file:hover svg path {
  fill: #2F6E5B;
}

@media only screen and (max-width: 650px) {

  .media-message__attachment,
  .media-message__label--file {
    width: 20rem;
    height: 20rem;
    margin-right: 5rem;
  }

  .media-message__attachment svg,
  .media-message__label--file svg {
    width: 14rem;
    height: 22rem;
  }
}

.media-message__smile {
  padding: 0;
  width: 30rem;
  height: 30rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
}

.media-message__smile svg {
  width: 20rem;
  height: 20rem;
}

.media-message__smile svg path {
  transition: fill 0.25s;
}

.media-message__smile:hover svg path {
  fill: #2F6E5B;
}

@media only screen and (max-width: 650px) {
  .media-message__smile {
    width: 20rem;
    height: 20rem;
  }

  .media-message__smile svg {
    width: 13rem;
    height: 13rem;
  }
}

.media-modal__answer {
  width: 100%;
  border-top: 1rem solid #B0B6CA;
}

@media only screen and (max-width: 650px) {
  .media-modal__answer {
    border-top: none;
  }
}

.media-message__group {
  display: flex;
}

.media-message__textarea {
  font-family: "Montserrat";
  width: 630rem;
  border: none;
  border-radius: 6rem;
  height: 110rem;
  padding: 16rem 16rem 40rem 16rem;
}

.media-message__textarea::placeholder {
  color: #B0B6CA;
}

@media only screen and (max-width: 650px) {
  .media-message__textarea {
    width: 100%;
    padding: 11rem 10rem 5rem 10rem;
  }
}

.media-modal-answer__message {
  position: relative;
}

.media-message__buttons {
  position: absolute;
  bottom: 16rem;
  width: 598rem;
  left: 16rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media only screen and (max-width: 650px) {
  .media-message__buttons {
    width: 100%;
    left: 10rem;
    padding-right: 20rem;
  }
}

.media-message__submit {
  padding: 5rem 12rem;
  background: #F8F9FC;
  border: 1rem solid #CCD6ED;
  border-radius: 3rem;
  font-size: 16rem;
  color: #2F6E5B;
  transition: border 0.25s;
  font-family: "Montserrat", sans-serif;
  border-radius: 3rem;
}

.media-message__submit:hover {
  border: 1rem solid #2F6E5B;
}

@media only screen and (max-width: 650px) {
  .media-message__submit {
    font-size: 14rem;
    padding: 5rem 10rem;
  }
}

@media only screen and (max-width: 650px) {
  .media-modal__bread {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30rem;
    padding-left: 16rem;
    padding-right: 16rem;
  }
}

.media-message__filename {
  padding: 7rem 17rem 7rem 17rem;
  border-radius: 30rem;
  background: #F8F9FC;
  color: #B0B6CA;
  font-size: 14rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10rem;
  opacity: 0;
  visibility: hidden;
}

@media only screen and (max-width: 650px) {
  .media-message__filename {
    font-size: 12rem;
    padding: 6rem 9rem 6rem 13rem;
    max-width: 105rem;
    margin-right: 4rem;
  }
}

.media-message__filename .media-message__name {
  text-overflow: ellipsis;
  width: 62rem;
  white-space: nowrap;
  overflow: hidden;
  text-align: right;
  direction: rtl;
}

.media-message__del {
  display: block;
  width: 10rem;
  height: 10rem;
  margin-left: 10rem;
  position: relative;
  cursor: pointer;
}

@media only screen and (max-width: 650px) {
  .media-message__del {
    margin-left: 5rem;
    width: 6rem;
    margin-left: 0;
  }
}

.media-message__del:before {
  content: "";
  width: 100%;
  height: 1rem;
  background: #B0B6CA;
  position: absolute;
  top: 50%;
  transform: rotate(45deg);
}

.media-message__del:after {
  content: "";
  width: 100%;
  height: 1rem;
  background: #B0B6CA;
  position: absolute;
  top: 50%;
  transform: rotate(-45deg);
}

.media-select {
  margin-bottom: 20rem;
}

.media {
  width: 1297rem;
  margin: 0 auto;
}

@media only screen and (max-width: 650px) {
  .media {
    width: 281rem;
    margin: 0 auto;
  }
}

.media__header {
  margin-bottom: 34rem;
}

.media__title {
  text-align: center;
}

.media__results {
  margin: 0 auto 112rem;
}

@media only screen and (max-width: 650px) {
  .media__results {
    margin: 0 auto 43rem;
  }
}

.media__media-nav {
  margin-bottom: 60rem;
}

@media only screen and (max-width: 650px) {
  .media__media-nav {
    margin-bottom: 42rem;
  }
}

.media__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 40rem;
  margin-bottom: 115rem;
  min-height: 400rem;
}

@media only screen and (max-width: 650px) {
  .media__list {
    min-height: unset;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 20rem;
    margin-bottom: 40rem;
  }
}

.media__empty {
  display: flex;
  justify-content: center;
  font-size: 24rem;
  font-weight: 500;
  opacity: 0.7;
  text-align: center;
}

.media-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24rem;
}

@media only screen and (max-width: 650px) {
  .media-nav__header {
    flex-direction: column;
    justify-content: center;
    margin-bottom: 14rem;
  }
}

.media-nav__header-left {
  display: flex;
  margin-left: auto;
}

@media only screen and (max-width: 650px) {
  .media-nav__header-left {
    margin-left: unset;
    display: block;
    width: 100%;
  }
}

.media-nav__media-calendar {
  position: relative;
  margin-right: 29rem;
}

@media only screen and (max-width: 650px) {
  .media-nav__media-calendar {
    margin-right: 0;
    margin-bottom: 14rem;
  }
}

@media only screen and (max-width: 650px) {
  .media-nav__select-keywords {
    margin-bottom: 14rem;
  }
}

.media-nav__keywords {
  display: none;
  margin-bottom: 24rem;
}

@media only screen and (max-width: 650px) {
  .media-nav__keywords {
    margin-bottom: 0;
  }
}

.media-nav__keywords.active {
  display: grid;
}

@media only screen and (max-width: 650px) {
  .media-nav__keywords.active {
    display: block;
  }
}

.media-nav__selected-tags {
  width: 1160rem;
  display: flex;
  flex-wrap: wrap;
  min-height: 97rem;
}

@media only screen and (max-width: 650px) {
  .media-nav__selected-tags {
    width: 100%;
    min-height: unset;
  }
}

.media-nav__tag-selected {
  margin-right: 15rem;
  margin-bottom: 15rem;
}

@media only screen and (max-width: 650px) {
  .media-nav__tag-selected {
    margin-right: 8rem;
    margin-bottom: 9rem;
  }
}

.media-nav__tag-selected:nth-last-child(-n+7) {
  margin-bottom: 0;
}

@media only screen and (max-width: 650px) {
  .media-nav__tag-selected:nth-last-child(-n+7) {
    margin-bottom: 10rem;
  }
}

@media only screen and (max-width: 650px) {
  .media-nav__tag-selected:last-child {
    margin-bottom: 0;
  }
}

.media-nav__search-wrapper {
  position: relative;
}

.media-nav__button {
  display: flex;
  justify-content: space-between;
}

@media only screen and (max-width: 650px) {
  .media-nav__button {
    flex-direction: column;
    justify-content: center;
  }
}

@media only screen and (max-width: 650px) {
  .media-nav__exclude {
    order: -1;
    margin-bottom: 14rem;
  }
}

.media-calendar {
  height: 68rem;
  width: 437rem;
}

@media only screen and (max-width: 650px) {
  .media-calendar {
    width: 100%;
    height: 48rem;
  }
}

.media-calendar.open .media-calendar__header {
  border: 1px solid #CFCFCF;
}

.media-calendar.open .media-calendar__container {
  opacity: 1;
}

.media-calendar__header {
  cursor: pointer;
  width: 437rem;
  height: 68rem;
  border-radius: 100rem;
  border: 1px solid transparent;
  position: absolute;
  top: 0;
  left: 0;
  background: #F6F6F6;
  padding: 20rem 42rem 17rem;
  display: flex;
  align-items: center;
  z-index: 100;
  transition: border 0.25s ease-in-out;
}

@media only screen and (max-width: 650px) {
  .media-calendar__header {
    width: 100%;
    height: 46rem;
    padding: 15rem 46rem;
  }
}

.media-calendar__selected-date {
  position: absolute;
  top: 50%;
  right: 13rem;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.media-calendar__icon {
  width: 26rem;
  height: 26rem;
  margin-right: 10rem;
}

@media only screen and (max-width: 650px) {
  .media-calendar__icon {
    width: 19rem;
    height: 19rem;
    margin-right: 8rem;
  }
}

.media-calendar__icon svg {
  width: 100%;
  height: 100%;
}

.media-calendar__container {
  position: absolute;
  top: 30rem;
  left: 0;
  border-radius: 5rem;
  border: 1px solid #CFCFCF;
  background: #F6F6F6;
  z-index: 10;
  overflow: hidden;
  height: 0;
  width: 436rem;
  transition: height 0.25s ease-in-out;
}

@media only screen and (max-width: 650px) {
  .media-calendar__container {
    width: 100%;
    top: 23rem;
  }
}

.media-calendar__wrap {
  padding: 65rem 31rem 24rem;
  width: 437rem;
}

@media only screen and (max-width: 650px) {
  .media-calendar__wrap {
    padding: 39rem 13rem 13rem;
    width: 100%;
  }
}

.media-calendar__nav {
  width: 100%;
  height: 38rem;
  background: #2F6E5B;
  border-radius: 2px;
  display: flex;
  justify-content: space-between;
  z-index: 10;
  color: #FFFFFF;
}

@media only screen and (max-width: 650px) {
  .media-calendar__nav {
    height: 27rem;
  }
}

.media-calendar__btn {
  min-width: 37rem;
  height: 100%;
  cursor: pointer;
  position: relative;
}

.media-calendar__btn svg {
  width: 10rem;
  height: 17rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.media-calendar__btn.prev {
  border-right: 1px solid #FFFFFF;
}

.media-calendar__btn.next {
  border-left: 1px solid #FFFFFF;
}

.media-calendar__block {
  position: relative;
  width: 373rem;
  height: 172rem;
}

@media only screen and (max-width: 650px) {
  .media-calendar__block {
    width: 100%;
    height: 116rem;
  }
}

.media-calendar__cell-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  background: #EBEBEB;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1px;
  border: 1px solid #EBEBEB;
}

.media-calendar__years-box {
  position: absolute;
  top: 0;
  left: 0;
}

.media-folder {
  width: 636rem;
  height: 347rem;
  position: relative;
  border-radius: 5rem;
  cursor: pointer;
  padding: 25rem 30rem;
  color: white;
  overflow: hidden;
}

.media-folder__blackout {
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.media-folder_sub {
  width: 415rem;
  height: 314rem;
  padding: 20rem;
}

.media-folder_sub .media-folder__id {
  margin-bottom: -15rem;
}

.media-folder_sub .media-folder__date {
  margin-bottom: 10rem;
}

.media-folder_sub .media-folder__title {
  font-size: 22rem;
  font-family: inherit;
  margin-bottom: 25rem;
}

@media only screen and (max-width: 650px) {
  .media-folder_sub .media-folder__title {
    margin-bottom: 10rem;
  }
}

.media-folder_sub .media-folder__content {
  flex-wrap: wrap;
}

.media-folder_sub .media-folder__content div+div {
  margin-left: 0;
}

.media-folder_sub .media-folder__content__item {
  flex-basis: 50%;
  font-size: 18rem;
  margin-bottom: 15rem;
}

@media only screen and (max-width: 650px) {
  .media-folder {
    width: 280rem !important;
    height: 160rem !important;
    padding: 4rem !important;
  }
}

.media-folder:hover .media-folder__background img {
  transform: scale(1.1);
}

.media-folder__background {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -10;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.media-folder__background img {
  width: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.25s ease-in-out;
}

.media-folder__id {
  width: fit-content;
  width: -moz-fit-content;
  margin-left: auto;
  padding: 8rem 42rem;
  border: 1px solid #B0B6CA;
  border-radius: 63rem;
  color: #B0B6CA;
  margin-bottom: 8rem;
  font-size: 18rem;
  font-weight: 500;
}

@media only screen and (max-width: 650px) {
  .media-folder__id {
    padding: 5rem 20rem !important;
    font-size: 8rem !important;
    margin-bottom: 1px !important;
  }
}

.media-folder__date {
  font-size: 20rem;
  margin-bottom: 5rem;
  text-align: center;
}

@media only screen and (max-width: 650px) {
  .media-folder__date {
    font-size: 12rem !important;
  }
}

.media-folder__title {
  font-family: "Source Serif Pro", sans-serif;
  font-size: 40rem;
  text-align: center;
  margin-bottom: 62rem;
}

@media only screen and (max-width: 650px) {
  .media-folder__title {
    font-size: 14rem !important;
    margin-bottom: 32rem;
  }
}

.media-folder__content {
  width: fit-content;
  width: -moz-fit-content;
  display: flex;
  margin: 0 auto;
}

.media-folder__content div+div {
  margin-left: 30rem;
}

@media only screen and (max-width: 650px) {
  .media-folder__content div+div {
    margin-left: 20rem;
  }
}

.media-folder__content__item {
  width: fit-content;
  width: -moz-fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 20rem;
}

@media only screen and (max-width: 650px) {
  .media-folder__content__item {
    font-size: 10rem !important;
  }
}

.media-folder__content__item svg {
  width: 44rem;
  height: 44rem;
  margin-bottom: 10rem;
}

@media only screen and (max-width: 650px) {
  .media-folder__content__item svg {
    width: 20rem !important;
    height: 20rem !important;
    margin-bottom: 5rem !important;
  }
}

.card-media {
  width: 305rem;
  height: fit-content;
  position: relative;
  cursor: pointer;
}

@media only screen and (max-width: 650px) {
  .card-media {
    width: 281rem;
  }
}

.card-media:hover .card-media__text span {
  background-size: 100% 1px;
  background-position: 0 100%;
  color: #2F6E5B;
}

.card-media__icon {
  position: absolute;
  top: 15rem;
  left: 15rem;
  width: 37rem;
  height: 37rem;
}

@media only screen and (max-width: 650px) {
  .card-media__icon {
    top: 10rem;
    left: 10rem;
  }
}

.card-media__icon svg {
  width: 100%;
  height: 100%;
}

.card-media__img {
  height: 202rem;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 11rem;
  background: #EAECF1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media only screen and (max-width: 650px) {
  .card-media__img {
    width: 100%;
    height: 187rem;
    margin-bottom: 8rem;
  }
}

.card-media__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-media__img-document svg {
  width: 45rem;
  height: 45rem;
}

.card-media__img-audio svg {
  width: 72rem;
  height: 41rem;
}

.card-media__img-video {
  position: absolute;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.6);
}

.card-media__img-video svg {
  width: 50rem;
  height: 50rem;
}

.card-media__text {
  overflow: hidden;
  height: 82rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 16rem;
}

@media only screen and (max-width: 650px) {
  .card-media__text {
    height: 40rem;
    font-size: 10rem;
  }
}

.card-media__text span {
  text-decoration: none;
  background-image: linear-gradient(#2F6E5B, #2F6E5B);
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: color 0.25s ease-in-out, background-size 0.25s;
}

.media-detail {
  width: 1660rem;
  margin: 0 auto;
}

@media only screen and (max-width: 650px) {
  .media-detail {
    width: 279rem;
  }
}

.media-detail__back {
  display: block;
  height: 24rem;
}

@media only screen and (max-width: 650px) {
  .media-detail__back {
    height: 34rem;
  }
}

.media-detail__container {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

@media only screen and (max-width: 650px) {
  .media-detail__container {
    display: block;
  }
}

.media-detail__left {
  width: 885rem;
  height: 588rem;
  border-radius: 5px;
  overflow: hidden;
}

@media only screen and (max-width: 650px) {
  .media-detail__left {
    width: 100%;
    height: 183rem;
    margin-bottom: 10rem;
  }
}

.media-detail__img {
  width: 100%;
  height: 100%;
}

.media-detail__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-detail__video-media {
  position: relative;
}

.media-detail__right {
  width: 721rem;
}

@media only screen and (max-width: 650px) {
  .media-detail__right {
    width: 100%;
  }
}

.media-detail__story-date {
  margin-bottom: 32rem;
}

@media only screen and (max-width: 650px) {
  .media-detail__story-date {
    margin-bottom: 10rem;
  }
}

.media-detail__title {
  margin-bottom: 32rem;
}

@media only screen and (max-width: 650px) {
  .media-detail__title {
    margin-bottom: 10rem;
  }
}

.media-detail__text {
  margin-bottom: 45rem;
}

@media only screen and (max-width: 650px) {
  .media-detail__text {
    margin-bottom: 20rem;
  }
}

.media-detail__tags {
  margin-bottom: 35rem;
}

@media only screen and (max-width: 650px) {
  .media-detail__tags {
    margin-bottom: 15rem;
  }
}

.media-detail__tags:last-child {
  margin-bottom: 54rem;
}

.media-detail__on-map {
  margin-bottom: 66rem;
}

@media only screen and (max-width: 650px) {
  .media-detail__on-map {
    margin-bottom: 45rem;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
}

.media-detail__cards {
  margin-bottom: 70rem;
}

@media only screen and (max-width: 650px) {
  .media-detail__cards {
    margin-bottom: 50rem;
  }
}

.media-detail__media-card {
  margin-bottom: 50rem;
}

.media-detail__media-card:last-child {
  margin-bottom: 0;
}

.media-detail__play-video {
  margin: 0 auto;
}

.media-detail__video-media {
  position: relative;
}

.video-media {
  width: 100%;
  height: 100%;
}

.video-media__img {
  width: 100%;
  height: 100%;
}

.video-media__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-media__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.video-media__play-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #FFFFFF;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1100;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  transition: opacity 0.25s ease-in-out;
}

.hidden {
  opacity: 0;
}

.video-player {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media only screen and (max-width: 650px) {
  .video-player {
    padding-top: 102rem;
    align-items: flex-start;
  }
}

.video-player__cont {
  height: 781rem;
  width: 1340rem;
  position: relative;
}

@media only screen and (max-width: 650px) {
  .video-player__cont {
    width: 279rem;
    height: 163rem;
  }
}

.video-player__player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  width: 100%;
  height: 100%;
}

.video-player__player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-player__btn {
  position: absolute;
  top: -80rem;
  left: 50%;
  transform: translateX(-50%);
  width: 67rem;
  height: 67rem;
  border-radius: 100rem;
  background: #2F6E5B;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media only screen and (max-width: 650px) {
  .video-player__btn {
    width: 42rem;
    height: 42rem;
  }
}

.video-player__btn svg {
  width: 16rem;
  height: 16rem;
}

.media-card {
  width: 100%;
  border: 1px solid #CFCFCF;
  border-radius: 5rem;
  padding: 52rem 24rem 52rem 43rem;
  position: relative;
}

@media only screen and (max-width: 650px) {
  .media-card {
    padding: 25rem 18rem 26rem 22rem;
  }
}

.media-card__story-date {
  margin-bottom: 20rem;
}

@media only screen and (max-width: 650px) {
  .media-card__story-date {
    margin-bottom: 15rem;
  }
}

.media-card__quote {
  width: 40rem;
  height: 25rem;
  position: absolute;
  background: #FFFFFF;
  display: flex;
  justify-content: center;
}

@media only screen and (max-width: 650px) {
  .media-card__quote {
    width: 29rem;
  }
}

.media-card__quote.open {
  top: -13rem;
  left: 40rem;
}

@media only screen and (max-width: 650px) {
  .media-card__quote.open {
    top: -11rem;
    left: 19rem;
  }
}

.media-card__quote.close {
  bottom: -13rem;
  right: 40rem;
}

@media only screen and (max-width: 650px) {
  .media-card__quote.close {
    bottom: -18rem;
    right: 19rem;
  }
}

.media-card__quote svg {
  width: 28rem;
  height: 25rem;
}

@media only screen and (max-width: 650px) {
  .media-card__quote svg {
    width: 20rem;
    height: 18rem;
  }
}

.play-video {
  color: #363636;
  display: flex;
  align-items: center;
}

.play-video_white {
  color: #FFFFFF;
}

.play-video__icon {
  width: 64rem;
  height: 64rem;
  margin-right: 13rem;
}

@media only screen and (max-width: 650px) {
  .play-video__icon {
    width: 39rem;
    height: 39rem;
    margin-right: 8rem;
  }
}

.play-video__icon svg {
  width: 100%;
  height: 100%;
}

.upload-btn svg {
  animation: rotation-more 3s linear 1s infinite running;
}

@keyframes rotation-more {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 365rem;
  height: 52rem;
  border-radius: 30rem;
  margin: 0 auto;
  box-shadow: 0px 7.38095px 18.4524px 2px rgba(0, 0, 0, 0.15);
}

@media only screen and (max-width: 650px) {
  .pagination {
    width: 100%;
  }
}

.pagination__arrow svg {
  width: 6rem;
  height: 11rem;
}

.pagination__list {
  display: flex;
  padding-left: 0;
  list-style: none;
}

.pagination__item {
  padding: 5rem 10rem;
  font-size: 18rem;
  font-weight: 600;
  color: #B0B6CA;
  transition: 0.25s color;
}

.pagination__item:hover {
  color: #2F6E5B;
}

@media only screen and (max-width: 650px) {
  .pagination__item {
    font-size: 13rem;
  }
}

.current__item {
  color: #2F6E5B;
}

.pagination__arrow {
  padding: 6rem 9rem;
  height: 25rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination__prev {
  margin-right: 5rem;
}

.pagination__next {
  margin-left: 5rem;
}

.search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 83rem;
}

.search-line {
  display: flex;
  justify-content: flex-end;
}

@media only screen and (max-width: 650px) {
  .search-line {
    flex-direction: column;
    padding-top: 35rem;
  }
}

.search-form__input {
  width: 587rem;
  padding-bottom: 4rem;
  font-size: 18rem;
  color: #000;
  border: none;
  border-bottom: 1rem solid #313131;
  font-family: "Montserrat", sans-serif;
}

.search-form__input::placeholder {
  color: #000;
}

@media only screen and (max-width: 650px) {
  .search-form__input {
    font-size: 14rem;
    width: 100%;
  }
}

.search-form {
  position: relative;
  margin-right: 50rem;
}

@media only screen and (max-width: 650px) {
  .search-form {
    margin-right: 0;
    margin-bottom: 17rem;
  }
}

.search-form__button {
  position: absolute;
  right: 0;
  top: -9rem;
  padding: 0;
  border: none;
  background: transparent;
}

.search-form__button svg {
  width: 25rem;
  height: 25rem;
}

.search-form__button svg path {
  fill: #000;
}

.search-show {
  font-size: 16rem;
  color: #2F6E5B;
  background: #F8F9FC;
  border: 1rem solid #CCD6ED;
  font-family: "Montserrat";
  padding: 5rem 10rem;
  transition: border 0.25s;
  margin-right: 17rem;
  border-radius: 3rem;
}

.search-show:hover {
  border: 1rem solid #2F6E5B;
}

.search-line__group {
  display: flex;
  align-items: center;
}

@media only screen and (max-width: 650px) {
  .search-line__group {
    justify-content: flex-end;
  }
}

.search__content {
  margin-top: 41rem;
}

.search__content .contemporaries__people {
  margin-top: 0;
  margin-bottom: 0;
}

.search__name {
  font-size: 22rem;
  padding-bottom: 5rem;
  border-bottom: 1rem solid #CCD6ED;
  margin-bottom: 20rem;
}

.search__more {
  cursor: pointer;
  font-weight: 500;
  position: relative;
  color: #000;
  transition: color 0.25s;
  font-size: 16rem;
}

.search__more::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 1rem;
  background: #000000;
  transition: width 0.25s;
}

@media only screen and (max-width: 650px) {
  .search__more {
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
  }

  .search__more~div {
    text-align: center;
  }
}

.search__more:hover {
  color: #2F6E5B;
}

.search__more:hover:before {
  width: 0;
}

.search__category {
  margin-bottom: 44rem;
}

@media only screen and (max-width: 650px) {
  .link-wrap {
    text-align: center;
  }
}

@media only screen and (max-width: 650px) {
  .rivertime-1 .search-media {
    width: 100%;
  }

  .rivertime-1 .media__item {
    width: 208rem;
  }

  .rivertime-1 .media__thumb {
    height: 130rem;
  }

  .rivertime-1 .search-media__item {
    margin-right: 20rem;
  }
}

.map .search-button {
  top: 0;
}

.map__sort {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.map__map {
  width: 100%;
  height: 681rem;
  background: #f8f8fc;
  position: relative;
  margin-bottom: 32rem;
}

.map .ymaps-2-1-79-balloon {
  width: 388rem;
  border-radius: 3rem;
}

.ymaps-2-1-79-balloon__layout {
  border-radius: 3rem;
}

.map__container {
  width: 300rem;
}

.map__title {
  margin-bottom: 10rem;
}

.map__title a {
  font-family: "Montserrat";
  font-size: 16rem;
  font-weight: 500 !important;
  line-height: 1.5;
  text-decoration: underline;
  color: #2F6E5B;
  position: relative;
}

.map__date {
  font-family: "Montserrat";
  font-weight: 500;
  display: flex;
  align-items: center;
  margin-bottom: 12rem;
  font-size: 16rem;
}

.map__date svg {
  width: 20rem;
  height: 17rem;
  margin-right: 14rem;
}

.ymaps-2-1-79-balloon__close-button {
  background: url("../img/closeballoon.png") no-repeat center !important;
  opacity: 1 !important;
  width: 12rem !important;
  height: 12rem !important;
  margin-top: 9rem;
  margin-right: 9rem;
}

.map__img {
  width: 140rem;
}

.map__img img {
  object-fit: cover;
}

.ymaps-2-1-79-balloon__content {
  margin-right: 0 !important;
  margin-top: 30rem !important;
  padding: 0rem 29rem 17rem 15rem !important;
  height: 194rem !important;
  overflow: scroll;
}

.map__overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: transparent;
  top: 0;
  left: 0;
  z-index: 5;
  display: none;
}

.map__item {
  padding-top: 15rem;
  padding-bottom: 11rem;
  border-bottom: 1rem solid #B0B6CA;
}

.map__item:first-child {
  padding-top: 0;
}

.map__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.map__button {
  padding: 0;
  color: #2F6E5B;
  border: 1rem solid #CCD6ED;
  transition: border 0.25s;
  background: #F8F9FC;
  padding: 5rem 12rem;
  margin-left: auto;
  margin-right: auto;
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 16rem;
  border-radius: 3rem;
}

.map__button:hover {
  border: 1rem solid #2F6E5B;
}

@media only screen and (max-width: 650px) {
  .map__sort {
    flex-direction: column;
  }

  .map__map {
    height: 539rem;
    margin-bottom: 23rem;
  }

  .map__overlay {
    display: block;
  }

  .ymaps-2-1-79-balloon__content {
    width: 180rem !important;
    height: 100% !important;
    padding: 0 !important;
    padding-left: 10rem !important;
    padding-right: 10rem !important;
  }

  .ymaps-2-1-79-balloon {
    width: 180rem !important;
    overflow: hidden;
  }

  .map__container {
    width: 160rem;
  }

  .ymaps-2-1-79-balloon__close+.ymaps-2-1-79-balloon__content {
    padding-right: 10rem !important;
  }

  .map__title a {
    font-size: 10rem;
  }

  .map__date {
    font-size: 10rem;
  }

  .map__date svg {
    width: 15rem;
    height: 13rem;
    margin-right: 9rem;
  }

  .map__img {
    width: 121rem;
  }

  .map__item {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }

  .map__item:first-child {
    padding-top: 0;
  }

  .map__item:last-child {
    padding-bottom: 0;
  }

  .map__button {
    font-size: 14rem;
  }
}

@media only screen and (max-width: 330px) {
  .ymaps-2-1-79-balloon__content {
    width: 100% !important;
    height: 260rem !important;
  }

  .ymaps-2-1-79-balloon {
    width: 100% !important;
  }

  .map__container {
    width: 100%;
  }
}

.footer {
  padding-top: 35rem;
  padding-bottom: 30rem;
}

.footer-wrapper {
  width: 1441rem;
  display: flex;
  justify-content: center;
  margin-left: auto;
  font-size: 20rem;
}

@media only screen and (max-width: 650px) {
  .footer-wrapper {
    width: 100%;
  }
}

@media only screen and (max-width: 650px) {
  .footer__copyright {
    font-size: 14rem;
  }
}

.stories {
  width: 1297rem;
  margin: 0 auto;
}

@media only screen and (max-width: 650px) {
  .stories {
    width: 279rem;
  }
}

.stories__header {
  margin-bottom: 34rem;
}

.stories__title {
  text-align: center;
}

.stories ul,
.stories ol,
.stories li {
  list-style-type: none;
}

.sort-stories {
  width: 1297rem;
  margin: 0 auto;
}

@media only screen and (max-width: 650px) {
  .sort-stories {
    width: 279rem;
  }
}

.sort-stories__header {
  margin-bottom: 82rem;
}

@media only screen and (max-width: 650px) {
  .sort-stories__header {
    margin-bottom: 39rem;
  }
}

.sort-stories__list {
  display: flex;
  margin: 0 auto;
  width: fit-content;
  width: -moz-fit-content;
}

@media only screen and (max-width: 650px) {
  .sort-stories__list {
    margin: 0;
    width: 100%;
    justify-content: space-between;
  }
}

.sort-stories__item {
  height: 55rem;
  width: 159rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100rem;
  cursor: pointer;
  color: #ADADAD;
  transition: color 0.25s ease-in-out, border 0.25s ease-in-out;
  border: 1px solid transparent;
  margin-right: 10rem;
}

@media only screen and (max-width: 650px) {
  .sort-stories__item {
    border: none;
    height: unset;
    width: auto;
    margin: 0;
    padding-bottom: 15rem;
  }
}

.sort-stories__item:last-child {
  margin-right: 0;
}

.sort-stories__item:hover {
  color: #363636;
}

.sort-stories__item.current {
  border: 1px solid #2F6E5B;
  color: #363636;
}

@media only screen and (max-width: 650px) {
  .sort-stories__item.current {
    border: none;
  }
}

.sort-stories__stories-card {
  margin-bottom: 36rem;
}

.sort-stories__stories-card:last-child {
  margin-bottom: 0;
}

.sort-stories__container {
  margin-bottom: 134rem;
}

@media only screen and (max-width: 650px) {
  .sort-stories__container {
    margin-bottom: 74rem;
  }
}

.sort-stories__search-wrapper {
  position: relative;
}

@media only screen and (max-width: 650px) {
  .sort-stories__select-keywords {
    margin-bottom: 14rem;
  }
}

.not-found {
  padding-top: 44rem;
  text-align: center;
}

@media only screen and (max-width: 650px) {
  .not-found {
    padding-top: 14rem;
  }
}

.not-found__message {
  margin-bottom: 46rem;
}

@media only screen and (max-width: 650px) {
  .not-found__message {
    width: 160rem;
    text-align: center;
    margin: 0 auto 27rem;
  }
}

.not-found__icon {
  width: 97rem;
  height: 97rem;
  margin: 0 auto;
}

@media only screen and (max-width: 650px) {
  .not-found__icon {
    width: 62rem;
    height: 62rem;
  }
}

.not-found__icon svg {
  width: 100%;
  height: 100%;
}

.sort-by-list__stories-nav {
  margin-bottom: 60rem;
}

@media only screen and (max-width: 650px) {
  .sort-by-list__stories-nav {
    margin-bottom: 42rem;
  }
}

.sort-by-list__list {
  margin-bottom: 100rem;
}

@media only screen and (max-width: 650px) {
  .sort-by-list__list {
    margin-bottom: 60rem;
    margin-top: 20rem;
  }
}

.sort-by-list__results {
  margin: 0 auto 43rem;
}

@media only screen and (max-width: 650px) {
  .sort-by-list__results {
    margin: 0 auto 43rem;
  }
}

.sort-by-list__upload-btn {
  margin: 0 auto;
}

.sort-by-list__not-found {
  margin: 0 auto;
}

.sort-by-list__story-card {
  margin: 0 auto 70rem;
}

@media only screen and (max-width: 650px) {
  .sort-by-list__story-card {
    margin: 0 auto 39rem;
  }
}

@media only screen and (max-width: 650px) {
  .sort-by-date__btn {
    height: fit-content;
  }
}

@media only screen and (max-width: 650px) {
  .sort-by-date__btn .animated-button {
    height: fit-content;
  }
}

@media only screen and (max-width: 650px) {
  .sort-by-date__btn .animated-button__text {
    font-size: 12px;
  }
}

.sort-by-date .animated-button {
  height: fit-content;
  display: flex;
  align-items: center;
}

.sort-by-date .animated-button__wrap {
  transform: none;
}

.sort-by-date .animated-button__icon {
  width: 41rem;
  height: 31rem;
}

@media only screen and (max-width: 650px) {
  .sort-by-date .animated-button__icon {
    width: 30rem;
    height: 20rem;
  }
}

.sort-by-date .animated-button__icon svg {
  width: 100%;
  height: 100%;
}

.sort-by-date__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 40rem 0 20rem;
}

@media only screen and (max-width: 650px) {
  .sort-by-date__header {
    margin: 20rem 0 10rem;
  }
}

.sort-by-date__header-title {
  font-size: 40rem;
  font-weight: 500;
}

@media only screen and (max-width: 650px) {
  .sort-by-date__header-title {
    display: none;
  }
}

.sort-by-date__nav {
  width: 350rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media only screen and (max-width: 650px) {
  .sort-by-date__nav {
    margin-bottom: 32rem;
  }
}

.sort-by-date__dates-sort {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0 20rem;
  font-size: 22rem;
  font-weight: 500;
  width: fit-content;
}

.sort-by-date__dates-sort p {
  width: max-content;
}

.sort-by-date__dates-sort_mob {
  display: none;
}

@media only screen and (max-width: 650px) {
  .sort-by-date__dates-sort_mob {
    display: block;
    z-index: 10;
  }
}

.sort-by-date__cont {
  width: 100%;
  min-height: 548rem;
  position: relative;
}

@media only screen and (max-width: 650px) {
  .sort-by-date__cont {
    min-height: 248rem;
  }
}

.sort-by-date__not-found {
  position: absolute;
  left: 50%;
  top: 30%;
  transform: translateX(-50%);
}

.sort-by-date__wrap {
  border: 1px solid #CFCFCF;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 1px;
  background: #CFCFCF;
  overflow: hidden;
}

@media only screen and (max-width: 650px) {
  .sort-by-date__wrap {
    display: none;
  }
}

.sort-by-date .prev,
.sort-by-date .next {
  color: #b0b6ca !important;
}

.sort-by-date__mobile-wrap {
  display: none;
}

@media only screen and (max-width: 650px) {
  .sort-by-date__mobile-wrap {
    display: block;
  }
}

.mobile-wrap__story-cell {
  margin-bottom: 21rem;
}

.mobile-wrap__story-cell:last-child {
  margin-bottom: 0;
}

.story-cell {
  flex-basis: 20%;
  height: 215rem;
  background: #FFFFFF;
  position: relative;
  font-size: 13rem;
}

@media only screen and (max-width: 650px) {
  .story-cell {
    width: 100%;
    height: 276rem;
  }
}

.story-cell__box {
  height: 100%;
  width: 100%;
  position: relative;
}

.story-cell__img {
  background: #F8F9FC;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.story-cell__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-cell__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.story-cell__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 190rem;
  padding: 12rem 0 12rem 12rem;
}

@media only screen and (max-width: 650px) {
  .story-cell__content {
    height: 240rem;
  }
}

/* .story-cell__wrapper {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  -ms-overflow-y: auto;
}
.story-cell__wrapper::-webkit-scrollbar {
  width: 8rem;
}
.story-cell__wrapper::-webkit-scrollbar-thumb {
  background: #2F6E5B;
  border-radius: 4rem;
}
.story-cell__wrapper::-webkit-scrollbar-track-piece {
  background: #F8F9FC;
} */
.story-cell__list {
  width: 100%;
  padding-right: 12rem;
}

.story-cell__item {
  width: 100%;
  padding: 7rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 5rem;
  margin-bottom: 10rem;
}

.story-cell__item p,
.story-cell__item a {
  display: inline;
  text-decoration: none;
  background-image: linear-gradient(#2F6E5B, #2F6E5B);
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size 0.5s, color 0.25s ease-in-out;
  color: inherit;
}

.story-cell__item p:hover,
.story-cell__item a:hover {
  color: #2F6E5B;
  background-size: 100% 1px;
  background-position: 0 100%;
}

.story-cell__month {
  position: absolute;
  bottom: 0;
  left: 0;
  border-top: 1px solid #CFCFCF;
  width: 100%;
  height: 36rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F6F6F6;
}

@media only screen and (max-width: 650px) {
  .story-cell__month {
    border: 1px solid #CFCFCF;
    height: auto;
  }
}

.sort-on-map {
  margin-top: 20rem;
}

.sort-on-map__map {
  width: 100%;
  height: 851rem;
}

@media only screen and (max-width: 650px) {
  .sort-on-map__map {
    height: 456rem;
  }
}

.sort-on-map__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media only screen and (max-width: 650px) {
  .sort-on-map__img {
    display: none;
  }
}

.sort-on-map__img_mob {
  display: none;
}

@media only screen and (max-width: 650px) {
  .sort-on-map__img_mob {
    display: block;
  }
}

.dates-sort__date {
  font-weight: 500;
  margin-right: 30rem;
  transition: color 0.25s ease-in-out;
  position: relative;
  cursor: pointer;
}

.dates-sort__date:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #2F6E5B;
  transition: opacity 0.25s ease-in-out;
  opacity: 0;
}

.dates-sort__date:last-child {
  margin-right: 0;
}

.dates-sort__date.current {
  color: #2F6E5B;
}

.dates-sort__date.current:after {
  opacity: 1;
}

.dates-sort__date:hover {
  color: #2F6E5B;
}

.stories-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24rem;
}

@media only screen and (max-width: 650px) {
  .stories-nav__header {
    flex-direction: column;
    justify-content: center;
    margin-bottom: 22rem;
  }
}

.stories-nav__keywords {
  display: none;
  margin-bottom: 24rem;
}

@media only screen and (max-width: 650px) {
  .stories-nav__keywords {
    margin-bottom: 0;
  }
}

.stories-nav__keywords.active {
  display: grid;
}

@media only screen and (max-width: 650px) {
  .stories-nav__keywords.active {
    display: block;
  }
}

.stories-nav__selected-tags {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.stories-nav__tag-selected {
  margin-right: 15rem;
  margin-bottom: 15rem;
}

@media only screen and (max-width: 650px) {
  .stories-nav__tag-selected {
    margin-right: 8rem;
    margin-bottom: 9rem;
  }
}

.stories-nav__tag-selected:nth-last-child(-n+7) {
  margin-bottom: 0;
}

@media only screen and (max-width: 650px) {
  .stories-nav__tag-selected:nth-last-child(-n+7) {
    margin-bottom: 10rem;
  }
}

@media only screen and (max-width: 650px) {
  .stories-nav__tag-selected:last-child {
    margin-bottom: 0;
  }
}

.keywords {
  width: 100%;
}

@media only screen and (max-width: 650px) {
  .keywords {
    position: fixed;
    top: 0;
    left: 0;
    background: #F6F6F6;
    z-index: 1000;
    height: 100vh;
    width: 100%;
    padding: 0;
    margin-bottom: 55rem;
  }
}

.keywords__wrap {
  display: grid;
  width: 100%;
  max-height: 769rem;
  background: #F6F6F6;
  border-radius: 5rem;
  padding: 35rem 20rem 30rem;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 42rem;
}

@media only screen and (max-width: 650px) {
  .keywords__wrap {
    display: block;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 20rem 155rem 20rem;
    overflow-y: scroll;
  }
}

.keywords__header-key {
  display: none;
}

@media only screen and (max-width: 650px) {
  .keywords__header-key {
    display: block;
    position: relative;
    margin: 0 auto 18rem;
  }
}

.keywords__bottom {
  display: none;
}

@media only screen and (max-width: 650px) {
  .keywords__bottom {
    box-shadow: 4rem -2px 10rem rgba(121, 121, 121, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    height: 55rem;
    width: 100%;
    z-index: 100;
    background: #F6F6F6;
  }
}

@media only screen and (max-width: 650px) {
  .keywords__item-keywords {
    margin-bottom: 40rem;
  }

  .keywords__item-keywords:last-child {
    margin-bottom: 0;
  }
}

.keywords__btn {
  color: #2F6E5B;
}

@media only screen and (max-width: 650px) {
  .header-key {
    height: 55rem;
    width: 279rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #CFCFCF;
  }
}

.header-key__left {
  display: flex;
}

@media only screen and (max-width: 650px) {
  .header-key__icon {
    width: 19rem;
    height: 19rem;
    margin-right: 8rem;
  }

  .header-key__icon svg {
    width: 100%;
    height: 100%;
  }
}

.header-key__close {
  width: 15rem;
  height: 15rem;
}

.header-key__close svg {
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.item-keywords {
  width: 375rem;
}

@media only screen and (max-width: 650px) {
  .item-keywords {
    width: 100%;
  }
}

.item-keywords__header {
  display: flex;
  align-items: center;
  margin-bottom: 21rem;
}

@media only screen and (max-width: 650px) {
  .item-keywords__header {
    margin-bottom: 15rem;
  }
}

.item-keywords__icon {
  width: 27rem;
  height: 22rem;
  margin-right: 16rem;
}

@media only screen and (max-width: 650px) {
  .item-keywords__icon {
    width: 16rem;
    height: 13rem;
    margin-right: 10rem;
  }
}

.item-keywords__icon svg {
  width: 100%;
  height: 100%;
}

.item-keywords__title {
  font-weight: 500;
}

.item-keywords__cont {
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 250rem;
  margin-bottom: 20rem;
}

@media only screen and (max-width: 650px) {
  .item-keywords__cont {
    height: 175rem;
  }
}

.item-keywords__list-item {
  position: relative;
  margin-bottom: 11rem;
  cursor: pointer;
}

@media only screen and (max-width: 650px) {
  .item-keywords__list-item {
    margin-bottom: 10rem;
  }
}

.item-keywords__radio {
  transition: background-color 0.25s;
}

.item-keywords__btn {
  position: relative;
  color: #363636;
  font-weight: 500;
}

.item-keywords__btn:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #363636;
}

.radio {
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.radio__input {
  cursor: pointer;
  opacity: 0;
  position: absolute;
  top: 0;
  right: 0;
}

.radio__label {
  transition: color 0.25s ease-in-out;
}

.radio__radio {
  width: 21rem;
  height: 21rem;
  border: 1px solid #ADADAD;
  position: relative;
  border-radius: 2px;
}

@media only screen and (max-width: 650px) {
  .radio__radio {
    width: 13rem;
    height: 13rem;
  }
}

.radio__radio:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url(../../assets/icon/radio/check.svg) center no-repeat;
  background-size: contain;
  width: 15rem;
  height: 11rem;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
}

@media only screen and (max-width: 650px) {
  .radio__radio:after {
    width: 9rem;
    height: 7rem;
  }
}

.radio__input:checked~.radio__radio {
  border: none;
}

.radio__input:checked~.radio__radio:after {
  opacity: 1;
}

.radio__input:checked~.radio__label {
  color: white;
}

.stories-cont {
  position: relative;
}

.stories-cont__item {
  display: none;
}

.stories-cont__item.show {
  display: block;
}

.stories-cont__story-card {
  margin-bottom: 70rem;
}

.stories-cont__story-card:last-child {
  margin-bottom: 0;
}

.results {
  padding-top: 44rem;
  width: fit-content;
  width: -moz-fit-content;
}

@media only screen and (max-width: 650px) {
  .results {
    padding-top: 0;
  }
}

@media only screen and (max-width: 650px) {
  .results__message {
    text-align: center;
  }
}

.results__message br {
  display: none;
}

@media only screen and (max-width: 650px) {
  .results__message br {
    display: block;
  }
}

.search-key {
  color: #039BE5;
  font-weight: 500;
}

.search-key_not-found {
  color: #363636;
}

.search-highlight {
  color: #039BE5;
}

.select-keywords {
  display: flex;
  align-items: center;
}

@media only screen and (max-width: 650px) {
  .select-keywords {
    flex-direction: column;
    justify-content: center;
    width: 100%;
  }
}

.select-keywords.active .keywords-button {
  box-shadow: inset 1.60648px 1.60648px 8.03239px rgba(116, 116, 116, 0.25);
  background: #F8F9FC;
  border: 1rem solid #fff;
}

.select-keywords.active svg path {
  fill: #CFCFCF;
}

.select-keywords.active .close-words {
  opacity: 1;
}

.select-keywords__keywords-button {
  margin-right: 30rem;
}

@media only screen and (max-width: 650px) {
  .select-keywords__keywords-button {
    margin-right: 0;
  }
}

.select-keywords__close-words {
  opacity: 0;
  display: flex;
}

@media only screen and (max-width: 650px) {
  .select-keywords__close-words {
    display: none;
  }
}

.keywords-button {
  width: 314rem;
  height: 54rem;
  border-radius: 63rem;
  border: 1rem solid #2F6E5B;
  color: #363636;
  font-size: 16rem;
  background: #fff;
  font-family: "Montserrat";
  font-weight: 500;
  transition: box-shadow 0.25s, background 0.25s, border 0.25s;
}

.keywords-button--active {
  box-shadow: inset 1.60648px 1.60648px 8.03239px rgba(116, 116, 116, 0.25);
  background: #F8F9FC;
  border: 1rem solid #fff;
}

@media only screen and (max-width: 650px) {
  .keywords-button {
    width: 100%;
    font-size: 14rem;
    padding: 8.5rem 20rem;
    height: auto;
  }
}

.close-words {
  align-items: center;
  transition: opacity 0.25s ease-in-out;
}

.close-words__icon {
  margin-right: 10rem;
  width: 22rem;
  height: 22rem;
  pointer-events: none;
}

.close-words__icon svg {
  width: 100%;
  height: 100%;
}

.close-words__text {
  pointer-events: none;
}

.tag-selected {
  height: 41rem;
  width: fit-content;
  width: -moz-fit-content;
  border: 1px solid #CFCFCF;
  border-radius: 100rem;
  padding: 0 14rem 0 17rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media only screen and (max-width: 650px) {
  .tag-selected {
    padding: 0 10rem 0 11rem;
    height: 26rem;
  }
}

.tag-selected__name {
  margin-right: 10rem;
  font-weight: 500;
}

@media only screen and (max-width: 650px) {
  .tag-selected__name {
    font-size: 9rem;
  }
}

.tag-selected__btn {
  min-width: 13rem;
  height: 13rem;
  position: relative;
  cursor: pointer;
}

@media only screen and (max-width: 650px) {
  .tag-selected__btn {
    width: 10rem;
    height: 10rem;
  }
}

.tag-selected__btn svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.story-card {
  display: flex;
  justify-content: space-between;
  height: 462rem;
  width: 100%;
  padding: 15rem 43rem 70rem 0;
  border-bottom: 1px solid #CFCFCF;
}

@media only screen and (max-width: 650px) {
  .story-card {
    width: 100%;
    display: block;
    padding: 0 0 30rem 0;
    height: unset;
  }
}

.story-card:last-child {
  margin: 0 auto;
  border-bottom: none;
}

.story-card__left {
  width: 276rem;
  height: 341rem;
}

@media only screen and (max-width: 650px) {
  .story-card__left {
    width: 148rem;
    height: 183rem;
    margin: 0 auto 35rem;
  }
}

.story-card__img {
  width: 100%;
  height: 100%;
  background: #2F6E5B;
  border-radius: 5rem;
  position: relative;
}

.story-card__img-wrap {
  position: absolute;
  transform: rotate(-9deg);
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 5rem;
}

.story-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card__right {
  width: 1111rem;
}

@media only screen and (max-width: 650px) {
  .story-card__right {
    width: 100%;
  }
}

.story-card__story-date {
  margin-bottom: 29rem;
}

@media only screen and (max-width: 650px) {
  .story-card__story-date {
    margin-bottom: 12rem;
  }
}

.story-card__title {
  margin-bottom: 34rem;
  transition: color 0.25s ease-in-out;
  display: block;
  font-family: "Source Serif Pro", sans-serif;
}

@media only screen and (max-width: 650px) {
  .story-card__title {
    margin-bottom: 18rem;
  }
}

.story-card__title:hover {
  color: #2F6E5B;
}

.story-card__preview {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-bottom: 34rem;
}

@media only screen and (max-width: 650px) {
  .story-card__preview {
    margin-bottom: 18rem;
    -webkit-line-clamp: 6;
  }
}

.story-card__tags {
  display: flex;
  flex-wrap: wrap;
  width: 830rem;
  align-items: flex-end;
}

@media only screen and (max-width: 650px) {
  .story-card__tags {
    width: 100%;
    margin-bottom: 25rem;
  }
}

.story-card__tag {
  margin-right: 15rem;
  margin-top: 15rem;
  cursor: pointer;
}

@media only screen and (max-width: 650px) {
  .story-card__tag {
    margin-right: 10rem;
    margin-top: 10rem;
  }
}

.story-card__tag-num {
  width: 44rem;
  height: 44rem;
}

.story-card .num-circle {
  height: 42rem;
}

@media only screen and (max-width: 650px) {
  .story-card .num-circle {
    height: 33rem;
  }
}

.story-card__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

@media only screen and (max-width: 650px) {
  .story-card__bottom {
    display: block;
  }
}

.story-card__link {
  height: 38rem;
  display: block;
  margin-bottom: 15rem;
}

@media only screen and (max-width: 650px) {
  .story-card__link {
    height: auto;
    margin-bottom: 0;
    margin-left: -8rem;
  }
}

.story-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.story-date__container {
  display: flex;
  align-items: center;
}

.story-date__icon {
  margin-right: 18rem;
  width: 26rem;
  height: 23rem;
}

@media only screen and (max-width: 650px) {
  .story-date__icon {
    width: 16rem;
    height: 16rem;
    margin-right: 10rem;
  }
}

.tag {
  color: #2F6E5B;
  width: fit-content;
  width: -moz-fit-content;
  border: 1px solid #CFCFCF;
  border-radius: 5px;
  padding: 9rem 19rem;
  line-height: 22rem;
  font-size: 20rem;
  background: #F6F6F6;
}

@media only screen and (max-width: 650px) {
  .tag {
    font-size: 12rem;
    padding: 7rem 10rem;
    line-height: 14rem;
  }
}

.story__back {
  display: block;
  height: 24rem;
}

@media only screen and (max-width: 650px) {
  .story__back {
    height: 34rem;
  }
}

.story__container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

@media only screen and (max-width: 650px) {
  .story__container {
    display: block;
  }
}

.story__left {
  width: 428rem;
  position: sticky;
  top: 170rem;
  padding-bottom: 50rem;
}

@media only screen and (max-width: 650px) {
  .story__left {
    position: relative;
    padding-bottom: unset;
    top: unset;
    width: 100%;
    margin-bottom: 25rem;
  }
}

.story__story-img {
  margin-bottom: 24rem;
}

@media only screen and (max-width: 650px) {
  .story__story-img {
    margin-bottom: 9rem;
  }
}

.story__photo-description {
  font-style: italic;
}

.story__right {
  width: 962rem;
  max-width: 962rem;
}

@media only screen and (max-width: 650px) {
  .story__right {
    width: 100%;
    max-width: unset;
  }
}

.story__story-date {
  margin-bottom: 32rem;
}

@media only screen and (max-width: 650px) {
  .story__story-date {
    margin-bottom: 14rem;
  }
}

.story__header {
  margin-bottom: 32rem;
}

@media only screen and (max-width: 650px) {
  .story__header {
    margin-bottom: 23rem;
  }
}

.story__title {
  font-family: "Source Serif Pro", sans-serif;
}

.story__tags {
  display: flex;
  flex-wrap: wrap;
  width: 830rem;
  margin-bottom: 15rem;
}

@media only screen and (max-width: 650px) {
  .story__tags {
    width: 100%;
    margin-bottom: 25rem;
  }
}

.story__tag {
  margin-right: 15rem;
  margin-bottom: 15rem;
}

@media only screen and (max-width: 650px) {
  .story__tag {
    margin-right: 10rem;
    margin-bottom: 10rem;
  }
}

.story__story-event {
  margin-bottom: 40rem;
}

@media only screen and (max-width: 650px) {
  .story__story-event {
    margin-bottom: 20rem;
  }
}

.story-img {
  width: 100%;
  height: 490rem;
  position: relative;
}

@media only screen and (max-width: 650px) {
  .story-img {
    height: 337rem;
  }
}

.story-img__rotate-box {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-9deg);
  width: 364rem;
  height: 439rem;
  overflow: hidden;
}

@media only screen and (max-width: 650px) {
  .story-img__rotate-box {
    transform: translate(0, 0) rotate(0);
    width: 100%;
    height: 100%;
    position: relative;
    top: 0;
    left: 0;
  }
}

.story-img__photo,
.story-img__frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.story-img__photo img,
.story-img__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-img__photo {
  position: absolute;
  width: 89%;
  height: 78%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
}

@media only screen and (max-width: 650px) {
  .story-img__photo {
    top: 50%;
    left: 50%;
    width: 91%;
    height: 77%;
    transform: translate(-50%, -58%);
  }
}

.story-event__title {
  margin-bottom: 40rem;
}

@media only screen and (max-width: 650px) {
  .story-event__title {
    margin-bottom: 20rem;
  }
}

.story-event__text {
  margin-bottom: 47rem;
}

@media only screen and (max-width: 650px) {
  .story-event__text {
    margin-bottom: 25rem;
  }
}

.story-event__text p {
  margin-bottom: 40rem;
}

@media only screen and (max-width: 650px) {
  .story-event__text p {
    margin-bottom: 20rem;
  }
}

.story-event__text p a {
  color: #2F6E5B;
  text-decoration: underline;
  font-weight: 600;
}

.story-event__text h1,
.story-event__text h2,
.story-event__text h3,
.story-event__text h4,
.story-event__text h5,
.story-event__text h6 {
  margin-bottom: 40rem;
}

@media only screen and (max-width: 650px) {

  .story-event__text h1,
  .story-event__text h2,
  .story-event__text h3,
  .story-event__text h4,
  .story-event__text h5,
  .story-event__text h6 {
    margin-bottom: 20rem;
  }
}

.story-event__text ol {
  list-style: none;
  counter-reset: li;
  margin-bottom: 48rem;
}

@media only screen and (max-width: 650px) {
  .story-event__text ol {
    margin-bottom: 28rem;
  }
}

.story-event__text ol:last-child {
  margin-bottom: 0;
}

.story-event__text ol li {
  counter-increment: li;
  margin-bottom: 15rem;
  font-weight: 500;
}

@media only screen and (max-width: 650px) {
  .story-event__text ol li {
    display: flex;
    margin-bottom: 12rem;
  }
}

.story-event__text ol li:last-child {
  margin-bottom: 0;
}

.story-event__text ol li:before {
  content: counter(li) ".";
  width: 22rem;
  border-radius: 50%;
  display: inline-block;
  margin-right: 33rem;
  font-weight: 500;
  color: #2F6E5B;
}

@media only screen and (max-width: 650px) {
  .story-event__text ol li:before {
    margin-right: 20rem;
  }
}

.story-event__text ul {
  list-style: none;
  counter-reset: li;
  margin-bottom: 48rem;
}

@media only screen and (max-width: 650px) {
  .story-event__text ul {
    margin-bottom: 28rem;
  }
}

.story-event__text ul:last-child {
  margin-bottom: 0;
}

.story-event__text ul li {
  margin-bottom: 20rem;
  font-weight: 500;
  display: flex;
}

@media only screen and (max-width: 650px) {
  .story-event__text ul li {
    margin-bottom: 12rem;
  }
}

.story-event__text ul li:before {
  margin: 11rem 59rem 0 0;
  content: "";
  width: 5rem;
  height: 5rem;
  border-radius: 100rem;
  background: #2F6E5B;
}

@media only screen and (max-width: 650px) {
  .story-event__text ul li:before {
    margin: 11rem 30rem 0 10rem;
    width: 3px;
    min-width: 3px;
    height: 3px;
  }
}

.story-event__images {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40rem;
}

@media only screen and (max-width: 650px) {
  .story-event__images {
    display: block;
    margin-bottom: 20rem;
  }
}

.story-event__img-wrap {
  width: 100%;
}

@media only screen and (max-width: 650px) {
  .story-event__img-wrap {
    width: 100%;
    margin-bottom: 25rem;
  }

  .story-event__img-wrap:last-child {
    margin-bottom: 0;
  }
}

.story-event__img-wrap_small {
  width: 724rem;
}

@media only screen and (max-width: 650px) {
  .story-event__img-wrap_small {
    width: 100%;
  }
}

.story-event__img {
  width: 100%;
  height: 482rem;
  margin-bottom: 20rem;
  border-radius: 5rem;
  overflow: hidden;
  background: #F6F6F6;
}

@media only screen and (max-width: 650px) {
  .story-event__img {
    margin-bottom: 10rem;
    height: 163rem;
  }
}

.story-event__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-event__img_contain img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.story-event__img-description {
  font-style: italic;
}

.error {
  padding-top: 34rem;
  width: 1162rem;
  margin: 0 auto;
}

@media only screen and (max-width: 650px) {
  .error {
    width: 289rem;
    padding-top: 0;
  }
}

.error__cont {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media only screen and (max-width: 650px) {
  .error__cont {
    display: block;
  }
}

.error__left {
  min-width: 754rem;
  max-width: 754rem;
  height: 562rem;
}

@media only screen and (max-width: 650px) {
  .error__left {
    margin-bottom: -25rem;
    margin-top: -30rem;
    min-width: 100%;
    max-width: 100%;
    height: 215rem;
  }
}

.error__img {
  width: 100%;
  height: 100%;
}

.error__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.error__right {
  width: 325rem;
}

@media only screen and (max-width: 650px) {
  .error__right {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

.error__title {
  color: #2F6E5B;
  font-family: "Source Serif Pro", sans-serif;
  margin-bottom: 25rem;
}

@media only screen and (max-width: 650px) {
  .error__title {
    margin-bottom: 17rem;
  }
}

.error__subtitle {
  font-family: "Source Serif Pro", sans-serif;
  margin-bottom: 50rem;
}

@media only screen and (max-width: 650px) {
  .error__subtitle {
    margin-bottom: 34rem;
  }
}

.error__subtitle span {
  color: #2F6E5B;
}

.error__link {
  margin: 0 auto 0 -17rem;
  display: block;
}

@media only screen and (max-width: 650px) {
  .error__link {
    margin: 0 auto 0 -17rem;
    display: block;
  }

  @media only screen and (max-width: 650px) {
    .error__link {
      margin: 0 auto;
    }
  }

  .comments-area {
    width: 459px;
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    background: #FFF;
    border: 1px solid #F0F4F7;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px 15px 0 15px;
    height: calc(100% - 200px);
    z-index: 130;
  }

  @media only screen and (max-width: 650px) {
    .comments-area {
      width: 100%;
      height: calc(100% - 60px);
      border-radius: 15px 15px 0 0;
    }
  }

  .comments-area__header {
    position: relative;
    padding: 27px 24px 23px;
    background: #FAFAFA;
    border-radius: 15px 0 0 0;
  }

  .comments-area__close {
    position: absolute;
    right: 20px;
    top: 31px;
    background-image: url("../icon/comment/close.svg");
    background-size: 16px;
    background-color: transparent;
    width: 16px;
    height: 16px;
    cursor: pointer;
  }

  .comments-area__title {
    font-family: "Source Serif Pro";
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 25px;
    display: flex;
    align-items: center;
    color: #444;
  }

  .comments-area__no-comment {
    padding: 10px 22px 0 14px;
    font-family: "Proxima Nova";
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #B7BDCE;
  }

  .comments-area__comments-list {
    padding: 15px 14px 80px 10px;
    height: 86%;
    overflow: auto;
  }

  @media only screen and (max-width: 650px) {
    .comments-area__comments-list {
      padding: 15px 14px 155px 10px;
      height: 100%;
    }
  }

  .comments-area__comments-list.reply-active {
    padding: 15px 14px 127px 10px;
  }

  .comments-area__comments-list.edit-active {
    padding: 15px 14px 176px 10px;
  }

  .comments-area__comments-list.edit-active #comment-form__textarea {
    height: 94px;
  }

  .comments-area__comments-list .comment {
    margin-bottom: 8px;
    position: relative;
    border-radius: 8px;
  }

  .comments-area__comments-list .comment.deleted .comments-area__comment-header {
    opacity: 0.3;
  }

  .comments-area__comments-list .comment.depth-2 {
    margin-left: 40px;
  }

  .comments-area__comments-list .comment.depth-2 .comments-area__comment-reply {
    display: none;
  }

  .comments-area__comments-list .comment.unread {
    background: rgba(141, 190, 175, 0.15);
  }

  .comments-area__comment-body {
    padding: 12px 20px 12px 14px;
  }

  .comments-area__comment-header {
    display: flex;
    margin-bottom: 8px;
    flex-direction: row;
    align-items: first baseline;
  }

  .comments-area__comment-author {
    margin-right: 10px;
    font-family: "Proxima Nova";
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
  }

  .comments-area__comment-meta span {
    font-family: "Proxima Nova";
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    color: #B7BDCE;
  }

  .comments-area__action-button {
    width: 24px;
    height: 24px;
    position: absolute;
    right: 6px;
    top: 10px;
    cursor: pointer;
    text-align: center;
  }

  @media only screen and (max-width: 650px) {
    .comments-area__action-button {
      top: 19px;
    }
  }

  .comments-area__action-button svg {
    height: 24px;
  }

  .comments-area__action {
    display: none;
    flex-direction: column;
    padding: 20px;
    width: 188px;
    position: absolute;
    right: -10px;
    background: #FFFFFF;
    box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.12);
    border-radius: 25px;
    z-index: 11;
  }

  .comments-area__action a {
    padding-left: 34px;
    font-family: "Proxima Nova";
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    text-decoration: none;
    color: #444;
    display: block;
    margin-bottom: 15px;
    position: relative;
    cursor: pointer;
  }

  .comments-area__action a:last-child {
    margin-bottom: 0;
  }

  .comments-area__action a:before {
    content: "";
    width: 24px;
    height: 24px;
    background-position: center;
    background-size: 24px;
    position: absolute;
    display: block;
    left: 0;
    top: -2px;
  }

  .comments-area__action a.comments-area__edit:before {
    background-image: url("../icon/user/ico_pencil.svg");
  }

  .comments-area__action a.comments-area__delete:before {
    background-image: url("../icon/comment/delete.svg");
  }

  .comments-area__comment-text {
    font-family: "Proxima Nova";
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #444;
    margin-bottom: 4px;
  }

  .comments-area__comment-reply-link {
    font-family: "Proxima Nova";
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    color: #326E5B;
    text-decoration: none;
    cursor: pointer;
  }

  .comment-respond {
    width: 100%;
    background: #fff;
    padding: 14px 24px 13px 25px;
    position: absolute;
    bottom: 0;
    left: 0;
    border-top: 1px solid rgba(183, 189, 206, 0.3);
    z-index: 10;
  }

  .comment-respond__comment-parent {
    width: 350px;
    font-family: "Proxima Nova";
    font-style: normal;
    line-height: 14px;
    font-size: 12px;
    margin-bottom: 15px;
  }

  .comment-respond__comment-close {
    background-image: url("../icon/comment/close.svg");
    background-size: 12px;
    background-color: transparent;
    width: 12px;
    height: 12px;
    position: absolute;
    right: 42px;
    top: 18px;
    cursor: pointer;
  }

  .comment-respond__comment-author {
    font-weight: 700;
    color: #326E5B;
    margin-bottom: 4px;
  }

  .comment-respond__comment-text {
    font-weight: 400;
    font-size: 12px;
    color: #444;
    height: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .comment-respond .comment-form {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .comment-respond .comment-form textarea {
    width: 100%;
    height: 45px;
    padding: 12px 16px 13px;
    margin-right: 15px;
    border: 1px solid #E9EBF0;
    border-radius: 8px;
    font-family: "Proxima Nova";
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #444;
    resize: none;
    cursor: pointer;
  }

  .comment-respond .comment-form p.form-submit {
    margin: 0;
  }

  .comment-respond .comment-form p.form-submit .comment-form__submit {
    width: 45px;
    height: 45px;
    padding: 0;
    background: url("../icon/comment/send.svg") center no-repeat #326E5B;
    border-radius: 100%;
    border-width: 0;
  }

  .content__comments .warp__allcomments .allcomments#myself {
    display: none;
  }

  .content__comments .warp__allcomments .allcomments .one-comment {
    position: relative;
    margin-bottom: 11px;
    padding: 12px 110px 12px 25px;
    background: #FAFAFA;
    border: 1px solid #F4F4F4;
    border-radius: 8px;
  }

  .content__comments .warp__allcomments .allcomments .one-comment:hover {
    background: rgba(141, 190, 175, 0.15);
    border: 1px solid #F4F4F4;
  }

  .content__comments .warp__allcomments .allcomments .one-comment__top {
    margin-bottom: 12px;
  }

  .content__comments .warp__allcomments .allcomments .one-comment__author {
    font-family: "Proxima Nova";
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    color: #444;
    margin-bottom: 12px;
  }

  .content__comments .warp__allcomments .allcomments .one-comment__author span {
    font-family: "Proxima Nova";
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #B7BDCE;
  }

  .content__comments .warp__allcomments .allcomments .one-comment__post {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-family: "Proxima Nova";
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #326E5B;
  }

  .content__comments .warp__allcomments .allcomments .one-comment__post span {
    color: #B7BDCE;
    margin-right: 10px;
  }

  .content__comments .warp__allcomments .allcomments .one-comment__post span.ico.post-ico {
    background: url("../icon/comment/post-ico.svg") center no-repeat transparent;
    width: 24px;
    height: 24px;
  }

  .content__comments .warp__allcomments .allcomments .one-comment__post span.ico.play-ico {
    background: url("../icon/comment/play.svg") center no-repeat transparent;
    width: 20px;
    height: 20px;
  }

  .content__comments .warp__allcomments .allcomments .one-comment__content p {
    font-family: "Proxima Nova";
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #444;
    margin-bottom: 10px;
  }

  .content__comments .warp__allcomments .allcomments .one-comment__link {
    font-family: "Proxima Nova";
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    color: #326E5B;
    text-decoration: none;
  }

  .content__comments .warp__allcomments .allcomments .one-comment__delete-link {
    background: url("../icon/comment/delete.svg") center no-repeat transparent;
    width: 24px;
    height: 24px;
    position: absolute;
    right: 25px;
    top: 0;
    bottom: 0;
    margin: auto;
    cursor: pointer;
  }

  .content__comments .comments__tabs {
    margin-bottom: 29px;
    border-bottom: 1px solid rgba(183, 189, 206, 0.3);
  }

  .content__comments .comments__tabs ul {
    list-style-type: none;
    display: flex;
    flex-direction: row;
  }

  .content__comments .comments__tabs ul li a {
    position: relative;
    padding: 4px 20px;
    font-family: "Source Serif Pro";
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 23px;
    color: #B7BDCE;
    cursor: pointer;
  }

  .content__comments .comments__tabs ul li a.active,
  .content__comments .comments__tabs ul li a:hover {
    color: #326E5B;
  }

  .content__comments .comments__tabs ul li a.active:after,
  .content__comments .comments__tabs ul li a:hover:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #326E5B;
    bottom: 1px;
  }

  .photo_main .comment_container {
    padding: 70px 0 16px;
  }

  .photo_main .comment_container .full-width {
    height: 100%;
  }

  .background-black {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 120;
    background: rgba(0, 0, 0, 0.6);
  }

  .buttoncomments {
    display: inline-block;
    width: 69px;
    height: 69px;
    background: url("../icon/comment/chat_person.svg") center no-repeat transparent;
    border: none;
    position: absolute;
    right: 0;
    top: 120px;
    right: 30px;
    cursor: pointer;
  }

  .buttoncomments:hover {
    background: url("../icon/comment/chat_person_hov.svg") center no-repeat transparent;
  }

  #comment-opener .rivertime-header-comments__quan,
  .container-person-top .buttoncomments .rivertime-header-comments__quan,
  .user-nav__item .rivertime-header-comments__quan {
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: #326E5B;
    border: 2px solid #fff;
    border-radius: 100%;
    font-family: "Proxima Nova";
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: #fff;
    text-align: center;
  }

  #comment-opener .rivertime-header-comments__quan {
    right: 1px;
    top: 1px;
  }

  .container-person-top .buttoncomments .rivertime-header-comments__quan {
    right: 15px;
    top: 15px;
  }

  .user-nav__item {
    position: relative;
  }

  .user-nav__item .rivertime-header-comments__quan {
    left: 31px;
    top: 11px;
    width: 16px;
    height: 16px;
  }

  .hidden {
    display: none;
  }
}

.header__question svg {
  animation: pulse2 2s infinite;
}

.header__question svg path {
  animation: pulse3 2s infinite;
}

@keyframes pulse2 {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.35);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes pulse3 {
  0% {
    fill: #B7BDCE;
    color: #B7BDCE;
  }

  50% {
    fill: #326E5B;
    color: #326E5B;
  }

  100% {
    fill: #b7bdce;
    color: #B7BDCE;
  }
}

/*# sourceMappingURL=style.css.map */

.search-results .title_main .filter_num {
  font-family: 'Proxima Nova';
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
}

.search-results #people .post_people_main .post_people_wrapper .post_data_wrapper h3 {
  font-family: 'Source Serif Pro';
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
}

/*# sourceMappingURL=style.css.map */

/*datepicker start*/

#ui-datepicker-div {
  font-family: "Proxima Nova";
  font-size: 16px;
  font-weight: 400;
}

#ui-datepicker-div.ui-datepicker .ui-datepicker-title {
  margin: 0;
}

#ui-datepicker-div.ui-datepicker .ui-datepicker-title select {
  margin: 0 5px;
}

#ui-datepicker-div .ui-datepicker-prev,
#ui-datepicker-div .ui-datepicker-next {
  display: none;
}

#ui-datepicker-div.ui-datepicker .datepicker-cap {
  position: absolute;
  bottom: 0px;
  background: #fff;
  width: 99%;
  height: 79%;
  text-align: center;
  padding-top: 15px;
  border-radius: 10px;
}

#ui-datepicker-div.ui-datepicker .datepicker-cap p {
  font-weight: bold;
}

/*datepicker end*/

/* UI-KIT FIX */

.page-template-tpl-biography .biography__main-content,
.page-template-tpl-biography .biography__main {
  padding: 0;
  margin: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
  overflow: visible;
}

.page-template-tpl-familypower .biography__main-content,
.page-template-tpl-familypower .biography__main {
  padding: 0;
  margin: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
  overflow: visible;
}

.page-template-tpl-biography .biography__main-content__top {
  max-width: 100%;
}

.page-template-tpl-biography .edit__main-content__top {
  padding: 0 0 25px 0;
}

.page-template-tpl-familypower .biography__main-content__top {
  max-width: 100%;
}

.page-template-tpl-familypower .edit__main-content__top {
  padding: 0 0 25px 0;
}

.nd-content .histrory-posts-box {
  padding-bottom: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background-color: transparent !important;
}

.nd-content .list_history {
  padding: 0 !important;
}

.nd-content .createHistory {
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.nd-content .showHistory {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* .page-template-tree .nd-content {
  width: 90%;
  padding: 0;
  background: #F6F6F6;
} */

/* .page-template-tree .nd-wrap-content .nd-content .footer {
  display: none;
} */

/* .page-template-tree .nd-wrap-content .nd-content .content__tree {
  padding: 30px;
  overflow: hidden;
} */
/*
.page-template-tree .nd-wrap-content .nd-content .content__tree .tree-app-wrap {
  background-color: #F6F6F6;
} */


.page-template-friends .content__content {
  margin: 0;
  width: auto;
}

.page-template-users-list .content__header {
  margin: 0;
}

.page-template-users-list .content__content {
  margin: 0;
  width: auto;
  padding: 0 !important;
  border: none;
  overflow: hidden;
}

.page-template-users-list .content__body-list {
  margin: 0;
}

.page-template-media .nd-content,
.page-template-media-flow .nd-content {
  padding: 0;
  margin: 0 14px 0 20px;
  background-color: transparent;
  box-shadow: none;
  border: none;
}

.page-template-panel-control .panel-control {
  padding: 0;
}

.page-template-media-flow .nd-content {
  margin: 0;
}

.page-template-media #open_create_modal .nd-icon__folder-plus {
  width: 24px;
  height: 24px;
}

.page-template-media #open_create_modal .nd-icon__folder-plus::before {
  background-color: #b7bdce;
}

/* .page-template-tree #tree_breadcrumbs {
  z-index: 10;
} */

.single-gedcom2_individual .nd-content,
.page-template-tpl-person-edit .nd-content {
  padding: 0;
  background-color: transparent;
  box-shadow: none;
  border: none;
}

.nd-one-person__info-main .person_mainmenu_photogender {
  align-items: baseline;
  width: auto;
  margin-right: 24px;
}

.nd-one-person__info-main .person_mainmenu_photoblock2 {
  margin-bottom: 20px;
}

.nd-one-person__info-main .person_mainmenu_photoblock2 .inputfcs .nd-input-wrap {
  padding-bottom: 15px;
}

.nd-one-person__menu .edit_container {
  margin-bottom: 35px;
}

.nd-one-person__menu .edit_container .nd-button.nd-button-icon {
  display: unset;
  box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.12);
  background: #FFF;
}

.nd-one-person__menu .edit_container .nd-button.nd-button-icon i::before {
  background-color: #B7BDCE;
  width: 32px;
}

.nd-one-person__menu .person_aboutmenu_header {
  font-family: "Source Serif Pro";
}

.nd-one-person__menu .edit_container .buttonsave {
  text-align: center;
  width: 162px;
  margin-left: 10px;
}

.nd-one-person__info-main .person_profile_photo-and-name {
  display: flex;
}

.nd-one-person__info-main .person_profile_photo-and-name .person_profile_photo {
  flex-shrink: 0;
  float: none;
}

.nd-one-person__info-main .person_profile_name {
  height: 160px;
  display: flex;
  align-items: center;
  padding: 0 0 0 24px;
  overflow: hidden;
}

.nd-one-person__info-main .person_profile_name .person_profile_name_fcs {
  /*width: 100%;*/
  overflow: hidden;
  text-overflow: ellipsis;
}

.nd-one-person__info-main {
  flex-shrink: 1;
  /*width: 100%;*/
}

.nd-one-person__info-main .person_profile_name_kinship {
  font-size: 18px;
  font-family: "Source Serif Pro";
  font-style: normal;
  font-weight: 600;
  line-height: 23px;
  margin-bottom: 12px;
  padding: 25px 0 0;
  text-overflow: ellipsis;
  overflow: hidden;
}

.nd-one-person__info-main .person_profile_name_description {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  margin: 0;
}

.nd-one-person__info-additional .maps-block {
  margin-bottom: 40px;
}

.nd-one-person__info-additional .maps-block .person_data_date {
  gap: 0;
}

.nd-one-person__info-additional .maps-block .person_profile_person_info {
  padding: 0;
}

.nd-one-person__info-additional .maps-block .person_profile_person_info.person_profile_person_info--birthdate {
  margin-bottom: 24px;
}

.nd-one-person__info-additional .maps-block .person_profile_person_birthdate {
  font-size: 18px;
  font-family: "Source Serif Pro";
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  margin-bottom: 8px;
}

.nd-one-person__info-additional .maps-block .person_profile_person_date {
  font-size: 16px;
  font-family: "Proxima Nova";
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.nd-one-person .nd-one-person__menu .person_aboutmenu_list li {
  position: relative;
}

.nd-one-person .nd-one-person__menu .person_aboutmenu_list li::before {
  position: absolute;
  display: block;
  top: 19px;
  left: 0px;
}

.nd-one-person .nd-one-person__menu {
  margin-right: 20px;
}

.nd-one-person .nd-one-person__menu .person_aboutmenu_list a {
  padding-left: 20px;
  white-space: nowrap;
}

.person_aboutmenu_list.not-active {
  opacity: 0.5;
}

.person_aboutmenu_list.not-active a:hover {
  cursor: default;
  color: #444444;
}

.nd-input-datepicker .ui-datepicker-trigger {
  display: none;
}

.nd-persons__list-line.line_1 {
  background: #fff !important;
}

.nd-persons__list-line.line_2 {
  background: #f8f8f8 !important;
}

#persona_already_create {
  display: none;
}

#persona_already_create .user-settings__buttons a {
  text-align: center;
}

#persona_already_create .close_modal.nd-button-icon {
  display: block;
  position: absolute;
  right: 24px;
  top: 24px;
  box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.12);
  background: #FFF;
}

#persona_already_create .close_modal.nd-button-icon i::before {
  background-color: #B7BDCE;
  width: 32px;
}

.page-template-archive-memory .nd-content .main_section {
  padding: 0;
  box-shadow: none;
  border: none;
}

#wrap-popup #new-person .new-person-flex__item input[type="checkbox"]+label::before,
#wrap-popup #new-person .new-person-flex__item input[type="checkbox"]:checked+label::before {
  border: none !important;
  background-color: transparent !important;
}

.attachment-template-default .nd-content {
  background: #fafafa;
  border: none;
  box-shadow: none;
  padding: 0;
}

.attachment-template-default .nd-content .photo_main {
  background: transparent;
}

.person_info.nd-one-person__info-main .person_mainmenu_photoblock2 .nd-one-person__radio.nd-one-person__radio-gender .nd-radio-wrap .nd-radio-label {
  margin: 0;
}

.nd-one-person__info-main .person_mainmenu_photoblock2 {
  gap: 0;
}

input.person-divorce[type="checkbox"]+label::before {
  display: none !important;
}

/* .nd-wrap-content #tree_breadcrumbs .crumb.selected:first-child::after {
  top: 45%;
  left: 5%;
  width: 17px;
  height: 16px;
} */

/* graduates start*/
.page-template-graduates .nd-content,
.page-template-quiz .nd-content {
  padding: 0;
  margin: 0 14px 0 20px;
  flex-grow: 1;
  background-color: transparent;
  box-shadow: none;
  border: none;
  border-radius: 0;
}

.page-template-quiz .nd-wrap-separate-section {
  display: flex;
  gap: 20px;
}

.nd-section__quiz-res.nd-separate-section {
  margin-top: 0;
  width: 353px;
  flex-shrink: 0;
  padding: 32px 24px;
  display: none;
  height: fit-content;
}

.nd-section__quiz-res.nd-separate-section h5 {
  margin-bottom: 12px;
}

.nd-section__quiz-res.nd-separate-section p {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
}

.nd-section__quiz-res.nd-separate-section .nd-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nd-section__quiz-res.nd-separate-section .quiz-res-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 24px;
}

.nd-section__quiz-res.nd-separate-section>.nd-button-icon {
  display: none;
}

.nd-section__quiz-res.nd-separate-section>.nd-button-icon.nd-button-link_close {
  width: auto;
  position: absolute;
  top: 8px;
  right: 8px;
  height: 32px;
}

.nd-section__quiz-res.nd-separate-section>.nd-button-icon.nd-button-link_close i {
  width: 32px;
  height: 32px;
}

.nd-section__quiz-res.nd-separate-section>.nd-button-icon.nd-button-link_open {
  width: 24px;
  position: absolute;
  top: 8px;
  right: 0;
  height: 24px;
  display: none;
  left: 0;
  margin: 0 auto;
  transform: rotate(180deg);
}

.nd-section__quiz-res.nd-separate-section>.nd-button-icon.nd-button-link_open i {
  width: 24px;
  height: 24px;
}

.nd-section__quiz-res.nd-separate-section>.nd-button-icon.nd-button-link_open i::before {
  width: 24px;
  background-color: #444;
}

.nd-quiz .nd-quiz__wrap-results .nd-quiz__one-result .nd-quiz__one-result_text_add {
  border-radius: 12px;
  background-color: #fafafa;
  padding: 16px 24px;
  margin-top: 25px;
  display: flex;
  gap: 8px;
}

.nd-quiz .nd-quiz__wrap-results .nd-quiz__one-result .nd-quiz__one-result_text_add i {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.nd-quiz .nd-quiz__wrap-results .nd-quiz__one-result .nd-quiz__one-result_text_add i::before {
  background-color: #326E5B;
}

.nd-quiz .nd-quiz__wrap-results .nd-quiz__one-result .nd-quiz__one-result_text_add p {
  color: #326e5b;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

.nd-quiz .nd-quiz__wrap-results .nd-quiz__one-result .nd-quiz__one-result_text h3 {
  font-family: "Proxima Nova";
  font-style: normal;
  font-size: 20px;
}

@media screen and (max-width: 768px) {
  .nd-quiz .nd-quiz__one.nd-quiz__one_active {
    height: 110%;
    overflow-y: hidden;
  }

  .nd-section__quiz-res.nd-separate-section {
    position: fixed;
    bottom: 0px;
    z-index: 100;
    width: 100%;
    border-radius: 15px 15px 0 0;
    left: 0;
  }

  .nd-section__quiz-res.nd-separate-section>.nd-button-icon.nd-button-link_close {
    display: block;
  }

  .nd-quiz .nd-quiz__wrap-results .nd-quiz__one-result .nd-quiz__one-result_text h3 {
    font-size: 18px;
  }
}

.page-template-graduates #popup__add-person.modal_base.center .modal_wrapper {
  margin: 9% auto;
  height: fit-content;
}

#popup__add-person.modal_base.center,
#popup__edit-person-period.modal_base.center {
  position: absolute;
  justify-content: flex-end;
  z-index: 800;
}

#popup__add-person.modal_base.center {
  height: auto;
  min-height: 100%;
}

.popup__add-person_step2 .modal_wrapper {
  width: 938px;
  left: 0;
  top: 0;
  right: 0;
  margin: auto;
  padding: 0;
  height: fit-content;
}

#popup__edit-person-period .modal_wrapper {
  width: 938px;
  left: auto;
  top: 72px;
  right: 4px;
  margin: 0;
  height: fit-content;
}

.popup__add-person_step1 .modal_wrapper {
  width: 530px;
  left: 0;
  top: 0;
  right: 0;
  margin: auto;
  padding: 0;
  height: fit-content;
}

#popup__add-person.popup__add-person_step1 .modal_wrapper .modal_content {
  padding: 40px;
}

#popup__add-person.popup__add-person_step1 .modal_wrapper .modal_content .modal_text {
  margin: 8px auto 48px;
  text-align: center;
}

#popup__add-person.popup__add-person_step1 .modal_wrapper .modal_content .add-person__buttons {
  justify-content: center;
}

#popup__add-person.popup__add-person_step1 .modal_wrapper .modal_content .add-person__buttons .nd-button {
  display: flex;
  width: auto;
  padding: 0 26px;
  height: auto;
  align-items: center;
  gap: 8px;
}

#popup__add-person.popup__add-person_step1 .modal_wrapper .modal_content .add-person__buttons .nd-button i::before {
  height: 25px;
}

#popup__add-person.popup__add-person_step1 .modal_content .modal_text {
  color: #444;
  font-family: "Proxima Nova";
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

#popup__add-person.popup__add-person_step1 .modal_wrapper .modal_content .add-person__buttons.add-person__buttons_small a {
  margin-bottom: 8px;
  background: transparent;
  color: #326E5B;
}

#popup__add-person.popup__add-person_step1 .modal_wrapper .modal_content .add-person__buttons.add-person__buttons_small a i::before {
  background-color: #326E5B;
}

#popup__add-person.popup__add-person_step1 .modal_wrapper .modal_content .nd-input-wrap.nd-input-wrap__icon {
  width: 373px;
  margin: 0 auto;
}

#popup__add-person.popup__add-person_step2 .add-person__right .nd-input-wrap.nd-input-wrap__without-label textarea {
  resize: none;
  height: 109px;
}

#popup__add-person .modal_header,
#popup__edit-person-period .modal_header {
  padding: 22px 0;
  text-align: center;
}

#popup__add-person.popup__add-person_step3.modal_base.center .modal_wrapper {
  width: 520px;
  padding: 0;
}

#popup__add-person.popup__add-person_step3 .modal_header {
  flex-direction: column;
  max-height: unset;
  padding: 40px 0 25px;
}

#popup__add-person.popup__add-person_step3 .modal_header h3 {
  color: #444;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  line-height: 25px;
  font-weight: 700;
}

#popup__add-person.popup__add-person_step3 .modal_header h3 span {
  display: block;
  font-weight: 700;
}

#popup__add-person.popup__add-person_step3 .modal_header img {
  width: 80px;
  height: 80px;
  border-radius: 100%;
  margin-bottom: 12px;
}

#popup__add-person.popup__add-person_step3 .modal_content {
  padding: 40px 0 25px;
  display: flex;
  gap: 15px;
  flex-direction: column;
  align-items: center;
}

#popup__add-person.popup__add-person_step3 .modal_content .nd-button-link {
  color: #326E5B;
}

#popup__add-person.popup__add-person_step3 .modal_content .nd-button-link i::before {
  background-color: #326E5B;
}

#popup__add-person.popup__add-person_step3 .modal_content .add-group__buttons {
  width: 200px;
  padding-top: 25px;
}

#popup__add-person .modal_header h3,
#popup__edit-person-period .modal_header h3 {
  margin: 0 auto;
}

#popup__add-person .modal_close,
#popup__edit-person-period .modal_close {
  width: 32px;
  height: 32px;
  position: absolute;
  right: 21px;
  top: 21px;
  cursor: pointer;
}

#popup__add-person .modal_back {
  width: 32px;
  height: 32px;
  position: absolute;
  left: 21px;
  top: 21px;
  cursor: pointer;
}

#popup__add-person .modal_close i::before,
#popup__add-person .modal_back i::before,
#popup__edit-person-period .modal_close i::before {
  background-color: #B7BDCE;
}

#popup__add-person.popup__add-person_female .nd-radio-wrap .nd-radio:checked~label {
  background-image: url('../img/icons/icons.svg#rbtn-full-female');
}

#popup__add-person.popup__add-person_female .add-person__steps li.active {
  background-color: rgba(100, 58, 115, 0.50);
  border-color: #643A73;
}

#popup__add-person.popup__add-person_female .add-person__steps li:last-of-type {
  background-image: url("../img/new_uikit/add-person__steps-final_female.svg");
}

#popup__add-person.popup__add-person_female .add-person__buttons .nd-button {
  background-color: #643A73;
  border: 1px solid #643A73;
}

#popup__edit-person-period .existing-person__top-block {
  box-shadow: none;
  padding: 0;
  margin-bottom: 7px;
}

#popup__edit-person-period .existing-person__top-block .existing-person__photo {
  width: 80px;
  height: 80px;
  margin-right: 15px;
}

#popup__edit-person-period .existing-person__top-block .existing-person__fullname {
  display: flex;
  align-items: center;
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
}

#popup__edit-person-period .add-person__buttons {
  padding: 0 65px;
  text-align: right;
}

#popup__edit-person-period .popup__edit-person-period-btn {
  width: 191px;
}

#popup__edit-person-period .wrap__add-person-select-period {
  height: 350px;
  overflow-y: scroll;
}

#popup__edit-person-period .existing-person__top-block {
  box-shadow: none;
  padding: 0;
  margin-bottom: 7px;
}

#popup__edit-person-period .existing-person__top-block .existing-person__photo {
  width: 80px;
  height: 80px;
  margin-right: 15px;
}

#popup__edit-person-period .existing-person__top-block .existing-person__fullname {
  display: flex;
  align-items: center;
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
}

#popup__edit-person-period .add-person__buttons {
  padding: 0 65px;
  text-align: right;
}

#popup__edit-person-period .popup__edit-person-period-btn {
  width: 191px;
}

#popup__edit-person-period .wrap__add-person-select-period {
  height: 350px;
  overflow-y: scroll;
}

.nd-social-circle__person-card .person-card__body_info .person-card__body_info-title {
  color: #B7BDCE;
  font-family: "Proxima Nova";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  margin-bottom: 8px;
}

.nd-social-circle__person-card .person-card__body_info .person-card__body_info-text {
  color: #444;
  font-family: "Proxima Nova";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  margin-bottom: 16px;
}

.nd-social-circle__person-card .person-card__body_content .person-card__body_periods {
  display: none;
}

.nd-social-circle__person-card .person-card__body_tabs ul li {
  cursor: pointer;
}

.nd-social-circle__person-card .person-card__body_tabs ul li.active {
  color: #326E5B;
}

.nd-social-circle__person-card .person-card__body_tabs ul li.active::after {
  content: '';
  width: 100%;
  height: 1px;
  top: 9px;
  display: block;
  position: relative;
  background-color: #326E5B;
}

.wrap__add-person {
  display: flex;
  padding: 60px 60px 40px;
}

.wrap__add-person.wrap__add-person_step2 {
  display: flex;
  padding: 25px 60px 40px;
  flex-direction: column;
}

.wrap__add-person .add-person__right {
  width: 100%;
  margin-left: 17px;
}

.wrap__add-person .add-person__right .nd-input-wrap:first-child {
  margin-right: 15px;
}

.wrap__add-person .add-person__right .add-person__info-main .nd-input-wrap {
  width: 48.5%;
}

.wrap__add-person .add-person__right .add-person__info-main {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.wrap__add-person .add-person__right .nd-one-person__radio-gender {
  padding-top: 10px;
  margin-bottom: 35px;
}

.wrap__add-person .add-person__button-info-additional {
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  color: #326E5B;
  display: inline-flex;
  cursor: pointer;
}

.wrap__add-person .add-person__button-info-additional i {
  width: 24px;
  height: 24px;
  margin-left: 4px;
}

.wrap__add-person .add-person__button-info-additional i::before {
  background-color: #326E5B;
}

.wrap__add-person .add-person__button-info-additional.active i {
  transform: rotate(180deg);
}

.wrap__add-person .add-person__right .add-person__info-additional {
  margin-bottom: 35px;
}

.wrap__add-person .add-person__right .add-person__info-additional h4 {
  font-weight: 400;
  margin-bottom: 13px;
}

.wrap__add-person .add-person__right .add-person__info-additional .nd-one-person__wrap-content.nd-one-person__alive,
.wrap__add-person .add-person__right .add-person__info-additional .nd-one-person__wrap-content.nd-one-person__notalive {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.wrap__add-person .add-person__right .add-person__info-additional .nd-one-person__wrap-content .nd-one-person__map {
  width: 310px;
  height: 140px;
  margin-bottom: 32px;
  border-radius: 8px;
  overflow: hidden;
}

.wrap__add-person .add-person__right .add-person__info-additional .nd-one-person__wrap-content.nd-one-person__alive {
  margin-bottom: 35px;
}

.wrap__add-person .add-person__right .add-person__info-additional .nd-one-person__map-link {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  color: #326E5B;
  display: flex;
  align-items: center;
}

.wrap__add-person .add-person__right .add-person__info-additional .nd-one-person__map-link i {
  width: 24px;
  height: 24px;
  margin-right: 5px;
}

.wrap__add-person .add-person__right .add-person__info-additional .nd-one-person__map-link i::before {
  background-color: #326E5B;
}

#popup__add-person .add-person__buttons {
  display: flex;
  justify-content: flex-end;
  padding: 0 60px;
}

#popup__add-person .add-person__buttons .nd-button {
  width: 200px;
}

#popup__add-person .add-person__buttons .nd-button.nd-button-red {
  width: 260px;
}

.nd-graduates__gallery .tns-controls {
  display: flex;
  margin-top: 20px;
  justify-content: center;
}

.nd-graduates__gallery .nd-graduates__gallery-edit .tns-controls {
  justify-content: flex-start;
}

.nd-graduates__gallery .tns-controls button {
  background-color: rgba(183, 189, 206, 0.3);
  font-size: 0px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  border-radius: 100%;
}

.nd-graduates__gallery .tns-controls button::before {
  content: '';
  width: 24px;
  height: 24px;
  -webkit-mask: url("../img/icons/icons.svg#back") no-repeat 100% 100%;
  mask: url("../img/icons/icons.svg#back") no-repeat 100% 100%;
  background-color: #444;
  display: block;
}

.nd-graduates__gallery .tns-controls button[data-controls="next"]::before {
  transform: rotate(180deg);
}

.nd-graduates__gallery .tns-controls button[disabled=""] {
  opacity: 0.3;
}

.nd-graduates__gallery .nd-graduates__gallery-edit {
  display: flex;
}

.nd-graduates__gallery .tns-outer button[data-action="stop"],
.nd-graduates__gallery .tns-outer button[data-action="start"] {
  display: none;
}

.nd-graduates__gallery .tns-ovh #myCarousel-iw {
  display: flex;
}

.nd-graduates__main-img.nd-graduates__main-img_empty .ndfu-uploader {
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
}

#popup__add-person-already #popup {
  height: fit-content;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
}

#popup__add-person-already #popup .popup-main .popup-body .existing-person {
  padding: 0;
  position: relative;
}

#popup__add-person-already #popup .popup-main .popup-body .existing-person__box-button {
  text-align: right;
}

#popup__add-person-already #popup .popup-main .popup-body .existing-person__box-button #add-existing-person {
  position: relative;
  bottom: 0;
  right: 0;
}

/* graduates finish*/

.page-template-chat .nd-content {
  padding: 0;
}

.page-template-chat .footer {
  display: none;
}

.page-template-chat .nd-content #send-message i {
  width: 100%;
  height: 100%;
  display: flex;
}

/*search page start*/

.search-results .nd-content,
.search-no-results .nd-content {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.search-results .nd-content .search-content,
.search-no-results .nd-content .search-content {
  width: calc(100% - 290px);
  padding: 24px 32px 40px;
  margin: 0 15px 0 0;
  background-color: #fff;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #f0f4f7;
  border-radius: 15px;
  flex: unset;
}

.search-results .nd-content .search-content.search-content-empty,
.search-no-results .nd-content .search-content.search-content-empty {
  width: 100%;
  margin: 0;
  flex: unset;
}

.search-results .nd-content .menu-content {
  width: 290px;
  flex-shrink: 0;
}

.search-results .nd-content .menu-content .menu-content__inner {
  margin: 0;
  background-color: #fff;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #f0f4f7;
  border-radius: 15px;
  padding: 22px 16px 31px;
}

.search-results .nd-content .menu-content .menu-content__inner .menu-content__link {
  padding: 10px 16px;
}

.search-results .nd-content .search-content .nd-header__search,
.search-no-results .nd-content .search-content .nd-header__search {
  width: 100%;
}

.search-results .nd-content .search-content .nd-header__search .search-form .search-input,
.search-results .nd-content .search-content .nd-header__search .search-form .nd-input-label,
.search-no-results .nd-content .search-content .nd-header__search .search-form .search-input,
.search-no-results .nd-content .search-content .nd-header__search .search-form .nd-input-label {
  visibility: visible;
  opacity: 1;
}

.search-results .nd-content .search-content .nd-header__search .search-form .nd-icon__search::before,
.search-no-results .nd-content .search-content .nd-header__search .search-form .nd-icon__search::before {
  background-color: #B7BDCE;
}

.search-results .nd-content .search-content .search_main_bl .post_wrapper {
  padding: 13px 15px;
}

.search-results .nd-content .search-content .search_main_bl .post_data_wrapper a {
  font-size: 16px;
}

/* search page finish*/

#popup__close-without-save .user-settings__buttons a {
  text-align: center;
}

#popup__close-without-save .nd-button.nd-button-icon {
  display: flex;
  background-color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
  position: absolute;
  right: 24px;
  top: 24px;
  align-items: center;
  justify-content: center;
}

#popup__close-without-save .nd-button.nd-button-icon i {
  height: 32px;
  width: 32px;
}

#popup__close-without-save .nd-button.nd-button-icon i::before {
  background-color: #B7BDCE;
  height: 32px;
  width: 32px;
}

.person_aboutmenu .nd-one-person__menu-actions .main-button-comment {
  margin: 0 10px 0 0;
}

.nd-one-person__info-main .nd-one-person__avatar .person_avatar {
  cursor: pointer;
}

/* social circle start*/

.page-template-social-circle .nd-content {
  padding: 0;
  margin: 0 14px 0 20px;
  flex-grow: 1;
  background-color: transparent;
  box-shadow: none;
  border: none;
  border-radius: 0;
}

@media only screen and (max-width: 768px) {
  .page-template-social-circle .nd-content {
    margin: 0;
  }
}


#popup__add-group.modal_base.center,
#popup__add-period.modal_base.center,
#popup__list-persons.modal_base.center {
  position: absolute;
  justify-content: flex-end;
  z-index: 800;
}

#popup__add-period.modal_base.center.popup__add-period_first {
  border-radius: 15px;
  z-index: 450;
}

#popup__add-period.modal_base.center.popup__add-period_first .modal_wrapper {
  margin: 0 auto;
}

#popup__add-group .modal_wrapper,
#popup__add-period .modal_wrapper,
#popup__list-persons .modal_wrapper {
  width: auto;
  height: fit-content;
}

#popup__list-persons .modal_wrapper {
  width: 565px;
}

.page-template-social-circle #popup__list-persons .wrap__add-group {
  padding: 40px 60px;
  max-height: 400px;
  overflow-y: scroll;
}

#popup__add-group .modal_header,
#popup__add-period .modal_header,
#popup__list-persons .modal_header {
  padding: 22px 0;
  text-align: center;
}

#popup__add-period .modal_header {
  max-height: unset;
  padding: 20px 0 15px;
}

#popup__add-period .modal_header h3 {
  width: 75%;
}

#popup__list-persons .modal_header {
  flex-direction: column;
}

#popup__add-group .modal_header h3,
#popup__add-period .modal_header h3,
#popup__list-persons .modal_header h3 {
  margin: 0 auto;
}

#popup__onboarding.modal_base {
  background: transparent;
  z-index: 1250;
}

#popup__onboarding .modal_back,
#popup__onboarding .modal_close,
#popup__add-group .modal_close,
#popup__add-period .modal_close,
#popup__list-persons .modal_close,
#popup__filter-groups .modal_close {
  width: 32px;
  height: 32px;
  position: absolute;
  right: 21px;
  top: 21px;
  cursor: pointer;
}

#popup__filter-groups .modal_close .nd-icon__close::before {
  background-color: #B7BDCE;
}

#popup__onboarding .modal_back {
  left: 21px;
  top: 21px;
  right: auto;
}

#popup__onboarding .modal_back i::before,
#popup__onboarding .modal_close i::before,
#popup__add-group .modal_close i::before,
#popup__add-period .modal_close i::before,
#popup__list-persons .modal_close i::before {
  background-color: #B7BDCE;
}

#popup__add-group .popup__add-group_step1 .wrap__add-group,
#popup__add-period .wrap__add-group {
  padding: 40px 125px 35px;
  max-height: 464px;
  overflow-y: auto;
}

#popup__add-group .popup__add-group_step1 .wrap__add-group {
  padding: 40px 0px 35px;
  width: 540px;
}

#popup__add-period .wrap__add-group {
  padding: 40px 60px 35px;
}

#popup__add-period .wrap__add-group .wrap__add-period {
  padding: 25px;
  background-color: #FAFAFA;
  border-radius: 8px;
  max-width: 470px;
}

#popup__add-period .wrap__add-group h4 {
  color: #444;
  font-family: "Source Serif Pro";
  font-size: 20px;
  font-weight: 400;
  line-height: 25px;
  text-align: center;
  margin-bottom: 25px;
}

#popup__add-period .wrap__add-group .wrap__add-period .wrap__add-period_select {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
}

#popup__add-period .wrap__add-group .wrap__add-period .wrap__add-period_select li a {
  color: #444;
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid #B7BDCE;
  background: #FFF;
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.12);
  display: flex;
  cursor: pointer;
  position: relative;
}

#popup__add-period .wrap__add-group .wrap__add-period .wrap__add-period_select li.active a {
  color: #fff;
  border: 1px solid #326E5B;
  background: #8DBEAF;
  padding: 8px 51px 8px 16px;
}

#popup__add-period .wrap__add-group .wrap__add-period .wrap__add-period_select li:last-of-type a {
  padding: 6px;
  box-shadow: none;
  border: none;
  background-color: transparent;
}

#popup__add-period .wrap__add-group .wrap__add-period .wrap__add-period_select li a .nd-icon__trash {
  display: none;
}

#popup__add-period .wrap__add-group .wrap__add-period .wrap__add-period_select li.active a .nd-icon__trash {
  width: 35px;
  height: 35px;
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(50, 110, 91, 0.30);
  border-radius: 100%;
}

#popup__add-period .wrap__add-group .wrap__add-period .wrap__add-period_select li a .nd-icon__trash::before {
  background-color: #fff;
  width: 22px;
  height: 22px;
}

#popup__add-period .wrap__add-group .wrap__add-period .wrap__add-period_select li:last-of-type a i::before {
  width: 24px;
  height: 24px;
  margin: 0 auto;
  background-color: #326E5B;
}

#popup__add-period .wrap__add-group .wrap__add-period .wrap__add-period-info .wrap__add-period-info-tab {
  display: none;
}

#popup__add-period .wrap__add-group .wrap__add-period .wrap__add-period-info .wrap__add-period-info-tab.active {
  display: block;
}

#popup__add-period .wrap__add-group .wrap__add-period .wrap__add-period-info .wrap__add-period-info-date {
  display: flex;
  margin-bottom: 25px;
  align-items: center;
}

#popup__add-period .wrap__add-group .wrap__add-period .wrap__add-period-info .wrap__add-period-info-date .wrap__add-period-info-date_title {
  color: #444;
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
  margin-right: 12px;
}

#popup__add-period .wrap__add-group .wrap__add-period .wrap__add-period-info .wrap__add-period-info-date .nd-input-wrap {
  margin: 0 24px 0 0;
  width: 70px;
  padding-bottom: 0;
}

#popup__add-period .wrap__add-group .wrap__add-period .wrap__add-period-info .wrap__add-period-info-date .nd-input-wrap .nd-input {
  padding: 13px 10px 12px 9px;
  background: #FFF;
}

#popup__add-period .wrap__add-group .wrap__add-period .wrap__add-period-info .wrap__add-period-info-date .wrap__add-period-info-date_error {
  color: #E24242;
  font-family: "Proxima Nova";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  width: 156px;
  display: none;
}

#popup__add-period .wrap__add-group .wrap__add-period .wrap__add-period-info .wrap__add-period-info-title,
#popup__add-period .wrap__add-group .wrap__add-period .wrap__add-period-info .wrap__add-period-info-title .nd-input-wrap {
  margin: 0;
  width: 100%;
}

#popup__add-period .wrap__add-group .wrap__add-period .wrap__add-period-info .wrap__add-period-info-title .nd-input-wrap .nd-input {
  padding: 13px 10px 12px 9px;
  background: #FFF;
}

#popup__add-period .wrap__add-group .wrap__add-period .wrap__add-period-info .wrap__add-period-info-title .wrap__add-period-info-title_title {
  color: #444;
  font-family: "Proxima Nova";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 19px;
  margin-bottom: 15px;
}

#popup__add-group .popup__add-group_step2 .wrap__add-group {
  padding: 40px 125px 35px;
  max-height: 464px;
  overflow: visible;
}

#popup__add-group .wrap__add-group .nd-input-wrap,
#popup__add-period .wrap__add-group .nd-input-wrap {
  width: 350px;
  margin: 0 auto;
}

#popup__add-group .wrap__add-group h4 {
  margin-bottom: 12px;
}

#popup__add-group .wrap__add-group .nd-input-wrap+h4 {
  margin-top: 14px;
}

#popup__add-group .wrap__add-group .nd-input-wrap:last-of-type,
#popup__add-period .wrap__add-group .nd-input-wrap:last-of-type {
  padding: 0;
}

#popup__add-group .wrap__add-group .nd-input-wrap .nd-input-wrap_button {
  display: flex;
  gap: 8px;
}

#popup__add-group .wrap__add-group .nd-input-wrap .nd-input-wrap_button .add-group__delete-button {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: #FAFAFA;
}

#popup__add-group .wrap__add-group .nd-input-wrap .nd-input-wrap_button .add-group__delete-button .nd-icon__trash::before {
  background-color: #444;
}

#popup__add-group .wrap__add-group .nd-input-wrap .nd-input__addtext {
  color: #326E5B;
}

#popup__add-group .wrap__add-group .nd-button-link,
#popup__add-period .wrap__add-group .nd-button-link {
  justify-content: center;
  color: #326E5B;
  margin-bottom: 25px;
}

#popup__add-group .wrap__add-group .nd-button-link i::before,
#popup__add-period .wrap__add-group .nd-button-link i::before {
  background-color: #326E5B;
}

#popup__add-group .wrap__add-group .nd-button-link {
  margin: 40px 0 0;
}

#popup__add-group .add-group__buttons,
#popup__add-period .add-group__buttons {
  width: 200px;
  margin: 0 auto;
}

#popup__add-group .add-group__new-person-list {
  flex-wrap: wrap;
  display: flex;
  max-width: 350px;
  gap: 10px;
  margin-top: 20px;
}

#popup__add-group .add-group__new-person-list li {
  padding: 4px 8px 4px 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  border: 1px solid #B7BDCE;
}

#popup__add-group .add-group__new-person-list li a {
  color: #444;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px;
}

#popup__add-group .add-group__new-person-list li i {
  width: 16px;
  height: 16px;
}

#popup__add-group .add-group__new-person-list li i::before {
  background-color: #B7BDCE;
}

#popup__onboarding .modal_wrapper {
  width: 520px;
  margin: 0;
  position: absolute;
  padding-bottom: 25px;
}

#popup__new-person .modal_wrapper,
#popup__wait .modal_wrapper {
  width: 520px;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  align-items: center;
  padding: 40px;
}

#popup__new-person .modal_wrapper h3 {
  margin-bottom: 65px;
  text-align: center;
}

#popup__new-person .nd-avatar {
  width: 80px;
  height: 80px;
  margin-bottom: 8px;
}

#popup__new-person .nd-button {
  width: 200px;
}

#popup__onboarding .modal_wrapper.popup__onboarding_step1 {
  top: 34%;
  left: 60%;
}

#popup__onboarding .modal_wrapper.popup__onboarding_step2,
#popup__onboarding .modal_wrapper.popup__onboarding_step3,
#popup__onboarding .modal_wrapper.popup__onboarding_step4,
#popup__onboarding .modal_wrapper.popup__onboarding_step5,
#popup__onboarding .modal_wrapper.popup__onboarding_step6 {
  top: 16%;
  left: 55%;
}

#popup__onboarding .modal_wrapper.popup__onboarding_step7 {
  top: 34%;
  left: 22%;
}

#popup__onboarding .modal_wrapper.popup__onboarding_step8 {
  top: 186px;
  left: 12%;
}

#popup__onboarding .modal_wrapper.popup__onboarding_step9 {
  top: 119px;
  left: 59%;
}

#popup__onboarding .modal_wrapper::before {
  content: '';
  background: url("../img/social-circle/arrow-grey.svg") center no-repeat;
  width: 50px;
  height: 100px;
  background-size: contain;
  position: absolute;
}

#popup__onboarding .modal_wrapper.popup__onboarding_step3::before,
#popup__onboarding .modal_wrapper.popup__onboarding_step4::before,
#popup__onboarding .modal_wrapper.popup__onboarding_step5::before {
  background-image: url("../img/social-circle/arrow-white.svg");
}

#popup__onboarding .modal_wrapper.popup__onboarding_step1::before {
  left: -47px;
  top: -47px;
}

#popup__onboarding .modal_wrapper.popup__onboarding_step2::before {
  left: -57px;
  top: 30px;
  -moz-transform: rotate(208deg) scale(-1, 1);
  -ms-transform: rotate(208deg) scale(-1, 1);
  -webkit-transform: rotate(208deg) scale(-1, 1);
  -o-transform: rotate(208deg) scale(-1, 1);
  transform: rotate(208deg) scale(-1, 1);
}

#popup__onboarding .modal_wrapper.popup__onboarding_step3::before {
  left: -48px;
  bottom: -39px;
  -moz-transform: rotate(2deg);
  -ms-transform: rotate(2deg);
  -webkit-transform: rotate(2deg);
  -o-transform: rotate(2deg);
  transform: rotate(2deg);
}

#popup__onboarding .modal_wrapper.popup__onboarding_step4::before {
  left: -48px;
  bottom: -18px;
  -moz-transform: rotate(2deg);
  -ms-transform: rotate(2deg);
  -webkit-transform: rotate(2deg);
  -o-transform: rotate(2deg);
  transform: rotate(2deg);
}

#popup__onboarding .modal_wrapper.popup__onboarding_step5::before {
  left: -48px;
  bottom: 58px;
  -moz-transform: rotate(2deg);
  -ms-transform: rotate(2deg);
  -webkit-transform: rotate(2deg);
  -o-transform: rotate(2deg);
  transform: rotate(2deg);
}

#popup__onboarding .modal_wrapper.popup__onboarding_step6::before {
  left: -53px;
  top: 40px;
  -moz-transform: rotate(194deg) scale(-1, 1);
  -ms-transform: rotate(194deg) scale(-1, 1);
  -webkit-transform: rotate(194deg) scale(-1, 1);
  -o-transform: rotate(194deg) scale(-1, 1);
  transform: rotate(194deg) scale(-1, 1);
}

#popup__onboarding .modal_wrapper.popup__onboarding_step7::before {
  right: -50px;
  top: 28px;
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

#popup__onboarding .modal_wrapper.popup__onboarding_step8::before {
  left: -61px;
  top: -23px;
  -moz-transform: rotate(-38deg);
  -ms-transform: rotate(-38deg);
  -webkit-transform: rotate(-38deg);
  -o-transform: rotate(-38deg);
  transform: rotate(-38deg);
}

#popup__onboarding .modal_wrapper.popup__onboarding_step9::before {
  right: -63px;
  top: -26px;
  -moz-transform: rotate(45deg) scale(-1, 1);
  -ms-transform: rotate(45deg) scale(-1, 1);
  -webkit-transform: rotate(45deg) scale(-1, 1);
  -o-transform: rotate(45deg) scale(-1, 1);
  transform: rotate(45deg) scale(-1, 1);
}

#popup__onboarding .modal_header {
  text-align: center;
  padding: 22px 0;
  justify-content: center;
}

#popup__onboarding .wrap__onboarding-content {
  padding: 24px 28px 18px;
}

#popup__onboarding .wrap__onboarding-content p {
  font-family: "Source Serif Pro";
  font-size: 20px;
  font-weight: 400;
  line-height: 25px;
  margin-bottom: 12px;
}

#popup__onboarding .add-group__buttons {
  width: 200px;
  margin: 0 auto;
}

#popup__onboarding .add-group__buttons a {
  display: block;
  text-align: center;
  position: relative;
  cursor: pointer;
}

#popup__onboarding .add-group__buttons a span {
  font-weight: 400;
  position: absolute;
  right: 28px;
  line-height: 50px;
}

.nd-social-circle__period.onboarding-highlight {
  position: relative;
}

.nd-header__help2 {
  display: none;
}

.nd-social-circle__period.onboarding-highlight .nd-social-circle__period-link,
.nd-social-circle__circle-4.onboarding-highlight,
.nd-social-circle__circle-1 .button__popup-add-person.onboarding-highlight,
.nd-social-circle__display-option.onboarding-highlight,
.nd-header__help2.onboarding-highlight {
  z-index: 1200;
}

.nd-social-circle__circle-1 .onboarding-highlight-bg {
  border-radius: 100%;
  background-color: #fff;
  width: 75px;
  height: 75px;
  display: flex;
  position: absolute;
  bottom: auto;
  top: -35px;
  bottom: 9px;
  left: 0;
  z-index: 1199;
  right: 0;
  margin: 0 auto;
}

.nd-header__help2.onboarding-highlight {
  display: block;
  position: absolute;
  top: 12px;
  right: 119px;
  font-size: 16px;
  font-weight: 400;
  line-height: 49px;
  color: #326e5b;
  margin-left: 32px;
  width: 92px;
  height: 49px;
  background-color: #fff;
  border-radius: 100px;
  text-align: center;
}


.nd-social-circle__circle-4.onboarding-highlight-circle1 .nd-social-circle__circle-1 {
  background-image: url(../img/new_uikit/circle-big-1-yellow.svg);
}

.nd-social-circle__circle-4.onboarding-highlight-circle2 .nd-social-circle__circle-2 {
  background-image: url(../img/new_uikit/circle-big-2-yellow.svg);
}

.nd-social-circle__circle-4.onboarding-highlight-circle3 .nd-social-circle__circle-3 {
  background-image: url(../img/new_uikit/circle-big-3-yellow.svg);
}

.nd-social-circle__circle-4.onboarding-highlight-circle4.nd-social-circle__circle-4 {
  background-image: url(../img/new_uikit/circle-big-4-yellow.svg);
}

.nd-social-circle__circle-1 .button__popup-add-person {
  position: absolute;
  top: 145px;
  z-index: 10;
  border: 3px solid #fff;
}


/*
.nd-social-circle__circle-1 .button__popup-add-person::before {
  content: '';
  position: absolute;
  width: 77px;
  height: 77px;
  background-color: #fff;
  border-radius: 100%;
  z-index: -4;
  top: -10px;
  left: -10px;
}*/

.nd-social-circle__period.onboarding-highlight::after {
  content: '';
  position: absolute;
  width: 378px;
  height: 77px;
  background-color: #fff;
  border-radius: 100px;
  z-index: 1199;
  top: -16px;
}

.page-template-social-circle .popup__add-person_step2 .add-person__buttons {
  justify-content: space-between;
  padding: 0 60px 30px !important;
}

.page-template-social-circle .popup__add-person_step2 .add-person__left {
  width: 43%;
}

.page-template-social-circle .popup__add-person_step2 .add-person__left h4 {
  margin-bottom: 15px;
}

.page-template-social-circle .popup__add-person_step2 .add-person__right {
  width: 44%;
}

.add-person__steps {
  display: flex;
}

.add-person__steps li {
  color: #444;
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
  border: 1px solid #B7BDCE;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 100%;
  margin-right: 8px;
}

.add-person__steps li::after {
  content: '';
  width: 8px;
  height: 1px;
  position: absolute;
  display: block;
  background: #B7BDCE;
  right: -9px;
}

.add-person__steps li.active {
  background-color: #8DBEAF;
  border-color: #326E5B;
  color: #fff;
}

.add-person__steps li.active::after {
  background: #326E5B;
}

.add-person__steps li:last-of-type {
  background: url("../img/new_uikit/add-person__steps-final.svg") center no-repeat;
}

.add-person__steps li:last-of-type:after {
  display: none;
}

.add-person-select-circle {
  width: 302px;
  height: 302px;
  background: url("../img/new_uikit/add-person-select-circle__bg.svg") left top no-repeat;
  position: relative;
  left: -27px;
}

.add-person-select-circle .add-person-select-circle__main-avatar {
  width: 70px;
  height: 70px;
  position: absolute;
  left: 28px;
  top: 22px;
  border-radius: 100%;
  overflow: hidden;
}

.add-person-select-circle .add-person-select-circle__one-circle {
  position: absolute;
  display: flex;
}

.add-person-select-circle .add-person-select-circle__one-circle:nth-of-type(2) {
  left: 126px;
  top: 109px;
}

.add-person-select-circle .add-person-select-circle__one-circle:nth-of-type(3) {
  left: 158px;
  top: 141px;
}

.add-person-select-circle .add-person-select-circle__one-circle:nth-of-type(4) {
  left: 190px;
  top: 173px;
}

.add-person-select-circle .add-person-select-circle__one-circle:nth-of-type(5) {
  left: 222px;
  top: 205px;
}

.add-person-select-circle .add-person-select-circle__one-circle .add-person-select-circle__one-circle-button {
  width: 31px;
  height: 31px;
  background-color: #fff;
  border: 1px solid #326E5B;
  border-radius: 100%;
  cursor: pointer;
  overflow: hidden;
}

.add-person-select-circle .add-person-select-circle__one-circle .add-person-select-circle__one-circle-text {
  color: #326E5B;
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  transform: rotate(-35deg);
  position: absolute;
  white-space: nowrap;
  left: -35px;
  top: 23px;
}

.popup__add-person_step2 .wrap__add-person_step1 {
  padding: 35px 60px 24px;
  align-items: flex-start;
  justify-content: space-between;
}

.popup__add-person_step2 .wrap__add-person_step1.wrap__add-person .add-person__full-width {
  display: none;
  width: 100%;
}

.popup__add-person_step2 .wrap__add-person_step1.wrap__add-person .add-person__full-width .existing-person {
  position: relative;
  padding: 0;
  width: 100%;
}

.popup__add-person_step2 .wrap__add-person_step1.wrap__add-person .add-person__full-width .existing-person__button {
  bottom: -73px;
  right: -5px;
  padding: 16px 66px;
}

.popup__add-person_step2 .wrap__add-person_step1 .add-person__left .add-person__left-top {
  display: flex;
  padding-bottom: 50px;
  min-height: 208px;
  margin-bottom: 23px;
}

.popup__add-person_step2 .wrap__add-person_step1 .add-person__left .nd-one-person__radio .nd-radio-wrap {
  margin: 9px 0;
}

.popup__add-person_step2 .wrap__add-person_step1 .add-person__right h4 {
  margin-bottom: 15px;
}

.popup__add-person_step2 .wrap__add-person_step1.wrap__add-person .add-person__right .add-person__info-main .nd-input-wrap {
  width: 100%;
  margin-right: 0;
  padding-bottom: 10px;
}

.popup__add-person_step2 .wrap__add-person_step1 .add-person__full-width .go-to-card {
  background: transparent;
  color: #326E5B;
  height: auto;
  width: auto;
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.popup__add-person_step2 .wrap__add-person_step1 .add-person__full-width .go-to-card i {
  transform: rotate(180deg);
}

.popup__add-person_step2 .wrap__add-person_step1 .add-person__full-width .go-to-card i::before {
  background-color: #326E5B;
  width: 25px;
  height: 25px;
  margin: 0 auto;
}

.popup__add-person_step2 .wrap__add-person_step1 .add-person__full-width .existing-person__box-button {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.popup__add-person_step2 .wrap__add-person_step1 .add-person__full-width .existing-person__box-button .existing-person__button {
  position: relative;
  bottom: auto;
  right: auto;
  height: 50px;
}

#popup__add-person .wrap__add-person_step1 .add-person__left .nd-one-person__radio {
  flex-direction: column;
  margin-bottom: 0;
  margin-left: 30px;
  flex-direction: column;
  justify-content: center;
}

#popup__add-person .wrap__add-person_step2 h4 {
  margin-bottom: 11px;
}

#popup__add-person .wrap__add-person_step2 .nd-radio-wrap {
  margin-top: 20px;
}

#popup__add-person .wrap__add-person_step2 .nd-radio-wrap .nd-radio-label {
  font-family: "Source Serif Pro";
  font-size: 20px;
  font-weight: 400;
  line-height: 25px
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_top {
  display: flex;
  gap: 12px;
  margin-bottom: 26px;
  padding: 1px;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_top .wrap__add-person_step2_top-left img {
  width: 48px;
  height: 48px;
  border-radius: 100%;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_top .wrap__add-person_step2_top-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_top .wrap__add-person_step2_top-right .wrap__add-person_step2_top-right_title {
  color: #444;
  font-family: "Proxima Nova";
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_top .wrap__add-person_step2_top-right .wrap__add-person_step2_top-right_subtitle {
  color: #444;
  font-family: "Proxima Nova";
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom>h4 {
  font-weight: 400;
  margin-bottom: 15px;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods {
  display: flex;
  gap: 15px;
  flex-direction: column;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods>h5 {
  display: flex;
  align-items: center;
  gap: 8px;
  background: url("../img/new_uikit/switch-off.svg") 25px center no-repeat;
  padding: 25px 25px 25px 106px;
  line-height: 34px;
  cursor: pointer;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods.active>h5 {
  background-image: url("../img/new_uikit/switch-on.svg");
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods>h5 span {
  color: #444;
  font-family: "Proxima Nova";
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods .item-person-add-periods__item h5 {
  margin-bottom: 15px;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods .wrap__add-period_select {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods .wrap__add-period_select li a {
  color: #444;
  font-size: 14px;
  font-weight: 700;
  line-height: 17px;
  padding: 12px 24px;
  border-radius: 100px;
  border: 1px solid #B7BDCE;
  background: #FFF;
  display: flex;
  cursor: pointer;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods .wrap__add-period_select li a.active {
  color: #fff;
  border: 1px solid #326E5B;
  background: #8DBEAF;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods {
  border-radius: 8px;
  border: 1px solid rgba(183, 189, 206, 0.30);
  background: #FAFAFA;
  padding: 0;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods .item-person-add-periods__content {
  padding: 15px 25px 25px;
  display: none;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods.active .item-person-add-periods__content {
  display: block;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods.active .item-person-add-periods__content .person-list-group {
  display: flex;
  gap: 8px;
  flex-direction: row;
  margin-top: 15px;
  flex-wrap: wrap;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods.active .item-person-add-periods__content .person-list-group .person-list_item {
  display: flex;
  gap: 8px;
  flex-direction: row;
  color: #444;
  font-family: "Proxima Nova";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  border-radius: 100px;
  border: 1px solid #B7BDCE;
  background: #FFF;
  padding: 6px 12px;
  align-items: center;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods.active .item-person-add-periods__content .person-list-group .person-list_item i {
  width: 24px;
  height: 24px;
  display: flex;
  cursor: pointer;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods.active .item-person-add-periods__content .person-list-group .person-list_item i::before {
  background-color: #B7BDCE;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods .item-person-add-periods__content .nd-select-wrap {
  width: 340px;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods .item-person-add-periods__item .avatar-person-period__wrap {
  display: flex;
  gap: 30px;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods .item-person-add-periods__item .avatar-person-period__wrap .avatar-person-period__right {
  display: flex;
  height: 100px;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods .item-person-add-periods__item .avatar-person-period__wrap .avatar-person-period__right p {
  color: #444;
  font-family: "Proxima Nova";
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
  width: 60%;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods .item-person-add-periods__item .avatar-person-period__wrap .avatar-person-period__right i {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  top: -11px;
  position: relative;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods .item-person-add-periods__item .avatar-person-period__wrap .avatar-person-period__right i::before {
  background-color: #444;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods .item-person-add-periods__item .avatar-person-period__wrap .avatar-person-period__left {
  width: 100px;
  height: 100px;
  margin-bottom: 50px;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods .item-person-add-periods__item .avatar-person-period__wrap .avatar-person-period__left .area-image-place {
  width: 100px;
  height: 100px;
  border-radius: 100%;
  overflow: hidden;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods .item-person-add-periods__item .avatar-person-period__wrap .avatar-person-period__left [data="crop-image-container"] .select_file_btn {
  width: 40px;
  height: 40px;
  bottom: -20px;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods .item-person-add-periods__item .avatar-person-period__wrap .avatar-person-period__left [data="crop-image-container"] .select_file_btn svg {
  width: 24px;
}

.wrap__add-person.wrap__add-person_step3 {
  flex-direction: column;
  padding-top: 38px;
  height: 435px;
  overflow: auto;
}


.wrap__add-person.wrap__add-person_step3>h4 {
  text-align: center;
  margin-bottom: 30px;
}

.add-person-select-period {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid rgba(183, 189, 206, 0.3);
}

.add-person-select-period:last-of-type {
  border: none;
}

.add-person-select-period .nd-social-circle__select-group {
  min-width: 180px;
}

.add-person-select-period .nd-social-circle__select-group .nd-social-circle__select-group-current_mob {
  padding: 14px 10px;
}

.add-person-select-period .add-person-select-period__button {
  font-weight: 400;
  line-height: 34px;
  padding-left: 81px;
  background: url("../img/new_uikit/switch-off.svg") left center no-repeat;
  cursor: pointer;
}

.add-person-select-period .add-person-select-period__button.active {
  background-image: url("../img/new_uikit/switch-on.svg");
}

.wrap__add-person_step4 {
  flex-direction: column;
  align-items: center;
  padding: 40px 0 25px;
}

.wrap__add-person_step4 .nd-avatar {
  width: 80px;
  height: 80px;
  margin-bottom: 8px;
}

.wrap__add-person_step4 h3 {
  margin-bottom: 65px;
  text-align: center;
}

.wrap__add-person_step4 h3 span {
  font-weight: 600;
}

.wrap__add-person_step4 .nd-button {
  width: 200px;
}

.wrap__add-person_step4 .loader {
  width: 70px;
  height: 70px;
  /*background: url("../img/loader.png") left center no-repeat;
  animation: 2s ease-in-out rotate_new infinite;*/
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrap__add-person_step4 .loader__img {
  object-fit: contain;
  animation: 2s linear infinite rotate_new;
}

.wrap__add-person_step4 .loader__hourglass {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 40px;
  border-radius: 999px;
}

@keyframes rotate_new {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(90deg);
  }

  75% {
    transform: rotate(180deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.wrap__add-person_step4 .loader-title {
  color: #326E5B;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  font-family: "Source Serif Pro";
}


#popup__add-person .add-person__left .nd-one-person__avatar .person_avatar {
  cursor: pointer;
}

#popup__delete-period .modal_header,
#popup__delete-group .modal_header,
#popup__save-person-card-info .modal_header {
  display: none;
}

#popup__delete-period .modal-settings,
#popup__delete-group .modal-settings,
.popup__delete-person .modal-settings,
#popup__save-person-card-info .modal-settings {
  padding: 34px 150px 31px 68px;
  width: 662px;
  position: relative;
}

#popup__delete-period .modal-settings .modal-settings__title,
#popup__delete-group .modal-settings .modal-settings__title,
.popup__delete-person .modal-settings .modal-settings__title,
#popup__save-person-card-info .modal-settings .modal-settings__title {
  margin-bottom: 35px;
  font-family: 'Source Serif Pro';
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 25px;
  color: #444;
}

#popup__delete-period .modal-settings .modal-settings__text,
#popup__delete-group .modal-settings .modal-settings__text,
.popup__delete-person .modal-settings .modal-settings__text,
#popup__save-person-card-info .modal-settings .modal-settings__text {
  margin-bottom: 45px;
  font-family: 'Source Serif Pro';
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 25px;
  color: #444;
}

#popup__delete-period .modal-settings .user-settings__buttons,
#popup__delete-group .modal-settings .user-settings__buttons,
.popup__delete-person .modal-settings .user-settings__buttons,
#popup__save-person-card-info .modal-settings .user-settings__buttons {
  justify-content: start;
  gap: 15px;
  display: flex;
}

#popup__delete-period .close_modal,
#popup__delete-group .close_modal,
.popup__delete-person .close_modal,
#popup__save-person-card-info .close_modal {
  display: block;
  position: absolute;
  right: 24px;
  top: 24px;
  box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.12);
  background: #FFF;
}

#popup__delete-period .nd-button.nd-button-icon,
#popup__delete-group .nd-button.nd-button-icon,
.popup__delete-person .nd-button.nd-button-icon,
#popup__save-person-card-info .nd-button.nd-button-icon {
  width: 45px;
  height: 45px;
  border-width: 0;
}

#popup__delete-period .nd-button.nd-button-icon i::before,
#popup__delete-group .nd-button.nd-button-icon i::before,
.popup__delete-person .nd-button.nd-button-icon i::before,
#popup__save-person-card-info .nd-button.nd-button-icon i::before {
  background-color: #B7BDCE;
}

/* social circle finish*/

.nd-one-person__info-additional .nd-input-datepicker {
  width: 115px;
}

.nd-sidebar__nav-link--hide {
  display: none;
}

.nd-wrap-content--map.nd-wrap-content.map_main {
  position: unset;
}

.nd-social-circle__circle-period_wrap .nd-social-circle__avatar {
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nd-social-circle__circle-period_wrap .nd-social-circle__avatar img {
  overflow: hidden;
  border-radius: 100%;
  height: 100%;
}

.nd-social-circle__circle-period_wrap .nd-social-circle__avatar span {
  color: #5B5B5B;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  padding: 6px 14px;
  background-color: #FFF;
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: -47px;
  border-radius: 10px;
  left: -37%;
  white-space: nowrap;
  z-index: 100;
  display: flex;
  align-items: center;
}

.nd-social-circle__circle-period_wrap .nd-social-circle__avatar span:after {
  content: '';
  background: url("../img/icons/triangle.svg") center no-repeat;
  width: 40px;
  height: 35px;
  position: absolute;
  top: 18px;
  right: 0;
  left: 0;
  margin: 0 auto;
}

.nd-social-circle__circle-period_wrap .nd-social-circle__avatar-tooltip {
  color: #5B5B5B;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  padding: 6px 14px;
  background-color: #FFF;
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: -47px;
  border-radius: 10px;
  left: -37%;
  white-space: nowrap;
  z-index: 100;
  display: flex;
  align-items: center;
}

.nd-social-circle__circle-period_wrap .nd-social-circle__avatar-tooltip:after {
  content: '';
  background: url("../img/icons/triangle.svg") center no-repeat;
  width: 40px;
  height: 35px;
  position: absolute;
  top: 18px;
  right: 0;
  left: 0;
  margin: 0 auto;
}

.nd-social-circle__circle-period_wrap .nd-social-circle__avatar.ui-draggable-dragging span {
  display: none;
}

.nd-social-circle__header .button__popup-add-person_title {
  color: #5B5B5B;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  background-color: #FFF;
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.1);
  padding: 6px 14px;
  position: absolute;
  top: 66px;
  white-space: nowrap;
  right: 0px;
  border-radius: 10px;
}

.nd-social-circle__header .button__popup-add-person_title:before {
  content: '';
  background: url("../img/icons/triangle.svg") center no-repeat;
  width: 40px;
  height: 35px;
  position: absolute;
  transform: rotate(180deg);
  top: -24px;
  right: 0px;
}

.nd-social-circle__header .nd-social-circle__header-left .nd-social-circle__select-group .nd-select-wrap__current {
  padding: 7px 9px;
}

.nd-social-circle__header .nd-social-circle__header-left .nd-social-circle__select-group .nd-select-wrap__current i {
  width: 24px;
  height: 24px;
}

.nd-social-circle__header .nd-social-circle__header-left .nd-social-circle__select-group .nd-select-wrap__current i.nd-icon__user {
  margin-right: 8px;
}

.nd-social-circle__header .nd-social-circle__header-left .nd-social-circle__select-group .nd-select-wrap__current i.nd-icon__user::before {
  background-color: #444;
}

.nd-social-circle__header .nd-social-circle__header-left .nd-social-circle__select-group .nd-select-wrap__current i.nd-icon__down::before,
.nd-social-circle__header .nd-social-circle__header-left .nd-social-circle__select-group .nd-select-wrap__current i.nd-icon__edit::before {
  background-color: #B7BDCE;
}

.nd-social-circle__header .nd-social-circle__header-left .nd-social-circle__select-group .nd-select-wrap__current i.nd-icon__edit {
  position: absolute;
  right: 10px;
}

.nd-select-dropdown.nd-select-dropdown__select-group {
  width: 270px !important;
  z-index: 400;
}

.nd-select-dropdown.add-person-group-select {
  z-index: 805;
}

.nd-select-dropdown.nd-select-dropdown__select-group li {
  padding: 12px 16px 12px 44px;
  display: flex;
  justify-content: space-between;
  background: url('../img/new_uikit/checkbox_off_group.svg') 16px center no-repeat;
}

.nd-select-dropdown.nd-select-dropdown__select-group li.active {
  background-image: url('../img/new_uikit/checkbox_on_group.svg');
}

.nd-select-dropdown.nd-select-dropdown__select-group li span {
  color: #B7BDCE;
}

.nd-select-dropdown.nd-select-dropdown__select-group li.nd-select-dropdown__select-group_buttons {
  display: flex;
  justify-content: space-between;
  background: transparent;
  padding: 10px 16px;
  gap: 10px;
}

.nd-select-dropdown.nd-select-dropdown__select-group li.nd-select-dropdown__select-group_buttons div {
  text-align: center;
  font-family: "Proxima Nova";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 36px;
  border-radius: 100px;
}

.nd-select-dropdown.nd-select-dropdown__select-group li.nd-select-dropdown__select-group_buttons div.nd-select-dropdown__select-group_cancel {
  border: 1px solid #B7BDCE;
  color: #444;
  width: 106px;
}

.nd-select-dropdown.nd-select-dropdown__select-group li.nd-select-dropdown__select-group_buttons div.nd-select-dropdown__select-group_apply {
  background: #326E5B;
  color: #fff;
  width: 122px;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods.active .item-person-add-periods__content .item-person-add-periods__item .nd-select-wrap .nd-select-wrap__current {
  padding: 0;
  position: relative;
  border-radius: 0;
  border: none;
  background-color: transparent;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods.active .item-person-add-periods__content .item-person-add-periods__item .nd-select-wrap .nd-select-wrap__current .nd-input-wrap.nd-input-wrap__without-label {
  padding: 0;
}

.popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods.active .item-person-add-periods__content .item-person-add-periods__item .nd-select-wrap .nd-select-wrap__current .nd-input-wrap.nd-input-wrap__without-label .nd-input {
  background: #fff;
}

body>.nd-select-dropdown li.new {
  color: #326E5B;
  display: none;
  align-items: center;
  gap: 8px;
}

body>.nd-select-dropdown li.new i {
  width: 24px;
  height: 24px;
  display: flex;
}

body>.nd-select-dropdown li.new i::before {
  background-color: #326E5B;
}

body>.nd-select-dropdown li.new strong {
  max-width: 95px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nd-social-circle__circle .button__popup-add-person_title {
  display: none;
}

#popup__list-persons .list-persons {
  list-style-type: none;
  display: flex;
  gap: 10px;
  flex-direction: column;
}

#popup__list-persons .list-persons li .list-persons__item {
  border-radius: 100px;
  border: 1px solid #B7BDCE;
  background: #FFF;
  height: 40px;
}

#popup__list-persons .list-persons li .list-persons__item span {
  font-size: 16px;
  font-weight: 400;
  line-height: 40px;
  color: #444;
  padding: 0 12px 0 8px;
}

#popup__list-persons .list-persons li .list-persons__item img {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  border: 1px solid #B7BDCE;
  top: -1px;
  position: relative;
  left: -1px;
}

#popup__list-persons .popup__list-persons_title {
  color: #444;
  font-family: Proxima Nova;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 19px;
  margin-bottom: 15px;
}

#popup__list-persons .list-persons_visible {
  margin-bottom: 25px;
}

#popup__list-persons h5 {
  font-family: Proxima Nova;
  color: #326E5B;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

.popup__add-period_first {
  left: 110px;
  top: 83px;
}

.popup__add-person.popup__add-person_step2 .nd-input-wrap textarea.nd-input:valid~.nd-input-label,
.popup__add-person.popup__add-person_step2 .nd-input-wrap textarea.nd-input:focus~.nd-input-label {
  white-space: nowrap;
}

.popup__add-person.popup__add-person_step2 .nd-input-wrap textarea.nd-input~.nd-input-label {
  white-space: unset;
}

.nd-quiz .nd-quiz__wrap-results .nd-quiz__results .nd-quiz__results-item.nd-quiz__results-item_border {
  border-color: #326E5B;
}

.nd-quiz .nd-quiz__wrap-results .nd-quiz__results .nd-quiz__results-item.nd-quiz__results-item_border .nd-quiz__results-item-icon {
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background-color: #326E5B;
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
}

.nd-quiz .nd-quiz__wrap-results .nd-quiz__results .nd-quiz__results-item .nd-quiz__results-item-icon {
  display: none;
}

@media only screen and (max-width: 1024px) {
  .page-template-media .content__header #keywords_modal #keywords_modal_wrap {
    bottom: 0px;
    position: absolute;
    background: #fff;
  }

  #location_born_modal,
  #location_deat_modal {
    padding: 0;
    top: auto;
    bottom: 0;
  }

  #location_born_modal #location_born,
  #location_deat_modal #location_deat {
    height: auto;
    padding-bottom: 40px;
  }

  #location_born_modal .modal_header,
  #location_deat_modal .modal_header {
    margin: 0;
    border: 1px solid #F0F4F7;
    padding: 14px 0 11px;
  }

  #location_born_modal .modal_header h4,
  #location_deat_modal .modal_header h4 {
    padding: 0;
    font-size: 20px;
    font-family: Source Serif Pro;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0 auto;
  }

  #location_born_modal #location_born.modal_wrapper.attachment_modal #born_form_location,
  #location_deat_modal #location_deat.modal_wrapper.attachment_modal #deat_form_location {
    padding: 0;
  }

  #location_born_modal #born_form_location .map_google_api,
  #location_deat_modal #deat_form_location .map_google_api {
    border-radius: 0;
    height: 350px;
    margin-bottom: 35px;
  }

  #location_born_modal #born_form_location .location_active,
  #location_deat_modal #deat_form_location .location_active {
    flex-direction: column;
    gap: 0;
  }

  #location_born_modal #born_form_location .location_active #yes_location,
  #location_deat_modal #deat_form_location .location_active #yes_location {
    order: 2;
  }

  #location_born_modal #born_form_location .location_active .remove_location,
  #location_deat_modal #deat_form_location .location_active .remove_location {
    margin-bottom: 56px;
  }

  .nd-one-person__info-main .person_mainmenu_photoblock2 {
    flex-direction: column;
  }

  .nd-one-person__info-main .person_mainmenu_photogender {
    margin: 0 0 43px;
  }

  .nd-one-person .container-person-top {
    flex-direction: column;
  }

  .nd-one-person .container-person-top .nd-one-person__info-main {
    /*width: 50%;*/
    order: 1;
    padding: 40px 18px;
  }

  .nd-one-person .container-person-top .nd-one-person__menu {
    /*width: 100%;*/
    order: 0;
    margin: 24px 0 0 0;
    position: relative;
    padding: 0 10px;
  }

  .nd-one-person .container-person-top .nd-one-person__menu-edit {
    margin: 0;
  }

  .nd-one-person .container-person-top .edit_container {
    position: absolute;
    right: 10px;
    margin: 0;
  }

  .nd-one-person .container-person-top .nd-one-person__menu-edit .edit_container {
    right: 20px;
    top: 20px;
  }

  .nd-one-person .container-person-top .nd-one-person__menu .person_aboutmenu_list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 23px;
  }

  .nd-one-person .container-person-top .nd-one-person__menu .person_aboutmenu_list li {
    margin: 0 30px 0 12px;
  }

  .nd-one-person .container-person-top .nd-one-person__menu .person_aboutmenu_list li a {
    white-space: nowrap;
  }

  .nd-one-person__info-main .nd-one-person__avatar .person_avatar {
    width: 108px;
    height: 108px;
  }

  .nd-one-person__info-main .nd-one-person__avatar {
    padding: 9px;
  }

  .nd-one-person__info-main .nd-one-person__avatar .select_file_btn {
    width: 36px;
    height: 36px;
    background-size: 24px;
    bottom: -28px;
  }

  .nd-one-person__menu .person_aboutmenu_header {
    line-height: 50px;
  }

  .nd-one-person .nd-one-person__menu-actions {
    position: absolute;
    right: 0;
    margin: 0;
  }

  .nd-one-person .nd-one-person__info-additional .person_contentarea .maps-block .person_data {
    flex-direction: column;
    gap: 0;
  }

  .nd-one-person .nd-one-person__info-additional .person_contentarea .maps-block .person_data .person_data_date,
  .nd-one-person .nd-one-person__info-additional .person_contentarea .maps-block .person_data .person_data_map {
    width: 100%;
  }

  .nd-one-person .nd-one-person__info-additional {
    padding: 40px 18px;
  }

  .nd-one-person__info-additional .maps-block .person_profile_person_birthdate {
    margin: 0;
  }

  .nd-one-person__info-additional .maps-block .person_profile_person_info.person_profile_person_info--birthdate,
  .nd-one-person__info-additional .maps-block .person_profile_person_info.person_profile_person_info--deathdate {
    margin-bottom: 20px;
  }

  .nd-one-person__info-additional .maps-block .person_profile_person_info.person_profile_person_info--birthplace,
  .nd-one-person__info-additional .maps-block .person_profile_person_info.person_profile_person_info--burialplace {
    margin-bottom: 15px;
  }

  .nd-one-person__info-additional .maps-block:last-of-type {
    margin-bottom: 0;
  }

  #popup__add-group .wrap__add-group,
  #popup__add-period .wrap__add-group {
    padding: 40px 26px;
  }
}

@media only screen and (max-width: 768px) {
  /* .page-template-tree .nd-content {
    width: 100%;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: 0;
    z-index: 409;
  }

  .page-template-tree .nd-wrap-content {
    padding: 0;
  }

  .page-template-tree .nd-wrap-content .nd-content .content__tree {
    padding: 0;
    z-index: 100;
  }

  .page-template-tree .nd-wrap-content .nd-content .content__tree .control-pannel {
    width: 100%;
  }

  .page-template-tree .nd-wrap-content .nd-content .content__tree .control-pannel .main-button-comment {
    right: 15px;
    top: 10px;
    position: absolute!important;
  }

  .page-template-tree .nd-wrap-content .nd-content .content__tree .control-pannel .tree__counter {
    padding: 0 15px;
    position: absolute;
    bottom: 0;
  }

  .page-template-tree .nd-wrap-content .nd-content .content__tree .control-pannel #tree_breadcrumbs .crumb,
  .page-template-tree .nd-wrap-content .nd-content .content__tree .control-pannel .tree_breadcrumbs__mobile--active {
    font-size: 12px;
  }

  .page-template-tree .nd-wrap-content .nd-content .content__tree .control-pannel #tree_breadcrumbs .crumb.selected:first-child::after {
    top: 48%;
    left: 7%;
    width: 17px;
    height: 16px;
  } */

  .nd-one-person .container-person-top .nd-one-person__info-main {
    width: 100%;
  }

  .nd-one-person__info-main .person_profile_photo-and-name .person_profile_photo {
    width: 128px;
    height: 128px;
  }

  .nd-one-person__info-main .person_profile_photo-and-name .person_profile_photo.scale .scale {
    width: 108px;
    height: 108px;
  }

  .nd-one-person__info-main .person_profile_name {
    height: auto;
  }

  .nd-one-person__info-main .person_profile_name .person_profile_name_fcs {
    font-size: 26px;
    line-height: 32px;
  }

  .page-template-graduates .nd-content,
  .page-template-quiz .nd-content {
    margin: 0;
  }

  .wrap__add-person {
    flex-direction: column;
    padding: 25px;
  }

  .wrap__add-person .nd-one-person__avatar {
    width: 160px;
    margin-bottom: 40px;
  }

  .wrap__add-person .add-person__right {
    margin: 0;
  }

  .wrap__add-person .add-person__right .add-person__info-main .nd-input-wrap {
    width: 100%;
    margin: 0;
  }

  .wrap__add-person .add-person__right .add-person__info-additional .nd-one-person__wrap-content.nd-one-person__alive,
  .wrap__add-person .add-person__right .add-person__info-additional .nd-one-person__wrap-content.nd-one-person__notalive {
    align-items: flex-start;
    flex-direction: column;
  }

  .wrap__add-person .add-person__right .add-person__info-additional .nd-one-person__wrap-content .nd-one-person__map {
    width: 100%;
  }

  .wrap__add-person .add-person__right .add-person__info-additional .nd-one-person__wrap-content .nd-one-person__content {
    margin-bottom: 20px;
    width: 100%;
  }

  .wrap__add-person .add-person__right .add-person__info-additional .nd-one-person__wrap-content .nd-one-person__content .nd-input-datepicker {
    width: 160px;
  }

  .nd-graduates__main #btnUploadFiles {
    width: auto;
    height: auto;
    box-shadow: none;
  }

  .nd-graduates__gallery .nd-graduates__gallery-edit .tns-controls {
    justify-content: center;
  }

  .page-template-chat .nd-content {
    padding: 0;
  }

  .page-template-chat .nd-content .nd-chat-header__back-link .nd-chat__mobile-menu .nd-icon__menu-mobile-2 {
    width: 100%;
    height: 100%;
    display: flex;
  }

  .search-results .nd-content .search-content {
    width: 100%;
    order: 2;
    padding: 29px 18px;
  }

  .search-results .nd-content .menu-content {
    width: 100%;
    margin-bottom: 10px;
  }

  .search-results .nd-content .wrapper-search h1.page-title {
    line-height: 32px;
    margin-bottom: 16px;
  }

  .search-results .nd-content .menu-content .menu-content__inner {
    padding: 29px 17px;
  }

  .search-results .nd-content .wrapper-search .search-page .nd-header__search {
    width: 100%;
    height: auto;
  }

  .search-no-results .nd-content .wrapper-search .search-content-empty .nd-header__search .nd-input,
  .search-no-results .nd-content .wrapper-search .search-content-empty .nd-header__search .nd-input-label,
  .search-results .nd-content .wrapper-search .search-content-empty .nd-header__search .nd-input,
  .search-results .nd-content .wrapper-search .search-content-empty .nd-header__search .nd-input-label,
  .search-results .nd-content .wrapper-search .search-page .nd-header__search .nd-input,
  .search-results .nd-content .wrapper-search .search-page .nd-header__search .nd-input-label,
  .search-no-results .nd-content .wrapper-search .search-page .nd-header__search .nd-input,
  .search-no-results .nd-content .wrapper-search .search-page .nd-header__search .nd-input-label {
    display: block;
  }

  .search-results .nd-content .search-content .search_main_bl .title_main {
    margin: 0;
  }

  .search-results .nd-content .search-content .search_main_bl .title_main h2.title_search {
    line-height: 25px;
    margin-bottom: 15px;
  }

  .nd-social-circle__circle-1 .button__popup-add-person {
    width: 50px;
    height: 50px;
    top: auto;
    bottom: 21px;
    z-index: 10;
    display: block !important;
  }

  .page-template-social-circle #popup__add-person.modal_base.center,
  .page-template-social-circle #popup__edit-person-period.modal_base.center,
  .page-template-social-circle #popup__add-period.modal_base.center,
  .page-template-social-circle #popup__list-persons.modal_base.center {
    align-items: end;
    padding: 0;
  }

  .page-template-social-circle #popup__add-person .wrap__add-person_step1,
  .page-template-social-circle #popup__add-person .wrap__add-person_step2,
  .page-template-social-circle #popup__add-person .wrap__add-person_step3 {
    padding: 75px 26px 20px;
    flex-direction: row;
  }

  .page-template-social-circle #popup__add-person .wrap__add-person_step3 {
    flex-direction: column;
  }

  .page-template-social-circle #popup__add-person .modal_wrapper,
  .page-template-social-circle #popup__edit-person-period .modal_wrapper,
  .page-template-social-circle #popup__add-period .modal_wrapper,
  .page-template-social-circle #popup__list-persons .modal_wrapper {
    top: auto;
    right: auto;
  }

  .page-template-social-circle #popup__add-person .modal_header,
  .page-template-social-circle #popup__edit-person-period .modal_header,
  .page-template-social-circle #popup__add-period .modal_header,
  .page-template-social-circle #popup__list-persons .modal_header {
    padding: 16px 0 11px;
  }

  .page-template-social-circle #popup__list-persons .modal_header {
    flex-direction: column;
  }

  .page-template-social-circle #popup__list-persons .wrap__add-group {
    padding: 40px 25px;
    max-height: 400px;
    overflow: scroll;
  }

  .page-template-social-circle #popup__add-person .modal_header h3,
  .page-template-social-circle #popup__edit-person-period .modal_header h3,
  .page-template-social-circle #popup__add-period .modal_header h3,
  .page-template-social-circle #popup__list-persons .modal_header h3 {
    font-size: 20px;
    line-height: 25px;
    padding: 0;
    max-width: calc(100% - 80px);
    display: block;
    margin: 0 auto;
    text-align: center;
  }

  .page-template-social-circle #popup__add-period.popup__add-period_first .modal_header h3 {
    margin: 0 10px;
    max-width: unset;
    width: 100%;
  }

  .page-template-social-circle #popup__filter-groups .modal_header h3 {
    font-size: 20px;
    line-height: 25px;
    max-width: calc(100% - 80px);
    display: block;
    margin: 0 auto;
    text-align: center;
  }

  .page-template-social-circle #popup__add-person .add-person__steps {
    position: absolute;
    top: 72px;
  }

  .page-template-social-circle #popup__add-person .add-person__buttons {
    padding: 0 26px;
  }

  .page-template-social-circle .wrap__add-person .nd-one-person__avatar,
  .page-template-social-circle .wrap__add-person .nd-one-person__avatar .person_avatar {
    width: 100px;
    height: 100px;
  }

  .page-template-social-circle .wrap__add-person .nd-one-person__avatar {
    margin-bottom: 18px;
  }

  .page-template-social-circle .wrap__add-person .nd-one-person__avatar [data="crop-image-container"] .select_file_btn {
    width: 36px;
    height: 36px;
    bottom: -17px;
  }

  .page-template-social-circle .wrap__add-person .nd-one-person__avatar [data="crop-image-container"] .select_file_btn svg {
    width: 24px;
    height: 24px;
  }

  .add-person__steps li {
    font-size: 12px;
    line-height: 15px;
    width: 25px;
    height: 25px;
    margin-right: 74px;
  }

  .add-person__steps li::after {
    width: 75px;
    right: -76px;
  }

  .add-person__steps li:last-of-type {
    background-size: 25px;
    margin-right: 0;
  }

  #popup__add-person .wrap__add-person_step1 .add-person__left {
    margin-bottom: 35px;
  }

  #popup__add-person .wrap__add-person_step1 .add-person__right h4 {
    margin-bottom: 13px;
  }

  .page-template-social-circle #popup__add-person .modal_close,
  .page-template-social-circle #popup__edit-person-period .modal_close,
  .page-template-social-circle #popup__add-period .modal_close,
  .page-template-social-circle #popup__filter-groups .modal_close {
    right: 8px;
    top: 10px;
  }

  #popup__add-person .wrap__add-person_step2 .nd-radio-wrap {
    margin-top: 15px;
  }

  .wrap__add-person.wrap__add-person_step3>h4 {
    text-align: left;
    margin-bottom: 20px;
  }

  .add-person-select-period {
    padding: 15px 0;
    border-bottom: none;
  }

  .page-template-social-circle #popup__add-person .wrap__add-person_step4 h3 {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 40px;
  }

  .nd-social-circle__person-card {
    bottom: 0 !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto;
  }

  #popup__edit-person-period .existing-person__top-block {
    flex-direction: row;
  }

  #popup__add-person .wrap__add-person_step1.wrap__add-person .add-person__full-width .existing-person .existing-person__param div {
    font-size: 14px;
    line-height: 18px;
  }

  #popup__add-person .wrap__add-person_step1.wrap__add-person .add-person__full-width {
    margin-bottom: -70px;
  }

  #popup__add-person .wrap__add-person_step1.wrap__add-person .add-person__full-width .existing-person__box-button {
    text-align: left;
  }

  #popup__delete-period .modal-settings .user-settings__buttons,
  #popup__delete-group .modal-settings .user-settings__buttons,
  #popup__save-person-card-info .modal-settings .user-settings__buttons {
    flex-direction: column-reverse;
  }

  #popup__onboarding .modal_wrapper,
  #popup__new-person .modal_wrapper,
  #popup__wait .modal_wrapper {
    width: 100%;
    min-height: auto;
  }

  #popup__onboarding .modal_wrapper.popup__onboarding_step1 {
    top: 220px;
  }

  #popup__onboarding .modal_wrapper.popup__onboarding_step2 {
    top: 0;
  }

  #popup__onboarding .modal_wrapper.popup__onboarding_step3 {
    top: 35px;
  }

  #popup__onboarding .modal_wrapper.popup__onboarding_step4 {
    top: auto;
    bottom: 0;
  }

  #popup__onboarding .modal_wrapper.popup__onboarding_step5 {
    top: auto;
    bottom: 0px;
  }

  #popup__onboarding .modal_wrapper.popup__onboarding_step6 {
    top: auto;
    bottom: 0px;
  }

  #popup__onboarding .modal_wrapper.popup__onboarding_step7 {
    top: 140px;
  }

  #popup__onboarding .modal_wrapper.popup__onboarding_step8 {
    top: 164px;
  }

  #popup__onboarding .modal_wrapper.popup__onboarding_step9 {
    top: 140px;
  }

  #popup__onboarding .modal_wrapper.popup__onboarding_step1,
  #popup__onboarding .modal_wrapper.popup__onboarding_step2,
  #popup__onboarding .modal_wrapper.popup__onboarding_step3,
  #popup__onboarding .modal_wrapper.popup__onboarding_step4,
  #popup__onboarding .modal_wrapper.popup__onboarding_step5,
  #popup__onboarding .modal_wrapper.popup__onboarding_step6,
  #popup__onboarding .modal_wrapper.popup__onboarding_step7,
  #popup__onboarding .modal_wrapper.popup__onboarding_step8,
  #popup__onboarding .modal_wrapper.popup__onboarding_step9 {
    left: auto;
  }

  #popup__onboarding .modal_wrapper h3,
  #popup__new-person .modal_wrapper h3 {
    font-size: 24px;
    line-height: 30px;
    padding: 0;
  }

  .nd-social-circle__period.onboarding-highlight::after {
    width: 100%;
    height: 44px;
    top: -1px;
    left: -1px;
    border-radius: 8px;
    border: 1px solid rgba(183, 189, 206, 0.30);
  }

  .nd-social-circle__circle-1 .onboarding-highlight-bg {
    top: auto;
    bottom: 9px;
  }


  .nd-header__help2.onboarding-highlight {
    top: 6px;
    right: 104px;
    font-size: 14px;
  }

  #popup__onboarding .modal_back {
    left: 8px;
  }

  #popup__onboarding .modal_close {
    right: 8px;
  }

  .nd-social-circle__circle .button__popup-add-person_title {
    display: block;
    position: absolute;
    color: #5B5B5B;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    background-color: #FFF;
    box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.1);
    padding: 6px 14px;
    top: 130px;
    white-space: nowrap;
    border-radius: 10px;
  }

  .nd-social-circle__circle .button__popup-add-person_title:after {
    content: '';
    background: url("../img/icons/triangle.svg") center no-repeat;
    width: 40px;
    height: 35px;
    position: absolute;
    top: 19px;
    right: 85px;
  }

  #popup__add-period .wrap__add-group .wrap__add-period {
    max-width: 100%;
  }

  #popup__add-group .popup__add-group_step1 .wrap__add-group {
    width: 100%;
    max-width: 100%;
  }

  #popup__add-group.popup__add-person .popup__add-group_step1 .wrap__add-group .nd-button.nd-button-link i {
    width: 34px;
    height: 24px;
  }

  #popup__add-group.popup__add-person .popup__add-group_step1 .wrap__add-group .nd-button.nd-button-link i::before {
    margin-right: 5px;
    width: 24px;
  }

}

@media only screen and (max-width: 650px) {
  /* .page-template-tree .nd-wrap-content .nd-content .content__tree .control-pannel .tree_breadcrumb_list {
    display: none!important;
  } */

  #popup__close-without-save .nd-button.nd-button-icon {
    width: 32px;
    height: 32px;
    box-shadow: none;
    background-color: transparent;
    top: 10px;
    right: 8px;
  }

  #popup__close-without-save .modal-settings__title {
    padding: 22px 30px;
  }
}

@media only screen and (max-width: 600px) {

  .page-template-social-circle #popup__add-person .wrap__add-person_step1,
  .page-template-social-circle #popup__add-person .wrap__add-person_step2,
  .page-template-social-circle #popup__add-person .wrap__add-person_step3 {
    flex-direction: column;
  }

  .page-template-social-circle #popup__add-person .add-person__left,
  .page-template-social-circle #popup__add-person .add-person__right {
    width: 100%;
  }
}

@media only screen and (max-width: 500px) {
  .nd-one-person .container-person-top .nd-one-person__menu-edit .edit_container {
    right: auto;
    top: 18px;
    left: 18px;
    width: 92%;
    justify-content: start;
  }

  .nd-one-person .container-person-top .nd-one-person__menu-edit .edit_container .buttonsave {
    width: 100%;
  }

  .nd-one-person__menu .edit_container .nd-button.nd-button-icon {
    flex-shrink: 0;
  }

  .nd-one-person .container-person-top .nd-one-person__info-main {
    padding-top: 94px;
  }

  .nd-one-person__info-main .person_mainmenu_photoblock2 .nd-one-person__radio.nd-one-person__radio-gender {
    margin-bottom: 15px;
  }

  .add-person-select-period {
    flex-direction: column;
    align-items: baseline;
    gap: 20px;
  }

  #popup__add-group .wrap__add-group>.nd-button.nd-button-icon.nd-button-link i,
  #popup__add-period .wrap__add-group>.nd-button.nd-button-icon.nd-button-link i {
    width: auto;
    height: 24px;
  }

  #popup__add-group .wrap__add-group>.nd-button.nd-button-icon.nd-button-link i::before,
  #popup__add-period .wrap__add-group>.nd-button.nd-button-icon.nd-button-link i::before {
    margin-right: 10px;
    width: 24px;
  }

  #popup__add-group .popup__add-group_step1 .wrap__add-group {
    padding: 40px 20px 35px;
  }
}

@media only screen and (max-width: 430px) {
  .nd-one-person__menu .edit_container .buttonsave {
    width: 113px;
  }

  .add-person__steps li {
    margin-right: 50px;
  }

  .add-person__steps li::after {
    width: 51px;
    right: -52px;
  }

  .nd-social-circle__person-card {
    width: 100%;
    max-width: none;
  }

  #popup__add-group .wrap__add-group .nd-input-wrap,
  #popup__add-period .wrap__add-group .nd-input-wrap {
    width: auto;
  }
}


/* UI-KIT FIX END*/


/* СКРОЛЛ ЛЕВОГО САЙДБАРА */
.nd-sidebar__nav::-webkit-scrollbar-track-piece {
  background-color: #eee;
}

.nd-sidebar__decrease {
  z-index: 10;
}

/* end скролл лефого сайдбара */

/* Overlay  for prevents any click events */

#no-events-overlay {
  position: fixed;
  z-index: 10000;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  top: 0;
  left: 0;
}

/* Overlay  for prevents any click events END */

/* task 8375 */

.nd-social-circle__header.nd-social-circle__header_edit .nd-top-buttons .nd-social-circle__select-group-current_mob,
.nd-social-circle__header .nd-top-buttons .nd-button-icon__groups_mob,
.nd-top-buttons__button-view-mob {
  display: none;
}

@media screen and (max-width: 768px) {
  .nd-top-buttons__button-view-mob {
    display: block;
  }

  .nd-social-circle__header .nd-top-buttons .nd-button.nd-button-icon.nd-top-buttons__button-view-pc {
    display: none;
  }

  #popup__add-person.popup__add-person_step1 .modal_wrapper .modal_content {
    padding: 40px 26px 280px 26px;
    min-width: unset;
    max-width: 100%;
    gap: 0px 24px;
  }

  #popup__add-person.popup__add-person_step1 .modal_wrapper .modal_content .nd-input-wrap.nd-input-wrap__icon {
    max-width: 100%;
  }

  #popup__add-person.popup__add-person_step1 .not_incoming_person {
    font-weight: 700;
  }

  #popup__add-person.popup__add-person_step1 .not_incoming_person img {
    width: 38px;
    height: 38px;
    margin-right: 8px;
  }

  #popup__add-person.popup__add-person_step1 .modal_wrapper,
  #popup__add-person.popup__add-person_step2 .modal_wrapper,
  #popup__add-person.popup__add-person_step3 .modal_wrapper {
    margin: 0;
  }

  #popup__add-person .modal_back {
    top: 10px;
    left: 8px;
  }

  .page-template-social-circle #popup__add-person .wrap__add-person_step1,
  .page-template-social-circle #popup__add-person .wrap__add-person_step3 {
    padding: 25px 8px 30px 8px;
  }

  .page-template-social-circle #popup__add-person .wrap__add-person_step2 {
    padding: 25px 26px 30px 26px;
  }

  .page-template-social-circle .popup__add-person_step2 .add-person__buttons {
    padding: 0px 26px 30px 26px !important;
  }

  .popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods.active .item-person-add-periods__content {
    padding: 0px 17px;
  }

  .page-template-social-circle #popup__add-person.popup__add-person_step2 .add-person__buttons .popup__add-person_next-btn {
    width: 100%;
  }

  .popup__add-person_step2 .wrap__add-person_step1 .add-person__full-width .existing-person__box-button {
    flex-wrap: wrap;
    padding: 0px 26px;
  }

  .popup__add-person_step2 .wrap__add-person_step1 .add-person__full-width .go-to-card {
    width: 100%;
    line-height: 24px;
    margin-bottom: 40px;
    white-space: nowrap;
  }

  .popup__add-person_step2 .wrap__add-person_step1 .add-person__full-width .existing-person__box-button .existing-person__button {
    width: 100%;
  }

  #popup__add-person .wrap__add-person_step2 h4 {
    margin-bottom: 15px;
  }

  .popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods>h5 {
    flex-wrap: wrap;
    line-height: 23px;
  }

  .popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods>h5 span {
    flex-basis: 100%;
  }

  .popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods .wrap__add-period_select {
    flex-wrap: wrap;
    gap: 10px 8px;
  }

  .popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods .item-person-add-periods__item .avatar-person-period__wrap .avatar-person-period__right p {
    align-items: start;
    width: 100%;
  }

  .popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods .item-person-add-periods__item .avatar-person-period__wrap .avatar-person-period__right i {
    top: 0;
  }

  .popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods .item-person-add-periods__content .nd-select-wrap {
    max-width: 100%;
  }

  .popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods .item-person-add-periods__item .avatar-person-period__wrap {
    gap: 16px;
  }

  #popup__add-person.popup__add-person_step3 .modal_content {
    min-width: unset;
  }

  #popup__delete-period .modal-settings,
  .popup__delete-person .modal-settings,
  #popup__save-person-card-info .modal-settings {
    padding: 0;
  }

  .popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods.active .item-person-add-periods__content .person-list-group {
    align-items: start;
  }

  .popup__add-person_step2 .wrap__add-person_step2 .wrap__add-person_step2_bottom .wrap-person-add-periods .item-person-add-periods.active .item-person-add-periods__content .person-list-group .person-list_item:last-child {
    margin-bottom: 15px;
  }

  .page-template-social-circle #popup__add-person .add-person__left,
  .page-template-social-circle #popup__add-person .add-person__right {
    padding: 0px 18px;
  }

  .popup__add-person_step2 .wrap__add-person_step1 .add-person__left .add-person__left-top {
    min-height: unset;
    padding-bottom: 12px;
  }

  #popup__add-person .wrap__add-person_step1 .add-person__left {
    margin-bottom: 14px;
  }

  .popup__add-person_step2 .wrap__add-person_step1.wrap__add-person .add-person__right .add-person__info-main .nd-input-wrap {
    padding-bottom: 15px;
  }

  .wrap__add-person .add-person__right .add-person__info-main {
    margin-bottom: 15px;
  }

  .popup__delete-person .modal-settings {
    padding: 0px;
  }

  .popup__delete-person .modal-settings .modal-settings__title,
  #popup__delete-group .modal-settings .modal-settings__title,
  #popup__delete-period .modal-settings .modal-settings__title,
  #popup__save-person-card-info .modal-settings .modal-settings__title {
    padding: 16px 20% 11px;
    text-align: center;
    background-color: #f5f2f3;
    font-weight: 600;
  }

  .popup__delete-person .nd-button.nd-button-icon,
  #popup__delete-group .nd-button.nd-button-icon,
  #popup__delete-period .nd-button.nd-button-icon,
  #popup__save-person-card-info .nd-button.nd-button-icon {
    right: 8px;
    top: 10px;
    width: 32px;
    height: 32px;
    background: none;
    box-shadow: none;
    margin-bottom: 40px;
  }

  #popup__delete-group .modal-settings,
  #popup__delete-period .modal-settings,
  #popup__save-person-card-info .modal-settings {
    padding: 0;
  }

  .popup__delete-person .modal-settings .modal-settings__text,
  #popup__delete-group .modal-settings .modal-settings__text,
  #popup__delete-period .modal-settings .modal-settings__text,
  #popup__save-person-card-info .modal-settings .modal-settings__text {
    padding: 0 26px;
    text-align: center;
  }

  .popup__delete-person .modal-settings .user-settings__buttons,
  #popup__delete-group .modal-settings .user-settings__buttons,
  #popup__delete-period .modal-settings .user-settings__buttons,
  #popup__save-person-card-info .modal-settings .user-settings__buttons {
    padding: 0px 26px;
    flex-wrap: wrap;
  }

  .popup__delete-person .modal-settings .user-settings__buttons .nd-button,
  #popup__delete-group .modal-settings .user-settings__buttons .nd-button,
  #popup__delete-period .modal-settings .user-settings__buttons .nd-button,
  #popup__save-person-card-info .modal-settings .user-settings__buttons .nd-button {
    width: 100% !important;
  }

  .popup__delete-person .modal-settings s.user-settings__buttons #delete-person__approve,
  #popup__delete-group .modal-settings .user-settings__buttons #delete-person__approve,
  #popup__delete-period .modal-settings .user-settings__buttons #delete-person__approve,
  #popup__save-person-card-info .user-settings__buttons #delete-person__approve {
    order: -1;
  }

  .page-template-social-circle #popup__add-period.modal_base.center {
    max-width: 100%;
    max-height: 100%;
    bottom: 0;
    left: 0;
  }

  .page-template-social-circle #popup__add-period.popup__add-period_first.modal_base.center {
    bottom: auto;
    top: 60px;
    background-color: #FAFAFA;
  }

  .page-template-social-circle #popup__add-period.popup__add-period_first.modal_base.center .modal_wrapper {
    top: 12px;
    right: auto;
    bottom: auto;
    position: absolute;
    height: 100%;
  }

  .page-template-social-circle #popup__add-period.popup__add-period_first.modal_base.center .modal_header {
    border-top: 1px solid #F0F4F7;
  }

  #popup__add-period .wrap__add-group .wrap__add-period {
    padding: 25px 18px;
  }

  #popup__add-period .wrap__add-group .wrap__add-period .wrap__add-period-info .wrap__add-period-info-date {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .nd-social-circle__header .nd-social-circle__period {
    align-items: center;
  }

  .nd-social-circle__header .nd-social-circle__period .nd-social-circle__period-link .nd-social-circle__period-link-wrap-title .nd-social-circle__period-link-title {
    margin-bottom: 0px;
  }

  .nd-social-circle__display-option .nd-social-circle__display-option-separator {
    display: none;
  }

  .nd-social-circle__display-option a:not(.nd-social-circle__display-option-current) {
    display: block;
    position: absolute;
    opacity: 0;
    z-index: 10;
  }

  .nd-social-circle__header_edit .nd-top-buttons .nd-button.nd-social-circle__period-edit {
    display: none;
  }

  .nd-social-circle__header_edit .nd-top-buttons {
    width: fit-content;
    padding: 0px;
    margin: 12px 0px 12px 15px;
  }

  .nd-social-circle__header_edit .nd-top-buttons .nd-top-buttons__edit-mob .nd-button_close {
    width: 40px;
    height: 40px;
  }

  .nd-social-circle__header {
    align-items: center;
  }

  .nd-social-circle__header_edit .nd-social-circle__period-link-wrap-title {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .nd-social-circle__header_edit .nd-social-circle__period .nd-social-circle__period-link .nd-social-circle__period-link-wrap-title .nd-social-circle__period-link-title,
  .nd-social-circle__header_edit .nd-social-circle__period .nd-social-circle__period-link .nd-social-circle__period-link-wrap-title .nd-social-circle__period-link-subtitle {
    color: #326E5B;
  }

  .nd-social-circle__header_edit .nd-social-circle__period-link-wrap-title::before {
    -webkit-mask: url(../img/icons/icons.svg#edit) no-repeat center;
    mask: url(../img/icons/icons.svg#edit) no-repeat center;
    content: "";
    width: 24px;
    height: 24px;
    display: block;
    margin-right: 8px;
    background-color: #326E5B;
  }

  .file-stream__modal .ndmodal-content__footer {
    z-index: 5;
  }

  .nd-social-circle__person-card {
    width: 100vw;
    left: 0 !important;
    right: auto !important;
    bottom: 0 !important;
    top: auto !important;
    margin: 0;
    position: fixed;
  }

  .nd-social-circle__header .nd-social-circle__period .nd-social-circle__period-link .nd-social-circle__period-link-wrap-title .nd-social-circle__period-link-subtitle {
    left: 50%;
    transform: translateX(-50%);
  }

  .nd-social-circle__header_edit .nd-top-buttons__button-mob {
    display: block;
  }

  .nd-social-circle__header_edit .nd-top-buttons__button-mob+.nd-top-buttons {
    display: none;
  }

  .nd-social-circle__header.nd-social-circle__header_edit .nd-top-buttons {
    display: none;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    left: 0;
    top: 53px;
    height: auto;
    padding: 17px 20px;
    background-color: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, .1);
    border-radius: 25px;
    margin: 0px;
  }

  .nd-social-circle__header.nd-social-circle__header_edit .nd-top-buttons .nd-button.nd-button-icon.nd-button_close {
    background-color: transparent;
  }

  .nd-social-circle__header.nd-social-circle__header_edit .nd-top-buttons .nd-button.nd-button-icon i::before {
    background-color: #B7BDCE;
  }

  .nd-social-circle__header.nd-social-circle__header_edit .nd-top-buttons .nd-social-circle__select-group-current_mob,
  .nd-social-circle__header.nd-social-circle__header_edit .nd-top-buttons .nd-button-icon__groups_mob {
    display: flex;
    padding: 0;
  }

  .nd-social-circle__select-group-current_mob i.nd-icon__edit {
    position: static;
  }

  .nd-social-circle__header .nd-top-buttons .nd-button i.nd-icon__chat::before,
  .nd-social-circle__header .nd-top-buttons .nd-button.nd-button-icon__groups_mob i.nd-icon__user::before {
    background-color: #B7BDCE;
  }

  .nd-social-circle__select-group {
    width: 0px;
    height: 0px;
  }

  #popup__filter-groups .nd-select-dropdown.nd-select-dropdown__select-group {
    width: 100% !important;
    display: block;
    padding: 40px 26px 0px 26px;
    position: static;
  }

  #popup__filter-groups .nd-select-dropdown.nd-select-dropdown__select-group li {
    border-bottom: none;
  }

  #popup__filter-groups .nd-select-dropdown.nd-select-dropdown__select-group li.nd-select-dropdown__select-group_buttons {
    display: block;
    padding: 40px 0px;
  }

  #popup__filter-groups .nd-select-dropdown.nd-select-dropdown__select-group li.nd-select-dropdown__select-group_buttons .nd-select-dropdown__select-group_cancel,
  #popup__filter-groups .nd-select-dropdown.nd-select-dropdown__select-group li.nd-select-dropdown__select-group_buttons .nd-select-dropdown__select-group_apply {
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    line-height: 48px;
  }

  #popup__filter-groups .nd-select-dropdown.nd-select-dropdown__select-group li.nd-select-dropdown__select-group_buttons .nd-select-dropdown__select-group_apply {
    line-height: 50px;
    margin-bottom: 15px;
  }

  .page-template-social-circle #popup__list-persons .wrap__add-group {
    min-height: fit-content;
    max-height: 70dvh;
  }

  .nd-social-circle__header .nd-social-circle__period .view-mobile {
    background-color: rgba(183, 189, 206, 0.3);
  }

  .nd-social-circle__header.nd-social-circle__header_edit .nd-social-circle__period>a:not(.nd-social-circle__period-link) {
    width: 24px;
    height: 24px;
    background-color: rgba(183, 189, 206, 0.3);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #popup__wait .wrap__add-person_step4 .loader-title {
    text-align: center;
  }

  .nd-social-circle__person-card .person-card__body_tabs ul {
    justify-content: start;
    column-gap: 44px;
  }

  #popup__filter-groups .modal_wrapper,
  .popup__delete-person .modal_wrapper,
  #popup__add-group .modal_wrapper,
  #popup__delete-group .modal_wrapper,
  #popup__add-period .modal_wrapper,
  #popup__delete-period .modal_wrapper,
  #popup__list-persons .modal_wrapper,
  #popup__save-person-card-info .modal_wrapper {
    min-height: unset;
    margin: 0;
    margin-top: auto;
    padding-bottom: 40px;
  }

  #popup__filter-groups .modal_wrapper {
    padding: 0;
  }

  #popup__add-person .modal_wrapper {
    min-height: fit-content;
    margin: 0;
    margin-top: auto;
  }

  #popup__filter-groups .modal_header {
    justify-content: center;
  }

  #popup__add-group .modal_header h3,
  #popup__filter-groups .modal_header h3 {
    font-size: 20px;
    font-weight: 700;
  }

  #popup__add-person.popup__add-person_step3 .modal_content .nd-button-link {
    line-height: 28px;
    column-gap: 8px;
  }

  .nd-social-circle__header.nd-social-circle__header_edit .nd-social-circle__period {
    margin: 0px 15px;
  }

  .nd-social-circle__header.nd-social-circle__header_edit .nd-top-buttons__button-mob {
    margin-left: 0;
    order: -1;
  }

  .nd-social-circle__display-option {
    display: none;
  }
}

@media screen and (max-width: 374px) {
  .nd-social-circle__select-group-current_mob {
    white-space: nowrap;
  }

  #popup__add-person.popup__add-person_step1 .modal_wrapper .modal_content .add-person__buttons {
    padding: 0px;
  }

  #popup__add-person.popup__add-person_step1 .modal_wrapper .modal_content .add-person__buttons .nd-button {
    padding: 0px;
  }

  .popup__add-person_step2 .wrap__add-person_step1 .add-person__full-width .existing-person__box-button {
    padding: 0px;
  }

  .page-template-social-circle #popup__add-person .wrap__add-person_step2 {
    padding: 25px 8px 30px 8px;
  }

  .page-template-social-circle .popup__add-person_step2 .add-person__buttons {
    padding: 25px 8px 30px 8px !important;
  }

  .page-template-social-circle #popup__add-person .add-person__left,
  .page-template-social-circle #popup__add-person .add-person__right {
    padding: 0px;
  }

  #popup__add-period .wrap__add-group .wrap__add-period .wrap__add-period_select li {
    flex-basis: 70%;
  }

  #popup__add-period .wrap__add-group .wrap__add-period .wrap__add-period-info .wrap__add-period-info-date .nd-input-wrap {
    width: 55px;
  }

  .nd-social-circle__table-head .nd-social-circle__table-cell:first-child,
  .nd-social-circle__table-circle .nd-social-circle__table-cell:first-child {
    width: 100px;
  }

  .nd-social-circle__header.nd-social-circle__header_edit .nd-social-circle__period {
    margin: 0px 5px;
  }
}

/* task 8375 end */

/* task 8353 */
.nd-social-circle__person-card .nd-input-wrap.person-card__body_info-input .nd-input {
  font-size: 14px;
}

.nd-social-circle__person-card .nd-input-wrap.person-card__body_info-input textarea.nd-input {
  max-width: 100%;
  min-width: 100%;
}

@media (min-width: 769px) {

  .nd-top-buttons__button-view-pc.nd-button .nd-button__tooltip,
  .nd-button-edit.nd-button .nd-button__tooltip,
  .main-button-comment.nd-button .nd-button__tooltip {
    display: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    color: #444;
    text-align: center;
    padding: 8px 16px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, .1);
    position: absolute;
    top: calc(100% + 7.5px);
    right: 0px;
    white-space: nowrap;
    z-index: 15
  }

  .nd-top-buttons__button-view-pc.nd-button:hover .nd-button__tooltip,
  .nd-button-edit.nd-button:hover .nd-button__tooltip,
  .main-button-comment.nd-button:hover .nd-button__tooltip {
    display: block;
  }
}

/* task 8353 end */
/* task 8369 */
/* comments attached audio */
.comments-area__comment-audio {
  cursor: pointer;
}

.comments-area__comment-audio-play {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.comments-area__comment-audio-pause {
  width: 16px;
  height: 16px;
  display: none;
  vertical-align: middle;
  transform: scale(1.2);
}

.one-comment__post .comments-area__comment-audio-play {
  width: 24px;
  height: 24px;
}

.one-comment__post .comments-area__comment-audio-pause {
  width: 24px;
  height: 24px;
}

.one-comment__post .comments-area__comment-audio {
  margin-left: 10px;
}

.audioattachment-field {
  display: none;
}


.person_aboutmenu.nd-one-person__menu .main-button-comment i {
  width: 100%;
  height: 100%;
}

.person_aboutmenu.nd-one-person__menu .main-button-comment i::before {
  margin-left: 9px;
}

.nd-separate-section.nd-social-circle_table .nd-social-circle__person-card {
  z-index: 500;
}

@media screen and (max-width: 379px) and (max-height: 812px) {
  #popup__add-period.popup__add-period_first .wrap__add-group h4 {
    margin-bottom: 20px;
  }

  #popup__add-period.popup__add-period_first .wrap__add-group .wrap__add-period {
    margin-top: 20px;
  }

  .page-template-social-circle #popup__add-period.popup__add-period_first .modal_header {
    padding: 10px 0;
  }

  #popup__add-period.popup__add-period_first .wrap__add-group {
    padding: 20px;
  }
}

/* task 8739 */
.nd-one-person__menu-actions button.nd-button.nd-button-icon {
  margin-right: 10px;
}

.delete-person__go-to-tree {
  position: relative;
  min-width: 190px;
  width: 190px;
}

.delete-person__go-to-tree .nd-icon__big-family-tree {
  position: absolute;
  top: calc(50% - 12px);
  left: 44px;
  width: 24px;
  height: 24px;
}

.delete-person__go-to-tree .nd-icon__big-family-tree::before {
  background-color: #fff;
}

.delete-person__go-to-tree .nd-button {
  padding-left: 32px;
}

.popup__delete-person-go-to-tree .modal-settings,
.popup__delete-person-permanently .modal-settings,
.popup__delete-person-everywhere .modal-settings {
  padding: 34px 68px 31px 68px !important;
}

@media screen and (max-width: 768px) {
  .delete-person__go-to-tree {
    width: 100%;
  }

  .delete-person__go-to-tree .nd-icon__big-family-tree {
    left: calc(50% - 52px);
  }

  .popup__delete-person-go-to-tree .modal-settings,
  .popup__delete-person-permanently .modal-settings,
  .popup__delete-person-everywhere .modal-settings {
    padding: 0 0 40px 0 !important;
  }
}

/* task 8739 END */
/* task 8369 END*/

.nd-icon__social-circle::before {
  -webkit-mask: url(../img/icons/social-circle-icon.svg) no-repeat center;
  mask: url(../img/icons/social-circle-icon.svg) no-repeat center;
}

@media screen and (max-width: 350px) {
  .nd-persons__list-attend i::before {
    min-width: 14px;
  }

  .nd-persons__list-attend i span {
    white-space: wrap;
  }
}

@media screen and (max-width: 768px) {
  .nd-sidebar__close {
    left: 18px;
  }

  .nd-sidebar {
    border-radius: 0 8px 8px 0;
    top: 0px;
    left: 0px;
  }

  .nd-sidebar__mobile-bg {
    z-index: 501;
  }
}

/* task 8313 */

.links-previews__el {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
}

.links-previews__pers {
  width: 336px;
  height: fit-content;
  /*min-height: 240px;*/
  max-width: 336px;
  min-width: 320px;
}

.links-previews__bio {
  width: 519px;
  height: fit-content;
  /*min-height: 230px;*/
  max-width: 519px;
  min-width: 230px;
}

.links-previews__hist {
  width: 300px;
  height: fit-content;
  /*min-height: 283px;*/
  max-width: 300px;
  min-width: 283px;
}

.links-previews__bio .links-previews__el-wrapper {
  display: flex;
  flex-wrap: nowrap;
}

.links-previews__bio-left-col {
  min-width: 190px;
  width: 190px;
  flex: 190px 0 0;
  height: 100%;
  border-bottom: 1px solid #E9EBF0;
}

.links-previews__bio-right-col {
  min-width: 329px;
  width: 329px;
  flex: 329px 1 0;
  height: 100%;
  border: 1px solid #E9EBF0;
  border-left: 0px solid transparent;
}

.links-previews__bio-img,
.links-previews__bio-img img {
  width: 100%;
  height: 100%;
}

.links-previews__bio-img {
  background: rgba(183, 189, 206, 0.2);
  border-radius: 12px 0px 12px 12px;
}

.links-previews__bio-img img {
  object-fit: cover;
  border-radius: 12px;
}

.links-previews__bio-title {
  color: #326E5B;
  font-family: "Source Serif Pro";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  padding: 15px 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(183, 189, 206, 0.2);
  border-radius: 0px 8px 12px 0px;
}

.links-previews__bio-text {
  overflow: hidden;
  color: #444;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: "Proxima Nova";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  /* 16.8px */
  max-height: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 12px 18px 18px 12px;
}

.links-previews__bio-text p {
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 16.8px;
}

.links-previews__el-wrapper {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #E9EBF0;
  box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.links-previews__pers .links-previews__el-wrapper {
  padding: 18px;
}

.links-previews__bio .links-previews__el-wrapper {
  border: 0px solid transparent;
}

.links-previews__pers::after {
  content: '';
  position: absolute;
  left: calc(50% - 6px);
  top: -22px;
  border: 12px solid transparent;
  border-bottom: 12px solid #fff;
  pointer-events: none;
}

.links-previews__pers::before {
  content: '';
  position: absolute;
  left: calc(50% - 8px);
  top: -26px;
  border: 14px solid transparent;
  border-bottom: 14px solid #E9EBF0;
  pointer-events: none;
}

.links-previews__hist::after {
  content: '';
  position: absolute;
  left: calc(50% - 6px);
  top: -22px;
  border: 12px solid transparent;
  border-bottom: 12px solid #fff;
  pointer-events: none;
}

.links-previews__hist::before {
  content: '';
  position: absolute;
  left: calc(50% - 8px);
  top: -26px;
  border: 14px solid transparent;
  border-bottom: 14px solid #E9EBF0;
  pointer-events: none;
}

.links-previews__el_on-top.links-previews__pers::after {
  content: '';
  position: absolute;
  left: calc(50% - 6px);
  top: calc(100% - 1px);
  border: 12px solid transparent;
  border-top: 12px solid #fff;
  pointer-events: none;
}

.links-previews__el_on-top.links-previews__pers::before {
  content: '';
  position: absolute;
  left: calc(50% - 8px);
  top: calc(100% - 1px);
  border: 14px solid transparent;
  border-top: 14px solid #E9EBF0;
  pointer-events: none;
}

.links-previews__el_on-top.links-previews__hist::after {
  content: '';
  position: absolute;
  left: calc(50% - 6px);
  top: calc(100% - 1px);
  border: 12px solid transparent;
  border-top: 12px solid #fff;
  pointer-events: none;
}

.links-previews__el_on-top.links-previews__hist::before {
  content: '';
  position: absolute;
  left: calc(50% - 8px);
  top: calc(100% - 1px);
  border: 14px solid transparent;
  border-top: 14px solid #E9EBF0;
  pointer-events: none;
}

.links-previews__pers-header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
}

.links-previews__pers-relation {
  margin-bottom: 8px;
}

.links-previews__pers-logo {
  width: 100px;
  height: 100px;
  border-radius: 100%;
  border: 1px solid #B7BDCE;
  display: flex;
  justify-content: center;
  align-items: center;
}

.links-previews__hist-text {
  padding: 12px 16px 18px;
}

.links-previews__hist-logo {
  width: 100%;
  height: 125px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.links-previews__hist-photo {
  width: auto;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.links-previews__hist-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  filter: blur(10px);
  object-fit: cover;
}

.links-previews__pers-logo img {
  width: 91px;
  height: 91px;
  border-radius: 100%;
  min-width: 91px;
  min-height: 91px;
}

.links-previews__pers-name {
  color: #326E5B;
  font-family: "Source Serif Pro";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.links-previews__text {
  overflow: hidden;
  color: #444;
  text-overflow: ellipsis;
  font-family: "Proxima Nova";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  /* 16.8px */
}

.links-previews__hist-title {
  color: #444;
  font-family: "Source Serif Pro";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 8px;
}

.links-previews__hist-year {
  color: var(--green, #326E5B);
  font-family: "Source Serif Pro";
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.links-previews__hist-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.links-previews__hist-year {
  margin-bottom: 0;
}

.links-previews__hist-address {
  padding: 4px 12px 4px 6px;
  border-radius: 100px;
  background: #F5F2F3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #444;
  font-family: "Proxima Nova";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.links-previews__hist-address img {
  width: 16px;
  height: 16px;
}

.links-previews__hist-descr {
  overflow: hidden;
  color: #444;
  text-overflow: ellipsis;
  font-family: "Proxima Nova";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  /* 16.8px */
  max-height: 68px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.links-previews__pers-descr {
  max-height: 68px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* task 8313 end */

/*Раздел введение в Познай Себя */
.page-template-quiz_intro .nd-content {
  padding: 0;
  margin: 0 14px 0 20px;
  flex-grow: 1;
  background-color: transparent;
  box-shadow: none;
  border: none;
  border-radius: 0;
}

.page-template-quiz_intro .nd-wrap-separate-section {
  display: flex;
  gap: 20px;
}

.page-template-quiz_intro .nd-section__quiz-quest {
  padding-bottom: 0;
  padding-top: 20px;
}

.page-template-quiz_intro .quiz-intro__back-to-quiz {
  margin-bottom: 20px;
}

.page-template-quiz_intro .quiz-intro__back-to-quiz .nd-button.nd-button-link {
  align-items: center;
}

.page-template-quiz_intro .quiz-intro__back-to-quiz .nd-button.nd-button-link span {
  font-weight: 400;
  line-height: 20px;
}

.page-template-quiz_intro .quiz-intro__back-to-quiz .nd-button.nd-button-link i::before {
  background-color: rgba(68, 68, 68, 1);
  margin-right: 4px;
}

.page-template-quiz_intro #content {
  margin-bottom: 60px;
}

.page-template-quiz_intro .nd-section__quiz-res.nd-separate-section {
  display: block;
}

.nd-section__quiz-res.nd-section__quiz-res_inverse {
  border: 1px solid #F0F4F7;
  background: #326E5B;
}

.nd-section__quiz-res.nd-section__quiz-res_inverse h5 {
  color: #fff;
}

.nd-button.nd-button-inverse {
  background: #FFF;
  border: 1px solid #fff;
  color: #326E5B;
}

.nd-section__quiz-intro {
  padding: 100px 0;
}

.nd-section__quiz-intro_intro-sec {
  margin-bottom: 100px;
}

.quiz-intro__service-heading,
.quiz-intro__unique,
.quiz-intro__longread p,
.page-template-quiz_intro .nd-content__header,
.nd-section__quiz-intro_descr .h2,
.nd-section__quiz-intro_unique .h2,
.quiz-intro__last-sec-cta,
.quiz-intro__hiw-text {
  margin-bottom: 16px;
}

.quiz-intro__longread {
  color: #444;
  /* longread */
  font-size: 16px;
  line-height: 20px;
}

.quiz-intro__longread p:last-child {
  margin-bottom: 0;
}

.quiz-intro__intro-text {
  margin-bottom: 40px;
}

.quiz-intro__intro-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 15px;
  flex-wrap: wrap;
}

.quiz-intro__intro-card-el {
  flex: 0 1 276px;
  text-align: center;
}

.quiz-intro__card {
  border-radius: 16px;
  border: 1px solid #E9EBF0;
  background: #FAFAFA;
  box-shadow: 0px 2px 25px 0px rgba(0, 0, 0, 0.12);
  padding: 24px;
  max-width: calc(50% - 8px);
}

.quiz-intro__intro-card-img-wrap {
  position: relative;
  margin-bottom: 16px;
}

.quiz-intro__intro-card-img {
  width: 100%;
  height: 232px;
  cursor: pointer;
}

.quiz-intro__intro-card-img-span {
  width: 100%;
  height: 100%;
  display: block;
}

.quiz-intro__intro-card-img-span>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 12px;
  border: 1px solid var(--gray, #B7BDCE);
}

.quiz-intro__intro-card-img_double .quiz-intro__intro-card-img-span>img {
  height: 100%;
}

.quiz-intro__intro-card-img_double .quiz-intro__intro-card-img-span {
  position: relative;
  height: calc(50% - 4px);
  margin-bottom: 8px;
}

.quiz-intro__intro-card-zoom {
  position: absolute;
  z-index: 100;
  top: calc(50% - 28px);
  left: calc(50% - 28px);
  background: rgba(0, 0, 0, 0.5);
  border-radius: 100%;
  padding: 12px;
  pointer-events: none;
}

.quiz-intro__intro-card-zoom .nd-icon__zoom::before {
  background-color: #fff;
  width: 32px;
  height: 32px;
}

.nd-section__quiz-intro_green {
  background: #326E5B;
  margin: 0 -40px;
  padding: 100px 40px;
  text-align: center;
}

.nd-section__quiz-intro_green .h2,
.nd-section__quiz-intro_green .h4 {
  color: #fff;
}

.nd-section__quiz-intro_descr {
  position: relative;
}

.quiz-intro__last-sec {
  text-align: center;
}

.nd-section__quiz-intro_descr .h4,
.quiz-intro__last-sec .h3,
.nd-section__quiz-intro_unique .h4,
.quiz-intro__last-sec .quiz-intro__longread {
  display: block;
  margin: 0 auto;
}

.nd-section__quiz-intro_descr .h4 {
  max-width: 673px;
}

.quiz-intro__last-sec .h3 {
  margin-bottom: 32px;
  max-width: 733px;
}

.quiz-intro__last-sec .quiz-intro__longread {
  max-width: 517px;
}

.quiz-intro__descr-bg-1,
.quiz-intro__descr-bg-2 {
  position: absolute;
  width: 127px;
  height: auto;
  z-index: 100;
}

.quiz-intro__descr-bg-1 {
  top: 12px;
  left: 0;
}

.quiz-intro__descr-bg-2 {
  right: 0;
  bottom: 0;
}

.quiz-intro__steps {
  display: flex;
  gap: 16px 15px;
  flex-wrap: wrap;
  justify-content: start;
  max-width: 863px;
  margin: 0 auto;
  flex-direction: column;
}

.quiz-intro__step-el {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
}

.quiz-intro__num-circle {
  color: #FFF;
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
  width: 32px;
  height: 32px;
  border-radius: 100%;
  background: #326E5B;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.nd-section__quiz-intro_grey {
  background: rgba(183, 189, 206, 0.20);
  margin: 0 -40px;
  padding: 100px 40px;
}

.quiz-intro__service {
  display: flex;
  gap: 40px;
  align-items: center;
}

.quiz-intro__service-text {
  flex-grow: 1;
}

.quiz-intro__service-img-wrap {
  flex: 1 0 343px;
  position: relative;
  max-width: 100%;
}

.quiz-intro__service-logo {
  width: 38%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.nd-section__quiz-intro_last-sec {
  background: url("../img/quiz/quiz-intro__last-section.png") lightgray 50% / cover no-repeat;
  margin: 0 -40px;
  padding: 100px 40px;
  border-radius: 0 0 15px 15px;
}

.quiz-intro__unique {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
}

.quiz-intro__unique .quiz-intro__card {
  box-shadow: none;
  flex: 0 1 276px;
}

.quiz-intro__unique-img {
  width: 130px;
  margin: 0 auto 16px auto;
}

.quiz-intro__unique-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
}

.quiz-intro__tip {
  border-radius: 16px;
  border: 1px solid #FFF;
  max-width: 863px;
  padding: 16px 24px;
  margin: 0 auto;
}

.quiz-intro__tip-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  flex-shrink: 0;
  margin: 0 auto;
  max-width: 600px;
}

.quiz-intro__tip-icon {
  flex: 0 0 24px;
}

.quiz-intro__tip .quiz-intro__longread {
  color: #fff;
  text-align: start;
}

.nd-section__quiz-intro_unique .h4,
.nd-section__quiz-intro_you-will-learn .h2,
.nd-section__quiz-intro_hiw .h2 {
  margin-bottom: 40px;
}

.nd-section__quiz-intro_unique .h4 {
  max-width: 593px;
}

.quiz-intro__last-sec .nd-button {
  width: 200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nd-section__quiz-intro_hiw {
  max-width: 540px;
  margin: 0 auto;
}

.nd-section__quiz-intro_hiw .h2 {
  text-align: center;
}

.quiz-intro__hiw-el {
  position: relative;
  margin-left: 16px;
  padding-left: 33px;
}

.quiz-intro__hiw-el:last-child .quiz-intro__hiw-tip {
  padding-bottom: 0;
}

.quiz-intro__hiw-el-dash {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background-image: linear-gradient(to bottom, #fff 40%, #326E5B 40%);
  background-size: 1px 10px;
  background-repeat: repeat;
}

.quiz-intro__hiw-el .quiz-intro__num-circle {
  position: absolute;
  top: -6px;
  left: -16px;
}

.quiz-intro__hiw-el:last-child .quiz-intro__hiw-el-dash {
  display: none;
}

.quiz-intro__hiw-tip {
  padding-bottom: 40px;
  display: flex;
  gap: 8px;
}

.quiz-intro__hiw-tip .nd-icon__play::before {
  background-color: #326E5B;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.quiz-intro__hiw-tip p {
  color: #326E5B;
}

.quiz_intro_slider .wrapper {
  min-height: unset;
  position: relative;
  z-index: 1;
}

#vvedenie-v-poznaj-sebya__popup .nd-button {
  margin-top: 24px;
}

.nd-section__quiz-res-close-btn,
#vvedenie-v-poznaj-sebya__popup-opener,
.vvedenie-v-poznaj-sebya__popup-opener-icon {
  display: none;
}

.quiz-intro__steps {
  max-height: 528px;
  height: 528px;
}

.quiz-intro__steps::before,
.quiz-intro__steps::after {
  content: '';
  height: 100%;
  order: 1;
}

.quiz-intro__step-el:nth-child(n + 5) {
  order: 1;
}

@media screen and (max-width: 1439px) {
  .quiz-intro__step-el {
    flex: 1 1 calc(50% - 8px);
    max-width: unset;
  }

  .quiz-intro__steps {
    flex-direction: row;
    max-height: unset;
    height: unset;
  }

  .quiz-intro__steps::before,
  .quiz-intro__steps::after {
    display: none;
  }

  .quiz-intro__step-el:nth-child(2) {
    order: 3;
  }

  .quiz-intro__step-el:nth-child(3) {
    order: 5;
  }

  .quiz-intro__step-el:nth-child(4) {
    order: 7;
  }

  .quiz-intro__step-el:nth-child(5) {
    order: 2;
  }

  .quiz-intro__step-el:nth-child(6) {
    order: 4;
  }

  .quiz-intro__step-el:nth-child(7) {
    order: 6;
  }

  .quiz-intro__step-el:nth-child(8) {
    order: 8;
  }
}

@media screen and (max-width: 1200px) {
  .quiz-intro__service {
    flex-wrap: wrap;
  }

  #vvedenie-v-poznaj-sebya__popup {
    width: auto;
    flex: 0 1 353px;
    min-width: 270px;
  }

  .quiz-intro__step-el {
    flex: 1 1 100%;
  }
}

@media screen and (max-width: 768px) {
  #vvedenie-v-poznaj-sebya__popup {
    bottom: -480px;
    transition: all 0.3s ease;
  }

  #vvedenie-v-poznaj-sebya__popup.open,
  #vvedenie-v-poznaj-sebya__popup-opener {
    bottom: -80px;
    transition: all 0.3s ease;
  }

  #vvedenie-v-poznaj-sebya__popup-opener {
    display: block;
    padding: 8px 0;
    text-align: center;
    cursor: pointer;
  }

  .vvedenie-v-poznaj-sebya__popup-opener-icon {
    display: block;
  }

  .vvedenie-v-poznaj-sebya__popup-opener-icon .nd-icon__down::before {
    width: 24px;
    height: 24px;
    background-color: #fff;
    transform: rotate(180deg);
    margin: 0 auto;
  }

  .nd-section__quiz-res.nd-section__quiz-res_inverse {
    border: 1px solid #326E5B;
  }

  .page-template-quiz_intro {
    overflow-x: hidden;
  }

  .page-template-quiz_intro .nd-content {
    margin: 0;
  }

  .page-template-quiz_intro .nd-separate-section {
    padding: 25px 16px 0;
    margin-bottom: 80px;
    max-width: 100%;
  }

  .page-template-quiz_intro #content {
    margin-bottom: 0;
  }

  .nd-section__quiz-intro_last-sec {
    border-radius: 0;
  }

  .nd-section__quiz-intro_intro-sec {
    max-width: calc(100% + 34px);
    overflow: hidden;
    margin: 0 -17px;
    padding-bottom: 80px;
  }

  .page-template-quiz_intro .nd-content__header {
    max-width: 90%;
    margin-bottom: 8px;
    padding: 0 17px;
  }

  .quiz-intro__intro-text {
    padding: 0 17px;
  }

  .quiz-intro__intro-text {
    margin-bottom: 36px;
  }

  .quiz-intro__intro-text .h4 {
    /* longread */
    font-family: "Proxima Nova";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 125% */
  }

  .nd-section__quiz-intro {
    padding: 80px 0;
  }

  .nd-section__quiz-intro_descr {
    padding: 100px 0;
  }

  .nd-section__quiz-intro_green,
  .nd-section__quiz-intro_grey {
    margin: 0 -16px 0 -17px;
  }

  .nd-section__quiz-intro_service {
    padding: 80px 16px;
  }

  .nd-section__quiz-intro_service .quiz-intro__longread p {
    font-size: 16px;
  }

  .nd-section__quiz-intro_unique {
    padding: 80px 16px;
    margin: 0 -17px 0 -18px;
  }

  .nd-section__quiz-intro_unique .h4 {
    font-size: 16px;
  }

  .quiz-intro__unique .quiz-intro__card {
    flex: 1 0 100%;
    padding: 24px 16px;
    max-width: unset;
  }

  .quiz-intro__tip {
    padding: 16px;
  }

  .quiz-intro__service {
    gap: 32px;
  }

  .nd-section__quiz-intro_descr .h4 {
    font-size: 16px;
    line-height: 25px;
    /* 156.25% */
    max-width: 280px;
  }

  .quiz-intro__step-el {
    gap: 12px;
    padding: 16px;
  }

  .quiz-intro__hiw-text {
    font-size: 16px;
    line-height: 20px;
    /* 125% */
  }

  .nd-section__quiz-intro_last-sec {
    margin: 0 -17px;
    border-radius: 0 0 15px 15px;
    padding: 80px 16px;
  }

  .quiz-intro__last-sec .h3 {
    font-size: 24px;
    line-height: normal;
  }

  .quiz-intro__last-sec .quiz-intro__longread {
    margin: 0 -1px;
  }

  .quiz-intro__intro-cards {
    flex-wrap: nowrap;
    justify-content: start;
    padding-left: 15px;
    position: relative;
  }

  .quiz_intro_slider .wrapper {
    position: relative;
    z-index: 1;
  }

  #quiz_intro_slider_items {
    width: fit-content;
    position: relative;
    top: 0;
    left: 0px;
  }

  #quiz_intro_slider_items.shifting {
    transition: left .2s ease-out;
  }

  .quiz-intro__intro-card-el {
    float: left;
    transition: all 1s;
    position: relative;
    flex-shrink: 0;
    max-width: unset;
  }

  .nd-section__quiz-res-close-btn {
    display: block;
    position: absolute;
    top: 8px;
    right: 8px;
  }

  .nd-section__quiz-res-close-btn .nd-icon__close::before {
    width: 32px;
    height: 32px;
    background: rgba(183, 189, 206, 1);
    cursor: pointer;
  }

  #vvedenie-v-poznaj-sebya__popup {
    padding: 40px 26px;
  }
}

/*Раздел введение в Познай Себя*/

/* Nasledie Image Zoom плагин */
.nd-image-zoom {
  display: none;
  position: relative;
  z-index: 600;
}

.nd-image-zoom__close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 100%;
  filter: drop-shadow(0px 2px 12px rgba(0, 0, 0, 0.12));
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.nd-image-zoom__close-btn .nd-icon__close::before {
  width: 24px;
  height: 24px;
  background-color: #B7BDCE;
}

.nd-image-zoom__wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.60);
  display: flex;
  justify-content: center;
  align-items: center;
}

.nd-image-zoom__image {
  width: 90%;
  height: 75%;
  max-width: 90%;
  max-height: 75%;
  text-align: center;
}

.nd-image-zoom__image>img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Nasledie Image Zoom плагин end */
.nd-section__quiz-res-tutorial {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #326E5B;
  margin: 0 auto;
  /* button text */
  font-family: "Proxima Nova";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-top: 16px;
}

.nd-section__quiz-res-tutorial i::before {
  margin-left: 4px;
  width: 24px;
  height: 24px;
  background-color: #326E5B;
  transform: scaleX(-1);
}

.nd-section__quiz-quest .nd-section__quiz-notification {
  padding: 24px 40px;
  display: flex;
  gap: 16px;
  flex-direction: column;
  align-items: center;
  border-radius: 25px 25px 0px 0px;
  border: 1px solid rgba(183, 189, 206, 0.30);
  background: #FFF;
  box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.10);
  position: absolute;
  bottom: 0px;
  width: 100%;
  left: 0;
  z-index: 10;
  text-align: center;
  min-height: 18dvh;
}

.nd-section__quiz-quest .nd-section__quiz-notification p {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  margin-bottom: 2px;
}

.nd-section__quiz-notification .close_quiz-notification__btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
  background: none;
}

.nd-section__quiz-quest.nd-separate-section {
  position: relative;
}

.nd-quiz__wrap-results h4 {
  font-weight: 400;
  margin-bottom: 12px;
}

#popup-postcard .modal_wrapper {
  width: 405px;
  /* background: url("../img/popup-postcard.png") top no-repeat #fff;
  padding: 212px 45px 40px; */
  background-size: contain;
  display: flex;
  flex-direction: column;
}

#popup-postcard .modal_wrapper .close_modal {
  position: absolute;
  background-color: transparent;
  right: 1px;
  top: 1px;
}

#popup-postcard .modal_wrapper h4 {
  text-align: center;
  font-family: "Source Serif Pro";
  font-size: 20px;
  font-weight: 400;
  line-height: 25px;
  margin-bottom: 8px;
}

#popup-postcard .modal_wrapper p {
  text-align: center;
  font-family: "Proxima Nova";
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 32px;
}

/* #popup-postcard .modal_wrapper p span {
  color: #326E5B;
} */

#popup-postcard .modal_wrapper .nd-button.nd-button__reg {
  width: 230px;
  text-align: center;
  margin: 0 auto;
  display: block;
}

@media screen and (max-width: 1024px) {
  #popup-postcard .modal_wrapper {
    bottom: 0;
    position: fixed;
    width: 405px;
    min-width: unset;
  }

  #popup-postcard .modal_wrapper .close_modal {
    opacity: 0;
  }
}

@media screen and (max-width: 450px) {
  #popup-postcard .modal_wrapper {
    width: 100%;
  }
}


.ft-loading-wrap {
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  background: url(../img/ft-loading/ft-loading-wrap.jpg) no-repeat center transparent;
  align-items: center;
  justify-content: center;
  background-size: cover;
  position: fixed;
  top: 0;
  z-index: 1000;
}

.ft-loading-logo {
  background: url(../img/ft-loading/logo.png) no-repeat center transparent;
  height: 46px;
  width: 228px;
  background-size: contain;
  margin-bottom: 42px;
}

.ft-loading {
  display: flex;
  flex-direction: column;
  width: 350px;
  background-color: #fff;
  border-radius: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
}

.ft-loading #ft-loading-close {
  background: url(../img/ft-loading/ft-loading-close.png) no-repeat center transparent;
  background-size: contain;
  width: 32px;
  height: 32px;
  cursor: pointer;
  position: absolute;
  right: 12px;
  top: 12px;
}

.ft-loading h4 {
  color: #326E5B;
  text-align: center;
  font-family: "Source Serif Pro";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px;
  margin: 32px 0 8px;
}

.ft-loading h5 {
  color: #444;
  text-align: center;
  font-family: "Proxima Nova";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 16px;
  margin: 0 0 16px;
}

.ft-loading p {
  color: #444;
  font-family: "Proxima Nova";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  margin: 0 auto 16px;
  width: 320px;
}

.ft-loading p.p-green {
  color: #326E5B;
  font-family: "Proxima Nova";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19px;
  margin: 0 auto 10px;
  width: auto;
  text-align: center;
}

.ft-loading p.p-black {
  color: #444;
  font-feature-settings: 'liga'off, 'clig'off;
  font-family: "Proxima Nova";
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 135%;
  margin-bottom: 8px;
}

.ft-loading-loader {
  background: url(../img/ft-loading/loader_green.svg) no-repeat center transparent;
  width: 32px;
  height: 32px;
  animation: 1s linear 0s normal none infinite running rot;
  -webkit-animation: 1s linear 0s normal none infinite running rot;
}

.ft-loading-wrap .nd-button {
  /* width: 300px;
  margin: 16px auto; */
  width: fit-content;
  padding: 18px 9px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}



.ft-loading-wrap .nd-button .icon-copy {
  background: url(../img/ft-loading/ft-loading-copy.svg) no-repeat center transparent;
  width: 25px;
  height: 25px;
}

.ft-loading-wrap .nd-button .icon-check {
  background: url(../img/ft-loading/ft-loading-check.svg) no-repeat center transparent;
  width: 25px;
  height: 25px;
}

.ft-loading-wrap .nd-button.nd-button-empty {
  color: #326E5B;
  cursor: default;
}

.link_copy_wrap {
  border-radius: 100px;
  border: 1px solid #37BB91;
  padding: 4px 4px 4px 16px;
  box-sizing: border-box;
  max-width: calc(100% - 16px);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  color: #444;
  text-overflow: ellipsis;
  font-family: "Proxima Nova";
  font-size: 14px;
  line-height: 18px;
  justify-content: end;
  gap: 4px;

  .nd-button {
    background: var(--Gradient, linear-gradient(86deg, #258E6D 0%, #28B78A 48.22%, #37BB91 92.42%));
  }

  .nd-button.nd-button-empty {
    background: #F1F2F5;
  }

  .nd-button.disabled_btn_gray {
    background: #B7BDCE;
    border: 1px solid #B7BDCE;
    pointer-events: none;
  }
}

.after_text_copy_modal {
  display: flex;
  font-size: 14px;
  margin-top: 16px !important;
  box-sizing: border-box;
  width: calc(100% - 42px) !important;

  svg {
    width: 100%;
    display: block;
    max-width: 17px;
    height: fit-content;
  }
}

@keyframes rot {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes rot {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 500px) {
  .ft-loading {
    margin: 0 12px;
    width: auto;
  }
}

.nd-wrap-content--fairy-tales-create .nd-content,
.nd-wrap-content--fairy-tales .nd-content,
.single-fairy_tale .nd-content {
  padding: 0;
  overflow: hidden;
}

@media screen and (max-width: 1200px) {

  .nd-wrap-content--fairy-tales-create .nd-content,
  .nd-wrap-content--fairy-tales .nd-content,
  .single-fairy_tale .nd-content {
    padding: 0;
  }
}

.nd-wrap-content.nd-wrap-content__nopad {
  padding: 0;
}