/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Tags: responsive-layout,one-column,two-columns,three-columns,four-columns,left-sidebar,right-sidebar,custom-background,custom-colors,featured-images,full-width-template,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready
Version: 4.4.1.1794130332
Updated: 2020-07-02 19:04:43

*/

/* Footer partner logos (footer.php). Logos are sized by visual weight, not by
   height: height = size / ratio^0.4, so wide logos get shorter and square ones
   taller. Each <img> carries its width/height ratio in --r. */
.footer-logos {
  --logo-size: 72px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px 44px;
  padding: 24px 16px;
  background: #fff !important;
  margin-top: 15px;
}

.footer-logos + .footer-logos {
  margin-top: 0;
  padding-top: 8px;
}

.footer-logos img {
  width: auto;
  max-width: 100%;
  height: calc(var(--logo-size) * .65); /* fallback for browsers without pow() */
  height: calc(var(--logo-size) / pow(var(--r, 2.5), .4));
  object-fit: contain;
}

.footer-logos-label {
  font-weight: bold;
}

@media (max-width: 767px) {
  .footer-logos {
    --logo-size: 58px;
    gap: 20px 28px;
  }

  .footer-logos-label {
    flex-basis: 100%;
    text-align: center;
  }
}