* { box-sizing: border-box; }
body {
font-family: sans-serif;
}
.visible_item{
display:none;
} #ls-wayne-blog-sec .ls-blog-category-button .button {
font-family: 'Merriweather-Regular',sans-serif!important;
display: inline-block;
padding: 0px 12px;
margin: 2px;
background: transparent;
border: none;
border-radius: 26px;
color: #666666;
font-family: sans-serif;
font-size: 14px;
cursor: pointer;
}
#ls-wayne-blog-sec .ls-blog-category-button .button:focus{
background-color: #EEE;
color:#666666;
}
#ls-wayne-blog-sec .ls-blog-category-button .button:hover {
background-color: #EEE;
color: #666666;
}
#ls-wayne-blog-sec .ls-blog-category-button .button:active,
#ls-wayne-blog-sec .ls-blog-category-button .button.is-checked {
background-color: #EEE;
color: #666666;
}
#ls-wayne-blog-sec .ls-blog-category-button .button.is-checked {
color: #666666;
}
#ls-wayne-blog-sec .ls-blog-category-button .button:active {
background-color: #EEE;
} .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; }  #ls-wayne-blog-sec .ls-blog-element-item {
position: relative;
float: left;
width: 23.9%;
height: auto;
margin: 5px;
padding: 0px;
background: #e0e0e0;
color: #262524;
}
.element-item img.attachment-thumbnail.size-thumbnail.wp-post-image {
width: 100%;
object-fit: cover;
}
.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%); }
#ls-wayne-blog-sec .ls-blog-category-button {
position: relative;
display: flex;
justify-content: center;
margin-bottom: 20px;
}
#ls-wayne-blog-sec .ls-blog-element-item .ls-blog-post-img-sec {
max-height: 140px;
height: 100%;
position: relative;
overflow: hidden;
}
#ls-wayne-blog-sec .showmore-posts {
position: relative;
top: 35px;
padding: 0px 0px;
background: #e0e0e0;
text-align: center;
border-radius: 3px;
border: 1px solid #d2d2d2;
}
#ls-wayne-blog-sec .showmore-posts:hover{
background: #d7d7d7;
}
#ls-wayne-blog-sec .showmore-posts button {
background: transparent;
width: 100%;
color: #666666;
font-family: 'Merriweather-Bold';
letter-spacing: -0.3px;
line-height: 21px;
}
#ls-wayne-blog-sec .showmore-posts button.showMore:hover{
background:transparent;
}
#ls-wayne-blog-sec .showmore-posts button.showMore:before {
content: "\f042";
font-family: fontawesome;
padding-right: 10px;
}
#ls-wayne-blog-sec h5.ls_blog_post_title {
font-family: 'Oswald-Bold';
font-size: 16px;
line-height: 23px;
padding: 15px 10px 5px;
margin: 0;
}
#ls-wayne-blog-sec .ls-blog-cont-wrap {
height: 100%;
min-height: 340px;
position: relative;
}
#ls-wayne-blog-sec .element-item .ls-blog-content p {
font-family: 'Merriweather-Regular';
padding: 10px;
text-align: justify;
font-size: 13px;
letter-spacing: -0.3px;
line-height: 21px;
}
#ls-wayne-blog-sec a.ls-blog-read-more-btn{
font-family: 'Merriweather-Regular';
background: grey;
color: white;
padding: 12px 19px;
border-radius: 4px;
display: block;
position: relative;
width: 50%;
text-align: center;
margin-top: 15px;
}
#ls-wayne-blog-sec a.ls-blog-read-more-btn:hover{
background: #444;
}
#ls-wayne-blog-sec i.ls-catg-list-bar.fa.fa-list {
display: none;
} @media only screen and (max-width: 965px) {
#ls-wayne-blog-sec .ls-blog-element-item{
width:23.7%;
}
#ls-wayne-blog-sec .ls-blog-category-button .button{
padding: 0px 5px;
}
}
@media only screen and (max-width: 875px) {
#ls-wayne-blog-sec .ls-blog-category-button {
position: relative;
display: block;
width: 40%;
margin: 0 auto;
}
#ls-wayne-blog-sec .ls-blog-category-button .button{
display: block;
width: 100%;
text-align: left;
border-radius: 0px;
background: #f0f2f7;
padding:2px 12px;
margin: 0px;
}
#ls-wayne-blog-sec .ls-blog-category-button .list-btn-item{
display: none;
}
#ls-wayne-blog-sec i.ls-catg-list-bar.fa.fa-list {
display: inline-flex;
font-size: 18px;
padding: 6px;
}
#ls-wayne-blog-sec .ls-tab-mob-view {
position: relative;
display: inline-flex;
width: 100%;
border: solid 1px #666666;
padding: 4px;
justify-content: space-between;
}
}
@media only screen and (max-width: 768px) {
#ls-wayne-blog-sec .ls-blog-element-item {
position: relative;
float: left;
width: 47%;
margin: 9px;
}
}
@media only screen and (max-width: 675px) {
#ls-wayne-blog-sec .ls-blog-element-item {
width: 46.7%;
}
}
@media only screen and (max-width: 622px) {
#ls-wayne-blog-sec .ls-blog-element-item {
width: 46%;
}
}
@media only screen and (max-width: 529px) {
#ls-wayne-blog-sec .ls-blog-element-item {
width: 45.3%;
}
}
@media only screen and (max-width: 425px) {
#ls-wayne-blog-sec .ls-blog-element-item {
position: relative;
float: left;
width: 97%;  
}
#ls-wayne-blog-sec .ls-blog-category-button {
width: 64%;
}
}