
/*------------------------------------------------------------------------
# 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
-------------------------------------------------------------------------*/

.service-blocks-two {
  position: relative;
}

.service-blocks-two .inner-box {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: 60px 40px 60px;
  padding-right: 780px;
  min-height: 300px;
  -webkit-transition: all 300ms linear;
  transition: all 300ms linear;
  z-index: 2;
}
@media only screen and (max-width: 1199px) {
  .service-blocks-two .inner-box {
    padding: 0px !important;
  }
   .text23s {
    text23s-align: center;
  }
}
.service-blocks-two .inner-box:after {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  -webkit-transform: scale(0);
          transform: scale(0);
  -webkit-transform-origin: right bottom;
          transform-origin: right bottom;
  border-radius: 500px 0 0;
  z-index: -1;
  content: "";
  -webkit-transition: all 300ms linear;
  transition: all 300ms linear;
}
.service-blocks-two .inner-box:hover::after {
  -webkit-transform: scale(1.5);
          transform: scale(1.5);
}
.service-blocks-two .inner-box:hover .text23s,
.service-blocks-two .inner-box:hover .title {
  color: #ffffff;
}
.service-blocks-two .inner-box:hover .icon {
  -webkit-transform: rotate(180deg) scale(-1);
          transform: rotate(180deg) scale(-1);
		  left: -75px;
}
.service-blocks-two .inner-box:hover .image-box .image img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
.service-blocks-two .image-box {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  overflow:hidden;
}
@media only screen and (min-width: 1199px) {
.service-blocks-two .image-box {
  /*max-width: 250px;*/
}
.service-blocks-two .text23s {
  width: 550px;
}
}
@media only screen and (max-width: 1199px) {
  .service-blocks-two .image-box {
    position: relative;
    left: 0;
    top: 0;
    margin-bottom: 20px;
  }
.service-blocks-two .text23s {
  width: initial;
}
}
.service-blocks-two .image-box .image {
  /*border-radius: 400px 0 0 0;*/
  
}
@media only screen and (max-width: 1199px) {
  .service-blocks-two .image-box .image {
    border-radius: 0 !important;
	overflow: hidden;
  }
}
.service-blocks-two .image-box .image img {
  width: 100%;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}
.service-blocks-two .image-box .icon {
  position: absolute;
  left: -40px;
  height: 88px;
  width: 88px;
  margin: auto;
  top: 0;
  bottom: 0;
  background-color: #ffffff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 34px;
  -webkit-box-shadow: 0 10px 60px rgba(0, 0, 0, 0.1);
          box-shadow: 0 10px 60px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  z-index: 2;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}
@media only screen and (max-width: 1199px) {
  .service-blocks-two .image-box .icon {
    right: 0 !important;
    left: 0 !important;
    top: auto;
    bottom: 0;
    margin: 0 auto -40px;
  }
}
.service-blocks-two .content {
  position: relative;
}
@media only screen and (max-width: 1199px) {
  .service-blocks-two .content {
    text23s-align: center;
	margin-top: 45px;
  }
}
.service-blocks-two .title {
  font-size: 30px;
  margin-bottom: 15px;
}
@media only screen and (max-width: 550px) {
  .service-blocks-two .inner-box {
    padding: 15px !important;
  }
.service-blocks-two .content {
    padding: 15px;
  }
}
@media only screen and (max-width: 599px) {
  .service-blocks-two .title {
    font-size: 24px;
  }
}
.service-blocks-two .title:hover {
  color: var(--theme-color1);
}
.service-blocks-two .text23s {
  line-height: 25px;
  -webkit-transition: all 300ms linear;
  transition: all 300ms linear;
  margin-bottom: 20px;
  margin-top: 35px;
}
.service-blocks-two.style-two .inner-box {
  padding-left: 280px;
  padding-right: 30px;
}
.service-blocks-two.style-two .inner-box:after {
  -webkit-transform-origin: left bottom;
          transform-origin: left bottom;
  border-radius: 0 500px 0 0;
}
.service-blocks-two.style-two .image-box {
  right: auto;
  left: 0;
}
.service-blocks-two.style-two .image-box .image {
  border-radius: 0 400px 0 0;
}
.service-blocks-two.style-two .image-box .icon {
  right: auto;
  left: 75px;
}
.service-blocks-two.style-three .inner-box:after {
  -webkit-transform-origin: right top;
          transform-origin: right top;
  border-radius: 0 0 0 500px;
}
.service-blocks-two.style-three .image-box {
  top: 0;
  bottom: auto;
}
.service-blocks-two.style-three .image-box .image {
  border-radius: 0 0 0 400px;
}
.service-blocks-two.style-three .image-box .icon {
  top: auto;
  bottom: -10px;
}
.service-blocks-two.style-four .inner-box {
  padding-left: 280px;
  padding-right: 30px;
}
.service-blocks-two.style-four .inner-box:after {
  -webkit-transform-origin: left top;
          transform-origin: left top;
  border-radius: 0 0 500px 0;
}
.service-blocks-two.style-four .image-box {
  bottom: auto;
  top: 0;
  left: 0;
  right: auto;
}
.service-blocks-two.style-four .image-box .image {
  border-radius: 0 0 400px 0;
}
.service-blocks-two.style-four .image-box .icon {
  right: auto;
  left: 75px;
  top: auto;
  bottom: -10px;
}

.service-blocks-two .btn-style1 {
    position: relative;
    z-index: 5;
    display: inline-block
}
.service-blocks-two .btn-style1 span {
    color: #646464;
    font-size: 14px;
    text23s-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 6px 43px rgba(0, 0, 0, .16);
    padding: 10px 20px;
    transition: all .4s;
    font-weight: 500
}
.service-blocks-two .inner-box:hover .btn-style1  span {
  color: #ffffff;
  background-color: #333;
}

.service-blocks-two .btn-style1::before {
    content: "";
    height: 100%;
    width: 100%;
    border-width: 1px;
    border-color: #d8d8d8;
    border-style: solid;
    position: absolute;
    top: -10px;
    left: 10px;
    z-index: -1;
    -webkit-transition: all .4s;
    transition: all .4s
}

.service-blocks-two svg {
    margin-left: 7px;
    font-size: 18px;
    transition: all .4s;
    display: inline-block;
    margin-top: -2px
}

.service-blocks-two .btn-style1:hover:before {
    top: 0;
    left: 0;
    border-color: var(--mxserv23-color)
}
@-webkit-keyframes flotte {
	0%   {/*! -webkit-transform:translateY(0px) */}
	50%  {/*! -webkit-transform:translateY(-8px) */}
	100% {/*! -webkit-transform:translateY(0px) */}
}
@-moz-keyframes flotte {
	0%   {/*! -moz-transform:translateY(0px) */}
	50%  {/*! -moz-transform:translateY(-8px) */}
	100% {/*! -moz-transform:translateY(0px) */}
}
@-o-keyframes flotte {
	0%   {-o-transform:translateY(0px)}
	50%  {-o-transform:translateY(-8px)}
	100% {-o-transform:translateY(0px)}
}
@keyframes flotte {
	0%   {/*! transform:translateY(0px) */}
	50%  {transform:translateY(-8px);}
	100% {transform:translateY(0px)}
}
