* 
{
    font-family: 'Open Sans', sans-serif;
    padding: 0;
    margin: auto;
    list-style: none;
    text-decoration: none;
}

/* HEADER hasta 500px */

#Layer_1
{
    margin: 10 10 10 10;
    float: left;
}

nav 
{
    width: 100%;
    height: auto;
    padding: 0.5em;
    background-color: #04f4bc;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0px 6px 6px -6px #000;
    text-shadow: 0.5px 0.5px 3px #919090;
}

nav ul 
{
    list-style: none;
}

nav ul li 
{
    margin: -0.1em;
}

nav ul li a 
{
    text-decoration: none;
    color: aliceblue;
}

/* CUERPO */

#titulo
{
    text-align: center;
    margin-top: 3%;
    color: #ffc400;
}

.container
{
    clear:both;
    max-width: 80%;
    margin: auto;
}

.headerMes
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    font-weight: 700;
    background-color: aliceblue;
    font-size: 1.2em;
    border: 1px solid #ccc;
    height: 3em;
    margin-top: 2em;
    
}


.events-container
{
    padding-top:10%;
}

.events{
  width:100%;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}
*/
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

body {
}

#headerMes{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#calendar 
{
  width: 100%;
}

#calendar a 
{
  color: #8e352e;
  text-decoration: none;
}

#calendar ul 
{
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

#calendar li 
{
  display: block;
  float: left;
  width: 14.342%;
  padding: 5px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  margin-right: -1px;
  margin-bottom: -1px;
}

#calendar ul.weekdays 
{
  height: 40px;
  background: #04f4bc;
}

#calendar ul.weekdays li 
{
  text-align: center;
  text-transform: uppercase;
  line-height: 20px;
  border: none !important;
  padding: 10px 6px;
  color: #fff;
  font-size: 13px;
}

#calendar .days li 
{
  height: 180px;
}

#calendar .days li:hover 
{
  background: #d3d3d3;
}

#calendar .date 
{
  text-align: center;
  margin-bottom: 5px;
  padding: 4px;
  background: #333;
  color: #fff;
  width: 20px;
  border-radius: 50%;
  float: right;
}

#calendar .event 
{
  clear: both;
  display: block;
  font-size: 13px;
  border-radius: 4px;
  padding: 5px;
  margin-top: 40px;
  margin-bottom: 5px;
  line-height: 14px;
  background: #e4f2f2;
  border: 1px solid #b5dbdc;
  color: #009aaf;
  text-decoration: none;
}

#calendar .event-desc 
{
  color: #666;
  margin: 3px 0 7px 0;
  text-decoration: none;
}

#calendar .other-month {
  background: #f5f5f5;
  color: #666;
}

h1
{
    font-weight: 700;
    font-size: 1.3em;
}

h2
{
    font-weight: 700;
    font-size: 1em;
}

p
{
    font-size: 0.8em;
}

a
{
    text-decoration: none;
    color: inherit;
    
}

/* ============================
                Mobile Responsiveness
   ============================*/
@media (max-width: 768px) {
  #calendar .weekdays, #calendar .other-month {
    display: none;
  }

  #calendar li {
    height: auto !important;
    border: 1px solid #ededed;
    width: 100%;
    padding: 10px;
    margin-bottom: -1px;
  }

  #calendar .date {
    float: none;
  }
}

/* HEADER desde 500px */

@media only screen and (min-width: 500px) 
{
   nav ul 
    {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        font-weight: 700;
        font-size: 1rem;
    }
    
    nav ul li 
    {
        -webkit-box-flex: 0.6;
            -ms-flex-positive: 0.6;
                flex-grow: 0.6;
    }
} 

/* FOOTER universal */

footer 
{
    text-align: center;
    font-weight: 300;
    font-size: 1rem;
    position: absolute;
    width: 100%;
    height: auto;
    background-color: #04f4bc;
    text-shadow: 0.5px 0.5px 1px #919090;
    padding: 4;
    color: aliceblue;
    margin-top: 3%;
}