/*
 Theme Name:   Dynamic Divi Child Theme
 Theme URI:    https://diviengine.com/
 Description:  Dynamic Divi Child Theme
 Author:       Divi Engine
 Author URI:   https://diviengine.com/
 Template:     Divi
*/

 
/*---------Theme customization starts right here-------------*/

/*----------MAKE THE MENU STICKY WHEN ON MOBILE DISPLAY----------*/

@media (max-width: 980px) {
.et_non_fixed_nav.et_transparent_nav #main-header, .et_non_fixed_nav.et_transparent_nav #top-header, .et_fixed_nav #main-header, .et_fixed_nav #top-header {
    position: fixed !important; } }
.et_mobile_menu {
    overflow: scroll !important;
    max-height: 83vh;
}

/*--------------Mobile Menu Hamburger Changes To "X" on click-----------------*/
   div.mobile_nav.opened .mobile_menu_bar:before {
   font-family: "ETmodules";
   content: "\4d"; 
}


/*-----Hide Lightbox meta-------*/
.mfp-title, .mfp-counter {
  display: none;
}

/*-----place button modules next to each other in the same column-------*/
.pa-inline-buttons .et_pb_button_module_wrapper {
    display: inline-block;
}

/*-----------------------Vertical Align Text---------------------------*/
    .vertical-align { 
        display: flex; 
        flex-direction: column; 
        justify-content: center;
    } 

/*----------------Blurb Image Zoom Hover Effect----------------------------*/
@media only screen and (min-width : 767px) {
     .blurb-hover .et_pb_main_blurb_image {
            position: relative;
            overflow: hidden;}
     .blurb-hover img.et-waypoint {
        margin-bottom: -5px;
            -webkit-transition: -webkit-transform 0.3s;
            transition: transform 0.3s;
            -webkit-transform: scale(.99);
            transform: scale(.99);}
     .blurb-hover img.et-waypoint:hover {
            -webkit-transform: scale(1.11);
            transform: scale(1.11);}
     }



/*---------------------------------------- Set Scroll Top Anchor Color & Position----------------------------------------*/
.et_pb_scroll_top.et-pb-icon {
    background: #039C06 none repeat scroll 0 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    bottom: 170px;
    color: #ffffff;
    cursor: pointer;
    display: none;
    font-size: 30px;
    padding: 5px;
    position: fixed;
    right: 0;
    text-align: center;
    text-decoration: none;
    z-index: 99999;
}



/*-------------------------Make Footer Widgets Full Width---------------------------------------------------------------------------*/
#footer-bottom .container, #main-footer .container{
margin-right: 2.773%; 
margin-left: 2.773%; 
width:94.454%!important;
max-width: 94.454%;
}

/*-----------------------Center Footer Menu Links-----------------------*/
.bottom-nav {
text-align: center;
}

/*----------------------------------- Person Module Position Text Color------------------------------*/
.et_pb_member_position {
    padding-bottom: 7px;
    color: #000000;
}


.flex-SameSize .et_pb_column_1_3{
display: flex;
}

/*----------------GDPR Banner Styles---------------------*/
#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme {
    background-color: #fff;
border-top: 1px solid #039C06 !important;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton {
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  padding: 8px 30px;
  transition: all .3s ease;
  border: none;
  display: inline-block;
  margin: 3px 4px;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

/*------------Blog Post Customizations----------*/
.entry-title {
  text-align: center;
}

.post-meta  {
 text-align: center;
}

#left-area .post-meta a {
  color: #039C06;
}

/*--------------Fullwith Specialty Section----------------------*/

.ds-fullwidth-specialty> .et_pb_row {
min-width: 90% !important;
}

/*------Radius Corners On Smart Slider 3----------*/
.n2-ss-slider {
    border-radius: 10px; /* Adjust the radius size as needed */
    overflow: hidden; /* Ensure content doesn't spill out of the rounded corners */
}


/*-----------Gravity Forms Styles-------------------*/

/*--------------GF Buttons match Divi Buttons------------*/

.gform_wrapper .gform_button {
    background-color: #039C06; /* Match your button color */
    color: #ffffff; /* Match your text color */
    border: none;
    border-radius: 5px; /* Match button radius */
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    cursor: default; /* Default cursor */
}

.gform_wrapper .gform_button:hover {
    background-color: #028a05; /* Darker color on hover */
    cursor: pointer; /* Show pointer (click) icon */
}

/*-----------------GF Hide Required Legend----------*/

.gform_required_legend {display: none}

/*-----------GF Popup ID# 8 Styles----------------*/

/* Center field labels (titles) */
#gform_wrapper_8 .gfield_label {
    text-align: center;
    width: 100%;
    display: block;
    margin-bottom: 3px; /* Reduce space below labels */
}

/* Center input fields (text, dropdowns, name fields, etc.) */
#gform_wrapper_8 .ginput_container {
    display: flex;
    justify-content: center;
}

/* Force the name fields (First & Last) to align properly with Email */
#gform_wrapper_8 .ginput_complex {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: space-between; /* Ensures proper spacing */
    gap: 10px; /* Creates spacing between first & last name */
    max-width: 300px; /* Matches other fields */
    margin: 0 auto;
}

/* Ensure First Name and Last Name fields have equal width */
#gform_wrapper_8 .name_first,
#gform_wrapper_8 .name_last {
    flex: 1; /* Ensures equal width */
}

/* Ensure all fields (First Name, Last Name, Email) have the same style */
#gform_wrapper_8 .name_first input,
#gform_wrapper_8 .name_last input,
#gform_wrapper_8 input[type="text"],
#gform_wrapper_8 input[type="email"],
#gform_wrapper_8 input[type="tel"],
#gform_wrapper_8 input[type="url"],
#gform_wrapper_8 input[type="password"],
#gform_wrapper_8 textarea,
#gform_wrapper_8 select {
    border-radius: 10px;
    border: 2px solid #8DC53E;
    padding: 6px;
    font-size: 16px;
    width: 100%;
    max-width: 300px;
    min-width: 250px;
    box-sizing: border-box;
    background: white;
    margin-bottom: 5px !important;
}

/* Ensure radio buttons stay aligned */
.gform_wrapper.gravity-theme .gfield-choice-input + label {
    max-width: 100% !important;
}

/* Remove any centering of radio buttons */
#gform_wrapper_8 .gfield_radio ul {
    display: block !important;
    text-align: left !important;
    padding: 0;
    margin: 0;
}

/* Ensure radio buttons are fully left-aligned */
#gform_wrapper_8 .gfield_radio li {
    width: auto !important;
    text-align: left !important;
    list-style: none;
}

/* Center submit button */
#gform_wrapper_8 .gform_footer {
    text-align: center;
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

/* Style submit button */
#gform_wrapper_8 .gform_footer input[type="submit"] {
    width: 200px;
    height: 40px;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 10px;
    border: 2px solid #039C06;
    background-color: #039C06;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Submit button hover effect */
#gform_wrapper_8 .gform_footer input[type="submit"]:hover {
    background-color: #8DC53E;
    border-color: #8DC53E;
}
