/* ==========================================================================
   Landing "Hazte Cliente" - Productos + tabs
   Estilos bajo .hc-landing para no chocar con corev15.css de SharePoint 2013.
   Requiere base.css. Breakpoints: xs <768 | sm 768-991 | md 992-1199 | lg >=1200
   ========================================================================== */

/* ==========================================================================
   PRODUCTOS + TABS
   ========================================================================== */
.hc-landing .hc-products {
  padding-top: 54px;
}

.hc-landing .hc-products-intro {
  color: #000;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.hc-landing .hc-tabs-wrap {
  margin-top: 30px;
  font-size: 0;
  text-align: center;
}

.hc-landing .hc-tabs {
  display: inline-block;
  margin: 0;
  padding: 0;
  border: 0;
  white-space: nowrap;
  list-style: none;
}

.hc-landing .hc-tabs>li {
  float: none;
  display: inline-block;
  vertical-align: bottom;
  margin: 0 4px;
}

.hc-landing .hc-tabs>li>a {
  display: block;
  width: 125px;
  margin-bottom: 8px;
  padding: 10px 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 36px;
  text-align: center;
  background: #012169;
  border: 0;
  border-radius: 18px;
  -webkit-transition: background-color .2s ease;
  transition: background-color .2s ease;
}

.hc-landing .hc-tabs>li>a:hover,
.hc-landing .hc-tabs>li>a:focus {
  background: #0a2f80;
  color: #fff;
}

.hc-landing .hc-tabs>li.active>a,
.hc-landing .hc-tabs>li.active>a:hover,
.hc-landing .hc-tabs>li.active>a:focus {
  height: 52px;
  margin-bottom: 0;
  padding: 15px 0;
  background: #00c1d5;
  border-radius: 15px 15px 0 0;
}

.hc-landing .hc-tab-content {
  padding: 46px 0 2px;
  background: #00c1d5;
}

.hc-landing .hc-products-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.hc-landing .hc-products-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.hc-landing .hc-products-row>[class*="col-"] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 44px;
}

.hc-landing .hc-product {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  padding: 29px 20px 24px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.hc-landing .hc-product-media {
  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;
  height: 78px;
}

.hc-landing .hc-product-media img {
  display: block;
}

.hc-landing .hc-product-title {
  margin-top: 21px;
  color: #012169;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: none;
}

.hc-landing .hc-product-desc {
  -webkit-box-flex: 1;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
  margin-top: 12px;
  color: #808080;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
}

.hc-landing .hc-product-btn {
  width: 246px;
  max-width: 100%;
  margin-top: 14px;
  line-height: 1.4;
  padding: 22px 20px;
}

.hc-landing .hc-product-tag {
  position: absolute;
  top: -16px;
  right: 37px;
  height: 32px;
  padding: 0 14px;
  color: #012169;
  font-size: 17px;
  font-weight: 400;
  line-height: 32px;
  white-space: nowrap;
  background: #fff1da;
  border-radius: 16px;
}

/* xs (< 768) */
@media (max-width: 767px) {
  .hc-landing .hc-products {
    padding-top: 31px;
  }

  .hc-landing .hc-products-intro {
    max-width: 330px;
    margin: 0 auto;
    color: #012169;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.18;
  }

  .hc-landing .hc-tabs-wrap {
    margin-top: 25px;
    padding: 0 15px 0 30px;
    overflow-x: auto;
    overflow-y: hidden;
    text-align: left;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hc-landing .hc-tabs-wrap::-webkit-scrollbar {
    display: none;
  }

  .hc-landing .hc-tabs>li {
    margin: 0 8px 0 0;
  }

  .hc-landing .hc-tabs>li.active>a {
    height: 64px !important;
    padding-top: 10px !important;
    padding-bottom: 0 !important;
    line-height: 36px !important;
  }

  .hc-landing .hc-tab-content {
    padding: 60px 0 11px;
  }

  .hc-landing .hc-tab-content>.container {
    padding-left: 25px;
    padding-right: 25px;
  }

  .hc-landing .hc-products-row {
    -webkit-box-orient: vertical;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .hc-landing .hc-products-row>[class*="col-"] {
    margin-bottom: 39px;
  }

  .hc-landing .hc-order-xs-1 {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }

  .hc-landing .hc-order-xs-2 {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }

  .hc-landing .hc-order-xs-3 {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
  }
}