::-webkit-inner-spin-button {
    display: none;
}

*:focus {
    outline: none
}

html {
    font-size: 0.8125rem;
}

body {
    width: 100%;
    background: #fff;
    color: black;
    margin: 0;
}

@media (max-width: 575px) {
    body {
        font-size: 1rem;
    }
}

ol li {
    padding: 5px 0;
}

.fa {
    text-decoration: none;
    font-size: 1.25em;
}

.btn .fa, .dropdown-item .fa {
    font-size: 1rem;
}

.fa-submit {
    background: transparent;
    border: none;
    padding: 0;
}



/* bootstrap override */

.form-control {
    border-color: #8f8f9d;
    color: #000000;
}

.form-control:focus {
    color: #000000;
}

.text-warning {
    color: #ff8708 !important;
}

small, .small {
    font-size: 12px;
}

.btn:focus, .btn.focus {
    outline: none !important;
    box-shadow: none !important;
}

.btn:disabled {
    cursor: not-allowed;
}

.btn-primary {
    background-color: #84A3CF;
    border-color: #84A3CF;
}

.btn-outline-primary {
    color: #84A3CF;
    border-color: #84A3CF;
}

.btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):active {
    background-color: #0069d9;
}

.btn-outline-primary:hover {
    background-color: inherit;
    color: #84A3CF;
    border-color: inherit;
}

@media only screen and (min-width: 992px) {
    .container {
        max-width: 1600px;
    }
}

.nav-link {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.nav-item {
    margin: 0 0.2rem;
}

.breadcrumb {
    margin-left: 0;
    padding: 0;
    background: transparent;
}

.tooltip .tooltip-inner {
    background-color: #555555;
    font-size: 1rem;
    max-width: 400px;
}

.tooltip .arrow::before {
    border-bottom-color: #555555;
}

.tooltip.show {
    opacity: 1;
}


a[href^=tel] {
    color: inherit;
}

.page-item.active .page-link {
    background-color: #84A3CF;
    border-color: #84A3CF;
}

.page-link {
    color: #307dd0;
}

.popover {
    max-width: 400px;
}

.badge {
    font-weight: normal !important;
}

.badge-success, .btn-success {
    background-color: #57ac6a !important;
}

/* hacks */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance: textfield; /* Firefox */
}


@media (max-width: 400px) {
    .nav-controls .dropdown-toggle:after {
        display: none;
    }
}

@media (max-width: 575px) {
    .dropdown-menu {
        box-shadow: 0px 0px 5px #ccc;
    }

    .dropdown-item {
        padding-top: .5rem;
        padding-bottom: .5rem;
    }

    .dropdown-office {
        position: static;
    }

    .dropdown-menu-office {
        position: absolute;
        left: 10px;
        right: 10px;
        top: 40px;
    }

    .dropdown-menu-office .dropdown-item {
        white-space: normal;
    }

}


/* video */
.video-wrapper {
    width: 100%;
}

.video-inner {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* realty list */

.realty-header {
    background-color: #e8ecf1;
    border: 1px solid #CCD3DC;
}

.realty-header > div {
    padding: 5px 10px;
}

.realty-row {
    display: flex;
    border-bottom: 1px dotted #eaeeff;
}

.realty-row:nth-child(odd) {
    background-color: #f9fafc;
}

.realty-row > div {
    padding: 8px;
}

.realty-row .photo-count {
    position: absolute;
    left: 5px;
    top: 5px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    padding: 3px 5px;
    z-index: 2;
}

.clr {
    clear: both;
}

.agents2 {
    border: 1px solid #dfdfdf;
    margin-top: 2px;
}

.agents2 th {
    border: 1px solid #dfdfdf;
    text-align: center;
    background: #eeeeee;
}

.agents2 td {
    border: 1px solid #dfdfdf;
    text-align: center;
}

.m_firms_blfirms {
    margin-top: 2px;
    border: 1px solid #dfdfdf;
}

.dtree_box {
    padding-left: 20px;
    display: none;
}

.dtree_boxopen {
    padding-left: 20px;
    display: block;
}

.dtree_closeb {
    height: 16px;
    padding-left: 20px;
    background: url('http://pics.nmls.ru/images/dtree/plusbottom.gif') left center no-repeat;
}

.dtree_openb {
    height: 16px;
    padding-left: 20px;
    background: url('http://pics.nmls.ru/images/dtree/minusbottom.gif') left center no-repeat;
}

.dtree_close {
    height: 16px;
    padding-left: 20px;
    background: url('http://pics.nmls.ru/images/dtree/plus.gif') left center no-repeat;
}

.dtree_open {
    height: 16px;
    padding-left: 20px;
    background: url('http://pics.nmls.ru/images/dtree/minus.gif') left center no-repeat;
}

.dtree_join {
    height: 16px;
    padding-left: 20px;
    background: url('http://pics.nmls.ru/images/dtree/join.gif') left center no-repeat;
}

.dtree_ojoin {
    height: 16px;
    padding-left: 20px;
    background: url('http://pics.nmls.ru/images/dtree/joingetp.gif') left center no-repeat;
}

.dtree_joinb {
    height: 16px;
    padding-left: 20px;
    background: url('http://pics.nmls.ru/images/dtree/joinbottom.gif') left center no-repeat;
}

.dtree_ojoinb {
    height: 16px;
    padding-left: 20px;
    background: url('http://pics.nmls.ru/images/dtree/joingetpbottom.gif') left center no-repeat;
}

.dline {
    background: url('http://pics.nmls.ru/images/dtree/line.gif') left center repeat-y;
}

.hidden {
    position: absolute;
    visibility: hidden;
}

.visible {
    position: absolute;
    visibility: visible;
}

.bold {
    font-weight: bold;
    text-decoration: none;
}

/* ��������� ��� ����� */
img {
    border: 0;
    margin: 0;
    padding: 0;
}

form {
    padding: 0;
    margin: 0;
}

h1, h2, h3, h4 {
    margin: 0;
    padding: 0;
}

/*a{color:#378ecd;}*/
p {
    padding: 0;
    margin: 0px 0 5px 0;
}

a {
    color: #0053A0
}

a:focus {
    text-decoration: none;
}

a.action, .dotted {
    text-decoration: none;
    border-bottom: 1px dotted;
    cursor: pointer;
}

.dotted:hover, .dotted:focus {
    text-decoration: none;
}


input.file {
    padding: 1px 0 0 0;
    font-size: 11px;
    margin: 0;
    color: #2e2e2e;
}

h1, h2, h3 {
    color: #222;
    margin-bottom: 0.75em;
    font-weight: 400;
    line-height: 1.3em;
}

h1 {
    font-size: 26px;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 16px;
}

.h1 {
    font-size: 18px;
    color: #222;
    margin-bottom: 1em;
}

.h2 {
    font-size: 20px;
    margin-bottom: 0.5em;
    color: #222;
}


.filter {
    position: absolute;
    width: 189px;
    top: 110px;
    left: 3px;
}

.leftblock {
    width: 189px;
    margin-top: 127px;
    border-right: 2px solid #fff;
    border-left: 3px solid #fff;
    padding-top: 126px;
}

* html .leftblock {
    padding-top: 129px;
}

.mainblock {
    margin-left: 195px;
    padding: 0;
}


/* ���� */
.icons {
    float: right;
    width: 100px;
    border-left: 1px solid #fff;
    height: 17px;
    margin-top: 3px;
    text-align: center;
}

.additional_links {
    float: right;
    height: 10px;
    margin-top: 3px;
    text-align: center;
    color: #fff;
    cursor: pointer;
}

.icons img {
    margin: 0 5px;
}


.iframemenuv1 {
    position: absolute;
    visibility: hidden;
    margin-top: 7px;
    filter: alpha(opacity=0, enabled=1);
}

.iframemenuv2 {
    position: absolute;
    visibility: visible;
    margin-top: 7px;
    filter: alpha(opacity=0, enabled=1);
}

/* ����� ���� */
/* ������������� ������ */
.pathway {
    background-color: #fff8dc;
    padding: 4px 0 4px 6px;
    color: #378ecd;
}

.pathway a {
    color: #378ecd;
}

.pathimg {
    background: url(http://nmls.ru/template/images/arrow.gif) no-repeat center center;
    padding: 0 7px;
}

/* ����� ������������� ������ */


/* ����� ��� ������� �������� */
.front_obj { /*width:62%*/;
    float: left;
}

.front_obj table {
    width: 100%;
    border-top: 1px dotted #ccc;
    border-bottom: 1px dotted #ccc;
}

.front_obj td {
    border: 2px solid #ccc;
    padding: 4px;
    vertical-align: top;
    background: url(/template/images/tback.gif) repeat-x left top;
}

.front_obj span:first-letter {
    text-transform: uppercase;
}

.front_obj img {
    float: left;
    margin-right: 5px;
    max-width: 100%;
}


.front_blo {
    background: #f9fafc;
    border: 1px solid #eaeeff;
    padding: 6px 8px;
    margin-bottom: 20px;
}

.front_blo ol {
    margin: 0;
    padding: 10px 0 10px 24px;
    line-height: 13px;
}

.front_blo li {
    margin: 0;
    padding: 0;
}

.front_blo h3 {
    font-size: 14px;
    padding: 0;
    margin: 0;
}

.front_blo p {
    margin: 4px 0 3px 0;
    padding: 0 0 4px 0;
}

/* ����� ������ ��� ������� ��������*/

.tpl_tables {
    margin: 15px 11px 15px 10px;
    margin: 0;
    color: #3e54ff;
}

.tpl_tables2 {
    margin: 0;
}

.tpl_tables3 {
    margin: 0;
}

.tpl_pad {
    margin-bottom: 3px;
}

.tpl_pad2 {
    margin-bottom: 2px;
}

.tpl_pbut {
    padding: 2px 10px;
}

.tpl_tables th {
    color: #3e6da1;
    border-top: 1px solid #d0d2d9;
    border-bottom: 1px solid #d0d2d9;
    background-color: #e7e7e7;
    padding: 10px;
}

.tpl_tables td {
    margin: 10px 10px 10px 10px;
    padding: 7px;;
}

.tpl_padf td {
    padding: 0px;
}

.tpl_red {
    color: #b63737;
}

.tpl_big {
    font-weight: bold;
}

.bold {
    font-weight: bold;
}

.tpl_tablesot1 {
    margin-left: 15px;
}

.tpl_tablesot2 {
    margin-left: 30px;
}


a.tpl_web {
    text-decoration: underline;
}

.tpl_tables a.actdown {
    color: #b63737;
    background: url(http://nmls.ru/template/images/arrowdown.gif) right center no-repeat;
    padding-right: 6px;
    margin-right: 2px;
}

.tpl_tables a.actup {
    color: #b63737;
    background: url(http://nmls.ru/template/images/arrowup.gif) right center no-repeat;
    padding-right: 6px;
    margin-right: 2px;
}

.tpl_block {
    border: 1px solid #d0d2d9;
    margin: 0 2px 2px 2px;
    padding: 1px 2px;
}

.tpl_block table {
    margin-top: 2px;
}

.tpl_block strong {
    font-weight: bold;
}

.tpl_btab td {
    padding: 0;
    height: 15px;
}

.tpl_mtext {
    width: 225px;
    height: 80px;
}

.tpl_comment {
    padding-top: 3px;
}

.tpl_tables2 td {
    height: 30px;
    padding: 0 5px;
}

.tpl_thleft {
    text-align: left;
}

td.tpl_nonpad {
    padding: 0;
}

/* page navigation */
div.pagenav {
    text-align: right;
    padding: 3px 0px 4px 0px;
    margin: 2px 10px 0 10px;
}

* html div.pagenav {
    padding-top: 0px;
    margin-top: 0px;
}

div.pagenav a, div.pagenav span {
    border: 1px solid #e7e7e7;
    padding: 2px 6px 3px 6px;
    margin: 1px 1px 1px 1px;
}

div.pagenav a {
    color: #3e6da1;
}

div.pagenav a:hover {
    background: #e7f0ef;
}

div.pagenav span {
    color: #e7e7e7;
}

div.pagenav span.nav_active {
    background: #3e6da1;
    color: white;
}

/* END page navigation */


.m_dcon {
    margin-top: 2px;
    font-size: 10px;
    color: #698192
}

.m_content {
    margin: 5;
    width: 100%;
    line-height: 130%;
}

.m_content img {
    padding: 0 10px 0 0;
}

.input-error {
    border: 1px solid red
}


.filter-box {
    margin-right: 10px;
    flex-basis: 240px;
    min-width: 240px;
    display: none;
}

.filter-box-visible {
    display: block;
}

#filter {
    border: 1px solid #ccd3dc;
    padding: 4px;
    background: #e8ecf1;
    z-index: 1;
    width: 240px;
    position: absolute;
    top: 50px;
    bottom: 4px;
    overflow: auto;
}

#filter.fixed {
    position: fixed;
    top: 4px;
}

#filter .select2 {
    width: 100% !important;
}

@media (max-width: 989px) {
    .filter-box {
        flex-basis: 0;
        min-width: 0;
        margin: 0;
    }

    .filter-box-visible {
        display: none;
    }

    #filter {
        position: fixed;
        width: 300px;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 3;
    }
}

#content {
    flex-grow: 1
}

.b-popup-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
}


/* REALTY LIST */
.fa-phone.contact2:after {
    content: '/';
    font-weight: bold;
    position: relative;
    left: -9px;
}

.bad_rec .object-descr {
    color: red;
    text-decoration: line-through;
}


/* CARD VIEW */

.card_top_panel {
    margin-bottom: 20px;
    background: #ececec;
    border-radius: 5px;
}

.card_top_panel ul {
    padding: 4px 0 2px 0;
    float: left;
    margin: 0;
}

.card_top_panel .row > div {
    padding-top: 5px;
    padding-bottom: 5px;
    border-right: 1px dotted #c5c5c5;
    text-align: center;
}

.card_top_panel .row > div:last-child {
    border-right: none;
}

.card_top_panel ul li img {
    position: relative;
    top: 2px;
    padding: 0 4px 0 0;
}

.card_top_panel ul li a {
    color: #0053a0;
}

.share42init {
    display: inline-block;
    vertical-align: sub;
}

.share42-item {
    margin-bottom: 0 !important;
    opacity: 0.5;
}

.share42-item:hover {
    opacity: 1
}

.share42-item:last-child {
    margin-right: 0;
}

.card-price {
    font-size: 26px;
    color: #ef3f23;
    font-weight: bold;
    display: inline-block;
}

.card-currency {
    font-size: 20px;
    color: #333;
    font-weight: 400;
}

.card-price-sqm-value {
    color: #ef3f23;
    font-weight: bold;
}

#card-currency-select.dd-container {
    display: inline-block;
    vertical-align: top;
}

#card-currency-select .dd-select {
    border: none;
}

#card-currency-select .dd-selected {
    padding: 6px;
    color: #222;
}

#card-currency-select .dd-option {
    padding: 6px;
}

#card-currency-select .dd-selected-text {
    line-height: 0.9em !important;
}

#card-currency-select .dd-image-right {
    margin-right: 23px;
}

#card-currency-select .dd-options {
    box-shadow: none;
}

.mls {
    display: inline-block;
    color: #444;
    font-size: 11px;
    padding-left: 35px;
    background: url(/img/icon_mls.png) 0 0 no-repeat;
}


.object-page-columns {
    display: flex;
    gap:0;
}

.object-page-columns > div:first-child {
    flex-basis: 336px;
    min-width: 336px;
    margin-right: 2rem;
}

.object-page-columns > div:nth-child(2) {
    flex-grow: 1;
    max-width: 700px;
}

.object-page-columns > div:nth-child(3) {
    margin-left: 2rem;
}

@media only screen and (max-width: 991px) {
    .object-page-columns {
        flex-direction: column;
    }
    .object-page-columns > div  {
        flex-basis: 100% !important;
        margin: 0 !important;
    }
}

.card-main-image {
    display: block;
    position: relative;
    margin-bottom: 30px;
}

.card-image-count {
    position: absolute;
    left: 10px;
    top: 10px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    padding: 3px 5px;
}

.card-image-overlay {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.5;
}

.card-image-text {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    padding-top: 20%;
    box-sizing: border-box;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    text-shadow: 0 1px 1px #000;
}

.card-main-image:hover .card-image-overlay {
    display: block;
}

.card-main-image:hover .card-image-text {
    display: block;
}

.card-no-image {
    height: 200px;
    background: #F8F8F8 url(/images/no_photo_for_object2.png) center center no-repeat;
    border: 1px solid #eee;
}

.card-images {
    overflow: hidden;
}

.card-images img {
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
}

.card-images a:nth-child(2n) img {
    margin-right: 0;
}

.card-images a:nth-child(n+1) {
    display: none;
}

.main-card-img {
    box-shadow: 1px 1px 1px #222;
    width: 100%
}

#loadMap {
    font-size: 17px;
    margin-bottom: 30px;
    text-align: center;
}

.card-map {
    box-shadow: 0px 0px 1px #000;
    height: 270px;
    margin-bottom: 30px;
}

.card-video iframe {
    width: 336px;
    height: 200px;
}

.left-col-ads {
    clear: both;
    margin-bottom: 30px;
}

.perelink-item {
    display: block;
    margin-bottom: 20px;
    text-decoration: none;
}

.perelink-item:last-child {
    margin-bottom: 0px;
}

.perelink-item img {
    border: 1px solid #eee;
}

.perelink-descr a {
    text-decoration: none;
    color: #222;
}

.perelink-price {
    color: #ef3f23;
    font-weight: bold;
}

.object-contacts img {
    max-width: 100%;
    height: auto !important;
}

.object-infoblock {
    border: 1px solid #CCD3DC;
    padding: 10px;
    margin-bottom: 25px;
    border-radius: 0 3px 3px 3px;
}

.object-infoblock-header {
    background-color: #CCD3DC;
    color: #333;
    display: inline-block;
    padding: 2px 10px;
    border-radius: 3px 3px 0 0;
}


.object_info td {
    border-bottom: 1px dotted #e8e8e8;
    padding: 5px 0px 5px 0px;
}

.object_info td:first-child {
    color: #acacac;
}

.object_info td:last-child {
    padding-left: 10%;
}

.object_info tr:last-child td {
    border: none;
}

.object_info tr.last td {
    border-bottom: 0px;
}

.object-in-archive {
    font-size: 16px;
    color: #f00;
    height: 24px;
    line-height: 24px;
    margin-bottom: 40px;
    padding-left: 34px;
    background: url(/images/icons/alert-triangle-red.png) 0 0 no-repeat;
}


/* CARD EDIT */
/*
.drop-message {
    display: flex;
    position: absolute;
    left: 10%;
    right: 10%;
    top: 10%;
    bottom: 10%;
    font-size: 2rem;
    text-align: center;
    align-items: center;
}*/

.photos-wrapper.drop {
    border: 2px dashed green;
}

.object-image-wrapper {
    display: inline-block;
    margin: 0 5px 10px 0;
    text-align: center;
    position: relative;
    width: 197px;
    height: 130px;
    background-color: #fff;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    padding: 6px 0;
    vertical-align: top;
}


.sortable-highlight {
    display: inline-block;
    width: 197px;
    height: 130px;
    margin: 0 5px 10px 0;
    border: 2px dashed #0c5460;
    vertical-align: top;
}


img.object-image {
    height: 100px;
    border: 0 solid #CCD3DC;
    margin-bottom: 5px;
    vertical-align: top;
}

.video-card {
    display: inline-block;
    height: 100px;
    width: 90%;
    background-color: #f1f1f1;
    position: relative;
}

.video-card .fa {
    font-size: 2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.image-upload {
    display: inline-block;
    margin: 0 5px 10px 0;
    width: 197px;
    height: 130px;
    text-align: center;
    padding-top: 25px;
    background-color: #f1f1f1;
    cursor: pointer;
    vertical-align: top;
}

.image-upload .fa {
    font-size: 5rem;
}


/*.image-descr {
    margin-bottom: 2px;
    font-size: 0.9em;
    color: #777;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}*/

.image-progress {
    height: 5px;
    background-color: #E8ECF1;
    border-radius: 3px;
    left: 10px;
    right: 10px;
    position: absolute;
    top: 50%;
    border-radius: 5px;
    overflow: hidden;
}

.image-progress-active {
    float: left;
    width: 0;
    background-color: #4979bc;
    height: 100%;
    transition: width 0.1s linear;
}

.image-controls img, .image-controls .fa {
    cursor: pointer;
}



table.connected-objects td {
    padding: 5px;
    vertical-align: top;
}

.required:after {
    content: ' *';
    color: #ef3f23;
    font-weight: bold;
}


/* FILTER */


/*#filter-street-wrap ul.token-input-list {width:160px !important;}*/

.who-client ul.token-input-list {
    width: 160px !important;
}

div.token-input-dropdown {
    width: 160px !important;
}

div.token-input-dropdown p {
    font-weight: 400 !important;
    font-size: 11px;
}

.token-input-token {
    font-weight: 400 !important;
    background-color: #E1EDFD !important;
    font-size: 12px !important;
    font-family: Arial !important;
}

div.token-input-dropdown ul li.token-input-selected-dropdown-item {
    background-color: #E1EDFD !important;
}


.filter-chosen {
    background-color: #E1EDFD;
    padding: 3px 5px;
    margin: 3px 0;
    overflow: hidden;
    border-radius: 3px;
    max-width: 120px;
    padding-right: 15px;
    position: relative;
}

.filter-chosen span.chosen-name {
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.filter-chosen .chosen-delete {
    position: absolute;
    right: 3px;
    top: 2px;
    cursor: pointer;
}


/* BACKEND FILTER */

.lk-danger {
    font-size: 13px;
    margin-bottom: 12px;
    margin-right: 2px; /*background-color: #F9C5C5;*/
    padding: 8px;
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    color: #a94442;
}

.lk-danger a {
    color: #a94442;
}

.lk-warning {
    font-size: 13px;
    margin-bottom: 12px;
    margin-right: 2px; /*background-color: #F2E89D;*/
    padding: 8px;
    background-color: #fcf8e3;
    border: 1px solid #faebcc;
    color: #8a6d3b;
}

.lk-warning a {
    color: #8a6d3b;
}

.lk-notice {
    font-size: 13px;
    margin-bottom: 12px;
    margin-right: 2px; /*background-color: #F2E89D;*/
    padding: 8px;
    background-color: #d9edf7;
    border: 1px solid #bce8f1;
    color: #31708f;
}

.lk-notice a {
    color: #31708f;
}

.dop-filter-block {
    padding: 7px 0;
}

#map-modal button.icon {
    width: 40px;
    height: 35px;
    cursor: pointer;
    color: #7b7b7b;
    background: none;
    border: 0;
    outline: none;
    vertical-align: middle;
}

#map-modal button:hover {
    color: #4b4b4b;
}

#map-modal button.active {
    color: #336699;
}


.admin-functions fieldset {
    margin-bottom: 30px;
    padding: 20px;
}

.admin-functions legend {
    font-weight: bold;
    font-size: 14px;
}


/* MAINPAGE */
.mainpage-realty-table td {
    padding: 4px 8px;
    font-weight: normal;
    color: #333;
    border-bottom: 1px dotted #eaeeff;
}

.mainpage-realty-table th {
    background-color: #eaeeff;
    padding: 8px 8px;
    font-weight: normal;
    color: #333;
    font-size: 11px;
    white-space: nowrap;
}


/* REALTY BY STREETS */
.realty-streets {
}

.realty-streets div {
    display: inline;
    margin-right: 20px;
    line-height: 2em;
    white-space: nowrap
}

.letters {
    margin-bottom: 20px;
}

.letters a {
    float: left;
    background: #bbb;
    text-decoration: none;
    color: white;
    margin-right: 1px;
    padding: 7px 8px;
    border-radius: 5px;
}

.letters a.current {
    background-color: #93B2DE;
}

.letters a.disabled {
    background-color: #ddd !important;
    cursor: default !important;
}


/* REGISTRATION */
#registration input[type=text], #registration input[type=password] {
    padding: 7px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    width: 100%;
}

#registration table td {
    padding: 5px 10px;
}

#registration table td:first-child {
    padding-left: 0;
    padding-top: 10px;
}


/* �������� ����� */
.table-objects-count td {
    padding: 5px 10px;
}

.table-objects-count td:first-child {
    padding-left: 0;
}

table.firms__agents-list td {
    padding: 3px 10px;
}

table.firms__agents-list td:first-child {
    padding-left: 0;
}


/* ������� */

.parsing-table {
    border-top: 1px solid #ececec;
    width: 100%;
    margin-bottom: 20px;
}

.parsing-table th {
    background-color: #eaeeff;
    font-size: 13px;
    padding: 4px 8px;
    font-weight: normal;
    color: #378ecd;
    border-top: 1px solid #d0d2d9;
    border-bottom: 1px solid #d0d2d9;
}

.parsing-table th a {
    color: #378ecd
}

.parsing-table td {
    font-size: 12px;
    padding: 2px 8px;
    font-weight: normal;
    color: #333;
    vertical-align: top;
}

.parsing-table .row1 td {
    padding-top: 15px;
}

.parsing-table .row1 td:first-child {
    padding-bottom: 15px;
}

.parsing-table .row2 td {
    padding-bottom: 15px;
}

.parsing-table .row1 td:first-child, .parsing-table .row1 td:last-child, .parsing-table .row2 td {
    border-bottom: 1px solid #ccd3dc
}

.parsing-table .chosen-container-multi .chosen-choices li {
    float: none !important;
    margin-right: 0px !important;
}

.parsing-table .chosen-drop {
    width: auto !important;
    min-width: 100%;
}

.parsing-table .chosen-results li {
    white-space: nowrap;
}

.parsing-table tr.in_blacklist {
    opacity: 0.5;
}

.parsing-table tr.row2.in_blacklist .fa-ban {
    display: none
}

.parsing-comments {
    margin-bottom: 10px;
}

.parsing-comment {
    margin-bottom: 5px;
    font-size: 90%;
}

.parsing-comment.type0 {
    color: orangered;
}

.parsing-comment.type1 {
    color: #10a910;
}

.parsing-comment.type2 {
    color: #1e90ff;
}

.parsing-buttons .fa {
    cursor: pointer;
    color: #ccc;
}

.parsing-buttons .fa-star-o.active {
    color: orange;
}

.parsing-buttons .fa-phone.active {
    color: red;
}

.parsing-buttons .fa-eye-slash.active {
    color: blue;
}

.parsing-buttons .fa-hand-stop-o.active {
    color: red;
}


/* DEC */
.grey {
    color: #555 !important;
}


/* LOADING */
#loading {
    display: none;
    position: fixed;
    background-color: white;
    box-shadow: 1px 1px 5px #aaa;
    left: 50%;
    width: 440px;
    margin-left: -220px;
    text-align: center;
    top: 30%;
    font-size: 17px;
    box-sizing: border-box;
    padding: 20px;
    z-index: 99999;
}

/* flash message */
#flash-message {
    display: none;
    position: fixed;
    background-color: #555;
    color: #fff;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    top: 50%;
    font-size: 17px;
    box-sizing: border-box;
    padding: 20px;
    z-index: 99999;
    opacity: 0.9;
    border-radius: 30px;
    font-weight: bold;}


/* BUTTONS */

.button2 {
    color: #333;
    border: 3px double #888888;
    background-color: #fcfcfc;
    padding: 5px 10px;
    font-size: 13px;
    min-width: 100px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}

.but {
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    background-color: #f9f9f9;
    background-image: -moz-linear-gradient(top, #ffffff, #efefef);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#efefef));
    background-image: -webkit-linear-gradient(top, #ffffff, #efefef);
    background-image: -o-linear-gradient(top, #ffffff, #efefef);
    background-image: linear-gradient(to bottom, #ffffff, #efefef);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffefefef', GradientType=0);
    border: 1px solid;
    border-color: #efefef #efefef #c9c9c9;
    border-bottom-color: #b3b3b3;
    *background-color: #efefef;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    color: #444;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 0px;
    padding: 4px 12px;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    line-height: 16px;
    font-size: 11px;
}

.but:hover {
    text-decoration: none;
}

.but.disabled {
    color: #999;
}

.but-green {
    background-image: linear-gradient(to bottom, #B0DD7C, #8CCA3F);
    background-color: #B0DD7C;
    border-color: #8CBF3F;
    color: #fff !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

.but-yellow {
    background-image: linear-gradient(to bottom, #ffe300, #ffd300);
    background-color: #ffe300;
    color: #fff;
    text-shadow: none;
    border-color: #eba000;
    color: #111;
}

.but-blue {
    background-color: #84A3CF;
    background-image: linear-gradient(to bottom, #9CBBE7, #84A3CF);
    border-color: #84A3CF;
    color: #fff !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

.but-darkblue {
    background-color: #84A3CF;
    background-image: linear-gradient(to bottom, #9CBBE7, #84A3CF);
    border-color: #84A3CF;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}



/* statuses colors */

:root {
    --object-status-bgcolor-1: #57ac6a;
    --object-status-bgcolor-2: #b6d9ec;
    --object-status-bgcolor-3: #ffc3c3;
    --object-status-bgcolor-4: #ffd2af;
    --object-status-bgcolor-5: #f7f3ad;
    --object-status-bgcolor-6: #ffc3c3;
    --object-status-bgcolor-7: #cccccc;
    --object-status-bgcolor-8: #ffc3c3;
}

.status-badge {
    padding: 0.25rem 0.4rem;
    border-radius: 0.25rem;
    color: #222;
}

.status-badge:hover {
    color: inherit;
    text-decoration: none;
}

.status-badge-1 {
    background-color: transparent;
    border: 1px solid var(--object-status-bgcolor-1);
}

.status-badge-2 {
    background-color: var(--object-status-bgcolor-2);
}

.status-badge-3 {
    background-color: var(--object-status-bgcolor-3);
}

.status-badge-4 {
    background-color: var(--object-status-bgcolor-4);
}

.status-badge-5 {
    background-color: var(--object-status-bgcolor-5);
}

.status-badge-6 {
    background-color: var(--object-status-bgcolor-6);
}

.status-badge-7 {
    background-color: var(--object-status-bgcolor-7);
}

.status-badge-8 {
    background-color: var(--object-status-bgcolor-8);
}

.cstatus-bg-color {
    display: inline-block;
    width: 10px;
    height: 10px;
}

.cstatus-color-1 {
    background-color: transparent;
}

.cstatus-color-2 {
    background-color: #b6d9ec;
}

.cstatus-color-3 {
    background-color: #ffc3c3;
}

.cstatus-color-4 {
    background-color: #ffd2af;
}

.cstatus-color-5 {
    background-color: #f7f3ad;
}

.cstatus-color-6 {
    background-color: #ffc3c3;
}

.cstatus-color-7 {
    background-color: #ccc;
}

.cstatus-color-8 {
    background-color: #ffc3c3;
}

.card-status-text-1 {
    color: #000;
}

.card-status-text-2 {
    color: #007bff;
}

.card-status-text-3, .card-status-text-6, .card-status-text-8 {
    color: #dc3545;
}

.card-status-text-4 {
    color: orange;
}

.card-status-text-5 {
    color: #bfbf0a;
}

.card-status-text-7 {
    color: grey;
}

.request-status-1 {
    color: #000;
}

.request-status-2 {
    color: #007bff;
}

.request-status-3 {
    color: #dc3545;
}

.request-bg-1 {
    background-color: transparent;
}

.request-bg-2 {
    background-color: #d9d9d9;
}

.request-bg-3 {
    background-color: #b6d9ec;
}

.request-warmth-color-0 {
    color: #6c757d;
}

.request-warmth-color-1 {
    color: #4c4c93;
}

.request-warmth-color-2 {
    color: #ff8708;
}

.request-warmth-color-3 {
    color: #dc3545;
}

/* funnel scale */

.events-scale { width: 100%;}
.events-scale tr:first-child td {border:1px solid #aaa; font-size:0; line-height:10px; height:10px; padding:0;}
.events-scale tr:last-child td {
    padding: 2px;
    white-space: nowrap;
    position: relative;
}

.events-scale tr:last-child td:before {
    content: '&nbsp;';
    visibility: hidden;
}

.events-scale tr:last-child td span {
    position: absolute;
    left: 0;
    right: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9em;
    color: #999;
}

.events-scale td.editable {cursor: pointer;}
.events-scale td:nth-child(1).active {background-color: #ee4928}
.events-scale td:nth-child(2).active {background-color: #41a903}
.events-scale td:nth-child(3).active {background-color: #e09602}
.events-scale td:nth-child(4).active {background-color: #0f94ed}
.events-scale td:nth-child(5).active {background-color: #8f3bf7}
.events-scale td:nth-child(6).active {background-color: #fc4380}
.events-scale td:nth-child(7).active {background-color: #00a1c4}
.events-scale td:nth-child(8).active {background-color: #eb7002}

/* journal */

.journal-record.is_done {
    background-color: #f1f1f1;
}

.journal-record.is_done .journal-done-btn {
    display: none;
}


.blinking {
    animation: blink 1s linear infinite;
}

@keyframes blink {
    0%{opacity: 0}
    50%{opacity: 0}
    51%{opacity: 1}
    100%{opacity: 1}
}


/* PAGINATION */
div.pagenav {
    text-align: center;
    padding: 3px 0 4px 0;
}

* html div.pagenav {
    padding-top: 0;
    margin-top: 0;
}

div.pagenav a, div.pagenav span {
    display: inline-block;
    font: bold 11px tahoma, verdana, sans-serif;
    border: 1px solid #e7e7e7;
    padding: 3px 7px 4px 7px;
    margin: 1px 1px 1px 1px;
}

div.pagenav a {
    color: #3e6da1;
    text-decoration: none;
}

div.pagenav a:hover {
    background: #e7f0ef;
}

div.pagenav span {
    color: #e7e7e7;
}

div.pagenav span.nav_active {
    background: #3e6da1;
    color: white;
}

.pagenav_mobile {
    display: none;
}

@media only screen and (max-width: 768px) {
    .pagenav_mobile {
        display: block;
    }

    .pagenav_desktop {
        display: none;
    }
}

.pagenav_mobile .nav-last, .pagenav_mobile .nav-first {
    display: none;
}

.pagenav_mobile a, .pagenav_mobile span {
    font-size: 1.1rem !important;
    padding: 4px 9px 5px 9px !important;
}


/* ajax search */

.ajax-search-wrapper {
    position: relative;
}

.search-results {
    display: none;
    position: absolute;
    z-index: 900;
    top: 100%;
    right: 0;
    left: 0;
    overflow-y: auto;
    max-height: 332px;
    border: 1px solid #ced4da;
    border-top: none;
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(43, 44, 44, 0.15);
    border-radius: 0.25rem;
}

.search-result-item {
    cursor: pointer;
    padding: 10px 10px;
}

.search-result-item:hover {
    background-color: #FBFFD0;
}

.search-result-text {
    padding: 10px 10px;
    color: #6c757d;
}

.search-loading {
    position: absolute;
    display: none;
    width: 16px;
    height: 16px;
    top: 50%;
    margin-top: -8px;
    right: 12px;
    background: url(https://calcus.ru/images/ajax-loader-16.gif);
    opacity: 0.5;
}

.search-cancel {
    display: none;
    position: absolute;
    right: 0.5rem;
    top: calc(50% - 8px);
    cursor: pointer;
}

.search-cancel:after {
    display: inline-block;
    content: "";
    background-repeat: no-repeat;
    background-size: 1rem 1rem;
    width: 1rem;
    height: 1rem;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-circle" viewBox="0 0 16 16"> <path d= "M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z" /> <path d= "M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z" /> </svg>');
}


/* TECH */
.stdinp {
    padding: 5px;
    font-weight: bold;
}

.bold, .b {
    font-weight: bold;
}

.fwn {
    font-weight: normal
}

.italic {
    font-style: italic
}

.m0 {
    margin: 0
}

.mb3 {
    margin-bottom: 3px
}

.mt3 {
    margin-top: 3px
}

.ml3 {
    margin-left: 3px
}

.mr3 {
    margin-right: 3px
}

.mb5 {
    margin-bottom: 5px
}

.mt5 {
    margin-top: 5px
}

.ml5 {
    margin-left: 5px
}

.mr5 {
    margin-right: 5px
}


.m10 {
    margin: 10px
}

.mb10 {
    margin-bottom: 10px
}

.mt10 {
    margin-top: 10px
}

.ml10 {
    margin-left: 10px
}

.mr10 {
    margin-right: 10px
}

.mt15 {
    margin-top: 15px
}

.mb15 {
    margin-bottom: 15px
}

.mt15 {
    margin-top: 15px
}

.ml15 {
    margin-left: 15px
}

.mr15 {
    margin-right: 15px
}

.mb20 {
    margin-bottom: 20px
}

.mt20 {
    margin-top: 20px
}

.ml20 {
    margin-left: 20px
}

.mr20 {
    margin-right: 20px
}

.centered {
    margin-right: auto;
    margin-left: auto
}

.p0 {
    padding: 0
}

.p3 {
    padding: 3px
}

.p5 {
    padding: 5px
}

.p10 {
    padding: 10px
}

.p20 {
    padding: 20px
}

.p40 {
    padding: 40px
}

.pt0 {
    padding-top: 0
}

.pl10 {
    padding-left: 10px
}

.pr10 {
    padding-right: 10px
}

.pt10 {
    padding-top: 10px
}

.mb30 {
    margin-bottom: 30px
}

.mt30 {
    margin-top: 30px
}

.ml30 {
    margin-left: 30px
}

.mr30 {
    margin-right: 30px
}

.mb40 {
    margin-bottom: 40px
}

.mt40 {
    margin-top: 40px
}

.ml40 {
    margin-left: 40px
}

.mr40 {
    margin-right: 40px
}

.flr {
    float: right
}

.fll {
    float: left
}

.di {
    display: inline
}

.db {
    display: block
}

.dib {
    display: inline-block
}

.dit {
    display: table;
    _height: 0;
    zoom: 1;
}

.hide {
    display: none
}

.c {
    text-align: center
}

.ar {
    text-align: right
}

.al {
    text-align: left
}

.aj {
    text-align: justify
}

.fs11em {
    font-size: 1.1em;
}

.fs12em {
    font-size: 1.2em;
}

.lh1 {
    line-height: 1em
}

.vam, table.vam td {
    vertical-align: middle
}

.vat, table.vat td {
    vertical-align: top
}

.oh {
    overflow: hidden
}

.cl {
    clear: both
}

.clear {
    height: 1px;
    clear: both;
    font-size: 0;
    margin-top: -1px;
}


.nobr {
    white-space: nowrap
}

.pr {
    position: relative
}

.pa {
    position: absolute
}

a.nou, a.hover-nou:hover {
    text-decoration: none
}

.u, a.u {
    text-decoration: underline
}

.hover-u:hover {
    text-decoration: underline
}

.link {
    cursor: pointer
}

.not_link {
    cursor: default
}

.w100p {
    width: 100%
}

.w96p {
    width: 96%
}

.w98p {
    width: 98%
}

.w50p {
    width: 50%
}

.w48p {
    width: 48%
}


.t {
    border: 1px solid red;
}

.red {
    color: #ef3f23 !important
}

.white {
    color: #fff !important
}

.black {
    color: #333 !important
}

.grey {
    color: #777
}

.w20 {
    width: 20px
}

.w40 {
    width: 40px
}

.w30 {
    width: 30px
}

.w50 {
    width: 50px
}

.w80 {
    width: 80px
}

.w100 {
    width: 100px
}

.w120 {
    width: 120px
}

.w150 {
    width: 150px
}

.w200 {
    width: 200px
}

.w250 {
    width: 250px
}

.w300 {
    width: 300px
}

table.small-padding td {
    padding: 2px 3px !important
}

table.normal-padding td, table.normal-padding th {
    padding: 5px
}


/* BOOTSTRAP COMPONENTS COPY */
.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}

.panel-info {
    border-color: #bce8f1;
}

.panel-info > .panel-heading {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.panel-body {
    padding: 15px;
}


/* printable modals */

@media print {

    body.modalprinter * {
        visibility: hidden;
    }

    body.modalprinter .modal-dialog.focused {
        position: absolute;
        padding: 0;
        margin: 0;
        left: 0;
        top: 0;
    }

    body.modalprinter .modal-dialog.focused .modal-content {
        border-width: 0;
    }


    body.modalprinter .modal-dialog.focused {
        max-width: 100%;
    }

    body.modalprinter .modal-dialog.focused .modal-content .modal-header .modal-title,
    body.modalprinter .modal-dialog.focused .modal-content .modal-body,
    body.modalprinter .modal-dialog.focused .modal-content .modal-body * {
        visibility: visible;
    }

    body.modalprinter .modal-dialog.focused .modal-content .modal-header,
    body.modalprinter .modal-dialog.focused .modal-content .modal-body {
        padding: 0;
        width: 100%;
    }


    body.modalprinter .modal-dialog.focused .modal-content .modal-body {
        font-size: 1.2em;
    }

    body.modalprinter .modal-dialog.focused .modal-content .modal-header .modal-title {
        margin-bottom: 20px;
    }
}