.section-gray {
  background: #f0f0f0;
}

.section {
  padding: 70px 0;
}

.section-dark, .section-image {
  background: #232323;
  background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #585858), color-stop(100%, #232323));
  background: -webkit-radial-gradient(center, ellipse cover, #585858 0%, #232323 100%);
  background: -webkit-radial-gradient(center ellipse, #585858 0%, #232323 100%);
  background: radial-gradient(ellipse at center, #585858 0%, #232323 100%);
  background-color: #343434;
  background-size: 200% 240%;
  background-size: 550% 450%;
}

.section-dark,
.section-image {
  .hestia-title,
  .title,
  .card-plain .card-title,
  .card-plain .icon i,
  .card-plain [class*="text-"],
  .card-plain ul li b {
    color: #fff;
  }
}

.section-dark,
.section-image {
  .description,
  .card-plain .card-description,
  .card-plain .icon {
    color: #eaeaea;
  }
}

.section-dark,
.section-image {
  .card-plain .category {
    color: rgba(255, 255, 255, 0.5);
  }

}

.section-image {
  position: relative;
  &:after {
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    content: "";
  }

  .container {
    position: relative;
    z-index: 2;
  }
}

.section, .section-image {
  background-position: center center;
  background-size: cover;
}

.hestia-features, .features, .products, .hestia-work, .hestia-testimonials, .hestia-blogs, .subscribe-line {
  padding: 65px 0 70px;
}

.wrapper{
  &.classic-blog, &.no-content{
    .title-in-content{
      margin-top: 0;
      margin-bottom: 15px;
    }
    .hestia-blogs{
      padding-top: 40px;
      @media (max-width: 768px) {
        padding-top: 30px;
      }
    }
    .section{
      padding-top: 40px;
      @media (max-width: 768px) {
        padding-top: 30px;
      }
    }
  }
}

.image-in-page-wrapper{
  margin-bottom: 20px;
}

.image-in-page{
  margin-bottom: 30px;
}

.about,
.hestia-about {
  padding: 65px 0 30px;
}

.team,
.hestia-team {
  padding: 65px 0 20px;
}

.testimonials,
.hestia-testimonials {
  padding: 65px 0 40px;
}

.contactus {
  padding: 90px 0 70px;
}

.pricing {
  padding: 100px 0 70px;
}

.hestia-clear-top-padding{
  margin-top: -65px;
}

@media( min-width: 992px ) {
  // Align items in sections to center.
  .home {
    .hestia-features, .hestia-work, .hestia-team, .hestia-testimonials, #blog.hestia-blogs, .hestia-clients-bar {
      .row {
        text-align: center;
      }
    }
    .feature-box,
    .hestia-work .col-md-4,
    .hestia-testimonials .col-md-4,
    .hestia-work .col-md-6,
    .hestia-team .col-sm-6,
    #blog.hestia-blogs .hestia-blog-item,
    .hestia-clients-bar .col-md-3 {
      display: inline-block;
      float: none !important;
      margin-right: -4px;
      margin-left: -4px;
      vertical-align: top;
    }

    .hestia-blog-item {
      text-align: left;
    }
  }
}

@media( min-width: 480px ) {
  // Align items in sections to center.
  .home {
    .hestia-features,
    .hestia-work,
    .hestia-team,
    .hestia-testimonials,
    #blog.hestia-blogs,
    .hestia-clients-bar {
      .row {
        text-align: center;
      }
    }

    .feature-box,
    .hestia-work .portfolio-item,
    .hestia-testimonials .col-sm-6,
    .hestia-team .col-sm-6,
    #blog.hestia-blogs .hestia-blog-item,
    .hestia-clients-bar .col-md-3 {
      display: inline-block;
      float: none !important;
      margin-right: -4px;
      margin-left: -4px;
      vertical-align: top;
    }
  }
}
