header{
    padding: 10px 0;
    height: 70px;
    border-bottom: 1px solid #eee;
}
header .main-logo {
    left: unset;
    top: 0;
}
header .custom-btn{
    font-size: 16px;
    color: #101010;
    margin-left: 15px;
    width: 35px;
    height: auto;
}
header .custom-btn img{
    height: 16px;
    margin: 0 5px 0 0;
}
header .custom-btn.filters-btn, header .custom-btn.menu-btn{
    padding: 0;
}
header .custom-btn.filters-btn img, header .custom-btn.menu-btn img{
    float: none;
    margin: 0;
}
header .menu-btn{
    margin: 4px 0 4px 10px;
    height: 25px;
    width: 25px;
    float: left;
}
header .menu-btn img{
    height: 14px !important;
}

header .profile-btn{
    height: 25px;
    width: 25px;
    border-radius: 50%;
    padding: 0;
    margin: 4px 5px 4px 10px;
    text-align: center;
    overflow: hidden;
}
header .profile-btn img{
    width: 100%;
}


header .rounded-container{
    border-radius: 35px;
    height: 35px;
    border: 1px solid #000;
    display: inline-block;
    float: right;
    margin-left: 10px;
    min-width: 35px;
}

header .search-panel {
    display: inline-block;
    float: left;
}
.rounded-btn {
    border-radius: 50%;
    border: 1px solid #000;
    height: 35px !important;
    min-width: 35px !important;
    padding: 0;
}
.filters-btn.rounded-btn img{
    width: 20px;
    height: 20px;
}

footer{
    background: #fff;
    padding: 20px 0;
    height: 60px;
    border-top: 1px solid #eee;
}
footer .copy{
    float: left;
    font-size: 15px;
    font-weight: 500;
}

footer .underline-link{
    text-decoration: underline;
    font-size: 15px;
    color: #000;
}

.chat-messages-container::-webkit-scrollbar, .chats-list::-webkit-scrollbar {
    width: 8px;
}
.chat-messages-container::-webkit-scrollbar-thumb, .chats-list::-webkit-scrollbar-thumb {
    background: var(--gray-color);
    border-radius: 10px;
}
.sidebar .sidebar-container {
    width: 400px;
    overflow: hidden;
}

.custom-btn{
    transition: all .3s ease;
}

.custom-menu {
    position: absolute;
    width: 250px;
    right: calc((100% - 1200px) / 2);
    text-align: center;
    background: #fff;
    border-radius: 8px;
    top: 70px;
    padding: 20px 0;
    z-index: 2;
    box-shadow: 0px 0px 3px #00000029;
    overflow: hidden;
    display: none;
}

.custom-menu.open{
	display: block;
}
.custom-menu .menu{
    margin: 0;
}
.custom-menu .menu .menu-item{
    margin: 5px 0;
    display: block;
}
.custom-menu .menu .menu-item .menu-link, .custom-menu .menu .menu-item .menu-btn {
    font-weight: 500;
    display: inline-block;
    padding: 5px;
    width: 70%;
    color: #000;
    border-bottom: 1px solid #eee;
    text-align: center;
}
.custom-menu .menu .menu-item .menu-btn{
    background: var(--main-color);
    color: #fff;
    float: none;
    height: auto;
    border-radius: 8px;
}

.lang-block {
    display: block;
    float: left;
    margin: 5px 0;
    padding: 0px 10px;
    border-right: 1px solid #000;
    overflow: auto;
}
.lang-btn {
    font-size: 12px;
    font-weight: 400;
    transition: all .3s ease;
    height: 35px;
    width: 35px;
    background: #FFF;
    border-radius: 5px;
}
.lang-btn.lang-active{
    background: #FFF !important;
    color: #000 !important;
    font-weight: bolder;
}
.lang-btn:hover{
    border-color: var(--main-color);
}
.lang-btn.lang-active {
    background: var(--main-color);
    color: #fff;
    font-weight: 600;
}

.content {
    padding: 70px 15px 15px;
    min-height: 100vh;
}

.custom-modal .modal-dialog{
    max-width: 400px;
}
.custom-modal.filters-modal .modal-dialog{
    max-width: 600px;
}

.wraper{
    max-width: 1200px;
    margin: auto;
}
.small-wraper{
    max-width: 600px;
    margin: auto;
}



.custom-modal.fullscreen-modal .modal-dialog{
    max-width: 1200px;
}
.custom-modal.fullscreen-modal .modal-dialog .modal-body{
    height: calc(100vh - 60px - 56px);
    height: calc(calc(var(--vh, 1vh) * 100) - 60px - 56px);
}
.custom-modal.fullscreen-modal .modal-dialog .main-realty-slider{
    height: calc(100vh - 60px - 56px);
    height: calc(calc(var(--vh, 1vh) * 100) - 60px - 56px);
}
.custom-modal.fullscreen-modal .modal-dialog .main-realty-slider .slick-arrow{
    background: transparent;
}
.custom-modal.fullscreen-modal .modal-dialog .main-realty-slider .slick-arrow.btn-prev{
    left: 20px;
}
.custom-modal.fullscreen-modal .modal-dialog .main-realty-slider .slick-arrow.btn-next{
    right: 20px;
}
.custom-modal.fullscreen-modal .modal-dialog .main-realty-slider .slick-arrow:not(.slick-disabled){
    opacity: 1 !important;
}
.custom-modal.fullscreen-modal .modal-dialog .main-realty-slider .realty-slider-item.slick-slide {
    background: #333;
    padding: 0;
}

.custom-modal.fullscreen-modal .modal-dialog .realty-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.custom-modal#realtyModal .modal-dialog{
    max-width: 1200px;
}

.realty-container{
    clear: both;
}

.form-block{
    max-width: 400px;
    margin: auto;
}
.form-block .form-content{
    padding: 65px 50px;
    box-shadow: unset;
    border-radius: 33px;
    background: #F8F8F8;
}

.realty-item .realty-options .user-name{
    font-size: 14px;
}

.realty-item .realty-options,
.realty-item .realty-info .realty-author-type-label,
.realty-item .realty-params,
.realty-item .realty-location {
    font-size: 12px;
    display: inline-block;
}

.realty-info-container {
    width: 100%;
    padding-bottom: 10px;
}

.realty-item{
    transition: .3s ease;
    position: relative;
    box-shadow: 0px 5px 5px #eee;
    border-radius: 17px;
}
.realty-item:hover{

}
.realty-item .slides-count-block {
    right: 15px;
}

.chat-btn .new-message-label {
    margin-top: 12px;
    margin-left: 15px !important;
}

/* sidebar & chat */
.sidebar{
    top: 85px;
    right: 15px;
    border-radius: 25px;
    z-index: 105;
    box-shadow: 0px 3px 20px #00000033;
    background: #fff;
    height: calc(100vh - 90px);
    height: calc(calc(var(--vh, 1vh) * 100) - 100px);
}
.sidebar.right-sidebar {
    transform: translateX(calc(100% + 35px));
}

.sidebar,
.sidebar-content .sidebar-content-panel, .sidebar-content .sidebar-content-panel.main-panel {
    width: 400px;
}
.sidebar-content {
    width: 800px;
    height: calc(calc(var(--vh, 1vh) * 100) - 100px - 40px);
}
.sidebar-content.full-height {
    height: calc(calc(var(--vh, 1vh) * 100) - 100px);
}

.profile-container {
    border-radius: 33px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.user-info-label {
    font-size: 14px;
    font-weight: 500;
}
.user-info-value {
    color: #AEAEAE;
    font-size: 14px;
    float: right;
    margin-top: 3px;
}


.gray-bg{
    background: #F0F0F0;
    border-radius: 8px;
    padding: 10px;
    display: block;
    height: 100%;
}
.profile-container .profile-info .contact-buttons .contact-btn {
    border-radius: 25px;
    width: auto;
    padding: 10px 25px;
    font-weight: 600;
}

.balance-block{
    padding: 10px 20px;
}

.realty-slider:not(.realty-mini-slider){
    border-radius: 17px;
    overflow: hidden;
}
.realty-slider-item .realty-media{
    cursor: pointer;
}

.realty-views-label {
    float: right;
    position: unset;
    margin: 8px 0 0 0;
    color: #AEAEAE;
}
.realty-views-label img{
    float: left;
    margin-right: 5px;
    margin-top: 5px;
}
.slick-slider .slick-arrow{
    background: radial-gradient(#00000021, transparent);
    color: #fff;
}
.slick-slider .slick-arrow.slick-disabled, .slick-slider:not(.ads-view-container .realty-mini-slider) .slick-arrow{
    opacity: 0 !important;
}
.slick-slider .slick-arrow.btn-prev{
    left: 0;
}
.slick-slider .slick-arrow.btn-next {
    right: 0;
}

.realty-item:hover .slick-slider .slick-arrow:not(.slick-disabled){
    opacity: unset !important;
}

/* realty view */
.realty-control-btn, a.realty-control-btn{
    cursor: pointer;
    width: auto !important;
    display: inline-block !important;
    padding: 12px 20px !important;
}

.ads-view-container .realty-slider.realty-medium-slider {
    height: 15vw;
}

.ads-view-container .adv-description-block {
    background: #fff;
}
.ads-view-container .ads-location{
    margin-left: 10px;
    margin-top: -6px !important;
    display: inline-block;
    position: relative;
}

.map-container{
    border-radius: 23px;
    overflow: hidden;
    width: 100%;
    height: 60vh;
}

.realty-status-label{
    font-size: 12px;
    font-weight: 500;
    padding: 5px 10px;
    margin-top: 3px;
    margin-left: 10px;
    display: inline-block;
    position: absolute;
    z-index: 1;
}
header .add-realty-btn{
    border-radius: 50%;
    border: 1px solid #000;
    padding: 3px 8px;
    height: 35px;
    text-align: center;
}

.add-realty-btn:not(header .add-realty-btn) {
    border-radius: 9px;
    padding: 11px 20px;
    width: auto;
    position: absolute;
    right: 0;
    top: 15px;
}

.realty-item .realty-main-image{
    height: 225px;
}

.realty-item .realty-info .realty-title {
    padding: 5px 0 5px;
}

.realty-item .realty-option-btn.realty-fav-btn {
    height: 25px;
    width: 25px;
    right: 0px;
}

/* ads page */
.ads-photos-container {
    height: calc(100vh - 250px);
    max-height: 500px;
    border-radius: 20px;
    overflow: hidden;
}
.ads-photos-container .photo-container {
    height: 100%;
    width: 100%;
    display: inline-block;
    float: left;
    position: relative;
}
.ads-photos-container .photo-container.half-width {
    width: 50%;
}
.ads-photos-container .photo-container.middle-width {
    width: 60%;
}
.ads-photos-container .photo-container.small-width {
    width: 40%;
}
.ads-photos-container .photo-container.half-height {
    height: 50%;
}
.photo-container.left-padding{
    padding-left: 8px;
}
.photo-container.top-padding{
    padding-top: 4px;
}
.photo-container.bottom-padding{
    padding-bottom: 4px;
}
.ads-photos-container .photo-container .adv-photo{
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: all .3s ease;
}
.ads-photos-container .photo-container:hover>.adv-photo{
    filter: brightness(0.8);
}
.ads-photos-container .photo-container .more-photos-count-label {
    position: absolute;
    background: #00000066;
    top: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 4px);
    color: #FAFAFA;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 25px;
    font-weight: 600;
    cursor: pointer;
}

.ads-view-container .realty-price {
    font-size: 30px;
    font-weight: 600;
}

.ads-view-container .realty-control-buttons {
    bottom: 0;
    padding: 16px;
    left: 0;
    height: 80px;
    transition: all .3s ease;
    z-index: 10;
}

.ads-view-container .title{
    font-size: 30px;
    line-height: 100%;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

.ads-view-container .title .realty-status-label{
    position: unset;
}

.ads-view-container .ads-location{
    font-size: 15px;
    color: #AEAEAE;
    display: inline-block;
    margin-top: 10px;
}

.ads-view-container .realty-fav-btn, .ads-view-container .share-btn{
    font-size: 18px;
    display: inline-block;
    font-weight: 600;
    cursor: pointer;
    float: none;
    width: auto;
    position: unset;
}
.ads-view-container .realty-fav-btn {
    border-radius: 15px;
    background: none !important;
}

.ads-view-container .share-btn img{
    width: 30px;
    height: 30px;
    float: left;
    margin-top: -2px;
}

.ads-view-container .realty-date {
    font-size: 13px;
    color: #AEAEAE;
}
.ads-view-container .realty-id {
    margin-top: 10px;
    transform: unset;
    margin-left: 20px;
    font-weight: 400;
    font-size: 16px;
}

.page-title{
    font-size: 30px;
    font-weight: 600;
}

.my-ads-item .realty-time-to-expire {
    position: absolute;
    z-index: 1;
    left: 10px;
    font-size: 12px;
    font-weight: 500;
    background: #fff;
    top: 40px;
    border-radius: 10px;
    padding: 3px 10px;
    box-shadow: 0px 0px 2px #666;
}
.my-ads-item .realty-status-label {
    border-radius: 30px;
    left: 0px;
    top: 5px;
}

.page-heading{
    height: 75px;
    top: 70px;
    padding-top: 20px !important;
    z-index: 10;
}

.message-status.is-seen {
    filter: invert(52%) sepia(40%) saturate(3868%) hue-rotate(188deg) brightness(100%) contrast(98%);
}

.my-ads-item .adv-menu-btn {
    z-index: 1;
    right: 0px;
    top: 10px;
}
.adv-menu {
    top: 35px;
}

.steps-links {
    display: flex;
    justify-content: center;
    background: #fff;
    flex-wrap: wrap;
}
.step-link {
    display: inline-block;
    margin: 10px 10px;
    padding: 25px 45px 25px 60px;
    cursor: pointer;
    width: calc(50% - 20px);
    box-shadow: 0px 0px 5px #eee;
    border-radius: 15px;
    border: 1px solid #DDD;
    position: relative;
    transition: all .3s ease;
}
.step-link.step-completed{
    border-color: #65d82c;
}
.step-link.step-uncompleted{
    border-color: #ff622f;
}

.step-link:hover{
    background: #FBFBFB;
}
.step-link .step-check-icon {
    position: absolute;
    margin-left: -40px;
    width: 25px;
}
.step-link .arrow-label {
    position: absolute;
    float: right;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
}
.step-link .link-title {
    line-height: 20px;
    display: block;
    margin-bottom: 10px;
}

.ads-form-steps {
    height: auto;
    width: 100%;
    position: unset;
}
.ads-step {
    height: auto;
    overflow: hidden;
    padding: 0 20%;
    display: none;
    transform: none;
    position: unset;
    min-height: calc(100vh - 70px);
}
.ads-step.active{
    display: block;
}

.step-control-btn{
    cursor: pointer;
}

.fullscreen-modal#realtyPhotosModal .modal-content {
    background-color: #333;
}

.realty-mini-slider .realty-slider-item .realty-media {
    height: 75px !important;
}

.promo-checkout-label {
    width: 100%;
    height: 100%;
}
.ads-main-image {
    border-radius: 10px !important;
    border: none !important;
}
.promo-plan-label {
    bottom: 50% !important;
    right: 50% !important;
    transform: translate(50%, 50%);
    width: 65px !important;
    height: 65px !important;
    font-size: 20px !important;
}
.ads-promotion-label{
    font-size: 20px;
    float: left;
    margin: -10px 15px 0 0;
}

.realty-item .realty-info{
    position: relative;
}

.realty-item .realty-info .ads-promotion-label{
    top: 5px;
    margin: 0;
    right: 15px;
    left: unset;
    font-size: 16px;
    transform: none
}

.cookies-panel{
    max-width: 400px;
    left: calc(50% - 200px);
}

.realty-slider.main-realty-slider.realty-photos-slider .slick-list{
    height: 100% !important;
}

.subscription-add-btn{
    width: auto;
}
.subscription-item{
    cursor: pointer;
}

.filters-toggle{
    padding: 0;
}

.select-city-container {
    position: absolute;
    top: -70px;
    left: -25px;
    width: calc(100% + 50px);
    max-height: 100vh;
    height: auto;
    min-height: 100vh;
}
.search-block.city-search.expanded {
    top: 0;
    left: 0;
    right: unset;
    width: 100%;
    max-width: 100%;
    height: 100%;
}

.modal-open:has(.search-block.city-search.expanded) .modal{
    overflow: hidden !important;
}

/*.realty-panel {
    position: fixed;
    z-index: 102;
    right: 0;
    width: 50%;
    top: 70px;
    height: calc(100vh - 70px);
    background: #FFF;
    box-shadow: 0px 0px 15px #ccc;
    overflow: hidden;
}
.realty-panel  .realty-container.main-realty-container {
    height: 100%;
    overflow: auto;
    padding: 4px;
}*/
