.default-style .sidenav .app-brand.demo {
    height: 66px;
}

.material-style .sidenav .app-brand.demo {
    height: 70px;
}

.app-brand-logo.demo {
    display: -ms-flexbox;
    display: flex;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.app-brand-logo.demo svg {
    width: 20px;
    height: 11px;
}

.app-brand-text.demo {
    font-size: 1.1rem;
}

.layout-1 .layout-sidenav .app-brand.demo,
.layout-1 .layout-sidenav .app-brand.demo + .sidenav-divider,
.layout-reversed .layout-2 .layout-sidenav .app-brand.demo {
    display: none;
}

.layout-1 .layout-navbar .app-brand.demo,
.layout-reversed .layout-2 .layout-navbar .app-brand.demo {
    display: -ms-flexbox !important;
    display: flex !important;
}

.layout-1 .layout-navbar .layout-sidenav-toggle,
.layout-reversed .layout-2 .layout-navbar .layout-sidenav-toggle,
.layout-offcanvas .layout-navbar .layout-sidenav-toggle,
.layout-fixed-offcanvas .layout-navbar .layout-sidenav-toggle {
    display: block !important;
}

@media (min-width: 992px) {
    .layout-offcanvas .layout-sidenav .layout-sidenav-toggle,
    .layout-fixed-offcanvas .layout-sidenav .layout-sidenav-toggle {
        display: none;
    }
}

/* *****************************************************************************
 * Navbar
 */

.demo-navbar-messages .dropdown-toggle,
.demo-navbar-notifications .dropdown-toggle,
.demo-navbar-user .dropdown-toggle,
.demo-navbar-messages.b-nav-dropdown .nav-link,
.demo-navbar-notifications.b-nav-dropdown .nav-link,
.demo-navbar-user.b-nav-dropdown .nav-link {
    white-space: nowrap;
}

.demo-navbar-messages .dropdown-menu,
.demo-navbar-notifications .dropdown-menu {
    overflow: hidden;
    padding: 0;
}

@media (min-width: 992px) {
    .demo-navbar-messages .dropdown-menu,
    .demo-navbar-notifications .dropdown-menu {
        margin-top: .5rem;
        width: 22rem;
    }

    .demo-navbar-user .dropdown-menu {
        margin-top: .25rem;
    }
}


/* *****************************************************************************
 * Content
 */

.demo-vertical-spacing > * + * {
    margin-top: 1.875rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-sm > * + * {
    margin-top: .9375rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg > * + * {
    margin-top: 5rem !important;
    margin-bottom: 0 !important;
}

.demo-inline-spacing > *,
.demo-paragraph-spacing > p > * {
    margin: 0 .375rem .9375rem 0 !important;
}

.demo-paragraph-spacing > p {
    margin: 0;
}

.demo-blocks > * {
    display: block !important;
}

html:not(.material-style) .material-style-only {
    display: none !important;
}

.rtl-only {
    display: none !important;
    text-align: left !important;
    direction: ltr !important;
}

[dir=rtl] .rtl-only {
    display: block !important;
}

/* *****************************************************************************
 * Layouts
 */

.layout-example-block {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, .04);
    border-radius: 2px;
    background: rgba(0, 0, 0, .04);
    color: #c7254e;
}

.layout-example-block code {
    background: none;
    color: #666;
}

.layout-example-block-inner {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: stretch;
    align-items: stretch;
    -ms-flex-pack: justify;
    justify-content: space-between;
    height: 500px;
}

.layout-example-block-sidenav {
    width: 24%;
    background: #607d8b;
}

.layout-example-block-sidenav code {
    color: #fff;
}

.layout-example-block-navbar {
    background: #3ca99e;
}

.layout-example-block-navbar code {
    color: #fff;
}

.layout-example-block-content {
    background: #9e9e9e;
}

.layout-example-block-content code {
    color: #fff;
}

.layout-example-block-1 .layout-example-block-content {
    width: 74%;
}

.layout-example-block-2 .layout-example-block-container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 74%;
}

.layout-example-block-2 > .layout-example-block {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

.layout-example-block-2 .layout-example-block-content {
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.layout-example-block-1-no-sidenav .layout-example-block-content {
    width: 100%;
}

.layout-example-code {
    display: block;
    overflow: auto;
    margin: 0;
    padding: 30px;
    min-width: 0;
    width: 100%;
    background: #fff;
}

.layout-example-run {
    display: inline-block;
    margin: 3px;
    padding: 4px 6px;
    border: 1px solid #eee;
    background: transparent;
    white-space: nowrap;
    line-height: 1;
}

.layout-example-block-3 .layout-example-block-inner {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}

.layout-example-block-3 .layout-example-block-inner > .layout-example-block {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

.layout-example-block-3 .layout-example-block-inner .layout-example-block-container-fluid {
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.layout-example-block-3 .layout-example-block-sidenav-horizontal {
    background: #607d8b;
}

.layout-example-block-3 .layout-example-block-container-fluid {
    background: #fff;
}

.layout-example-block-3 .layout-example-block-container-fluid code {
    color: #666;
}

.layout-example-block-3 .layout-example-block-footer {
    background: #e6514a;
}


/*Sokolov E*/

/* Spinner */
.show-spinner {
    pointer-events: none;
    opacity: 0.4;
}

.show-spinner::before {
    content: " ";
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    border-top-color: rgba(0, 0, 0, 0.3);
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
    left: calc(50% - 15px);
    top: calc(50% - 15px);
    position: fixed;
    z-index: 1;
}

.catalog .tree-node {
    cursor: pointer;
}

.catalog .icon-th {
    width: 50px;
    text-align: center;
}

.catalog .non_active, .catalog .non_active a {
    text-decoration: line-through;
    color: #5a626875 !important;
}

.input-group > .twitter-typeahead {
    position: relative;
    -ms-flex: 1 1 auto;
    -webkit-box-flex: 1;
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0;
}

.input-group > .twitter-typeahead:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group > .twitter-typeahead > .tt-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.form-control.tt-input:focus {
    z-index: 3
}

.default-style .select2-container--bootstrap.select2-container--focus .select2-selection, .default-style .select2-container--bootstrap.select2-container--open .select2-selection {
    border-color: #17b3a3 !important;
}

form .has-error {
    width: 100%;
}

.has-error .select2-selection {
    border-color: rgb(185, 74, 72) !important;
}

.select2-container--bootstrap .select2-results__group {
    font-size: .75rem !important;
    color: #a3a4a6 !important;
    white-space: nowrap !important;
    font-weight: 400 !important;
}

/*Правое Меню*/

/* 12.Apps*/
.app-menu {
    z-index: 1;
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.04), 0 1px 6px rgba(0, 0, 0, 0.04);
    width: 280px;
    height: 100%;
    float: right;
    background: white;
    transition: transform 300ms;
    position: fixed;
    right: 0;
    /* top: 120px; */
    top: 59px;
}

@media (max-width: 1439px) {
    .app-menu {
        top: 90px;
    }
}

@media (max-width: 1199px) {
    .app-menu {
        top: 80px;
        transform: translateX(280px);
    }
}

@media (max-width: 767px) {
    .app-menu {
        top: 70px;
    }
}

.app-menu .scroll .ps__thumb-y {
    right: 0;
}

.app-menu.shown {
    transform: translateX(0);
}

.app-menu .app-menu-button {
    position: absolute;
    left: -28px;
    background: white;
    top: 45px;
    padding: 12px 8px 12px 5px;
    border-radius: 0.2rem;
    color: #8f8f8f;
    box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.04);
    font-size: 15px;
    line-height: 0;
}

.app-menu ul li {
    margin-bottom: 5px;
}

.app-menu ul li a {
    font-size: 13px;
    display: block;
    padding: 3px 0;
}

.app-menu ul li a:hover i {
    color: #145388;
}

.app-menu ul li i {
    font-size: 1.2em;
    margin-right: 10px;
    color: #8f8f8f;
    vertical-align: unset;
}

@media (max-width: 767px) {
    .app-menu ul li i {
        font-size: 20px;
    }
}

.app-menu ul li.active i,
.app-menu ul li.active a {
    color: #145388;
}

@media (max-width: 1199px) {
    .app-row {
        padding-right: 0;
    }
}


.app-row {
    padding-right: 289px;
}

.text-small {
    font-size: 0.76rem !important;
    line-height: 0.9rem !important;
}

/*Таблица при наведении*/
.table-hover a {
    color: black;
}

.table-hover tbody tr:hover {
    cursor: pointer;
}

.table .non_active, .table .non_active a {
    text-decoration: line-through;
    color: #5a626875 !important;
}


.input-group > .select2-container--bootstrap {
    flex-grow: 1;
    width: auto !important;
}

.table .non_active, .table .non_active a {
    text-decoration: line-through;
    color: #5a626875 !important;
}

.app-menu .col-form-label {
    font-weight: inherit;
    padding-top: 20px;
}

.app-menu .btn-default:hover {
    border-color: rgba(24, 28, 33, 0.1);
    background: rgba(24, 28, 33, 0.06);
    color: #4E5155;
}

.app-menu .btn-default {
    border-color: rgba(24, 28, 33, 0.1);
    background: rgba(0, 0, 0, 0);
    color: #4E5155;
}

#layout-navbar {
    /*height: 55px;*/
    z-index: 1;
}

body {
    font-size: .800rem;
}

.layout-sidenav {
    overflow-y: auto;
}

.layout-sidenav::-webkit-scrollbar {
    width: 1px;
}

.layout-sidenav::-webkit-scrollbar-thumb {
    background-color: #888;
}

.layout-sidenav::-webkit-scrollbar-thumb:hover {
    background-color: #25282E;
}

.layout-sidenav::-webkit-scrollbar-track {
    background-color: rgba(241, 241, 241, 0.6);
}

.sidenav-vertical, .sidenav-vertical .sidenav-block, .sidenav-vertical .sidenav-inner > .sidenav-item, .sidenav-vertical .sidenav-inner > .sidenav-header {
    width: 14.625rem;
}

.app-brand-text.demo {
    font-size: 1rem;
}

.app-brand-logo.demo {
    width: 27px;
    height: 27px;
}

.dark-style .sidenav .app-brand.demo {
    height: 55px;
}

/*.id_polygon_map {*/
/*    width: 100%!important;*/
/*}*/

.ya-map {
    filter: invert(100%);
    -ms-filter: invert(100%);
    -webkit-filter: invert(100%);
    -moz-filter: invert(100%);
    -o-filter: invert(100%);
}

.suggestions-suggestions {
    background: #25282E !important;
}

.suggestions-selected {
    background: #db4e50 !important;
}

.suggestions-selected:hover {
    background: #db4e50 !important;
}

.suggestions-suggestion:hover {
    background: #db4e50 !important;
}

.suggestions-suggestions strong {
    /*font-weight: normal;*/
    color: #d9c8c8 !important;
}

#toast-container > div {
    width: 60em !important;
}

.icon-point {
    -webkit-filter: invert(1);
    filter: invert(1);
    max-height: 54px;
}

.icon-bus-station {
    filter: invert(1) sepia(13%) saturate(3207%) !important;
}

#cms-top-navigations {
    height: 40px;
}

.input-group > .select2-container--default {
    width: auto !important;
    flex: 1 1 auto;
}

/*.select2-container {*/
/*  position: relative;*/
/*  z-index: 2;*/
/*  float: left;*/
/*  width: 100%;*/
/*  margin-bottom: 0;*/
/*  display: table;*/
/*  table-layout: fixed;*/
/*}*/

/*.input-group > .select2-container--default  .select2-selection--single {*/
/*    height: 100%;*/
/*    line-height: inherit;*/
/*    padding: 0.5rem 1rem;*/
/*}*/

.input-group-append .icon-btn.disabled.borderless {
    border: none
}

.select2-selection__rendered {
    /*max-width: 70ch;*/
    min-width: 100%;
    container-type: inline-size;
}

/* Календарь */

.day-month-picker .day.old, .day-month-picker .datepicker-switch, .day-month-picker .day.new {
    display: none;
}

.day-month-picker .table-condensed thead {
    display: none;
}

.day-month-picker .datepicker table tr td.active {
    background-color: #818fa2 !important;
}

.day-month-picker .datepicker table tr td.active.inverse, .calendar-result .datepicker table tr td.active.inverse {
    background-color: #fc5a5c !important;
}

.calendar-result .prev, .calendar-result .next, .calendar-result .datepicker-switch {
    pointer-events: none;
    cursor: default;
}

.form-calendar-container .btn-group-toggle .inverse {
    border-color: rgba(0, 0, 0, 0);
    background: #ce4f4b !important;
    color: #fff;
    box-shadow: none;
}

.form-calendar-container .datepicker table tr td.active-day, .calendar-result .datepicker table tr td.active {
    background: #02bc77 !important;
}


.calendar-result .day.old, .calendar-result .day.new {
    opacity: .3;
    pointer-events: none;
    cursor: default;
    background: none !important;
}

.dark-style .datepicker table tr td.today {
    background: #73654C !important;
    color: #fff !important;
}

#property_form {

}

/*#property_form .input-group {*/
/*    width: 100%!important;*/
/*}*/

/*#property_form .input-group .select2-container--default {*/
/*    width: 100%!important;*/
/*}*/


.select2-selection__clear {
    position: absolute;
    top: 10px;
    right: 34px;
}

.text-decoration-line-through {
    text-decoration: line-through;
}


#div_id_count_adult {
    width: 181px !important;
}

#div_id_count_child {
    width: 181px !important;
}

#div_id_count_baggage {
    width: 362px !important;
}

.app-brand-logo img {
    height: 36px;
    border-radius: 10px;
}

.table-responsive a {
    color: #fff !important;
}

.table-responsive a[href]:hover {
    color: #96defb !important;
}

input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #3c3f45 inset !important;
}

form input:-webkit-autofill {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

.navbar-search-input {
    overflow: inherit !important;
}

.objects-scroll-content {
    background-color: #25282e;
    /*position:absolute !important;*/
    padding-left: 1.5rem;
    padding-right: 1rem;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%
}

.objects-wrapper {
    position: relative;
    display: -ms-flexbox;
    flex-direction: column;
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
    width: 100%
}

.optional-menu-sidebox, .objects-content {
    transition: all .2s
}

.objects-content {
    background: rgba(0, 0, 0, 0)
}

.optional-menu-sidebox {
    position: fixed;
    top: 0;
    right: -20rem;
    height: 100%;
    width: 20rem
}

[dir=rtl] .optional-menu-sidebox {
    right: auto;
    left: -20rem
}

.layout-sidenav-100vh .optional-menu-sidebox {
    height: 100vh
}

.objects-sidebox-open .optional-menu-sidebox {
    right: 0
}

[dir=rtl] .objects-sidebox-open .optional-menu-sidebox {
    right: auto;
    left: 0
}

.optional-menu-settings {
    position: absolute;
    left: 20px;
    z-index: -1;
    display: block;
    width: 40px;
    height: 40px;
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
    background: #444;
    color: #fff !important;
    text-align: center;
    font-size: 20px !important;
    line-height: 40px;
    opacity: 1;
    -webkit-transition: all .1s linear .2s;
    -o-transition: all .1s linear .2s;
    transition: all .1s linear .2s;
    -webkit-transform: translateX(-60px);
    -ms-transform: translateX(-60px);
    transform: translateX(-60px);
}

[dir=rtl] .optional-menu-settings {
    right: 1rem;
    left: auto
}

.light-style .optional-menu-sidebox {
    z-index: 1081
}

@media (min-width: 992px) {
    .light-style .optional-menu-sidebox {
        position: absolute;
        z-index: 1
    }

    .light-style .objects-sidebox-open .objects-content {
        right: 20rem
    }
}

@media (min-width: 992px) {
    .light-style[dir=rtl] .objects-sidebox-open .objects-content {
        right: 0;
        left: 20rem
    }
}

.material-style .optional-menu-sidebox {
    z-index: 1081
}

@media (min-width: 992px) {
    .material-style .optional-menu-sidebox {
        position: absolute;
        z-index: 1
    }

    .material-style .objects-sidebox-open .objects-content {
        right: 20rem
    }
}

@media (min-width: 992px) {
    .material-style[dir=rtl] .objects-sidebox-open .objects-content {
        right: 0;
        left: 20rem;
        width: calc(100% - 20rem);
    }
}

.dark-style .optional-menu-sidebox {
    /*z-index: 1081;*/
    /*z-index: 2;*/
}

.navbar-search-input .twitter-typeahead {
    width: 40rem;
}

.navbar-search-input .twitter-typeahead input {
    width: 100%;
}

.navbar-search-input .twitter-typeahead .tt-menu {
    width: 100%;
}

.navbar-search-input .twitter-typeahead .tt-menu .tt-suggestion {
    white-space: break-spaces;
}

@media (min-width: 992px) {
    .dark-style .optional-menu-sidebox {
        position: fixed;
        top: 3.7rem;
    }

    .dark-style .objects-sidebox-open .objects-content {
        right: 20rem;
        min-height: 20rem;
        width: calc(100% - 20rem);
    }
}

@media (min-width: 992px) {
    .dark-style[dir=rtl] .objects-sidebox-open .objects-content {
        right: 0;
        left: 20rem
    }
}


@media (max-width: 992px) {

    .optional-menu-settings {
        top: 7.6rem;
    }

    .navbar-search-input .twitter-typeahead {
        width: 20rem;
    }

    .dark-style .optional-menu-sidebox {
        z-index: 2;
    }

}


.counter-widget .widget-icon {
    font-weight: bold !important;
}

.with-sidebox {
    padding-right: 21rem !important;
}

@media (min-width: 992px) {
    .layout-fixed:not(.layout-collapsed) .layout-container, .layout-fixed-offcanvas:not(.layout-collapsed) .layout-container {
        padding-left: 14.625rem !important;
    }
}

.diffs {
    display: grid;
    word-break: break-word;
}

.left-div {
    float: left;
    width: 40%;
    display: inline-block;
}

.right-div {
    float: right;
    width: 60%;
    display: inline-block;
}