/* Cabecera microsite Curso de verano: desktop + mobile
   Este archivo se carga en local desde: ../css/curso-verano.css
*/

.home-microsite .sectionheader--footer {
  display: none;
}

.header-info.home-microsite .sectionheader {
  background: #000;
}

.header-info.home-microsite .sectionheader .htitle {
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  min-height: 100px;
  margin: 0 auto;
  padding: 0 40px;
  background: #000;
  box-sizing: border-box;
}

.header-info.home-microsite .sectionheader .htitle .customise {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
}

.header-info.home-microsite .sectionheader .htitle .customise:first-child {
  justify-content: flex-start;
}

.header-info.home-microsite .sectionheader .htitle .customise:last-child {
  justify-content: flex-end;
}

.header-info.home-microsite .sectionheader .htitle .customise a {
  display: flex;
  align-items: center;
  width: auto;
  max-width: 100%;
}

.header-info.home-microsite .sectionheader .htitle .customise img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.header-info.home-microsite .sectionheader .htitle .customise:first-child img {
  max-height: 50px;
}

.header-info.home-microsite .sectionheader .htitle .customise:last-child img {
  max-height: 48px;
}

@media only screen and (max-width: 768px) {
  .header-info.home-microsite .sectionheader .htitle {
    display: grid;
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 0;
    background: #000;
  }

  .header-info.home-microsite .sectionheader .htitle .customise {
    width: 100%;
    height: auto;
    box-sizing: border-box;
  }

  .header-info.home-microsite .sectionheader .htitle .customise:first-child {
    justify-content: flex-start;
    padding: 12px 16px;
    border-bottom: 1px solid #2a2a2a;
    margin-left: 0;
  }

  .header-info.home-microsite .sectionheader .htitle .customise:last-child {
    justify-content: flex-start;
    padding: 4px 16px;
  }

  .header-info.home-microsite .sectionheader .htitle .customise:first-child img {
    max-height: 36px;
    max-width: 92%;
  }

  .header-info.home-microsite .sectionheader .htitle .customise:last-child img {
    max-height: 34px;
    max-width: 100%;
  }

  .header-info.home-microsite .sectionheader .htitle .customise+.customise {
    margin: 0;
  }
}

@media only screen and (min-width: 768px) {
  .header-info.home-microsite .sectionheader .htitle .customise {
    margin-left: 0;
  }
}