/* Dark mode styles */

.dark-theme ::-webkit-input-placeholder {
    color: #7f7f7f;
}
.dark-theme :-moz-placeholder {
    color: #7f7f7f;
}
.dark-theme ::-moz-placeholder {
    color: #7f7f7f;
}
.dark-theme :-ms-input-placeholder {
    color: #7f7f7f;
}

.dark-theme {
    background-color: #242221;
}

.dark-theme .hlight {
    background: #3e3b3a;
}

.dark-theme .text-info,
.dark-theme .statistics-box__count {
    color: white !important;
}

.dark-theme .details-icon-fill {
    fill: #ffffff !important;
}
.dark-theme .header-usernav-icon-fill {
    fill: #ffaa52 !important;
}

.dark-theme a:hover,
.dark-theme a:active,
.dark-theme .link:hover,
.dark-theme ul.tabs:not(.tabs-hash) > li:hover,
.dark-theme ul.tabs.tabs-hash > li a:hover,
.dark-theme input[type=radio].multiline:checked + label,
.dark-theme input[type=checkbox].multiline:checked + label {
    color: #FFAA53;
}

.dark-theme input[type=submit],
.dark-theme input[type=button]:not(.call-owner),
.dark-theme .file-input span,
.dark-theme a.button,
.dark-theme .btn {
    background-color: #FFAA53;
    color: #111111;
}
.dark-theme input[type=submit]:hover,
.dark-theme input[type=button]:not(.call-owner):hover,
.dark-theme a.button:not(.disabled):hover,
.dark-theme .file-input span:hover,
.dark-theme .btn:hover {
    background: #FFCA94;
}

.dark-theme input[type=text],
.dark-theme input[type=search],
.dark-theme input[type=number],
.dark-theme input[type=password],
.dark-theme textarea,
.dark-theme select,
.dark-theme span.pills,
.dark-theme .search-form-cell > div > div input[type=text],
.dark-theme .search-form-cell > div > div input[type=number],
.dark-theme .search-form-cell > div > div select,
.dark-theme .search-form-cell > div > div span.pills,
.dark-theme .select2-selection--single,
.dark-theme .select2-selection--multiple,
.dark-theme .select2-dropdown,
.dark-theme .search-form-cell > div > div .select2-selection--single {
    background-color: #1A1817 !important;
    border-color: #383534;
    color: #d4d4d4;
}
.dark-theme .select2-results__option--selected {
    background-color: rgba(95,95,95,.3) !important;
}
.dark-theme .select2-results__option--highlighted {
    background-color: rgba(255,209,162,.45);
}
.dark-theme select,
.dark-theme .search-form-cell > div > div select,
.dark-theme .select2-selection--single .select2-selection__arrow {
    color: #FF9B34;
    background-image: url('../img/dropdown-arrow-orange.svg');
}
.dark-theme .select2-selection--single,
.dark-theme .search-form-cell > div > div .select2-selection--single {
    color: #FF9B34 !important;
}

.dark-theme input:hover,
.dark-theme select:hover,
.dark-theme .select2-selection--single:hover,
.dark-theme .search-form-cell > div > div input:hover,
.dark-theme .search-form-cell > div > div select:hover,
.dark-theme .search-form-cell > div > div .select2-selection--single:hover {
    border-color: #7f7f7f;
}
.dark-theme input[type=text]:focus,
.dark-theme input[type=password]:focus,
.dark-theme input[type=number]:focus,
.dark-theme select:focus,
.dark-theme .select2-selection--single:focus,
.dark-theme .search-form-cell > div > div input[type=text]:focus,
.dark-theme .search-form-cell > div > div input[type=number]:focus,
.dark-theme .search-form-cell > div > div select:focus,
.dark-theme .search-form-cell > div > div .select2-container:not(.select2-container--disabled) .select2-selection--single:focus {
    border-color: #de8239 !important;
    background-color: #1A1817;
}
.dark-theme select.disabled,
.dark-theme select[disabled=disabled],
.dark-theme input[disabled=disabled],
.dark-theme .search-form-cell > div > div select.disabled,
.dark-theme .search-form-cell > div > div select[disabled=disabled],
.dark-theme .search-form-cell > div > div input[disabled=disabled],
.dark-theme .select2-container--disabled .select2-selection--single {
    background-color: #302D2C;
    color: #828282;
    filter: grayscale(1);
    border-color: #454342 !important;
}
.dark-theme span.pills input[type=radio]:checked + label {
    background-color: black;
    color: white;
}
.dark-theme span.pills > label:not(.active) {
    color: #FF9B34;
}
.dark-theme span.pills > label:not(.active):hover,
.dark-theme section.content_block > h3, section.side_block > h3,
.dark-theme h1 {
    color: white;
}
.dark-theme section.content_block:not(.no-style) > div {
    box-shadow: 0 0 0 1px #363534;
}

.dark-theme input[type=text].error,
.dark-theme input[type=password].error,
.dark-theme textarea.error,
.dark-theme select.error,
.dark-theme select.error + .select2-container .select2-selection--single {
    border-color: #f76a6a;
    color: #f76a6a;
    background-color: #1A1817;
}

.dark-theme input[type=checkbox]:not(.default) + label > span,
.dark-theme input[type=radio]:not(.default) + label > span {
    background-color: #1A1817;
    border-color: #383534;
}

.dark-theme div.banner-space {
    box-shadow: inset 0 0 0 1px #363534;
    color: #5f5959;
}

.dark-theme,
.dark-theme .main-menu .menu a,
.dark-theme a.color-light,
.dark-theme .page-footer,
.dark-theme .page-footer .newsletter__text,
.dark-theme table.contacts-list td.info .name,
.dark-theme input[type=radio].multiline + label,
.dark-theme input[type=checkbox].multiline + label,
.dark-theme div.list-table > div.row > div {
    color: #adadad;
}
.dark-theme a.color-light:hover {
    color: #dbdbdb;
}
.dark-theme .page-header-mask,
.dark-theme .page-footer,
.dark-theme .menu .add-property span:before,
.dark-theme .menu .add-property span:after,
.dark-theme section#accounts > article div.picture,
.dark-theme div.gallery div.preview > img,
.dark-theme.listing-fit-contain ul.featured > li:not(.no-picture) img,
.dark-theme.listing-fit-contain div.picture:not(.no-picture):not(.picture-cont) > img {
    background-color: #111111 !important;
}
.dark-theme .search-form-cell > div > span {
    opacity: 1;
}
.dark-theme header.page-header div.top-navigation {
    background: transparent;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,.1);
}
.dark-theme .menu .add-property span,
.dark-theme div.wide-gallery > div.swiper-scrollbar > div,
.dark-theme .upload-files > div span.item > .progress > .progress-bar {
    background: #FFAA53;
}

.dark-theme .circle_opened,
.dark-theme .circle_opened > .content,
.dark-theme .grid_navbar ul.fields,
.dark-theme .grid_navbar .current.active,
.dark-theme div#picture_locked,
.dark-theme .modal_block,
.dark-theme .mobile-menu,
.dark-theme ul#payment_gateways li.active,
.dark-theme ul#payment_gateways li:hover,
.dark-theme ul#messages_area > li.me,
.dark-theme .my-profile-sidebar .image-preview-wrapper .image-preview img,
.dark-theme img.account-picture {
    background-color: #3e3938;
}
.dark-theme .circle > .default {
    color: #FFAA53;
}
.dark-theme .user-navbar .circle_opened > span.default:before {
    filter: none;
}
.dark-theme ul#payment_gateways li {
    box-shadow: inset 0 0 0 2px #3e3938;
}
.dark-theme ul#messages_area > li.me,
.dark-theme div.plans-container:not(.mCustomScrollbar) {
    border-color: #3e3938;
}
.dark-theme ul#messages_area > li.me:before {
    border-color: transparent transparent #3e3938 transparent;
}

.dark-theme .header-contacts svg {
    fill: white;
}

.dark-theme article.featured div.picture div.label {
    background: #FFAA53;
    color: #111111;
}

.dark-theme .grid_navbar ul.fields,
.dark-theme .grid_navbar .current.active {
    box-shadow: none;
    border: 0;
}

.dark-theme ul.featured > li > .picture:hover,
.dark-theme section#listings article:hover div.picture {
    box-shadow: 0 11px 31px -12px rgba(255,209,162,.45);
}

.dark-theme .footer__menu-title {
    color: #9D7E5D;
}
.dark-theme .page-footer .footer-menu ul li a:hover,
.dark-theme .page-footer .footer-menu ul li a.active {
    color: #FF9B34;
}
.dark-theme .footer-data .icons a {
    background: #9D7E5D;
}

.dark-theme .footer-data .icons a:hover {
    filter: brightness(1.5);
    opacity: 1;
}

.dark-theme .grid_navbar .buttons > div > div > span {
    border-color: #959595;
}
.dark-theme .grid_navbar div.active div > span,
.dark-theme .grid_navbar .buttons div:not(.active):hover div > span {
    border-color: #FFAA53;
}
.dark-theme table.stats td.dotted,
.dark-theme table.stats td.counter {
    background-color: #565150;
}

.dark-theme .profile-header nav.icons > *:hover .icon {
    filter: drop-shadow(2px 4px 6px white);
}
.dark-theme .profile-header nav.icons .favorite:hover .icon {
    filter: drop-shadow(2px 4px 6px white);
}

.dark-theme ul.steps {
    box-shadow: inset 0 0 0 2px #363534;
}
.dark-theme ul.steps > li.past,
.dark-theme ul.steps > li.current,
.dark-theme div.fieldset > header,
.dark-theme div.auth,
.dark-theme ul.tabs:not(.tabs-hash) > li.active,
.dark-theme ul.tabs > li.active > a,
.dark-theme .popup > div > div,
.dark-theme .popover > div,
.dark-theme .upload-files > div span.item {
    background: #363534;
}
.dark-theme ul.steps > li:not(:last-child):not(.past):before {
    border-left-color: #363534;
}
.dark-theme ul.steps > li:not(:last-child):not(.past):after {
    border-left-color: #242221;
}
.dark-theme div.fieldset > div.body > div,
.dark-theme ul.tabs,
.dark-theme ul#messages_area > li,
.dark-theme div.list-table > div.header > div {
    border-color: #363534;
}
.dark-theme div.auth div.caption,
.dark-theme .popup > div > div div.caption {
    color: white;
}
.dark-theme img.qtip {
    background-color: rgba(255,170,83, .7);
}
.dark-theme img.qtip:hover {
    background-color: rgba(255,170,83, 1);
}

.dark-theme .modal_block div.inner div.close > div,
/*.dark-theme table.contacts-list div.picture.no-picture img.account-picture,*/
.dark-theme .contacts__handset svg,
.dark-theme .circle > .default:after,
.dark-theme .upload-files nav .icon,
.dark-theme .my-listings div.navigation ul li.nav-icon > a:before {
    filter: invert(1);
}

.dark-theme ul.availability-chart > li > div:first-child,
.dark-theme ul.availability-chart > li:not(:last-child) {
    border-color: #524b49;
}

.dark-theme #modal_mask {
    background: rgba(0,0,0,0.7);
}
.dark-theme .modal_block div.inner div.caption,
.dark-theme .modal_block div.inner div.caption_padding {
    color: white;
}

.dark-theme section#listings div.picture img,
.dark-theme #map_container div.picture img,
.dark-theme ul.featured > li img {
    background: url(../img/no-picture-dark.svg) center center no-repeat #111111;
}

.dark-theme div.alphabetic-saerch > div > a {
    border-color: #544f4e;
}
.dark-theme div.alphabetic-saerch > div > a:hover,
.dark-theme div.alphabetic-saerch > div > a.active {
    color: white;
    background: #707070;
}

.dark-theme article.featured div.picture > span {
    border-color: #FFAA53 !important;
}
.dark-theme article.featured div.picture > span:after {
    background: #FFAA53 !important;
    box-shadow: 0 0 0 2px #FFAA53!important;
    color: #111111;
}

.dark-theme table.list > tbody > tr.header {
    border: 0;
    border-bottom: 2px #363534 solid;
}
.dark-theme table.list > tbody > tr.body {
    border-bottom: 1px #363534 solid;
}
.dark-theme table.contacts-list td.info .name > span:not(.new) {
    color: white;
}

.dark-theme .my-listings div.stat ul > li {
    color: white;
}
.dark-theme .my-listings > article {
    border: 0;
}

.dark-theme ul#messages_area > li:before {
    border-color: transparent transparent #363534 transparent;
}
.dark-theme ul#messages_area > li:after {
    border-color: transparent transparent #242221 transparent;
}
.dark-theme a.font1:hover,
.dark-theme a.active.font1,
.dark-theme .active .font1,
.dark-theme a.font2.active {
    color: #FFAA53;
}

.dark-theme .upload-zone {
    background: #363534;
    border-color: #616161;
}
.dark-theme .upload-zone > span mark {
    color: #E47400;
}
.dark-theme span.menu-button > svg {
    fill: #fea953;
}

.dark-theme div.notification > div > div.message {
    background: #5AA000;
}
.dark-theme div.notification.error > div > div.message {
    background: #B60E3C;
}
.dark-theme div.notification.alert > div > div.message {
    background: #C17600;
}
.dark-theme .masked div.login-mask {
    background: rgba(0,0,0,.6);
    box-shadow: 0 0 6px 6px rgba(0,0,0,.6);
}
.dark-theme .masked div.login-mask p {
    text-shadow: none;
}

.dark-theme .masked div.login-mask p {
    text-shadow: none;
}

/* map items */
.dark-theme .leaflet-bar > a {
    background-color: rgba(113,83,55,.7);
}
.dark-theme .leaflet-bar > a:not(.leaflet-disabled):hover {
    background-color: rgba(113,83,55,1);
}
.dark-theme .marker-cluster div {
    box-shadow: inset 0 0 0 30px #b36719, 0 0 0 4px rgba(0, 0, 0, 0.2);
}

.dark-theme .marker-label > span,
.dark-theme .leaflet-custom-popup_label-style .leaflet-popup-close-button {
    background: #bf7a34 !important;
}
.dark-theme .marker-label > span:before {
    border-top-color: #bf7a34;
}
.dark-theme .leaflet-custom-popup_label-style .leaflet-popup-content-wrapper {
    border-color: #bf7a34;
}
.dark-theme .loading-spinner {
    background-color: rgba(113,83,55,.7);
}

.dark-theme .geo-autocomplete {
    background-color: #1A1817;
    border-color: #383534;
}
.dark-theme .geo-autocomplete > div:hover,
.dark-theme .geo-autocomplete > div.geo-autocomplete__item_active {
    background: rgba(255,255,255,.05);
}
/* map items end */

/* pictures */
.dark-theme #user-navbar > span.default:before,
.dark-theme .footer-data .icons a:before,
.dark-theme .grid_navbar div.map > div > span,
.dark-theme #controller_area div.fieldset > header > span.arrow,
.dark-theme #lnp_container li.nav a:before {
    background-image: url('../img/gallery-dark.png');
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5),
only screen and (min-resolution: 144dpi) {
    .dark-theme #user-navbar > span.default:before,
    .dark-theme .footer-data .icons a:before,
    .dark-theme .grid_navbar div.map > div > span,
    .dark-theme #controller_area div.fieldset > header > span.arrow {
        background-image: url('../img/@2x/gallery2-dark.png');
    }
}
/* pictures end */

/*** ALL DESKTOP VIEWS ***/
@media screen and (min-width: 992px) {
    .dark-theme .main-menu .menu a:not(.add-property):hover,
    .dark-theme .main-menu .menu a.active {
        box-shadow: inset 0 3px 0 #FFAA53;
        color: #FFAA53;
    }
    .dark-theme section.side_block:not(.no-style),
    .dark-theme section.side_block:not(.no-style).seller-short {
        background: #3e3938;
    }
}
/*** ALL TABLET/MOBILE VIEWS ***/
@media screen and (max-width: 991px) {
    .dark-theme .mobile-menu .mobile-menu-header {
        box-shadow: inset 0 -1px 0 rgba(255,255,255,.1);
        color: white;
    }
    .dark-theme span.mobile-menu-header svg {
        fill: #fea953;
    }
}
