.warning {
    font-size: .8em;
    color: brown;
}

#search_box {
  position: relative;
  margin-right: .2rem;
}

#autocomplete {
    width: 100%;
    padding: .5rem 0;
    position: realtive;
    font-size: 16px;
    padding: .6rem .3rem;
    margin-bottom: 0;
    background-color: white;
    border: 1px solid black;
    border-radius: 3px;
}


#show_data {
  position: absolute;
  top: 10%;
  bottom: 10%;
  right: .5rem;
  border-radius: 3px;
  border: 1px solid #d7191c;
  background-color: #d7191c;
  color: white;
  font-weight: bolder;
}

.button_emoji {
    width: 38px;
    height: 38px;
    display: inline-block;
    vertical-align: bottom;
}

#mobile_nav_button span {
    border: 1px solid black;
    display: block;
    width: 24px;
    margin-top: .5em;
}
iframe {
    width: 100%;
    max-height: 400px;
    height: 20em;
}
#mobile_nav_button, #logo {
    display: inline-block;
}

#mobile_nav_button {
    margin-right: 1em;
}

#mobile_nav {
    top: 0;
    left: 0;
    position: fixed;
    z-index: 1002;
    width: 70vw;
    height: 100vh;
    display: none;
    background-color: white;
}

#mobile_nav ul li {
    display: block;
    margin-top: 2em;
    text-align: center;
}

#mobile_nav ul {
    margin: 0 auto;
}

nav {
    display: none;
}
.backdrop {
    display: none;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    position: fixed;
    width: 100vw;
    height: 100vh;
}

.open {
    display: block !important;
}

* {
    box-sizing: border-box;
    font-family: sans-serif;
}

#logo a span {
    display: none;
}

#logo a {
        text-decoration: none;
    color: black;
}
.big {
    display: none;
}
h1 {
    font-size: 1.2em;
}

nav ul {
    margin: 0;
    padding: 0;
}

nav li {
    list-style: none;
    display: inline;
    margin-left: .5em;
}

nav a {
    color: black;
}

h2 {
        font-size: 1.1em;
}




#results_list {
    position: absolute;
    background-color: white;
	width: calc(100% - 56px);
    border: 3px solid black;
    padding: 0 10px 0 0;
    overflow: scroll;
    max-height: 150px;
    margin-top: 0;
}
#results_list li {
    list-style: none;
    margin-left: 0;
    cursor: pointer;
    padding: 2px;
    font-size: 16px;
}

#results_list li:hover {
	background-color: #CECECE;
}
#results_list ul {
    margin: 0.2em auto 0.2em 0;
    padding-left: .3em;
}
.hidden {
	display: none;
}
#message {
	margin-bottom: 2em;
}

#mapid {
	height: 500px;
}

.button:hover {
    cursor: pointer;
}
.menu .button {
    width: 4.2em;
    height: 4.2em;
    font-size: 1.1em;
    border-radius: 50%
}

.menu {
    margin-bottom: 2em;
    text-align: center;
}

.buttonGroup {
    display: inline-block;
    margin: 0 1em;
}

.caption {
    display: none;
}

#uzhe_otkliuchili {
    border: 1px solid #2b83ba;
    background-color: #2b83ba;
    color: white;
}
#skoro_otkliuchat {
    border: 1px solid #fdae61;
    background-color: #fdae61;
    }
#dolzhny_vkliuchit {
    border: 1px solid #d7191c;
    background-color: #d7191c;
    color: white;
    }

/* Подвал  */
footer {
	margin-top: 1.5em;
    font-size: .8em;
}





@media (min-width: 790px) {
    #mobile_nav_button {
    display: none;
}
    h1 {
    font-size: 1.4em;
}
nav {
    display: block;
}
    .caption {
    display: inline-block;
}
    .button_emoji {
        display: none;
    }
    
/* Прежний код */
body {
    width: 85%;
    margin: 0 auto;
    font-family: sans-serif;
}
#logo a span {
    display: inline;
}
.big {
    display: block;
}
.mobile {
    display: block;
}
    h1 {
        margin-top: 0;
    }
h1 span {
    display: inline;
    vertical-align: super;
    color: white;
    font-size: .5em;
    background-color: #2a2f4f;
    padding: .2em .4em
}
h2 {
    font-size: 1.2em;
}
nav a:not(last-child) {
    margin-right: 1em;
}

header {
    margin-top: .3em;
}

header>a {
    text-decoration: none;
    color: black;
}

nav a, .text a {
    color: black;
}

nav {
    float: right;
    font-size: 1.1em;
}
header div, header nav {
    display: inline-block;
}

main, footer {
    margin: 0 0 0 1em;
}
header #vk {
    float: right;
    padding: 4px 6px;
    margin: 4px 6px;
}

#video div {
    display: inline;
    float: left;
}

#video div:nth-child(3) {
    float: right;
}

footer {
    clear: both;
}

/* Выпадающий список */

#search_box {
  position: relative;
  margin-right: .2rem;
}

#autocomplete {
    width: 100%;
    padding: .5rem 0;
    position: realtive;
    font-size: 1.2rem;
    padding: .6rem .3rem;
    margin-bottom: 0;
    background-color: white;
    border: 1px solid black;
    border-radius: 0;
}

#show_data {
  position: absolute;
  top: 10%;
  bottom: 10%;
  right: .5rem;
  border-radius: 0;
  border: 1px solid #d7191c;
  background-color: #d7191c;
  color: white;
  font-weight: bolder;
  border-radius: 0;  
}

#results_list {
    position: absolute;
    background-color: white;
	width: 40%;
    border: 3px solid black;
    padding: 0 10px 0 0;
    overflow: scroll;
    max-height: 150px;
    margin-top: 0;
}
#results_list li {
    list-style: none;
    margin-left: 0;
    cursor: pointer;
    padding: 2px;
    font-size: 16px;
}

#results_list li:hover {
	background-color: #CECECE;
}
#results_list ul {
    margin: 0.2em auto 0.2em 0;
    padding-left: .3em;
}
.hidden {
	display: none;
}
#message {
	margin-bottom: 2em;
}

#mapid {
	height: 500px;
}

/* Кнопки карты и тарифов */
.buttonGroup {
	text-align: center;
    display: inline-block;
    padding-right: .5em;
}
.buttonGroup input,
    .buttonGroup p {
        display: block;
        margin: .5em auto;
    }
    
.button:hover {
    cursor: pointer;
}
    
.menu {
    margin-bottom: 1em;
    text-align: left;

}
.menu .button {
    width: 5em;
    height: 3em;
    font-size: 1.1em;
    border-radius: 0;
}
#uzhe_otkliuchili {
    border: 1px solid #2b83ba;
    background-color: #2b83ba;
    color: white;
}
#skoro_otkliuchat {
    border: 1px solid #fdae61;
    background-color: #fdae61;
    }
#dolzhny_vkliuchit {
    border: 1px solid #d7191c;
    background-color: #d7191c;
    color: white;
    }
#zisterny {
    border: 1px solid #4292c6;
    background-color: #9ecae1;
    color: white;
}
#warning {
	margin-top: 2em;
}	

/* Подвал  */
footer {
	margin-top: 1.2em;
}
footer .cc_logo, footer .text {
	float: left;
}
footer .cc_logo {
	  padding-right: .5em;
}
}
