@media only screen and (max-width: 768px) {
  html {
    overflow-x: hidden; 
  }
  .hide-mobile {
    display: none;
  }
  .hide-desktop {
    display: inherit;
  }
  
  #header-menu, #fixed-mobile-menu {
    display: flex;
    flex-wrap: wrap;
    position: fixed;
    background: white;
    z-index: 9998;
    left: 0;
    padding: 0 20px;
    width: 100%;
    align-content: start;
  }
  #header-menu{
    top: 50px;
    display: none;
    min-height: calc(100vh - 50px);
  }
  #fixed-mobile-menu{
    top: 0;
    font-size: 15.5px;
  }
  #ilposto-logo-mobile {
    flex-basis: 50%;
    align-self: center;
  }
  #three-dots-menu {
    flex-basis: 50%;
    text-align: right;
  }
  #three-dots-menu > .horizontal-menu {
    display: inline-block;
    margin: 0;
  }
  #three-dots-menu > .horizontal-menu > li > a {
    height: 50px;
    display: inline-block;
  }
    #three-dots-menu > .horizontal-menu > li > a > img{
    margin-top: 17px;
  }
  #three-dots-menu > .horizontal-menu > li {
    margin: 0;
  }
  #close-mobile-menu {
    display: block;
    flex-basis: 50%;
    order: 1;
  }
  #search-mobile--menu {
    display: block;
    order: 3;
    flex-basis: 100%;
  }
  
  #main-menu {
    /*! display: none; */
    order: 4;
    margin: 0;
  }
  #main-menu > .horizontal-menu {
    top: 0; left: 0;
    flex-direction: column;
  }
  #ilposto-logo  {
    display: none;
  }
  #three-dots {
    display: none;
  }
  #three-dots > .horizontal-menu {
    display: inline-block; 
  }
  #lang-menu {
    order: 2;
    flex-basis: 50%;
  }
  
  /* */
  #main-menu > .horizontal-menu > li {
    margin: 0;
  }
  #main-menu > .horizontal-menu > li > a {
    font-size: 42px;
    line-height: 146%;
    text-transform: none;
    font-weight: 200;
  }
  #main-menu > .horizontal-menu > li > a:before {
    content: "↗";
  }
  #main-menu > .horizontal-menu > li > a.menu-active {
    font-weight: 400;
  }
  #main-menu > .horizontal-menu > li > a.menu-active:before {
    content: "↘";
  }
  #lang-menu > .horizontal-menu {
    justify-content: end;
  }
  #close-mobile-menu > .horizontal-menu > a {
    border: 1px dotted black;
    text-decoration: none;
    line-height: 18px;
    height: 24px;
    width: 24px;
    padding: 1px 1px 1px 4px;
    font-size: 17px;
    border-radius: 12px;
  }

  form#buscador_menu {
    width: 100%;
    position: relative;
  }
  #buscador_menu > input {
     padding-left: 23px;
     text-transform: uppercase;
     font-size: 13px;
     line-height: 20px;
     border: 1px solid;
     width: 100%;
 }
  
 /* */
  
  #main {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .flex-row {
    flex-direction: column;
  }
  .flex-row.flex-row-mobile {
    flex-direction: row;
  }
  #coleccion-en-home > .grow-col > .flex-row {
    flex-direction: row;
    margin-bottom: 20px;
  }
  .scroll-item.flex-row.two-columns {
    flex-direction: row;
  }
  .flex-row.three-columns.gap-30.coleccion-en-home{
    flex-direction: row;
    width: 100%;
    gap: 20px;
  }
  .tns-inner{}
  
  /* */
  .width-70,
  .width-30{
    width: 100%;
  }
  
  /* ilp slider */
  #ilp-controls {
    display: none;
  }
  
  #tns1-mw {
    margin: 0;
  }
  /* form footer */
  .il-news {
    margin: 1rem 0 2rem;
    border-top: 1px dotted;
    padding-top: 2rem;
  }
  .il-contform {
    display: flex;
    max-width: none;
    justify-content: unset;
    margin: 0;
    gap: 10px;
    line-height: 200%;
    flex-direction: column;
  }
  .il-contform label {
    font-size: 24px;
    line-height: 140%;
    text-align: center;
    font-weight: 200;
    letter-spacing: 0.5px;
  }
  .il-news input {
    padding: 5px;
    font-size: 12px;
    display: block;
    line-height: 22px;
    padding: 0 5px;
    margin-bottom: 14px;
    margin-top: 11px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  #btn_footer_newsletter {
    margin-left: 10%;  
  }
  
  /* footer */
  footer.main-footer {
    font-size: 11px;  
    min-height: 260px;
  }
  .footer-container {
    flex-wrap: nowrap;
    gap: 0;
    justify-content: start;
    padding-top: 1.5rem;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-container > .footercol {
    flex-basis: auto;
    text-align: center;
  }
  
  .footer-container > .footercol.mobile-basis-100 {
  }
  .footer-container > .footercol.footer-contacto {
  }
  .footer-container > .footercol.footer-contacto .footer-menu li {
    display: inline;
    margin-right: 9px;
  }
  .footer-container > .footercol.footer-exhibicion{
  }
  .footer-container > .footercol.footer-investigacion .horario br{
    display: none;
  }
  .footer-container > .footercol.mobile-basis-100 br {
    display: none;;
  }

  /* HOME */
  
  #front-image {
    background-repeat: no-repeat;
    background-position: 102% 33%;
    background-size: 80%;
    min-height: 280px;
  }
  #page-home-intro {
    margin-bottom: 2rem;
    min-height: 312px;
  }
  section.il-bannerhome {
    margin: 0 -20px;
    margin-top: 3rem;
  }
  .intro-text {
    margin-bottom: 98px;
    width: 87%;
  }
  .creditos {
    transform: translate(79%,-26px);
    font-size: 13px;
    letter-spacing: 0.5px;
  }
  #page-home-g1-items-left {
    padding-right: 0;
  }
  #page-home-g1-items-right {
    padding-left: 0;
    border-left: none;
    margin-top: 1rem;
    border-top: 1px dotted;
    padding-top: 2rem;
  }
  #page-home-g2 {
    flex-direction: column;
    gap: 10px;
    margin-top: 2rem;
    padding-top: 3rem;
    border-top: 1px dotted;
  }
  #page-home-g2 #events {
    width: calc(100% + 40px);
    margin: 0 -20px;
    order: 2;
  }
  #page-home-g2 #calendar {
    order: 1;
  }
  #page-home-g3 {
    margin: 3rem 0 3rem;
    border-top: 1px dotted;
    padding-top: 3rem;
  }
  .calendar-y-scroll-group {
    max-width: 370px;
    margin-left: 0px;
    width: 100%;
  }
  .calendar-y-scroll-group .scroll-list-container {
    padding: 0;
    border-bottom: 1px dotted magenta;
    margin-top: 20px;
    margin-left: 31px;
  }
  .scroll-list-container.flex-column {
    display: none;
  }
  .ir-al-calendario {
  padding: 0;
  margin: 5px 0px 0 0;
  }
  .body-group_1 {
    flex-basis: 65% !important;;
  }
  
  table.calendar td.mes-header {
    /*! padding-left: 0; */ 
  }
  .calendar-controls > .prev {
    left: 25px;
  }
  .calendar-controls > .next {
    right: -5px;
  }
  table.calendar {
    width: 100%;
    transform: translateX(-11px);
  }
  #calendar-slider-wrapper {
    width: 100%;
    max-width: 400px;
  }
  #coleccion-en-home {
    display: block;
    margin: 0;
  }
  #coleccion-en-home > .tight-col {
    display: none;
  }
  #coleccion-en-home > .grow-col {
  }
  .coleccion-en-home .teaser .teaser-body {
    font-size: 10px;
    line-height: 15px
  }
  .coleccion-en-home .teaser .teaser-header a img {
    width: 100%;
  }
  
  #events-slider-wrapper .teaser-body {
    padding: 0 20px;
  }
  #events-slider-wrapper .teaser-body .title, 
  #events-slider-wrapper .teaser-body .artista,
  #events-slider-wrapper .teaser-body .fecha,
  #events-slider-wrapper .teaser-body .horario {
    font-size: 14px !important;
  }
} 
