/* v2.0 */
/* v2.0 */
/* v2.0 */
/* v2.0 */
/* v2.0 */

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
    background-image: url('http://aldeapardo.com/bleyaldea/fondo2.png');
}

h1 {
      font-family: 'Open Sans', sans-serif;
      font-size: 16px;
      font-weight: 400px;
}


.homeimg {
    border:5px solid;
    border-color: #ffffff;
    width: 952px;
    height: 452px;
    display: block;
    margin-left: auto;
    margin-right: auto; 
    background-image: url(http://aldeapardo.com/bleyaldea/home.jpg);
}

.graciasimg {
    width: 900px;
    height: 200px;
    margin-left: auto;
    margin-right: auto; 
    background-image: url(http://aldeapardo.com/bleyaldea/gif_gracias.gif);
}


.homeimg:hover {
    border:5px solid;
    border-color: #ffffff;
    width: 952px;
    height: 452px;
    display: block;
    margin-left: auto;
    margin-right: auto; 
    background-image: url(http://aldeapardo.com/bleyaldea/home3.gif);
}

.timeline {
  margin: 20px auto;
  max-width: 960px;
  overflow: hidden;
  height: auto;
  position: relative;
  padding: 0px;
  list-style-type: none;
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEElEQVQIW2NMTEz8z8gABAAPKwIlXWq1kgAAAABJRU5ErkJggg==);
  background-repeat: repeat-y;
  background-position: 50% 0;
    elements 1,(2),3,(4), etc.
    elements in brackets inherit these properties, some are overridden below (2n)
    beginning at 0
  */
}

.timelinegracias {
  margin: 20px auto;
  max-width: 960px;
  overflow: hidden;
  height: auto;
  position: relative;
  padding: 0px;
  list-style-type: none;
     elements 1,(2),3,(4), etc.
    elements in brackets inherit these properties, some are overridden below (2n)
    beginning at 0
  */
}

.timeline .year {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  background: #505050;
  font-size: 3em;
  max-width: 4em;
  clear: both;
  margin: 20px auto;
  color: white;
  border-radius: 30% / 100%;
  text-align: center;
}


.timelinegracias .year {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  background: #505050;
  font-size: 3em;
  max-width: 4em;
  clear: both;
  margin: 20px auto;
  color: white;
  border-radius: 30% / 100%;
  text-align: center;
}


.timeline .year:first-of-type {
  margin-top: 0 !important;
}

.timeline .event {
  font-family: 'Open Sans', sans-serif;
  position: relative;
  text-align: center;
  float: right;
  clear: right;
  width: 45%;
  margin: 40px 2.5%;
  border-radius: 5px;
  list-style-type: none;
  display: block;
  padding: 15px;
  background: white;
  z-index: 15;
  color: #4d4d4d;
  border: 1px solid #9d9d9d;
  text-decoration: none;
  -webkit-transition: background .15s linear;
  -moz-transition: background .15s linear;
  -ms-transition: background .15s linear;
  -o-transition: background .15s linear;
  transition: background .15s linear;
}

.timelinegracias .event {
  font-family: 'Open Sans', sans-serif;
  position: relative;
  text-align: center;
  float: right;
  clear: right;
  width: 45%;
  margin: 40px 2.5%;
  border-radius: 5px;
  list-style-type: none;
  display: block;
  padding: 15px;
  background: white;
  z-index: 15;
  color: #4d4d4d;
  border: 1px solid #9d9d9d;
  text-decoration: none;
  -webkit-transition: background .15s linear;
  -moz-transition: background .15s linear;
  -ms-transition: background .15s linear;
  -o-transition: background .15s linear;
  transition: background .15s linear;
}

.timeline .event.featured {
  width: 95% !important;
  background: white;
}

.timelinegracias .event.featured {
  width: 95% !important;
  background: white;
}

.timeline .event.featured:after, .timeline .event.featured:before {
  display: none;
}
@media all and (max-width: 600px) {
  /* line 51, ../scss/timeline.scss */
  .timeline .event {
    width: 85%;
  }
}

.timeline .event.offset-first {
  margin-top: -1.5 em;
}

.timeline .event img {
  margin-top: 10px;
  max-width: 100%;
}

.timeline .event:hover {
  background: #e9e9e9;
}

.timeline .event:hover:after {
  background: #505050;
}

.timeline .event:nth-child(2n) {
  float: left;
  clear: left;
}
@media all and (min-width: 600px) {

  .timeline .event:nth-child(2n) {
    margin-top: 20px;
  }
}
@media all and (min-width: 650px) {

  .timeline .event:after {
    display: block;
    content: ' ';
    height: 9px;
    width: 9px;
    background: #9d9d9d;
    border-radius: 50%;
    position: absolute;
    left: -5%;
    top: 1.5em;
    border: 2px solid white;
  }
}

.timeline .event:nth-child(2n):after {
  right: -5%;
  /* reset the standard declaration I defined before*/
  left: auto;
}


.padd {
  display: block;
  padding: 10px;
}

.padd.center {
  text-align: center;
}


.ad {
  display: block;
  background: rgba(50, 50, 50, 0.5);
  color: white;
  text-decoration: none;
  text-align: center;
  padding: 15px;
  font-weight: 800;
  border-bottom: 2px solid black;
  border-top: 2px solid black;
}


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

a:hover {
  background: #000000;
  color: #F4F200;
}

.final {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  background: #505050;
  font-size: 3em;
  max-width: 4em;
  clear: both;
  margin: -20px auto 15px;
  color: white;
  border-radius: 30% / 100%;
  text-align: center;
}

.finalgracias {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  background: white;
  font-size: 3em;
  max-width: 4em;
  clear: both;
  margin: 20px auto 15px;
  color: #505050;
  border-radius: 30% / 100%;
  text-align: center;
}
