/*
POPULAR POSTS
--------------------------------------------------------*/

.tt-popular-post .tab-content{
    padding: 30px 20px;
}




.tt-popular-post .nav-tabs {
    border-bottom: 1px solid transparent;
}
.tt-popular-post .nav-tabs>li,
.tt-popular-post .nav-tabs.nav-justified>li {
    position: relative;
}
.tt-popular-post .nav-tabs>li::before,
.tt-popular-post .nav-tabs.nav-justified>li::before {
    content: "";
    width: 1px;
    height: 20px;
    background-color: #eee;
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -10px;
    z-index: 10;
}
.tt-popular-post .nav-tabs>li:last-child::before,
.tt-popular-post .nav-tabs.nav-justified>li:last-child::before {
    display: none;
}
.tt-popular-post .nav-tabs>li>a, 
.tt-popular-post .nav-tabs.nav-justified>li>a {
    padding: 17px 30px;
    color: #bebebe;
    font-size: 16px;
    font-weight: 700;
    text-transform: capitalize;
    border-left: none!important;
    border-top: none!important;
    border-right: none!important;
    border-bottom: 4px solid transparent!important;
    background: none;

}
.tt-popular-post .nav-tabs>li.active>a, 
.tt-popular-post .nav-tabs.nav-justified>li.active>a {
    color: #202020;
    border-bottom: 4px solid #02d766!important;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-top: 1px solid transparent;
}
.tt-popular-post .media,
.tt-latest-post .media,
.tt-recent-comments .media {
    margin-bottom: 20px;
}
.tt-latest-post .media img,
.tt-recent-comments .media img{
    width: 50px;
    height: 50px;
}
.tt-popular-post .media:last-child,
.tt-latest-post .media:last-child,
.tt-recent-comments .media:last-child{
    margin-bottom: 0;
}
.tt-popular-post .media-body,
.tt-latest-post .media-body,
.tt-recent-comments .media-body {
    vertical-align: middle;
}
.tt-latest-post .media .media-left,
.tt-recent-comments .media .media-left {
    padding-right: 15px;
}

.tt-popular-post .media .media-left:before{
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f32700;
    padding: 3px 10px;

    color: #fff;
    font-family: Montserrat, sans-serif;
    border-radius: 2px;
}

.tt-popular-post .media:nth-child(1) .media-left:before{
    content: "01";
}
.tt-popular-post .media:nth-child(2) .media-left:before{
    content: "02";
}
.tt-popular-post .media:nth-child(3) .media-left:before{
    content: "03";
}
.tt-popular-post .media:nth-child(4) .media-left:before{
    content: "04";
}
.tt-popular-post .media:nth-child(5) .media-left:before{
    content: "05";
}
.tt-popular-post .media:nth-child(6) .media-left:before{
    content: "06";
}
.tt-popular-post .media:nth-child(7) .media-left:before{
    content: "07";
}
.tt-popular-post .media:nth-child(8) .media-left:before{
    content: "08";
}
.tt-popular-post .media:nth-child(9) .media-left:before{
    content: "09";
}
.tt-popular-post .media:nth-child(10) .media-left:before{
    content: "10";
}




.tt-popular-post .media-body h4,
.tt-latest-post .media-body h4,
.tt-recent-comments .media-body h4 {
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
    margin-bottom: 0;
}
.tt-popular-post .media-body h4 a,
.tt-latest-post .media-body h4 a,
.tt-recent-comments .media-body h4 a{
    color: #212121;
}
.tt-popular-post .media-body h4 a:hover,
.tt-latest-post .media-body h4 a:hover,
.tt-recent-comments .media-body h4 a:hover,
.footer-sidebar .tt-popular-post .media-body h4 a:hover,
.footer-sidebar .tt-latest-post .media-body h4 a:hover,
.footer-sidebar .tt-recent-comments .media-body h4 a:hover {
    color: #ff005a;
}

.footer-sidebar .tt-popular-post .media-body h4 a,
.footer-sidebar .tt-latest-post .media-body h4 a,
.footer-sidebar .tt-recent-comments .media-body h4 a{
    color: #fff;
}

.tt-popular-post .media-body h4+span,
.tt-latest-post .media-body h4+span {
    float: right;
}

.tt-popular-post .entry-meta li,
.tt-latest-post .entry-meta li,
.tt-recent-comments .entry-meta li {
    font-size: 12px;
    text-transform: capitalize;
}

.tt-popular-post .entry-meta li a,
.tt-latest-post .entry-meta li a,
.tt-recent-comments .entry-meta li a{
    color: #999;
}
.tt-popular-post .media-left {
    display: block;
    padding: 0;
    margin-bottom: 10px;
    position: relative;
}
.tt-popular-post .media img{
    width: 100%;
    height: auto;  
}


/*parallax styles*/
.tt-parallax-wrapper{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    z-index: 0;
}
.tt-parallax-wrapper div>div {
	position: relative;
	z-index: 1;
}
.tt-parallax-left{
    position: absolute;
    left: 0;
    width: 48%;
    height: 100%;
}
.tt-parallax-right{
    position: absolute;
    right: 0;
    width: 48%;
    height: 100%;
}

@media(max-width: 767px){
    .tt-parallax-left{
        width: 100%;
    }
    .tt-parallax-right{
        display: none;
    }
}
.tt-parallax-wrapper img{
    -webkit-transition: all 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    -moz-transition: all 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    -ms-transition: all 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    -o-transition: all 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    transition: all 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

.tt-parallax-wrapper .tt-parallax-right img{
    left: auto;
    right: 0;
}

.animated.ttScale3D {
    animation-duration: 2s;
}

.ttScale3D {
  animation-name: ttScale3D;
}

@keyframes ttScale3D {
  from {
    transform: scale3d(0, 0, 0);
  }
  5% {
    transform: scale3d(0.08, 0.08, 0.08);
  }
  10% {
    transform: scale3d(0.16, 0.16, 0.16);
  }

  15% {
    transform: scale3d(0.24, 0.24, 0.24);
  }

  20% {
    transform: scale3d(0.32, 0.32, 0.32);
  }

  25% {
    transform: scale3d(0.40, 0.40, 0.40);
  }

  30% {
    transform: scale3d(0.48, 0.48, 0.48);
  }

  35% {
    transform: scale3d(0.56, 0.56, 0.56);
  }

  40% {
    transform: scale3d(0.64, 0.64, 0.64);
  }

  43% {
    transform: scale3d(0.72, 0.72, 0.72);
  }

  45% {
    transform: scale3d(0.80, 0.80, 0.80);
  }

  47% {
    transform: scale3d(0.88, 0.88, 0.88);
  }

  50% {
    transform: scale3d(0.95, 0.95, 0.95);
  }

  53% {
    transform: scale3d(0.95, 0.95, 0.95);
  }

  55% {
    transform: scale3d(0.88, 0.88, 0.88);
  }
  57% {
    transform: scale3d(0.72, 0.72, 0.72);
  }
  60% {
    transform: scale3d(0.64, 0.64, 0.64);
  }

  65% {
    transform: scale3d(0.56, 0.56, 0.56);
  }

  70% {
    transform: scale3d(0.48, 0.48, 0.48);
  }

  75% {
    transform: scale3d(0.48, 0.48, 0.48);
  }

  80% {
    transform: scale3d(0.32, 0.32, 0.32);
  }

  85% {
    transform: scale3d(0.24, 0.24, 0.24);
  }

  90% {
    transform: scale3d(0.16, 0.16, 0.16);
  }

  95% {
    transform: scale3d(0.08, 0.08, 0.8);
  }
  
  100% {
    transform: scale3d(0, 0, 0);
  }
}