@media not print{
  .ayuda{
    position:absolute;
    background-color:hsla(169, 90%, 70%, 0.5);
    z-index:20;
    width:100%;
    height:100%;
    margin:0;
    top:0;
    left:0;
  }
  .ayuda>h3{
    position:relative;
    font-size: 18pt;
    background-color:hsla(230, 100%, 30%, 0.8);
    color: white;
    border-radius: 10px;
    z-index:20;
    width:20cm;
    top:3cm;
    left:25mm;
    cursor:pointer;
    text-align: justify;
    padding:1cm;;
  }
  .ayuda>h3:hover{
    -webkit-box-shadow: 1px 1px 12px 0px rgba(0,0,100,0.74);
    transition: .3s ease-in-out;
  }
}
@media screen, print{
  body{
    font-family:Arial, Helvetica, sans-serif;
    margin: 0 5mm 0 5mm;
    background-color: white;
  }
  #calendario{
    display: grid;
    grid-template-columns: repeat(7, 3.7cm);
    grid-template-rows: 1.9cm 1cm repeat(6, 2.8cm);
    gap: 1mm;
  }
  #calendario>h2{
    background-image:url("../image/Logo-azul-320x132.png");
    background-repeat: no-repeat;
    background-size: 4.6cm 1.9cm;
    font-size: 48pt;
    text-align:right;
    margin: 0;
    grid-column: 1 / span 7;
  }
  #calendario>h2>span:hover{
    cursor: pointer;
  }
  #msg{
    position: absolute;
    display: grid;
    grid-template-columns: repeat(2, 6cm);
    gap: 2mm;
    font-size: 30pt;
    top:14mm;
    left: 16cm;
    background-color:hsla(230, 100%, 30%, 0.7);
    color: white;
    border-radius: 10px;
  }
  #msg, #calendario>h2>span:hover{
    -webkit-box-shadow: 1px 1px 12px 0px rgba(0,0,100,0.74);
  }
  #msg>div{
    height: 1cm;
    border-radius: 10px;
    padding: 2mm;
    text-align: center;
  }
  #msg>div:hover{
    cursor:pointer;
    color: rgba(0,0,128,.8);
    background-color:hsla(208, 42%, 90%,.8);
  }
  .nombreDia,.dia, #calendario>h2>span:hover{
    border-radius: 2mm;
  }
  .nombreDia{
    background-color: #07a99d90;
    font-size: 18pt;
    text-align: center;
    padding-top: 1mm;
  }
  .dia{
    display: grid;
    grid-template-columns: repeat(1, 35mm);
    grid-template-rows: 0.8cm 1.2cm 7mm;
    text-shadow:0px 1px 2px #000;
    border: .1mm solid gray;
    font-size: 28pt;
    padding-left: 1mm;
  }
  .ordinario{
    background-color: #FFFFFF80;
    color:black;
  }
  .otroMes{
    background-color: #b2b2b2 !important;
    color:#808080 !important;
    text-shadow:0px 1px 3px #fff !important;
  }
  div.picoPlaca{
    background-image:url(../image/taxi.png);
    background-color: #FFD700;
  }
  div.festivos{
    background-color: #ffd8ce;
    background-image:none;
    color:#c9211e;
  }
  dt.festivos{
    display:table;
    font-size: 9pt;
    grid-row: 3;
  }
  dt.festivos>p{
    display:table-cell;
    vertical-align:bottom;
  }
  dt.otraCapa>p{
    text-indent: -35mm;
    vertical-align:top;
  }
  dd.fasesLuna{
    font-size: 29pt;
    margin:0;
  }
  dt.fasesLuna, dd.festivos,dt.picoPlaca,dd.picoPlaca{
    display: none;
  }
}
