.services {
  padding: 40px 35px 33px 35px;
  max-width: 500px;
  margin: auto;
  position: relative;
  background-size: cover;
  background-position: center;
  .custom-icon,
  .custom-icon-hover{
    max-height: 100px;
    width: auto;
  }

  &.slider {
    padding: 0;
    max-width: 90%;
    margin-bottom: 15px;
    .swiper3-container {
      padding-bottom: 35px;
    }
    .swiper3-slide {
      padding: 20px 45px;
    }

    .number {
      height: 80px;
      width: 80px;
      margin: 0 auto 50px;
      background-color: #fff;
      border-radius: 50%;
      border: 1px solid #dfdede;
      color: #f54ea2;
      font-size: 24px;
      font-weight: 800;
      letter-spacing: 0.2px;
      .number-img {
        position: absolute;
        left: -webkit-calc(50% + 65px);
        left: calc(50% + 65px);
        top: 35px;
        width: -webkit-calc(100% - 130px);
        width: calc(100% - 130px);
        height: auto;
      }
      &.odd {
        .number-img {
          -moz-transform: scaleY(-1);
          -o-transform: scaleY(-1);
          -webkit-transform: scaleY(-1);
          transform: scaleY(-1);
          filter: "FlipV";
          -ms-filter: "FlipV";
        }
      }
      &.even {
        margin-top: 50px;
        .number-img {
          top: 85px;
        }
      }
      span {
        display: block;
        text-align: center;
        padding-top: 23px;
      }
    }
    .content-slide {
      background-color: #fff;
      padding: 60px 40px;
      position: relative;
      text-align: center;
      transition: all 350ms ease;
      box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.06);
      &::before {
        content: '';
        display: inline-block;
        position: absolute;
        left: 50%;
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        transform: translateX(-50%);
        top: -40px;
        border: 20px solid transparent;
        border-bottom: 20px solid #fff;
        transition: all 350ms ease;
      }
      &::after {
        content: '';
        position: absolute;
        top: 15px;
        left: 0;
        background-color: #ffdd65;
        height: -webkit-calc(100% - 25px);
        height: calc(100% - 25px);
        width: 100%;
        z-index: -1;
        transition: all 350ms ease;
      }
      .custom-icon-hover{
       display: none;
      }
      &:hover {
        background-color: #f54ea2;
        .custom-icon-hover{
          display: inline-block;
        }
        .custom-icon{
          display: none;
        }
        &::before {
          border-bottom: 20px solid #f54ea2;
        }
        &::after {
          top: 40px;
          left: -20px;
        }
        .title,
        .text {
          color: #fff;
        }
        i::before {
          color: #222;
          opacity: .1;
        }
      }
    }
    i {
      text-align: center;
      position: absolute;
      top: 105px;
      font-size: 100px;
      left: 50%;
      z-index: 5;
      color: #f7f7f7;
      -webkit-transform: translate(-50%, -50%);
      -moz-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
      -o-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
      -webkit-transition: all 200ms ease;
      -moz-transition: all 300ms ease;
      -ms-transition: all 300ms ease;
      -o-transition: all 300ms ease;
      transition: all 300ms ease;
    }
    .title {
      font-size: 24px;
      font-weight: 800;
      margin-top: 18px;
      text-align: center;
      letter-spacing: .2px;
      transition: all 350ms ease;
      position: relative;
      z-index: 10;
    }
    .text {
      font-size: 15px;
      line-height: 1.6;
      letter-spacing: .2px;
      color: #222;
      opacity: .6;
      margin-top: 15px;
      position: relative;
      text-align: center;
      z-index: 10;
      transition: all 350ms ease;
    }
    .swiper3-pagination {
      width: 100%;
      margin-top: 30px;
      bottom: 0;
      position: relative;
      span {
        width: 30px;
        height: 5px;
        display: inline-block;
        margin-right: 5px;
        margin-left: 5px;
        border-radius: 0;
        background-color: #999999;
        &.swiper3-pagination-bullet-active {
          background-color: #f54ea2;
        }
      }
    }
  }
  &.center {
    text-align: center;
    padding: 15px;
    .custom-icon-hover{
      display: none;
    }
    i {
      text-align: center;
      margin-bottom: 17px;
    }
    .content .title {
      font-size: 24px;
      font-weight: 800;
      margin-top: 18px;
      text-align: center;
      letter-spacing: .2px;
      transition: all 350ms ease;
    }
    .content .text {
      font-size: 15px;
      line-height: 1.6;
      letter-spacing: .2px;
      color: #222;
      max-width: 300px;
      margin-left: auto;
      margin-right: auto;
      opacity: .6;
      margin-top: 20px;
      transition: all 350ms ease;
    }
  }
  i {
    color: #f54ea2;
    font-size: 50px;
    text-align: right;
    display: inline-block;
    letter-spacing: .7px;
    -webkit-transition: all 350ms ease;
    -moz-transition: all 350ms ease;
    -ms-transition: all 350ms ease;
    -o-transition: all 350ms ease;
    transition: all 350ms ease;
  }
  &.classic {
    padding: 0;
    text-align: left;
    .img-wrap {
      height: 250px;
    }
    .content .title {
      font-size: 24px;
      letter-spacing: .2px;
      font-weight: 800;
      line-height: 1.2;
      text-align: left;
    }
    .text {
      line-height: 1.7;
      font-size: 15px;
      letter-spacing: .2px;
      color: #999;
      margin-top: 20px;
    }
    &::before,
    &::after {
      display: none;
    }
  }
  &.default {
    border: 2px solid #f6f6f6;
    transition: all 350ms ease;
    position: relative;
    background-color: #fff;
    .custom-icon-hover{
      display: none;
    }
    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      background-color: #ffdd65;
      height: 100%;
      width: 100%;
      z-index: -1;
      transition: all 350ms ease;
    }
    .content .title {
      font-size: 24px;
      font-weight: 800;
      margin-top: 18px;
      letter-spacing: .2px;
      transition: all 350ms ease;
    }
    .content .text {
      font-size: 15px;
      line-height: 1.6;
      letter-spacing: .2px;
      color: #222;
      opacity: .6;
      margin-top: 20px;
      transition: all 350ms ease;
    }
    &:hover {
      background-color: #f54ea2;
      border-color: #f54ea2;
      .custom-icon-hover{
        display: inline-block;
      }
      .custom-icon{
        display: none;
      }
      .content .title,
      .content .text,
      .content i {
        color: #fff !important;
        opacity: 1;
      }
      &::before {
        top: -15px;
        left: -20px;
      }
    }
  }
  &.accordion {
    padding: 0;
    max-width: none;
    .img-wrap {
      width: 80%;
      height: 715px;
      -webkit-box-shadow: none;
      -moz-box-shadow: none;
      box-shadow: none;
      background-size: cover;
    }
    .accordeon-wrap {
      width: 635px;
      background-color: #ffffff;
      padding: 75px 55px;
      position: absolute;
      top: 50%;
      left: 50%;
      -webkit-transform: translateY(-50%);
      -moz-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      -o-transform: translateY(-50%);
      transform: translateY(-50%);
      -webkit-box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.06);
      box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.06);
      .main-title {
        font-size: 30px;
        font-weight: 800;
        margin-bottom: 40px;
      }
    }
    .accordeon {
      margin: 0;
      .list-drop {
        display: none;
      }
      ul {
        margin: 0;
        padding: 0;
      }
      li {
        list-style: none;
      }
      > li {
        padding: 7px 0;
        &:first-of-type a + .list-drop {
          display: block;
        }
      }
      a {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
        text-decoration: none;
        color: #999999;
        font-size: 18px;
        font-weight: 800;
        letter-spacing: .2px;
        -webkit-transition: color .3s ease;
        -o-transition: color .3s ease;
        transition: color .3s ease;
        &:hover,
        &:hover .title {
          color: #f54ea2;
        }
        i {
          color: #222222;
          font-size: 14px;
        }
      }
      .inner-wrap {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
      }
      .title {
        color: #222222;
        -webkit-transition: color .3s ease;
        -o-transition: color .3s ease;
        transition: color .3s ease;
        -ms-word-wrap: break-word;
        word-wrap: break-word;
      }
      .text {
        padding: 25px 0;
        font-size: 15px;
        color: #999999;
        -ms-word-break: break-word;
        word-break: break-word;
      }
      .number {
        margin-right: 10px;
      }
    }
  }
  &.left {
    padding: 15px;
    text-align: left;
    .custom-icon-hover{
      display: none;
    }
    i {
      margin-bottom: 30px;
      text-align: left;
    }
    .content {
      .title {
        font-size: 24px;
        font-weight: 800;
        margin-top: 18px;
        text-align: left;
        letter-spacing: .2px;
        transition: all 350ms ease;
      }
      .text {
        font-size: 15px;
        line-height: 1.6;
        letter-spacing: .2px;
        color: #222;
        opacity: .6;
        margin-top: 20px;
        transition: all 350ms ease;
      }
    }
  }

  &.classic_slider {
    padding: 0;
    padding-top: 100px;
    max-width: none;
    .custom-icon-hover{
      display: none;
    }
    .content-slide {
      padding: 60px 35px;
      border: 1px solid #eee;
      .title {
        margin-top: 30px;
        font-size: 18px;
        line-height: 1.6;
        font-weight: 600;
      }
      .text {
        margin-top: 20px;
        color: #999999;
        font-size: 14px;
        line-height: 1.71;
        letter-spacing: .2px;
      }
      a {
        margin-top: 30px;
      }
    }
    .swiper3-pagination {
      color: transparent;
      font-size: 14px;
      font-weight: 800;
      letter-spacing: .2px;
      text-align: right;
      top: 0;
      left: 0;
      height: 20px;
      right: 0;
      span {
        color: #222;
        display: none;
        background-color: transparent;
        width: auto;
        height: auto;
        &:first-child,
        &:last-of-type {
          display: inline-block;
          opacity: 1;
        }
        &:first-child {
          position: relative;
          margin-right: 47px;
          &::before {
            content: '';
            position: absolute;
            left: 100%;
            top: 50%;
            height: 1px;
            width: 30px;
            margin: 0 11px;
            background-color: #dfdede;
          }
        }
      }
      .swiper3-pagination-total {
        color: #999999;
      }
    }
  }

}
  .no-content-button {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }

  .services.classic .img-wrap {
    width: 100%;
    box-shadow: none;
  }

  .services.classic .img-wrap {
    margin: 0 0 40px;
    background-position: center;
    -webkit-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
  }

  @media only screen and (min-width: 1201px) {
    .services.slider {
      .swiper3-slide-prev,
      .swiper3-container[data-add-slides="1"] .swiper3-slide.swiper3-slide-active,
      .swiper3-container[data-add-slides="2"] .swiper3-slide.swiper3-slide-active + div,
      .swiper3-container[data-add-slides="3"] .swiper3-slide.swiper3-slide-active + div + div,
      .swiper3-container[data-add-slides="4"] .swiper3-slide.swiper3-slide-active + div + div + div,
      .swiper3-container[data-add-slides="5"] .swiper3-slide.swiper3-slide-active + div + div + div + div,
      .swiper3-container[data-add-slides="6"] .swiper3-slide.swiper3-slide-active + div + div + div + div + div,
      .swiper3-container[data-add-slides="7"] .swiper3-slide.swiper3-slide-active + div + div + div + div + div + div,
      .swiper3-container[data-add-slides="8"] .swiper3-slide.swiper3-slide-active + div + div + div + div + div + div + div,
      .swiper3-container[data-add-slides="9"] .swiper3-slide.swiper3-slide-active + div + div + div + div + div + div + div + div {
        .number-img {
          display: none;
        }
      }
    }
  }

  @media only screen and (min-width: 993px) and (max-width: 1200px) {
    .services.slider {
      .swiper3-slide-prev,
      .swiper3-container[data-md-slides="1"] .swiper3-slide.swiper3-slide-active,
      .swiper3-container[data-md-slides="2"] .swiper3-slide.swiper3-slide-active + div,
      .swiper3-container[data-md-slides="3"] .swiper3-slide.swiper3-slide-active + div + div,
      .swiper3-container[data-md-slides="4"] .swiper3-slide.swiper3-slide-active + div + div + div,
      .swiper3-container[data-md-slides="5"] .swiper3-slide.swiper3-slide-active + div + div + div + div,
      .swiper3-container[data-md-slides="6"] .swiper3-slide.swiper3-slide-active + div + div + div + div + div,
      .swiper3-container[data-md-slides="7"] .swiper3-slide.swiper3-slide-active + div + div + div + div + div + div,
      .swiper3-container[data-md-slides="8"] .swiper3-slide.swiper3-slide-active + div + div + div + div + div + div + div,
      .swiper3-container[data-md-slides="9"] .swiper3-slide.swiper3-slide-active + div + div + div + div + div + div + div + div {
        .number-img {
          display: none;
        }
      }
    }
  }

  @media only screen and (min-width: 769px) and (max-width: 992px) {
    .services.slider {
      .swiper3-slide-prev,
      .swiper3-container[data-sm-slides="1"] .swiper3-slide.swiper3-slide-active,
      .swiper3-container[data-sm-slides="2"] .swiper3-slide.swiper3-slide-active + div,
      .swiper3-container[data-sm-slides="3"] .swiper3-slide.swiper3-slide-active + div + div,
      .swiper3-container[data-sm-slides="4"] .swiper3-slide.swiper3-slide-active + div + div + div,
      .swiper3-container[data-sm-slides="5"] .swiper3-slide.swiper3-slide-active + div + div + div + div,
      .swiper3-container[data-sm-slides="6"] .swiper3-slide.swiper3-slide-active + div + div + div + div + div,
      .swiper3-container[data-sm-slides="7"] .swiper3-slide.swiper3-slide-active + div + div + div + div + div + div,
      .swiper3-container[data-sm-slides="8"] .swiper3-slide.swiper3-slide-active + div + div + div + div + div + div + div,
      .swiper3-container[data-sm-slides="9"] .swiper3-slide.swiper3-slide-active + div + div + div + div + div + div + div + div {
        .number-img {
          display: none;
        }
      }
    }
  }

  @media only screen and (max-width: 768px) {
    .services.slider {
      .number-img {
        display: none;
      }
    }
    .services {
      &.classic_slider {
        .content-slide {
          text-align: center;
        }
      }
    }
  }

  @media only screen and (max-width: 1440px) {
    .services.slider .swiper3-slide {
      padding: 20px 25px;
    }
    .services.slider .content-slide {
      padding: 60px 25px;
    }
  }

  @media only screen and (max-width: 1199px) {
    .services {
      &.accordion {
        .accordeon-wrap {
          width: 550px;
          left: 20%;
        }
      }
      &.classic_slider {
        padding-top: 80px;
      }
    }

  }
  @media only screen and (max-width: 1024px) {
    .services.slider .swiper3-container {
      padding-bottom: 65px;
    }
  }
  @media only screen and (max-width: 991px) {
    .services .img-wrap {
      margin-right: auto;
      margin-left: auto;
    }
    .services .content i,
    .services .content .title,
    .services .content {
      text-align: center;
    }
    .services.classic .content {
      text-align: left;
    }
    .services:not(.classic, .accordion) {
      padding: 40px;
    }
    .services.simple {
      padding: 10px;
    }
    .services.classic .content .text {
      padding: 0;
    }
    .services.slider .swiper3-pagination span {
      width: 20px;
      margin-right: 3px;
      margin-left: 3px;
    }
    .services {
      &.accordion {
        .img-wrap {
          width: 100%;
        }
        .accordeon-wrap {
          left: 50%;
          -webkit-transform: translate(-50%, -50%);
          -moz-transform: translate(-50%, -50%);
          -ms-transform: translate(-50%, -50%);
          -o-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
        }
      }
      &.left {
        .content {
          text-align: left;
          i,
          .title {
            text-align: left;
          }
        }
      }
    }
  }

  @media only screen and (max-width: 768px) {
    .services.classic .img-wrap {
      margin: 0 0 30px;
    }
    .services.slider {
      max-width: 100%;
      margin: 0;
      margin-bottom: 15px;
    }
    .services.slider .number.even {
      margin-top: 0;
    }
    .services.slider .swiper3-container {
      padding-bottom: 45px;
    }
    .services.slider .swiper3-slide {
      padding: 0 5px;
      width: 100%;
    }
    .services.slider .content-slide {
      padding: 40px 20px;
      box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.06);
    }
    .services.slider .number {
      margin: 0 auto 40px;
    }
    .services.slider i {
      top: 82px;
    }
    .services {
      &.slider {
        padding: 40px 0;
      }
      &.accordion {
        .img-wrap {
          height: 550px;
        }
        .accordeon-wrap {
          width: 100%;
          max-width: 90%;
          padding: 30px;
          left: 50%;
          right: 0;
          -webkit-transform: translate(-50%, -50%);
          -moz-transform: translate(-50%, -50%);
          -ms-transform: translate(-50%, -50%);
          -o-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
        }
      }
    }
    .services.classic_slider .content-slide {
      padding: 30px 15px;
    }
  }

  @media only screen and (max-width: 767px) {
    .services.default:hover::before {
      left: -10px;
      top: -10px;
    }
    .services.classic_slider .swiper3-pagination {
      text-align: center;
    }
    .services.classic_slider {
      padding-top: 60px;
    }
  }
