:root {
    --main-dark: #252626;
    --gray-25: #3e3f40;
    --gray-40: #6f7073;
    --gray-55: #88898c;
    --gray-84: #d1d4d6;
    --gray-88: #dcdee0;
    --gray-94: #e6e9f0;
    --gray-95: #edf0f7;
    --beige-4: #eeeddd;
    --red: #fa385c;
    --blue-1: #0f5699;
    --blue-2: #4099ed;
    --blue-3: #3b91e0;
    --blue-4: #3e99ed;
    --white: #ffffff;
  
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  
    --font-family: 'Source Sans Pro';
  }
  
  * {
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Убирает внутреннюю тень на iOS*/
  input:not([type=checkbox]):not([type=radio]):not([type=range]),
  textarea,
  select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }
  
  /* Предотвращение скролла контента под модальным окном */
  .modal-open {
    height: 100vh;
    overflow: hidden;
  }
  
  /* Скрыть элемент */
  .hidden {
    display: none !important;
  }
  
  :focus {
    outline: 0;
  }
  
  .add-book {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
  }
  
  .add-book__wrapper {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    max-width: 500px;
    height: 100vh; /* fallback для браузеров, не поддерживающих CSS custom properties */
    height: calc(var(--vh, 1vh) * 100);
    margin-right: auto;
    margin-left: auto;
    overflow: hidden;
    background-color: var(--white);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
  }
  
  .add-book__header {
    position: relative;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-88);
  }
  
  .add-book__body {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex: auto;
    flex: auto;
    -ms-flex-direction: column;
    flex-direction: column;
    height: calc(100vh - 96px - 123px); /* fallback для браузеров, не поддерживающих CSS custom properties */
    height: calc((var(--vh, 1vh) * 100) - 96px - 123px);
    overflow: auto;
    -webkit-box-flex: 1;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
  }
  
  .add-book__close-button {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 24px;
    height: 24px;
    font-size: 0;
    background-color: transparent;
    border: none;
  }
  
  .add-book__close-button::before,
  .add-book__close-button::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 19px;
    height: 1px;
    background-color: #252626;
    -ms-transform: translate(-2px, -50%) rotate(45deg);
    -webkit-transform: translate(-2px, -50%) rotate(45deg);
    transform: translate(-2px, -50%) rotate(45deg);
  }
  
  .add-book__close-button::before {
    -ms-transform: translate(-2px, -50%) rotate(45deg);
    -webkit-transform: translate(-2px, -50%) rotate(45deg);
    transform: translate(-2px, -50%) rotate(45deg);
  }
  
  .add-book__close-button::after {
    -ms-transform: translate(-2px, -50%) rotate(-45deg);
    -webkit-transform: translate(-2px, -50%) rotate(-45deg);
    transform: translate(-2px, -50%) rotate(-45deg);
  }
  
  .add-book__modal-title {
    margin: 8px 36px 0;
    font-weight: 600;
    font-size: 24px;
    line-height: 31px;
    font-family: var(--font-family);
    color: var(--main-dark);
  }
  
  .add-book__book-title {
    display: -webkit-box;
    height: 44px;
    margin-top: 0;
    margin-right: 36px;
    margin-bottom: 0;
    margin-left: 36px;
    overflow: hidden;
    font-weight: 300;
    font-size: 18px;
    line-height: 22px;
    font-family: var(--font-family);
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  
  .add-book__action-list {
    position: relative;
  }
  
  .add-book__action-item {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    border-bottom: 1px solid var(--gray-88);
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-box-align: center;
    -ms-flex-align: center;
  }
  
  .add-book__action-item.selected {
    background-color: var(--gray-95);
  }
  
  .add-book__action-item.extendable.selected {
    padding-bottom: 48px;
  }
  
  .add-book__action-item > input[type="radio"] {
    display: none;
  }
  
  .add-book__action-title {
    padding-top: 13px;
    padding-bottom: 15px;
    padding-left: 32px;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    font-family: var(--font-family);
    color: var(--blue-4);
    background-color: transparent;
    border: none;
  }
  
  .add-book__action-item.selected .add-book__action-title {
    position: relative;
    color: var(--main-dark);
  }
  
  .add-book__action-item.selected .add-book__action-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5px;
    width: 24px;
    height: 24px;
    background-image: url('/img/skins/mobile2019/SVGsprite9.svg');
    background-repeat: no-repeat;
    background-position: -296px -156px;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  
  .add-book__action-item.rating-in-popup {
    position: absolute;
    left: 0;
    border: none;
  }
  
  .add-book__action-item.rating-in-popup .add-book__action-title {
    -ms-transform: translateY(-2px);
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
  }
  
  .add-book__action-item.rating-in-popup label {
    width: 19px;
  }
  
  .add-book__action-item.rating-in-popup label:nth-of-type(2n)::before {
    left: 6px;
  }
  
  .add-book__action-item .add-book__rating {
    -ms-transform: translate(1px, -2px);
    -webkit-transform: translate(1px, -2px);
    transform: translate(1px, -2px);
  }
  
  .add-book__action-title_thin {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 400;
    color: var(--main-dark);
    white-space: nowrap;
    background-color: var(--white);
    border: none;
  }
  
  .add-book__action-item.rating-in-popup .add-book__action-title {
    background-color: transparent;
  }
  
  .add-book__read-order {
    display: none;
    margin-right: 16px;
    font-size: 14px;
    line-height: 16px;
    font-family: var(--font-family);
    color: var(--main-dark);
  }
  
  .add-book__action-item.selected .add-book__read-order {
    display: inline-block;
  }
  
  .add-book__read-order > input {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 74px;
    height: 27px;
    margin-left: 6px;
    padding: 5px 15px;
    font-family: var(--font-family);
    color: var(--gray-55);
    border: 1px solid var(--gray-84);
    border-radius: 14px;
  }
  
  .add-book__count {
    display: none;
    margin-left: auto;
    font-size: 14px;
    color: var(--main-dark);
  }
  
  .add-book__count input {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 46px;
    height: 27px;
    padding: 3px 15px 4px;
    font-size: 14px;
    line-height: 1;
    font-family: var(--font-family);
    color: var(--main-dark);
    border: 1px solid var(--gray-88);
    border-radius: 14px;
  }
  
  .add-book__count label {
    display: inline-block;
    margin-left: 4px;
  }
  
  .add-book__action-item.selected .add-book__count {
    display: block;
  }
  
  .add-book__date {
    position: relative;
    display: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: auto;
    height: 24px;
    margin-right: 10px;
    margin-left: 11px;
    padding-left: 28px;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    font-family: var(--font-family);
    color: var(--main-dark);
    background-color: transparent !important;
    border: none !important;
    -ms-transform: translateY(-1px);
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
  }
  
  .add-book__date::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 24px;
    height: 24px;
    background-image: url('/img/skins/mobile2019/SVGsprite9.svg');
    background-repeat: no-repeat;
    background-position: -364px 0;
  }
  
  .add-book__action-item.selected .add-book__date {
    display: block;
  }
  
  .add-book__column-empty {
    margin-top: 24px;
    padding-right: 16px;
    padding-left: 16px;
    font-size: 14px;
    line-height: normal;
    white-space: normal;
  }
  
  .add-book__option-item {
    position: relative;
    display: block;
    padding-right: 14px;
    padding-left: 0;
    font-weight: 300;
    font-size: 18px;
    line-height: 24px;
    font-family: var(--font-family);
    color: var(--gray-25);
    text-transform: uppercase;
    background-color: transparent;
    border: none;
  }
  
  .add-book__option-item::before,
  .add-book__option-item::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 7px;
    height: 1px;
    background-color: var(--gray-25);
    -ms-transform-origin: right center;
    -webkit-transform-origin: right center;
    transform-origin: right center;
  }
  
  .add-book__option-item::before {
    -ms-transform: translateY(-50%) rotate(45deg);
    -webkit-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
  }
  
  .add-book__option-item::after {
    -ms-transform: translateY(-50%) rotate(-45deg);
    -webkit-transform: translateY(-50%) rotate(-45deg);
    transform: translateY(-50%) rotate(-45deg);
  }
  
  .add-book__option-item:not(:first-child) {
    margin-top: 14px;
  }
  
  .add-book__additionally-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex: auto;
    flex: auto;
    justify-content: space-between;
    align-items: flex-end;
    padding: 20px 27px 50px;
    -webkit-box-flex: 1;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-box-align: end;
    -ms-flex-align: end;
  }
  
  .add-book__additionally-item {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 90px;
    height: 81px;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    font-family: var(--font-family);
    text-align: center;
    color: var(--gray-25);
    text-transform: uppercase;
    text-decoration: none;
    background-color: transparent;
    background-repeat: no-repeat;
    border: none;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-box-align: end;
    -ms-flex-align: end;
  }
  
  .add-book__additionally-item:visited {
    color: var(--gray-40);
  }
  
  .add-book__additionally-item:nth-child(1)::before,
  .add-book__additionally-item:nth-child(2)::before,
  .add-book__additionally-item:nth-child(3)::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 40px;
    height: 40px;
    background-image: url('/img/skins/mobile2019/SVGsprite9.svg');
    background-repeat: no-repeat;
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  
  .add-book__additionally-item:nth-child(1)::before {
    background-position: -378px -244px;
  }
  
  .add-book__additionally-item:nth-child(1).active::before {
    display: none;
  }
  
  .add-book__additionally-item:nth-child(2)::before {
    background-position: -42px -244px;
  }
  
  .add-book__additionally-item:nth-child(3)::before {
    background-position: -126px -244px;
  }
  
  .add-book__save-button {
    width: calc(100% - 16px * 2);
    height: 48px;
    margin-right: 16px;
    margin-left: 16px;
    font-weight: 600;
    font-size: 18px;
    line-height: 20px;
    font-family: var(--font-family);
    color: var(--white);
    background-color: var(--blue-4);
    border: none;
    border-radius: 24px;
  }
  
  .add-book__save-button_outline {
    margin-bottom: 16px;
    font-weight: 400;
    color: var(--gray-40);
    background-color: var(--white);
    border: 1px solid var(--gray-55);
  }
  
  .add-book__footer {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  
  .add-book__footer-buttons_horizontal {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-right: -8px;
    margin-left: -8px;
    padding-right: 16px;
    padding-left: 16px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
  }
  
  .add-book__footer-buttons_horizontal .add-book__save-button {
    -ms-flex: auto;
    flex: auto;
    width: 136px;
    margin: 0 8px;
    padding-bottom: 4px;
    -webkit-box-flex: 1;
  }
  
  .add-book__footer-small-padding {
    padding-top: 10px;
  }
  
  .add-book__modal-remove,
  .add-book__modal-save {
    position: absolute;
    top: 80px;
    right: 8px;
    left: 8px;
    z-index: 10;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 264px;
    padding: 24px;
    background-color: var(--white);
    border-radius: 20px;
    -webkit-box-shadow: var(--box-shadow);
    box-shadow: var(--box-shadow);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
  }
  
  .add-book__modal-remove p,
  .add-book__modal-save p {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex: auto;
    flex: auto;
    justify-content: center;
    align-items: center;
    padding: 0 22px 22px;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.2;
    font-family: var(--font-family);
    text-align: center;
    color: var(--main-dark);
    -webkit-box-flex: 1;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
  }
  
  .add-book__modal-remove div,
  .add-book__modal-save div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-right: -8px;
    margin-left: -8px;
  }
  
  .add-book__modal-remove button,
  .add-book__modal-save button {
    -ms-flex: auto;
    flex: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 120px;
    margin-right: 8px;
    margin-left: 8px;
    padding: 5px 16px 9px;
    font-size: 16px;
    line-height: 16px;
    font-family: var(--font-family);
    border-width: 1px;
    border-style: solid;
    border-radius: 16px;
    -webkit-box-flex: 1;
  }
  
  .add-book__modal-remove button:nth-of-type(1),
  .add-book__modal-save button:nth-of-type(1) {
    font-weight: 400;
    color: var(--gray-40);
    background-color: var(--white);
    border-color: var(--gray-55);
  }
  
  .add-book__modal-remove button:nth-of-type(2),
  .add-book__modal-save button:nth-of-type(2) {
    font-weight: 600;
    color: var(--white);
    background-color: var(--blue-2);
    border-color: var(--blue-2);
  }
  
  
  .add-book__rating {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    margin-right: 11px;
    margin-left: auto;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
  }
  
  .add-book__rating input {
    display: none;
  }
  
  .add-book__rating label {
    position: relative;
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 18px;
    height: 26px;
    cursor: pointer;
  }
  
  .add-book__rating label:nth-of-type(2n-1)::before,
  .add-book__rating label:nth-of-type(2n)::before {
    content: '';
    position: absolute;
    width: 26px;
    height: 26px;
    background-image: url('/img/skins/mobile2019/SVGsprite9.svg');
    background-repeat: no-repeat;
    background-position: -56px -182px;
  }
  
  .add-book__rating label:nth-of-type(2n-1)::before {
    left: -13px;
  }
  
  .add-book__rating input:checked ~ label:nth-of-type(2n-1)::before {
    background-position: 0 -182px;
  }
  
  .add-book__rating label:nth-of-type(2n) {
    overflow: hidden;
  }
  
  .add-book__rating label:nth-of-type(2n)::before {
    left: 5px;
    visibility: hidden;
  }
  
  .add-book__rating input:checked ~ label:nth-of-type(2n)::before {
    background-position: 0 -182px;
    visibility: visible;
  }
  
  .add-book__rating.five-point label:nth-of-type(2n) {
    overflow: visible;
  }
  
  .add-book__back {
    position: absolute;
    top: 12px;
    left: 8px;
    width: 24px;
    height: 24px;
    font-size: 0;
    background-color: transparent;
    border: none;
  }
  
  .add-book__back::before,
  .add-book__back::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 60%;
    width: 9px;
    height: 1px;
    background-color: var(--main-dark);
    -ms-transform-origin: left center;
    -webkit-transform-origin: left center;
    transform-origin: left center;
  }
  
  .add-book__back::before {
    -ms-transform: translate(-50%) rotate(45deg);
    -webkit-transform: translate(-50%) rotate(45deg);
    transform: translate(-50%) rotate(45deg);
  }
  
  .add-book__back::after {
    -ms-transform: translate(-50%) rotate(-45deg);
    -webkit-transform: translate(-50%) rotate(-45deg);
    transform: translate(-50%) rotate(-45deg);
  }
  
  .add-book__columns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex: auto;
    flex: auto;
    margin-bottom: 19px;
    border-bottom: 1px solid var(--gray-88);
    -webkit-box-flex: 1;
  }
  
  .add-book__column {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  
    -ms-flex-direction: column;
  
    flex-direction: column;
  
    -webkit-box-sizing: border-box;
  
    box-sizing: border-box;
    width: 50%;
    min-height: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
  }
  
  .add-book__column:not(:last-child) {
    border-right: 1px solid var(--gray-88);
  }
  
  .add-book__column-header {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 12px 0 15px;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    color: var(--main-dark);
    border-bottom: 1px solid var(--gray-88);
  }
  
  .add-book__column-search {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex: none;
    flex: none;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 16px 14px 10px 9px;
    -webkit-box-flex: 0;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-box-align: center;
    -ms-flex-align: center;
  }
  
  .add-book__column-search + .add-book__column-body > .add-book__column-list > .add-book__column-item:first-child {
    margin-top: 10px;
  }
  
  .add-book__column-search.hidden + .add-book__column-body_shelve > .add-book__column-list > .add-book__column-item:first-child {
    margin-top: 20px;
  }
  
  .add-book__column-search + .add-book__column-body_shelve > .add-book__column-list > .add-book__column-item:first-child {
    margin-top: 10px;
  }
  
  .add-book__selections-search {
    position: relative;
    -ms-flex: auto;
    flex: auto;
    width: calc(100% - 32px);
    -webkit-box-flex: 1;
  }
  
  .add-book__selections-search::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 8px;
    width: 24px;
    height: 24px;
    background-image: url('/img/skins/mobile2019/SVGsprite9.svg');
    background-repeat: no-repeat;
    background-position: -234px 0;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  
  .add-book__selections-search input {
    display: block;
    -ms-flex: auto;
    flex: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    height: auto !important;
    padding: 5px 10px 7px 39px;
    overflow: hidden;
    font-size: 14px;
    line-height: 16px !important;
    font-family: var(--font-family);
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    background-color: var(--gray-95) !important;
    border: 1px solid var(--gray-95) !important;
    border-radius: 16px;
    -webkit-box-flex: 1;
  }
  
  .add-book__selections-checkbox {
    display: none;
  }
  
  .add-book__selections-checkbox:checked ~ .add-book__column-search .add-book__selections-filter-button {
    background-position: -356px -52px;
  }
  
  .add-book__selections-filter-button {
    display: block;
    -ms-flex: none;
    flex: none;
    width: 24px;
    height: 24px;
    margin-left: 8px;
    font-size: 0;
    background-color: transparent;
    background-image: url('/img/skins/mobile2019/SVGsprite9.svg');
    background-repeat: no-repeat;
    background-position: -338px 0;
    border: none;
    -webkit-box-flex: 0;
  }
  
  .add-book__selections-filter {
    display: none;
    -ms-flex: auto;
    flex: auto;
    width: 100%;
    padding-top: 16px;
    -webkit-box-flex: 1;
  }
  
  .add-book__selections-filter .add-book__select summary {
    padding-right: 30px;
    overflow: hidden;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
  }
  
  .add-book__selections-filter .add-book__select span {
    overflow: auto;
  }
  
  .add-book__selections-checkbox:checked ~ .add-book__column-search .add-book__selections-filter {
    display: block;
  }
  
  .add-book__selections-filter .add-book__select:not(:first-child) {
    margin-top: 16px;
  }
  
  .add-book__shelve-search {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    height: 32px !important;
    padding-left: 40px !important;
    overflow: hidden;
    font-size: 14px !important;
    line-height: 16px !important;
    font-family: var(--font-family) !important;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    background-color: var(--gray-95) !important;
    border: 1px solid var(--gray-95) !important;
    border-radius: 16px !important;
  }
  
  .add-book__column-body {
    -ms-flex: auto;
    flex: auto;
    width: 100%;
    height: calc(100vh - (96px + 48px + 56px + 19px + 124px));
    overflow: auto;
    -webkit-box-flex: 1;
  }
  
  .add-book__column-search:not(.hidden) + .add-book__column-body_shelve,
  .add-book__column-body_selections {
    height: calc(100vh - (96px + 48px + 58px + 56px + 19px + 124px));
  }
  
  .add-book__selections-checkbox:checked ~ .add-book__column-body_selections {
    height: calc(100vh - (96px + 48px + 202px + 56px + 19px + 124px));
  }
  
  .add-book__column-search_shelve::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 8px;
    width: 24px;
    height: 24px;
    background-image: url(/img/skins/mobile2019/SVGsprite9.svg);
    background-repeat: no-repeat;
    background-position: -234px 0;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  
  .add-book__column-footer {
    position: relative;
    background-color: var(--white);
  }
  
  .add-book__column-add {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 13px 16px;
    background-color: var(--white);
  }
  
  .add-book__column-clear {
    position: absolute;
    top: 17px;
    right: 25px;
    display: block;
    width: 24px;
    height: 24px;
    font-size: 0;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.5 10.793L8.964 7.257l-.707.707 3.536 3.536-3.536 3.536.707.707 3.536-3.536 3.535 3.536.708-.707-3.536-3.536 3.536-3.536-.707-.707-3.536 3.536z' fill='%23252626'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    border: none;
  }
  
  .add-book__column-add input {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    height: 32px;
    padding-right: 30px;
    padding-left: 16px;
    font-weight: 400;
    font-size: 14px;
    font-family: var(--font-family);
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    border: 1px solid #d1d4d6;
    border-radius: 16px;
  }
  
  .add-book__column-add-button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 32px;
    margin-top: 8px;
    font-weight: 600;
    font-size: 16px;
    line-height: 16px;
    font-family: var(--font-family);
    color: var(--white);
    background-color: var(--blue-2);
    border: 1px solid var(--blue-2);
    border-radius: 16px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
  }
  
  .add-book__column-create {
    width: 100%;
    overflow: hidden;
  }
  
  .add-book__column-create button {
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    height: 56px;
    padding: 0 4px 2px 48px;
    overflow: hidden;
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    font-family: var(--font-family);
    text-align: left;
    color: #898b8c;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    background-color: transparent;
    border: none;
  }
  
  .add-book__column-create button::before,
  .add-book__column-create button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 19px;
    width: 16px;
    height: 2px;
    background-color: var(--main-dark);
    border-radius: 1px;
  }
  
  .add-book__column-create button::before {
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  
  .add-book__column-create button::after {
    -ms-transform: translateY(-50%) rotate(90deg);
    -webkit-transform: translateY(-50%) rotate(90deg);
    transform: translateY(-50%) rotate(90deg);
  }
  
  .add-book__column-list {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
  }
  
  .add-book__column-item {
    width: 100%;
    height: 24px;
    margin-top: 24px;
    overflow: hidden;
  }
  
  .add-book__column-item:first-child {
    margin-top: 20px;
  }
  
  .add-book__column-item:last-child {
    margin-bottom: 20px;
  }
  
  .add-book__column-item input {
    display: none;
  }
  
  .add-book__column-item label {
    position: relative;
    display: inline-block;
    -ms-flex: none;
    flex: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    min-height: 100%;
    padding: 0 8px 0 48px;
    overflow: hidden;
    font-size: 14px;
    line-height: 24px;
    font-family: var(--font-family);
    color: var(--gray-55);
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    -webkit-box-flex: 0;
  }
  
  .add-book__column-item label::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 16px;
    width: 24px;
    height: 24px;
    background-image: url('/img/skins/mobile2019/SVGsprite9.svg');
    background-repeat: no-repeat;
    background-position: -166px -156px;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  
  .add-book__column-item input[type="checkbox"]:checked + label::before {
    background-position: -192px -156px;
  }
  
  .add-book__other-actions-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
  }
  
  .add-book__other-actions-item {
    padding: 10px 16px 13px 32px;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    font-family: var(--font-family);
    text-align: left;
    color: var(--blue-4);
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--gray-88);
  }
  
  .add-book__other-additionally-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex: auto;
    flex: auto;
    justify-content: space-around;
    align-items: flex-end;
    padding: 38px 15px 50px 16px;
    -webkit-box-flex: 1;
    -ms-flex-pack: distribute;
    -webkit-box-align: end;
    -ms-flex-align: end;
  }
  
  .add-book__other-additionally-item {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: flex-end;
    width: 30%;
    height: 47px;
    padding-top: 40px;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    font-family: var(--font-family);
    text-align: center;
    color: var(--gray-25);
    text-transform: uppercase;
    text-decoration: none;
    background-color: transparent;
    background-repeat: no-repeat;
    border: none;
    -webkit-box-align: end;
    -ms-flex-align: end;
  }
  
  .add-book__other-additionally-item::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 50%;
    display: block;
    width: 40px;
    height: 40px;
    background-image: url('/img/skins/mobile2019/SVGsprite9.svg');
    background-repeat: no-repeat;
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  
  .add-book__other-additionally-item_history::before {
    background-position: -336px -244px;
  }
  
  .add-book__other-additionally-item_lifehack::before {
    background-position: -168px -244px;
  }
  
  .add-book__other-additionally-item_favorite::before {
    background-position: -84px -244px;
  }
  
  .add-book__other-additionally-item_favorite.active::before {
    background-position: -294px -244px;
  }
  
  .add-book__tags {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 24px 24px 24px 32px;
  }
  
  .add-book__tag-title {
    margin-top: 0;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: var(--main-dark);
  }
  
  .add-book__tag-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -4px;
    margin-left: -4px;
  }
  
  .add-book__tag-item {
    position: relative;
    -ms-flex: initial;
    flex: initial;
    margin: 8px 4px;
    padding: 4px 10px 6px;
    font-weight: 400;
    font-size: 14px;
    white-space: nowrap;
    background-color: var(--gray-95);
    border-radius: 14px;
    -webkit-box-flex: initial;
  }
  
  .add-book__tag-list_with-remove .add-book__tag-item {
    margin-right: 24px;
    border-radius: 14px 0 0 14px;
  }
  
  .add-book__tag-wrapper:nth-child(2) {
    margin-top: 33px;
  }
  
  .add-book__tag-wrapper:nth-child(3) {
    margin-top: 27px;
    padding-right: 8px;
  }
  
  .add-book__tag-remove {
    position: absolute;
    top: 50%;
    left: calc(100% - 8px);
    width: 28px;
    height: 28px;
    font-size: 0;
    background-color: var(--gray-95);
    border: none;
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  
  .add-book__tag-remove::before,
  .add-book__tag-remove::after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(50% - 2px);
    width: 11px;
    height: 1px;
    background-color: var(--main-dark);
  
  }
  
  .add-book__tag-remove::before {
    -ms-transform: translate(-50%) rotate(45deg);
    -webkit-transform: translate(-50%) rotate(45deg);
    transform: translate(-50%) rotate(45deg);
  }
  
  .add-book__tag-remove::after {
    -ms-transform: translate(-50%) rotate(-45deg);
    -webkit-transform: translate(-50%) rotate(-45deg);
    transform: translate(-50%) rotate(-45deg);
  }
  
  .add-book__tag-input {
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    height: 32px !important;
    margin-bottom: 8px;
    padding-right: 15px;
    padding-left: 15px;
    font-family: var(--font-family);
    color: var(--main-dark);
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    border: 1px solid var(--gray-84);
    border-radius: 16px;
  }
  
  .add-book__tag-options {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -17px;
    margin-left: -17px;
  }
  
  .add-book__tag-option {
    position: relative;
    -ms-flex: initial;
    flex: initial;
    margin: 8px 17px;
    padding-left: 32px;
    font-size: 14px;
    line-height: 24px;
    font-family: var(--font-family);
    color: var(--gray-55);
    -webkit-box-flex: initial;
  }
  
  .add-book__tag-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    background-image: url('/img/skins/mobile2019/SVGsprite9.svg');
    background-repeat: no-repeat;
    background-position: -166px -156px;
  }
  
  .add-book__note {
    -ms-flex: auto;
    flex: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 100%;
    margin: 24px 16px 0;
    padding: 4px 8px;
    font-size: 16px;
    line-height: 20px;
    font-family: var(--font-family);
    color: var(--main-dark);
    border: 1px solid var(--gray-84);
    border-radius: 6px;
    resize: none;
    -webkit-box-flex: 1;
  }
  
  .add-book__type {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex: auto;
    flex: auto;
    justify-content: center;
    align-items: center;
    -webkit-box-flex: 1;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
  }
  
  .add-book__type-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    justify-content: space-between;
    width: 118px;
    height: 168px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
  }
  
  .add-book__type-inner input {
    display: none;
  }
  
  .add-book__type-inner label {
    position: relative;
    padding-left: 32px;
    font-size: 14px;
    line-height: 26px;
    font-family: var(--font-family);
    color: var(--main-dark);
    background-repeat: no-repeat;
  }
  
  .add-book__type-inner label::before {
    content: '';
    position: absolute;
    top: calc(50% + 1px);
    left: 0;
    width: 24px;
    height: 24px;
    background-image: url('/img/skins/mobile2019/SVGsprite9.svg');
    background-repeat: no-repeat;
    background-position: -166px -156px;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  
  .add-book__type-inner input:checked + label::before {
    background-position: -192px -156px;
  }
  
  .add-book__bookswap-columns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex: none;
    flex: none;
    padding-top: 16px;
    padding-right: 8px;
    padding-left: 8px;
    -webkit-box-flex: 0;
  }
  
  .add-book__bookswap-column {
    -ms-flex: auto;
    flex: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 50%;
    padding-right: 8px;
    padding-left: 8px;
    -webkit-box-flex: 1;
  }
  
  .add-book__bookswap-title {
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: var(--main-dark);
    white-space: nowrap;
  }
  
  .add-book__bookswap-title + .add-book__select {
    margin-bottom: 16px;
  }
  
  .add-book__select {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 32px;
  }
  
  .add-book__select-overlay .overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: flex-end;
    margin-top: 0;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-box-align: end;
    -ms-flex-align: end;
  }
  
  .add-book__select-overlay .popup {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 60.1%;
    margin: 0;
    overflow: auto;
    background-color: var(--white);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
  }
  
  .add-book__select-overlay .popup-title {
    position: fixed;
    display: block;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 24px;
    font-weight: 600;
    font-size: 26px;
    line-height: 32px;
    text-align: center;
    color: var(--main-dark);
    background-color: var(--white);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
  }
  
  .popup-list {
    display: block;
    margin-top: 96px;
    overflow: auto;
  }
  
  .popup-list input:checked + .popup-label {
    font-weight: 600;
    background-color: var(--gray-95);
  }
  
  .popup-label {
    display: block;
    font-size: 16px;
    line-height: 40px;
    font-family: var(--font-family);
    text-align: center;
    color: var(--main-dark);
    border-bottom: 1px solid var(--gray-88);
  }
  
  .add-book__select details {
    width: 100%;
    border-radius: 20px;
  }
  
  .add-book__select summary {
    position: relative;
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    height: 32px;
    padding: 6px 32px 8px 16px;
    overflow: hidden;
    font: 14px/16px "Source Sans Pro", sans-serif;
    color: #252626;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    background: #fff;
    border: 1px solid #D2D4D6;
    border-radius: 24px;
  }
  
  .add-book__select summary::-webkit-details-marker {
    display: none;
  }
  
  .add-book__select summary::after {
    content: '';
    position: absolute;
    top: 9px;
    right: 15px;
    width: 7px;
    height: 7px;
    border-top: 1px solid #252626;
    border-left: 1px solid #252626;
    -ms-transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
  }
  
  .add-book__select details[open] summary::after {
    top: 17px;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  
  .add-book__select details[open] summary {
    z-index: 100;
    border: none;
    border-radius: 20px 20px 0 0;
  }
  
  .add-book__select details[open] > div {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1010;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 0;
    padding-top: 72px;
    background-color: var(--white);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
  }
  
  .add-book__select > div {
    position: absolute;
    right: 0;
    left: 0;
    z-index: 99;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border-top: 1px solid #D2D4D6;
    border-radius: 0;
    -webkit-box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.25);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.25);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
  }
  
  .add-book__select div .close-modal {
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 10000;
    width: 24px;
    height: 24px;
    font-size: 0;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.94 12l6.248-6.247-.94-.94L12 11.06 5.753 4.812l-.94.94L11.06 12l-6.248 6.247.941.94L12 12.94l6.247 6.248.941-.94L12.941 12z' fill='%23252626'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 0 0;
    border: none;
  }
  
  .add-book__select-checkbox div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 70px !important;
    padding-bottom: 8px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-box-align: start;
    -ms-flex-align: start;
  }
  
  .add-book__select-checkbox label {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    align-items: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding-right: 32px;
    padding-left: 32px;
    font: 16px/24px "Source Sans Pro", sans-serif;
    line-height: 40px;
    color: #252626;
    -ms-flex-align: center;
    -webkit-box-align: center;
  }
  
  .add-book__select-checkbox label:first-of-type {
    margin-top: auto;
  }
  
  .add-book__select-checkbox label:last-of-type {
    margin-bottom: auto;
  }
  
  .add-book__select-checkbox input[type="checkbox"],
  .add-book__select-checkbox input[type="radio"] {
    display: none;
  }
  
  .add-book__select-checkbox input[type="checkbox"]:checked + label,
  .add-book__select-checkbox input[type="radio"]:checked + label {
    font-weight: 600;
    background-color: var(--gray-95);
  }
  
  
  .add-book__select-search div {
    position: relative;
    padding-top: 23px;
    padding-bottom: 3px;
    overflow: auto;
  }
  
  
  .add-book__select a {
    padding: 10px 32px;
    font: 16px/20px "Source Sans Pro", sans-serif;
    color: #252626;
    text-decoration: none;
  }
  
  .add-book__select-search .search-input {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    padding: 7px 20px;
    font: 16px/24px "Source Sans Pro", sans-serif;
    color: var(--main-dark);
    border: 1px solid var(--gray-84);
    border-radius: 24px;
  }
  
  .add-book__select-search .search-input::-webkit-input-placeholder {
    color: var(--gray-55);
  }
  
  .add-book__select-search .search-input::-moz-placeholder {
    color: var(--gray-55);
  }
  
  .add-book__select-search .search-input:-ms-input-placeholder {
    color: var(--gray-55);
  }
  
  .add-book__select-search .search-input::-ms-input-placeholder {
    color: var(--gray-55);
  }
  
  .add-book__select-search .search-input::placeholder {
    color: var(--gray-55);
  }
  
  .add-book__select-search .search-wrapper {
    position: relative;
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: auto;
    margin-bottom: 22px;
    padding-right: 16px;
    padding-left: 16px;
  }
  
  .add-book__select-search .search-close {
    position: absolute;
    top: 50%;
    right: calc(16px + 10px);
    width: 24px;
    height: 24px;
    font-size: 0;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.5 10.793L8.964 7.257l-.707.707 3.536 3.536-3.536 3.536.707.707 3.536-3.536 3.536 3.536.707-.707-3.536-3.536 3.536-3.536-.707-.707-3.536 3.536z' fill='%23252626'/%3E%3C/svg%3E");
    border: none;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  
  .add-book__select-search a.active {
    font-weight: 600;
    background-color: var(--gray-95);
  }
  
  .add-book__select-save {
    z-index: 10000;
    width: calc(100% - 16px * 2);
    height: 48px;
    margin: 16px;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    font-family: "Source Sans Pro", Arial, sans-serif;
    color: var(--white);
    background-color: var(--blue-2);
    border: 1px solid var(--blue-2);
    border-radius: 24px;
  }
  
  .add-book__checkbox input {
    display: none;
  }
  
  .add-book__checkbox label {
    position: relative;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding-left: 32px;
    font-size: 14px;
    font-family: var(--font-family);
    color: #898a8b;
    -webkit-box-align: center;
    -ms-flex-align: center;
  }
  
  .add-book__checkbox label::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 24px;
    height: 24px;
    background-image: url('/img/skins/mobile2019/SVGsprite9.svg');
    background-repeat: no-repeat;
    background-position: -166px -156px;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  
  .add-book__checkbox input:checked + label {
    color: var(--main-dark);
  }
  
  .add-book__checkbox input:checked + label::before {
    background-position: -192px -156px;
  }
  
  .add-book__comment {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex: none;
    flex: none;
    justify-content: flex-end;
    width: calc(100% - 16px * 2);
    min-height: 32px;
    margin: 16px;
    -webkit-box-flex: 0;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
  }
  
  .add-book__background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border: 1px solid #d2d4d6;
    border-radius: 16px;
    pointer-events: none;
  }
  
  .add-book__comment-textarea {
    display: none;
    visibility: hidden;
  }
  
  .add-book__comment-content {
    position: relative;
    display: block;
    -ms-flex: auto;
    flex: auto;
    padding: 7px 16px;
    overflow: auto;
    font-size: 14px;
    line-height: 16px;
    -webkit-box-flex: 1;
  }
  
  .add-book__comment-content::before {
    content: "";
    top: 0;
    left: 0;
    color: var(--gray-55);
  }
  
  .add-book__comment-content:empty::before {
    content: attr(data-placeholder);
  }
  
  
  /*.add-book__bookswap-input {
    flex: none;
    box-sizing: border-box;
    width: auto;
    height: 32px;
    margin: 16px;
    padding-right: 16px;
    padding-left: 16px;
    font-size: 14px;
    font-family: var(--font-family);
    color: var(--main-dark);
    text-overflow: ellipsis;
    border: 1px solid #d1d4d6;
    border-radius: 16px;
  }*/
  
  /*.add-book__bookswap-input::-webkit-input-placeholder {
    color: #898a8b;
  }
  
  .add-book__bookswap-input::-moz-placeholder {
    color: #898a8b;
  }
  
  .add-book__bookswap-input:-ms-input-placeholder {
    color: #898a8b;
  }
  
  .add-book__bookswap-input::-ms-input-placeholder {
    color: #898a8b;
  }
  
  .add-book__bookswap-input::placeholder {
    color: #898a8b;
  }*/
  
  .add-book__bookswap-list {
    margin: -4px 16px;
    padding-left: 0;
    list-style: none;
  }
  
  .add-book__bookswap-item {
    font-size: 12px;
    line-height: 16px;
    color: #898a8b;
  }
  
  .add-book__bookswap-item::before {
    content: '-';
  }
  
  .add-book__bookswap-descr {
    margin-top: -4px;
    margin-right: 16px;
    margin-left: 16px;
    font-size: 12px;
    line-height: 16px;
    color: #898a8b;
  }
  
  .add-book__publications-search {
    position: relative;
    margin: 24px 16px;
  }
  
  .add-book__publications-search::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 8px;
    width: 24px;
    height: 24px;
    background-image: url('/img/skins/mobile2019/SVGsprite9.svg');
    background-repeat: no-repeat;
    background-position: -234px 0;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  
  .add-book__publications-search input {
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    height: 32px !important;
    padding-right: 16px;
    padding-left: 40px;
    font-size: 14px;
    font-family: var(--font-family);
    color: var(--main-dark);
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    background-color: var(--gray-95) !important;
    border: 1px solid var(--gray-95) !important;
    border-radius: 16px;
  }
  
  .add-book__publications-wrapper {
    height: calc(100vh - (96px + 80px));
    overflow: auto;
  }
  
  .add-book__publications-list {
  }
  
  .add-book__publications-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 19px;
    padding-right: 16px;
    padding-left: 16px;
  }
  
  
  .add-book__publications-empty {
    padding-right: 16px;
    padding-left: 16px;
  }
  
  .add-book__publications-image {
    -ms-flex: none;
    flex: none;
    align-self: flex-start;
    width: 47px;
    margin-right: 16px;
    overflow: hidden;
    border-radius: 3px;
    -webkit-box-flex: 0;
    -ms-flex-item-align: start;
  }
  
  .add-book__publications-image img {
    display: block;
    width: 100%;
    height: auto;
  }
  
  .add-book__publications-button {
    -ms-flex: initial;
    flex: initial;
    padding-top: 4px;
    -webkit-box-flex: initial;
  }
  
  .add-book__publications-button input {
    display: none;
  }
  
  .add-book__publications-button label {
    position: relative;
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 78px;
    height: 28px;
    background-color: var(--blue-4);
    border: 1px solid var(--blue-4);
    border-radius: 14px;
  }
  
  .add-book__publications-button label::before {
    content: 'Выбрать';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--white);
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
  }
  
  .add-book__publications-button input:checked + label {
    background-color: var(--white);
    border-color: #388fe0;
  }
  
  .add-book__publications-button input:checked + label::before {
    content: 'Выбрано';
    font-weight: 400;
    color: #3b91e0;
  }
  
  .add-book__publications-text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex: auto;
    flex: auto;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-right: 16px;
    font-family: var(--font-family);
    -webkit-box-flex: 1;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
  }
  
  .add-book__publications-title {
    display: -webkit-box;
    margin: 0;
    margin-bottom: 0;
    overflow: hidden;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    font-family: var(--font-family);
    color: var(--main-dark);
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  
  .add-book__publications-author {
    margin-top: 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    font-family: var(--font-family);
    color: var(--main-dark);
  }
  
  .add-book__publications-isbn,
  .add-book__publications-info {
    margin: 0;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    font-family: var(--font-family);
    color: var(--main-dark);
  }
  
  .add-book__publications-info a,
  .add-book__publications-info a:visited {
    color: #3e99ed;
  }
  
  .add-book__inner {
    margin-top: auto;
    margin-bottom: auto;
  }
  
  .add-book__inner-columns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-right: 8px;
    padding-left: 8px;
  }
  
  .add-book__inner-columns .add-book__select-overlay {
    -ms-flex: initial;
    flex: initial;
    width: 100%;
    margin-right: 8px;
    margin-left: 8px;
    -webkit-box-flex: initial;
  }
  
  .add-book__button-option {
    display: block;
    -ms-flex: auto;
    flex: auto;
    padding-top: 0;
    font-weight: 600;
    font-size: 16px;
    font-family: var(--font-family);
    color: var(--blue-4);
    background-color: transparent;
    border: none;
    -webkit-box-flex: 1;
  }
  
  .add-book__datepicker .datepicker {
    height: auto;
    padding-top: 10px;
    padding-bottom: 0;
  }
  
  .add-book__datepicker .datepicker--nav {
    padding-top: 7px;
    padding-bottom: 0;
  }
  
  .add-book__datepicker .datepicker--days-names {
    margin-bottom: 7px;
  }
  
  .add-book__datepicker .datepicker--content {
    height: 246px;
    padding-top: 6px;
  }
  
  .add-book__datepicker .datepicker--nav-title {
    pointer-events: auto !important;
  }
  
  .add-book__datepicker .datepicker--months,
  .add-book__datepicker .datepicker--years {
    margin-top: -8px !important;
    margin-right: -8px !important;
    margin-left: -8px !important;
    padding-top: 23px;
  }
  
  .add-book__datepicker .datepicker--cell-month,
  .add-book__datepicker .datepicker--cell-year {
    width: 27.4%;
    height: 21.1%;
    margin: 8px;
    text-transform: lowercase;
  }
  
  .add-book__datepicker .datepicker--cell.-selected- {
    background-color: var(--blue-4);
  }
  
  .add-book__datepicker .datepicker--cell-day.-other-month-, .datepicker--cell-year.-other-decade- {
    background-color: #ffffff;
  }
  
  .add-book__datepicker .datepicker--cell {
    background-color: var(--gray-95);
  }
  
  .add-book__datepicker .datepicker--cell.-current- {
    background-color: var(--gray-55);
  }
  
  #add-book-bookswap .add-book__body {
    height: calc(100vh - 96px - 187px);
  }
  
  #add-book-notes .add-book__body {
    height: calc(100vh - 96px - 123px);
  }
  
  #add-book-date .add-book__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex: auto;
    flex: auto;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 0;
    margin-bottom: 0;
    -webkit-box-flex: 1;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
  }
  
  #add-book-date .add-book__body,
  #add-book-date-option .add-book__body {
    height: calc(100vh - 96px - 169px);
  }

  /* Стили ll */
  #ub-form2020-datepickercard .add-book__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex: auto;
    flex: auto;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 0;
    margin-bottom: 0;
    -webkit-box-flex: 1;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
  }

  #ub-form2020-bookswapcard .add-book__body {
    height: calc(100vh - 96px - 187px);
  }

  #ub-form2020-notescard .add-book__body {
    height: calc(100vh - 96px - 123px);
  }

  #ub-form2020-datepickercard .add-book__body,
  #ub-form2020-dateoptioncard .add-book__body {
    height: calc(100vh - 96px - 169px);
  }

  .add-book__bookswap-alert {
    background: #fefce0;
  }