:root {
  --calendar-day:37px;
}


  body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f9fa;
    color: #212529;
  }

  header {
	position: relative;
  }
  
  .banner {
    background: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.7)), 
                url('../assets/banner.png') center/cover no-repeat;
    height: 300px;
    text-align: center;
  }
  
  /* Calendario */
  .calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    max-width: 300px;
    margin: auto;
  }
  
  .calendar-ico {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 5px 11px;
    font-size: 1.5em;
    cursor: pointer;
  }

  .calendar div {
    padding: 5px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: var(--calendar-day);
    height: var(--calendar-day);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
}
  
  .calendar div:hover {
    background-color: #e9f5ff;
    transform: scale(1.05);
  }
  
  .calendar .inactive {
    background-color: #f1f1f1;
    color: #bbb;
    cursor: not-allowed;
  }

  .carousel-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  /*Nuevos*/

  p > img {
    width: auto;
    max-width: 400px;
  }

  .col-md-6 > img,
  .col-6 > img {
      width: 100%;
  }

  .links  {
    float: right;
    width: 400px;
    justify-content: space-between;
    font-size: 0.9em;
  }

  .myHeader {
    line-height: 30px;
  }

.texto-carrucel {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 15px;
  font-size: 1.5em;
  color: white;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 1);
}

#calendar-name {
  display: flex;
  width: 300px;
  margin: auto;
  font-size: 1.1em;
  font-weight: bold;
}

#calendar {
    width: 300px;
    margin: 0 auto;
}

.cal-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 9px;
    font-weight: bold;
}

.cal-header .bi {
  cursor: pointer;
}

  @media screen and (min-width:400px) {
    img.conocenos { 
      display: block;
      width: 50%;
      float: none;
      margin: 20px auto;
      
    }
  }

  @media screen and (min-width:1024px) {
    img.conocenos {
      width: 30%;
      float: left;
      margin-right: 17px;
      vertical-align: top;
    }
  }

  @media print {
    .calendar-ico {display: none; visibility: hidden;}
    .container {
      max-width: 100% !important;
      width: 100% !important;
    }
    #calendario {zoom:90%}
  }

  @page {
    margin: 0;
  }