
/* Tc Home Service block start */
#pst_serviceblock {
    width: 23.8%;
    float: right;
    padding-left: 15px;
}
#pst_serviceblock .service-title{    
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
    text-transform: capitalize;
    display: block;
    margin-bottom: 5px;
    transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
}
#pst_serviceblock .pst-service-item:hover .service-title{
    color:#f4cb00;
    transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
}
#pst_serviceblock .tc-service-left {
    float: left;
    margin-top: 15px;
    width: 40%;
}
#pst_serviceblock .tc-service-right {
    overflow: hidden;
}

 
#pst_serviceblock  .pst-image-block{
    float:left;
    margin: 0 10px 0  0;    
}
#pst_serviceblock  .service-right{
    overflow:hidden;
        margin-top: 10px;
}
.pst-service-wrapper ul{margin:0;}
#pst_serviceblock .pst-service-item-inner{
    padding: 16px;
    background: #ffffff;
    border-radius:5px;
    -webkit-border-radius:5px;
    -khtml-border-radius:5px;
    -moz-border-radius:5px;
    display: inline-block;
    vertical-align: top;
    width: 100%;
}
#pst_serviceblock .pst-service-wrapper {
    overflow: hidden;
    margin: 0 -10px;
    cursor:default;
}
#pst_serviceblock .pst-service-item{
    float: left;
    width: 100%;
    padding: 0 10px
}
#pst_serviceblock .pst-service-item{
    margin: 0 0 30px 0;
}
#pst_serviceblock .pst-service-item:last-child{
    margin:0;
}
#pst_serviceblock .pst-service-item:hover img{
    -webkit-transform:scale(1.3);
    -moz-transform:scale(1.3);
    -ms-transform:scale(1.3);
    -o-transform:scale(1.3);
    transform:scale(1.3);
    
    -webkit-transition-duration:200ms;
    -moz-transition-duration:200ms;
    -ms-transition-duration:200ms;
    -o-transition-duration:200ms;
    transition-duration:200ms;
}
#pst_serviceblock .pst-service-item img{
    -webkit-transition-duration:200ms;
    -moz-transition-duration:200ms;
    -ms-transition-duration:200ms;
    -o-transition-duration:200ms;
    transition-duration:200ms;
}
#pst_serviceblock .pst-service-item .service-icon{
    background-repeat: no-repeat;
    background-size: 50px;
    background-position: center;
    height: 70px;
    width: 70px;
    font-size: 0;
    display: block;
    transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
}
#pst_serviceblock .pst-service-item:hover .service-icon{
    transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
}
#pst_serviceblock .pst-service-item:nth-child(1) .service-icon{
    background-image: url("../img/service1.svg");
}
#pst_serviceblock .pst-service-item:nth-child(1):hover .service-icon{
    background-image: url("../img/service1-hover.svg");
}
#pst_serviceblock .pst-service-item:nth-child(2) .service-icon{
    background-image: url("../img/service2.svg");
}
#pst_serviceblock .pst-service-item:nth-child(2):hover .service-icon{
    background-image: url("../img/service2-hover.svg");
}
#pst_serviceblock .pst-service-item:nth-child(3) .service-icon{
    background-image: url("../img/service3.svg");
}
#pst_serviceblock .pst-service-item:nth-child(3):hover .service-icon{
    background-image: url("../img/service3-hover.svg");
}
#pst_serviceblock .pst-service-item:nth-child(4) .service-icon{
    background-image: url("../img/service4.svg");
}
#pst_serviceblock .pst-service-item:nth-child(4):hover .service-icon{
    background-image: url("../img/service4-hover.svg");
}
#pst_serviceblock .pst-service-item:hover .service-icon{
    animation-duration:1s;
    animation-timing-function:linear;
    animation-name:"tada";
    
    webkit-animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-name: "tada";
    
    -moz-animation-duration: 1s;
    -moz-animation-timing-function: linear;
    -moz-animation-name: "tada";
}
@keyframes tada {
  from {
    transform: scale3d(1, 1, 1);
  }

  10%, 20% {
    transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
  }

  30%, 50%, 70%, 90% {
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }

  40%, 60%, 80% {
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }

  to {
    transform: scale3d(1, 1, 1);
  }
}

@media only screen and (min-width: 1500px) and (max-width: 1699px) {
#pst_serviceblock .pst-service-item .service-icon {
    background-size: 40px;
    height: 50px;
    width: 50px;
}
#pst_serviceblock .pst-service-item{
    margin: 0 0 27px 0;
}
}

@media (max-width: 1499px){
#pst_serviceblock {
    float: none;
    width: 100%;
    padding: 0;
    clear: both;
}
#pst_serviceblock .pst-service-item {
    width: 25%;
    margin: 0;
}
}
 


@media (max-width: 1299px){
#pst_serviceblock .service-title
{
    font-size:13px;
}
#pst_serviceblock .pst-service-item .service-icon {
    background-size: 40px;
    height: 50px;
    width: 50px;
}
#pst_serviceblock .service-right{
      margin: 0;
}
}

@media (max-width: 991px){
#pst_serviceblock .pst-image-block {
    float: none;
    margin: 0 0 10px 0;
}
#pst_serviceblock .pst-service-item .service-icon {
    margin: 0 auto;
}
#pst_serviceblock .pst-service-item {
    text-align: center;
}
#pst_serviceblock .pst-service-item-inner {
    padding: 10px;
}
}

@media (max-width: 991px){
#pst_serviceblock .pst-service-item {
    width: 50%;
    margin: 0 0 15px 0;
}
#pst_serviceblock .pst-service-item:nth-child(3), #pst_serviceblock .pst-service-item:nth-child(4) {
    margin: 0;
}
}
@media (max-width: 479px){
#pst_serviceblock .pst-service-item {
    width: 100%;
}
#pst_serviceblock .pst-service-item:nth-child(3){
    margin:  0 0 15px 0;
}
}
