.button {
    display: inline-block;
    padding: 0.5em 1.0em;
    background: #EEE;
    border: none;
    border-radius: 7px;
    background-image: linear-gradient( to bottom, hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.2) );
    color: #222;
    font-family: sans-serif;
    font-size: 16px;
    text-shadow: 0 1px white;
    cursor: pointer;
}

.button:hover {
    background-color: #8CF;
    text-shadow: 0 1px hsla(0, 0%, 100%, 0.5);
    color: #222;
}

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

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

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

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

.button-group {
    margin-bottom: 20px;
}

.button-group:after {
    content: '';
    display: block;
    clear: both;
}

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

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

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


/* clear fix */
.grid:after {
    content: '';
    display: block;
    clear: both;
}

/* ---- .element-item ---- */

.element-item {
    position: relative;
    float: left;
    /*width: 336px;*/
    width: 25%;
    /*height: 100px;*/
    margin: 0px;
    /*padding: 10px;*/
    background: #888;
    color: #262524;
}

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

.element-item .name {
    position: absolute;

    left: 10px;
    top: 60px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 12px;
    font-weight: normal;
}

.element-item .symbol {
    position: absolute;
    left: 10px;
    top: 0px;
    font-size: 42px;
    font-weight: bold;
    color: white;
}

.element-item .number {
    position: absolute;
    right: 8px;
    top: 5px;
}

.element-item .weight {
    position: absolute;
    left: 10px;
    top: 76px;
    font-size: 12px;
}

/*.element-item.alkali          { background: #F00; background: hsl(   0, 100%, 50%); }
.element-item.alkaline-earth  { background: #F80; background: hsl(  36, 100%, 50%); }
.element-item.lanthanoid      { background: #FF0; background: hsl(  72, 100%, 50%); }
.element-item.actinoid        { background: #0F0; background: hsl( 108, 100%, 50%); }
.element-item.transition      { background: #0F8; background: hsl( 144, 100%, 50%); }
.element-item.post-transition { background: #0FF; background: hsl( 180, 100%, 50%); }
.element-item.metalloid       { background: #08F; background: hsl( 216, 100%, 50%); }
.element-item.diatomic        { background: #00F; background: hsl( 252, 100%, 50%); }
.element-item.halogen         { background: #F0F; background: hsl( 288, 100%, 50%); }
.element-item.noble-gas       { background: #F08; background: hsl( 324, 100%, 50%); }*/


figure.isotope-image-gallery-1 {
    font-family: 'Roboto', sans-serif;
    color: #fff;
    position: relative;
    float: left;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.84) !important;
    text-align: center;
}
figure.isotope-image-gallery-1:before {
    border-top: 1px double #fff;
    border-bottom: 1px double #fff;
    -webkit-transform: scale(0, 1);
    transform: scale(0, 1);
}

figure.isotope-image-gallery-1:before, figure.isotope-image-gallery-1:after {
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    content: '';
    opacity: 0;
    -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
    transition: opacity 0.6s, -webkit-transform 0.6s, -moz-transform 0.6s, -o-transform 0.6s, transform 0.6s;
    overflow: hidden !important;
}
figure.isotope-image-gallery-1 img {
    opacity: 1;
    width: 100%;
    height: 100%;
}
figure.isotope-image-gallery-1 * {
    -webkit-box-sizing: padding-box;
    box-sizing: padding-box;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
figure img {
    position: center;
    border: 1px solid #eee;
}
figure.isotope-image-gallery-1 figcaption {
    top: 81% !important;
    /*left: 10px !important;*/
    /*right: 10px !important;*/
    position: absolute !important;
    -webkit-transform: translateY(-50%) !important;
    transform: translateY(-50%) !important;
    padding: 5px 10px !important;
    overflow: hidden !important;
    max-height: 100% !important;
}

figure.isotope-image-gallery-1 figcaption h2 {
    position: relative;
    font-size: 20px;
    font-weight: 400;
    text-shadow: 0px 0px 5px #000;
    background: rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    margin: 0;
    -webkit-transform: translateY(75%);
    transform: translateY(75%);
    padding: 10px;
}
figure.isotope-image-gallery-1 figcaption h2 span {
    font-weight: 800;
}
figure.isotope-image-gallery-1 figcaption p {
    font-size: 0.9em;
    font-weight: 500;
    opacity: 0;
    margin: 0;
    padding: 10px 10px 10px 10px;
    text-align: justify;
}
figure.isotope-image-gallery-1 a {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    z-index: 1;
}
figure.isotope-image-gallery-1:hover img, figure.isotope-image-gallery-1.hover img {
    opacity: 0.2;
    -webkit-filter: blur(5px);
    filter: blur(5px);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}
figure.isotope-image-gallery-1:hover figcaption h2, figure.isotope-image-gallery-1.hover figcaption h2, figure.isotope-image-gallery-1:hover figcaption p, figure.isotope-image-gallery-1.hover figcaption p {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.5);
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    overflow: hidden;
}
figure.isotope-image-gallery-1:hover figcaption p, figure.isotope-image-gallery-1.hover figcaption p {
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
}
figure.isotope-image-gallery-1:hover:before, figure.isotope-image-gallery-1.hover:before, figure.isotope-image-gallery-1:hover:after, figure.isotope-image-gallery-1.hover:after {
    opacity: 0.8;
    -webkit-transform: scale(1);
    transform: scale(1);
}

figure.isotope-image-gallery-1:after {
    border-right: 1px double #fff;
    border-left: 1px double #fff;
    -webkit-transform: scale(1, 0);
    transform: scale(1, 0);
}

figure.isotope-image-gallery-1:before, figure.isotope-image-gallery-1:after {
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    content: '';
    opacity: 0;
    -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
    transition: opacity 0.6s, -webkit-transform 0.6s, -moz-transform 0.6s, -o-transform 0.6s, transform 0.6s;
    overflow: hidden !important;
}
.isotope-image-gallery-1 .grid figure img {
    opacity: 0.6;
}
figure.isotope-image-gallery-1:hover figcaption h2, figure.isotope-image-gallery-1.hover figcaption h2, figure.isotope-image-gallery-1:hover figcaption p, figure.isotope-image-gallery-1.hover figcaption p {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.5);
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    overflow: hidden;
}

figure.isotope-image-gallery-1 figcaption h2 {
    position: relative;
    font-size: 20px;
    font-weight: 400;
    text-shadow: 0px 0px 5px #000;
    background: rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    margin: 0;
    -webkit-transform: translateY(75%);
    transform: translateY(75%);
    padding: 10px;
    color: white;
}