/*
Theme Name: NNMD Business Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/


/* BEGIN Customizations borrowed from WOCC site, 12/4/18 */

/* Fix color of current page menu item */
.av-main-nav .current-menu-item a, .av-main-nav li:hover.current-menu-item a {
color: #7995a2 !important;
}

/* Adjust colors of hamburger menu */
#advanced_menu_toggle, #advanced_menu_hide {
    background-color: #ffffff;
    color: #000000;
    border-color: #f8f8f8;
}

/* Removed capitalization from page heads */
.template-page .entry-content-wrapper h1,
.template-page .entry-content-wrapper h2 {
text-transform: none !important;
letter-spacing: normal !important;
}

/* Remove border next to social icon(s) in header */
.avia-menu.av_menu_icon_beside {
border-right: 0 !important;
}

/* Remove border from top of header */
.container_wrap {
border-top: 0 !important;
border-bottom: 0 !important;
}


/* Adjust margins on home page slider on mobile */
@media (max-width: 320px) {
.home .avia-builder-el-first {
margin-left: -24px !important;
margin-right: -24px !important;
width: 320px !important;
position: relative !important;
top: -50px !important;
margin-bottom: -25px !important;
}

.av-slideshow-caption {
display: none !important;
}
}

/* Prevent certain links from breaking across lines. */
a.nb {
display: inline-block !important;
}

.active-parent-item a, .current-menu-parent a {
	color: #7a95a1 !important;
}

/* Put age radio buttons on one line. */
ul#input_1_6 li {
	display: inline-block !important;
	padding-right: 60px !important;
}


/* END Customizations borrowed from WOCC site */


.wpbdp-single-thumbnail, .wpbdp-excerpt-thumbnail {
	padding-right: 20px !important;
}

.wpbdp-field-street_address_line_1 {
	margin-bottom: 0px !important;
}

.wpbdp-field-city,
.wpbdp-field-state,
.wpbdp-field-zip {
	width: auto !important;
	padding-right: 3px !important;
	float: left !important;
}

.wpbdp-field-business_phone {
	margin-top: 20px !important;
	clear: left !important;
}

.sidebar a {
	color: #9ea62d !important;
    text-decoration: none;
    border-bottom: 1px solid #F3F3F3;
}

.body, div, p {
	line-height: 1.5em !important;
}


.wpbdp-categories .cat-item {
margin: 0 0 0px !important;
}

.wpbdp-listing a:not(.wpbdp-button) {
    color: #9ea62d !important;
    text-decoration: none;
    border-bottom: 1px solid #F3F3F3;
}


/* Adjust spacing below the first widget on the right */
#text-2 {
	padding-bottom: 0px !important;
}

/* Adjust font and size of listing titles in category lists and spacing between title and border below */
.wpbdp-listing .listing-title a {
	font-size: 24px !important;
	font-family: "open sans condensed", HelveticaNeue, "Helvetica Neue", Helvetica-Neue, Helvetica, Arial, sans-serif !important;
}

.wpbdp-listing .listing-title {
	padding-bottom: 6px !important;
}

/* Hide unneeded fields on listings for Mini Murals */
.wpbdp-listing-category-id-485 .wpbdp-field-street_address_line_1,
.wpbdp-listing-category-id-485 .wpbdp-field-city,
.wpbdp-listing-category-id-485 .wpbdp-field-state,
.wpbdp-listing-category-id-485 .wpbdp-field-business_phone,
.wpbdp-listing-category-id-485 .wpbdp-field-business_category .field-label {
	display: none !important;
}

/* Adjust display of directory category on Mini Murals -- couldn't get this to work 
.wpbdp-listing-category-id-485 .wpbdp-field-business_category {
	display: inline !important;
	float: left !important;
} */

/* Adjust text of directory category on Mini Murals */
.wpbdp-listing-category-id-485 .wpbdp-field-business_category .value:before {
	font-weight: bold !important;
	content: 'View more: ' !important;
}

/* Fix display of listing details to avoid problems on smaller screens */
@media (max-width: 768px) {
.wpbdp-listing .listing-details {
	margin-left: 0px !important;
	clear: left !important;
}
}

/* Style post/page header bars */
.title_container {
	background-color: #fff !important;
}

h1.main-title.entry-title {
	font-weight: 700 !important;
	font-size: 34px !important;
	line-height: 1.25em !important;
}
h1.main-title.entry-title a {
	color: #222 !important;
}

/* Adjust space between page/post heading and text */
main.template-page.content {
	padding-top: 20px !important;
}

/* Remove underline from navigation icons on ad slider */
.sow-slide-nav a {
	border: none !important;
}

/* Add border to images in ad slider */
.sow-slider-background-image {
	border: 1px solid #ccc !important;
}

/* Hide header on certain tag pages */
.term-casa-timbers .stretch_full.container_wrap,
.term-rancho-pinos .stretch_full.container_wrap {
	display: none !important;
}

/* Adjust appearance of the list of listing categories */
.wpbdp-categories .cat-item .category-label {
	font-size: 100% !important;
}
.wpbdp-categories .cat-item {
	padding-bottom: 20px !important;
}


/* Adjust space between heading and page content */
body .column-top-margin {
    margin-top: 20px !important;
}

/* Remove padding from top of sidebar on business directory pages and listings */
.tax-wpbdp_category .sidebar, .single-wpbdp_listing .sidebar {
	padding-top: 0px !important;
}

/* Hide listing change/submission widget during development */
#custom_html-2 {
	display: none !important;
}

.logged-in #custom_html-2 {
	display: block !important;
}

/* Hide listing change/submission widget on form page */
.page-id-6341 #custom_html-2 {
	display: none !important;
}

/* Adjust position of "Help us improve" box */
#custom_html-2 {
	padding-top: 0px !important;
}

/* Colorize the "Help us improve" box */
#custom_html-2 .custom-html-widget {
	background-color: rgba(143,184,201,0.3) !important;
	padding: 10px 15px 2px !important;
}

/* Adjust format of listing change/submission widget picker */
#gform_2 {
	margin-bottom: 0px !important;
}

#gform_2 .gform-footer {
	padding-bottom: 0px !important;
}

#gform_2 .gfield_radio li, #gform_1 .gfield_radio li {
	margin-bottom: 4px !important;
}

#gform_2 .gfield_radio li label, #gform_1 .gfield_radio li label {
	margin-left: 3px !important;
	display: block !important;
	float: left !important;
}

#gform_2 .gfield_radio li input[type=radio], #gform_1 .gfield_radio li input[type=radio] {
	margin-top: 5px !important;
	float: left !important;
}

#gform_2 #field_2_2, #gform_1 #field_1_2 {
	margin-top: 0px !important;
}

/* Adjust appearance of complex form labels (the secondary labels within names and addresses) */
.ginput_complex label {
	font-weight: 300 !important;
	letter-spacing: 0px !important;
}

/* Fix weird "Other" input box */
#input_1_3_other {
	width: 95% !important;
}

nav.gf_login_links {display: flex;column-gap: 15px;font-size: 18px;font-weight: 700;row-gap: 10px;flex-wrap: wrap;}