
/*------------------------------------------------------------------------
# mod_mx_services Extension
# ------------------------------------------------------------------------
# author    mixwebtemplates
# Copyright (C) 2020 mixwebtemplates.com. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Websites: http://www.mixwebtemplates.com
-------------------------------------------------------------------------*/
:root {
 --mxserv18-color: #F64A00;
}

.service-eighteen {
  position: relative;
}
.service-eighteen a.rts-btn {
  display: block;
  max-width: max-content;
  position: absolute;
  bottom: -50px;
  left: 40px;
  border-radius: 0 0 15px 15px;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
}
@media only screen and (max-width: 767px) {
  .service-eighteen a.rts-btn {
    bottom: -10%;
  }
}
@media only screen and (max-width: 479px) {
  .service-eighteen a.rts-btn {
    bottom: -15%;
  }
}
@media screen and (max-width: 380px) {
  .service-eighteen a.rts-btn {
    bottom: -21%;
  }
}
.service-eighteen a.rts-btn i {
  margin-left: 5px;
}
.service-eighteen a.rts-btn:hover {
  border: 1px solid var(--mxserv18-color);
  background: #fff;
  color: #1C2539;
}
.service-eighteen .big-thumbnail-area {
  position: relative;
  z-index: 1;
  cursor: pointer;
}
.service-eighteen .big-thumbnail-area .thumbnail {
  overflow: hidden;
  display: block;
  border-radius: 15px;
}
.service-eighteen .big-thumbnail-area .thumbnail:hover img {
  transform: scale(1.2);
}
.service-eighteen .big-thumbnail-area .thumbnail img {
  width: 100%;
  transition: 0.5s;
  border-radius: 15px;
}
.service-eighteen .big-thumbnail-area .content {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  z-index: 1;
  height: 140px;
  overflow: hidden;
  transition: 0.5s;
  text-align: left;
}
.service-eighteen .big-thumbnail-area .content .img {
  width: 94px;
  height: auto;
  margin-bottom: 20px;
  box-shadow: rgba(250, 250, 250, 0.9) 5px 5px;
  background: var(--mxserv18-color);
  padding: 19px
}
.service-eighteen .big-thumbnail-area .content i {
    font-size: 52px;
    color: #fff
}

.service-eighteen .big-thumbnail-area .content .title {
  color: #fff;
  margin-bottom: 10px;
  font-size: 24px;
}
.service-eighteen .big-thumbnail-area .content div.disc {
  color: #fff;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
}
.service-eighteen .big-thumbnail-area .over_link {
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 10;
  top: 0;
  left: 0;
  border-radius: 15px;
}
.service-eighteen .big-thumbnail-area img {
  width: 100%;
}
.service-eighteen .big-thumbnail-area::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 85%;
  display: block;
  z-index: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 24.52%, rgba(6, 9, 12, 0.85) 87.86%);
  transition: opacity 0.65s cubic-bezier(0.05, 0.2, 0.1, 1);
  cursor: pointer;
  border-radius: 15px;
  transition: 0.5s;
}
.service-eighteen .big-thumbnail-area:hover::after {
  height: 100%;
  background: linear-gradient(to bottom, rgba(15, 15, 15, 0.01), black 100%);
}
.service-eighteen .big-thumbnail-area:hover .content {
  height: 206px;
}
.service-eighteen:hover .thumbnail img {
  transform: scale(1.2);
}
.rts-btn {
  padding: 15px 30px;
  min-width: max-content;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  border-radius: 15px;
  transition: 0.3s;
}
.rts-btn.btn-primary-3 {
  background: var(--mxserv18-color);
  color: #fff;
}
