/*style-2*/
.style-2 .ca-menu{
    padding:0;
    margin:20px auto;
    width: 100%;
}

.style-2 .ca-menu li{
    width: 260px;
    height: 245px;
    overflow: hidden;
    position: relative;
    float:left;
    background: #fff;
    -webkit-box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    -moz-box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    margin: 0 4px 10px 0;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
    border-top: 6px solid #333;
}

.style-2 .ca-menu li:last-child{
    margin-right: 0px;
}

.style-2 .ca-menu li a{
    text-align: left;
    width: 100%;
    height: 100%;
    display: block;
    color: #333;
    position: relative;
}

.style-2 .ca-icon{
    color: #333;
    text-shadow: 0px 0px 1px #333;
    position: absolute;
    width: 100%;
    height: 40%;
    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;
}

.style-2 .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-2 .featured-section i {
	position: absolute;
	left: -10px;
	top: 17px;
	color: #3d7dfc;
}

.style-2 .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-2 .ca-content{
    position: absolute;
    left: 0px;
    width: 100%;
    height: 52%;
    top: 48.5%;
}

.style-2 .ca-main{
    font-size: 25px ;
    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;
    color: #333;
    margin-bottom: 10px;
    padding: 0 10px;
	margin-top: 0px;
}

.style-2 .ca-sub{
    text-align:center;
    font-size: 13px ;
    color: #666;
    line-height: 22px;
    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: 8px 0 15px;
    padding: 0 10px;
}

.style-2 .ca-menu li:hover{
    background-color: #000;
    border-top: 6px solid #00ccff;
}

.style-2 .ca-menu li:hover .ca-content{
    top: 50%;
    height: 50%;
}

.style-2 .ca-menu li:hover .ca-main{
    color: #00ccff;
    -webkit-animation: moveFromLeftRotate 300ms ease;
    -moz-animation: moveFromLeftRotate 300ms ease;
    -ms-animation: moveFromLeftRotate 300ms ease;
}

.style-2 .ca-menu li:hover .ca-sub{
    color: #fff;
    -webkit-animation: moveFromBottom 500ms ease;
    -moz-animation: moveFromBottom 500ms ease;
    -ms-animation: moveFromBottom 500ms ease;
}

.style-2 .ca-menu li:hover .ca-icon img{
  color: #fff004;
  width: 60px;
  height: 60px;
}

/*Upvote Section*/
.style-2 .upvote-section {
    color: #777;
    font-size: 12px;
    position: absolute;
    text-align: center;
    top: 0px;
    width: 100%;
}

.style-2 .upvote-btn.upvote-on:hover{
  cursor: pointer;
  color: #26A045;
}

.style-2 .upvote-btn {
  display: inline-block;
  height: 100%;
  text-align: center;
  width: 20px;
}

.style-2 .upvote-btn, .style-2 .upvote-count{
  padding-top: 15px;
}

.style-2 .upvote-section .upvote-btn, .style-2 .upvote-section .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-2 .upvote-section .upvote-btn:hover, .style-2 .ca-menu li:hover .upvote-btn, .style-2 .ca-menu li:hover .upvote-count{
  color: #fff;
}

@-webkit-keyframes moveFromLeftRotate{
    from {
        -webkit-transform: translateX(-100%) rotate(-90deg);
    }
    to {
        -webkit-transform: translateX(0%) rotate(0deg);
    }
}
@-moz-keyframes moveFromLeftRotate{
    from {
        -moz-transform: translateX(-100%) rotate(-90deg);
    }
    to {
        -moz-transform: translateX(0%) rotate(0deg);
    }
}
@-ms-keyframes moveFromLeftRotate{
    from {
        -ms-transform: translateX(-100%) rotate(-90deg);
    }
    to {
        -ms-transform: translateX(0%) rotate(0deg);
    }
}

@-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%);
    }
}

/* RWD */ 
@media only screen and (max-width : 801px) {
    .style-2.qc-grid-item{
        position: absolute;
        width: 100%;
    }

    .style-2.qc-grid-item .ca-menu li{
        width: 48%;
    }
}

@media only screen and (max-width : 640px) {
    .style-2.qc-grid-item{
        position: absolute;
        width: 100%;
    }

    .style-2.qc-grid-item .ca-menu li{
        width: 100%;
    }
}

/*RTL CSS*/
.direction-rtl .qc-grid-item, .direction-rtl .qc-grid-item h3
{
  direction: rtl ;
}

.direction-rtl .qc-grid-item .ca-icon {
  direction: rtl ;
}

.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;
}