/*прочие стили для PWA*/
.app-install-offer.pwa-install-offer {
    display: none;
}

.site_app_promotion--show .app-install-offer.pwa-install-offer {
    display: block;
}

.popover-pwa-ios-instuctions.d-none {
    display: none;
}

.app-install-offer {
    position: fixed;
    top: 0;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    bottom: auto;
    background: #f9f9f9;
    padding: 0.3rem;
    z-index: 100000;
    height: 45px;
}

.app-install-offer-body {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-height: 100%;
}

.app-install-offer-close {
    width: 30px;
    height: 30px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    z-index: 3;
    opacity: 0.4;
}

.app-install-offer-close:hover {
    opacity: 1;
}

.app-install-offer-logo {
    height: 100%;
    display: block;
}

.app-install-offer-logo img {
    width: auto;
    height: 100%;
}

.app-install-offer-body .btn[data-site-app-install^="install"] {
    margin-left: auto;
    margin-right: 1rem;
}


.btn.d-none {
    display: none;
}

.first_run__body--lock {
    overflow: hidden;
}

.first_run__container {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #fff;
    z-index: 99999999;
}

.first_run__container.first_run__container--closed {
    display: none;
}

.first_run__item__image {
    max-width: 100%;
    max-height: 300px;
}

.first_run__item {
    width: 100%;
    height: 100%;
    position: relative;
    background: url('/local/pwa/static/banner_bg.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.first_run__item__description {
    font-weight: bold;
    width: 100%;
    margin-top: 3rem;
    text-align: center;
    font-size: 1.2rem;
}

.first_run__item__description--accent {
    color: #ea6846;
    display: block;
}

.first_run__item__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background: #fff;
    padding: 1rem;
    position: absolute;
    left: 2rem;
    right: 2rem;
    top: 3rem;
    bottom: 3rem;
    max-width: 400px;
    margin: auto;
}


.first_run__item__controls {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin-top: auto;
    gap: 10px;
}

.first_run__item__controls .main-mobile-btn.btn {
    width: 100%;
}

/*  модификация стандартных шаблонов для установки PWA  */

.site_app_promotion--show {
    margin-top: 45px;
}

.site_app_promotion--show #mobileheader, 
body.site_app_promotion--show .wrapper1.mfixed_Y > div#mobileheader.fixed {
    top: 45px;
}

/*  модификация стандартных шаблонов для PWA  */
.site_app_info[data-standalone-mode="1"] ~ .wrapper1 #mobileheader .mobile-header__top-wrapper {
    grid-template-columns: auto;
}

.site_app_info[data-standalone-mode="1"] ~ .wrapper1 #mobileheader .mobile-header__top-wrapper .logo-block {
    display: none;
}

.site_app_info[data-standalone-mode="1"] ~ .wrapper1 #mobileheader .mobile-header__top-wrapper .region-block {
    /* justify-self: end; */
    padding-left: 0;
}

.site_app_info[data-standalone-mode="1"] ~ .wrapper1 #mobileheader .mobile-header__top-wrapper .pull-right {
    display: none;
}

.site_app_info[data-standalone-mode="1"] ~ .wrapper1 #mobileheader.fixed .mobile-header__bottom-wrapper {
    grid-template-columns: auto;
}

.site_app_info[data-standalone-mode="1"] ~ .wrapper1 #mobileheader.fixed .mobile-header__bottom-wrapper .burger {
    display: none;
}

.site_app_info[data-standalone-mode="1"] ~ .wrapper1 #mobileheader.fixed .mobile-header__bottom-wrapper .search-container {
    margin-left: 0;
    width: 100%;
}


.site_app_info[data-standalone-mode="1"] ~ .wrapper1 #mobileheader .mobileheader-v1,
.site_app_info[data-standalone-mode="1"] ~ .wrapper1 #mobileheader .mobileheader-v3,
.site_app_info[data-standalone-mode="1"] ~ .wrapper1 #mobileheader .mobileheader-v4 {
    justify-content: flex-start;
    min-height: 50px;
}

.site_app_info[data-standalone-mode="1"] ~ .wrapper1 #mobileheader .mobile-header__left-wrapper {
    display: none;
}

.site_app_info[data-standalone-mode="1"] ~ .wrapper1 #mobileheader .mobile-header__right-wrapper {
    justify-content: flex-start;
    width: 100%;
    padding: 0 1rem;
}

.site_app_info[data-standalone-mode="1"] ~ .wrapper1 #mobileheader .mobile-header__right-wrapper .right-icons {
    margin-left: auto;
    column-gap: normal;
}

.site_app_info[data-standalone-mode="1"] ~ .wrapper1 #mobileheader .mobile-header__right-wrapper .wrap_phones {
    display: none;
}

.site_app_info[data-standalone-mode="1"] ~ .wrapper1 {
    margin-bottom: 2rem;
}

.site_app_info[data-standalone-mode="1"] ~ #footer {
    display: none;
}

.site_app_info[data-standalone-mode="1"] ~ .wrapper1 {
    padding-bottom: 50px;
}

#mobilemenu .app-install-offer-link {
    padding: 0.1rem;
    background: #fff;
    padding: 15px 15px 0 15px;
}

#mobilemenu .app-install-offer-link .app-install-offer-body .btn[data-site-app-install^="install"] {
    margin-right: 0;
    border-radius: 3rem;
}

.site_app_info[data-standalone-mode="1"] ~ jdiv {
    display: none !important;
}