/*------------------------------------------------------------------
[SERVICES_ELEMENTS.CSS - Services elements shortcode styles]
[Table of contents]

1. Services carousel
2. Featured services
-------------------------------------------------------------------*/
/*------------------------------------------------------------------
	1. Services carousel
-------------------------------------------------------------------*/
.shortcode-services-carousel .inner {
  padding: 0 15px;
}
.shortcode-services-carousel .inside {
  height: 240px;
  position: relative;
  background: #000;
  background-size: cover !important;
}
.shortcode-services-carousel .icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 15px;
}
.shortcode-services-carousel .icon svg {
  width: 60px;
  height: 60px;
}
.shortcode-services-carousel .icon svg path,
.shortcode-services-carousel .icon svg rect,
.shortcode-services-carousel .icon svg circle {
  fill: #ffffff;
}
.shortcode-services-carousel .icon .fa {
  font-size: 60px;
  color: #ffffff;
}
.shortcode-services-carousel .title {
  display: inline-block;
  vertical-align: middle;
  font-size: 24px;
  font-weight: bold;
  font-family: Roboto Slab;
  color: #ffffff;
}
.shortcode-services-carousel .title a {
  color: #ffffff;
}
.shortcode-services-carousel .text {
  padding: 30px;
  color: #ffffff;
  position: absolute;
  left: 0;
  right: 0;
  top: 128px;
  bottom: 0;
  background-color: rgba(40, 40, 44, 0.7);
  -webkit-transition: top 0.3s;
  -moz-transition: top 0.3s;
  -o-transition: top 0.3s;
  transition: top 0.3s;
}
.shortcode-services-carousel .excerpt {
  margin-bottom: 18px;
}
.shortcode-services-carousel .icon-title {
  margin-bottom: 10px;
}
.shortcode-services-carousel .inside:hover .text {
  top: 0;
}
@media screen and (max-width: 767px) {
  .shortcode-services-carousel .icon svg {
    width: 40px;
  }
  .shortcode-services-carousel .icon .fa {
    font-size: 40px;
  }
  .shortcode-services-carousel .title {
    font-size: 18px;
  }
  .shortcode-services-carousel .text {
    top: 128px;
  }
  .shortcode-services-carousel .more {
    display: none;
  }
}
/*------------------------------------------------------------------
	2. Featured services
-------------------------------------------------------------------*/
.shortcode-featured-services {
  margin-bottom: 35px;
}
.shortcode-featured-services .item {
  float: left;
  width: 33.333333%;
  position: relative;
}
.shortcode-featured-services .inside {
  height: 360px;
  text-align: center;
  background-size: cover;
}
.shortcode-featured-services .inner {
  position: relative;
}
.shortcode-featured-services .overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(40, 40, 44, 0.7);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  z-index: 1;
}
.shortcode-featured-services .text {
  position: absolute;
  bottom: 0;
  left: 60px;
  right: 60px;
  z-index: 2;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.shortcode-featured-services .button {
  opacity: 0;
}
.shortcode-featured-services .title {
  font-size: 32px;
  line-height: 1.25em;
  font-weight: bold;
  font-family: Roboto Slab;
  margin-bottom: 18px;
}
.shortcode-featured-services .title a {
  color: #ffffff;
}
.shortcode-featured-services .item:hover .overlay {
  background-color: rgba(28, 187, 180, 0.7);
}
.shortcode-featured-services .item:hover .button {
  opacity: 1;
}
.shortcode-featured-services .item:hover .text {
  bottom: 50px;
}
@media screen and (max-width: 992px) {
  .shortcode-featured-services .title {
    font-size: 24px;
    line-height: 1.25em;
  }
  .shortcode-featured-services .text {
    right: 30px;
    left: 30px;
  }
}
@media screen and (max-width: 767px) {
  .shortcode-featured-services .item {
    width: 100%;
  }
  .shortcode-featured-services .inside {
    height: 240px;
  }
}
