.pricing-item {
  padding: 60px 30px;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-transition: background-color .3s ease;
  -moz-transition: background-color .3s ease;
  -ms-transition: background-color .3s ease;
  -o-transition: background-color .3s ease;
  transition: background-color .3s ease;
  background-color: #faf7f7;
  &:hover {
    background-color: #f54ea2;

    .title {
      color: #ffffff;
    }

    .subtitle {
      color: #ffffff;
      opacity: .65;
    }
    .price {
      color: #ffdd65;
    }
    .pricing-list {
      ul li,
      p {
        color: #ffffff;
        &::before {
          color: #ffdd65;
        }
      }
      a {
        color: #ffffff;
        opacity: .65;
      }
    }
    .a-btn,
    .a-btn-2,
    .a-btn-3,
    .a-btn-4 {
      background-color: #ffffff;
      color: #222222;
      &::before {
        content: none;
      }
    }

  }
}

/*Mask block*/
.pricing-item .mask-image {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 200px;
  min-width: 200px;
  height: 320px;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin-right: 30px;
}

/*Pricing info*/
.pricing-info {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  .price {
    display: block;
    margin: 0;
    margin-bottom: 15px;
    font-size: 50px;
    font-family: "Muli", sans-serif;
    letter-spacing: .2px;
    font-weight: 800;
    color: #f54ea2;
    text-align: center;
    -webkit-transition: color .3s ease;
    -moz-transition: color .3s ease;
    -ms-transition: color .3s ease;
    -o-transition: color .3s ease;
    transition: color .3s ease;
  }
  .title {
    text-align: center;
    display: block;
    margin: 0;
    font-size: 24px;
    line-height: 40px;
    font-family: "Muli", sans-serif;
    letter-spacing: .2px;
    font-weight: 800;
    color: #222222;
    -webkit-transition: color .3s ease;
    -moz-transition: color .3s ease;
    -ms-transition: color .3s ease;
    -o-transition: color .3s ease;
    transition: color .3s ease;
  }
  .subtitle {
    width: 100%;
    margin: 0;
    margin-bottom: 35px;
    padding: 0 20px 30px;
    border-bottom: 2px dashed #dfdede;
    color: #999999;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: .2px;
    text-align: center;
    -webkit-transition: color .3s ease;
    -moz-transition: color .3s ease;
    -ms-transition: color .3s ease;
    -o-transition: color .3s ease;
    transition: color .3s ease;
  }
  .pricing-btn {
    position: relative;
    margin-top: 20px;
    z-index: 10;
  }
  .a-btn-2 {
    -webkit-align-self: flex-start;
    -ms-flex-item-align: start;
    align-self: flex-start;
  }
  .pricing-list {
    width: 100%;
    p {
      font-size: 15px;
      font-weight: bold;
      line-height: 2.67;
      letter-spacing: .2px;
      font-family: "Muli", sans-serif;
      color: #999;
      text-transform: none;
      -ms-word-wrap: break-word;
      word-wrap: break-word;
      word-break: break-word;
      &:empty {
        display: none;
      }
    }
    ul {
      list-style: none;
      padding: 0;
      margin: 0;
      margin-bottom: 30px;
      li {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        font-size: 15px;
        font-weight: bold;
        line-height: 2.67;
        letter-spacing: .2px;
        font-family: "Muli", sans-serif;
        color: #999;
        text-transform: none;
        -webkit-transition: color .3s ease;
        -moz-transition: color .3s ease;
        -ms-transition: color .3s ease;
        -o-transition: color .3s ease;
        transition: color .3s ease;
        &::before {
          margin-right: 18px;
          color: #f54ea2;
          font-family: "FontAwesome", sans-serif;
          font-size: 13px;
          content: "\f00c";
          -webkit-transition: color .3s ease;
          -moz-transition: color .3s ease;
          -ms-transition: color .3s ease;
          -o-transition: color .3s ease;
          transition: color .3s ease;
        }
      }
    }
    img {
      display: block;
    }
    a {
      color: #f54ea2;
      font-weight: bold;
      text-decoration: none;
      &:hover {
        color: #ffffff;
        opacity: .65;
      }
    }
  }
}

@media (max-width: 1199px) {
  .pricing-item {
    padding: 60px 30px;
  }
}

@media (max-width: 991px) {
  .pricing-item {
    padding: 30px 25px;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .pricing-item .mask-image {
    margin: auto;
    margin-bottom: 40px;
    height: 220px;
  }
  .pricing-item .pricing-info {
    width: 100%;
  }
  .pricing-info .a-btn-2 {
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
  }
}

@media (max-width: 767px) {
  .pricing-info .price{
    font-size: 40px;
  }
  .pricing-info .pricing-list ul li{
    line-height: 2.4;
  }
  .pricing-info .pricing-btn .a-btn{
    margin-bottom: 10px;
  }
  .pricing-info .pricing-list ul{
    margin-bottom: 10px;
  }
  .pricing-item {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}



