/*
Theme Name: Divi-Child
Description: Child theme for Divi
Author: Jumpstart NWBpark
Template: Divi
*/

#main-header {border-bottom:3px solid #93846C; /* LINE UNDER header - BACKGROUND handled by DIVI */ }

#et-info {float: none !important; text-align: center;} /* centers contact info in TOP BAR */

#main-footer {display: none;}

.et_pb_promo_button.et_pb_button {color: #fff!important; background-color: #5F5245;} /* Free Consultation BUTTON on all pages */

#top-menu-nav ul a:hover {color:#dd8100;} 

a:hover {color:#dd8100; text-decoration:underline;} 

span.mobile_menu_bar:before {color: #000000 !important;} /* DBNote - HAMBURGER menu color */

/*Button for the Search Form*/
.nwbp-sidebar-search .nwbp-filter-actions {
    display: block;
    width: 100%;
}

.nwbp-sidebar-search .nwbp-filter-actions button {
    display: block;
    width: 100%;
    background-color: #BF5B0A;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    padding: 12px 20px;
    border: 0;
    border-radius: 0;
    cursor: pointer;
}

.nwbp-sidebar-search .nwbp-filter-actions button:hover {
    background-color: #a94f08;
    color: #fff;
}
/* END Button for the Search Form*/

.hero-slider .et_pb_slide_title {
    display: inline-block;
    background: #6b8634;
    padding: 12px 22px;
}

/* Disable clicks on dead-link menu items */
.dead-link > a {
    pointer-events: none;
    cursor: default;
}


/* DBNote this code effects the header image on mobile; bring the side focused image to the center */
@media only screen and (max-width: 767px){
.et_pb_parallax_css {
    background-position: 35%!important;
}
}
/* End header image code */
/* Same width for buttons */
.et_pb_button.equal-icon-buttons {
    width: 400px !important;
    max-width: 100% !important;
    position: relative !important;
    text-align: left !important;
    box-sizing: border-box !important;
    padding-right: 55px !important;
}

.et_pb_button.equal-icon-buttons:after {
    position: absolute !important;
    right: 18px !important;
    margin-left: 0 !important;
}
/* END Same width for buttons */
/* Highlight current Property Profile button */

/* Topanga Canyon North */
.page-id-220606 .et_pb_button.topanga-north {
    background-color: #c85a00 !important;
    color: #ffffff !important;
}

/* Topanga Canyon South */
.page-id-220613 .et_pb_button.topanga-south {
    background-color: #6f8f37 !important;
    color: #ffffff !important;
}

/* Topanga Canyon Place */
.page-id-220618 .et_pb_button.topanga-place {
    background-color: #e9ae00 !important;
    color: #ffffff !important;
}

/* Owensmouth */
.page-id-220625 .et_pb_button.owensmouth {
    background-color: #0096c7 !important;
    color: #ffffff !important;
}

/* Force active button text AND Divi icon to white */
/* Force active button text AND icon white */
body.page-id-220606 #page-container .et_pb_section a.et_pb_button.topanga-north,
body.page-id-220606 #page-container .et_pb_section a.et_pb_button.topanga-north:after,

body.page-id-220613 #page-container .et_pb_section a.et_pb_button.topanga-south,
body.page-id-220613 #page-container .et_pb_section a.et_pb_button.topanga-south:after,

body.page-id-220618 #page-container .et_pb_section a.et_pb_button.topanga-place,
body.page-id-220618 #page-container .et_pb_section a.et_pb_button.topanga-place:after,

body.page-id-220625 #page-container .et_pb_section a.et_pb_button.owensmouth,
body.page-id-220625 #page-container .et_pb_section a.et_pb_button.owensmouth:after {
    color: #ffffff !important;
}

/* Disable link on current property button */
body.page-id-220606 a.et_pb_button.topanga-north,
body.page-id-220613 a.et_pb_button.topanga-south,
body.page-id-220618 a.et_pb_button.topanga-place,
body.page-id-220625 a.et_pb_button.owensmouth {
    pointer-events: none;
    cursor: default;
}

/* Hide icon on current property button */
body.page-id-220606 a.et_pb_button.topanga-north:after,
body.page-id-220613 a.et_pb_button.topanga-south:after,
body.page-id-220618 a.et_pb_button.topanga-place:after,
body.page-id-220625 a.et_pb_button.owensmouth:after {
    display: none !important;
}
/* END Highlight current Property Profile button */
/* Start code to create 2-column lists */
.wc-list-columns ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
	font-size: 18px;
	font-weight: bold;
}

/* Property search field labels */
.nwbp-filter-field label {
    font-weight: 400 !important;
}
/* =========================================================
   PROPERTY LISTINGS
   ========================================================= */

/* Property listing grid - 3 across */
.nwbp-results {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 30px !important;
}

/* Individual property card */
.nwbp-property-card {
    display: block !important;
    padding: 20px !important;
    margin: 0 !important;
    border: 1px solid #999 !important;
}

/* Property image */
.nwbp-property-image {
    margin-bottom: 18px !important;
}

.nwbp-property-image img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    display: block !important;
}

/* Property title */
.nwbp-property-content h3 {
    font-size: 18px !important;
    line-height: 1.1em !important;
    font-weight: 700 !important;
    margin: 0 0 18px !important;
	color: #BF5B0A;
}

/* Property details */
.nwbp-property-content p {
    font-size: 17px !important;
    line-height: 1.3em !important;

}

/* Space above View Property button */
.nwbp-property-links {
    margin-top: 22px !important;
}

/* View Property button */
.nwbp-details-button {
    display: inline-block !important;
    background: #6B8634 !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.2em !important;
    padding: 12px 22px !important;
    border-radius: 3px !important;
    text-decoration: none !important;
}

/* View Property button hover */
.nwbp-details-button:hover {
    background: #dd8100 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Tablet - 2 properties across */
@media (max-width: 980px) {
    .nwbp-results {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Phone - 1 property across */
@media (max-width: 767px) {
    .nwbp-results {
        grid-template-columns: 1fr !important;
    }

    .nwbp-property-image img {
        height: auto !important;
    }
}

/* =========================================================
   END PROPERTY LISTINGS
   ========================================================= */

/* Force white page background (prevetns the tan page from appearing) */
body,
#page-container,
#main-content,
.et_pb_pagebuilder_layout #main-content {
    background-color: #ffffff !important;
}

/*Width of drop dwon on Mobile*/
@media (max-width: 767px) {
    .et_mobile_menu {
        width: 300px !important;
        min-width: 300px !important;
    }
}
/* Makes Logo bigger on Mobile */
@media only screen and (max-width: 767px) {
    body header img#logo {
        max-width: 80%!important;
        max-height: 80%!important;
        height: auto!important;
        width: auto!important;
    }
}

/*adjust Divi Menu module BREAKPOINT for DEFAULT MENU - higher the number, sooner the page breaks */
@media only screen and (max-width: 1300px) {
#top-menu-nav {display: none;}
#et_mobile_nav_menu {display: block}
}
