.d-container {
    margin: 0 auto;
    max-width: 1400px;
}

.d-container-xs {
    margin: 0 auto;
    max-width: 880px;
}

.back-to-ads {
    padding: 10px 0;
}

.back-to-ads a {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
}

.fav-btn {
    margin-left: 15px;
    color: #fff;

}

.fav-btn:hover, 
.fav-btn:focus {
    text-decoration: underline;
    color: #fff;
}

.lower-price {
    margin-left: 8px;
    font-size: 14px;
    font-weight: 400;
    vertical-align: middle;
    letter-spacing: 0;
}

.lower-price i {
    margin-right: 7px;
    color: #ff0000;
}

.detail-property .single-actions {
    display: flex;
}

.detail-property .single-actions i {
    margin-right: 5px;
    font-size: 18px;
    vertical-align: middle;
}

.detail-property .single-actions .print-box {
    margin-right: 8px;
}

.detail-property .single-actions .property-favorite .hidden {
    display: inline-block !important;
    visibility: visible !important;
}

.detail-property .single-actions .property-favorite .added-title,
.detail-property .single-actions .property-favorite .fa-heart {
    display: none !important;
}

.detail-property .single-actions .property-favorite .added .fa-heart-o {
    display: none;
}

.detail-property .single-actions .property-favorite .added span {
    display: none !important;
}

.detail-property .single-actions .property-favorite .added .added-title,
.detail-property .single-actions .property-favorite .added .fa-heart {
    display: inline-block !important;
}

.detail-property .entry-header .price p {
    margin: 0;
    line-height: 1;
    font-size: 14px;
    letter-spacing: 0;
    word-spacing: 0;
}

#filter-section {
    padding: 15px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #f1f1f1;
}


#filter-section .filter-content {
    background: #f1f1f1;
}

#filter-section .filter-content h1 {
    margin-top: 10px;
    font-size: 22px;
}

#filter-section .filter-content .detailed-search {
    display: none;
}

#filter-section .filter-content .detailed-search .form-group {
    display: none;
}

#filter-section .filter-content .detailed-search .form-group.type-all {
    display: block;
}

#filter-section .filter-content .flex-row {
    margin-left: -5px;
    margin-right: -5px;
    display: flex;
    flex-wrap: wrap;
}

#filter-section .filter-content .location-row {
    align-items: flex-end;
}

#filter-section .filter-content .location-row.loading {
    opacity: 0.4;
}

#filter-section .filter-content .flex-row.align-items-center {
    align-items: center;
}

#filter-section .filter-content .filter-actions {
    display: flex;
    margin-bottom: 5px;
}

#filter-section .filter-content .filter-actions button {
    padding: 8px 20px;
    background: #fff;
    border: 1px solid #e6e6e6;
}

#filter-section .filter-content .filter-actions button:nth-child(1) {
    border-right: none;
}

#filter-section .filter-content .filter-actions button.active {
    background: #318135;
    border-color: #318135;
    color: #fff;
}

#filter-section .filter-content .submit-row {
    margin-left: -5px;
    margin-right: -5px;
}

#filter-section .filter-content .form-group {
    padding: 0 5px;
    flex: 0 0 14.285%;
}

#filter-section .filter-content .form-group.disabled {
    opacity: 0.7;
}

#filter-section .filter-content .form-group.auto-w {
    flex: 1;
}

#filter-section .filter-content .form-group input[type="checkbox"] {
    margin-left: 15px;
}

#filter-section .filter-content .form-group input[type="checkbox"]:nth-child(1) {
    margin-left: 0;
}


#filter-section .filter-content .form-group.street-input {
    position: relative;
}

#filter-section .filter-content .form-group .streets-dropdown {
    padding: 10px 0 0;
    list-style-type: none;
    background: #fff;
    position: absolute;
    left: 5px;
    right: 5px;
}

#filter-section .filter-content .form-group .streets-dropdown li {
    padding: 3px 10px;
    font-size: 14px;
    border-bottom: 1px solid #e6e6e6;
    cursor: pointer;
}

#filter-section .filter-content .form-group .streets-dropdown li:hover {
    background: #f7f7f7;
}

#filter-section .filter-content .form-group .row {
    display: flex;
    margin-left: -5px;
    margin-right: -5px;
}

#filter-section .filter-content .form-group .row > div {
    padding: 0 5px;
    flex: 0 0 50%;
}

#filter-section .filter-content hr {
    margin: 0 0 5px;
}

#filter-section .filter-content select,
#filter-section .filter-content input[type="text"] {
    display: block;
    width: 100%;
    height: 40px;
    padding: 8px 15px;
    border-radius: 0;
    border: 1px solid #318135
}

#filter-section .filter-content .ds-button {
    height: 40px;
    padding: 5px;
    background: transparent;
    color: #318135;
    width: 100%;
    font-size: 13px;
}

#filter-section .filter-content .ds-button:hover {
    background: #ffb900;
    color: #fff;
}

#filter-section .filter-content .add-fields span {
    display: none;
    margin-right: 10px;
}

#filter-section .options-modal {
    display: none;
    padding: 150px 15px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999;
}

#filter-section .options-modal .modal-content {
    margin: 0 auto;
    max-width: 730px;
    background: #fff;
    border-radius: 0;
}

#filter-section .options-modal .modal-header {
    position: relative;
}

#filter-section .options-modal .modal-header .close {
    padding: 10px;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
}

#filter-section .options-modal .modal-search {
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
}

#filter-section .options-modal .modal-options {
    display: flex;
    flex-wrap: wrap;
    padding: 40px 50px;
    overflow-y: auto;
    height: 375px;
    align-content: flex-start;
}

#filter-section .options-modal .modal-options .item-box {
    padding:  3px 10px;
    flex: 0 0 33.333%;
    display: flex;
    align-items: center;

}

#filter-section .options-modal .modal-options input {
    margin: 0 8px 0 0;
    width: 20px;
    height: 20px;
}

#filter-section .options-modal .modal-footer button {
    padding: 5px 10px;
    height: 40px;
}

#filter-section .options-modal .modal-footer .clear {
    background: transparent;
    color: #318135;
}


.selection-btn {
    display: block;
    padding: 8px 15px;
    height: 40px;
    width: 100%;
    border: 1px solid #318135;
    background: #fff;
    text-align: left;
}

#properties-grid {
    padding: 70px 0;
}

.property-box-archive .row {
    display: flex;
    flex-wrap: wrap;
}

.row .col-property-box {
    padding: 0 15px;
    flex: 0 0 33.333%;
    max-width: 33.333%;
}

#properties-grid .pagination a,
#properties-grid .pagination span {
    display: inline-block;
    margin-right: 3px;
    width: 50px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 1px solid #e6e6e6;
}

#properties-grid .pagination span.current {
    background: #318135;
    border-color: #318135;
    color: #fff;
}

.property-box-price small {
    margin-left: 5px;
    font-size: 14px;
    font-weight: 400;
    color: #8c8c8c;
    vertical-align: middle;
    letter-spacing: 0px;
}

.property-box-top .property-favorite, .property-box-top .property-box-share, .property-box-top .property-box-compare {
    margin-top: 0;
}

.d-row {
    display: flex;
    flex-wrap: wrap;
}

.d-row .d-col {
    padding: 0 15px;
    flex: 0 0 50%;
    max-width: 50%;
}

.sticky-gallery {
    position: fixed;
    top: 0;
}

.property-gallery-preview-owl a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 320px;
}

.property-gallery-preview-owl a img {
    max-width: 100%;
    max-height: 320px;
}

.property-gallery-preview .owl-stage-outer:before {
    display: none;
}

.property-gallery-preview .owl-controls .owl-dots .owl-dot {
    border-color: #318135;
}

.property-gallery {
    background: #fff;
}

.single-property .header-info {
    padding-top: 30px;
}

.single-property .header-left {
    margin-bottom: 20px;
}

.single-property .header-right {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
    justify-content: space-between;
}

.property-gallery-index {
    display: flex;
    margin-top: 5px;
    margin-left: -5px;
    margin-right: -5px;
    flex-wrap: wrap;
}
.property-gallery-index .thumb-link {
    padding: 4px;
    flex: 0 0 20%;
}

.property-gallery-index .thumb-link span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    font-size: 17px;
}

.property-gallery-index .thumb-link img {
    width: 100%;
}

.acf-gallery .acf-gallery-attachments {
    /*display: flex;*/
}

.acf-gallery .acf-gallery-attachments .attach-box {
    position: relative;
}

.acf-gallery .acf-gallery-attachments .attach-box:before {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    content: "";
    z-index: 5;
}

.acf-gallery .acf-gallery-attachments .gallery-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    z-index: 6;
    line-height: 1;
}

.acf-gallery .acf-gallery-attachments .gallery-loader i {
    line-height: 1;
    -webkit-animation: rotating 2s linear infinite;
    -moz-animation: rotating 1s linear infinite;
    -ms-animation: rotating 1s linear infinite;
    -o-animation: rotating 1s linear infinite;
    animation: rotating 1s linear infinite;
}

.acf-gallery .acf-gallery-attachments.loading .gallery-loader,
.acf-gallery .acf-gallery-attachments .attach-box.loading:before {
    display: block;
}

.acf-gallery .acf-gallery-attachment-2 {
    position: relative;
    display: inline-block;
    width: 25%;
    height: 118px;
    vertical-align: top;
}

.acf-gallery .acf-gallery-attachment-2 .margin {
    display: flex;
    align-items: center;
    height: 110px;
}

.acf-gallery .acf-gallery-attachment-2 .thumbnail {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    position: relative;
    transform: none;
    height: auto;
    background: #f7f7f7;
    width: 100%;
    height: 110px;

}
.acf-gallery .acf-gallery-attachment-2 .thumbnail.rotating:after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    content: ''
}

.acf-gallery .acf-gallery-attachment-2 .thumbnail a {
    position: absolute;
    top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    color: #000;
    background: rgba(255, 255, 255, 0.9);
}

.acf-gallery .acf-gallery-attachment-2 .thumbnail .rotate-left {
    left: 10px;
}

.acf-gallery .acf-gallery-attachment-2 .thumbnail .rotate-right {
    right: 10px;
}

.acf-gallery .acf-gallery-attachment-2 .thumbnail img {
    transform: none;
    max-width: 100%;
    max-height: 100px
}

.acf-gallery .acf-gallery-attachment-2 .margin:before {
    display: none;
}

.acf-gallery .acf-gallery-attachment-2 .actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.acf-gallery-toolbar {
    display: none;
}

.acf-gallery-toolbar.d-toolbar {
    display: block;
}

.acf-gallery-toolbar input[type="file"] {
    display: none;
}


.post-nt {
    padding: 50px 0;
}

.post-nt .select2-container--default .select2-selection--single,
.post-nt select,
.post-nt input {
    border-radius: 0;
    border: 1px solid #318135;

}

.post-nt .acf-field-text .acf-input,
.post-nt .acf-field-select .acf-input,
.post-nt .acf-field-number .acf-input {
    max-width: 250px;
}
.post-nt .acf-fields.-left>.acf-field {
    padding: 5px 0;
}
.post-nt select {
    height: 28px;
}
.post-nt .acf-fields.-left>.acf-field>.acf-label {
    width: 35%;
}
.post-nt .acf-fields.-left>.acf-field:before {
    width: 35%;
}

.post-nt .acf-fields.-left>.acf-field>.acf-input {
    width: 65%;
}

.post-nt .acf-field-checkbox:before {
    border: none !important;
}

.post-nt .acf-field-checkbox .acf-label,
.post-nt .acf-field-checkbox .acf-input {
    float: none !important;
    width: 100% !important;
}

.post-nt .acf-field-checkbox .acf-input .acf-checkbox-list {
    display: flex;
    flex-wrap: wrap;
}

.post-nt .acf-field-checkbox .acf-input .acf-checkbox-list > li {
    margin: 0 !important;
    flex: 0 0 25%;
}

.acf-field .acf-notice.-error {
    margin-top: 5px;
    margin-bottom: 0;
}
.post-nt .acf-field .acf-input.disabled {
    opacity: 0.5;
}
.post-nt .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 1px;
}

.post-nt .acf-form-submit {
    padding: 20px 10px;
    text-align: right;
}
@-webkit-keyframes rotating /* Safari and Chrome */ {
    from {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.property-box-top .property-favorite .fa-heart {
    display: none;
}

.property-box-top .property-favorite a.added .fa-heart {
    display: inline-block;
    color: #3da042;
}
.property-box-top .property-favorite a.added .fa-heart-o {
    display: none;
}

#filter-section .filter-content h1 .filter-toggle {
    display: none;
}

.mobile-images {
    display: none;
    padding-top: 15px;
}

.mobile-images .main-img {
    position: relative;
    display: block;
    margin-bottom: 15px;
}

.mobile-images .main-img .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
}

.mobile-images .more-images .other-images {
    display: none;
    margin-bottom: 15px;
    text-align: center;

}

.mobile-images .more-images .other-images img {
    width: 100%;
}

.subs-form {
    padding: 60px 0;
}

.subs-form select, 
.subs-form input[type="text"] {
    display: block;
    width: 100%;
    height: 40px;
    padding: 8px 15px;
    border-radius: 0;
    border: 1px solid #318135;
}

.subs-form .options-row {
    margin: 45px 0;
}

.subs-form .options-row .option-item {
    position: relative;
    margin: 5px 0;
    padding: 5px 0 5px 25px;
}
.subs-form .options-row .option-item * {
    vertical-align: middle;
}
.subs-form .options-row .option-item input {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin: 0;
    width: 20px;
    height: 20px;
}

.btn-outline {
    padding: 11px;
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.btn-outline:hover,
.btn-outline:focus {
    background: #fff;
    color: #3da042;
}
.apus-offcanvas-body .buttons {
    margin-top: 60px;
}
.apus-offcanvas-body .buttons > div {
    margin-bottom: 5px;
}

.user-menu-box {
    position: relative;
    display: inline-block;
}

.lnt-items-table img {
    max-height: 80px;
}
.footer-menu {
    text-align: right;
}
.foot-nav {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.foot-nav > li {
    display: inline-block;
    margin-left: 10px;
}

.property-agents-wrapper {
    display: flex;
}

.property-agents-wrapper .agent-small {
    flex: 1;
}

@media (max-width: 1170px) {
    .property-box .lower-price {
        display: block;
        margin-left: 0;
    }
    .property-box-meta {
        display: flex;
        flex-wrap: wrap;
    }
    .property-box-grid .field-item {
        margin-left: 0 !important;
        margin-bottom: 5px;
        flex: 0 0 50%;
    }
    .property-box-grid .property-author {
        font-size: 13px;
    }
    .header-default .main-menu {
        padding: 0;
    }
}

@media (max-width: 992px) {
    .row .col-property-box {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .single-property .header-right {
        flex-wrap: wrap;
    }
    .single-property .header-right .price {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    #filter-section .filter-content .form-group {
        flex: 0 0 33.333%;
    }
    .d-row .d-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .sticky-gallery {
        position: static;
    }
    
    .property-agents-wrapper {
        flex-wrap: wrap;
    }
    .property-agents-wrapper .agent-image {
        order: 0;
        flex: 0 0 100%;
    }
    .property-agents-wrapper .agent-small-image img {
        max-width: 100%;
    }
}

@media (max-width: 580px) {
    #filter-section .filter-content .form-group {
        flex: 0 0 50%;
    }
    .row .col-property-box {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .filter-box {
        display: none;
    }
    #filter-section .filter-content h1 {
        position: relative;
        margin: 10px 0;
    }
    #filter-section .filter-content h1 .filter-toggle {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        display: block;
        border: 1px solid #3da042;
        content: 'Filtras';
        padding: 10px;
        text-transform: uppercase;
        font-size: 14px;
        color: #3da042;
    }
    .tabs-gallery-map {
        display: none;
    }
    .mobile-images {
        display: block;
    }
}