.style-4 .ca-menu{
padding:0 !important;
margin:20px auto 8px;
width: 100%;
}
.style-4{
margin-bottom: 25px;
}
.qc-grid-item{width:100%}
.style-4 .ca-menu li{
height: 280px;
overflow: hidden;
position: relative;
float:left;
background: #fff;
margin: 0 20px 20px 0;
border-radius: 3px;
border-top: 1px solid #f1f1f1;
-webkit-transition: all 300ms linear;
-moz-transition: all 300ms linear;
-o-transition: all 300ms linear;
-ms-transition: all 300ms linear;
transition: all 300ms linear;
box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset !important;
}
.style-4 .ca-menu li.style-4-1{width: 100%;}
.style-4 .ca-menu li.style-4-2{width: 47%;}
.style-4 .ca-menu li.style-4-3{width: 30%;}
.style-4 .ca-menu li.style-4-4{width: 22%;}
.style-4 .ca-menu li:before, .style-4 .ca-menu li:after
{
content:"";
position:absolute; 
z-index:-1;
box-shadow:0 0 20px rgba(0,0,0,0.8);
top:0;
bottom:0;
left:10px;
right:10px;
border-radius:100px / 10px;
} 
.style-4 .ca-menu li:after
{
right:10px; 
left:auto; 
transform:skew(8deg) rotate(3deg);
}
.style-4 .ca-menu li:last-child {
margin-right: 0px;
}
.style-4 .ca-menu li a{
text-align: left;
width: 100%;
height: 100%;
display: block;
color: #333;
position: relative;
}
.style-4 .ca-icon{
color: #333;
text-shadow: 0px 0px 1px #333;
position: absolute;
width: 100%;
height: 30%;
left: 0px;
top: 35px;
text-align: center;
-webkit-transition: all 400ms linear;
-moz-transition: all 400ms linear;
-o-transition: all 400ms linear;
-ms-transition: all 400ms linear;
transition: all 400ms linear;
padding: 15px;
box-sizing: border-box;
font-size: 30px;
}
.style-4 .ca-icon#heart{
color: #f7002f;
text-shadow: 0px 0px 1px #f7002f;
}
.style-4 .ca-content{
position: absolute;
left: 0px;
width: 100%;
height: 55%;
top: 45%;
padding: 0 10px;
box-sizing: border-box;
}
.style-4 .ca-main{
font-size: 22px !important;
opacity: 0.8;
text-align: center;
-webkit-transition: all 200ms linear;
-moz-transition: all 200ms linear;
-o-transition: all 200ms linear;
-ms-transition: all 200ms linear;
transition: all 200ms linear;
margin: 10px 0 !important;
padding: 0 10px;
box-sizing: border-box;
}
.style-4 .new-icon-section > span {
align-items: center;
background-color: rgba(0,0,0,.7);
color: #fff;
display: flex;
font-size: 9px;
font-weight: bold;
height: 13px;
justify-content: center;
position: absolute;
top: 0;
left:0;
width: 28px;
}
.style-4 .featured-section {
bottom: 1px;
position: absolute;
right: 0;
z-index: 1;
width: 0;
height: 0;
border-style: solid;
border-width: 0 0 35px 25px;
border-color: transparent transparent #FFEB3B transparent;
}
.style-4 .featured-section i {
position: absolute;
left: -10px;
top: 17px;
color: #3d7dfc;
}
.new-icon-section i {
cursor:pointer;
}
.style-4 .ca-sub{
text-align:center;
font-size: 13px !important;
color: #666;
position: absolute;
line-height: 20px;
width: 100%;
left: 0px;
opacity: 0.8;
-webkit-transition: all 200ms linear;
-moz-transition: all 200ms linear;
-o-transition: all 200ms linear;
-ms-transition: all 200ms linear;
transition: all 200ms linear;
margin: 5px 0 15px;
padding: 0 10px;
box-sizing: border-box;
}
.style-4 .ca-menu li:hover{
background-color: #000;
z-index:999;
-webkit-transform: scale(1.1);  
-moz-transform: scale(1.1);  
-ms-transform: scale(1.1);   
-o-transform: scale(1.1);   
transform: scale(1.1);  
}
.style-4 .ca-menu li:hover .ca-icon{
color: #ccff00;
font-size: 40px;
opacity:0.3;
}
.style-4 .ca-menu li:hover .ca-icon#heart{
-webkit-animation: smallToBig 900ms alternate infinite ease;
-moz-animation: smallToBig 900ms alternate infinite ease;
-ms-animation: smallToBig 900ms alternate infinite ease;
}
.style-4 .ca-menu li:hover .ca-main{
color: #ccff00;
-webkit-animation: smallToBig 300ms ease;
-moz-animation: smallToBig 300ms ease;
-ms-animation: smallToBig 300ms ease;
}
.style-4 .ca-menu li:hover .ca-sub{
color: #ccff00;
-webkit-animation: moveFromBottom 500ms ease;
-moz-animation: moveFromBottom 500ms ease;
-ms-animation: moveFromBottom 500ms ease;
}
.style-4 .ca-icon img{
width: 50px;
height: 50px;
transition: all 300ms linear 0s;
margin: 0 auto;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
border-radius: 50%;
}
.style-4 .ca-menu li:hover .ca-icon img{
color: #fff004;
width: 60px;
height: 60px;
}
.style-4 .upvote-section-style-4 {
color: #666;
font-size: 12px;
display:inline-block;
}
.style-4 .bookmark-section-style-4 {
color: #dd9933;
font-size: 12px;
display:inline-block;
}
.style-4 .upvote-btn.upvote-on:hover{
cursor: pointer;
color: #26A045;
}
.style-4 .upvote-btn {
display: inline-block;
height: 100%;
text-align: center;
}
.style-4 .upvote-section-style-4 .upvote-btn, .style-4 .upvote-section-style-4 .upvote-count {
color: #666;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
}
.style-4 .upvote-section-style-4 .upvote-btn:hover, .style-4 .ca-menu li:hover .upvote-btn, .style-4 .ca-menu li:hover .upvote-count{
color: #ccff00;
}
@-webkit-keyframes smallToBig{
from {
-webkit-transform: scale(0.1);
}
to {
-webkit-transform: scale(1);
}
}
@-moz-keyframes smallToBig{
from {
-moz-transform: scale(0.1);
}
to {
-moz-transform: scale(1);
}
}
@-ms-keyframes smallToBig{
from {
-ms-transform: scale(0.1);
}
to {
-ms-transform: scale(1);
}
}
@-webkit-keyframes moveFromBottom {
from {
-webkit-transform: translateY(100%);
}
to {
-webkit-transform: translateY(0%);
}
}
@-moz-keyframes moveFromBottom {
from {
-moz-transform: translateY(100%);
}
to {
-moz-transform: translateY(0%);
}
}
@-ms-keyframes moveFromBottom {
from {
-ms-transform: translateY(100%);
}
to {
-ms-transform: translateY(0%);
}
} @media only screen and (max-width : 801px) {
.style-4.qc-grid-item{
position: absolute;
width: 100%;
}
.style-4.qc-grid-item .ca-menu li{
width: 48%;
}
.style-4 .ca-menu li.style-4-3 {
width: 45%;
}
}
@media only screen and (max-width : 640px) {
.style-4.qc-grid-item{
position: absolute;
width: 100%;
}
.style-4.qc-grid-item .ca-menu li{
width: 100%;
}
.style-4 .ca-menu li.style-4-3 {
width: 100%;
}
#item-1-49-add-block .advertise-block.tpl-default {
width:100% !important;
}
} .direction-rtl .qc-grid-item, .direction-rtl .qc-grid-item h3
{
direction: rtl !important;
}
.direction-rtl .qc-grid-item .ca-icon {
direction: rtl !important;
}
.direction-rtl .qc-grid-item .ca-content {
direction: rtl;
}
.direction-rtl .qc-grid-item h3 {
margin-right: 10px;
}
.direction-rtl .qc-grid-item .ca-menu li {
float: right;
margin: 0 0 15px 10px;
} .qc-full-wrapper {
display: flex;
width: 100%;
}
.left-side-filter {
background:none;
float: left;
margin-right: 25px;
width: 30%;
border-bottom: none;
}
.style-4-upvote-section{
position: absolute;
top: 5px;
text-align: center;
width: 100%;
}