

/* Start:/local/components/mendeleev/favorites.button/templates/.default/style.css?17852356296379*/
/** HOTFIXES */
.excursions-and-tours__tablet-buttons-favorites .favorite-button,
.excursions-and-tours__tablet-buttons-favorites .favorite-button .favorite-button__toggle {
    width: 100%;
    height: 100%;
}
.detail__wrapper .favorite-button__toggle {
    border: none !important;
}
/** END HOTFIXES */

.favorite-button__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    width: 40px;
    height: 40px;
    color: #FFFFFF;
    backdrop-filter: blur(5px);
    -webkit-border-radius: var(--border-radius-sm, 8px);
    -moz-border-radius: var(--border-radius-sm, 8px);
    border-radius: var(--border-radius-sm, 8px);
    cursor: pointer;
}
.favorite-button__toggle.active {
    color: #F24046;
}
.favorite-button__toggle.active * {
    fill: #F24046;
    color: #F24046;
}
.favorite-button__toggle:hover svg {
    opacity: 0.8;
}
.favorite-button__toggle:active svg {
    opacity: 0.7;
}
.favorite-button__toggle.text-mode,
.favorite-button__toggle.icon-mode {
    height: 48px;
    border: 1px solid var(--alpha-gray-200, rgba(31, 34, 56, 0.20));
    border-radius: var(--sm, 12px);
    color: var(--black, #1F2238);
    background: var(--white, #FFF);
    backdrop-filter: none;
}
.favorite-button__toggle.text-mode {
    padding: 11px 16px;
    width: max-content;
}
.favorite-button__toggle.icon-mode {
    padding: 11px;
    width: 48px;
}
.favorite-button__toggle.text-mode:hover,
.favorite-button__toggle.icon-mode:hover,
.favorite-button__toggle.text-mode.active:active,
.favorite-button__toggle.icon-mode.active:active {
    background: var(--gray-25, #F9F9FA);
}
.favorite-button__toggle.text-mode:active,
.favorite-button__toggle.icon-mode:active {
    background: var(--gray-50, #F6F6F7);
}
.favorite-button__toggle.text-mode.active,
.favorite-button__toggle.icon-mode.active {
    color: var(--error-500, #F24046);
}
.favorite-button__toggle.text-mode:hover svg,
.favorite-button__toggle.icon-mode:hover svg {
    opacity: 1;
}
.favorite-button__toggle.text-mode:active svg,
.favorite-button__toggle.icon-mode:active svg {
    opacity: 1;
}
.favorite-button__toggle.text-mode.active:active svg,
.favorite-button__toggle.icon-mode.active:active svg,
.favorite-button__toggle.text-mode.active:active:after {
    opacity: 0.7;
}

.favorite-button__toggle.text-mode:after {
    content: attr(title);
    padding-left: 12px;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    color: var(--black, #1F2238);
}
.favorite-button__toggle.active.text-mode:after {
    color: #F24046;
}

.favorite-popup {
    z-index: 999;
    position: fixed;
    display: flex;
    align-items: flex-end;
    cursor: default;
}
.favorite-popup,
.favorite-popup .favorite-popup__background {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.favorite-popup:not(.active) {
    display: none;
}
.favorite-popup .favorite-popup__background {
    position: absolute;
    background: var(--alpha-gray-600, #1F223899);
}
.favorite-popup .favorite-popup__container {
    position: relative;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    border-radius: 12px 12px 0 0;
    background: var(--white, #FFF);
    box-shadow: 0 8px 48px -8px rgba(31, 34, 56, 0.12);
}
.favorite-popup .favorite-popup__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.favorite-popup .favorite-popup__header--title {
    margin-top: 16px;
    color: var(--gray-900, #1F1B1D);
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px;
}
.favorite-popup .favorite-popup__header .favorite-popup--button {
    outline: none;
    border: none;
    color: var(--gray-500, #8F909B);
    background: transparent;
    cursor: pointer;
}
.favorite-popup .favorite-popup__body {}
.favorite-popup .favorite-popup__body .favorite-popup--description {
    margin-bottom: 16px;
    color: var(--gray-700, #626474);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}
.route-pop-up-add__route-meta{
    overflow: hidden;
    color: var(--gray-700, #626474);
    font-feature-settings: 'liga' off, 'clig' off;
    text-overflow: ellipsis;
    /* pc b/footnote 16-22-400 */
    font-family: "NunitoSans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 137.5% */
}
.favorite-popup .favorite-popup__body:not(.visible) {
    display: none;
}
.favorite-popup .favorite-popup__footer {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.favorite-popup .favorite-popup__footer .favorite-popup--button {
    padding: 12px 16px;
    width: 100%;
    border-radius: var(--sm, 12px);
    border: 1px solid var(--alpha-gray-200, #1F223833);
    background: transparent;
    text-align: center;
    color: var(--black, #1F2238);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    cursor: pointer;
}
.favorite-popup .favorite-popup__footer .favorite-popup--button[data-popup-action="confirm"] {
    background: var(--primary-500, #E86A4D);
    color: var(--white, #FFF);
}

@keyframes rotatePreload {
    0% {
        transform: rotate(0deg);
    }
    50% {
        color: #EC6A51;
    }
    100% {
        transform: rotate(360deg);
    }
}
.favorite-popup--preload {
    text-align: center;
}
.favorite-popup:not(.loading) .favorite-popup--preload {
    display: none;
}
.favorite-popup .favorite-popup--preload svg {
    color: #555;
}
.favorite-popup.loading .favorite-popup--preload svg {
    animation: rotatePreload 1600ms infinite;
}
@media (max-width: 1023px) {
    .favorite-button__toggle.text-mode {
        padding: 11px;
        max-width: 48px;
    }
    .favorite-button__toggle.text-mode:after {
        content: "";
        padding-left: 0;
    }
}
@media (min-width: 768px) {
    .favorite-popup {
        justify-content: center;
        align-items: center;
    }
    .favorite-popup .favorite-popup__container {
        width: 440px;
        border-radius: 12px;
    }
    .favorite-popup .favorite-popup__footer {
        flex-wrap: nowrap;
        gap: 8px;
    }
    .favorite-popup .route-pop-up-add__route {
        cursor: default;
    }
    .favorite-popup .route-pop-up-add__route:hover {
        box-shadow: none;
    }
}
/* End */


/* Start:/local/components/mendeleev/routes/templates/add/style.css?177936454410000*/
.route-pop-up_add-my-route {
    width: 40px;
    height: 40px;
    color: #FFFFFF;
    padding: 8px;
    backdrop-filter: blur(5px);
    -webkit-border-radius: var(--border-radius-sm, 8px);
    -moz-border-radius: var(--border-radius-sm, 8px);
    border-radius: var(--border-radius-sm, 8px);
    cursor: pointer;
}
.route-pop-up_add-my-route svg {
    vertical-align: unset;
}
.route-pop-up {
    display: none;
    z-index: 10000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.route-pop-up p + p {
    margin: 0;
}
.route-pop-up::before {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    content: "";
    background: var(--alpha-gray-600, rgba(31, 34, 56, 0.60));
}
/* region add */
.route-pop-up-add__container {
    z-index: 1;
    display: none;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: fit-content;
    flex-direction: column;
    padding: 16px;
    border-radius: 12px 12px 0 0;
    background: var(--white, #FFF) !important;
    box-shadow: 0 8px 48px -8px rgba(31, 34, 56, 0.12);
}
.route-pop-up-add__head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
}
.route-pop-up-add__head--title {
    color: var(--gray-900, #1F1B1D);
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px;
}
.route-pop-up-add__head--close {
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
}
.route-pop-up-add__place {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 40px;
}
.route-pop-up-add__place figure {
    width: 60px;
    height: 60px;
    margin: 0;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
}
.route-pop-up-add__place figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.route-pop-up-add__place__inner {
    z-index: 1;
    display: grid;
    gap: 4px;
    padding: 0;
    margin: 0;
}
.route-pop-up-add__place--category {
    color: var(--primary-500, #E86A4D);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.route-pop-up-add__place--title {
    color: var(--black, #1F2238);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.route-pop-up-add__routes {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
    max-height: 303px;
}
.route-pop-up-add__routes.scroll {
    margin: 0 0 0 -6px;
    padding: 3px 6px 3px 6px;
    overflow-y: scroll;
}
.route-pop-up-add__routes.scroll::-webkit-scrollbar {
    width: 4px;
    background-color: #FBFAF9;
}
.route-pop-up-add__routes.scroll::-webkit-scrollbar-thumb {
    background-color: #29222438;
    border-radius: 9em;
}
.route-pop-up-add__route {
    display: grid;
    gap: 8px;
    border-radius: 12px;
    border: 1px solid var(--alpha-gray-200, rgba(31, 34, 56, 0.20));
    padding: 16px;
    transition: .3s;
    cursor: pointer;
}
.route-pop-up-add__route.active {
    border: 1px solid var(--primary-500, #E86A4D);
}
.route-pop-up-add__route:hover {
    box-shadow: none;
}
.route-pop-up-add__route--title {
    color: var(--black, #1F2238);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
}
.route-pop-up-add__route--params {
    display: flex;
    gap: 16px;
    align-items: center;
}
.route-pop-up-add__route--params-count-day {
    color: var(--gray-700, #626474);
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}
.route-pop-up-add__route--params-count-place span {
    color: var(--gray-700, #626474);
    font-size: 15px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}
.route-pop-up-add__create {
    color: var(--black, #1F2238);
    font-family: var(--font-family-base);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    display: flex;
    height: 48px;
    width: 100%;
    padding: 0 16px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border-radius: 12px;
    border: 1px solid var(--alpha-gray-200, rgba(31, 34, 56, 0.20));
    background: transparent;
    cursor: pointer;
    margin-top: 24px;
}
.route-pop-up-add__create svg {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    color: var(--black, #1F2238);
}
.route-pop-up-add__add {
    display: flex;
    height: 48px;
    width: 100%;
    padding: 0 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    color: var(--white, #FFF);
    font-family: var(--font-family-base);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    border-radius: 12px;
    background: var(--primary-500, #E86A4D);
    border: none;
    cursor: pointer;
    margin-top: 40px;
}
.route-pop-up-add__add:hover {
    background: var(--primary-400, #ED8168);
    transition: .3s;
}
.route-pop-up-add__add.disabled {
    background: var(--gray-200, #D2D3D7);
    cursor: not-allowed;
}
/* endregion */
/* region create */
.route-pop-up-create__container {
    z-index: 1;
    display: none;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: fit-content;
    flex-direction: column;
    padding: 16px;
    border-radius: 12px 12px 0 0;
    background: var(--white, #FFF) !important;
    box-shadow: 0 8px 48px -8px rgba(31, 34, 56, 0.12);
}
.route-pop-up-create__head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
}
.route-pop-up-create__head--title {
    color: var(--gray-900, #1F1B1D);
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px;
}
.route-pop-up-create__head--close {
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
}
.route-pop-up-create__container label {
    display: block;
    margin: 0 0 40px;
    padding: 0;
    width: 100%;
}
.route-pop-up-create__container label input[type="text"] {
    width: 100%;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    display: flex;
    height: 48px;
    padding: 4px 12px 4px 16px;
    align-items: center;
    gap: 16px;
    align-self: stretch;
    border-radius: 12px;
    border: 2px solid var(--primary-500, #E86A4D);
    background: var(--white, #FFF);
}
.route-pop-up-create__container label input[type="text"]:hover {
    box-shadow: 0 0 0 3px rgba(245, 95, 60, 0.20);
}
.route-pop-up-create__container label input[type="text"]::placeholder {
    color: var(--gray-300, #BCBDC3);
}
.route-pop-up-create__controls {
    display: flex;
    flex-direction: column-reverse;
    gap: 8px;
}
.route-pop-up-create__cancel {
    color: var(--black, #1F2238);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    display: flex;
    height: 48px;
    width: 100%;
    padding: 0 16px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border-radius: 12px;
    border: 1px solid var(--alpha-gray-200, rgba(31, 34, 56, 0.20));
    background: transparent;
    cursor: pointer;
}
.route-pop-up-create__apply {
    display: flex;
    height: 48px;
    width: 100%;
    padding: 0 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    color: var(--white, #FFF);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    border-radius: 12px;
    background: var(--primary-500, #E86A4D);
    border: none;
    margin-top: auto;
    cursor: pointer;
}
.route-pop-up-create__apply:hover {
    background: var(--primary-400, #ED8168);
    transition: .3s;
}
.route-pop-up-create__apply.disabled {
    background: var(--gray-200, #D2D3D7);
    cursor: not-allowed;
}
/* endregion */
@media (min-width: 375px) {
}
@media (min-width: 576px) {
}
@media (min-width: 768px) {
    /* region add */
    .route-pop-up-add__container {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 440px;
        padding: 24px;
        border-radius: 12px;
    }

    .route-pop-up-add__head--title {
        font-size: 22px;
    }

    .route-pop-up-add__add {
        margin-bottom: 0;
    }

    .route-pop-up-add__route:hover {
        box-shadow: 0 0 0 3px rgba(245, 95, 60, 0.20);
    }

    /* endregion */
    /* region create */
    .route-pop-up-create__container {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 440px;
        padding: 24px;
        border-radius: 12px;
    }

    .route-pop-up-create__head {
        margin-bottom: 48px;
    }

    .route-pop-up-create__head--title {
        font-size: 22px;
    }

    .route-pop-up-create__container label {
        margin: 0 0 48px;
    }

    .route-pop-up-create__controls {
        display: flex;
        flex-direction: row;
        gap: 8px;
    }

    /* endregion */
}
@media (min-width: 1024px) {
}
@media (min-width: 1200px) {
    /* region add */
    .route-pop-up-add__head--title {
        font-size: 24px;
        line-height: 30px
    }

    .route-pop-up-add__route--title {
        font-size: 20px;
        line-height: 26px;
    }

    .route-pop-up-add__route--params-count-day {
        font-size: 16px;
        font-weight: 400;
    }

    .route-pop-up-add__route--params-count-place span {
        font-size: 16px !important;
        font-weight: 400;
    }

    /* endregion */
}
@media (min-width: 1600px) {
}
/* End */
/* /local/components/mendeleev/favorites.button/templates/.default/style.css?17852356296379 */
/* /local/components/mendeleev/routes/templates/add/style.css?177936454410000 */
