#footer-marcas-wrapper #footer-marcas-inner {
  background: transparent url("/sites/all/themes/custom/gbfoods/images/ovalo-marcas-footer.png") no-repeat scroll 0 0 / 100% 100%;
  bottom: 52px;
  height: 213px;
  position: absolute;
  left: 0;
  width: 450px;
}

.front #footer-marcas-wrapper #footer-marcas-inner {
  background: transparent url("/sites/all/themes/custom/gbfoods/images/ovalo-marcas-footer-home.png") no-repeat scroll 0 0 / 100% 100%;
  height: 173px;
  left: 0;
  width: 449px;
  z-index: 999;
  bottom: 50px
}

/*
#content-home-wrapper #footer-marcas-wrapper #footer-marcas-inner {
  box-sizing: border-box;
  float: left;
  height: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
}

 */

.paragraph-logo .marca-footer pagina img {
  width: 200px;
}

#footer-marcas-inner {
  width: 100%;
}
#marcas-footer {
  float: left;
  width: 100%;
  box-sizing: border-box;
  padding: 57px 6% 0;
}

#block-gbfoods-marcas-block-marcas-footer,
.logos-marcas-footer-block {
  float: left;
  width: 100%;
  margin: 0;
  position: relative;
  text-align: center;
}
.logos-marcas-footer-block .marca-footer {
  display: inline-block;
  margin: 0px 13px;
  vertical-align: middle;
}

.front .logos-marcas-footer-block .marca-footer {
  margin: 0 7px 7px;
}

.logos-marcas-footer-block .marca-footer .open-marca-group,
.logos-marcas-footer-block .marca-footer a,
.marca-footer.pagina .open-marca-group,
.marca-footer.pag a {
  display: inline-block;
  float: left;
  width: auto;
}
.logos-marcas-footer-block .marca-footer img {
  display: inline-block;
  float: left;
  max-height: 40px;
  width: auto;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.front .logos-marcas-footer-block .marca-footer img {
    max-height: 33px;
}
.logos-marcas-footer-block .marca-footer a:hover img {
  filter: alpha(opacity=75);
  opacity: 0.75;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.logos-marcas-footer-block .marca-footer a,
.marca-footer.pag a {
  text-decoration: none;
  font-size: 12px;
  line-height: 8px;
  float: right;
  clear: left;
  text-align: center;
  font-family: 'apex_newbold';
}
.logos-marcas-footer-block .marca-footer a span {
  text-align: right;
  float: right;
  padding-right: 5px;
}

.open-marca-group {
  cursor: pointer;
}

.logos-marcas-footer-block .marca-footer-group,
.marca-footer.pagina .marca-footer-group {
  background: #fe5000 none repeat scroll 0 0;
  border-radius: 10px;
  box-sizing: border-box;
  left: -125%;
  padding: 15px 20px;
  position: absolute;
  text-align: center;
  top: -88px;
  width: 270px;
  max-width: 270px;
  min-width: 270px;
}

.logos-marcas-footer-block .marca-footer-group .flechita,
.marca-footer.pagina .marca-footer-group .flechita  {
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #fe5000;
  height: 0;
  left: 50%;
  position: absolute;
  top: 100%;
  width: 0;
}

.logos-marcas-footer-block .marca-footer-group .marca-footer-group-title {
  float: left;
  width: 100%;
  margin: 0 0 20px 0;
}
.logos-marcas-footer-block .marca-footer-group a.marca-group-link,
.marca-footer.pagina .marca-footer-group a.marca-group-link {
  float: left;
  width: 46%;
  margin: 0 2% 0 2%;
  font-family: 'apex_newbold';
  text-decoration: none;
  font-size: 16px;
  line-height: 18px;
  color: #ffffff;
  clear: none;
}


@media all and (min-width: 0px) and (max-width: 767px) {
    #footer {
        background: #fe5000;
    }

    .front #footer-marcas-wrapper {
    }

    .not-front #footer-marcas-wrapper {
        top: -240px;
        position: relative;
    }

  body #menu-footer-home .block > ul.menu {
    justify-content: start;
  }

  #footer-marcas-wrapper #footer-marcas-inner,
    .front #footer-marcas-wrapper #footer-marcas-inner {
        background: transparent url("/sites/all/themes/custom/gbfoods/images/marcas-mobile.png") no-repeat scroll 0 0 / 100% 100%;
        height: 290px;
        width: 100%;
        bottom: 200px;
        margin-top: 420px;
        position: static;
    }

    .front #footer-marcas-wrapper #footer-marcas-inner {
        position: absolute;
        top: 0;
    }

    .front #content #content-home-wrapper #footer-home-wrapper {
        background: transparent;
    }

    body.front #content #content-home-wrapper #footer-home-wrapper #footer-home-inner {
        background: rgba(254, 80, 0, 1) none repeat scroll 0 0;
        /*padding-top: 80px;*/
        top: 575px;
    }

    #footer-marcas-wrapper #footer-marcas-inner {
        margin-top: -83px;
    }

    body #page #footer #footer-inner #menu-footer-home .block > ul.menu {
    }

    body #page #footer #footer-inner #menu-footer-home .block > ul.menu > li {
        width: 45%;
      text-align: center;
    }
  
  .front #content #content-home-wrapper #footer-marcas-wrapper #footer-marcas-inner {
    /*margin: 340px 0 -110px;*/
    background-position-y: -20px;
  }
  #footer #footer-marcas-wrapper #marcas-footer {
    padding: 10px 0 0;
  }
  .logos-marcas-footer-block .marca-footer {
    margin: 0 4px 4px;
  }
  .logos-marcas-footer-block .marca-footer img {
    max-height: 45px;
  }
  .not-front #footer #footer-marcas-wrapper #marcas-footer {
    padding: 20px 15px 0;
  }
  .not-front .logos-marcas-footer-block .marca-footer {
    margin: 0 4px 4px;
  }
  .not-front .logos-marcas-footer-block .marca-footer img {
    max-height: 45px;
  }
  #footer #footer-marcas-wrapper .logos-marcas-footer-block .marca-footer-group {
    left: 15px;
    top: -55px;
  }
  body #footer-marcas-wrapper #marcas-footer {
    padding: 80px 5px 0 18px;
  }
  body #footer-marcas-wrapper #marcas-footer .logos-marcas-footer-block .marca-footer-group {
    left: 40px;
    top: -60px;
  }
  body.not-front #footer-marcas-wrapper #marcas-footer .logos-marcas-footer-block .marca-footer-group {
    top: -55px;
  }
  body #footer-marcas-wrapper #marcas-footer .logos-marcas-footer-block .marca-footer-group .flechita {
    left: auto;
    right: 33px;
  }

    body.front #content #content-home-wrapper #footer-home-wrapper {
        position: static;
    }

    body.front #content #content-home-wrapper #footer-home-wrapper  {
        z-index: -1
    }

    body.front #content #content-home-wrapper #footer-home-wrapper #footer-home-inner {
        bottom: 0;
        height: 320px;
        z-index: 1;
        position: absolute;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 25px;
    }

  body.front #content #content-home-wrapper #footer-home-wrapper #footer-home-inner #menu-footer-home #block-menu-menu-menu-footer ul.menu {
    padding: 150px 10px 50px 10px;
  }

  #footer #footer-inner, .front #content #content-home-wrapper #footer-home-wrapper {
    padding-top: 80px;
  }

  body.not-front #footer {
    margin-top: 230px;
  }

}

/* Footer tablet horizontal y desktop normal */
@media all and (min-width: 768px) and (max-width: 1550px) {
    body #footer {
        margin-top: 220px;
    }

    body.front #content-home-wrapper #footer-home-wrapper {
        height: 111px;
    }

    body #footer #footer-inner {
        bottom: 0;
    }

    .not-front #footer-marcas-wrapper #footer-marcas-inner {
        background: transparent url(/sites/all/themes/custom/gbfoods/images/ovalo-marcas-footer-home.png) no-repeat scroll 0 0 / 100% 100%;
        height: 173px;
        left: 0;
        width: 449px;
        z-index: 999;
        bottom: 169px;
        z-index: -2;
    }

    body .logos-marcas-footer-block .marca-footer img {
        max-height: 33px;
    }

    body #footer #footer-inner #menu-footer-home #block-menu-menu-menu-footer {
        padding: 0 10px 10px 10px;
        z-index: 1;
    }

    body #footer #footer-inner #menu-footer-home .block > ul.menu {
        padding: 33px 0 10px 0;
    }

    body.front #footer-marcas-wrapper #footer-marcas-inner {
        bottom: 110px;
    }

    body #footer-marcas-wrapper #footer-marcas-inner {
        bottom: 110px;
        left: -60px;
    }

    body #menu-footer-home .block > ul.menu > li {
        margin-left: 0;
        margin-right: 0;
    }

    body.front #marcas-footer {
        padding: 80px 6% 2px 55px;
    }

    body.not-front #marcas-footer {
        padding: 55px 6% 0 0px;
        max-width: 360px;
    }

    body #page #footer #footer-inner #menu-footer-home .block > ul.menu > li {
        width: 23%;
    }

    body #page #menu-footer-home .block > ul.menu > li > a {
        /*font-size: 19px;*/
    }

    body #content-home-wrapper #footer-home-wrapper {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .front #block-gbfoods-marcas-block-marcas-footer {
        margin-left: -57px;
    }

  .paragraph-logo .marca-footer pagina img {
    width: 170px;
  }
}

/* Ipad pro */
@media all and (min-width: 1024px) and (max-width: 1550px) {
  .not-front #footer-marcas-wrapper #footer-marcas-inner {
    bottom: 108px;
  }
}

/* Footer tablet vertical y desktop */
@media all and (min-width: 1551px) {
    body.front #marcas-footer {
        padding: 77px 6% 2px 0px;
        max-width: 380px;
    }

    .not-front #footer-marcas-wrapper #footer-marcas-inner {
        background: transparent url(/sites/all/themes/custom/gbfoods/images/ovalo-marcas-footer-home.png) no-repeat scroll 0 0 / 100% 100%;
        height: 173px;
        left: 0;
        width: 449px;
        z-index: 999;
    }

    body.not-front #marcas-footer {
        padding: 55px 6% 0 0px;
        max-width: 360px;
    }

    body .logos-marcas-footer-block .marca-footer img {
        max-height: 33px;
    }

    body #main #content .node {
        margin-bottom: 190px;
    }
}


/* Ipad pro */
@media all and (min-width: 1025px) and (max-width: 1550px) {
  body.front #content-home-wrapper #footer-home-wrapper {
    height: auto;
  }

  body.front #footer-marcas-wrapper #footer-marcas-inner {
    bottom: 44px;
    z-index: -2;
  }

  body #menu-footer-home .block > ul.menu {
    padding: 5px 0px 5px;
  }

  body #menu-footer-home .block > ul.menu > li {
    padding: 3px 18px;
  }

  body #menu-footer-home .block > ul.menu > li a {
    font-size: 14px;
  }

  body #page #footer #footer-inner #menu-footer-home .block > ul.menu > li {
    width: auto;
  }

  body.not-front #footer-marcas-wrapper #footer-marcas-inner {
    bottom: 48px;
  }

  body #content-home-wrapper #footer-home-wrapper {
    padding-bottom: 6px;
    padding-top: 6px;
  }

  body.front #footer #footer-inner #menu-footer-home .block > ul.menu {
    padding: 0;
  }

  body.not-front #footer #footer-inner #menu-footer-home .block > ul.menu {
    padding: 15px 0 10px 0;
  }

  body #footer #footer-inner #menu-footer-home #block-menu-menu-menu-footer {
    padding: 0;
  }

  /*
  body #menu-footer-home .block > ul.menu {
    justify-content: left;
  }
  body #menu-footer-home .block > ul.menu > li {
    width: 25%;
  }
  */
}

/* Ipad */
@media all and (min-width: 768px) and (max-width: 1024px) {
  body.front #content-home-wrapper #footer-home-wrapper {
    height: auto;
  }

  body.front #footer-marcas-wrapper #footer-marcas-inner {
    bottom: 76px;
  }

  body #menu-footer-home .block > ul.menu {
    padding: 5px 0px 5px;
  }

  body #menu-footer-home .block > ul.menu > li {
    padding: 3px 5px;
  }

  body #menu-footer-home .block > ul.menu > li a {
    font-size: 10px;
  }

  body #page #footer #footer-inner #menu-footer-home .block > ul.menu > li {
    width: auto;
  }

  body #footer #footer-inner #menu-footer-home .block > ul.menu {
    padding: 15px 0 10px 0;
  }

  body.not-front #footer-marcas-wrapper #footer-marcas-inner {
    bottom: 30px;
  }

  body.front #page #content #content-home-wrapper #footer-home-wrapper #footer-home-inner #menu-footer-home #block-menu-menu-menu-footer ul.menu > li {
    width: auto;
    padding: 3px 5px;
    margin: 0 10px 0;
  }

  body.front #footer-marcas-wrapper #footer-marcas-inner {
    bottom: 42px;
    z-index: -2;
  }

  body #content-home-wrapper #footer-home-wrapper {
    padding-bottom: 6px;
    padding-top: 6px;
  }

  body #footer #footer-inner #menu-footer-home .block > ul.menu {
    padding: 0;
  }

  body #footer #footer-inner #menu-footer-home #block-menu-menu-menu-footer {
    padding: 0;
  }

  /*
  body #menu-footer-home .block > ul.menu {
    justify-content: left;
    padding: 1px 50px 5px;
  }
  body #menu-footer-home .block > ul.menu > li {
    width: 33%;
  }
  .not-front #footer-marcas-wrapper #footer-marcas-inner {
    bottom: 122px;
  }
  */
}
