/*
Theme Name: Alferro theme
Theme URI: 
Author: garridinsi
Author URI: 
Description: Alferro theme
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfour
Text Domain: alferro-theme
Tags: 
*/

.igm-live-filter-dropdown {
  text-align: left;
}

.alf-no-wrap {
  text-wrap: nowrap;
}

.horizontal-separador-alf {
  width: max-content;
  height: max-content;
}

.alf-text-balance-wrap {
  text-wrap: balance;
}

g.imapsContainer.imapsTooltip > g > g > foreignObject > div {
  font-size: 1rem;
}
.alf-button-blue-hover > div > a:hover {
  color: black !important;
  background-color: #ffffff00 !important;
  border-color: currentColor !important;
  border-width: 1.5px !important;
  border-style: solid !important;
}

.alf-button-blue-hover > div > a,
.alf-button-single-transp-hover > a,
.alf-button-single-white-hover > a,
.wp-block-button.is-style-outline > a,
.wp-block-button.is-style-fill > a,
.alf-inner-img-hover-overlay img,
.alf-inner-img-hover-overlay a {
  transition-duration: 0.2s;
}

.alf-button-single-transp-hover > a:hover,
.wp-block-button.is-style-outline > a:hover {
  color: var(--wp--preset--color--custom-color-alferro) !important;
  background-color: #ffffff !important;
  border-color: currentColor !important;
  border-width: 1.5px !important;
  border-style: solid !important;
}
.alf-button-single-white-hover > a:hover,
.wp-block-button.is-style-fill > a:hover {
  color: white !important;
  background-color: #ffffff00 !important;
  border-color: currentColor !important;
  border-width: 1.2px !important;
  border-style: solid !important;
}
footer.wp-block-template-part {
  margin-top: 0;
}

.alf-inner-img-hover-overlay img:hover {
  opacity: 0.7;
}
.alf-inner-img-hover-overlay a:hover {
  background-color: var(--wp--preset--color--custom-color-alferro) !important;
}

/*
*
* Fix responsive navigation menu issues
* and other mobile display problems
*
*/
@media screen and (min-width: 875px) {
  .show-only-mobile {
    display: none !important;
  }
}
@media screen and (max-width: 874px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 875px) {
  .wp-block-navigation.items-justified-right
    .wp-block-navigation__container
    .has-child
    .wp-block-navigation__submenu-container
    .wp-block-navigation__submenu-container,
  .wp-block-navigation.items-justified-right
    .wp-block-page-list
    > .has-child
    .wp-block-navigation__submenu-container
    .wp-block-navigation__submenu-container,
  .wp-block-navigation.items-justified-space-between
    .wp-block-page-list
    > .has-child:last-child
    .wp-block-navigation__submenu-container
    .wp-block-navigation__submenu-container,
  .wp-block-navigation.items-justified-space-between
    > .wp-block-navigation__container
    > .has-child:last-child
    .wp-block-navigation__submenu-container
    .wp-block-navigation__submenu-container {
    left: 100%;
    right: auto;
  }
}

@media screen and (max-width: 874px) {
  /* hamburger button */
  .wp-block-navigation__responsive-container-open {
    display: block !important;
  }

  /* full menu */
  .wp-block-navigation__responsive-container:not(.is-menu-open.has-modal-open) {
    display: none !important;
  }
}
