/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* General CSS */

.article > :first-child {
  margin: -8px 0px 12px 0px;
}

.info-wrapper {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
}
/**** TABLE ****/
table,
.wp-block-table {
  border-collapse: collapse;
  border: none;
  width: 100%;
  overflow: hidden;
  table-layout: auto !important;
}
.wp-block-table th,
.wp-block-table td {
  border: none;
}
table th,
.wp-block-table thead {
  padding: 16px 8px !important;
  text-align: left;
  background-color: var(--bg-dark);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
table tr:nth-child(even) {
  background: #f4f7ff;
}
table td {
  padding: 14px 12px !important;
  text-align: left;
  font-size: 14px;
}
table th img {
  max-width: 40px !important;
}
.responsive {
  overflow: auto;
  border: 2px solid #eeeeee;
  border-radius: 16px;
  margin: 4px 0px !important;
  max-width: 360px;
  min-width: 100%;
}
/* Payments  */
.hidden-pay {
  position: absolute;
  backdrop-filter: blur(3.5px);
  -webkit-backdrop-filter: blur(3.5px);
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  min-width: 155px;
  justify-content: center;
  padding: 8px;
  box-shadow: rgba(149, 157, 165, 0.25) 0px 8px 24px;
  top: 70px;
  left: -8px;
  z-index: 3;
}
.hidden-pay-rev {
  backdrop-filter: blur(3.5px);
  -webkit-backdrop-filter: blur(3.5px);
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  min-width: 155px;
  justify-content: center;
  padding: 8px;
  box-shadow: rgba(149, 157, 165, 0.25) 0px 8px 24px;
  top: 30px;
  right: -8px;
  z-index: 3;
}
.pay-wrapper img {
  width: 40px;
  align-self: center;
  align-items: center;
  height: 26px;
}
.count {
  background-color: var(--bg-hero);
  border: 1px solid #eeeeee;
  border-radius: 4px;
  padding: 2px;
  cursor: pointer;
  width: 40px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  transition: background 1s ease-in;
}
.marked {
  background: var(--accent);
  color: #fff;
}
/* CTA Articles */
.cta-article {
  margin: 12px 0;
}
.good {
  color: var(--color-good);
}
.meh {
  color: var(--color-meh);
}
.bad {
  color: var(--color-bad);
}

/* Styling UL LI  */
.mini-pros,
.pros-container ul,
.cons-container ul,
.pros,
.cons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding-inline-start: 0px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 22px;
}
.pros-container ul,
.cons-container ul {
  margin-top: 0;
}
.mini-pros li {
  background: var(--bg-lite-green);
  padding: 10px;
  border-radius: 8px;
}
.pros-container ul li {
  background: var(--bg-lite-green);
  padding: 10px;
  border-radius: 8px;
  border: 2px solid #fff;
}
.cons-container ul li {
  background: #f4dee470;
  padding: 10px;
  border-radius: 8px;
  border: 2px solid #fff;
}
.mini-pros li::before,
.pros-container ul li::before,
.pros li::before {
  content: "";
  background-image: url(/wp-content/uploads/check-pros.svg);
  background-size: contain;
  display: inline-block;
  width: 1.3em;
  height: 1.3em;
  position: relative;
  top: 0.3rem;
  margin-right: 0.4rem;
}
.cons-container ul li::before,
.cons li::before {
  content: "";
  background-image: url(/wp-content/uploads/cross-vermelho.svg);
  background-size: contain;
  display: inline-block;
  width: 1.3em;
  height: 1.3em;
  position: relative;
  top: 0.3rem;
  margin-right: 0.4rem;
}
/* proTIP */
.pro-tip-bad {
  padding: 12px!important;
  border: 1px solid var(--color-bad);
  margin: 16px 0;
  border-radius: 12px;
  background: #f4433625;
}
.pro-tip {
  padding: 22px!important;
  margin: 16px 0!important;
  border-radius: 12px;
  background: var(--bg-hero);
}
.pro-tip-lite {
  padding: 22px!important;
  margin: 16px 0;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #eeeeee;
}

.pro-tip h3, .text-box h3{
	margin-top: 8px;
}

/* grid boxes */

.text-box {
  padding: 22px;
  margin: 16px 0;
  border-radius: 12px;
  border: 1px solid #eeeeee;
  box-shadow: rgba(100, 100, 111, 0.1) 0px 7px 29px 0px;
}
.text-box h3 {
  margin-top: 16px;
}

/* FAQ */
.open svg {
  rotate: 180deg;
}
.faq .accordion-title-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}
/* click states */

[is="open"] {
  display: grid !important;
}
[is="pressed"] svg,
[is="pressed"] i {
  rotate: 180deg;
}
/* Menu  */

/* Review CTA */

.review-cta {
  display: grid;
  align-items: initial;
  grid-gap: 16px;
  background-color: var(--font-lite);
  border-radius: 8px;
  overflow: hidden;
  grid-template-columns: 130px 145px 1fr 160px;
  align-items: center;
  width: 100%;
  margin-top: 16px;
  margin-bottom: 16px;
  padding-right: 12px;
  border: 1px solid #eeeeee;
}
.image-review-cta {
  min-height: 120px;
  display: flex;
  justify-content: center;
  align-self: center !important;
  align-items: center;
  padding: 16px;
}
.bonus-container-review-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bonus-label-review-cta {
  font-weight: 500;
  font-size: 14px;
}
.promo-review-cta {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
}
.features-review-cta {
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  row-gap: 6px;
}
.feature-li-cta {
  display: flex;
  justify-content: center;
  column-gap: 4px;
  align-items: center;
  font-size: 12px;
}
.icon-li-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 12px;
}
.btn-review-cta {
  padding-top: 10px;
  padding-right: 16px;
  padding-bottom: 10px;
  padding-left: 16px;
  background-color: var(--green);
  color: var(--font-lite);
  font-size: 13px;
  font-weight: 600;
  border-radius: 12px;
}

.is-layout-grid {
  grid-gap: 10px;
}

/* Media queries */

@media only screen and (max-width: 766px) {
  .hidden-pay {
    top: 28px;
    right: 0px;
    left: 40%;
  }

  .review-cta {
    grid-template-columns: 0.65fr 1fr;
  }

  .features-review-cta {
    display: none;
  }
}

@media only screen and (max-width: 991px) {
  .review-cta {
    grid-template-columns: 100px 130px 1fr;
    padding-top: 12px;
    padding-right: 12px;
    padding-bottom: 12px;
    padding-left: 12px;
  }

  .image-review-cta {
    min-height: 85px;
    padding: 10px;
    border-radius: 10px;
  }

  .btn-container-review-cta {
    grid-column: 1 / 4;
    width: 100%;
  }

  .btn-review-cta {
    min-width: 100%;
  }
}