body,
html {
    width: 100%;
    position: relative;
    padding: 0;
    margin: 0;
    font-family: Arial;
}



div#map {

    width: 100%;
    padding: 10px;
}


#zoom_in {
    background-color: #f5f5f5;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 30px;
    display: inline-block;
    border-radius: 20px;
    cursor: pointer;
    border: 0;
}

#zoom_out {
    background-color: #f5f5f5;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 30px;
    display: inline-block;
    border-radius: 20px;
    margin-left: 10px;
    cursor: pointer;
    border: 0;
}



div#zoom {
    position: fixed;
}


div#zoom {
    z-index: 2;
}


div#zoom {
    bottom: 65px;
}

div#zoom img {
    width: 20px;
    height: 20px;
}

main {
    width: 100%;
    height: 100%;
    background-color: #fff;
    position: relative;
    transform-origin: left top;
    transform: scale(1.0);
}

div#zoom {
    right: 0;
}

div#header {
    position: relative;
    height: 60px;
    background-color: #fff;
    z-index: 1;
}

div#menu {
    position: fixed;
    top: 60px;
    left: 0;
    z-index: 10;
}



div#map_pic img.fon {
    max-width: 100%;
    max-height: 100%;
}

div#map {
    height: 100%;
}

div#map {
    padding-left: 250px;
}

main {
    height: calc(100vh - 60px);
    margin-top: 60px;
}

div#header {
    top: 0;
}

#menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

#menu li {
    display: inline-block;
    padding: 0 10px;
    line-height: 60px;
}

.one_ch_in {
    position: absolute;
    top: 0;
    left: 0;
}

div#map {
    overflow: hidden;
    padding-right: 10px;
    padding-bottom: 10px;
    height: calc(100vh - 70px);
    padding-top: 60px;
}

div#map_pic img.fon {
    max-width: none;
    max-height: none;
}

div#header {
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}

body {
    top: 0;
}

main {
    height: 100%;
    margin-top: 0;
}

div#map_pic {
    overflow: scroll;
    height: 100%;
    background-color: #fff;
}

div#menu {
    width: 250px;
    height: calc(100vh - 60px);
    overflow: auto;
    border-right: 1px solid #ccc;
}

div#add_new {
    padding: 10px;
    text-align: center;
}

.one_ch {
    display: inline-block;
    padding: 10px 6px;
    width: max-content;
}

h2 {
    margin: 0;
    margin-bottom: 20px;
}

.one_ch img {
    display: block;
}

img.ch_pic {
    cursor: pointer;
}

div#map_pic {
    position: relative;
}

div#delete {
    position: absolute;
    right: 10px;
    top: 10px;
    height: 40px;
    line-height: 40px;
    background-color: red;
    padding: 0 10px;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
}

div#cancel {
    position: absolute;
    right: 10px;
    top: 10px;
    height: 40px;
    line-height: 40px;
    background-color: black;
    padding: 0 10px;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    display: none;
}

.deletable {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

div#right_pan {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}

#hid {
    display: none;
}

div#menu {
    background-color: #fff;
}

button#save_to_send {
    position: absolute;
    right: 100px;
    top: 10px;
    height: 40px;
    line-height: 40px;
    border: 0;
    box-shadow: none;
    background-color: #999;
    color: #fff;
    padding: 0 10px;
    font-size: 16px;
}

div#map_pic_out {
    overflow: scroll;
    height: 100%;
    width: 100%;
}

div#map_pic img.fon {
    display: block;
    position: relative;
}

div#map {
    width: auto;
}

div#map_pic {
    height: max-content;
    width: max-content;
}

div#down {
    position: absolute;
    right: 210px;
    top: 10px;
    height: 40px;
    line-height: 40px;
    background-color: red;
    padding: 0 10px;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
}

#menu li a {
    color: #000;
}

div#header {
    z-index: 12;
}

button#save_to_send {
    cursor: pointer;
}

div#down_block {
    width: 1px;
    height: 1px;
    position: fixed;
    z-index: 0;
    left: 0;
    bottom: 0;
    overflow: visible;
}

main {
    z-index: 1;
}

div#down_block_in {
    overflow: scroll;
    height: max-content;
    width: max-content;
}

h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
}

button#startmn {
    width: 50%;
    height: 40px;
    background-color: #000;
    color: #fff;
    box-shadow: none;
    border: 0;
    border-radius: 4px;
}
#startm,#save_res,#restart,#startcom,#startus,#pochi{display: none;}
#startm,
#viewfile,#save_res,#restart,#startcom,#startus,#pochi {
    width: 100%;
    height: 40px;
    background-color: #000;
    color: #fff;
    box-shadow: none;
    border: 0;
    border-radius: 4px;
}

#viewfile,#save_res {
    background-color: #680000
}

.boldis {
    font-weight: bold;
}

.hidden {
    display: none;
}

.one_input input {
    height: 40px;
    line-height: 40px;
    margin: 0;
}

.delete_it {
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 25px;
    margin-top: 16px;
}

.one_stav {
    margin-bottom: 10px;
}

.one_input {
    margin-bottom: 10px;
}

div#st_out {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

div#st_out_out {
    position: relative;
}

div#st_close {
    position: absolute;
    right: 10px;
    top: 10px;
    line-height: 40px;
    height: 40px;
    background-color: #000;
    padding: 0 10px;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
}

#exceltable tr td:nth-child(5),
#exceltable tr th:nth-child(5),
#exceltable tr td:nth-child(6),
#exceltable tr th:nth-child(6) {
    text-align: right;
}

#exceltable tr td:nth-child(3),
#exceltable tr th:nth-child(3),
#exceltable tr td:nth-child(4),
#exceltable tr th:nth-child(4),
#exceltable tr td:nth-child(2),
#exceltable tr th:nth-child(2) {
    text-align: center;
}

div#st_out_out {
    background-color: #ddd;
}
#exceltable tr{border-bottom: 1px solid #aaa;}
#exceltable tr:hover{background-color: #b0ffb2}
#exceltable tr:hover td{background-color: #b0ffb2!important;}
#exceltable tr td:nth-child(2n+1){
    background-color: #ddd;
}

button#delall {
    width: 50%;
    height: 40px;
    background-color: #000;
    color: #fff;
    box-shadow: none;
    border: 0;
    border-radius: 4px;
}
table#exceltable {
    margin-bottom: 20px;
}
div#table_out {
    width: 100%;
    overflow: auto;
}
#exceltable tr.main_tra {
    border-top: 2px solid #000;
}
div#scr_st {
    position: absolute;
    right: 70px;
    top: 10px;
    line-height: 40px;
    height: 40px;
    background-color: #ff2828;
    padding: 0 10px;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
}
.btn, .btn-large {height: 40px;line-height: 40px;}

.file-field input[type=file] {
    height: 40px;
    margin: 0;
    line-height: 40px;
}

.file-field .btn, .file-field .btn-large {
    height: 40px;
    line-height: 40px;
    background-color: #680200;
}

.file-field.input-field {
    margin-top: 0;
}

div#scr_st {
    background-color: #680200;
}
#menu li a.activ {
    border-bottom: 4px solid #680200;
    display: block;
    height: 40px;
    color: #680200;
}
div#debug_mode {position: absolute;right: 180px;top: 10px;line-height: 40px;height: 40px;background-color: #000;padding: 0 10px;border-radius: 5px;color: #fff;cursor: pointer;}
div#undebug_mode {display: none;position: absolute;right: 180px;top: 10px;line-height: 40px;height: 40px;background-color: #000;padding: 0 10px;border-radius: 5px;color: #fff;cursor: pointer;}

div#scr_st {
    right: 150px;
}

div#debug_mode {
    right: 260px;
}

div#undebug_mode {
    right: 260px;
}
div#logo {
    display: inline-block;
    height: 30px;
    margin: 15px;
}

ul#menu {
    display: inline-block;
    vertical-align: top;
}

div#logo img {
    height: 100%;
}
#menu  li a {
    display: block;
}
#table_out_2{display: none;}
#menu  li a:hover {
    border-bottom: 4px solid #680200;
    display: block;
    height: 40px;
    color: #680200;
}

#menu li a {
    transition: 0.2s;
}
button#destroi {
    width: 100%;
    height: 40px;
    background-color: #000;
    color: #fff;
    box-shadow: none;
    border: 0;
    border-radius: 4px;
    display: none;
}
.red_td{background-color: #bf8c8b!important;}

ul#menu {
    position: fixed;
    top: 60px;
    width: 100%;
    left: 10px;
    background-color: #fff;
    max-width: 360px;
    box-shadow: 0 0 4px 4px #999;
    z-index: 1;
    display: none;
}

ul#menu li {
    width: 100%;
    line-height: 40px;
    height: 40px;
}

ul#menu li a {
    line-height: 40px;
    height: 40px;
}

div#logo {
    display: block;
    margin: 15px auto;
    text-align: center;
}

div#header {
    position: fixed;
    background-color: #fff;
}

div#main {
    padding-top: 60px;
}

div#menu_btn {
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 40px;
    cursor: pointer;
}
div#main h1 {
    font-size: 24px;
    line-height: 24px;
    margin: 20px 0;
    font-weight: bold;
}

table#main_list tbody tr:nth-child(2n) {
    background-color: #b7429138;
}

.container .row {
    margin-bottom: 0;
}

.logo {
    line-height: 60px;
}

div#header {
    height: 60px;
}
.logo img {
    height: 40px;
    margin: 10px 0;
}

input#search {
    border-radius: 4px;
    border: 1px solid #000;
    height: 38px;
    line-height: 38px;
    display: block;
    margin: 10px 0;
}
input#search {
    width: 100%;
}