/*
Theme Name: Divi RealEstate
Theme URI: https://diviextended.com/products/divi-realestate-child-theme/
Description: Divi child theme for real estate websites.
Author: Elicus
Author URI:   https://elicus.com/
Template: Divi
Version: 1.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: divi-realestate
Domain Path: /languages
*/

/**
 * Table of Contents
 *
 * 1. Menu
 * 2. Miscellaneous
 * 3. Inner Page Header
 * 4. Heading
 * 5. Home Page
 * 6. Listing Page
 * 7. Single Listing Page
 * 10. FAQ 
 * 11. Career Page
 * 12. Sidebar
 * 12. Footer CSS
 * 14. Media Queries
 *    14.1 - >= Min 981px
 *    14.2 - >= Max 980px
 *    14.3 - >= Max 767px
 *    14.4 - >= Max 480px
 * 15 Home-2
 */

/* Menu */
#top-menu li.mega-menu.mega-menu-parent li > .sub-menu {
        float: initial;
}

/* Miscellaneous */
.et_contact_bottom_container {
        margin-top: 0.5rem;
}

.cols-3 {
        float: left;
        width: 33.33%;
}

body {
        font-weight: 400;
}

input#epl_contact_submit,
.epl-search-btn {
        border: 0.2rem solid;
        color: #ffffff;
        font-size: 1rem;
        padding: 0.7rem;
}

.et_pb_fullwidth_section .et_pb_post_title.et_pb_featured_bg {
        background-repeat: no-repeat;
        background-size: inherit;
}

.epl-table .epl-table-column-image {
        padding-right: 10px;
}

/* Inner Page Header */
.dr-inner-header {
        clip-path: polygon(0% 0%, 100% 0%, 100% 92%, 0% 100%);
        height: 80vh;
}

.dr-inner-header .et_pb_title_container {
        bottom: 0;
        max-width: 100% !important;
        padding: 3em 0 !important;
        position: absolute !important;
        width: 100% !important;
}

.dr-inner-header .et_pb_title_container h1.entry-title {
        padding-left: 10%;
}

.dr-light-text .dr-heading-line {
        background: #fff;
}

/* Heading */
.dr-heading h2 {
        font-size: 2.5rem;
}

.dr-heading-line {
        animation-delay: 1s;
        animation-duration: 1s;
        animation-fill-mode: forwards;
        animation-name: line;
        height: 0.18rem;
        margin: 6px auto;
        opacity: 0;
        text-align: center;
        transition: ease;
        width: 3%;
}

@keyframes line {
        0% {
                opacity: 0;
                width: 0;
        }
        100% {
                opacity: 1;
                width: 30px;
        }
}

/* Home Page */
.dr-team .et_pb_team_member_description {
        display: block;
        margin-top: 1.5rem;
        width: 100%;
}

.dr-team .et_pb_member_social_links {
        background: #000;
        margin-top: 0.8rem;
        padding: 0.4rem 0;
}

.dr-team .et_pb_member_social_links li {
        margin-right: 1.3rem;
}

.dr-team .et_pb_member_social_links a {
        font-size: 0.9rem;
}

.dr-team .et_pb_team_member_description h4 {
        margin-bottom: 0.3rem;
}

.dr-team-clippath,
.dr-team-clippath-content {
        clip-path: polygon(0 5%, 100% 0%, 100% 100%, 0% 95%) !important;
        webkit-clip-path: polygon(0 5%, 100% 0%, 100% 100%, 0% 95%) !important;
}

@keyframes fillforwards {
        from {
                width: 0;
        }
        to {
                width: 100%;
        }
}

.dr-testimonial-slider {
        float: right;
        margin-bottom: 4rem !important;
        overflow: visible !important;
}

.dr-testimonial-slider .et_pb_slide_image img {
        border: 0.3rem solid #fff;
        border-radius: 50%;
}

/* Listing Page */
.epl-property-blog .entry-title {
        font-size: 1.2rem;
        font-weight: 600;
}

.epl-excerpt-content p {
        font-size: 0.85rem;
}

.epl-property-blog .property-box-left {
        padding-right: 1.5rem;
        width: auto;
}

.epl-property-blog .property-box-right {
        width: 100%;
        float: unset;
}

.epl-property-blog .property-box img {
        min-height: 226px;
        max-height: 100%;
}

.epl-property-blog {
        font-size: 1em;
        line-height: 1.7;
}

.epl-property-blog .item-street,
.entry-title-sub {
        /*color: #666666;*/
}

.epl-property-blog .epl-property-blog-entry-wrapper {
        margin: 1em;
}

.epl-search-form .field {
        padding: 0rem 0.5rem;
}

.dr-search .epl-search-forms-wrapper.epl-search-default {
        max-width: 85%;
}

.dr-search .epl-search-form .epl-search-row,
.epl-search-form .epl-search-row-full {
        float: left;
        width: 50%;
}

.dr-search .epl-search-form {
        border: 0rem;
}

.dr-search .epl-search-form .epl-search-label {
        display: block;
        font-size: 0.8em;
        margin-left: 0.7rem;
        margin-top: 0.3rem !important;
}

.dr-search span.epl-search-row.epl-search-row-checkbox.epl-search-row-half {
        margin-top: 1rem;
        width: 33%;
}

.epl-listing-grid-view .property-box-right {
        width: 100% !important;
}

.epl-listing-grid-view .property-box img {
        min-height: 100%;
}

/* Single Listing Page */
.epl-property-single h1.entry-title {
        line-height: 1.8em;
}

.single div#content-area {
        margin-top: 2rem;
}

.epl-property-single .property-meta.pricing {
        line-height: 1.8em;
}

.epl-property-single .entry-title-sub {
        padding: 5px 0px;
}

.epl-property-single .epl-tab-section {
        background-color: #f5f5f5;
        padding: 1rem;
}

.epl-search-forms-wrapper.epl-search-default {
        padding: 1rem 0px;
}

.epl-property-single .epl-video-container {
        margin-bottom: 1rem;
        margin-top: 1rem;
}

.epl-search-form {
        border: 0.01rem solid #ddd;
        padding: 1.5rem;
}

.epl_form_builder_section_fields {
        border: 0.01rem solid #ddd;
        padding: 1.5rem;
}

.epl-property-details .item-street {
        font-size: 2.18rem;
}

.epl-tab-title {
        font-size: 2rem;
}

.dr-property-search .epl-search-forms-wrapper.epl-search-default {
        max-width: 46rem;
        margin: 0 auto;
        padding: 1rem 0px;
}

.dr-property-search .epl-search-form .epl-search-label {
        font-size: 0.9em;
}

.dr-property-search .epl-search-form .check-label {
        font-size: 0.8em;
        padding-top: 0;
}

.dr-property-search ul.property_search-tabs li.epl-sb-current,
li.tbhead.current {
        border-bottom: 0.2rem solid;
}

.dr-property-search .epl-search-row.epl-search-other {
        margin-top: 20px;
        width: 50%;
}

.epl-search-form .epl-search-submit-row {
        margin-top: 1.5em;
}

.epl-search-form .in-field {
        min-height: 1.1rem;
}

.epl-contact-capture-form {
        max-width: 300px;
}

#main-content .container:before {
        background-color: #ffffff;
        width: 0;
}

.single h2.widgettitle {
        font-size: 18px;
        color: #333;
}

.epl-paginate-default-wrapper .alignright,
.epl-paginate-default-wrapper .alignleft {
        clear: both;
}

/* FAQ */
.dr-toggle .et_pb_toggle_title:before {
        content: '\4c' !important;
        font-size: 1.2rem;
        margin-top: -0.5em;
        position: absolute;
        right: 0;
        top: 50%;
}

.dr-toggle h5 {
        font-weight: 400;
}

.dr-toggle .et_pb_toggle_close {
        border-left: 0.1rem solid;
}

/* Career Page */
.dr-downloadable-form {
        display: flex;
        flex-direction: row;
        justify-content: center;
        width: 100%;
}

.dr-downloadable-form:not(:first-child) {
        margin-top: 30px;
}

.dr-form-title {
        align-items: center;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: flex;
        font-size: 20px;
        flex-wrap: wrap;
        padding: 20px;
        width: 80%;
}

.dr-form-btn {
        align-items: center;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: flex;
        font-weight: 500;
        text-align: center;
}

.dr-form-btn a {
        color: #ffffff;
        font-size: 14px;
        padding: 20px 15px;
        text-transform: uppercase;
}

/* Sidebar */
#sidebar .epl-tab-section {
        background-color: #ffffff;
        height: 14rem;
        margin-bottom: 30px;
}

#sidebar li.widget_epl_property_search,
#sidebar li.widget_epl_contact_capture {
        list-style: none;
}

.widget_epl_property_search .widgettitle {
        margin-top: 1rem;
}

.et_pb_widget .widgettitle,
#sidebar h2.widgettitle {
        border-bottom: 0.1rem solid;
        margin-bottom: 0.5rem;
        width: 220px;
}

div#sidebar {
        padding-left: 0px !important;
}

#sidebar .widget,
#sidebar .epl-inspection-times,
.widget_epl_property_search {
        margin-bottom: 30px !important;
}

#sidebar .epl-search-form {
        display: inherit;
}

/* Footer CSS */

#main-footer {
        border-top: 0.5rem solid;
}

.et_pb_gutters3.et_pb_footer_columns3 .footer-widget {
        width: 20.875%;
}

.et_pb_gutters3.et_pb_footer_columns3 .footer-widget:nth-child(2) {
        width: 47.25%;
}

.et_pb_gutters3.et_pb_footer_columns3 .footer-widget:nth-child(2) .et_pb_widget {
        margin-right: 3.5%;
        width: 31%;
}

.et_pb_gutters3.et_pb_footer_columns3 .footer-widget:nth-child(2) .et_pb_widget:last-child {
        margin-right: 0;
}

.et_pb_gutters3.et_pb_footer_columns3 .footer-widget .fwidget {
        margin-bottom: 5%;
}

#main-footer .footer-widget h4 {
        margin-bottom: 0.5rem;
}

#footer-widgets .footer-widget li {
        font-size: 0.9rem;
}

#footer-bottom .container {
        border-top: 0.01rem solid #3f3f3f;
        padding-top: 0.5rem;
}

.footer-widget .property-heading {
        line-height: 1.2em;
        padding-bottom: 0;
}

#footer-info a {
        font-weight: normal;
}

.footer-address:before,
.footer-phone:before,
.footer-email:before {
        font-family: ETmodules;
        padding-right: 5px;
}

.footer-address:before {
        content: '\e01d';
}

.footer-phone:before {
        content: '\e090';
}

.footer-email:before {
        content: '\e010';
}

@media (max-width: 1200px) and (min-width: 981px) {
        img#logo {
                width: 180px;
        }

        #top-menu li a {
                font-size: 14px !important;
        }
}

@media screen and (min-width: 981px) {
        .dr-home-header {
                padding-top: 0 !important;
        }

        .dr-clippath {
                height: 100vh;
                position: relative;
                width: 100%;
        }

        .dr-clippath .dr-clip-left,
        .dr-clippath .dr-clip-right {
                background-repeat: no-repeat;
                background-size: cover;
                display: flex;
                flex-wrap: wrap;
                flex-direction: column;
                height: 100%;
                justify-content: center;
                position: absolute;
                top: 0;
                width: 100% !important;
        }

        .dr-clippath .dr-clip-left {
                clip-path: polygon(0 0, 55% 0, 45% 100%, 0% 100%) !important;
                left: 0;
                -webkit-clip-path: polygon(0 0, 55% 0, 45% 100%, 0% 100%) !important;
                z-index: 1;
        }

        .dr-clippath .dr-clip-right {
                right: 0;
        }

        .dr-clippath .dr-clip-left-content {
                margin-left: 10%;
                padding: 2.5rem 1.5rem;
                padding-right: 15%;
                width: 50%;
        }

        .dr-clippath .dr-clip-right-content {
                margin-left: 40%;
                padding: 2.5rem 1.5rem;
                padding-left: 15%;
                width: 50%;
        }

        .dr-clippath .et_pb_column.dr-clip-left {
                z-index: 999;
        }
}

@media screen and (max-width: 980px) {
        #main-header {
                background-color: #000 !important;
        }

        .dr-heading h2 {
                font-size: 1.7rem;
        }

        .dr-team-clippath,
        .dr-team-clippath-content {
                clip-path: polygon(0 0%, 100% 0%, 100% 100%, 0% 100%) !important;
                -webkit-clip-path: polygon(0 0%, 100% 0%, 100% 100%, 0% 100%) !important;
        }

        .dr-property-search .epl-search-forms-wrapper.epl-search-default,
        .widget_epl_contact_capture {
                margin-left: 0px;
                width: 100%;
        }

        .dr-property-search ul.property_search-tabs li,
        ul.map-tabs li {
                background: #eee;
                border: 1px solid #fafafa;
                display: inline-flex;
                padding: 10px 13px;
        }

        .dr-search .epl-search-form .epl-search-row,
        .epl-search-form .epl-search-row-full {
                float: left;
                width: 100%;
        }

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

        .et_pb_text_align_right {
                text-align: right;
        }
}

@media screen and (max-width: 767px) {
        .et_pb_gutters3.et_pb_footer_columns3 .footer-widget:nth-child(2) .et_pb_widget {
                margin-right: 0;
                width: 100%;
        }

        .cols-3 {
                width: 100%;
        }

        .dr-search .epl-search-form .epl-search-row-checkbox .check-label {
                float: initial;
        }

        .dr-search .epl-search-forms-wrapper.epl-search-default {
                max-width: 100%;
        }

        .epl-property-blog .property-box img {
                min-height: auto;
        }

        .epl-property-blog .property-box-left {
                align-items: center;
                display: flex;
                flex-direction: column;
                width: 100%;
        }

        .epl-property-blog .property-box-right {
                padding-top: 20px;
                text-align: center;
                width: 100%;
        }

        .epl-property-blog .epl-property-blog-entry-wrapper {
                padding: 30px;
        }

        .epl-property-blog,
        .epl-property-blog.hentry {
                max-width: 100%;
        }

        .dr-reverse .et_pb_row {
                display: flex;
                flex-direction: column-reverse;
        }

        #sidebar .epl-tab-section {
                margin-left: 0;
        }

        .epl-search-forms-wrapper.epl-search-default,
        .epl-contact-capture-form {
                max-width: 100%;
        }

        .epl-property-blog .property-box-right {
                float: right !important;
        }
}

@media screen and (max-width: 480px) {
        .dr-icon .et_pb_member_social_links {
                text-align: center;
        }
}

.dr-new-grid-projects .epl-template-slim {
        display: flex;
        flex-direction: row;
}

.dr-new-grid-projects .epl-property-blog-entry-wrapper {
        display: flex;
        flex-direction: column;
        border-radius: 10px;
        box-shadow: 0px 2px 18px 0px rgb(0 0 0 / 9%);
}

.dr-new-grid-projects .property-box-left-slim {
        padding-right: 0px;
}

.dr-new-grid-projects .property-box-right-slim {
        padding: 15px 30px;
}

.dr-new-grid-projects .property-box img {
        width: 100%;
}

.dr-new-grid-projects .epl-paginate-default-wrapper {
        width: 95%;
        margin: auto;
}

.dr-new-heading span {
        font-weight: 500;
}
.dr-new-testimonials .et_pb_testimonial_portrait {
        float: left;
        margin-bottom: 30px;
}

.dr-new-testimonials .et_pb_testimonial_description {
        display: inline-block;
}

.dr-new-testimonials .et_pb_testimonial:before {
        top: 100px;
}

.dr-new-team .et_pb_font_icon:before {
        width: 30px;
        height: 30px;
        background: #000;
        padding: 7px;
        border-radius: 5px;
}

.dr-new-team .et_pb_team_member_image {
        margin: auto;
        margin-bottom: 30px;
}

/* ----------------------------------------------------- */

.dr-new-bg-projects .epl-template-table {
        display: flex;
        flex-direction: row;
}

.dr-new-bg-projects .epl-listing-post:first-child {
        margin-right: 5.5%;
}

.dr-new-bg-projects .epl-listing-post {
        border: none !important;
}

.dr-new-bg-projects .epl-table-column-image img,
.dr-new-bg-projects .epl-table-column-image {
        width: 100%;
        border-radius: 10px;
        padding-right: 0px;
}

.dr-new-bg-projects .epl-table-column-content {
        bottom: 40px;
        position: absolute;
        background: rgb(255 255 255 / 92%);
        width: 70%;
        padding: 40px;
        right: 40px;
        border-radius: 10px;
}

.dr-new-bg-projects .epl-listing-post {
        position: relative;
}

.dr-new-bg-projects .epl-table-box {
        width: 100%;
        display: inline-block;
        font-size: 14px;
        color: #000;
}

/*home*/

.dr-heading-title {
        color: #d92128;
}

/* serach-listing */

.dr-new-search .epl-search-tabs {
        text-align: center;
}

.dr-new-search .epl-search-row-select label {
        display: none;
}

.dr-new-search form {
        display: flex;
        flex-direction: row;
        align-items: center;
}

.dr-new-search .epl-search-form {
        border: none;
        width: 100%;
        background: #fff;
        padding: 13px;
        border-radius: 10px;
        box-shadow: 0px 2px 18px 0px rgb(168 168 168 / 27%);
}

.dr-new-search .field {
        padding: 0px;
}

.dr-new-search .epl-search-form .in-field,
.dr-new-search .epl-search-btn {
        padding: 15px;
        border: none;
}

.dr-new-search .epl-search-form .in-field {
        font-size: 14px;
}

.epl-search-form .check-label {
        font-size: 13px;
}

.dr-new-search .epl-search-submit-row {
        order: 4;
        margin-top: 0;
        margin-left: 15px;
}

.dr-new-search .epl-search-other {
        order: 5;
        display: inline-block;
        position: absolute;
        bottom: -10px;
}

.dr-new-search .tab-link {
        margin: 0;
        padding: 10px 35px;
        border-radius: 10px 10px 0px 0px;
        font-size: 16px;
        font-weight: 500;
}

.dr-new-search .epl-search-tabs {
        padding-bottom: 0px;
}

.dr-new-contact .et_contact_bottom_container {
        float: none;
}

.dr-inner-header {
        padding: 6% 0 !important;
}

/* to show listing in 2 columns */

.dr-listing-grids .loop-content,
.epl-shortcode .epl-shortcode-listing-category,
.epl-shortcode .epl-shortcode-listing {
        display: grid;
        margin: 0;
        padding: 0;
        gap: 0.2em;

        /* grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); */
        grid-template-columns: 1fr 1fr;

        max-width: 100%;
        min-width: 0;
        min-height: 0;
        flex: 1; // Fixes for grid in flexbox.

        /* flex-wrap: wrap; */
        /* justify-content: space-between; */
}

.epl-property-blog.epl-blog-big-image.epl-listing-grid-view-forced,
.epl-property-blog.epl-blog-big-image.epl-listing-grid-view-forced.hentry {
        width: 100%;
}

@media screen and (max-width: 767px) {
        .epl-property-blog .epl-property-blog-entry-wrapper {
                padding: 0;
        }
}

@media screen and (max-width: 500px) {
        .dr-listing-grids .loop-content {
                grid-template-columns: 1fr;
        }
}

.dr-listing-grids .epl-property-blog {
        width: 50%;
}

.dr-listing-grids .epl-property-blog .property-box-left {
        width: 35%;
}

.dr-listing-grids .epl-property-blog .property-box-right {
        float: left;
        padding-top: 20px;
        width: 65%;
}

.dr-listing-grids .epl-property-blog .property-box img {
        object-fit: cover;
        width: 100%;
}

.dr-listing-grids .property-featured-image-wrapper {
        position: relative;
}

.dr-listing-grids .epl-status-current .epl-inspection-times {
        background: rgba(255, 255, 255, 0.8);
        border-top-right-radius: 20px;
        bottom: 0;
        color: #000;
        left: 0;
        padding: 8px;
        position: absolute;
        width: 80%;
}

.dr-listing-grids .home-open-wrapper {
        padding: 0 !important;
}

/* listing property search css */

.dr-listing-property-search .epl-search-form .epl-search-row-full {
        width: 79%;
}

.dr-listing-property-search .epl-search-forms-wrapper.epl-search-default {
        margin: 0 auto;
        max-width: 70%;
}

.dr-listing-property-search .epl-search-form .epl-search-submit-row {
        float: right;
        width: 20%;
}

.dr-listing-property-search .epl-search-form .epl-search-btn {
        border: 0;
        cursor: pointer;
        margin-top: 11px;
        padding: 9px;
}

.dr-listing-property-search .epl-search-form .epl-search-label {
        font-size: 14px;
        margin: 0 0 10px !important;
}

.dr-listing-property-search .epl-search-form .in-field {
        padding: 8px;
}

.dr-listing-property-search .epl-search-form .field {
        padding: 0;
}

/* search redirect page css */

.epl-listing-grid-view .property-box img {
        width: 100%;
}

.epl-listing-grid-view .property-box-right {
        max-height: 100%;
        min-height: 280px;
        padding: 20px;
}

.epl-single-listing #main-content {
        padding-left: 150px;
        padding-right: 150px;
}
@media screen and (max-width: 767px) {
        .epl-single-listing #main-content {
                padding-left: 0;
                padding-right: 0;
        }
}

.epl-template-divi {
        /* width: 80%; */
        /* margin: 2em auto; */
}

@media screen and (max-width: 980px) {
        .dr-new-grid-projects .epl-template-slim {
                display: block;
        }

        .dr-new-grid-projects .epl-property-blog-entry-wrapper {
                padding: 0;
        }
        .dr-new-grid-projects .property-box a {
                width: 100%;
        }
        .dr-new-search .epl-search-other {
                position: revert;
                margin-left: 15px;
        }
        .dr-new-search .epl-search-submit-row {
                margin: 12px auto;
        }

        .dr-new-bg-projects .epl-table-column-content {
                position: revert;
                width: 100%;
                padding: 0px;
        }
        .dr-new-search .tab-link {
                padding: 10px 16px;
        }
        .dr-new-grid-projects .epl-property-blog-entry-wrapper {
                min-height: auto;
                margin: 0;
        }
        .dr-new-search form {
                display: block;
        }

        /* 	show listing in 2 columns css */

        .dr-listing-grids .epl-property-blog {
                width: 100%;
        }

        .dr-listing-grids .epl-property-blog .property-box-left {
                width: 50%;
        }

        .dr-listing-grids .epl-property-blog .property-box img {
                width: auto;
        }

        .dr-listing-grids .epl-property-blog .property-box-right {
                float: unset;
                padding-top: 0px;
                width: 100%;
        }

        /* search redirect page css */

        .epl-template-divi #sidebar {
                display: flex;
                align-items: center;
        }
}

@media screen and (max-width: 767px) {
        /* 	listing in 2 columns css */
        .dr-listing-grids .epl-property-blog .property-box-left {
                padding-right: 0;
                width: 100%;
        }

        .dr-listing-grids .epl-property-blog .property-box-right {
                padding-top: 0;
        }

        .dr-listing-grids .epl-status-current .epl-inspection-times {
                border-radius: 0;
                background: transparent;
                padding-left: 0;
                position: inherit;
                width: auto;
        }

        /* search redirect page css */

        .epl-template-divi #sidebar {
                flex-wrap: wrap;
        }

        .epl-listing-grid-view .epl-property-blog-entry-wrapper {
                margin: 0 0 40px;
                padding: 0;
        }

        .epl-archive-utility-wrapper {
                margin-bottom: 30px;
        }

        /* listing search css	 */

        .dr-listing-property-search .epl-search-form .epl-search-row-full {
                width: 100%;
        }

        .dr-listing-property-search .epl-search-form .epl-search-submit-row {
                float: unset;
                margin-top: 15px;
                width: 100%;
        }

        .dr-listing-property-search .epl-search-forms-wrapper.epl-search-default {
                max-width: 100%;
        }

        .dr-listing-property-search .epl-search-form .epl-search-btn {
                margin-top: 0;
        }
}
