.editor:root {
    --theme-main-color: #ffffff;
    --theme-second-color: #d9d9d9;
    --theme-third-color: #ff6214;
}
.editor .color-picker--theme-main-color {
    background: var(--theme-main-color, #ffffff);
}
.editor .color-picker--theme-second-color {
    background: var(--theme-second-color, #d9d9d9);
}
.editor .color-picker--theme-third-color {
    background: var(--theme-third-color, #ff6214);
}

.color-picker-panel {
    position: absolute;
    width: 150px;
    top: 85%;
    left: 0;
    border-radius: 8px;
    border: 1px solid #cccccc;
    line-height: normal;
    background: #fff;
    padding: 0px 15px 15px;
}
.color-picker-panel .color-picker-panel_row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 15px;
}
.color-picker-panel .color-picker-panel_row-title {
    font-size: 14px;
    margin-right: 15px;
}
.color-picker-panel .color-picker-panel_row-value {
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.editor-input{
    margin-top: -8px;
    margin-bottom: -8px;
}

.svg-preloader {
    position: absolute;
    z-index: 2;
    width: 120px;
    height: 120px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.booklet-page {
  width: 842px;
  height: 595px;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.3;
  color: #000;
  background-color: #fff;
}

.booklet-page .booklet__template-create button{
    padding: 7px 20px;
    border: 1px solid #ff4a35;
    border-radius: 8px;
    font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 1.1;
    font-weight: 500;
    text-align: center;
    background: linear-gradient(135deg,#ff4a35 0,#ff7e35 100%);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    color: #fff;
    box-shadow: 0 1px 3px rgb(0 0 0 / 6%), 0 1px 2px rgb(0 0 0 / 12%);
    transition: color .3s cubic-bezier(.45,.05,.55,.95),border-color .3s cubic-bezier(.45,.05,.55,.95),background-color .3s cubic-bezier(.45,.05,.55,.95),opacity .3s cubic-bezier(.45,.05,.55,.95),box-shadow .3s cubic-bezier(.45,.05,.55,.95);
}

.booklet-page__inner {
  width: 100%;
  height: 100%;
}

.booklet-page .editor-select {
  cursor: pointer;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.add-row {
    position: relative;
    width: 22px;
    height: 22px;
    margin: 0 auto;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    cursor: pointer;
    -webkit-transition: all 0.1s ease 0s;
    transition: all 0.1s ease 0s;
    z-index: 10;
}
.add-row svg {
    fill: var(--theme-main-color, #ffffff);
}
.remove-row {
    position: absolute;
    width: 15px;
    height: 15px;
    left: 100%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.1s ease 0s;
    transition: all 0.1s ease 0s;
    z-index: 10;
}
.remove-row svg {
    fill: var(--theme-main-color, #ffffff);
}

.booklet-content {
  width: 100%;
  height: 595px;
  position: relative;
  background-color: #fff;
  z-index: 1;
}

.booklet-page .editor-textarea {
  padding-left: 0;
}

.booklet-main__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.booklet-main__img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.booklet-main__img::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  border: 1px solid #ffffff;
  z-index: 3;
}

.booklet-main__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.booklet-main__img .btn-edit-bg--center {
  top: 23%;
}

.booklet-main__img .svg-preloader {
    top: 23%;
}

.booklet-main__title {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  z-index: 5;
  width: 100%;
  padding: 16px;
  font-weight: 600;
  font-size: 26.4px;
  line-height: 36px;
  text-align: center;
  color: var(--theme-main-color, #ffffff);
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
    max-width: 480px;
    max-height: 184px;
}

.booklet-main__title .editor-textarea {
  text-align: center;
}

.booklet-main__bottom {
  position: absolute;
  z-index: 5;
  left: 12px;
  bottom: 12px;
  width: calc(100% - 26px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  padding: 12px;
  background-color: rgba(0,0,0,0.3);
  margin: 0 1px 1px;
}

.booklet-main__adress {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 auto;
          flex: 0 1 auto;
  font-weight: 500;
  font-size: 14.4px;
  line-height: 24px;
  color: var(--theme-main-color, #ffffff);
  max-width: 350px;
    max-height: 100px;
}

.booklet-main__adress .editor-textarea {
  width: 385px;
}

.booklet-main__price-block {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 auto;
          flex: 0 1 auto;
    margin: 0 45px 25px 0;
}

.booklet-main__type {
  text-align: center;
  font-weight: 600;
  font-size: 21px;
  line-height: 26px;
  color: var(--theme-second-color, #d9d9d9);
  text-transform: uppercase;
  margin-bottom: 9px;
    max-width: 343px;
    max-height: 31px;
}

.booklet-main__price {
  text-align: center;
  font-weight: 600;
  font-size: 24px;
  line-height: 1;
  color: var(--theme-main-color, #ffffff);
    max-width: 343px;
    max-height: 31px;
}

.booklet-char__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.booklet-char__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.booklet-char__img .btn-edit-bg--center {
  left: 26%;
}

.booklet-char__img .svg-preloader {
    left: 26%;
}

.booklet-char__content {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 421px;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
  padding: 22px 25px;
}

.booklet-char__content::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  border: 1px solid #ffffff;
  z-index: 3;
}

.booklet-char__title {
    position: relative;
  padding: 0 14px 7px;
  border-bottom: 1px solid #ffffff;
  font-weight: 600;
  font-size: 19.2px;
  line-height: 22px;
  text-align: center;
  color: var(--theme-main-color, #ffffff);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto 18px;
    z-index: 10;
    max-width: 366px;
    max-height: 34px;
}

.booklet-char__item {
    position: relative;
  margin-bottom: 24px;
}
.booklet-char__item:hover .remove-row {
    opacity: 1;
    visibility: visible;
}
.booklet-char__list.office_type_buy_list .booklet-char__item {
    margin-bottom: 35px;
}
.booklet-char__list.office_type_rent_list .booklet-char__item {
    margin-bottom: 20px;
}
.booklet-char__list.psn_type_buy_list .booklet-char__item {
    margin-bottom: 27px;
}
.booklet-char__list.psn_type_rent_list .booklet-char__item {
    margin-bottom: 14px;
}
.booklet-char__list.area_type_buy_list .booklet-char__item {
    margin-bottom: 27px;
}
.booklet-char__list.area_type_rent_list .booklet-char__item {
    margin-bottom: 20px;
}
.booklet-char__list.build_type_buy_list .booklet-char__item {
    margin-bottom: 20px;
}
.booklet-char__list.build_type_rent_list .booklet-char__item {
    margin-bottom: 20px;
}
.booklet-char__list.storehouse_type_buy_list .booklet-char__item {
    margin-bottom: 27px;
}
.booklet-char__list.storehouse_type_rent_list .booklet-char__item {
    margin-bottom: 14px;
}
.booklet-char__list.land_type_buy_list .booklet-char__item {
    margin-bottom: 27px;
}
.booklet-char__list.land_type_rent_list .booklet-char__item {
    margin-bottom: 25px;
}

.booklet-char__label {
  font-weight: 400;
  font-size: 13px;
  line-height: 13px;
  color: #bcbaba;
  margin-bottom: 5px;
    position: relative;
    z-index: 10;
    max-width: 371px;
    max-height: 15px;
}

.booklet-char__text {
  font-weight: 600;
  font-size: 17px;
  line-height: 1;
  color: var(--theme-main-color, #ffffff);
  position: relative;
  z-index: 10;
    max-width: 371px;
    max-height: 40px;
}

.booklet-img {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.booklet-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.booklet-img::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  border: 1px solid #ffffff;
  z-index: 2;
}

.booklet-char-zd__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.booklet-char-zd__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.booklet-char-zd__img .btn-edit-bg--center {
  left: 75%;
}

.booklet-char-zd__img .svg-preloader {
    left: 75%;
}

.booklet-char-zd__content {
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  height: auto;
  max-height: 100%;
  width: 421px;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
  padding: 22px 25px;
}

.booklet-char-zd__content::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  border: 1px solid #ffffff;
  z-index: 3;
}

.booklet-char-zd__title {
    position: relative;
  padding: 0 14px 7px;
  border-bottom: 1px solid #ffffff;
  font-weight: 600;
  font-size: 19.2px;
  line-height: 22px;
  text-align: center;
  color: var(--theme-main-color, #ffffff);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto 26px;
    z-index: 10;
    max-width: 366px;
    max-height: 34px;
}

.booklet-char-zd__item {
  position: relative;
  margin-bottom: 24px;
}

.booklet-char-zd__item:hover .remove-row {
    opacity: 1;
    visibility: visible;
}

.booklet-char-zd__label {
  font-weight: 400;
  font-size: 13px;
  line-height: 13px;
  color: #bcbaba;
  margin-bottom: 5px;
    position: relative;
    z-index: 10;
    max-width: 371px;
    max-height: 15px;
}

.booklet-char-zd__text {
  font-weight: 600;
  font-size: 17px;
  line-height: 21px;
  color: var(--theme-main-color, #ffffff);
  position: relative;
  z-index: 10;
    max-width: 371px;
    max-height: 40px;
}

.booklet-galery__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.booklet-galery__item {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 50%;
          flex: 0 1 50%;
  height: 50%;
  position: relative;
}

.booklet-galery__item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.booklet-galery__item::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  border: 1px solid #ffffff;
  z-index: 2;
}

.booklet-galery__item:nth-child(2)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.booklet-galery__item:nth-child(3)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.booklet-info {
  position: relative;
}

.booklet-info__img {
  position: relative;
  width: 100%;
  height: 100%;
}

.booklet-info__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.booklet-info__img .btn-edit-bg--center {
  top: 80%;
}

.booklet-info__img .svg-preloader {
    top: 80%;
}

.booklet-info__content {
  position: absolute;
  top: 0;
  left: 0;
  height: auto;
  max-height: 400px;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
  padding: 22px 25px;
}

.booklet-info__content::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  border: 1px solid #ffffff;
  z-index: 3;
}

.booklet-info__title {
    position: relative;
  padding: 0 14px 7px;
  border-bottom: 1px solid #ffffff;
  font-weight: 600;
  font-size: 19.2px;
  line-height: 22px;
  text-align: center;
  color: var(--theme-main-color, #ffffff);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto 15px;
    z-index: 10;
    max-width: 796px;
    max-height: 34px;
}

.booklet-info__text {
  font-weight: 500;
  font-size: 14.4px;
  line-height: 20px;
  color: var(--theme-main-color, #ffffff);
  position: relative;
  z-index: 10;
    max-width: 795px;
    max-height: 310px;
}

.booklet-kommunic__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.booklet-kommunic__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.booklet-kommunic__img .btn-edit-bg--center {
  left: 75%;
}

.booklet-kommunic__img .svg-preloader {
    left: 75%;
}

.booklet-kommunic__content {
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  height: auto;
  max-height: 100%;
  width: 421px;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
  padding: 22px 25px;
}

.booklet-kommunic__content::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  border: 1px solid #ffffff;
  z-index: 3;
}

.booklet-kommunic__title {
    position: relative;
  padding: 0 14px 7px;
  border-bottom: 1px solid #ffffff;
  font-weight: 600;
  font-size: 19.2px;
  line-height: 22px;
  text-align: center;
  color: var(--theme-main-color, #ffffff);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto 26px;
    z-index: 10;
    max-width: 371px;
    max-height: 34px;
}

.booklet-kommunic__item {
  position: relative;
  margin-bottom: 24px;
}

.booklet-kommunic__item:hover .remove-row {
    opacity: 1;
    visibility: visible;
}

.booklet-kommunic__label {
  font-weight: 400;
  font-size: 13px;
  line-height: 13px;
  color: #bcbaba;
  margin-bottom: 5px;
    position: relative;
    z-index: 10;
    max-width: 371px;
    max-height: 15px;
}

.booklet-kommunic__text {
  font-weight: 600;
  font-size: 17px;
  line-height: 21px;
  color: var(--theme-main-color, #ffffff);
  position: relative;
  z-index: 10;
    max-width: 371px;
    max-height: 40px;
}

.booklet-infrac__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.booklet-infrac__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.booklet-infrac__content {
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  height: auto;
  max-height: 100%;
  width: 421px;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
  padding: 22px 25px;
}

.booklet-infrac__content::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  border: 1px solid #ffffff;
  z-index: 3;
}

.booklet-infrac__title {
    position: relative;
  padding: 0 14px 7px;
  border-bottom: 1px solid #ffffff;
  font-weight: 600;
  font-size: 19.2px;
  line-height: 22px;
  text-align: center;
  color: var(--theme-main-color, #ffffff);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto 26px;
    z-index: 10;
    max-width: 371px;
    max-height: 34px;
}

.booklet-infrac__text {
  font-weight: 400;
  font-size: 14.4px;
  line-height: 18px;
  text-align: justify;
  color: var(--theme-main-color, #ffffff);
  padding: 0 12px 20px;
  position: relative;
  z-index: 10;
    max-width: 371px;
    max-height: 220px;
}

.booklet-contacts__map {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.booklet-contacts__map img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.booklet-contacts__content {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 421px;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
  padding: 22px 25px 99px;
}

.booklet-contacts__content::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  border: 1px solid #ffffff;
  z-index: 3;
}

.booklet-contacts__title {
    position: relative;
  padding: 0 14px 7px;
  border-bottom: 1px solid #ffffff;
  font-weight: 600;
  font-size: 19.2px;
  line-height: 22px;
  text-align: center;
  color: var(--theme-main-color, #ffffff);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto 35px;
    z-index: 10;
    max-width: 371px;
    max-height: 34px;
}

.booklet-contacts__wrap {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.booklet-contacts__text {
  font-weight: 500;
  font-size: 14.4px;
  line-height: 22px;
  color: var(--theme-main-color, #ffffff);
  position: relative;
  z-index: 10;
}

.booklet-contacts__subtitle {
    position: relative;
  padding: 0 0 7px;
  border-bottom: 1px solid #ffffff;
  font-weight: 600;
  font-size: 19.2px;
  line-height: 22px;
  text-align: center;
  color: var(--theme-main-color, #ffffff);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 25px;
    z-index: 10;
    max-width: 371px;
    max-height: 34px;
}

.booklet-contacts__contacts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.booklet-contacts__avatar {
  width: 72px;
  height: 72px;
  border-radius: 100%;
  overflow: hidden;
  position: relative;
  margin-right: 35px;
}

.booklet-contacts__avatar .svg-preloader {
    width: 70px;
    height: 70px;
}

.booklet-contacts__avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.booklet-contacts__list {
  position: relative;
  z-index: 10;
  flex: auto;
}

.booklet-contacts__item {
  font-weight: 500;
  font-size: 12px;
  line-height: 15px;
  color: var(--theme-main-color, #ffffff);
  margin-bottom: 10px;
    max-width: 264px;
    max-height: 18px;
}

.address_result {
    position: absolute;
    top: 100%;
    z-index: 10;
    font-size: 12px;
    width: 100%;
    max-height: 200px;
    overflow-x: hidden;
    overflow-y: scroll;
    left: 0;
}
.address_result li {
    color: #333333;
    background-color: white;
    padding: 5px 15px;
    border: 1px solid gainsboro;
    cursor: pointer;
}
