
.h2, h2 {
  font-family: 'Open Sans', sans-serif;
  color: #000000;
  font-weight: bold;
  font-size: 34px;
  line-height: 46px;
  padding-left: 5px;
  padding-right: 5px;

  .text__primary {
    color: #ec008c;
  }
}

.text__primary {
  color: #ec008c;
}

#main-nav-wrap {
  background-color: #fff;
}

.top-wrap {
  background-color: #fff;
}

.color-block {
  background: #f1f2f2;
}

.block {
  border-top: 1px solid transparent;

  .centered {
    color: #000;
    padding-left: 40px;
    padding-right: 25px;
  }
}

.price-string {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 18px;
}

@media screen and (max-width: 1030px) {
  .h2, h2 {
    br {
      display: none;
    }
  }
}

@media screen and (max-width: 767px) {
  .h2, h2 {
    font-size: 22px;
    line-height: 26px;
  }
}

@media screen and (max-width: 600px) {
  .block .centered {
    padding-left: 20px;
    padding-right: 20px;
  }
  .h2, h2 {
    padding: 0;
  }
}

/*************************************************************************************************************/
/*************************************************************************************************************/
/*************************************************************************************************************/
/*************************************************************************************************************/
/*************************************************************************************************************/

/* если не подойдет, то надо будет картинку относительно centered выравнивать */
.top-block {
  min-height: 656px;
  background: url(../../images/landings/integration_crm/top_bg.jpg?v) no-repeat center top;
  .block-content {
    margin-left: 8px;
    margin-top: 123px;
    color: #000000;
  }
  .h1 {
    font-weight: 700;
    font-size: 72px;
    line-height: 86px;
    text-transform: uppercase;
    color:#000;
    padding:0 20px 32px 0;
    margin: 0;
  }
  .description {
    font-size: 20px;
    line-height: 28px;
    color:#000;
    padding:0 0 41px 0;
    width: 48%;
  }
  a {
    text-decoration: none;
  }
  .button {
    border-radius: 21px;
    font-size: 17.5px;
    line-height: 19px;
    padding: 16px 47px;
    font-weight: 500;
    height: auto;
    width: auto;
    margin-left: 0;
    float: none;
    text-transform: uppercase;
  }
}

@media screen and (max-width: 1262px) {
  .top-block {
    background-position: 57% top;
    .description{
      width: 56%;
    }
  }
}

@media screen and (max-width: 1030px) {
  .top-block {
    .h1 {
      font-size: 46px;
      line-height: 50px;
    }
    .description{
      width: 77%;
    }
  }
}

@media screen and (max-width: 767px) {
  .top-block {
    background: url(../../images/landings/integration_crm/top_bg-mob.jpg) no-repeat center top;
    .block-content{
      margin-top: 415px;
      margin-bottom: 35px;
    }
    .description{
      width: 100%;
    }
  }
}

@media screen and (max-width: 600px) {
  .top-block {
    border-bottom: 1px solid #f1f1f1;
    background-size: 600px auto;
    min-height: initial;

    .block-content {
      margin: 300px 0 35px;
    }
    .h1 {
      font-size: 40px;
      line-height: 50px;
      padding-bottom: 25px;
    }
    .description {
      margin: 0;
      font-size: 20px;
      padding-bottom: 37px;
      br {
        display: none;
      }
    }
  }
}

@media screen and (max-width: 500px) {
  .top-block {
    background-size: 500px auto;
    .block-content{
      margin-top: 275px;
    }
    .h1{
      font-size: 28.5px;
      font-weight: 600;
      line-height: 36px;
      padding-right: 0;
    }
    .description{
      font-size: 14px;
      padding-bottom: 25px;
    }
  }
}

@media screen and (max-width: 360px) {
  .top-block {
    background-size: 390px auto;
    .block-content{
      margin-top: 210px;
    }
  }
}


/*************************************************************************************************************/
/*************************************************************************************************************/
/*************************************************************************************************************/
/*************************************************************************************************************/
/*************************************************************************************************************/

.options-block {
  border-top: 1px solid transparent;
  padding: 30px 0 53px;
  .h2.heading,
  .h2 {
    padding: 0 5px;
  }
  .options {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
  }
  .option {
    display: flex;
    padding: 10px 0;
    align-items: center;
    width: 50%;
  }
  ul {
    padding-left: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .icon {
    position: relative;
    min-width: 65px;
    margin-right: 20px;
    &:before {
      content: "";
      position: absolute;
      width: 58px;
      height: 58px;
      border-radius: 50%;
      background: white;
    }
    &:after {
      content: "";
      display: inline-block;
      position: relative;
      width: 54px;
      height: 54px;
      margin-top: 5px;
      margin-left:0;
    }
    &.icon-comp:after {
      background: url(../../images/landings/integration_crm/ic-comp.svg) no-repeat right bottom;
    }
    &.icon-call:after {
      background: url(../../images/landings/integration_crm/ic-call.svg) no-repeat right bottom;
    }
    &.icon-crm:after {
      background: url(../../images/landings/integration_crm/ic-crm.svg) no-repeat right bottom;
    }
    &.icon-info:after {
      background: url(../../images/landings/integration_crm/ic-info.svg) no-repeat right bottom;
    }
    &.icon-notify:after {
      background: url(../../images/landings/integration_crm/ic-notify.svg) no-repeat right bottom;
    }
    &.icon-stat:after {
      background: url(../../images/landings/integration_crm/ic-stat.svg) no-repeat right bottom;
    }
  }
  .text {
    font-size: 16px;
  }
}

@media screen and (max-width: 1262px) {
  .options-block .text {
    br {
      display: none;
    }
  }
}

@media screen and (max-width: 1030px) {}

@media screen and (max-width: 767px) {
  .options-block .option {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .options-block {
    padding: 20px 0 40px;
    .option {
      flex-direction: column;
    }
    .icon {
      margin-right: 0;
      margin-bottom: 15px;
    }
    .h2.heading {
      padding: 0;
    }
  }
}

/*************************************************************************************************************/
/*************************************************************************************************************/
/*************************************************************************************************************/
/*************************************************************************************************************/
/*************************************************************************************************************/

.integration-block {
  background: url(../../images/landings/integration_crm/bg-puzzle.png) no-repeat right top;
  padding: 30px 0 53px;

  .integration-items {
    display: flex;
    margin: 58px 80px 17px 0px;
    justify-content: space-evenly;
  }
  .integration-item {
    max-width: 448px;
  }
  .description {
    font-size: 16px;
    line-height: 22px;
    margin-top: 25px;
    padding: 0 5px 20px;
    p {
      margin-bottom: 21px;
    }
  }
  .subcaption {
    font-weight: bold;
    font-size: 21px;
    line-height: 29px;
    padding: 0 5px;
    //margin-bottom: 40px;
  }
  .caption {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    .icon {
      width: 189px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #F1F2F2;
      border-radius: 23px;
      margin-left: 15px;
      img {
        mix-blend-mode: multiply;
      }
    }
  }
  .text {
    font-size: 16px;
    line-height: 22px;
    a{
      text-decoration: underline;
    }
  }
  .price-string {
    margin: 23px 0;
  }
}

@media screen and (max-width: 1262px) {}

@media screen and (max-width: 1030px) {
  .integration-block {
    background-position: 275px top;
  }
  .integration-block .integration-items {
    margin: 15px;
    flex-direction: column;
  }
  .integration-block .integration-item {
    max-width: 100%;
    margin-top: 50px;
  }
}

@media screen and (max-width: 767px) {}

@media screen and (max-width: 600px) {
  .integration-block {
    padding: 20px 0 40px;

    .description {
      padding: 0;
      p br {
        display: none;
      }
    }
    .caption {
      flex-direction: column;
    }
    .subcaption {
      font-size: 16px;
      line-height: 22px;
      padding: 0;
      br {
        display: none;
      }
    }
    .integration-item {
      margin-top: 30px;
    }
  }
  .integration-block .integration-items {
    margin: 15px 0;
  }
}

/*************************************************************************************************************/
/*************************************************************************************************************/
/*************************************************************************************************************/
/*************************************************************************************************************/
/*************************************************************************************************************/

.crm-block {
  padding: 30px 0 53px;
  .block-content {
    margin: 10px 5px 6px;
    border-top: 1px solid transparent;
  }
  .description {
    margin: 25px 0;
    font-size: 16px;
    line-height: 29px;
  }
  .crm-items {
    display: flex;
    flex-wrap: wrap;
    margin-top: 63px;
  }
  .crm-item {
    width: 212px;
    height: 54px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    margin-right: 10px;
    margin-bottom: 10px;
    background: white;
    .caption {
      font-size: 16px;
      line-height: 16px;
    }
    .icon {
      width: 64px;
      padding-left: 14px;
    }

    &:nth-of-type(5n) {
      margin-right: 0;
    }
  }
}

@media screen and (max-width: 1262px) {
  .crm-block .crm-item:nth-of-type(5n) {
    margin-right: 10px;
  }
}

@media screen and (max-width: 1030px) {
  .crm-block .crm-item {
    &, &:nth-of-type(5n) {
      margin-right: 7px;
    }
    &:nth-of-type(3n) {
      margin-right: 0;
    }
  }
}

@media screen and (max-width: 767px) {
  .crm-block .crm-items {
    justify-content: space-around;
  }
  .crm-block .crm-item {
    &,
    &:nth-of-type(3n),
    &:nth-of-type(5n) {
      margin-right: 0;
    }
  }
}

@media screen and (max-width: 600px) {
  .crm-block {
    padding: 20px 0 40px;
  }
  .crm-block .block-content {
    margin: 0;
    br {
      display: none;
    }
  }
}

/*************************************************************************************************************/
/*************************************************************************************************************/
/*************************************************************************************************************/
/*************************************************************************************************************/
/*************************************************************************************************************/

.partners-block {
  .partners-items {
    display: flex;
    flex-wrap: wrap;
    margin: 68px 0 49px 5px;
  }
  .partner-item {
    width: 185px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;

    img[src*="usender"] ,
    img[src*="rocketsms"] ,
    img[src*="klientics"]
    {
      margin-left: -15px;
    }
  }
}

@media screen and (max-width: 1262px) {
  .partners-block .partner-item img[src*=usender],
  .partners-block .partner-item img[src*=rocketsms],
  .partners-block .partner-item img[src*=klientics] {
    margin-left: 0;
  }
}

@media screen and (max-width: 1030px) {}

@media screen and (max-width: 767px) {
  .partners-block .partners-items {
    justify-content: space-around;
  }
  .partners-block .partner-item {
    width: 40%;
  }
}

@media screen and (max-width: 600px) {
  .partners-block .partner-item {
    width: 100%;
    justify-content: center;
  }
}

/*************************************************************************************************************/
/*************************************************************************************************************/
/*************************************************************************************************************/
/*************************************************************************************************************/
/*************************************************************************************************************/

.api-block {
  padding: 30px 0 53px;
  background: #f1f2f2 url(../../images/landings/integration_crm/bg-api.png) no-repeat right bottom;
  min-height: 628px;

  .block-content {
    margin: 10px 5px 6px;
    border-top: 1px solid transparent;
  }
  .description {
    margin: 15px 0;
    font-size: 16px;
    line-height: 22px;

    p {
      margin-bottom: 20px;
    }
    a {
      display: inline-block;
    }
  }
  .api-icon {
    margin: 3px 0 10px;
  }
}

@media screen and (max-width: 1262px) {}

@media screen and (max-width: 1030px) {
  .api-block {
    background-position: left bottom;
  }
}

@media screen and (max-width: 767px) {}

@media screen and (max-width: 600px) {
  .api-block {
    padding: 20px 0 40px;
    min-height: auto;
    .block-content {
      margin: 0;
    }
    .description p {
      br {
        display: none;
      }
    }
  }
}

/*************************************************************************************************************/
/*************************************************************************************************************/
/*************************************************************************************************************/
/*************************************************************************************************************/
/*************************************************************************************************************/

.features-block {
  padding: 30px 0 53px;

  .features-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 38px 5px 0;
  }
  .feature-item {
    font-size: 16px;
    line-height: 26px;
    text-align: left;
    display: flex;
    width: 50%;
    max-width: 530px;
    margin-bottom: 26px;
    .caption {
      font-weight: 700;
      text-transform: uppercase;
      margin-bottom: 22px;
      font-size: 16px;
      line-height: 26px;
      min-height: 52px;
    }
    .icon {
      min-width: 80px;
    }
  }
}

@media screen and (max-width: 1262px) {}

@media screen and (max-width: 1030px) {}

@media screen and (max-width: 767px) {
  .features-block .features-items {
    .feature-item {
      width: 100%;
      max-width: none;
    }
    .feature-item.feature-item__fake {
      display: none;
    }
  }
}

@media screen and (max-width: 600px) {
  .features-block {
    padding: 20px 0 40px;
    .features-items {
      padding: 15px 0 0;
      .feature-item {
        flex-direction: column;
        .caption {
          min-height: auto;
          br {
            display: none;
          }
        }
        .icon {
          text-align: center;
          margin-bottom: 15px;
        }
      }
    }
  }
}

/*************************************************************************************************************/
/*************************************************************************************************************/
/*************************************************************************************************************/
/*************************************************************************************************************/
/*************************************************************************************************************/

.ajax-send-btn.loading {
  color: transparent !important;
  border: 0 none;
  background: transparent url('../../images/horizontal_loader.gif') no-repeat center !important;
  outline: 0 none;
}

.order-result {
  max-width: 529px;
  padding: 20px;
  color: black;
  margin: 0 auto 60px;

  &.success {
    margin-top: 20px;
    text-align: center;
    border: 8px solid rgba(0, 255, 0, .3);
  }
}

.order-block {
  border-top: 1px solid transparent;

  &.success {
    color: green;
    text-align: center;
    border: 8px solid green;
    padding: 30px;
    margin: 0 50px 50px;
  }

  .h2.heading {
    margin: 44px auto 42px;
  }

  .form-container {
    padding-bottom: 20px;

    form {
      max-width: 950px;
      margin: auto;
    }
    section {
      display: flex;
    }
  }

  .control-label {
    display: none;
  }

  .form-group {
    margin-bottom: 8px;
    margin-left: 0;
    margin-right: 0;
  }

  .help-block.help-block-error {
    color: #000;
    padding-left: 20px;
    padding-right: 20px;
  }

  input[type="text"].form-control {
    max-width: 100%;
    width: 340px;
    margin: 0 auto;
    height: 50px;
    font-size: 16px;
    color: #000;
    padding: 0 25px;
    background: white;
    border-radius: 25px;
    border: none;
    box-shadow: none;
    margin-right: 19px;

    &::placeholder {
      color: #666666;
    }
  }

  .order-info {
    padding: 0 20px;
    color: #333;
    width: 100%;
  }

  .btn-submit {
    margin-bottom: 15px;
    width: 250px;
    height: 50px;
    border-radius: 25px;
    line-height: 31px;
    font-size: 18px;
    text-transform: initial;
  }
}

@media screen and (max-width: 1262px) {
  .order-block input[type=text].form-control {
    width: 310px;
  }
}

@media screen and (max-width: 1030px) {
  .order-block .form-container section {
    flex-direction: column;
  }
  .order-block input[type=text].form-control {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
}

@media screen and (max-width: 600px) {
  .order-block {
    .centered {
      padding-left: 15px;
      padding-right: 15px;
    }

    .order-info {
      margin: 0;
    }
  }
}

