*:focus {
    outline: none
}

a {
    color: #0053A0
}

html {
    font-size: 0.875rem;
}

/* hacks */

/* remove spinner from input type number */
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 */
}


/* bootstrap override */

@media (min-width: 1400px) {
    .container {
        max-width: 1300px;
    }
}

small {
    font-size: 0.93rem;
}

.btn-primary, .btn-primary:hover, .btn-primary:active {
    background-color: #6194ca;
    border-color: #6194ca;
}

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

.navbar {
    padding-left: 0;
    padding-right: 0
}


.navbar-light .navbar-nav .nav-link {
    color: #0053A0;
}

.navbar-light .navbar-toggler {
    border-color: #0053A0;
}

.navbar-light .navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#0053A0' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-light .navbar-text {
    color: #333;
}

.dropdown-toggle::after {
    vertical-align: 0.15rem;
}



.breadcrumb-item a {
    color:#aaa;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #aaa;
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: 0;
}

.breadcrumb-item {
    padding-right: 0.5rem;
}

.breadcrumb-item:last-child {
    padding-right: 0.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    /*content: '\00BB';*/
    color: #aaa;
    display: none;
}

.breadcrumb-item::after {
    display: inline-block;
    padding-left: .5rem;
    color: #ccc;
    content: "/";
}

.breadcrumb-item:last-child::after {
    display: none;
    content: '';
}


.text-muted {
    color: #aaa !important;
}

/* -- */


.cursor-pointer {
    cursor: pointer;
}

.dotted {
    border-bottom: 1px dashed;
}

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


h1 {
    margin-bottom: 0.5em;
    font-size: 2.25em;
}

@media only screen and (max-width: 767px) {
    h1 {
        font-size: 1.75rem;
    }
}

@media only screen and (min-width: 576px) and (max-width: 1199px) {
    h1 {
        font-size: 2rem;
    }
}


ul.footer-menu {
    list-style: none;
    padding: 0;
}

ul.footer-menu li {
    padding-left: 1.2em;
    margin-bottom: 0.3rem;
}

ul.footer-menu li:before {
    content: '– ';
    color: #aaa;
    position: absolute;
    margin-left: -1em;
}


.header {
    margin-bottom: 20px;
}

.logo {
    float: left;
    margin-right: 20px;
}

.region {
    display: inline-block;
    font-size: 17px;
    margin-top: 5px;
    color: white;
    background-color: #6194ca;
    border-radius: 3px;
    padding: 0.5em 2em 0.5em 0.5em;
}

@media only screen and (max-width: 767px) {
    .header {
        margin-bottom: 0;
    }

    .region {
        border-radius: 0;
        font-size: 1rem;
        display: block;
        margin-bottom: 5px;
        padding: 0;
        background-color: transparent;
        color: #555;
    }
}


/* 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;
}



/* realty filter */

.btn-category {
    border: 1px solid #acc1da; /*#d3e2f4*/;
    border-radius: 3px;
    background-color: #fff;
}

.realty-filter {
    margin-bottom: 15px;
    background-color: #edf1f9;
    padding: 18px 0;
    border: 1px solid #e0e7f4;
    position: relative;
}

.filter-row {
    color: #4f5964;
}

.filter-col {
    padding-right: 10px;
    padding-left: 10px;
}

.realty-filter .container {
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 575px) {
    .realty-filter .container {
        padding-left: 25px;
        padding-right: 25px;
    }
    .filter-col {
        padding-right: 5px;
        padding-left: 5px;
    }
}

.col-geo {
    flex-basis: auto;
    flex-grow: 1;
    max-width: 500px;
    /*min-width: 400px;*/
    min-width: 300px;
}

.col-price {
    flex-basis: 290px;
    white-space: nowrap;
}

.col-newbuild {
    font-size: 0.929rem;
}

.filter-sep-1 {
    display: block;
}


@media (min-width: 1400px) {
    .filter-sep-1 {
        display: none;
    }
}

@media (max-width: 767px) {
    .col-geo, .col-price {
        flex-basis: 100%;
    }

    .col-geo {
        min-width: 300px;
    }
}

@media (min-width: 992px) {
    .col-more {
        order:2;
    }

    .col-submit {
        order:3;
    }
}

@media (min-width: 1200px) {
    .col-more {
        flex-grow: 0.5;
        text-align: right;
    }

    .category-1 .col-more {
        flex-grow: 0.3;
        text-align: center;
    }
}

@media (min-width: 1400px) {
    .category-1 .col-more {
        order:3;
    }

    .category-1 .col-submit {
        order:2;
    }

    .category-1 .col-more {
        flex-grow: 0;
        text-align: left;
    }
}


@media (min-width: 1400px) {
    .col-rooms, .col-newbuild {
        margin-bottom: 0 !important;
    }

    .col-rooms {
        margin-bottom: 0 !important;
    }

    .category-1 .col-more {
        margin-top: 1rem;
    }
}

.more-filters, .more-filters:hover {
    color: #8292a8;
    text-decoration: none;
}

.filter-row select, .filter-row input[type=text] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 40px;
    padding: 0 7px;
    border: 1px solid #acc1da; /*#d3e2f4*/;
    border-radius: 3px;
    background-color: #fff;
}

.filter-row input[type=submit] {
    width: 115px;
    height: 40px;
    line-height: 40px;
    background: #6194ca;
    border: 1px solid #6194ca;
    color: #fff;
    cursor: pointer;
    border-radius: 3px;
}

.map-link2 {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    background: #6194ca;
    border: 1px solid #6194ca;
    color: #fff;
    cursor: pointer;
    border-radius: 3px;
    vertical-align: bottom;
    padding: 0 5px;
}


.offer-toggler {
    color: #333;
    padding: 2px 8px;
    margin-right: 1rem;
    display: inline-block;
    cursor: pointer;
    border-radius: 7px;
}

.offer-toggler.active {
    background: #6194ca;
    color: #fff;
    cursor: default;
}

.map-link {
    position: absolute;
    right: 1px;
    top:2px;
    bottom: 2px;
    display: inline-block;
    background-color: #fff;
    border-left: 1px solid #ddd;
    line-height: 37px;
    padding: 0 9px;
    font-size: 12px;
    cursor: pointer;
}
.map-link:hover {
    background-color: #f1f1f1;
}

@media screen and (max-width: 575px) {
    
    .realty-filter input[type=submit], .map-link2 {
        height: 35px;
        line-height: 35px;
    }

}

ul.filter-switcher {
    display: flex;
    margin: 0;
    padding: 0;
    border: 1px solid #acc1da;
    border-radius: 3px;
    list-style: none;
    background-color: #fff;
    height: 40px;
    line-height: 40px;
}

ul.filter-switcher li {
    cursor: pointer;
    margin: 0;
    padding:0 10px;
    border-right: 1px solid #b6c9e0;
    text-align: center;
}

ul.filter-switcher li:last-child {
    border-right: none;
}

ul.filter-switcher li.active {
    background-color: #b6c9e0;
    color:#fff;
    border-right-color: #fff;
}

.rooms-list {
    width: 190px;
}



.rooms-list li {
    width: 20%;
}


@media screen and (max-width: 575px) {
    ul.filter-switcher {
        height: 35px;
        line-height: 35px;
    }
}

.filter-items {
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    line-height: 13px;
    margin-bottom: 10px;
}

.filter-item {
    position: relative;
    margin-right: 10px;
    padding: 8px 30px 8px 10px;
    border: 1px solid #e0a02b;
    border-radius: 5px;
    background-color: #FBFFD0;
    margin-bottom: 10px;
    white-space: nowrap;
}

.filter-item a {
    color: inherit;
    text-decoration: none;
}

.filter-item-delete {
    position: absolute;
    width: 25px;
    right: 0;
    top: 0;
    bottom: 0;
    padding-top: 8px;
    line-height: 1;
    text-align: center;
    cursor: pointer;
}

.filter-item-delete:before {
    content: "\f00d";
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    color: #e0a02b;
}

#filter-modal input[type=number] {
    max-width: 110px;
    display: inline-block;
}

.form-group-area input[type=number] {
    max-width: 90px !important;
}

@media screen and (min-width: 576px) {
    #filter-modal select {
        max-width: 250px;
    }
}

.filter-geo {}

.filter-geo_active .geo-search-results {
    display: block;
}

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

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

.geo-search-result-item.not-clickable {
    cursor: default;
}

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

.geo-search-result-item.not-clickable:hover {
    background-color: transparent;
}

.filter-label {
    color: #378ecd;
    margin-bottom: 5px;
}

.geo-items {
    clear: left;
}

.geo-item {
    float: left;
    position: relative;
    margin-right: 10px;
    margin-top: 10px;
    padding: 5px 30px 5px 10px;
    border: 1px solid #e0a02b;
    border-radius: 5px;
    background-color: #FBFFD0;
}

.geo-item a {
    color: inherit;
    text-decoration: none;
}

.geo-delete {
    position: absolute;
    right: 7px;
    top: 50%;
    margin-top: -5px;
    cursor: pointer;
    line-height: 1;
}

.geo-delete:before {
    content: "\f00d";
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    color: #e0a02b;
}



/* MAP MODAL */

#map-modal .modal-dialog {
    height: 90%;
}

#map-modal .modal-content {
    height: 100%;
}

#map-modal .modal-header {
    align-items: center;
}

#map-modal .modal-body {
    height: calc(100% - 51px);
}

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

.draw-icon.active {
    color: orange;
}

@media only screen and (max-width: 575px) {
    #map-modal .modal-dialog {
        height: 100%;
        margin: 0;
    }

    #map-modal .modal-body {
        padding: 0;
    }

    #map-modal .modal-content {
        border: none;
        border-radius: 0;
    }

    #map-modal .modal-header {
        padding: 0.7rem;
    }

}


/* OBJECTS LIST */


.direct-list .yap-layout__picture {
    margin-right: 10px !important;
}

.realty-row {
    padding: 22px 0;
    border-bottom: 1px dotted #eaeeff;
}


@media only screen and (max-width: 576px) {
    .realty-row {
        padding: 14px 0;
    }
}

.realty-row:first-child {
    border-top: 1px dotted #eaeeff;
}

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

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

.realty-list-picture-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;
}

.realty-row-buttons {
    font-size: 0.93rem;
    display: flex;
    margin-top: 1rem;
    padding-bottom: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.realty-row-button {
    color: #3585d0;
}

@media only screen and (min-width: 576px) {
    .realty-row-button {
        margin-right: 1.5rem;
    }
}

/* убираем отступы для мобилки, а то слишком широко */
@media only screen and (max-width: 575px) {
    .realty-row {
        margin-right: 0;
        margin-left: 0;
    }

    .realty-row .col-img {padding-right: 8px;}
    .realty-row .descr-col {padding-left: 8px;}
}

/* заголовок объявления*/
.realty-row .object-title {
    line-height: 1.3;
}

.realty-row.not-active .object-title a {
    cursor: text;
    text-decoration: none;
    color:#222;
}

.realty-row.not-active .object-title a:hover {
    cursor: text;
    text-decoration: none;
}

.realty-row.not-active .col-img, .realty-row.not-active .object-title, .realty-row.not-active .object-addr, .realty-row.not-active .object-price {
    opacity: 0.3;
}

@media only screen and (min-width: 576px) {
    .realty-row .object-title {
        font-size: 1.07rem; /* 15px */
    }
}

/* адрес */
.object-addr, .object-metro, .object-gk, .object-land {
    line-height: 1.2;
}
.object-gk, .object-metro {
    font-size: 0.93rem;
}

@media only screen and (max-width: 576px) {
    .object-addr, .object-metro, .object-gk, .object-land {
        font-size: 0.93rem; /* 13px */
    }
}

/* цена */
.object-price {
    font-weight: bold;
    font-size: 1.21rem; /* 17px */
}


.fav-icon {
    color: #ccc;
    cursor: pointer;
    text-decoration: none;
}

.fav-icon:hover {
    color: #ccc;
    text-decoration: none;
}

.fav-icon.checked {
    color: orange;
}


.list-related {
    padding: 0.5rem 0 0.5rem 2rem;
    border-left: 1px solid #dee2e6;
}

.list-related-block {
    margin-bottom: 1.5rem;
}

.list-related-block:last-child {
    margin-bottom: 0;
}

.list-related-block-title {
    font-size: 15px;
    margin-bottom: 5px;
    color: #333;
}

.list-related ul {
    margin: 0;
    list-style: none;
    padding: 0;
}

.list-related ul li {
    margin-right: 20px;
    display: inline-block;
    line-height: 2;
}

.object-counter {
    color: #999;
}


/* CARD */

.object-header {
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .object-header {
        margin-bottom: 2rem;
    }
}

.card_top_panel {
    background: #f1f1f1;
    display: inline-block;
    padding: 4px 0;
    border-radius: 5px;
    display: flex;
    font-size: 0.857rem;
    margin: 0;
}

.card_top_panel li {
    padding: 0px 10px;
    display: inline;
    border-right: 1px dotted #c5c5c5;
}

.card_top_panel li:last-child {
    border-right: 0px;
}

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


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

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

@media (max-width: 575px) {
    .card-price {
        font-size: 21px;
        line-height: 21px;
    }
    .card-currency {
        font-size: 1rem;
    }
}

.mls {
    color: #444;
    padding-left: 35px;
    background: url(/img/icon_mls.png) 0 3px 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;
}

.object-page-columns > div:last-child {
    flex-basis: 160px;
    margin-left: 2rem;
}

@media only screen and (max-width: 1280px) {
    .object-page-columns > div:last-child {
        display: none;
    }
}

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

@media only screen and (max-width: 575px) {
    .object-page-columns > div  {
        margin: 0 -15px !important;
    }
}


.card-main-image {
    display: block;
    position: relative;
}

.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-no-image {
    height: 200px;
    background: #F8F8F8 url(/images/no_photo_for_object2.png) center center no-repeat;
    border: 1px solid #eee;
    margin-bottom: 30px;
}

.img-wrapper {
    margin-bottom: 30px;
    position: relative
}

.img-slider {
}

.img-slider a {
    cursor: zoom-in;
}

.img-slider img {
    width: 100%;
}

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

#loadMap a {
    text-decoration: none;
    border-bottom: 1px dotted;
}

.card-map {
    border: 1px solid #f1f1f1;
    height: 300px;
    margin-bottom: 30px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.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 {
    color: #222;
}

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

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

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

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

@media (max-width: 575px) {

    .object-infoblock {
        border: none;
    }

    .object-infoblock-header {
        background: transparent;
    }
}

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

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

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

.object_info td.descr {
    color: inherit;
    padding-top: 1rem;
}


.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;
}



/* FRONT PAGE */

.leftcol {
    width: 25%;
    float: left;
}

/*.maincol {float: right; width: 73%;}*/
.maincol {
    float: none;
    width: 100%;
}

.objstat {
    margin-bottom: 20px;
}

.objstat-col {
    float: left;
    width: 50%;
    margin-bottom: 20px;
}

@media only screen and (max-width: 1024px) {
    .leftcol {
        display: none;
    }

    .maincol {
        float: none;
        width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    .objstat-col {
        float: none;
        width: 100%;
    }
}


.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;
}


.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);
}

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

/* Конец меню */
/* навигационная строка */
.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_con {
    width: 100%;
    float: right;
}

.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;
    font: 12px tahoma, verdana;
    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;
    font: 12px tahoma, verdana;
    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 {
    font: bold 12px tahoma, verdana;
    color: #b63737;
}

.tpl_big {
    font: bold 12px tahoma, verdana;
}

.tpl_small {
    font: 12px tahoma, verdana;
}

/* .tpl_tables a{ color: #3e5464; text-decoration: none; } */
.tpl_tables a:hover {
    color: #b63737;
}

.tpl_tablesot {
    font: bold 12px tahoma, verdana
}

.bold {
    font-weight: bold;
}

.tpl_tablesot1 {
    margin-left: 15px;
}

.tpl_tablesot2 {
    margin-left: 30px;
}

.tpl_even td {
    background-color: #f0f0f0;
    border-bottom: 1px solid #e9e9e9;
}

.tpl_odd td {
    background-color: #fdfdfd;
    border-bottom: 1px solid #e9e9e9
}

.tpl_rec td {
    height: 28px;
    padding: 0 3px 0 3px;
}

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;
    font: 12px tahoma, verdana;
}

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

.tpl_block strong {
    font: bold 12px tahoma, verdana;
}

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

.tpl_mtext {
    width: 225px;
    height: 80px;
    font: 12px tahoma, verdana;
}

.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:center; padding:3px 0px 4px 0px;margin:20px 10px 20px 10px;}
*html div.pagenav{padding-top:0px;margin-top:0px;}
div.pagenav a,div.pagenav span{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;}
div.pagenav a:hover{background:#e7f0ef;}
div.pagenav span{color:#e7e7e7;}
div.pagenav span.nav_active{background:#3e6da1;color:white;}
*/
/* END page navigation */

.introtext {
    color: #3e5464;
    font: 11px tahoma, arial, sans-serif, verdana;
    margin: 2px 5px;
}

div.introtext {
    color: #3e5464;
    font: 11px tahoma, arial, sans-serif, verdana;
    margin: 2px 5px 10px 5px;
}

.m_dcon {
    margin-top: 2px;
    font: 10px tahoma, arial, sans-serif, verdana;
    color: #698192
}

.m_content {
    margin: 5px;
    width: 100%;
    font: 12px tahoma, sans-serif;
    line-height: 130%;
}

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

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


/* 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: 0 1px 1px 0;
    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], #registration select {
    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;
}

.pree {
    font-size: 11px;
    margin-top: 3px;
    color: #777;
}


/* СТРАНИЦА ФИРМЫ */
.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;
}


/* 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;
}


/* 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-green {
    background-image: linear-gradient(to bottom, #B0DD7C, #8CCA3F);
    background-color: #B0DD7C;
    border-color: #8CBF3F;
    color: #fff;
    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;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}


/* 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
}

.fs10px {
    font-size: 10px
}

.fs11px {
    font-size: 11px
}

.fs12px {
    font-size: 12px
}

.fs13px {
    font-size: 13px
}

.fs14px {
    font-size: 14px
}

.fs15px {
    font-size: 15px
}

.fs16px {
    font-size: 16px
}

.fs17px {
    font-size: 17px
}

.fs18px {
    font-size: 18px
}

.fs20px {
    font-size: 20px
}

.fs26px {
    font-size: 26px
}

.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
}

