@media (max-width: 767px) {
  body {
    padding-top: 25px;
  }
}

/* home */
.page-template-homev2 .container {
  width: inherit;
  max-width: 1280px;
}

.header-mobile {
  margin: 0 !important;
  top: 0;
  left: 0;
  width: 100%;
  position: fixed;
  z-index: 1000;
  background: #fff;
  padding-top: 15px;
  padding-bottom: 15px;
}

.header-mobile .container .cabecera {
  margin-bottom: 0;
  margin-right: 0;
  margin-left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-mobile .container .cabecera > div {
  width: 100%;
}

.header-mobile .izq {
  display: flex;
  align-items: center;
}

.header-mobile .izq .btn-movil-menu {
  position: relative;
}

.header-mobile .izq .btn-movil-menu span {
  width: 25px;
  background: #000;
  height: 3px;
  margin-bottom: 3px;
  display: block;
  -webkit-transition: all 0.3s ease-in;
  -moz-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}

.header-mobile .izq .btn-movil-menu span:last-child {
  margin-bottom: 0;
}

.header-mobile .izq .btn-movil-menu.open-menu {
  width: 25px;
  height: 8px;
}

.header-mobile .izq .btn-movil-menu.open-menu span {
  position: absolute;
  margin: 0;
}

.header-mobile .izq .btn-movil-menu.open-menu span.uno {
  top: 5px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.header-mobile .izq .btn-movil-menu.open-menu span.dos {
  display: none;
  width: 0 !important;
  top: 11px;
}

.header-mobile .izq .btn-movil-menu.open-menu span.tres {
  bottom: 0;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.header-mobile .izq .logo {
  margin-left: 25px;
  max-width: 100px;
}

.header-mobile .izq .logo img {
  width: 100%;
  height: auto;
}

.header-mobile .social-menu {
  margin-bottom: 0;
}

.header-mobile .menu-movil {
  max-height: calc(100vh - 56px);
  overflow-y: scroll;
  padding-top: 25px;
  padding-bottom: 25px;
  text-transform: uppercase;
  display: none;
  margin-left: 0px;
  margin-right: 0px;
}

.header-mobile .menu-movil ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-mobile .menu-movil ul li {
  padding: 4px 0;
  position: relative;
}

.header-mobile .menu-movil ul li.menu-item-has-children:after {
  content: "\f107";
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 18px;
  position: absolute;
  right: 0;
  top: 3px;
}

.header-mobile .menu-movil ul li .sub-menu {
  display: none;
  margin-top: 10px;
  margin-bottom: 6px;
}

.header-mobile .menu-movil ul li .sub-menu li {
  padding: 4px 0 4px 15px;
}

.header-mobile .menu-movil ul li a br {
  content: " ";
}

.header-mobile .menu-movil ul li a br:after {
  content: " ";
}

@media (max-width: 767px) {
  #home2017 .bloque-slider .imagen-principal {
    height: auto;
    opacity: 1;
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 767px) {
  #home2017 .bloque-slider .video-mes {
    background: none !important;
  }
}

@media (max-width: 767px) {
  #home2017 .bloque-slider .cartela .cartela-container {
    padding: 0 45px;
  }
}

@media (max-width: 767px) {
  #home2017 .bloque-slider .bx-controls-direction a {
    margin-top: -21px !important;
  }
}

@media (max-width: 767px) {
  #home2017 .bloque-slider .bx-controls-direction .bx-next {
    right: 10px !important;
  }
}

@media (max-width: 767px) {
  #home2017 .bloque-slider .bx-controls-direction .bx-prev {
    left: 10px !important;
  }
}

#home2017 .bloque-posts .titulo-categoria {
  float: none;
}

#home2017 .bloque-posts .titulo-categoria h2 {
  border-top: 2px solid #000;
  text-align: center;
  padding-top: 30px;
  text-align: center;
}

#home2017 .bloque-posts .posts {
  display: flex;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  #home2017 .bloque-posts .posts .imagen-principal {
    margin-left: -15px;
    margin-right: -15px;
  }
}

#home2017 .bloque-posts .posts .imagen-principal .wp-post-image {
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  #home2017 .bloque-posts .posts .texto-post {
    margin-left: 10px;
    margin-right: 10px;
  }
}

#home2017 .bloque-bloque_publicidad_adsense {
  margin-bottom: 40px;
  text-align: center;
}
