.aemps-footer {
  margin-top: 2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--lighter-contrast);
  background-color: var(--secondary-color)
}

.aemps-footer .row:nth-child(2) {
  padding-top: 1rem;
  align-items: center
}

.aemps-footer__submenu,
.aemps-footer__media,
.aemps-footer__brands {
  margin: 1rem 0;
}

.aemps-footer a {
  color:#fff;
  position: relative;
  font-weight: var(--p-weight);
  text-decoration: none
}

.aemps-footer__submenu a::before {
  content: "";
  background: #FFF;
  display: block;
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 0;
  height: 3px;
  transition: all 0.3s ease-in-out;
  border-radius: 4px
}

@media (hover:hover) {
  .aemps-footer__submenu a:hover::before {
    width: 100%;
    right: unset;
    left: 0
  }
}

.aemps-footer__submenu {
  display: grid;
  padding: 0;
  list-style: none;
  text-align: center;
}

.aemps-footer__submenu li {
  background-image: none;
  padding: 0;
  margin: .2rem 0
}

.aemps-footer__media {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  align-items: center;
}

.aemps-footer__media img {
  width: 32px;         
  height: auto;        
  max-height: 32px;    
  object-fit: contain; 
}

.aemps-footer__brands {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.aemps-footer__brands img {
  width: auto;         
  height: 80px;        
  max-height: 80px;    
  object-fit: contain; 
  box-shadow: inset 0 0 0px 2px #FFF;
}

.aemps-footer__adress {
  color: #fff;
  line-height: 1.4;
  text-align: center;
  display: flex;
  align-items: center
}

.aemps-footer__adress #isotipo-aemps{
  width: auto;
  height: 30px;
  padding-right: 1rem
}

.aemps-footer__adress p {
  font-size: var(--p-size-xs);
  border-left: 2px solid #fff;
  padding-left: 1rem
}

@media (min-width: 768px) {
  .aemps-footer__submenu { 
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.2rem
  }
  .aemps-footer__brands { justify-content: end }
  .aemps-footer__media { justify-content: end }
  .aemps-footer__adress { text-align: left }
}

@media (max-width: 576px) {
  .aemps-footer .row:nth-child(2) { padding-top: 0 }
  .aemps-footer__adress { padding: 0 2rem }
  .aemps-footer__adress #isotipo-aemps{ display: none }
  .aemps-footer__adress p { border-left: none }
}

.otgs-development-site-front-end {
	display: none;
}