/*======================================
Theme Name:Rhythm Collective
Theme URI: https://rhythmco.com/
Description: This is a free Divi child theme from Rhythm Collective!
Author: Abdul Ohab (WordPress Developer)
Author Email: aohab@rhythmco.com
Template: Divi
Version: 1.0
======================================*/

/*add your custom CSS below this line*/

div#wpforms-244875-field_3-container {
    margin-bottom: 0px!important;
}
div#wpforms-244875-field_4-container {
    margin-bottom: 0px!important;
}

@media (max-width: 767px) {
  .wpforms-container .wpforms-layout-row {
    flex-direction: column !important;
    flex-wrap: wrap !important;
  }
  .wpforms-container .wpforms-layout-column {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
.modern-form-container #wpforms-244875-field_3-container {
    margin-bottom: 20px!important;
}
	
.dsm_advanced_tabs_0 .dsm-advanced-tabs-container .dsm-advanced-tabs-wrapper {
        -ms-flex-direction: column;
        flex-direction: column!important;
}

}

/* Style for all input fields, textareas, and selects */
.modern-form-container .wpforms-field input[type="text"],
.modern-form-container .wpforms-field input[type="email"],
.modern-form-container .wpforms-field input[type="tel"],
.modern-form-container .wpforms-field textarea {
    width: 100% !important;
    background-color: #F3F4F6 !important;
    border: 1px solid #D1D5DB !important;
    border-radius: 0.5rem !important; 
    padding: 0.75rem 1rem !important; 
    transition: all 0.2s ease-in-out !important;
    box-shadow: none !important;
}

/* Remove margin from the top-level form fields for tighter spacing */
.modern-form-container .wpforms-field {
    padding: 0 !important;
    margin-bottom: 1.5rem !important; 
}

/* Style for required field indicator */
.wpforms-required-label {
    color: #181623!important;
    font-weight: 700!important;
	  font-size: 18px!important;
}
.wpforms-field-label {
    color: #181623!important;
    font-weight: 700!important;
	  font-size: 18px!important;
}

/* --- NEW: Generic two-column layout styles --- */
/* Targets the container for side-by-side fields */
.modern-form-container .wpforms-field-row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Styles the individual columns */
.modern-form-container .wpforms-field-row .wpforms-one-half {
    width: calc(50% - 0.75rem) !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
}

/* Responsive: Makes columns full-width on smaller screens */
@media (max-width: 640px) {
    .modern-form-container .wpforms-field-row .wpforms-one-half {
        width: 100% !important;
    }
}


/* Submit Button Styling - UPDATED */
.modern-form-container .wpforms-submit-container {
    padding: 0 !important;
    margin-top: 1rem !important;
}

.wpforms-submit {
    width: 100% !important;
    background-color: #ba9f74!important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 0.75rem 1.5rem !important;
    border: none !important;
    border-radius: 0.5rem !important; 
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    transition: all 0.2s ease-in-out !important;
    transform: scale(1) !important;
}

/* Submit Button Hover Effect - UPDATED */
.modern-form-container .wpforms-submit:hover {
    background-color: #54632e!important;
    transform: scale(1.02) !important;
}

.pa-blog-equal-height .pa-auto-height {
    height: auto !important;
}

.pa-blog-equal-height .pa-auto-margin {
    margin-top: 20px !important;
}
/*style the wp-pagenavi pagination links*/

.wp-pagenavi a,
.wp-pagenavi span {
	color: #000000;
	background: #f1f3f5;
	font-size: 1em !important;
	line-height: 1em;
	font-weight: bold !important;
	padding: 0.45em 0.8em !important;
	border-radius: 100px;
  border: none;
	transition: all .5s;
}
/*style the wp-pagenavi current page number*/

.wp-pagenavi span.current {
	color: #ffffff !important;
	background: #974FC2 !important;
	border-radius: 100px;
}
/*style the wp-pagenavi pagination links on hover*/

.wp-pagenavi a:hover {
	color: #ffffff!important;
	background: #974FC2!important;
}
/*style the wp-pagenavi pages text*/

.wp-pagenavi .pages {
	background: none;
}
/*remove border and center the wp-pagenavi links*/

.wp-pagenavi {
	border-top: none;
	text-align: center;
}
/*style and position the back to top button*/
body .et_pb_scroll_top {
	background-color: #ba9f74!important;
	color: #fff!important;
	padding: 10px 20px 10px 10px !important;
	right: 20px !important;
	bottom: 125px !important;
	border-radius: 5px !important;
}