*{
    margin: 0;
    padding: 0;
}
html{
    background-image: url('textura.png');
    background-repeat: repeat repeat;
}
body{
    width: 100vw;
    height: 100vh;
    font-family: 'Exo 2', sans-serif;
    background-image: url('gradiente.png');
    background-position-y: top;
    background-repeat: repeat-x;
    background-size: contain;
}
.mainContainer{
    display: grid;
    grid-template-columns: 10% repeat(4, 1fr) 10%;
    grid-template-rows: 7% 7% 5% 7% 1fr;
    grid-column-gap: 1vw;
    padding: 3vh 4vw 0 4vw;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    grid-template-areas:
    "titulo titulo titulo titulo logo logo"
    "nombreDia mes mes mes mes ."
    "fecha aviso aviso aviso aviso redes"
    ". aviso aviso aviso aviso ."
    ". cal cal cal cal .";
}
.title{
    grid-area: titulo;
    font-weight: 400;
	font-size: 1.3vw;
	color:#1F1B52;
    letter-spacing: 0.0725em;
} 
.logo{
    grid-area: logo;
    display:flex;
    justify-content: flex-end;
    width:100%;
}
.logo > img{
    height: 130%
}
.redes{
    grid-area: redes;
    display: flex;
    align-self: center;
    justify-self: end;
}
.redes a{
    height: 6vh;
    width: 6vh;
    overflow: hidden;
    margin: 0 1vw;
    justify-content: center;
    align-items: center;
    display: flex;
    border-radius: 20%
}
.redes a img{
    height: 5vw;
    width: 5vw;
}
.nombresDia{
    grid-area: nombreDia;
    font-weight: 100;
	font-size: 3vw;
	opacity: 0.5;
    color: #9F85BC;
    letter-spacing: 0.0725em;
}
.fecha{
    grid-area: fecha;
    display: flex;
    color: #8A8EBF;
}
.numerosDia{
    grid-area: numeroDia;
    font-weight: 300;
	font-size: 3vw;
    line-height: 80%;
}
.fecha_datos{
    margin-left: 0.8vw;
}
.nombresMes{
    font-weight: 300;
	font-size: 1.2vw;
	line-height: 80%;
    align-self: start;
    justify-self: start;
    letter-spacing: 0.0725em;
}
.numerosAño{
    font-weight: 300;
	font-size: 1.2vw;
	line-height: 80%;
    align-self: end;
    justify-self: start;
    margin-top: 0.4vw;
    letter-spacing: 0.0725em;
}
.albumCalendarios{
    grid-area: cal;
    overflow-x: hidden;
    overflow-y: hidden;
    display: block;
    scroll-behavior: smooth;
    place-self: stretch;
    white-space: nowrap;
    background-color: white;
    border: 3px solid #8A8EBF;
    border-radius: 5px;
    margin-bottom: 5vh;
}
.calendario{
    width: 100%;
    height: 100%;
    display: inline-block;
}
.contenedorDias{
    width: 100%;
    height: 4vh;
    display: flex;
    background-color: #E3E8FB;
}
.contenedorDias .dia{
    /* color: #474747; */
    color: #8a8ebf;
}
.contenedorSemana{
    width: 100%;
    height: calc( (100% - 4vh) / 6 );
    display: flex;
}
.dia{
    color: #8a8ebf;
    height: 100%;
    width: calc( 100% / 7 );
    border: 1px solid lightgray;
    border-top: none;
    display: flex;
    flex-direction: column;
    justify-content: start;
    font-weight: 900;
}

.dia p{
    margin: 10px;

}
.dias{
    height: 4vh;
    text-align: center;
    border-top: none;
}
.dias p{
    font-weight: 700;
}
.dias:first-of-type{
    border-left: none;
}
.dias:nth-child(7){
    border-right: none;
}
.semana6{
    border-bottom: none;
}
.domingo{
    border-left: none;
    color: hsl(0, 0%, 80%);
}
.sabado{
    border-right: none;
    color: hsl(0, 0%, 80%);
}
.semana6:last-of-type{
    border-right: none;
}

.actividades{
    background-color: #e1e3e4;
    display: none;
    padding:2vw;
    overflow:auto;
    font-size: 16px;
    grid-area: cal;
    position: relative;
    z-index: 1;
}
.actividades > h3{
    font-size: 1.5em;
    color: #625B76;
    letter-spacing: 0.05em;
}

.scrollMeses {
    grid-area: mes;
    align-self: end;
    justify-self: center;
    background-color: hsl(268, 19%, 93%);
    height: 70%;
    width: 70%;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}
.mes {
    display: inline-block;
    font-weight: 300;
    font-size: 0.8vw;
    border: none;
    background-color: transparent;
    font-family: 'Exo 2', sans-serif;
    cursor: pointer;
    outline: none;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: auto;
}
.mes:visited{
	color: #1F1B52;
}
.mes:link{
	color: #1F1B52;
}
.mes:hover{
	color: white;
    font-size: 0.9vw;
}
.mes:active{
    font-size: large;
    font-weight: 500;
}

.actividadesDelMes{
    margin-top: 0;
    opacity: 1;
    height: auto;
    overflow: auto;
    z-index: 20;
    transition: all 0.5s ease;
}
.contenidoActividad{
    margin-top: 1vw;
    display: none;
    align-items: flex-start;
    margin-bottom: 18px;
}
.contenidoActividad > .bullet{
	height: 10px;
	width: 10px;
	margin-top: 15px;
}

.contenidoDescripcion{
	width: 100%;
	margin-left: 20px;
}
.descriptionActividad{
	font-size: 2em;
	font-weight: 700;
	color: #8A8EBF;
	letter-spacing: 0.01em;
}
.fundamentoLegal{
    font-size: 1em;
	overflow: hidden;
	height: auto;
	transition: all 1s ease;
}

.subtitulo{
    /* art parr */
    font-size: 1.6em;
    margin: 1.5vh 0 0.5vh 0;
}

.ley{
	margin: 0.2vh 0 1vh 0;
    font-size: 1.1em;
    letter-spacing: 0.01em;
}
.articulado{
	text-align: justify;
	margin-bottom: 1vh;
}
.actividadesDelDia{
    flex-direction: row;
    justify-content: center;
    height: 70%;
    position: relative;
}
.actividad{
    margin: 5px 10px;
    display: flex;
    cursor: pointer;
}
.actividad::after {
  content: attr(data-tooltip);
  display: none;
  position: absolute;
  padding: 1em;
  background: var(--clr-dark);
  bottom: 1.5em;
  text-align: left;
  width: 250px;
  color: var(--clr-1);
}
.actividad:hover::after {
  display: block;
}
.aviso{
    grid-area: aviso;
    align-self: center;
    justify-self: center;
    background-color: #857eca;
    height: 80%;
    width: 85%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    color: white;
    border-radius: 20px;
    opacity: 1;
    flex-direction: column;
    padding: 4px 15px;
    transition: all 0.3s ease;
}
.caption{
    font-size: 1.5rem;
}
.nota{
    font-size: 1rem;
    text-align: center;
    letter-spacing: 0.08rem;
    color: darkslateblue;
}

.ayuda{
    grid-area: ayuda;
    justify-self: flex-end;
    height: 5vh;
    width: 5vh;
    margin: 0;
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
    line-height: 2rem;
    display: none;
}
.ayuda:hover ~ .aviso{
    opacity: 1;
}
.psudoactividad{
    margin: 10px;
    display: flex;
    cursor: pointer;
}
.psudoactividad p{
    color: gray;
    font-weight: 600;
    display: inline-block;
    font-size: 0.8em;
    margin: 0 0 0 10px;
    letter-spacing: 0.03em;
}
.actividad p{
    color: gray;
    font-weight: 600;
    display: inline-block;
    font-size: 0.8em;
    margin: 0 0 0 10px;
    letter-spacing: 0.03em;
}
.desplegable .actividad p{
    font-weight: 0;
    font-size: 0em;
    margin: 0px;
    letter-spacing: 0em;
    transition: all 0.5s ease;
}
.bullet{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.desplegable .actividad .bullet{
    width: 0px;
    height: 0px;
    border-radius: 0%;
    transition: all 0.3s ease;
}
.bullet1{
    background-color:#22a700;
}
.bullet2{
    background-color:#fbb115;
}
.bullet3{
    background-color:#5b8ce4;
}
.bullet4{
    background-color:#e52325;
}
.bullet5{
    background-color: #c9f;
}
.bullet6{
    background-color:#fc9;
}
.bullet7{
    background-color:#1f1b52;
}
.bullet8{
    background-color: #c0c;
}
.todoElMes{
    border-radius: 0;
    border: 1px solid white;
    background-color: hsl(268, 50%, 96%);
}
.bg-color{
    /* background-color: hsl(0, 0%, 97%); */
    background-color: hsl(244.3, 21.9%, 87.5%);
}
.form__tooltip {
  font-size: 0rem;
  background: rgba(0,0,0,.25);
  display: inline-block;
  width: 0rem;
  height: 0rem;
  border-radius: 50%;
  text-align: center;
  align-self: center;
  margin-left: .5em;
  position: absolute;
  top: -3vh;
  right: 0.5vw;
  color: white;
  transition: all 0.5s ease;
}
.form__tooltip::after {
  content: attr(data-tooltip);
  display: none;
  position: absolute;
  padding: 1em;
  background: rgba(0,0,0,.7);
  bottom: 2em;
  text-align: center;
  width: 250px;
  color: #fff;
  right: -100px;
}
.form__tooltip:hover::after {
  display: block;
}
.desplegable > .form__tooltip{
    top: 1vh;
}
.eneroact1:hover .enerodesc1{
	height: 100%;
	overflow: auto;
}
/* diagris */
.diaInhabil{
    color: hsl(0, 0%, 80%);
}
.zonagris{
    color: hsl(0, 0%, 90%);
    background-color: rgb(249, 249, 249);
    font-weight: normal;
}
.diaInhabil .fat {
    font-weight: 1200;

}
.desplegable{
    flex-direction: column;
    background-color: hsl(0, 0%, 90%);
    position: absolute;
    border-radius: 10px;
    width: auto;
    height: auto;
    padding: 10px 5px;
    top: -100%;
    opacity: 0;
    transition: all 0.4s ease;
}
.desplegable > .actividad {
    margin-top: 13px;
    padding: 2px 0;
}
.aLaIzquierda{
    right: 100%;
}
.dia:hover .desplegable{
    opacity: 1;
}
.demasiadas:hover .desplegable{
    top:100%
}
.dia:hover .desplegable .actividad p{
    font-weight: 600;
    font-size: 0.8em;
    margin: 0 0 0 10px;
    letter-spacing: 0.03em;
}
.dia:hover .desplegable .actividad .bullet{
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dia:hover .desplegable .form__tooltip{
    font-size: .75rem;
    width: 1rem;
    height: 1rem;
}
.visible{
    display: flex;
}
.displayInitial{
    display: initial;
}
.botonCerrar{
    position:absolute;
    font-size:1.7rem;
    font-weight:800;
    margin:0.3em 0.5em;
    cursor:pointer;
    top: 0;
    right: 0;
}
.linea{
    height: 4px;
    width: 100%;
    margin: 8px 0;
    position: relative;
    cursor: pointer;
}
.princioLinea, .finLinea{
    width: 80%;
}
.princioLinea{
    border-radius: 5px 0 0 5px;
    left: 20%;
}
.finLinea{
    border-radius: 0 5px 5px 0;
    right: 20%;
}
.inicioYFinLinea{
    border-radius: 5px 5px 5px 5px;
    left: 20%;
    right: 20%;
}
.conLinea{
    margin: 0;
    align-items: center;
}
.deLinea{
    border-radius: 0 5px 5px 0;
    width: 20px;
    height: 3px !important;
}
#diciembre .domingo .desplegable{
    z-index: 10;
}
#mayo .demasiadas{
    font-size: 1em;
    width: 0;
}
.dia span{
    background-color: lightskyblue;
    width: 100%;
    height: 6px;
}
@media screen and (max-width: 1367px){
    .mainContainer{
        padding: 3vh 3vw 0;
    }
    .albumCalendarios{
        width: auto;
    }
    .demasiadas{
        font-size: 0.7em;
    }
    .dia p{
        margin:  5px 6px;
        font-size: 0.6em;
        font-weight: 600;
    }
    .bullet{
        width: 7px;
        height: 7px;
    }
    .actividad{
        margin: 3px 10px;
        margin-left: 6px;
    }
    .desplegable > .actividad {
        padding: 3px 0;
    }
    .conLinea{
        margin-left: 0;
    }
    .actividad p{
        margin: 0 0 0 4px;
        letter-spacing: 0.04em;
        cursor: pointer;
    }
    
    .fundamentoLegal{
        font-size: 1.2em;
    }
    .actividades > h3{
        font-size: 1em;
    }
    .descriptionActividad{
        font-size: 1em;
    }
    .actividad .demasiadas{
        color: gray;
        font-size: 0.6em;
    }
    .psudoactividad {
        display: flex;
        align-items: center;
        margin: 0 10px;
    }
    .scrollMeses{
        background-color: hsl(268, 19%, 73%);
    }
    .bg-color {
        background-color: hsl(0, 0%, 87%);
    }
    .todoElMes {
        background-color: hsl(268, 50%, 86%);
    }
    .psudoactividad p {
        color: hsl(0, 0%, 35%);
    }
    #mayo .actividad .demasiadas {
        color:hsl(0, 0%, 30%);
        font-size:0.75em;
        margin-left:6px;
    }
    .dias{
        font-size: 1.5em;
    }
    .ayuda{
        font-size: 2rem;
    }
    .aviso{
        font-size: 0.8rem;
    }
    .form__tooltip::after {
        bottom: 1em;
        font-size: 0.8em;
        width: 200px;
    }
    .linea {
        height: 3px;
        margin: 5px 0;
    }
    .form__tooltip {
        top: -2vh;
    }
    .caption{
        font-size:1.2rem;
    }
    .nota{
        font-size: 0.8rem;
    }
}