HTML, BODY {margin: 0px; padding: 0px; font-family: Tahoma; font-size: 1em; height: 100%}
body {position: relative; min-width: 980px}

A IMG	{border: 0px}

A {color: #000}
A:link		{}
A:active	{color: red}
A:visited	{color: #000}
a:hover {color: #a00}

a.no-visit:visited {color: #aaa}

FORM LABEL {display: block; margin: 10px 0px 3px 0px}
FORM LABEL.first_label {margin-top: 0px}
LABEL.no-new-line {display: inline}

H1 {margin-top: 0px; margin-bottom: 30px}
H2 {margin-top: 0px}
P {margin: 0px; padding: 0px; padding-top: 10px}

.delete-btn {background: url(/i/adm_pics/delete.gif) no-repeat left center; background-size: auto 100%; padding-left: 25px;}

#content {
    margin-left: 300px;
    margin-top: 40px;
    margin-bottom: 20px
}

#work_menu {
    position: fixed;
    width: 250px;
    height: 100%;
    background-color: #eee;
    border-right: 1px solid #000;
    z-index: 999;
}

.pall {padding: 5px 10px}

#auth {
    background-color: #eee;
    color: #000;
    border-bottom: 1px solid #000;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 39px;
    z-index: 999;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
#logo {
    width: 250px;
    padding-left: 20px;
}

#logo img {
    max-height: 40px;
}

#search-panel {
    flex: 1;
    padding: .25rem .5rem .25rem 0;
}

#search-panel input {
    width: 100%;
    background-image: url(/i/search_sm.png);
    background-position: center right;
    background-repeat: no-repeat;
    background-size: auto 90%;
}

#header {background-color: #0d3349; position: absolute; left: 0px; top: 0px; width: 100%; height: 100px}
#footer { 
    clear: both;
    position: relative;
    z-index: 10;
    height: 180px;
    margin-top: -180px;
    background: #202a49;
}

.sprite > div {background-image: url(/i/spr.png); background-repeat: no-repeat; display: inline-table}
.sprite > div.payment_mail_method {background-position: -61px -577px; width: 300px; height: 36px}
.sprite > div.payment_phone_method {background-position: -60px -707px; width: 66px; height: 17px}


.triangle {
    border-color: transparent transparent #eee;
    border-style: dashed dashed solid;
    border-width: 0 10px 10px;
    height: 0;
    position: absolute;
    width: 0;
    z-index: 1;
    display: none
}


.tumbler {
    border-radius: 2px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: Verdana;
    font-size: 11px;
    height: 15px;
    margin-right: 10px;
    padding: 2px 25px;
    position: relative;
    text-align: center;
    width: 40px;
}

.tumbler.off {
    background-color: #f28365;
}

.tumbler.on {
    background-color: #6bc873;
}


.tumbler.off .on, .tumbler.on .off {
    display: none;
} 

.tumbler.off .tumbler_btn {
    left: 1px;
}

.tumbler.on .tumbler_btn {
    right: 1px;
}

.tumbler .tumbler_btn {
    background-color: #eee;
    border: 1px solid #999;
    border-radius: 2px;
    height: 15px;
    position: absolute;
    top: 1px;
    width: 15px;
}

.reference_item div {border-bottom: 1px solid #aaaaaa}
.frm_block {border: 1px solid #aaa; padding: 20px; display: inline-table; border-radius: 10px; margin-bottom: 10px}

.order_filter {width: 80%; height: 15px; font-size: 0.8em; border-radius: 5px}
select.order_filter {width: 75px; height: 25px}

#gmk_order_table_head > div:not(.clear) {
    float: left;
    text-align: center;
    background-color: #555;
    border-left: 1px solid #fff;
    color: #fff;
    font-size: .9em
}

.fixed_width { table-layout:fixed; width: 100%}
.fixed_width td, .fixed_width th { overflow: hidden; }
.table_container {height: 500px; position: relative}

#district_area, #street_micro_area {
    overflow-y: auto;
    max-height: 200px;
    width: 350px;
    background-color: #f5f5f5;
    padding: 10px
}

#district_area div span, #street_micro_area  div span{
    cursor: pointer;
    border-bottom: 1px dashed #000;

}

#district_area div span.active, #street_micro_area div span.active {
    background-color: #000;
    color: #fff;
    padding: 3px 5px;
    border: 0;
    border-radius: 5px
}

#district_area div span:hover, #street_micro_area div span:hover {
    color: #a00
}

#district_area div + div, #street_micro_area div + div {
    margin-top: 10px
}

.overlay {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    opacity: .6;
    z-index: 999;
    background: #fff url(/i/loading.gif) no-repeat center center
}

.loading_sm {
    background: url(/i/loading_sm.gif) no-repeat center left;
    padding-left: 30px
}

button {cursor: pointer}

.modal {
    position: fixed;
    left: 50%;
    top: 50%;
    display: none;
    z-index: 9999;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #000;
}

.modal .modal-close {
    position: absolute;
    right: 2px;
    top: 2px;
    font-size: 1.2em;
    cursor: pointer;
    font-weight: 700;
    color: #555;
}

.modal .modal-close:hover {
    opacity: .4;
}

.modal .modal-header {
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #999;
    font-size: 1.3em;
}

.modal .modal-body {
    margin-top: 20px;
    margin-bottom: 20px
}

.modal .modal-footer {
    border-top: 1px solid #999;
    padding-top: 10px;
    padding-bottom: 10px;
}

.add-equip span, .rempve-equip span {
    font-size: 1.1em;
    font-weigth: 700;
}

.add-equip span {
    color: #0a0;
}

.remove-equip span {
    color: #900;
}

input[type="checkbox"][readonly] {
  pointer-events: none;
}

input.input-disabled {
    background-color: #eee;
}

input.input-disabled.sm, input[type=text].sm {
    width: 155px;
}

.unactive, .unactive td, .unactive td a {
    color: #aaa !important;
}

#reference {
    border: 1px solid #aaa;
    padding: 1rem;
    display: none;
}

BUTTON.btn-attent {
    background:none;
    border: 1px solid #a00;
    color: #a00;
    font-weight: 700
    border-radius: 5px;
    padding: .25rem .5rem;
}

#yandex-map {
    width: 100%;
    height: 70vh;
    margin-top: .5rem;
    margin-bottom: .5rem;
}

.loading-map {
    display: none;
    text-align: center;
    margin-top: .5rem;
}

.show-reference-file {
    display: inline-block !important;
}

.show-reference-file a {
    width: 100%;
    height: 30px;
    display: block;
}

.orders-for-map div:before {
    content: "! ";
    color: #a00;
    font-weight: 700;
}

.orders-for-map div:first-child {
    margin-top: 20px;
}

.orders-for-map div:last-child {
    margin-bottom: 20px;
}

.border-left-3px {
    border-left: 3px solid #999;
}

.order-full-input {
    width: 572px !important;
}

.filter-input {
    border: 1px solid #999;
    border-radius: 5px;
    padding: 5px 10px;
    box-sizing: border-box;
    cursor: pointer;
    min-height: 27px;
}

.filter-input > div {
    display: inline-block;
    margin: .25rem .25rem;
    background-color: #eee;
    border-radius: 3px;
    color: #000;
    font-size: .8em;
    padding: 5px 10px;
    cursor: pointer;
}

.filter-input > div::after {
    content: "×";
    margin-left: .5em;
    font-weight: 700;
}

.clear-search-btn {
    position: relative;
    margin-left: -20px;
    width: 20px;
    height: 20px;
    border: 1px solid #000;
    background: url(/i/close.png) no-repeat;
    background-size: 100%;
}

.input-order-search {
    width: 544px !important;
}

.clear-btn img {
    cursor: pointer;
}

#choose-districts-window {
    max-height: 500px;
    overflow-y: auto;
}

.lab-orders .lab-order {
    padding: 1rem;
    border: 1px solid #aaa;
    margin: .5rem 0;
}

.lab-order-tabs-body > div > div {
    margin: .25rem 0;
}

.lab-order-tabs-body > div:not(:first-child) {
    display: none;
}

.pseudo a {
    border: none;
    text-decoration: none;
}

.pseudo.active a {
    color: #fff;
}

.security-block tbody tr {
    cursor: pointer;
}

.security-block tbody tr:hover {
    background-color: #eee;
}

.enter-logo {
    background-repeat: no-repeat;
    background-size: auto 100%;
    padding-left: 40px;
}
.page {
    display: inline-block;
    border: 1px solid #000;
    background-color: #eee;
    padding: 0.35rem;
}

.page.current {
    background-color: #fff;
    font-weight: 700;
}

.clear-search-filter {
    position: absolute;
    right: 15px;
    top: 35%;
}

.bs-border-box {
    box-sizing: border-box;
}

#check_addr_result div::before{
    content: "!";
    margin-right: 10px;
    color: red;
    font-weight: 700

}