/*
 Theme Name:   Divi Child Theme
 Theme URI:    https://c-3group.com
 Description:  Child Theme for Divi
 Author:       C-3 Group
 Author URI:   https://c-3group.com
 Template:     Divi
 Version:      1.0.0
*/

/*****Add any custom CSS below this line*****/


@media (min-width: 769px) {
  /* Make the whole address block a grid */
  #address-1 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
    row-gap: 20px;
  }

  /* Kill Forminator's built-in column sizing/padding */
  #address-1 .forminator-col {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
  }

  /* Street spans full row */
  #address-1-street_address {
    grid-column: 1 / -1;
  }

  /* Force city/state/zip each into one column */
  #address-1-city {
    grid-column: 1;
  }

  #address-1-state {
    grid-column: 2;
  }

  #address-1-zip {
    grid-column: 3;
  }

  /* Remove weird row wrappers from affecting layout */
  #address-1 > .forminator-row {
    display: contents !important;
  }
}

@media (max-width: 768px) {
  #address-1 {
    display: block !important;
  }

  #address-1 .forminator-col {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 20px !important;
  }
}