* {
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}

body {
    position: relative;
    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
    -webkit-user-select: none;                  /* prevent copy paste, to allow, change 'none' to 'text' */
    background-color: #fff;
    font-family: 'Gilroy';
    font-size: 1.1rem;
    height: 100vh;
    margin: 0;
    padding: 0;
    /* Padding to avoid the "unsafe" areas behind notches in the screen */
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
    width: 100%;
}

a {
    border-bottom: 1px solid #1e90ff;
    color: #1e90ff;
}

h1 {
    text-align: center;
    font-size: 1.6rem;
    color: #4d4d4d;
    margin-bottom: 1rem;
}

.app-frame {
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease;
    justify-content: flex-start;
    height: 100vh;
    overflow: hidden;
}

#headerLine {
    height: 48px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 1050;
    box-shadow: 0 2px 20px 0 rgb(0 0 0 / 15%);
    background: #fff;
}
#headerLine .header-btn {
    width: 48px;
    height: 48px;
}
.header-logo {
    border-bottom: none;
    /*background-image: url(../i/logo_top.svg);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    text-decoration: none;*/
}
.header-logo img {
    height: 22px;
}
.place-main__toggle {
    z-index: 10;
    cursor: pointer;
    transition: background-color 0.3s ease;
    background-image: url(../i/icons/place.svg);
    background-position: 50% 50%;
    background-repeat: no-repeat;
}
.nav-main__toggle {
    z-index: 10;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 14px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.nav-main__toggle__line {
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: #4d4d4d;
    position: relative;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}
.nav-main__toggle__line + .nav-main__toggle__line {
    margin-top: 4px;
}
.nav-main__toggle_active .nav-main__toggle__line:first-child {
    transform: rotate(45deg);
    top: 7px;
}
.nav-main__toggle_active .nav-main__toggle__line:last-child {
    transform: rotate(-45deg);
    top: -7px;
}
.nav-main__toggle_active .nav-main__toggle__line:nth-child(2) {
    opacity: 0;
    transition: opacity 0s ease, background-color 0.3s ease;
}

.menu-place__block {
    display: none;
    position: fixed;
    top: 48px;
    left: 0;
    right: 0;
    bottom: 64px;
    background: rgba(255,255,255,0.92);
    z-index: 1025;
    overflow: hidden;
}
.place-main {
    display: none;
    height: 100%;
}
.place-main__wrapper {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.place-main__wrapper .form-group {
    position: relative;
}
.place-main__wrapper label {
    display: block;
    text-align: center;
}
.place-main__wrapper input[type=text] {
    text-align: center;
}
.clean-btn {
    position: absolute;
    bottom: 1px;
    right: 1px;
    display: block;
    width: 40px;
    height: 38px;
    background: #fff url(../i/icons/close.svg) no-repeat center;
    background-size: 20px;
    border-radius: 0.25rem;
    opacity: 0.8;
}

.nav-main {
    display: none;
    height: 100%;
}
.nav-main__wrapper {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.nav-item {
    margin-bottom: 16px;
}
.nav-link {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #4d4d4d;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 0.25rem;
    text-align: center;
}
.nav-link_active {
    border-color: #1e90ff;
}



.more-btn {
    background-image: url(../i/icons/more.svg);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    text-decoration: none;
}
.main-block {
    width: 100%;
    height: calc(100vh - 112px);
    margin: 48px 0 64px;
    overflow: auto;
}

.index-objects__section {
    padding: 16px 0;
}
.index-objects__item {
    display: block;
    min-height: 96px;
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 8px;
    color: inherit;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 2px rgb(0 0 0 / 8%), 0 2px 24px rgb(0 0 0 / 6%);
}
.index-objects__item:last-child {
    margin-bottom: 0;
}

#kdmap {
    width: 100%;
    height: calc(100vh - 112px);
    margin: 48px 0 64px;
    overflow: hidden;
}

#footerMenu {
    height: 64px;
    width: 100%;
    display: block;
    position: fixed;
    bottom: 0;
    z-index: 1050;
    box-shadow: 0 2px 20px 0 rgba(0,0,0,0.15);
    background: #fff;
}
#footerMenu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
#footerMenu ul li {
    width: 20%;
    height: 64px;
    float: left;
}

#footerMenu ul li a {
    display: block;
    background-position: center 8px;
    background-repeat: no-repeat;
    background-size: auto 32px;
    border-bottom: none;
    height: 64px;
    width: 100%;
    padding-top: 38px;
    text-align: center;
    color: #000;
    text-decoration: none;
    font-size: 12px;
    opacity: 0.5;
}
#footerMenu ul li a.active {
    color: #1e90ff;
    opacity: 1;
}

#footerMenu ul li:nth-child(1) a { background-image: url(../i/icons/home.svg) }
#footerMenu ul li:nth-child(1) a.active { background-image: url(../i/icons/home-active.svg); }

#footerMenu ul li:nth-child(2) a { background-image: url(../i/icons/list.svg) }
#footerMenu ul li:nth-child(2) a.active { background-image: url(../i/icons/list-active.svg); }

#footerMenu ul li:nth-child(3) a { background-image: url(../i/icons/map.svg) }
#footerMenu ul li:nth-child(3) a.active { background-image: url(../i/icons/map-active.svg); }

#footerMenu ul li:nth-child(4) a { background-image: url(../i/icons/favorites.svg) }
#footerMenu ul li:nth-child(4) a.active { background-image: url(../i/icons/favorites-active.svg); }

#footerMenu ul li:nth-child(5) a { background-image: url(../i/icons/filter.svg) }
#footerMenu ul li:nth-child(5) a.active { background-image: url(../i/icons/filter-active.svg); }

/*#footerMenu ul li:nth-child(4) a { background-image: url(../i/icons/settings.svg) }
#footerMenu ul li:nth-child(4) a.active { background-image: url(../i/icons/settigns-active.svg); }*/

/*.settings-block {
    position: fixed;
    left: 0;
    bottom: calc(100% - 50px);
    z-index: 100;
    width: 100%;
    height: calc(100% - 100px);
    transition: bottom 0.3s ease;
    background: rgba(0,0,0,0.7);
}
.settings-block.active {
    bottom: 50px;
}*/

.alert-info {
    display: flex!important;
    justify-content: center;
}
.alert-info span {
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    padding: 10px 15px;
    border-radius: 4px;
}