/*
 Theme Name:     Divi Child Theme
 Theme URI:      http://popweb.co.za
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
@import url("../Divi/style.css");

 


 /* =Theme customization starts here
------------------------------------------------------- */

/*Get rid of the deep footer with widgests*/
#main-footer {
	display:none !important;
}
/* Hide image titles on hover */
img {
pointer-events:none !important;
}

/*Hide an item with this class*/
.hide-me {
  display: none !important;
}
/*Make select input field not bold*/
body .et_pb_contact_select select {
  font-weight: normal !important;
}

.et_pb_contact_select select,
.et_pb_contact_select select option {
  font-weight: 300 !important;
  font-weight: normal !important;
}

/*CSS to make a contact form inline*/

/* set the contact form container to use flexbox layout */
.pa-inline-contact-form .et_pb_contact_form {
  display: flex;
}

/* style each contact form field */
.pa-inline-contact-form p.et_pb_contact_field {
  display: inline-block;
  padding: 0;
  width: 25%;
  margin-right: 20px;
}

/* style for the container of the submit button */
.pa-inline-contact-form .et_contact_bottom_container {
  display: inline-block;
  width: 25%;
  margin-top: 0;
}

/* style for the submit button */
.pa-inline-contact-form .et_contact_bottom_container .et_pb_contact_submit {
  margin: 0 0 0 0px!important;
  width: 100%;
}


  /*---------- [Additional font import] ----------
     ----------remove comment tags below to import a font  i.e slash star and star slash
  */
/*@import url('https://fonts.googleapis.com/css?family=FONT-NAME-HERE:400,700');*/
	

.hide-category-badge .bsui .ab-bottom-left {
	display: none!important;
}
	
/* Hide category badge of winery listing page */
.bsui .float-start {
    display: none;
}

/*.bsui a {
	display:none;
}*/

/*
.bsui {
	text-align: center;

}*/

/*.main_title {
	text-align: center;
}*/

.h1-horiz-centre .entry-title .main_title {
	text-align: center;
}


/* Set font color for description text in Add Listing form */
form#geodirectory-add-post small.text-muted {
    color: #333333 !important;
}

/* Make images square on single winery listing page */
/* Winery single page – square featured image */
.winery-featured-image .geodir-image-container,
.winery-featured-image .geodir-image-wrapper,
.winery-featured-image ul.geodir-images,
.winery-featured-image ul.geodir-images li {
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
}

/* Show the complete image without cropping */
.winery-featured-image .geodir-images img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

.bsui .ratio-16x9 {
    --bs-aspect-ratio: calc(1 / 1 * 100%);
}

/* Hide GeoDirectory directions form below the map */
.hide-directions .geodir-map-directions-wrap {
    display: none !important;
}

/* class for extra styling for Get Directions button on single listing page */
.get-directions-button a.gd-badge.border-0.badge {
	padding: 10px 20px 10px 16px;
    font-size: 1rem;
    margin-top: 20px;
    width: 100%;
	border-radius: 10px;
}

/* FSM Wines plugin styling */
.casa-buy-button {
	color: #ffffff !important;
	border-radius: 10px !important;
	padding-top: 5px !important;
	padding-bottom: 5px !important;
}

/* Map filter bottom right - add bottom padding */
body.gd-google-maps .geodir-map-wrap .geodir-map-cat-filter-wrap {
	margin-bottom: 0px !important;
}

