
* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
 

body {
}

h1 {
  font-family: 'Book Antiqua', Palatino, 'Palatino Linotype', 'Palatino LT STD', Georgia, serif;
  font-size: 24px;
  font-style: normal;
  font-variant: normal;
  font-weight: 500;
  line-height: 26.4px;
}
h3 {
  font-family: 'Book Antiqua', Palatino, 'Palatino Linotype', 'Palatino LT STD', Georgia, serif;
  font-size: 14px;
  font-style: normal;
  font-variant: normal;
  font-weight: 500;
  line-height: 15.4px;
}
p {
  font-family: 'Book Antiqua', Palatino, 'Palatino Linotype', 'Palatino LT STD', Georgia, serif;
  font-size: 14px;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  line-height: 20px;
}
blockquote {
  font-family: 'Book Antiqua', Palatino, 'Palatino Linotype', 'Palatino LT STD', Georgia, serif;
  font-size: 21px;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  line-height: 30px;
}
pre {
  font-family: 'Book Antiqua', Palatino, 'Palatino Linotype', 'Palatino LT STD', Georgia, serif;
  font-size: 13px;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  line-height: 18.5714px;
}

/* ---- button ---- */

.button {
  display: inline-block;
  padding: 0.5em 1.0em 0.5em 1.0em;
  margin: 5px;
  background: #737373;
  border: none;
  border-radius: 50px;
  color: #fff;
  font-family: sans-serif;
  font-size: 12px;
  cursor: pointer;
}

.button:hover {
  background-color: #875F43;
  color: #fff;
}

.button:active,
.button.is-checked {
  background-color: #968274;
}

.button.is-checked {
  color: white;
  text-shadow: 0 -1px hsla(25, 14%, 52%, 0.8);
}

.button.is-checked-1 {
  color: white;
    background-color: white;

}

.button:active {
  box-shadow: inset 0 1px 10px hsla(25, 14%, 52%, 0.8);
}

/* ---- button-group ---- */



.button-group {
  content: '';
  display: block;
  top: 10px;
  left: 10px;
  z-index: 999;
  clear: both;
  position: absolute;
}

.button-group .filter{
  position:absolute;
  top: 50px;
  left: 10px;
  z-index: 999;
  clear:both;

}

.button-group .sort {
  position:absolute;
  top: 150px;
  left: 10px;
  z-index: 900;
  clear: both;
}

.button-group .button {
  float: left;
  border-radius: 0.5em 0.5em 0.5em 0.5em;
  margin-left: 0;
  margin-right: 1px;
}

.button-group .button:first-child { border-radius: 0.5em 0.5em 0.5em 0.5em; }
.button-group .button:last-child { border-radius: 0.5em 0.5em 0.5em 0.5em; }

/* ---- isotope ---- */

.isotope {
  border: 0px solid #333;
  display:block;
  position:relative;
  top:132px;
}

/* clear fix */
.isotope:after {
  content: '';
  display: block;
  clear: both;
  position:relative;
  top:132px;
}

/* Button Containers */

.button-container {
 position: relative;
 display:block;
  top: 5px;
}
/* ---- .element-item ---- */

.element-item {
  position: relative;
  float: left;
  width: 50px;
  height: 40px;
  margin: 5px;
  padding: 10px;
  background: #888;
  color: #262524;
  display:inline-block;
  overflow: hidden;

}

.element-item-box {
  width: 60px;
  height: 60px;
  overflow: hidden;

}

.element-item-quote {
  width: 170px;
  height: 240px;
  overflow: hidden;

}


.element-item > * {
  margin: 0;
  padding: 0;
}

.element-item .name {
  position: absolute;

  left: 10px;
  top: 70px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  font-weight: normal;
  color: #ffffff;

}

.element-item-quote .name {
  position: absolute;

  left: 10px;
  top: 180px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  font-weight: normal;
  color: #ffffff;

}


.element-item .symbol {
  position: absolute;
  left: 5px;
  top: 5px;
  font-size: 38px;
  font-weight: bold;
  color: #ffffff;
}

.element-item .age {
  position: absolute;
  right: 8px;
  top: 5px;
  color: #ffffff;

}

.element-item .town {
  position: absolute;
  left: 10px;
  top: 60px;
  font-size: 14px;
  color: #ffffff;

}

.element-item-quote .town {
  position: absolute;
  left: 10px;
  top: 195px;
  font-size: 11px;
  color: #ffffff;

}

.element-item-quote .quote {
  position: absolute;
  top: 60px;
  left: 10px;
  font-size: 14px;
  color: #ffffff;
}

.element-item-quote .text {
  position: absolute;
  left: 10px;
  top: 240px;
  font-size: 12px;
  color: #ffffff;

}

.element-item-box .text {
  position: absolute;
  left: 10px;
  top: 85px;
  font-size: 14px;
  color: #000000;

}

.element-item-box .expand {
  height: 50px;
  overflow: hidden;
  -webkit-transition: padding 0.2s ease-in-out;
  -moz-transition: padding 0.2s ease-in-out;
  -o-transition: padding 0.2s ease-in-out;
  transition: padding 0.2s ease-in-out
}

.element-item-quote .expand {
  height: 50px;
  overflow: hidden;
  -webkit-transition: padding 0.2s ease-in-out;
  -moz-transition: padding 0.2s ease-in-out;
  -o-transition: padding 0.2s ease-in-out;
  transition: padding 0.2s ease-in-out
}

.element-item-media .expand {
  height: 50px;
  overflow: hidden;
  -webkit-transition: padding 0.2s ease-in-out;
  -moz-transition: padding 0.2s ease-in-out;
  -o-transition: padding 0.2s ease-in-out;
  transition: padding 0.2s ease-in-out
}

.element-item-box:hover {
  background: #8CF;
  cursor: pointer;
}

.element-item-quote:hover {
  background: #8CF;
  cursor: pointer;
}

.element-item-box.gigante {
  width: 300px;
  height: 250px;
  background: #fff;
  overflow:scroll;
}

.element-item-quote.gigante {
  width: 260px;
  height: 500px;
  background: #fff;
  overflow:scroll;
}

.element-item-media.gigante {
  width: 300px;
  height: 500px;
  background: #fff;
  overflow:scroll;
}



.element-item-box.tree          { background: #C4EEFF; background: #C4EEFF; }
.element-item-box.ed  { background: #7BCE2D; background: #7BCE2D; }
.element-item-box.ned      { background: #A41717; background:  #A41717; }
.element-item-box.light        { background: #096601; background: #096601; }
.element-item-box.stand      { background: #D65F8A; background: #D65F8A; }


.element-item.tree
.element-item.ed
.element-item.ted
.element-item.light
.element-item.stand


