body {
 overflow-x: hidden;
}
header {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    left: 0;
    padding: 30px 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 200;
}
 header>div {
    text-align: right;
}
header .margen {
    margin: auto;
    max-width: 1000px;
    width: 95%;
}
   header .logo {
    display: block;
    position: relative;
    text-indent: -9999px;
    width: 190px;
    z-index: 350;
}
   header .logo.athletic {
    width: 260px;
}
      header .logo.sanmames {
    width: 190px;
}
.contenedor {
    max-width: 1070px;
}
.contenedor, .margen {
    margin: auto;
    width: 100%;
}

/*Cabecera*/
#cabecera {
    height: auto;
    margin: 0;
    padding-top: 0 !important;
 overflow: visible !important;
}
   #cabecera>div:hover .cabecera-fondo {
    background-color: rgba(0, 0, 0, .8);
}
#cabecera video, .cabecera-fondo {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
 
#cabecera .h1.subtitulo {
    font-size: 45px;
    font-style: italic;
    font-weight: 800;
    line-height: 100%;
    max-width: none;
}


#cabecera>div {
    display: block;
    height: 100%;
    /*overflow: hidden;*/
  overflow: visible !important;
    position: relative;
    width: 100%;
}
   .cabecera-imagen {
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: 2s;
    width: 100%;
}
   #cabecera .cabecera-imagen {
    left: 0;
    position: absolute;
    top: 0;
}
   .cabecera-fondo {
    background-color: rgba(0, 0, 0, .7);
    transition: .3s;
    z-index: 1;
}
   #cabecera video, .cabecera-fondo {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.cabecera-info {
    position: absolute;
    text-align: center;
    top: calc(50% + 20px);
    transform: translateY(-50%);
    width: 100%;
    z-index: 4;
}
#cabecera .cabecera-info {
    left: auto;
    margin: auto;
    max-width: 1070px;
    padding: 130px 35px;
    position: relative;
    text-align: left;
    top: auto;
    transform: none;
    width: 100%;
}
#cabecera .cabecera-info {
    padding: 150px 35px 80px;
}
   .swing {
    opacity: 0;
     transform: translateY(30px);}
     
   #cabecera .h1:first-of-type {
    font-size: 25px;
    font-style: italic;
    font-weight: 800;
    margin: 0 0 8px 14px;
}
   #cabecera .h1.subtitulo {
    font-size: 45px;
    font-style: italic;
     color: #ffffff;
    color: #fff !important;
    font-weight: 800;
    line-height: 100%;
    max-width: none;
}
   #cabecera .h2.subtitulo {
    font-size: 28px;
    font-style: italic;
   color: #ffffff;
    font-weight: 500;
    line-height: 100%;
    margin: 18px 0 8px 14px;
    max-width: none;
}
/* Contenido */
section {
    margin: 100px 0;
    padding: 0;
}

contenido {
    display: flex;
    justify-content: space-between;
}

   .texto {
   color: #1c1c1c;
    font-family: Open Sans, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 170%;
   }  
/* Saca el bloque de contenido por encima de la imagen cabecera */
.layout-canvas-g {
    position: relative;
    z-index: 10;
    margin-top: -170px;
      background-color: transparent !important;
}

/* Quita el top: -170px del td que ya no hace falta */
.responsive-td:first-child {
    position: relative !important;
    background-color: #fff !important;
    box-shadow: 0 6px 10px 4px rgba(0, 0, 0, .15) !important;
    padding: 40px !important;
    top: 0 !important;        /* ya no necesitas top negativo */
    z-index: 10 !important;
}

/* Y el propio td */
   .responsive-td:last-child {
    position: static !important;
    background-color: transparent !important;
    box-shadow: none !important;
     padding-right: 100px !important;
margin-top: 170px !important;
}
/* Footer */
footer.landing {
    color: #858585;
    font-size: 13px;
    line-height: 160%;
    margin-bottom: 20px;
    margin-top: 40px;
    text-align: center;
}
   footer.landing a {
    color: #858585;
    font-size: 13px;
    text-decoration: none;
}
   footer.landing .margen {
    border-bottom: 1px solid #ebebeb;
    border-top: 1px solid #ebebeb;
    padding: 28px 0;
}

@media only screen and (max-width: 1069px) {
    .texto {
        text-align: left;
        order: 2;
      margin-top: 48px;
    }
  body.plantilla-descarga .contenido>aside {
  order: 1;
        max-width: 100%;
  }
  body.plantilla-descarga section {
  margin: -60px 0 0;
}
  .formulario {
  height: 750px;
  }
} 
@media only screen and (max-width: 819px) {
    .texto {
        text-align: left;
        order: 2;
      margin-top: 48px;
    }
  body.plantilla-descarga .contenido>aside {
  order: 1;
        max-width: 100%;
  }
  body.plantilla-descarga section {
  margin: -60px 0 0;
}
    .formulario {
  height: 800px;
  }
}  
@media only screen and (max-width: 569px) {
    .texto {
        text-align: left;
        order: 2;
      margin-top: 48px;
    }
  body.plantilla-descarga .contenido>aside {
  order: 1;
        max-width: 100%;
  }
  body.plantilla-descarga section {
  margin: -60px 0 0;
}
    .formulario {
  height: 900px;
  }
  .btn-submit {
      width: 100%;
  }
}