.view_content_block .paging {padding-top: 17px;}


/*Выбор квартиры*/
.choice .menu a {font-family: Montserrat;font-size: 14px;font-weight: 600;line-height: 22px;display: inline-block; border: 1px solid #3F3D41; background-color:#3F3D41; padding: 10px 20px 12px 20px; margin: 0 7px 7px 0; color: #FFF; text-decoration: none; border-radius: 5px; }
.choice .menu a .img {line-height: 14px; display: inline-block; text-align: center; width: 15px; margin-right: 5px;}
.choice .menu a .img img {display: inline-block; vertical-align: middle; margin-top: -2px;filter: brightness(0) invert(1);}

.choice .menu a.active {color: #FFF; background-color: #FC7C29; border: 1px solid #FC7C29;}
.choice .menu a.active .img img {filter: brightness(0) invert(1); vertical-align: middle; display: inline-block;}
.show_filter_container > a > img {filter: invert(53%) sepia(92%) saturate(1985%) hue-rotate(343deg) brightness(106%) contrast(98%);} 

/*Меню поиска*/
.flat_search_menu {width: 300px; color: #001d36; position: relative; border: 1px solid #cfcdcd; border-radius: 5px; background: #FFF;}
.flat_search_menu .block {padding: 7.5px 20px;}
.flat_search_menu .block:not(:last-child) {border-bottom: 1px solid #cfcdcd;;}
.flat_search_menu .header-x {text-align: center; font-weight: 500; padding: 10px 0;}
.flat_search_menu label {color: #727b85; font-size: 0.8rem;}
.flat_search_menu .button_filter a span {
    background-color: #FFF;
    display: inline-block;
    text-decoration: none;
    line-height: 27px;
    margin: 0 4px 4px 0;
    font-size: 1rem;
    font-weight: 400;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    min-width: 30px;
    height: 28px;
    text-align: center;
    color: #838a91;
    padding: 0 8px;
    overflow: hidden;
}
.flat_search_menu .button_filter a.active span {
    background-color: #FC7C29;/* linear-gradient(to right, #ff0d29 0%, #ff7d04 100%); */
    color: #FFF;
    border: none;
} 
.slider_data {position: relative;  font-size: 1rem;}
.slider_data .slider_to {position: absolute; right:0; top: 0;}
.slider_data .fa {font-size: 14px; margin-left: 2px;}
.flat_search_menu .fancybox-close-small {width: 50px; height: 50px;}
.flat_search_menu .clear_filter,.flat_search_menu .apply_filter {
    /* background-color: #FFF;*/
    background: #FFF;
    color: #FC7C29 !important;
    border: 1px solid #FC7C29;
    font-size: 0.80rem;
    font-weight: 600;
    border-radius: 5px;
}
.flat_search_menu .clear_filter:hover,
.flat_search_menu .apply_filter:hover {background: #FC7C29;/* linear-gradient(to right, #ff0d29 0%, #ff7d04 100%);*/ color: #FFF!important;}
.flat_search_menu .clear_filter img,
.flat_search_menu .apply_filter img {filter: invert(53%) sepia(92%) saturate(1985%) hue-rotate(343deg) brightness(106%) contrast(98%);padding-left: 7px; display: inline-block; vertical-align: middle; margin-top: -1px;}
.flat_search_menu .clear_filter:hover img,
.flat_search_menu .apply_filter:hover img {filter: brightness(0) invert(1);}
.flat_search_menu .apply_filter_container {display: none;}

.flat_ajax_data .show_filter {display: none; margin-bottom: 10px;}
.flat_ajax_data .show_filter img {padding-right: 5px;}
.flat_content_chess .show_filter {margin-bottom: 20px;}


/*Шахматка*/
.status_templates {background-color: #eaf2f9; padding: 10px 15px; font-size: 0.9rem;}
.status_templates > div {margin-right: 30px;}
.status_templates > div > div {
    width: 15px; height: 15px; background-color: #666666; 
    display: inline-block; border-radius: 2px; margin-right: 5px; vertical-align: middle; margin-top: -2px;
}
.chess {max-width: 100%;}
.chess .chess_sections {overflow: auto; flex-direction: column;}
.chess_section_data {margin: 0 40px 0 0; padding: 10px;}
.chess .floor > div {display: inline-block;}
.chess .floor .flat {
    font-size: 0.95rem; 
    width: 10px; /* 35px */
    flex: 0 0 29px; /* 35px */
    height: 30px; 
    background-color: #666666; 
    border-radius: 2px; margin: 0 5px 5px 0;
    position: relative;
    overflow: hidden;
}

/*.chess .floor .flat.disabled {opacity: 0.3;}*/
.chess .floor .flat > div {width: 100%; text-align: center; height: 100%;}
.chess .floor .flat a {text-decoration: none; display: block; width: 100%; height: 100%; color: #FFF; font-weight: 400; line-height: 28px;}
.chess .floor .flat.status_1, .status_templates > div.status_1 > div {background-color: #FC7C29;}
.chess .floor .flat.status_2, .status_templates > div.status_2 > div {background-color: #3f3d42;}
.chess .floor .flat.status_3, .status_templates > div.status_3 > div {background-color: #a19fa0;}

.chess .floor .floor_name {color: #3a5c79; font-size: 0.95rem; width: 70px; flex: 0 0 70px;}
.chess .floor .floor_name small {margin-left: 5px; margin-top: 2px;}
.chess .floor .floor_name > div {margin-top: -7px;}

.chess .floor .action {
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    border-top: 32px solid #ff0049;
    border-left: 35px solid transparent;
    right: -25px;
}

.chess .ajax_content {overflow-x: auto;}


/*Квартиры табличный вид*/
.flat_search_menu {margin-right: 20px; box-shadow: 0px 10px 10px 0px rgba(175, 196, 215, 0.3); width: 350px!important;}

.table-flat {border-spacing: 0px; width:100%;
    margin: 0 auto;  
    border: none;
    text-align: center;
    font-size: 0.9rem;
    overflow: hidden;
}
.table-flat th {
    padding: 12px;
    border-bottom: 1px solid #d9d9d9;
    vertical-align: middle;
    font-size: 0.85rem;
    font-weight: 500;
}
.table-flat tr {text-align: center; padding-left:20px;}
.table-flat tr td {
    text-align: center; 
    background: rgba(255,255,255,0.3); 
    vertical-align: middle; 
    padding:18px; 
    border-bottom:1px solid #d9d9d9;
}

.table-flat tr.sold td {background-color: #f7fafc!important; } 
.table-flat tr.sold td:not(:last-child) {color: #666666}
.table-flat tr.sold td:last-child {font-weight: 500; font-size: 0.85rem;}
.table-flat tr:hover td {
    background-color: rgba(255,210,0,0.1);
    cursor: pointer;
}


.table-flat th a.sort {text-decoration: none;}
.table-flat th a.sort.active::after {color: #007eff!important;}
.table-flat th a.sort::after {
    display: block;
    content: "\f107";
    font-family: "FontAwesome";
    right: 15px;
    top: 0;
    color: #232323;
    -webkit-transition: -webkit-transform .2s ease-in-out;
    -ms-transition: -ms-transform .2s ease-in-out;
    transition: transform .2s ease-in-out;
}
.table-flat th a.sort.down::after {
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}
.table-flat tr {position: relative;}
.table-flat tr td {position: relative;}
.table-flat .action, .action_chess, .flat_content_plan .action {
    position: absolute;
    right: 0;
    top: 0;  
}
.table-flat .action .bg, .action_chess .bg, .flat_content_plan .bg {
    width: 0;
    height: 0;
    border-top: 50px solid #ff0049; 
    border-left: 50px solid transparent;
}
.table-flat .action span, .flat_content_plan .action span
{
    transform: rotate(45deg);
    margin-top: -40px;
    display: block;
    margin-right: -14px;
    font-size: 0.9rem;
}
.table-flat .action span, .action_chess span, .flat_content_plan .action span {color: #FFFFFF;}
.action_chess span, .flat_content_plan .action span 
{
    transform: rotate(45deg);
    margin-top: -21px;
    display: block;
    margin-right: -50px;
    font-size: 0.9rem;
}


.table-flat .sold_comment {padding: 8px 16px 10px;}
.table-flat .btn.small {
    padding: 6px 12px 8px; font-size: 0.8rem;
    background: #FFF;
    color: #FC7C29 !important;
}
.table-flat .btn.small:hover {background: #FC7C29!important; color: #FFF!important;}
.table-flat tr:hover .action {opacity: 0.3;}


/*Выбор этажа*/
.floor_select {position: relative;}
.floor_select .bg {transition: all .30s ease-in; position: absolute; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5)}
.floor_select:hover .bg {visibility: hidden; opacity: 0;}
.floor_select .choice_comment {
    display: inline-block; 
    text-align: left;
    position: absolute;
    left: 50%;
    top: 100px;
    color: #FFF;
    font-size: 1.1rem;
    width: 250px;
    margin-left: -150px;
    background-color: rgba(255,255,255,0.7);
    border-radius: 3px;
    color: #001d36;
    padding: 15px;

} 
.floor_select:hover .choice_comment {display: none;}
.floor_select .choice_comment .header-x {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}


/*Интерактив*/
.flat_floor .active .path {
    fill: #ff8e32!important;
    stroke: #ff8e32!important;
    stroke-width: 3;
    opacity: 0.7!important;
}

.flat_floor .path {
    fill: #ff8e32!important;
    stroke: #ff8e32!important;
    stroke-width: 3;
    opacity: 0.3!important;
}

.flat_floor .disabled .path {
    stroke: none!important;
/*    fill: #f00!important;
    stroke-width: 3;
    opacity: 0.2!important; */
}


.flat_floor.disabled path, .flat_floor.disabled .active .path {
    fill: rgba(152,152,152,0.3) !important;
    transition: all ease 0.3s;
     opacity: 1!important;
}
.flat_path .active .tooltip {
    fill: #ff8e32!important;
    stroke: #ff8e32!important;
    stroke-width: 3;
    opacity: 0.7!important;
}
.flat_path .illuminated .tooltip {
    fill: #ff8e32!important;
    stroke: #ff8e32!important;
    stroke-width: 3;
    opacity: 0.3!important;
}


.flat_floor:hover .is_action {opacity: 0.1;}

.inter_section_menu a {margin: 0 7px 7px 0;}
.flat_floor.disabled {cursor: default;}

/*Планировки*/
.view_plan {width: 100%; overflow: hidden;}
.view_plan_slider .item {width: 250px; height: 460px; border: 1px solid #CCC; margin: 0 10px 0 0; position: relative;}
.view_plan_slider .item .img {width: 100%; height: 250px; text-align: center; padding: 5px;}
.view_plan_slider .item .img a {display: block; height: 100%; line-height: 250px;}
.view_plan_slider .item .img img {max-width: 100%; max-height: 100%; width: auto; margin: 0 auto; vertical-align: middle; display: inline-block;}
.view_plan_slider .item .info {padding: 10px; }
.view_plan_slider .item .info .props_list {width: 100%;color: #555; text-align: right; border-spacing: 0; font-size: 0.8rem;}
.view_plan_slider .item .info .props_list tr td:first-child {text-align: left; padding-right: 10px;}
.view_plan_slider .item .info .props_list tr td {border-bottom: 1px solid #efefef; padding: 3px 0;}
.view_plan_slider .item:hover .action {opacity: 0.3;}

/*Слайдер*/
.choice .owl-theme .owl-nav button.owl-next, .choice .owl-theme .owl-nav button.owl-prev {background: rgba(252,124,41,0.7);}
.choice .owl-theme .owl-nav button.owl-prev {left: 0;}
.choice .owl-theme .owl-nav button.owl-next {right: 0;}

/*Этаж popup*/
.floor_buttons > div {width: 60px; height: 60px; margin: 0 10px 0 0; position: relative;}
.floor_buttons > div > a {width: 100%; height: 100%;}

.floor_buttons .next {background: linear-gradient(to left, #ff0d29 0%, #ff7d04 100%); position: relative;}
.floor_buttons .prev {background: linear-gradient(to right, #ff0d29 0%, #ff7d04 100%); position: relative;}

.floor_buttons .next.disabled {background: #666666; cursor: default;}
.floor_buttons .prev.disabled {background: #666666; cursor: default;}



/*Квартира popup*/
#flat_popup, #floor_popup {width: 1400px;max-width: 90%;}

.flat_popup_info .flat_info_container {padding-left: 20px;padding-right: 5px;}
.flat_popup_info .digit {
    color: #007eff;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 5px 0;
}

.flat_popup_info {font-size: 1rem;}
.flat_popup_info .hr {
    border-top: 1px solid #cfdce6;
    height: 1px;
    margin: 10px 0;
    clear: both;
    width: 20%;
}
.flat_popup_info .price  {
    color: #fc7c29;
    font-size: 1.7rem;
    font-weight: 500;
    padding: 5px 0;
}
.flat_popup_info .flat_images {padding-bottom: 20px;}
.flat_popup_info .flat_images img {max-width: 100%; max-height: 400px;} 

.flat_popup_info .compass {position: absolute; left: -10px; top: -40px; z-index: 10;}
.flat_popup_info .compass img {width: 60px;}

.elemet_detail_slider {padding-bottom: 30px;}
.elemet_detail_slider .item img {max-width: 100%; margin: 0 auto; width: auto!important; max-height: 350px;}
.flat_popup_info .action {background-color: #ff0049; color: #FFF; padding: 3px 7px 4px 7px; display: inline-block; font-size: 1rem;}

.flat_popup_info .preview_images {padding: 10px 0;}
.flat_popup_info .preview_images .item {height: 100px; border: 1px solid #CCC; margin: 0 10px 10px 0; display: block;}
.flat_popup_info .preview_images .item img {height: 100%; width: auto;display: inline-block;}
.flat_popup_info .preview_images .item.active {border: 1px solid #007eff;}

#flat_popup .hr {margin: 10px 0;}
#flat_popup .header3 {padding: 20px 40px 10px 40px;}
#flat_popup .popup_content {padding: 50px 30px 30px 30px;}
#flat_popup .licence_block {text-align: center;  margin-top: 10px;}
#flat_popup .licence_block > div {display: inline-block; position: relative;}

/*.col-xl-  (>= 1200px)*/
@media screen and (min-width: 1200px)
{
       
}
/*.col-lg-  (>= 992px)*/
@media screen and (max-width: 1200px)
{
    .flat_search_menu {position: absolute!important; z-index: 10; display: none; max-width: 95%;}
    .flat_ajax_data .show_filter {display: inline-block!important;}
    
    .table-flat tr td:nth-child(6), .table-flat tr th:nth-child(6) {display: none;}
    .table-flat small {display: none;}
    .table-flat tr td:nth-child(5) {white-space: nowrap!important;} 
    
    .floor_select .choice_comment, .floor_select .bg {display: none;}
}
/*.col-md-  (>= 768px)*/
@media screen and (max-width: 991px)
{
    .ajax_form .popup_content {padding: 40px 0px 20px 0px!important;} 
    
    /*#flat_popup .elemet_detail_slider .item {height: 300px;} */
    #flat_popup .form_field {width: 100%!important;}
    /*.flat_popup_info .flat_info_container {padding-left: 0px;}*/

}
/*.col-sm-  (>= 576px)*/
@media screen and (max-width: 767px)
{
    .chess .chess_sections {flex-direction: column;}
    .table-flat tr td:nth-child(3), .table-flat tr th:nth-child(3) {display: none;}
    .table-flat {font-size: 0.8rem!important;}   
    
    #flat_popup .flat_info > div:not(.no_reverse) {flex-flow: row-reverse;}
    #flat_popup .flat_info > div {display: -ms-flexbox !important; display: flex !important;}
    #flat_popup .flat_info > div > div {
        width: 50%; text-align: left; 
        -ms-flex-item-align: center !important;
        align-self: center !important;
     }
    #flat_popup .flat_info .hr {display: none;}
    #flat_popup .flat_info .digit {text-align: center;}
    #flat_popup .price {font-size: 2rem!important;}
    #flat_popup .price_container {text-align: center;}
    
    #floor_popup .floor_buttons .next, #floor_popup .floor_buttons .prev {width: 40px!important; height: 40px!important;}
    
    
    #flat_popup, #floor_popup {max-width: 100%;}
    
    
}

.checkboxes_area {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
            
.checkboxes_area_data {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
                                
.checkboxes_area_data label {
    font-size: 1rem;
    position: relative;
    margin-left: 2rem;
}

.checkboxes_area_data label:before {
    content: "";
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    left: -2rem;
    top: calc(50% - 0.75rem);
    background: white;
    border: 1px solid #CFCDCD;
    border-radius: 2px;
}

.checkboxes_area_data label:after {
    left: calc(-2rem + 3px) !important;
    top: 2px !important;
    width: 15px !important;
    content: "" !important;
    position: absolute !important;
    -webkit-transition: all 0.2s ease !important;
    -moz-transition: all 0.2s ease !important;
    -o-transition: all 0.2s ease !important;
    transition: all 0.2s ease !important;
    height: 9px !important;
    border-radius: 1px !important;
    border-left: 4px solid #fc7c29 !important;
    border-bottom: 4px solid #fc7c29 !important;
    -webkit-transform: rotate(-45deg) !important;
    -moz-transform: rotate(-45deg) !important;
    -o-transform: rotate(-45deg) !important;
    -ms-transform: rotate(-45deg) !important;
    transform: rotate(-45deg) !important;
    opacity: 0;
}

input:checked + label::after {
    opacity: 1;
}

/*.col-*/
@media screen and (max-width: 575px)
{
    
}
