
.modal.modal-sub-large {
    overflow: visible;
    border-radius: 0;
    margin-top: 5%;
}

.modal.modal-large {
    width: 94%;
    margin-left: 3%;
    margin-right: 3%;
    overflow: hidden;
}

.modal-large .modal-body {
    height: auto;
    max-height: calc(100vh - 450px);
}

#apartment-detail-modal .modal-body {
    height: auto;
    max-height: 100vh;
}

.modal-large .tables {
    overflow-y: hidden;
    max-height: initial;
}

.modal-large .entrance-button {
    margin-bottom: 0px;
}

.text-align-center {
   text-align: center;
}

#profile .nav-tabs li a {
    width: 125px;
    line-height: 1;
    min-height: 32px;
    padding-top: 18px;
}

#profile .nav-tabs.elastic li a {
    display: table-cell;
    vertical-align: middle;
    min-height: 50px;
    width: 140px;
    padding: 0 15px;
    margin-right: 5px;
    padding-right: 20px;
}

#profile .elastic .delete-housing {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);

}

#profile .tabs-left .nav-tabs li a {
    margin-right: -1px;

}

#profile .elastic.nav-tabs li {
    margin-top: 10px;
    margin-right: 10px;
}


.building-process .kv-file-content {
    min-height: 220px;
}

img[src*="gstatic.com/"], img[src*="googleapis.com/"] {
    max-width: none !important;
}

.infoBox>img {
    display: block !important;
    z-index: 1000;
    position: absolute !important;
    right: -10px;
}

[class^="field-apartment-"] {

}

#profile .multiple-input .list-cell__number_floor .form-group {
    border: 1px solid rgba(0,0,0,.2);
    max-height: 33px;
    min-width: 52px;
}

#profile .multiple-input-list__item select.number_floor {
    border: 0px;
    height: 33px;
    outline: none;
}


#profile .multiple-input .list-cell__typical_apartment_id .form-group {
    border: 1px solid rgba(0,0,0,.2);
    max-height: 33px;
    min-width: 161px;
}

#profile .multiple-input-list__item select.typical_apartment_id {
    border: 0px;
    height: 33px;
    outline: none;
}


#profile .multiple-input .list-cell__deal_type .form-group {
    border: 1px solid rgba(0,0,0,.2);
    max-height: 33px;
    min-width: 61px;
}

#profile .multiple-input-list__item select.deal_type {
    border: 0px;
    height: 33px;
    outline: none;
}


#profile .multiple-input .list-cell__balcony_type .form-group {
    border: 1px solid rgba(0,0,0,.2);
    max-height: 33px;
    min-width: 49px;
}

#profile .multiple-input-list__item select.balcony_type {
    border: 0px;
    height: 33px;
    outline: none;
}

#profile .multiple-input .list-cell__sold_by .form-group {
    border: 1px solid rgba(0,0,0,.2);
    max-height: 33px;
    min-width: 200px;
}

#profile .multiple-input-list__item select.sold_by {
    border: 0px;
    height: 33px;
    outline: none;
}


#profile .multiple-input .list-cell__buyer .form-group {
    border: 1px solid rgba(0,0,0,.2);
    max-height: 33px;
    min-width: 200px;
}

#profile .multiple-input-list__item select.buyer {
    border: 0px;
    height: 33px;
    outline: none;
}

#profile .housing-form-wrapper .form-container input {
    width: 100%;

}

#profile .panel-body .housing-form-wrapper  .form-container {
    width: 100%;
}

#profile .panel-body  .housing-form-wrapper .form-group {
    display: initial;

}



.d-inline-block {
    display: inline-block !important;
    padding-left: 0 !important;
    width: 30% !important;
}

.apartment {
    cursor: pointer;
}

.apartment-modal-image img{
    width: auto;
    display: inline-block;
}

.krajee-default.file-preview-frame .kv-file-content {
    height: 185px;
}

#apartment-detail-modal .apartment-grid .apartment {
    padding-top: 5px;
    line-height: 20px;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid #dddddd;

}


#apartment-detail-modal .apartment-grid .status-place  {
    width: auto;

    text-align: center;

    display: inline-block;
    font-weight: bold;
}

#apartment-detail-modal .apartment-grid .status-place.status_1  {
    color: #5cba33;
}

#apartment-detail-modal .apartment-grid .status-place.status_2  {
    color: #FFC000;
}

#apartment-detail-modal .apartment-grid .status-place.status_3  {
    color: #FF1A1A;
}

#apartment-detail-modal .apartment-grid .status-place.status_4  {
    color: #ca2c9f;
}

#apartment-detail-modal .apartment-grid .status-place.status_5  {
    color: #cccccc;
}
.status-place.status_5  {
    color: #cccccc;
}
.status-place.status_4  {
    color: #ca2c9f;
}
.status-place.status_3  {
    color: #FF1A1A;
}
.status-place.status_2  {
    color: #FFC000;
}
.status-place.status_1  {
    color: #5cba33;
}

.apartment-modal-consultants {
    padding: 20px;
    border: 1px solid #dddddd;
    text-align: center;
}

.header-build-attachments-block .bg-white.padding-20 {
    display: none;
}

.header-build-attachments-block.active .bg-white.padding-20 {
    display: block;
}

.views-field-field-message {
    color: grey;
    font-style: italic;
}

.apartment-modal-consultants .views-field-title {
    font-size: 16px;
    font-weight: bold;

}

.apartment-modal-consultants .order_apart {
    line-height: 30px;
}

.apartment-toggle {
    width: 50px;
    height: 50px;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABlCAMAAADDPbUTAAABS2lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxMzggNzkuMTU5ODI0LCAyMDE2LzA5LzE0LTAxOjA5OjAxICAgICAgICAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIi8+CiA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgo8P3hwYWNrZXQgZW5kPSJyIj8+IEmuOgAAAARnQU1BAACxjwv8YQUAAAABc1JHQgCuzhzpAAAAQlBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////8IX9KGAAAAFXRSTlMApyDfPQPz4iJ/qIaH4IUCEtS5E29KpxltAAAAyElEQVRYw+3ZyQ7CMAwE0BCWlrVs/v9fRaiquiRNbQ8HEDNHH955NA7BnGcMcPayjrghsPI2UKU1MKUzEKU3/MrQ8Cpjw6dMDY+SGnYlZ1iVvCFyjrhhUeYNvVIytErZELk1uLHb0KBBgwYNGjRofJ9xrRaQ+1bRpuol5UCFyo8qKypUqFCh8r9K8wHlpFq3yorOKCtao6TojXnlaFpB84rNyCtWI6fYjVTxGFPFZ4wVrzFU/EavIEanYEarXOBPU13hRgiP5PICwXrbwkwZP0YAAAAASUVORK5CYII=');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 40%;
    opacity: 1;
    display: block;
    cursor: pointer;
    position: absolute;
    top:46%;
}
.apartment-toggle:hover {
    opacity: 0.5;
}
.apartment-toggle.prev {
    left: -70px;
}

.apartment-toggle.next {
    transform: rotate(180deg);
    right: -70px;
}

.modal-sub-large .text-align-center {
    margin: 0px;
    padding: 5px 0;
    font-weight: bold;
}

.modal-sub-large .apartment-grid td {
    border: 0;
    line-height: 16px;
}

.modal-sub-large .apartment-grid td:first-child {
    font-weight: bold;
}

body.modal-open {
    overflow-x: hidden;
    overflow-y: auto;
}

.has-error .help-block {
    color: red;
}

.field-contactform-agreement .checkbox {
    padding-left: 0px;
}

.feedback-success,
.feedback-errors{
    margin-top: 80px;
    margin-bottom: 80px;
    margin-left: 30%;
}

.feedback-success p,
.feedback-errors p{
    font-size: 15px;
}

.feedback-errors h1{
    color: #ff1a1a;
}

.compare-content .table .cell-center {
    text-align: center;
}
.compare-content .table .cell-center-border {
    text-align: center;
    border-left: 1px solid #dddddd;
}
.compare-content .table .border {
    border-left: 1px solid #dddddd;
}
.compare-content .table .small_indentation_ul {
    margin: 0 0 10px 15px;
}

/*LinkPagerManual*/
.pagination-manual{
    margin: 0px auto 20px auto;
    display: block;
}

.pagination-manual ul > li > a,
.pagination-manual ul > li > span{
    background-color: #f0f0f0;
    color: #02344a;
    font-size: 18px;
    padding: 6px 12px;
    border: none;
}
.pagination-manual ul .active a:hover {
    color: unset;
    background-color: unset;
}
.pagination-manual ul .active a{
    color: #adadad;
    background-color: unset;
}
.pagination-manual ul .disabled{
    display: none;
}
.pagination-manual .prev .prev-label{
    background-image:url("/theme/img/arrow-left-black.png");
    background-size: 10px 13px;
    margin-top: 6px;
    margin-right: 5px;
    width:12px;
    height:19px;
    display:inline-block;
    vertical-align:bottom;
    background-repeat: no-repeat;
}
.pagination-manual .next .next-label{
    background-image:url("/theme/img/arrow-right-black.png");
    background-size: 10px 13px;
    margin-top: 6px;
    margin-left: 5px;
    width:12px;
    height:19px;
    display:inline-block;
    vertical-align:bottom;
    background-repeat: no-repeat;
}
/*LinkPagerManual*/

#header-wrapper #header #header-inner .navbar .navbar-inner .logo{
    line-height: unset;
    height: 110px;
}
#header-wrapper #header #header-inner .navbar .navbar-inner .logo .selectLocal .chzn-container{
    width: 150px !important;
    margin-top: 10px !important;
}
#header-wrapper #header #header-inner .navbar .navbar-inner .logo .selectLocal .chzn-container .chzn-single div b {
    background-image: url("/theme/img/arrow-bottom-white.png") !important;
}
#header-wrapper #header #header-inner .navbar .navbar-inner .logo .selectLocal .chzn-container .chzn-single {
    background-color: #02344b !important;
    color: #fff !important;
    height: 30px !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 30px !important;
}

.modal-apartment-detail {
    max-width: 900px;
}

.apartment-modal-image {
    display: grid;
    place-items: center;
    overflow: hidden;
    text-align: center;
    align-items: flex-start;
}

.apartment-modal-image img {
    width: auto;
    max-height: 90%;
    height: 100%;
}