a,
button {
  transition: all 0.3s;
}

/* product */

.product-wrapper {
  cursor: pointer;
  overflow: hidden;
  border-radius: 20px !important;
  position: relative;
  height: 100%;
  background: #ffd400;
  transition: all 0.5s ease;

  .card-content {
    transition: all 0.5s;
  }

  .elementor-widget-image {
    height: 100%;
    display: contents;
    transition: all 0.5s ease;
  }

  .title {
    transition: all 0.5s ease;
  }

  img {
    transition: all 0.5s;
    position: absolute;
    bottom: -30px;
    right: 0px;
    width: 60%;
    mix-blend-mode: multiply;
  }
}

.product-wrapper:hover {
  background: #f9f9f9 !important;

  .card-content {
    min-height: 400px;
  }

  .title {
    color: #1d1d68 !important;
  }

  img {
    width: 70%;
    bottom: -40px;
    right: -40px;
  }
}

/* portfolio-products */

.portfolio-products-title {
  &::after {
    content: url(../images/decoration-1.svg);
    position: absolute;
    width: 200px;
    height: 100%;
    display: block;
    right: 10px;
    top: -100px;
    z-index: 2;

    @media screen and (max-width: 764px) {
      opacity: 0.3;
    }
  }
}

.portfolio-products {
  &::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: #e2e2e2;
    transition: all 0.5s ease;
  }
}

/* ciencia-pba */

.ciencia-pba {
  &::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: #1d1d68;
    transition: all 0.5s ease;

    @media screen and (max-width: 1023px) {
      display: none;
    }
  }
}

/* blog */

.blog-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  box-orient: vertical;
  overflow: hidden;
}

.about-home-image .elementor-widget-container {
  &::after {
    content: "";
    background: url(../images/decoration-4.svg) repeat-y;
    position: absolute;
    width: calc(20% - 51px);
    height: 100%;
    display: block;
    left: 0;
    top: 0px;
    z-index: 2;
  }
}

.about-engagement {
  &::after {
    content: "";
    background: url(../images/decoration-4.svg) repeat-y;
    background-size: 100px;
    position: absolute;
    width: 100px;
    height: 100%;
    display: block;
    right: 0;
    top: 0px;
    z-index: 2;

    @media screen and (max-width: 1023px) {
      display: none;
    }
  }
}

.legal-link a {
  color: #1d1d68;
  margin-left: 20px;
}

/* contacto form */

.columns {
  display: flex;
  gap: 30px;
  justify-content: center;

  @media (max-width: 1023px) {
    flex-direction: column;
    gap: 0;
  }

  p {
    margin-bottom: 0 !important;
  }
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  background: #f2f2f2;
  border-radius: 8px;
  border: none;
  /* border: 1px solid #d0d5dd; */
  padding: 12px 10px;
  color: #667085;
  font-weight: 600;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: #1d1d681a;
  outline: none;
}

.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form select::placeholder,
.contact-form textarea::placeholder {
  color: #667085;
  font-weight: 400;
}

.contact-form textarea {
  height: 120px;
}

.contact-form .wpcf7-acceptance .wpcf7-list-item {
  margin: 0 !important;
}

.contact-form .wpcf7-form-control-wrap {
  margin-bottom: 20px;
  display: table;
  width: 100%;
}

.contact-form label {
  width: 100%;
}

.contact-form .label {
  font-weight: 500;
  margin-bottom: 8px;
  color: #002015;
  display: block;
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  color: var(--e-global-color-primary);
}

.contact-form br {
  display: none;
}

.contact-form p {
  margin: 0 !important;
  padding: 0 !important;
}

.contact-form .wpcf7-acceptance .wpcf7-list-item label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  position: relative;
  line-height: 25px;
  margin-left: 10px;
}

.contact-form .wpcf7-acceptance .checkmark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  float: left;
  margin: 0.5em 0.5em 0 0;
  border: 1px solid #fff;
  position: absolute;
  top: 0px;
  left: -10px;
  border-radius: 0px;
}

.contact-form .wpcf7-acceptance input[type="checkbox"] {
  display: none;
}

.contact-form .wpcf7-acceptance .wpcf7-list-item-label {
  margin-left: 25px;
}

.contact-form
  .wpcf7-acceptance
  label
  input[type="checkbox"]:checked
  ~ .checkmark {
  border-color: var(--e-global-color-secondary);
}

.contact-form
  .wpcf7-acceptance
  label
  input[type="checkbox"]:checked
  ~ .checkmark::after {
  content: "";
  width: 14px;
  height: 8px;
  border: 3px solid var(--e-global-color-secondary);
  float: left;
  border-right: 0;
  border-top: 0;
  margin-top: -3px;
  transform: rotate(-55deg);
}

.contact-form form input[type="submit"] {
  background: var(--e-global-color-primary);
  font-size: 16px;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-form form input[type="submit"]:hover {
  color: white;
  background: #002015;
}

.contact-form form input[type="submit"]:disabled {
  color: #fff;
  background: #585453;
}

.contact-form .wpcf7-not-valid-tip {
  color: #dc3232;
  font-size: 14px;
  font-weight: normal;
  display: block;
  margin-top: 5px;
}

/* Nosotros */

.about-header {
  &::after {
    content: "";
    background: url(../images/decoration-4.svg) repeat-y;
    background-size: 105px;
    position: absolute;
    width: 105px;
    height: 100%;
    display: block;
    right: 0;
    top: 0px;
    z-index: 2;

    @media screen and (max-width: 1023px) {
      display: none;
    }
  }
}

.nosotros-decoracion {
  &::after {
    content: url(../images/decoration-1.svg);
    position: absolute;
    width: 250px;
    height: 100%;
    display: block;
    right: 80px;
    top: 0px;
    z-index: 2;

    @media screen and (max-width: 764px) {
      display: none;
    }
  }
}

.about-decoration-2 {
  position: relative;

  &::after {
    content: url(../images/about-decoracion.svg);
    position: absolute;
    width: 30%;
    display: block;
    right: 0;
    bottom: 80px;
    z-index: 2;

    @media screen and (max-width: 764px) {
      display: none;
    }
  }
}

/* categories menu */

.menu-categorias {
  display: flex;
  gap: 20px;
  justify-content: center;

  @media screen and (max-width: 1023px) {
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }

  li {
    list-style-type: none;
  }

  a {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-weight: 500;
    font-size: 22px;
    color: var(--e-global-color-primary);
    text-decoration: none !important;
    font-size: 18px;
    border: 1px solid #ffd400;
    border-radius: 50px;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.3s;

    &:hover {
      box-shadow: 0px 0px 10px 0px #ffd400;
    }
  }
}

/* Reviews post */

.image-blog {
  &::after {
    content: "";
    background: url(../images/decoration-4.svg) repeat-y;
    background-size: 105px;
    position: absolute;
    width: 105px;
    height: 100%;
    display: block;
    right: 0;
    top: 0px;
    z-index: 2;

    @media screen and (max-width: 1023px) {
      display: none;
    }
  }
}

.blog-reviews {
  margin-bottom: 1rem;
  font-size: 16px;
}

.blog-reviews .review {
  border-bottom: 1px solid #fff;
  margin-bottom: 1rem;

  p {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 16px;
    color: #fff;
  }
}

.blog-reviews .review-name {
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  font-size: 20px;
  color: #db354d;
  display: table;
  margin-bottom: 5px;
}

.blog-reviews .product-rating {
  display: table;
  margin: 10px 0;
}

.no-comments {
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  font-size: 16px;
  color: #fff;
}

/* blog comments post */

.comment-respond {
  margin-top: 30px;
  font-size: 16px;
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond textarea {
  font-family: var(--e-global-typography-text-font-family);
  background: #f2f2f2;
  border-radius: 10px;
  border: 1px solid var(--e-global-color-b4d0859);
  padding: 12px 15px;
  font-size: 16px;
  color: var(--e-global-color-primary);
}

.comment-respond input[type="text"]:focus,
.comment-respond input[type="email"]:focus,
.comment-respond textarea:focus {
  outline: none;
}

/* placeholder */

.comment-respond input[type="text"]::placeholder,
.comment-respond input[type="email"]::placeholder,
.comment-respond textarea::placeholder {
  color: var(--e-global-color-b4d0859);
  opacity: 0.8;
}

.comment-form-author,
.comment-form-email {
  display: inline-block;
  width: 48%;
  margin-right: 2%;
}

.comment-form-email {
  margin-right: 0;
}

.comment-form-author input,
.comment-form-email input {
  width: 100%;
}

.comment-form-comment textarea {
  width: 100%;
}

.comment-form-antispam {
  label {
    margin-bottom: 10px;
    font-family: var(--e-global-typography-text-font-family);
    font-size: 16px;
    color: var(--e-global-color-primary);
  }
}

.comment-respond .comment-form-cookies-consent {
  display: none !important;
  font-family: var(--e-global-typography-text-font-family);
  font-size: 18px;
  color: var(--e-global-color-b4d0859);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;

  input[type="checkbox"] {
    display: none;
  }

  input[type="checkbox"] + label::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--e-global-color-b4d0859);
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
  }

  input[type="checkbox"]:checked + label::before {
    background-color: var(--e-global-color-b4d0859);
  }
}

.comment-respond .form-submit .submit {
  font-family: var(--e-global-typography-text-font-family);
  background: var(--e-global-color-primary) !important;
  color: #fff !important;
  font-size: 18px !important;
  border: none !important;
  font-weight: 500 !important;
  border-radius: 20px !important;
  margin: 29px auto 0;
  display: table;
}
